Home | History | Annotate | Line # | Download | only in dist
changes.txt revision 1.1.1.33
      1 ----------------------------------------
      2 27 August 2024. Summary of changes for version 20240827:
      3 
      4 Major changes:
      5 
      6 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>
      7 
      8 Fix the optional table 4-byte signature. Contributed by: Daniil Tatianin <99danilt (a] gmail.com>
      9 
     10 Correct the dumping of SLIC and DBG2 tables. Contributed by: Al Stone (Fedora) <ahs3 (a] ahs3.net> 
     11 
     12 Add support for QWordPCC and DWordPCC by Jose Marinho (ARM)
     13 
     14 Fix the integer to hex string conversions by Armin Wolf
     15 
     16 Detecting FACS in reduced HW mode and allowing setting waking vector thereby waking up from S3 state
     17 
     18 Fixing issues with crossing page boundaries when mapping operation regions by Raju Rangoju, Sanath S and Mario Limonciello (AMD)
     19 
     20 Update the support for IORT, HMAT, MPAM, AEST, CEDT, SPCR etc. tables
     21 
     22 Fix multiple issues with table parsing, compilation and disassembly by Myra DeMere (Google)
     23 
     24 Allow for more flexibility in _DSM usage.
     25 
     26 
     27 ----------------------------------------
     28 22 March 2024. Summary of changes for version 20240322:
     29 
     30 Major changes:
     31 
     32 Update all the license header year from 2023 to 2024.
     33 
     34 Fix table argument ordering to work properly with iasl.
     35 
     36 Get rid of the annoying repeated warning types in MSVC and Windows.
     37 
     38 Fix a test in ASLTS with edge case failure.
     39 
     40 Fix a couple of issues with how GPEs are counted and enabled.
     41 
     42 Add new tables for various architectures/OS, mainly RISC-V and also update many more.
     43 
     44 Add an option to either make the output deterministic or non-deterministic.
     45 
     46 Remove redundant checks, duplicated code and fix spellings in various files.
     47 
     48 Fix flex arrays for C++ compilers and also make ACPICA overall more compatible with different compilers which throw warnings related to memory sanitization etc.
     49 
     50 
     51 ----------------------------------------
     52 28 June 2023. Summary of changes for version 20230628:
     53 
     54 0) Global changes:
     55 
     56 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.
     57 
     58 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. 
     59 
     60 Added support for _DSC (Deepest State for Configuration) as per ACPI 6.5.
     61 
     62 1) ACPICA kernel-resident subsystem:
     63 
     64 Added port definitions for CDAT SSLBIS. Add upstream port and any port definitions for SSLBIS. Reported by: Dave Jiang dave.jiang (a] intel.com.
     65 
     66 Fixed misspelled CDAT DSMAS define: ACPI_CEDT_DSMAS_NON_VOLATILE -> ACPI_CDAT_DSMAS_NON_VOLATILE. Reported by: Dave Jiang dave.jiang (a] intel.com.
     67 
     68 1) ACPICA kernel-resident subsystem:
     69 
     70 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.
     71 
     72 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.
     73 
     74 2) iASL Compiler/Disassembler and ACPICA tools:. 
     75 
     76 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.
     77 
     78 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.
     79 
     80 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.
     81 ----------------------------------------
     82 31 March 2023. Summary of changes for version 20230331:
     83 
     84 This release is available at https://acpica.org/downloads
     85 
     86 0) Global changes:
     87 
     88 
     89 Update all copyright notices to the year 2023. This effects all source 
     90 modules, as well as utility signons.
     91 Add OS-specific support for Zephyr RTOS.
     92 Fix miscellaneous code that accesses various objects.
     93 Remove some dead code.
     94 Add C ?Flexible Array? support.
     95 Add support for 64 bit LoongArch compilation.
     96 Add first batch of RISC-V related definitions.
     97 Performed a global automated update to remove tabs, fix indentation 
     98 issues, etc.
     99 
    100 1) ACPICA kernel-resident subsystem:
    101 
    102 hwvalid: Drop port I/O validation.
    103 
    104 2) ACPICA tools and utilities:
    105 
    106 iASL: Added full macro support in the preprocessor. Example:
    107 #define ABCD(a,b,c,d) a+b+c-d
    108 
    109 Known macro support limitations (at this time):
    110 	No support for multi-line #define macros (backslash continuation 
    111 lines)
    112 	No support for the C-style ternary operator
    113 	No support for the stringizing operator (#)
    114 	No support for the concatenation (token pasting) operator (##)
    115 	No support for variable number of macro arguments
    116 
    117 Add support for AMD Secure Processor Table (ASPT) version 1.
    118 Add support for Arm's MPAM ACPI table version 2.
    119 ACPI 6.5: MADT: add support for trace buffer extension in GICC.
    120 Headers: Delete bogus NodeArray array of pointers from AEST table.
    121 PHAT table support is still ongoing.
    122 
    123 
    124 ----------------------------------------
    125 20 October 2022. Summary of changes for version 20221020:
    126 
    127 This release is available at https://acpica.org/downloads
    128 
    129 0) Global changes:
    130 
    131 Allow disabling of -Werror. For distro maintainers having `-Werror` can 
    132 delay update of GCC. Since every GCC release might add new warnings that 
    133 were not yet captured, it might break the build of packages. With this 
    134 change, distros can now build with `NOWERROR=TRUE` instead of patching 
    135 either the errors or the makefiles. The default behavior keeps on using 
    136 `-Werror`.
    137 
    138 1) ACPICA kernel-resident subsystem:
    139 
    140 Added support for FFH Operation Region special context data. FFH(Fixed 
    141 Function Hardware) Opregion is approved to be added in ACPI 6.5 via code 
    142 first approach[1]. It requires special context data similar to GPIO and 
    143 Generic Serial Bus as it needs to know platform specific offset and 
    144 length.
    145 
    146 Reverted this commit "executer/exsystem: Warn about sleeps greater than 
    147 10 ms." Due to user complaints about valid sleeps greater than 10ms seen 
    148 in some existing machines -- generating lots of warnings.
    149 
    150 Do not touch VGA memory when EBDA < 1KiB. The ACPICA code assumes that 
    151 EBDA region must be at least 1KiB in size. Because this is not 
    152 guaranteed, it might happen that while scanning the memory for RSDP 
    153 pointer, the kernel touches memory above 640KiB. This is unwanted as the 
    154 VGA memory range may not be decoded or even present when running under 
    155 virtualization.
    156 
    157 Check that EBDA pointer is in valid memory. If the memory at 0x40e is 
    158 uninitialized, the retrieved physical memory address of EBDA may be 
    159 beyond the low memory (i.e. above 640K). If so, the kernel may 
    160 unintentionally access the VGA memory, that might not be decoded or even 
    161 present in case of virtualization.
    162 
    163 2) iASL Compiler/Disassembler and ACPICA tools:
    164 
    165 Completed the existing partial support for the CDAT "table". Although 
    166 this isn't technically an ACPI table (It doesn't go into the XSDT), it is 
    167 possible to support this table in the Data Table compiler. Created one 
    168 new file, "utilities/utcksum.c", used to centralize checksum 
    169 generation/validation into one location. Includes changes to makefiles 
    170 and MSVC project files.
    171 
    172 Updated support for the IORT table - update to version E.e
    173 
    174 Added CXL 3.0 structures (CXIMS & RDPAS) to the CEDT table 
    175 
    176 iASL: Added CCEL table to both compiler/disassembler.
    177 
    178 iASL: NHLT table: Fixed compilation of optional undocumented fields
    179 
    180 iASL: Fix iASL compile error due to ACPI_TDEL_OFFSET. Commit # 10e4763 
    181 ("iASL: Add CCEL table to both compiler/disassembler") introduced the 
    182 iASL build issue. The issue is due to using ACPI_TDEL_OFFSET for CCEL 
    183 table member reference. To fix it,  change ACPI_TDEL_OFFSET with 
    184 ACPI_CCEL_OFFSET.
    185 
    186 ----------------------------------------
    187 31 March 2022. Summary of changes for version 20220331:
    188 
    189 0) Global changes:
    190 
    191 Update all copyright notices to the year 2022. This effects all source 
    192 modules, as well as utility signons.
    193 
    194 
    195 1) ACPICA kernel-resident subsystem:
    196 
    197 For the ASL Sleep() operator, issue a warning if the sleep value is 
    198 greater than 10 Milliseconds. Quick boottime is important, so warn about 
    199 sleeps greater than 10 ms. Distribution Linux kernels reach initrd in 350 
    200 ms, so excessive delays should be called out. 10 ms is chosen randomly, 
    201 but three of such delays would already make up ten percent of the 
    202 boottime.
    203 
    204 Namespace: Avoid attempting to walk the Namespace if the Namespace does 
    205 not exist.
    206 
    207 AML interpreter/iASL compiler: Add new Acpi 6.4 semantics for the 
    208 LoadTable and Load operators. DDB_HANDLE is gone, now loadtable returns a 
    209 pass/fail integer. Now load returns a pass/fail integer, as well as 
    210 storing the return value in an optional 2nd argument.
    211 
    212 Headers: Use uintptr_t and offsetof() in Linux kernel builds. To avoid 
    213 "performing pointer subtraction with a null pointer has undefined 
    214 behavior" compiler warnings, use uintptr_t and offsetof() that are always 
    215 available during Linux kernel builds to define ACPI_UINTPTR_T and the 
    216 ACPI_TO_INTEGER() and ACPI_OFFSET() macros when building the ACPICA code 
    217 in the Linux kernel.
    218 
    219 Added support for the Windows 11 _OSI string ("Windows 2021"). Submitted 
    220 by superm1.
    221 
    222 executer/exsystem: Inform users about ACPI spec violation for the Stall() 
    223 operator. Values greater than 100 microseconds violate the ACPI 
    224 specification, so warn users about it. From the ACPI Specification 
    225 version 6.2 Errata A, 19.6.128 *Stall (Stall for a Short Time)*:
    226 > The implementation of Stall is OS-specific, but must not relinquish
    227 > control of the processor. Because of this, delays longer than 100
    228 > microseconds must use Sleep instead of Stall.
    229 
    230 
    231 2) iASL Compiler/Disassembler and ACPICA tools:
    232 
    233 Data Table Compiler/Disassembler: Add support for the APMT table - ARM 
    234 Performance Monitoring Unit table. Submitted by @bwicaksononv.
    235 
    236 Data Table Compiler/Disassembler: For MADT, add support for the OEM-
    237 defined subtables (Types 0x80-0x7F).
    238 
    239 Data Table Compiler: Fixed a problem with support for the SDEV table, 
    240 where a subtable Length was not computed correctly.
    241 
    242 Data Table Compiler/Disassembler: Add/fix the CFMWS subtable to the CEDT 
    243 Acpi table support.
    244 
    245 Data Table Compiler/Disassembler: Fix a compile issue with the CEDT and 
    246 add template. Submitted by MasterDrogo.
    247 
    248 Data Table Compiler/Disassembler: NHLT Changes provided by Piotr Maziarz:
    249 iASL/NHLT: Rename linux specific structures to DeviceInfo to improve 
    250 readability of the code.
    251 iASL/NHLT: Fix parsing undocumented bytes at the end of Endpoint. 
    252 Undocumented bytes at the end of Endpoint Descriptor can be present 
    253 independently of Linux-specific structures. Their size can also vary.
    254 iASL/NHLT: Treat TableTerminator as SpecificConfig. SpecificConfig has 4 
    255 bytes of size and then an amount of bytes specified by size. All of the 
    256 terminators that I've seen had a size equal to 4, but theoretically it 
    257 can vary.
    258 
    259 iASL/AcpiExec: Use _exit instead of exit in signal handers (ctrl-C).
    260 
    261 iASL: Remove a remark due to excessive output. Removed a remark for 
    262 duplicate Offset() operators, due to a user complaint.
    263 
    264 ----------------------------------------
    265 17 December 2021. Summary of changes for version 20211217:
    266 
    267 1) ACPICA kernel-resident subsystem:
    268 
    269 Hardware: Do not flush CPU cache when entering S4 and S5. According to 
    270 ACPI 6.4, Section 16.2, the CPU cache flushing is required on entering to 
    271 S1, S2, and S3, but the ACPICA code flushes the CPU cache regardless of 
    272 the sleep state. Blind cache flush on entering S5 causes problems for 
    273 TDX.
    274 
    275 Avoid subobject buffer overflow when validating RSDP signature. Since the 
    276 Signature member is accessed through an ACPI_TABLE_HEADER, the pointer to 
    277 it is only to a 4-char array, and so trying to read past the 4th 
    278 character, as will be done when it is an RSDP, reads beyond the bounds of 
    279 the accessed member. Contributed by jrtc27.
    280 
    281 Add support for PCC Opregion special context data. PCC Opregion added in 
    282 ACPIC 6.3 requires special context data similar to GPIO and Generic 
    283 Serial Bus as it needs to know the internal PCC buffer and its length as 
    284 well as the PCC channel index when the opregion handler is being executed 
    285 by the OSPM. Adds support for the special context data needed by PCC 
    286 Opregion. Submitted by Sudeep Holla <sudeep.holla (a] arm.com>
    287 
    288 2) iASL Compiler/Disassembler and ACPICA tools:
    289 
    290 iASL: Completed compiler support for the NHLT ACPI table.
    291 
    292 iASL/NHLT table: Fixed a reported problem where a fault would occur 
    293 during disassembly of a "Linux-Specific" section if the "Specific Data" 
    294 part was not present.
    295 
    296 iASL: Added full support (compiler and disassembler) for the AGDI ACPI 
    297 table. Contributed by: Ilkka Koskinen <ilkka (a] os.amperecomputing.com>.
    298 
    299 iASL: Added full support for the TDEL ACPI table.
    300 
    301 iASL table compiler: FADT support updates:
    302 1) Allow the 32-bit DSDT address to be zero.
    303 2) Issue error if both the 32-bit and 64-bit DSDT addresses are zero.
    304 
    305 iASL: Fix unaligned accesses to local cache allocations. Contributed by 
    306 jrtc27.
    307 
    308 iASL: Open binary input files in binary mode, not text mode Affects 
    309 binary input AML files, as well as binary data table files, for 
    310 disassembly.
    311 
    312 ----------------------------------------
    313 30 September 2021. Summary of changes for version 20210930:
    314 
    315 This release is available at https://acpica.org/downloads
    316 
    317 1) ACPICA kernel-resident subsystem:
    318 
    319 Hardware: Avoid evaluating methods too early during system resume. During 
    320 wakeup from system-wide sleep states, AcpiGetSleepTypeData() is called 
    321 and it tries to get memory from the OS in order to evaluate a control 
    322 method, but if KFENCE is enabled in the Linux kernel, the memory 
    323 allocation attempt causes an IRQ work to be queued and a self-IPI to be 
    324 sent to the CPU running the code which requires the memory controller to 
    325 be ready, so if that happens too early in the wakeup path, it doesn't 
    326 work.
    327 
    328 Prevent that from taking place by calling AcpiGetSleepTypeData() for S0 
    329 upfront, when preparing to enter a given sleep state, and saving the data 
    330 obtained by it for later use during system wakeup.
    331 
    332 Added a new _OSI string, "Windows 2020". Posted by superm1.
    333 
    334 2) iASL Compiler/Disassembler and ACPICA tools:
    335 
    336 iASL compiler: Updated the check for usage of _CRS, _DIS, _PRS, and _SRS 
    337 objects:
    338 New/latest rules: Under a Device Object:
    339          1) If _PRS is present, must have _CRS and _SRS
    340          2) If _SRS is present, must have _PRS (_PRS requires _CRS and 
    341 _SRS)
    342          3) If _DIS is present, must have _SRS (_SRS requires _PRS, _PRS 
    343 requires _CRS and _SRS)
    344          4) If _SRS is present, probably should have a _DIS (Remark only)
    345 
    346 iASL table disassembler: Added disassembly support for the NHLT ACPI 
    347 table. Note: support for Vendor-defined microphone arrays and SNR 
    348 extensions are not supported at this time -- mostly due to a lack of 
    349 example tables. Actual compiler support for NHLT is forthcoming.
    350 
    351 Added a new subtable type for ACPI 6.4 SRAT Generic Port Affinity. It 
    352 uses the same subtable structure as the existing Generic Initiator 
    353 Affinity type.
    354 
    355 Added the flag for online capable in the MADT, introduced in ACPI 6.3. 
    356 Posted by superm1.
    357 
    358 3) ACPICA documentation: Updated the legal info (that appears at the 
    359 start of the Documents) to clarify distribution rights that are granted.
    360 
    361 
    362 ----------------------------------------
    363 30 July 2021. Summary of changes for version 20210730:
    364 
    365 This release is available at https://acpica.org/downloads
    366 
    367 1) ACPICA kernel-resident subsystem:
    368 
    369 2) iASL Compiler/Disassembler and ACPICA tools:
    370 
    371 iasl: Check usage of _CRS, _DIS, _PRS, and _SRS objects (July 2021).
    372   Under the Device Object:
    373   1) If _DIS is present, must have a _CRS and _SRS
    374   2) If _PRS is present, must have a _CRS, _DIS, and _SRS
    375   3) If _SRS is present, must have a _CRS and _DIS
    376 A warning will be issued for each of these cases.
    377 Note: For existing ASL/projects, these warnings may be disabled by 
    378 specifying this on the command line:
    379 "-vw 3141"
    380 
    381 iASL Table Disassembler/Table compiler: Fix for WPBT table with no
    382 command-line arguments. Handle the case where the Command-line
    383 Arguments table field does not exist (zero).
    384 
    385 Headers: Add new DBG2 Serial Port Subtypes
    386 The Microsoft Debug Port Table 2 (DBG2) specification revision
    387 September 21, 2020 comprises additional Serial Port Subtypes [1].
    388 Reflect that in the actbl1.h header file. Submitted by:
    389 semihalf-wojtas-marcin
    390 
    391 iASL: Add full support for the AEST table (data compiler)
    392 Includes support in the table compiler and the disassembler.
    393 
    394 Add PRMT module header to facilitate parsing.
    395 This structure is used in to parse PRMT in other Operating Systems
    396 that relies on using subtable headers in order to parse ACPI tables.
    397 Although the PRMT doesn't have "subtables" it has a list of module
    398 information structures that act as subtables.
    399 
    400 iASL: Table disassembler: Add missing strings to decode subtable types.
    401 Includes the MADT and CEDT tables.
    402 
    403 
    404 ----------------------------------------
    405 04 June 2021. Summary of changes for version 20210604:
    406 
    407 1) ACPICA kernel-resident subsystem:
    408 
    409 Cleaned up (delete) the context mutex during local address handler object 
    410 deletion.
    411 
    412 Fixed a memory leak caused by the _CID repair function.
    413 
    414 Added support for PlatformRtMechanism OperationRegion handler. Adds a new 
    415 utility function, AcpiUtConvertUuidToString. Writing a buffer to a 
    416 PlatformRtMechanism fieldunit invokes a bidirectional transaction. The 
    417 input buffer contains 26 bytes containing 9 bytes of status, a command 
    418 byte and a 16-byte UUID. This change will simply pass this incoming 
    419 buffer to a handler registered by the OS.
    420 
    421 2) iASL Compiler/Disassembler and ACPICA tools:
    422 
    423 Added full support for the PRMT ACPI table (Platform Runtime Mechanism 
    424 Table). Includes support in the iASL compiler, the disassembler, and the 
    425 template generator.
    426 
    427 Added full support for the BDAT (BIOS Data ACPI Table) ACPI table.
    428 
    429 Added full support for the RGRT (Regulatory Graphics Resource Table) ACPI 
    430 table.
    431 
    432 Added full support for the SVKL (Storage Volume Key Location Table) ACPI 
    433 table. Header file support from Kuppuswamy Sathyanarayanan 
    434 <sathyanarayanan.kuppuswamy (a] linux.intel.com>.
    435 
    436 Completed full support for the IVRS (I/O Virtualization Reporting 
    437 Structure) ACPI table. Added compiler support for IVRS, updated 
    438 disassembler support. Adds a new utility, UtIsIdInteger, to determine if 
    439 a HID/CID is an integer or a string.
    440 
    441 Headers: Added more structs to the CEDT table: CXL fixed memory window 
    442 structure.
    443 
    444 ACPI 6.4: MADT: added Multiprocessor Wakeup Mailbox Structure.
    445 
    446 ----------------------------------------
    447 31 March 2021. Summary of changes for version 20210331:
    448 
    449 This release is available at https://acpica.org/downloads, and includes 
    450 all ACPI 6.4 support
    451 
    452 1) ACPICA kernel-resident subsystem:
    453 ACPI 6.4: iASL: deprecate DDBHandleObj keyword
    454 Always create namespace nodes using AcpiNsCreateNode(). ACPICA is 
    455 allocating an object using kmalloc(), but then frees it
    456 using kmem_cache_free(<"Acpi-Namespace" kmem_cache>). This is wrong.
    457 Fixed a race condition in generic serial bus operation region handler. 
    458 Fixed by Hans de Goede.
    459 
    460 2) iASL Compiler/Disassembler and ACPICA tools:
    461 
    462 ACPI 6.4: NFIT: add Location Cookie field
    463 ACPI 6.4: HMAT: add new fields/flags
    464 ACPI 6.4: Add new flags in SRAT
    465 ACPI 6.4: add SDEV secure access components
    466 ACPI 6.4: add Csi2Bus resource template
    467 ACPI 6.4: add support for PHAT table
    468 ACPI 6.4: add support for PMTT table
    469 Add disassembly support for the IVRS table. Compilation of the table is 
    470 not yet complete.
    471 Fixed a potential infinite loop due to type mismatch. The for-loop is 
    472 using a UINT8 counter and comparing the upper
    473 limit against a UINT32 AslGbl_ExpectedMessagesIndex maximum. In
    474 the case where AslGbl_ExpectedMessagesIndex is > 255 the counter i
    475 will wrap around to zero and the loop will never exit. I suspect
    476 the AslGbl_ExpectedMessagesIndex is never that high, but fixing
    477 this does future proof the code and cleans up static analysis
    478 warnings.Colin King.
    479 iASL/TableCompiler: update it with IORT table E.b revision changes. From 
    480 shamiali2008.
    481 iASL/TableCompiler: Add compilation support for the VIOT table. Signed-
    482 off-by: Jean-Philippe Brucker.
    483 iASL/TableCompiler: Add compilation support for CEDT table. Also, update 
    484 the CEDT template.
    485 
    486 ----------------------------------------
    487 05 January 2021. Summary of changes for version 20210105:
    488 
    489 This release is available at https://acpica.org/downloads
    490 
    491 
    492 1) ACPICA kernel-resident subsystem:
    493 
    494 Updated all copyrights to 2021. This affects all ACPICA source code 
    495 modules.
    496 
    497 2) iASL Compiler/Disassembler and ACPICA tools:
    498 
    499 ASL test suite (ASLTS): Updated all copyrights to 2021.
    500 
    501 Tools and utilities: Updated all signon copyrights to 2021.
    502 
    503 iASL Table Compiler: Removed support for obsolete ACPI tables: VRTC, 
    504 MTMR. Al Stone.
    505 
    506 
    507 ----------------------------------------
    508 17 December 2020. Summary of changes for version 20201217:
    509 
    510 This release is available at https://acpica.org/downloads
    511 
    512 
    513 1) ACPICA kernel-resident subsystem:
    514 
    515 Note: The implementation of ACPI 6.4 is underway, and is expected to be 
    516 mostly finished next month, when ACPI 6.4 is released.
    517 
    518 From qzed:- fixed-ae-class-macros. Fix exception code class checks. Added 
    519 several new macros, such as ACPI_CNTL_EXCEPTION(Status) in order to 
    520 enable this.
    521 
    522 AcpiExec/iASL/AcpiHelp: Added a few changes for support of GCC 10.2.0. 
    523 These included a few casts, as well as a null pointer check.
    524 
    525 Fix -Wfallthrough: GCC 7.1 gained -Wimplicit-fallthrough to warn on 
    526 implicit fallthrough, as well as __attribute__((__fallthrough__)) and 
    527 comments to explicitly denote that cases of fallthrough were intentional. 
    528 Clang also supports this warning and statement attribute, but not the 
    529 comment form. Added a new macro, ACPI_FALLTHROUGH to support this feature 
    530 of GCC. With assistance from @nickdesaulniers. 
    531 
    532 2) iASL Compiler/Disassembler and ACPICA tools: 
    533 
    534 Added improvement to method call analysis by saving the return type and 
    535 relaxing certain cases of type checking.
    536 
    537 iASL Table Compiler: Improved info messages. Added a message to the -T 
    538 option for when the default template (DSDT) is used.
    539 Also added a note for when multiple SSDTs are created with a DSDT that 
    540 the SSDTs are created in the same file as the DSDT.
    541 
    542 
    543 ----------------------------------------
    544 
    545 13 November 2020. Summary of changes for version 20201113:
    546 
    547 This release is available at https://acpica.org/downloads
    548 
    549 
    550 1) ACPICA kernel-resident subsystem:
    551 
    552 Interpreter: fixed a memory leak by using use existing buffer in _HID 
    553 repair. There was a memory leak that occurred when a _CID object is 
    554 defined as a package containing string objects. When _CID is checked for 
    555 any possible repairs, it calls a helper function to repair _HID (because 
    556 _CID basically contains multiple _HID entries). The _HID repair function 
    557 assumes that string objects are standalone objects that are not contained 
    558 inside of any packages. The _HID repair function replaced the string 
    559 object with a brand new object and attempted to delete the old object by 
    560 decrementing the reference count of the old object. Strings inside of 
    561 packages have a reference count of 2 so the _HID repair function leaves 
    562 this object in a dangling state and causes a memory leak. Instead of 
    563 allocating a brand new object and removing the old object, use the 
    564 existing object when repairing the _HID object.
    565 
    566 Added function trace macros to improve namespace debugging. The namespace 
    567 repair mechanism does not have function tracing macros. Add several trace 
    568 macros to improve debuggability.
    569 
    570 Handle "orphan" _REG methods for GPIO OpRegions. Before this change 
    571 AcpiEvExecuteRegMethods() had special handling to handle "orphan" (no 
    572 matching OpRegion declared) _REG methods for EC nodes. On Intel Cherry 
    573 Trail devices there are 2 possible ACPI OpRegions for accessing GPIOs. 
    574 The standard GeneralPurposeIo OpRegion and the Cherry Trail - specific 
    575 UserDefined 0x9X OpRegions. Having 2 different types of OpRegions leads 
    576 to potential issues with checks for OpRegion availability, or in other 
    577 words checks if _REG has been called for the OpRegion which the ACPI code 
    578 wants to use. Except for the "orphan" EC handling, ACPICA core does not 
    579 call _REG on an ACPI node which does not define an OpRegion matching the 
    580 type being registered; and the reference design DSDT, from which most 
    581 Cherry Trail DSDTs are derived, does not define GeneralPurposeIo, nor 
    582 UserDefined(0x93) OpRegions for the GPO2 (UID 3) device, because no pins 
    583 were assigned ACPI controlled functions in the reference design. Together 
    584 this leads to the perfect storm, at least on the Cherry Trail based 
    585 Medion Akayo E1239T. This design does use a GPO2 pin from its ACPI code 
    586 and has added the Cherry Trail specific UserDefined(0x93) opregion to its 
    587 GPO2 ACPI node to access this pin. But it uses a "has _REG been called" 
    588 availability check for the standard GeneralPurposeIo OpRegion. This 
    589 clearly is a bug in the DSDT, but this does work under Windows. This 
    590 issue leads to the intel vbtn driver reporting the device always being in 
    591 tablet-mode at boot, even if it is in laptop mode. Which in turn causes 
    592 userspace to ignore touchpad events. So in other words, this issue causes 
    593 the touchpad to not work at boot. This change fixes this by extending the 
    594 "orphan" _REG method handling to also apply to GPIO address-space 
    595 handlers.
    596 
    597 
    598 2) iASL Compiler/Disassembler and ACPICA tools: 
    599 
    600 iASL: Added more info to namespace dump file (-ln option). In a separate 
    601 section of the dump file (after the main namespace dump), emit the full 
    602 pathname for each namespace node, its type, and the ASL filename and line 
    603 number where it is declared.
    604 
    605 AcpiHelp: Added an option to display/decode iASL exceptions. Option is: -
    606 x [Hex Value] where "Hex Value" is the iASL exception code. If Hex Value 
    607 is omitted, all iASL exceptions are displayed.
    608 
    609 iASL: Use StringLiteral instead of StringData for some ASL macros. The 
    610 use of the stringData rule allows for some "string" oriented opcodes 
    611 (Such as ToString, ToHexString, etc.) None of which make sense with the 
    612 macros in question. This change modifies the StringData part of the rule 
    613 for these macros to a simple string  literal - thus disallowing the use 
    614 of ToString, ToHexString, etc.
    615 The following ASL operators (macros) are affected:
    616 EisaId
    617 Fprintf
    618 Printf
    619 ToUuid
    620 Unicode
    621 Note: The MS compiler requires the use of string literals for these 
    622 operators also.
    623 
    624 iASL: Added a remark for an unknown UUID: ASL_MSG_UUID_NOT_FOUND. Search 
    625 the list of "known" UUIDs for the input to the ToUUID macro.
    626 
    627 Added 5 new UUIDs to the known UUID table. All related to NVDIMM and the 
    628 NFIT table.
    629 
    630 
    631 ----------------------------------------
    632 
    633 25 September 2020. Summary of changes for version 20200925:
    634 
    635 This release is available at https://acpica.org/downloads
    636 
    637 
    638 1) ACPICA kernel-resident subsystem:
    639 
    640 Preserve memory opregion mappings. The ACPICA's strategy with respect to 
    641 the handling of memory mappings associated with memory operation regions 
    642 is to avoid mapping the entire region at once which may be problematic at 
    643 least in principle (for example, it may lead to conflicts with 
    644 overlapping mappings having different attributes created by drivers).  It 
    645 may also be wasteful, because memory opregions on some systems take up 
    646 vastchunks of address space while the fields in those regions actually 
    647 accessed by AML are sparsely distributed.
    648 
    649 For this reason, a one-page "window" is mapped for a given opregion on 
    650 the first memory access through it and if that "window" does not cover an 
    651 address range accessed through that opregion subsequently, it is unmapped 
    652 and a new "window" is mapped to replace it.  Next, if the new "window" is 
    653 not sufficient to access memory through the opregion in question in the 
    654 future, it will be replaced with yet another "window" and so on.  That 
    655 may lead to a suboptimal sequence of memory mapping and unmapping 
    656 operations, for example if two fields in one opregion separated from each 
    657 other by a sufficiently wide chunk of unused address space are accessed 
    658 in an alternating pattern.
    659 
    660 Added support for 64 bit risc-v compilation.  Useful for acpica tools and 
    661 incorporating ACPICA into the Firmware Test Suite. Colin Ian King 
    662 <colin.king (a] canonical.com>.
    663 
    664 Added support for SMBus predefined names (from SMBus Control Method 
    665 Interface Specification, Version 1.0, December 10, 1999. New predefined 
    666 names:
    667     _SBA
    668     _SBI
    669     _SBR
    670     _SBT
    671     _SBW
    672 
    673 AML Disassembler: Added a new command, "All <NameSeg>". This command will 
    674 evaluate all objects in the current namespace whose NameString contains 
    675 the input NameSeg as the last element of the NameString. Useful for 
    676 debugging.
    677 
    678 
    679 2) iASL Compiler/Disassembler and ACPICA tools: 
    680 
    681 iASL: fixed a crash that occurred when predefined objects return packages 
    682 with lengths that exceed the initializer list.
    683 
    684 iASL: added more detail to external resolution error message when 
    685 compiling multiple definition blocks.
    686 
    687 iASL: added a remark for an attempt to create a nameseg or namestring 
    688 containing lower-case letters. This should prevent declaring multiple 
    689 namesegs or namestrings in an attempt to refer to different objects (with 
    690 different cases), but actually refer to the same object(s).
    691 
    692 iASL: improve alias analysis by saving object type. If the alias is a 
    693 method type, the parameter count is also recorded.
    694 
    695 AcpiExec: Increase the default loop timeout value. Was 1 second, is now 
    696 10 seconds. Prevents unnecessary timeouts when executing control methods 
    697 from the command line.
    698 
    699 AcpiHelp/disassembler: Added a bunch of "known" UUIDs to the internal 
    700 list. Includes:
    701     Memory Device
    702     Generic Buttons Device
    703     NVDIMM Root Device
    704     Control Method Battery
    705     Device Graphs for _DSD method
    706     Hierarchical Data Extension
    707 ....ARM CoreSight Graph
    708 
    709 ----------------------------------------
    710 
    711 
    712 17 July 2020. Summary of changes for version 20200717:
    713 
    714 This release is available at https://acpica.org/downloads
    715 
    716 
    717 1) ACPICA kernel-resident subsystem:
    718 
    719 Do not increment OperationRegion reference counts for field units. Recent 
    720 server firmware has revealed that this reference count can overflow on 
    721 large servers that declare many field units (thousands) under the same 
    722 OperationRegion. This occurs because each field unit declaration will add 
    723 a reference count to the source OperationRegion. This release solves the 
    724 reference count overflow for OperationRegion objects by preventing 
    725 fieldUnits from incrementing their parent OperationRegion's reference 
    726 count.
    727 
    728 Replaced one-element arrays with flexible-arrays, which were introduced 
    729 in C99.
    730 
    731 Restored the readme file containing the directions for generation of 
    732 ACPICA from source on MSVC 2017. Updated the file for MSVC 2017. File is 
    733 located at: generate/msvc2017/readme.txt
    734 
    735 2) iASL Compiler/Disassembler and ACPICA tools: 
    736 
    737 iASL: Fixed a regression found in version 20200214. Prevent iASL from 
    738 emitting an extra byte of garbage data when control methods declared a 
    739 single parameter type without using braces. This extra byte is known to 
    740 cause a blue screen on the Windows AML interpreter.
    741 
    742 iASL: Made a change to allow external declarations to specify the type of 
    743 a named object even when some name segments are not defined.
    744 This change allows the following ASL code to compile (When DEV0 is not 
    745 defined or not defined yet):
    746 
    747     External (\_SB.DEV0.OBJ1, IntObj)
    748     External (\_SB.DEV0, DeviceObj)
    749 
    750 iASL: Fixed a problem where method names in "Alias ()" statement could be 
    751 misinterpreted. They are now interpreted correctly as method invocations.
    752 
    753 iASL: capture a method parameter count (Within the Method info segment, 
    754 as well as the argument node) when using parameter type lists.
    755 
    756 ----------------------------------------
    757 
    758 
    759 28 May 2020. Summary of changes for version 20200528:
    760 
    761 
    762 1) ACPICA kernel-resident subsystem:
    763 
    764 Removed old/obsolete Visual Studio files which were used to build the 
    765 Windows versions of the ACPICA tools. Since we have moved to Visual 
    766 Studio 2017, we are no longer supporting Visual Studio 2006 and 2009 
    767 project files. The new subdirectory and solution file are located at:
    768 
    769     acpica/generate/msvc2017/AcpiComponents.sln
    770 
    771 
    772 2) iASL Compiler/Disassembler and ACPICA tools: 
    773 
    774 iASL: added support for a new OperationRegion Address Space (subtype): 
    775 PlatformRtMechanism. Support for this new keyword is being released for 
    776 early prototyping. It will appear in the next release of the ACPI 
    777 specification.
    778 
    779 iASL: do not optimize the NameString parameter of the CondRefOf operator. 
    780 In the previous iASL compiler release, the NameString parameter of the 
    781 CondRefOf was optimized. There is evidence that some implementations of 
    782 the AML interpreter do not perform the recursive search-to-parent search 
    783 during the execution of the CondRefOf operator. Therefore, the CondRefOf 
    784 operator behaves differently when the NameString parameter is a single 
    785 name segment (a NameSeg) as opposed to a full NamePath (starting at the 
    786 root scope) or a NameString containing parent prefixes.
    787 
    788 iASL: Prevent an inadvertent remark message. This change prevents a 
    789 remark if within a control method the following exist:
    790 1) An Operation Region is defined, and
    791 2) A Field operator is defined that refers to the region.
    792 This happens because at the top level, the Field operator does not 
    793 actually create a new named object, it simply references the operation 
    794 region.
    795 
    796 Removed support for the acpinames utility. The acpinames was a simple 
    797 utility used to populate and display the ACPI namespace without executing 
    798 any AML code. However, ACPICA now supports executable opcodes outside of 
    799 control methods. This means that executable AML opcodes such as If and 
    800 Store opcodes need to be executed during table load. Therefore, acpinames 
    801 would need to be updated to match the same behavior as the acpiexec 
    802 utility and since acpiexec can already dump the entire namespace (via the 
    803 'namespace' command), we no longer have the need to maintain acpinames.
    804 
    805     In order to dump the contents of the ACPI namespace using acpiexec,
    806 execute the following command from the command line:
    807 
    808         acpiexec -b "n" [aml files]
    809 
    810 ----------------------------------------
    811 
    812 
    813 30 April 2020. Summary of changes for version 20200430:
    814 
    815 1) ACPICA kernel-resident subsystem:
    816 
    817 Cleaned up the coding style of a couple of global variables 
    818 (AcpiGbl_NextCmdNum and AcpiProtocolLengths) caught by static analyzers. 
    819 AcpiProtocolLengths was made static, and the definition of 
    820 AcpiGbl_NextCmdNum was moved to acglobal.h.
    821 
    822 
    823 2) iASL Compiler/Disassembler and ACPICA tools: 
    824 
    825 iASL DataTable Compiler:  Fixed a segfault on errors that aren't directly 
    826 associated with a field.
    827 
    828 Disassembler: has been made more resilient so that it will continue to 
    829 parse AML even if the AML generates ACPI namespace errors. This enables 
    830 iASL to disassemble some AML that may have been compiled using older 
    831 versions of iASL that no longer compile with newer versions of iASL.
    832 
    833 iASL: Fixed the required parameters for _NIH and _NIG. Previously, there 
    834 was a mixup where _NIG required one parameter and _NIH required zero 
    835 parameters. This change swaps these parameter requirements. Now it is 
    836 required that _NIH must be called with one parameter and _NIG requires 
    837 zero parameters.
    838 
    839 iASL: Allow use of undefined externals as long as they are protected by 
    840 an if (CondRefOf (...)) block when compiling multiple definition blocks.
    841 
    842 iASL: Fixed the type override behavior of named objects that are declared 
    843 as External. External declarations will no longer override the type of 
    844 the actual definition if it already exists.
    845 
    846 AcpiNames: Added setargv.obj to the MSVC 2017 link sequence to enable 
    847 command line wildcard support on Windows. Note: the AcpiNames utility is 
    848 essentially redundant with the AcpiExec utility (using the "namespace" 
    849 command) and is therefore deprecated. It will be removed in future 
    850 releases of ACPICA.
    851 
    852 Disassembler: ignore AE_ALREADY_EXISTS status when parsing create* 
    853 operators. The disassembler is intended to emit existing ASL code as-is. 
    854 Therefore, error messages emitted during disassembly should be ignored or 
    855 handled in a way such that the disassembler can continue to parse the 
    856 AML. This change ignores AE_ALREADY_EXISTS errors during the deferred Op 
    857 parsing for create operators in order to complete parsing ASL termlists.
    858 
    859 iASL DataTable Compiler: IVRS table: fix potentially uninitialized 
    860 variable warning. Some compilers catch potential uninitialized variables. 
    861 This is done by examining branches of if/else statements. This change 
    862 replaces an "else if" with an "else" to fix the uninitialized variable 
    863 warning.
    864 
    865 
    866 ----------------------------------------
    867 26 March 2020. Summary of changes for version 20200326:
    868 
    869 
    870 1) ACPICA kernel-resident subsystem:
    871 
    872 Performed a code clean-up to prevent build errors on early versions of 
    873 GCC-10.
    874 
    875 Added the NHLT table signature. iASL data table compiler/disassembler 
    876 support for this table is coming soon.
    877 
    878 
    879 2) iASL Compiler/Disassembler and ACPICA tools: 
    880 
    881 AcpiExec: Fixed several problems with the namespace initialization file 
    882 (-fi<filename> option). Includes fixes to prevent AE_ALREADY_EXISTS 
    883 errors, several seg faults, and enhancements to line parsing within the 
    884 init file. In addition, each object found in the init file and it's new 
    885 value is displayed, as well as any such entries that do not have a 
    886 corresponding name in the namespace. For reference, the syntax for the 
    887 various supported data types are presented below:
    888 	PCHG 0x777788889999BBBB	// Integer
    889 	\DEV1.STR1 "XYZ"			// String
    890 	BUF1 (88 99 AA)			// Buffer
    891 	PKG1 [0x1111 0x2222]		// Package
    892 	\BF1 0x7980				// BufferField
    893 	RCRV 0x0123456789ABCDEF	// Field Unit
    894 
    895 iASL: Added a custom iASL macro __EXPECT__(iASL-Error-Code). This macro 
    896 can be used anywhere in a given ASL file to configure iASL to expect an 
    897 iASL compiler error code on the line where this macro was placed. If the 
    898 error code does not exist, an error is generated. This is intended to be 
    899 used for ACPICA's ASL test suite, but can be used by ASL developers as 
    900 well.
    901 
    902 iASL: table compiler: Implemented IVRS IVHD type 11h parsing. The AMD 
    903 IVRS table parsing supported only IVHD type 10h structures. Parsing an 
    904 IVHD type 11h caused the iasl to report unknown subtable type. Add 
    905 necessary structure definition for IVHD type 11h and apply correct 
    906 parsing method based on subtable type. Micha? ?ygowski.
    907 
    908 iASL: table compiler: Fixed IVRS table IVHD type 10h reserved field name 
    909 According to AMD IOMMU Specification Revision 3.05 the reserved field 
    910 should be IOMMU Feature Reporting. Change the name of the field to the 
    911 correct one. Micha? ?ygowski.
    912 
    913 acpiexec: removed redeclaration of AcpiGbl_DbOpt_NoRegionSupport. Patch 
    914 based on suggestions by David Seifert and Benjamin Berg.
    915 
    916 iASL: table compiler: removed an unused variable (DtCompilerParserResult) 
    917 causing linking errors. Patch based on suggestions by David Seifert and 
    918 Benjamin Berg.
    919 
    920 iASL: table compiler: make LexBuffer static to avoid linking errors in 
    921 newer compilers. Patch based on suggestions by David Seifert and Benjamin 
    922 Berg.
    923 
    924 iASL: fixed type matching between External and Named objects. External 
    925 object types can only be expressed with ACPI object type values that are 
    926 defined in the ACPI spec. However, iASL uses ACPI object type values that 
    927 are local to ACPICA in addition to the values defined in the ACPI spec. 
    928 This change implements type matching to map some object type values 
    929 specific to ACPICA to ones that are defined in the ACPI spec.
    930 
    931 iASL: Dropped the type mismatch compiler error that can arise from 
    932 External declarations to a warning. This warning can occur when there is 
    933 a type difference between the external declaration and the actual object 
    934 declaration (when compiling multiple files/modules simultaneously).
    935 
    936 iASL: removed an incorrect error message regarding externals. This change 
    937 removes an incorrect error that is emitted when a duplicate external 
    938 declaration does not contain a type that opens a scope. This is incorrect 
    939 because the duplicate external with conflicting types are already caught 
    940 by iASL and it doesn't make any sense to enforce what this conflicting 
    941 type should be.
    942 
    943 AcpiXtract: fix AX_IS_TABLE_BLOCK_HEADER macro. This macro needs to be 
    944 surrounded by parens. Otherwise, a logical statement that applies a 
    945 logical not operator to this macro could result in a computation that 
    946 applies the operator to the left side of the logical and but not the 
    947 right. Reported-by: John Levon <john.levon (a] joyent.com>
    948 
    949 Fixed a problem with the local version of sprint(): On 32-bit, the 
    950 provided sprintf() is non-functional: with a size of ACPI_UINT32_MAX, 
    951 String + Size will wrap, meaning End < Start, and 
    952 AcpiUtBoundStringOutput() will never output anything as a result. The 
    953 symptom seen of this was acpixtract failing to output anything -- with a 
    954 custom build that included utprint.c. Signed-off-by: John Levon 
    955 <john.levon (a] joyent.com>
    956 
    957 iASL: Changed the "PlatformCommChannel" ASL keyword to "PCC", as per the 
    958 ACPI specification.
    959 
    960 
    961 ----------------------------------------
    962 14 February 2020. Summary of changes for version 20200214:
    963 
    964 
    965 1) ACPICA kernel-resident subsystem:
    966 
    967 Enable sleep button on ACPI legacy wake:  Hibernation (S4) is triggered 
    968 in a guest when it receives a sleep trigger from the hypervisor. When the 
    969 guest resumes from this power state, it does not see the SleepEnabled 
    970 bit. In other words, the sleepHibernation (S4) is triggered in a guest 
    971 when it receives a sleep trigger from the hypervisor. When the guest 
    972 resumes from this power state, it does not see the SleepEnabled bit. In 
    973 other words, the sleep button is not enabled on waking from an S4 state. 
    974 This causes subsequent invocation of sleep state to fail since the 
    975 guest.button is not enabled on waking from an S4 state. This causes 
    976 subsequent invocation of sleep state to fail in the guest. Fix this 
    977 problem by enabling the sleep button in ACPI legacy wake. From Anchal 
    978 Agarwal <anchalag (a] amazon.com>.
    979 
    980 Implemented a new external interface, AcpiAnyGpeStatusSet (). To be used 
    981 for checking the status bits of all enabled GPEs in one go. It is needed 
    982 to distinguish spurious SCIs from genuine ones when deciding whether or 
    983 not to wake up the system from suspend-to-idle.
    984 
    985 Generic Makefiles: replace HOST name with ACPI_HOST: Some machines may be 
    986 using HOST in their environment to represent the host name for their 
    987 machines. Avoid this problem by renaming this variable from HOST to 
    988 ACPI_HOST.
    989 
    990 MSVC 2017 project files: Enable multiprocessor generation to improve 
    991 build performance.
    992 
    993 Added a macro to get the byte width of a Generic Address structure. New 
    994 ACPI_ACCESS_BYTE_WIDTH is in addition to the existing 
    995 ACPI_ACCESS_BIT_WIDTH. From Mika Westerberg.
    996 
    997 
    998 2) iASL Compiler/Disassembler and ACPICA tools: 
    999 
   1000 iASL: Implemented full support for the (optional, rarely used) ReturnType 
   1001 and ParameterTypesList for the Method, Function, and External operators. 
   1002 For Method declarations, the number of individual ParameterTypes must 
   1003 match the declaration of the number of arguments (NumArgs). This also 
   1004 Fixes a problem with the External operator where extra/extraneous bytes 
   1005 were emitted in the AML code if the optional ReturnType/ParameterTypes 
   1006 were specified for a MethodObj declaration.
   1007 New error message:
   1008 1) Method NumArgs count does not match length of ParameterTypes list
   1009 
   1010 iASL: Implemented detection of type mismatches between External 
   1011 declarations and named object declarations. Also, detect type mismatches 
   1012 between multiple External declarations of the same Name.
   1013 New error messages:
   1014 1) Type mismatch between external declaration and actual object 
   1015 declaration detected
   1016 2) Type mismatch between multiple external declarations detected
   1017 
   1018 iASL: Implemented new error messages for External operators that specify 
   1019 a ReturnType and/or ParameterTypesList for any object type other than 
   1020 control methods (MethodObj).
   1021 New error messages:
   1022 1) Return type is only allowed for Externals declared as MethodObj
   1023 2) Parameter type is only allowed for Externals declared as MethodObj
   1024 
   1025 iASL: Implemented two new remark/warning messages for ASL code that 
   1026 creates named objects from within a control method. This is very 
   1027 inefficient since the named object must be created and deleted each time 
   1028 the method is executed.
   1029 New messages:
   1030 1) Creation of named objects within a method is highly inefficient, use 
   1031 globals or method local variables instead (remark)
   1032 2) Static OperationRegion should be declared outside control method 
   1033 (warning)
   1034 
   1035 iASL: Improved illegal forward reference detection by adding support to 
   1036 detect forward-reference method invocations.
   1037 
   1038 iASL: Detect and issue an error message for NameStrings that contain too 
   1039 many individual NameSegs (>255). This is an AML limitation that is 
   1040 defined in the ACPI specification.
   1041 New message:
   1042 1) NameString contains too many NameSegs (>255)
   1043 
   1044 acpidump: windows: use GetSystemFirmwareTable API for all tables except 
   1045 SSDT. By using this API, acpidump is able to get all tables in the XSDT
   1046 
   1047 iASL: Removed unused parser file and updated msvc2017 project files. 
   1048 Removed the obsolete AslCompiler.y from the repository.
   1049 
   1050 iASL: msvc2017: Fixed macros in the file dependency list to prevent 
   1051 unnecessary rebuilds. Replace %(Directory) with %(RelativeDir).
   1052 
   1053 Disassembler: Prevent spilling error messages to the output file. All 
   1054 errors are directed to the console instead. These error messages 
   1055 prevented re-compilation of the resulting disassembled ASL output file 
   1056 (.DSL).
   1057 
   1058 
   1059 ----------------------------------------
   1060 10 January 2020. Summary of changes for version 20200110:
   1061 
   1062 
   1063 1) ACPICA kernel-resident subsystem:
   1064 
   1065 Updated all copyrights to 2020. This affects all ACPICA source code 
   1066 modules.
   1067 
   1068 
   1069 2) iASL Compiler/Disassembler and ACPICA tools:
   1070 
   1071 ASL test suite (ASLTS): Updated all copyrights to 2020.
   1072 
   1073 Tools and utilities: Updated all signon copyrights to 2020.
   1074 
   1075 iASL: fix forward reference analysis for field declarations. Fixes 
   1076 forward reference analysis for field declarations by searching the 
   1077 parent scope for the named object when the object is not present in 
   1078 the current scope.
   1079 
   1080 iASL: Improved the error output for ALREADY_EXISTS errors. Now, the 
   1081 full pathname of the name that already exists is printed.
   1082 
   1083 iASL: Enhance duplicate Case() detection for buffers. Add check for 
   1084 buffers with no initializer list (these buffers will be filled with 
   1085 zeros at runtime.)
   1086 
   1087 
   1088 ----------------------------------------
   1089 13 December 2019. Summary of changes for version 20191213:
   1090 
   1091 
   1092 1) ACPICA kernel-resident subsystem:
   1093 
   1094 Return a Buffer object for all fields created via the CreateField
   1095 operator. Previously, an Integer would be returned if the size of
   1096 the field was less than or equal to the current size of an Integer.
   1097 Although this goes against the ACPI specification, it provides
   1098 compatibility with other ACPI implementations. Also updated the
   1099 ASLTS test suite to reflect this new behavior.
   1100 
   1101 2) iASL Compiler/Disassembler and ACPICA tools:
   1102 
   1103 iASL: Implemented detection of (and throw an error for) duplicate
   1104 values for Case statements within a single Switch statement. Duplicate
   1105 Integers, Strings, and Buffers are supported.
   1106 
   1107 iASL: Fix error logging issue during multiple file compilation --
   1108 Switch to the correct input file during error node creation.
   1109 
   1110 iASL: For duplicate named object creation, now emit an error instead
   1111 of a warning - since this will cause a runtime error.
   1112 
   1113 AcpiSrc: Add unix line-ending support for non-Windows builds.
   1114 
   1115 iASL: Add an error condition for an attempt to create a NameString
   1116 with > 255 NameSegs (the max allowable via the AML definition).
   1117 
   1118 
   1119 ----------------------------------------
   1120 18 October 2019. Summary of changes for version 20191018:
   1121 
   1122 
   1123 1) ACPICA kernel-resident subsystem:
   1124 
   1125 Debugger: added a new command: ?Fields [address space ID]?. This command 
   1126 dumps the contents of all field units that are defined within the 
   1127 namespace with a particular address space ID.
   1128 
   1129 Modified the external interface AcpiLoadTable() to return a table index. 
   1130 This table index can be used for unloading a table for debugging.
   1131     ACPI_STATUS
   1132     AcpiLoadTable (
   1133         ACPI_TABLE_HEADER       *Table,
   1134         UINT32                  *TableIndex))
   1135 
   1136 Implemented a new external interface: AcpiUnloadTable() This new function 
   1137 takes a table index as an argument and unloads the table. Useful for 
   1138 debugging only.
   1139     ACPI_STATUS
   1140     AcpiUnloadTable (
   1141         UINT32                  TableIndex))
   1142 
   1143 Ported the AcpiNames utility to use the new table initialization 
   1144 sequence. The utility was broken before this change. Also, it was 
   1145 required to include most of the AML interpreter into the utility in order 
   1146 to process table initialization (module-level code execution.)
   1147 
   1148 Update for results from running Clang V8.0.1. This fixes all "dead 
   1149 assignment" warnings. There are still several "Dereference of NULL 
   1150 pointer" warnings, but these have been found to be false positive 
   1151 warnings.
   1152 
   1153 
   1154 2) iASL Compiler/Disassembler and ACPICA tools:
   1155 
   1156 iASL: numerous table compiler changes to ensure that the usage of 
   1157 yacc/bison syntax is POSIX-compliant.
   1158 
   1159 iASL/disassembler: several simple bug fixes in the data table 
   1160 disassembler.
   1161 
   1162 Acpiexec: expanded the initialization file (the -fi option) to initialize 
   1163 strings, buffers, packages, and field units.
   1164 
   1165 
   1166 ----------------------------------------
   1167 16 August 2019. Summary of changes for version 20190816:
   1168 
   1169 This release is available at https://acpica.org/downloads
   1170 
   1171 
   1172 1) ACPICA kernel-resident subsystem:
   1173 
   1174 Modified the OwnerId mechanism to allow for more Owner Ids. The previous 
   1175 limit was 256 Ids, now it is 4096 Ids. This prevents OWNER_ID_LIMIT 
   1176 exceptions on machines with a large number of initialization threads, 
   1177 many CPU cores and nested initialization control methods.
   1178 
   1179 Introduced acpi_dispatch_gpe() as a wrapper around AcpiEvDetectGpe() for 
   1180 checking if the given GPE (as represented by a GPE device handle and a 
   1181 GPE number) is currently active and dispatching it (if that's the case) 
   1182 outside of interrupt context.
   1183 
   1184 Table load: exit the interpreter before initializing objects within the 
   1185 new table This prevents re-acquiring the interpreter lock when loading 
   1186 tables
   1187 
   1188 Added the "Windows 2019" string to the _OSI support (version 1903). Jung-
   1189 uk Kim
   1190 
   1191 Macros: removed pointer math on a null pointer. Causes warnings on some 
   1192 compilers and/or tools. Changed ACPI_TO_POINTER to use ACPI_CAST_PTR 
   1193 instead of using arithmetic.
   1194 
   1195 Fully deployed the ACPI_PRINTF_LIKE macro. This macro was not being used 
   1196 across all "printf-like" internal functions. Also, cleanup all calls to 
   1197 such functions (both in 32-bit mode and 64-bit mode) now that they are 
   1198 analyzed by the gcc compiler via ACPI_PRINTF_LIKE.
   1199 
   1200 
   1201 2) iASL Compiler/Disassembler and ACPICA tools:
   1202 
   1203 iASL: implemented a new data table compiler flex/bison front-end. This 
   1204 change is internal and is not intended to result in changes to the 
   1205 compiled code. This new compiler front-end can be invoked using the -tp 
   1206 option for now, until the old mechanism is removed.
   1207 
   1208 ASLTS: Implemented a new data table compiler test suite. This test suite 
   1209 generates all table templates and compile/disassemble/re-compile/binary-
   1210 compare each file. 
   1211 
   1212 iASL: return -1 if AML files were not generated due to compiler errors
   1213 
   1214 iASL: added a warning on use of the now-legacy ASL Processor () keyword.
   1215 
   1216 iASL: added an error on _UID object declaration that returns a String 
   1217 within a Processor () declaration. A _UID for a processor must be an 
   1218 Integer.
   1219 
   1220 iASL: added a null terminator to name strings that consist only of 
   1221 multiple parent prefixes (^)
   1222 
   1223 iASL: added support to compile both ASL and data table files in a single 
   1224 command.
   1225 
   1226 Updated the tool generation project files that were recently migrated to 
   1227 MSVC 2017 to eliminate all new warnings. The new project files appear in 
   1228 the directory \acpica\generate\msvc2017. This change effectively 
   1229 deprecates the older project files in \acpica\generate\msvc9.
   1230 
   1231 
   1232 ----------------------------------------
   1233 03 July 2019. Summary of changes for version 20190703:
   1234 
   1235 
   1236 1) ACPICA kernel-resident subsystem:
   1237 
   1238 Remove legacy module-level support code. There were still some remnants 
   1239 of the legacy module-level code executions. Since we no longer support 
   1240 this option, this is essentially dead code and has been removed from the 
   1241 ACPICA source.
   1242 
   1243 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
   1244 scope. If these named objects are declared outside the root scope, they 
   1245 will not be invoked by any host Operating System.
   1246 
   1247 Clear status of GPEs on first direct enable. ACPI GPEs (other than the EC 
   1248 one) can be enabled in two situations. First, the GPEs with existing _Lxx 
   1249 and _Exx methods are enabled implicitly by ACPICA during system 
   1250 initialization.  Second, the GPEs without these methods (like GPEs listed 
   1251 by _PRW objects for wakeup devices) need to be enabled directly by the 
   1252 code that is going to use them (e.g. ACPI power management or device 
   1253 drivers).
   1254 
   1255 In the former case, if the status of a given GPE is set to start with, 
   1256 its handler method (either _Lxx or _Exx) needs to be invoked to take care 
   1257 of the events (possibly) signaled before the GPE was enabled. In the 
   1258 latter case, however, the first caller of AcpiEnableGpe() for a given GPE 
   1259 should not be expected to care about any events that might be signaled 
   1260 through it earlier.  In that case, it is better to clear the status of 
   1261 the GPE before enabling it, to prevent stale events from triggering 
   1262 unwanted actions (like spurious system resume, for example).
   1263 
   1264 For this reason, modify AcpiEvAddGpeReference() to take an additional 
   1265 boolean argument indicating whether or not the GPE status needs to be 
   1266 cleared when its reference counter changes from zero to one and make 
   1267 AcpiEnableGpe() pass TRUE to it through that new argument.
   1268 
   1269 
   1270 2) iASL Compiler/Disassembler and ACPICA tools:
   1271 
   1272 The tool generation process has been migrated to MSVC 2017, and all 
   1273 project files have been upgraded. The new project files appear in the 
   1274 directory \acpica\generate\msvc2017. This change effectively deprecates 
   1275 the older project files in \acpica\generate\msvc9.
   1276 
   1277 iASL: ensure that _WAK, _PTS, _TTS, and _Sx are declared only at the root 
   1278 scope. If these named objects are declared outside the root scope, they 
   1279 will not be invoked by any host Operating System
   1280 
   1281 ----------------------------------------
   1282 09 May 2019. Summary of changes for version 20190509:
   1283 
   1284 
   1285 1) ACPICA kernel-resident subsystem:
   1286 
   1287 Revert commit  6c43e1a ("ACPICA: Clear status of GPEs before enabling 
   1288 them") that causes problems with Thunderbolt controllers to occur if a 
   1289 dock device is connected at init time (the xhci_hcd and thunderbolt 
   1290 modules crash which prevents peripherals connected through them from 
   1291 working). Commit 6c43e1a effectively causes commit ecc1165b8b74 ("ACPICA: 
   1292 Dispatch active GPEs at init time") to get undone, so the problem 
   1293 addressed by commit ecc1165b8b74 appears again as a result of it.
   1294 
   1295 
   1296 2) iASL Compiler/Disassembler and ACPICA tools:
   1297 
   1298 Reverted iASL: Additional forward reference detection. This change 
   1299 reverts forward reference detection for field declarations. The feature 
   1300 unintentionally emitted AML bytecode with incorrect package lengths for 
   1301 some ASL code related to Fields and OperationRegions. This malformed AML 
   1302 can cause systems to crash
   1303 during boot. The malformed AML bytecode is emitted in iASL version 
   1304 20190329 and 20190405.
   1305 
   1306 iASL: improve forward reference detection. This change improves forward 
   1307 reference detection for named objects inside of scopes. If a parse object 
   1308 has the OP_NOT_FOUND_DURING_LOAD set, it means that Op is a reference to 
   1309 a named object that is declared later in the AML bytecode. This is 
   1310 allowed if the reference is inside of a method and the declaration is 
   1311 outside of a method like so:
   1312 
   1313 DefinitionBlock(...)
   1314 {
   1315     Method (TEST)
   1316     {
   1317         Return (NUM0)
   1318     }
   1319     Name (NUM0,0)
   1320 }
   1321 
   1322 However, if the declaration and reference are both in the same method or 
   1323 outside any methods, this is a forward reference and should be marked as 
   1324 an error because it would result in runtime errors.
   1325 
   1326 DefinitionBlock(...)
   1327 {
   1328     Name (BUFF, Buffer (NUM0) {}) // Forward reference
   1329     Name (NUM0, 0x0)
   1330 
   1331     Method (TEST)
   1332     {
   1333         Local0 = NUM1
   1334         Name (NUM1, 0x1) // Forward reference
   1335         return (Local0)
   1336     }
   1337 }
   1338 
   1339 iASL: Implemented additional buffer overflow analysis for BufferField 
   1340 declarations. Check if a buffer index argument to a create buffer field 
   1341 operation is beyond the end of the target buffer.
   1342 
   1343 This affects these AML operators:
   1344  
   1345    AML_CREATE_FIELD_OP
   1346    AML_CREATE_BIT_FIELD_OP
   1347    AML_CREATE_BYTE_FIELD_OP
   1348    AML_CREATE_WORD_FIELD_OP
   1349    AML_CREATE_DWORD_FIELD_OP
   1350    AML_CREATE_QWORD_FIELD_OP
   1351 
   1352  There are three conditions that must be satisfied in order to allow this 
   1353 validation at compile time:
   1354  
   1355    1) The length of the target buffer must be an integer constant
   1356    2) The index specified in the create* must be an integer constant
   1357    3) For CreateField, the bit length argument must be non-zero.
   1358 
   1359 Example:
   1360     Name (BUF1, Buffer() {1,2})
   1361     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
   1362 
   1363 dsdt.asl     14:     CreateField (BUF1, 7, 9, CF03)  // 3: ERR
   1364 Error    6165 -                           ^ Buffer index beyond end of 
   1365 target buffer
   1366 
   1367 
   1368 ----------------------------------------
   1369 05 April 2019. Summary of changes for version 20190405:
   1370 
   1371 
   1372 1) ACPICA kernel-resident subsystem:
   1373 
   1374 Event Manager: History: Commit 18996f2db918 ("ACPICA: Events: Stop 
   1375 unconditionally clearing ACPI IRQs during suspend/resume") was added 
   1376 earlier to stop clearing of event status bits unconditionally on suspend 
   1377 and resume paths. Though this change fixed an issue on suspend path, it 
   1378 introduced regressions on several resume paths. In the case of S0ix, 
   1379 events are enabled as part of device suspend path. If status bits for the 
   1380 events are set when they are enabled, it could result in premature wake 
   1381 from S0ix. If status is cleared for any event that is being enabled so 
   1382 that any stale events are cleared out. In case of S0ix, events are 
   1383 enabled as part of device suspend path. If status bits for the events are 
   1384 set when they are enabled, it could result in premature wake from S0ix.
   1385 
   1386 This change ensures that status is cleared for any event that is being 
   1387 enabled so that any stale events are cleared out.
   1388 
   1389 
   1390 2) iASL Compiler/Disassembler and ACPICA tools:
   1391 
   1392 iASL: Implemented an enhanced multiple file compilation that combines 
   1393 named objects from all input files to a single namespace. With this 
   1394 feature, any unresolved external declarations as well as duplicate named 
   1395 object declarations can be detected during compilation rather than 
   1396 generating errors much later at runtime. The following commands are 
   1397 examples that utilize this feature:
   1398     iasl dsdt.asl ssdt.asl
   1399     iasl dsdt.asl ssdt1.asl ssdt2.asl
   1400     iasl dsdt.asl ssdt*.asl
   1401 
   1402 ----------------------------------------
   1403 29 March 2019. Summary of changes for version 20190329:
   1404 
   1405 
   1406 1) ACPICA kernel-resident subsystem:
   1407 
   1408 Namespace support: Remove the address nodes from global list after method 
   1409 termination. The global address list contains pointers to namespace nodes 
   1410 that represent Operation Regions. This change properly removes Operation 
   1411 Region namespace nodes that are declared dynamically during method 
   1412 execution.
   1413 
   1414 Linux: Use a different debug default than ACPICA. There was a divergence 
   1415 between Linux and the ACPICA codebases. In order to resolve this 
   1416 divergence, Linux now declares its own debug default in aclinux.h
   1417 
   1418 Renamed some internal macros to improve code understanding and 
   1419 maintenance. The macros below all operate on single 4-character ACPI 
   1420 NameSegs, not generic strings (old -> new):
   1421     ACPI_NAME_SIZE    -> ACPI_NAMESEG_SIZE
   1422     ACPI_COMPARE_NAME -> ACPI_COMPARE_NAMESEG
   1423     ACPI_MOVE_NAME    -> ACPI_COPY_NAMESEG
   1424 
   1425 Fix for missing comma in array declaration for the AcpiGbl_GenericNotify 
   1426 table.
   1427 
   1428 Test suite: Update makefiles, add PCC operation region support
   1429 
   1430 
   1431 2) iASL Compiler/Disassembler and Tools:
   1432 
   1433 iASL: Implemented additional illegal forward reference detection. Now 
   1434 detect and emit an error upon detection of a forward reference from a 
   1435 Field to an Operation Region. This will fail at runtime if allowed to 
   1436 pass the compiler.
   1437 
   1438 AcpiExec: Add an address list check for dynamic Operation Regions. This 
   1439 feature performs a sanity test for each node the global address list. 
   1440 This is done in order to ensure that all dynamic operation regions are 
   1441 properly removed from the global address list and no dangling pointers 
   1442 are left behind.
   1443 
   1444 Disassembler: Improved generation of resource pathnames. This change 
   1445 improves the code that generates resource descriptor and resource tag 
   1446 pathnames. The original code used a bunch of str* C library functions 
   1447 that caused warnings on some compilers.
   1448 
   1449 iASL: Removed some uses of strncpy and replaced with memmove. The strncpy 
   1450 function can overwrite buffers if the calling code is not very careful. 
   1451 In the case of generating a module/table header, use of memmove is a 
   1452 better implementation.
   1453 
   1454 
   1455 3) Status of new features that have not been completed at this time:
   1456 
   1457 iASL: Implementing an enhanced multiple file compilation into a single 
   1458 namespace feature (Status): This feature will be released soon, and 
   1459 allows multiple ASL files to be compiled into the same single namespace. 
   1460 By doing so, any unresolved external declarations as well as duplicate 
   1461 named object declarations can be detected during compilation (rather than 
   1462 later during runtime). The following commands are examples that utilize 
   1463 this feature:
   1464     iasl dsdt.asl ssdt.asl
   1465     iasl dsdt.asl ssdt1.asl ssdt2.asl
   1466     iasl dsdt.asl ssdt*.asl
   1467 
   1468 ASL tutorial status: Feedback is being gathered internally and the 
   1469 current plan is to publish this tutorial on the ACPICA website after a 
   1470 final review by a tech writer.
   1471 
   1472 ----------------------------------------
   1473 15 February 2019. Summary of changes for version 20190215:
   1474 
   1475 
   1476 0) Support for ACPI specification version 6.3:
   1477 
   1478 Add PCC operation region support for the AML interpreter. This adds PCC 
   1479 operation region support in the AML interpreter and a default handler for 
   1480 acpiexec. The change also renames the PCC region address space keyword to 
   1481 PlatformCommChannel.
   1482 
   1483 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG. 
   1484 These methods provide OSPM with health information and device boot 
   1485 status.
   1486 
   1487 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value 
   1488 defines if the trigger needs to be invoked by OSPM before or at the end 
   1489 of kernel crash dump processing/handling operation.
   1490 
   1491 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT 
   1492 is used for describing devices such as heterogeneous processors, 
   1493 accelerators, GPUs, and IO devices with integrated compute or DMA 
   1494 engines.
   1495 
   1496 MADT: Add support for statistical profiling in GICC. Statistical 
   1497 profiling extension (SPE) is an architecture-specific feature for ARM.
   1498 
   1499 MADT: Add online capable flag. If this bit is set, system hardware 
   1500 supports enabling this processor during OS runtime.
   1501 
   1502 New Error Disconnect Recover Notification value. There are a number of 
   1503 scenarios where system Firmware in collaboration with hardware may 
   1504 disconnect one or more devices from the rest of the system for purposes 
   1505 of error containment. Firmware can use this new notification value to 
   1506 alert OSPM of such a removal.
   1507 
   1508 PPTT: New additional fields in Processor Structure Flags. These flags 
   1509 provide more information about processor topology.
   1510 
   1511 NFIT/Disassembler: Change a field name from "Address Range" to "Region 
   1512 Type".
   1513 
   1514 HMAT updates: make several existing fields to be reserved as well as 
   1515 rename subtable 0 to "memory proximity domain attributes".
   1516 
   1517 GTDT: Add support for new GTDT Revision 3. This revision adds information 
   1518 for the EL2 timer.
   1519 
   1520 iASL: Update the HMAT example template for new fields.
   1521 
   1522 iASL: Add support for the new revision of the GTDT (Rev 3).
   1523 
   1524 
   1525 1) ACPICA kernel-resident subsystem:
   1526 
   1527 AML Parser: fix the main AML parse loop to correctly skip erroneous 
   1528 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
   1529 byte extended opcodes. If an error occurs during an AML table load, the 
   1530 AML parser will continue loading the table by skipping the offending 
   1531 opcode. This implements a "load table at any cost" philosophy.
   1532 
   1533 
   1534 2) iASL Compiler/Disassembler and Tools:
   1535 
   1536 iASL: Add checks for illegal object references, such as a reference 
   1537 outside of method to an object within a method. Such an object is only 
   1538 temporary.
   1539 
   1540 iASL: Emit error for creation of a zero-length operation region. Such a 
   1541 region is rather pointless. If encountered, a runtime error is also 
   1542 implemented in the interpreter.
   1543 
   1544 Debugger: Fix a possible fault with the "test objects" command.
   1545 
   1546 iASL: Makefile: support parent directory filenames containing embedded 
   1547 spaces.
   1548 
   1549 iASL: Update the TPM2 template to revision 4.
   1550 
   1551 iASL: Add the ability to report specific warnings or remarks as errors.
   1552 
   1553 Disassembler: Disassemble OEMx tables as actual AML byte code. 
   1554 Previously, these tables were treated as "unknown table".
   1555 
   1556 iASL: Add definition and disassembly for TPM2 revision 3.
   1557 
   1558 iASL: Add support for TPM2 rev 3 compilation.
   1559 
   1560 
   1561 ----------------------------------------
   1562 08 January 2019. Summary of changes for version 20190108:
   1563 
   1564 
   1565 1) ACPICA kernel-resident subsystem:
   1566 
   1567 Updated all copyrights to 2019. This affects all source code modules.
   1568 
   1569 
   1570 2) iASL Compiler/Disassembler and Tools:
   1571 
   1572 ASL test suite (ASLTS): Updated all copyrights to 2019.
   1573 
   1574 Tools: Updated all signon copyrights to 2019.
   1575 
   1576 AcpiExec: Added a new option to dump extra information concerning any 
   1577 memory leaks detected by the internal object/cache tracking mechanism. -
   1578 va
   1579 
   1580 iASL: Updated the table template for the TPM2 table to the newest version 
   1581 of the table (Revision 4)
   1582 
   1583 
   1584 ----------------------------------------
   1585 13 December 2018. Summary of changes for version 20181213:
   1586 
   1587 
   1588 1) ACPICA Kernel-resident Subsystem:
   1589 
   1590 Fixed some buffer length issues with the GenericSerialBus, related to two 
   1591 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes, 
   1592 which are rarely seen in the field. For these, the LEN field of the ASL 
   1593 buffer is now ignored. Hans de Goede
   1594 
   1595 Implemented a new object evaluation trace mechanism for control methods 
   1596 and data objects. This includes nested control methods. It is 
   1597 particularly useful for examining the ACPI execution during system 
   1598 initialization since the output is relatively terse. The flag below 
   1599 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
   1600    #define ACPI_LV_EVALUATION          0x00080000
   1601 
   1602 Examples:
   1603    Enter evaluation       :  _SB.PCI0._INI (Method)
   1604    Exit evaluation        :  _SB.PCI0._INI
   1605    Enter evaluation       :  _OSI (Method)
   1606    Exit evaluation        :  _OSI
   1607    Enter evaluation       :  _SB.PCI0.TEST (Method)
   1608    Nested method call     :     _SB.PCI0.NST1
   1609    Exit nested method     :     _SB.PCI0.NST1
   1610    Exit evaluation        :  _SB.PCI0.TEST
   1611 
   1612 Added two recently-defined _OSI strings. See 
   1613 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
   1614 osi.
   1615    "Windows 2018"
   1616    "Windows 2018.2"
   1617 
   1618 Update for buffer-to-string conversions via the ToHexString ASL operator. 
   1619 A "0x" is now prepended to each of the hex values in the output string. 
   1620 This provides compatibility with other ACPI implementations. The ACPI 
   1621 specification is somewhat vague on this issue.
   1622    Example output string after conversion: 
   1623 "0x01,0x02,0x03,0x04,0x05,0x06"
   1624 
   1625 Return a run-time error for TermArg expressions within individual package 
   1626 elements. Although this is technically supported by the ASL grammar, 
   1627 other ACPI implementations do not support this either. Also, this fixes a 
   1628 fault if this type of construct is ever encountered (it never has been).
   1629 
   1630 
   1631 2) iASL Compiler/Disassembler and Tools:
   1632 
   1633 iASL: Implemented a new compile option (-ww) that will promote individual 
   1634 warnings and remarks to errors. This is intended to enhance the firmware 
   1635 build process.
   1636 
   1637 AcpiExec: Implemented a new command-line option (-eo) to support the new 
   1638 object evaluation trace mechanism described above.
   1639 
   1640 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables 
   1641 instead of a "unknown table" message.
   1642 
   1643 AcpiHelp: Improved support for the "special" predefined names such as 
   1644 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be 
   1645 used for "xx" and "x".
   1646 
   1647 ----------------------------------------
   1648 31 October 2018. Summary of changes for version 20181031:
   1649 
   1650 
   1651 An Operation Region regression was fixed by properly adding address 
   1652 ranges to a global list during initialization. This allows OS to 
   1653 accurately check for overlapping regions between native devices (such as 
   1654 PCI) and Operation regions as well as checking for region conflicts 
   1655 between two Operation Regions.
   1656 
   1657 Added support for the 2-byte extended opcodes in the code/feature that 
   1658 attempts to continue parsing during the table load phase. Skip parsing 
   1659 Device declarations (and other extended opcodes) when an error occurs 
   1660 during parsing. Previously, only single-byte opcodes were supported.
   1661 
   1662 Cleanup: Simplified the module-level code support by eliminating a 
   1663 useless global variable (AcpiGbl_GroupModuleLeveCode).
   1664 
   1665 
   1666 2) iASL Compiler/Disassembler and Tools:
   1667 
   1668 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE 
   1669 could cause a fault in the preprocessor. This was an inadvertent side-
   1670 effect from moving more allocations/frees to the local cache/memory 
   1671 mechanism.
   1672 
   1673 iASL: Enhanced error detection by validating that all NameSeg elements 
   1674 within a NamePatch actually exist. The previous behavior was spotty at 
   1675 best, and such errors could be improperly ignored at compiler time (never 
   1676 at runtime, however. There are two new error messages, as shown in the 
   1677 examples below:
   1678 
   1679 dsdt.asl     33:     CreateByteField (TTTT.BXXX, 1, CBF1)
   1680 Error    6161 -                              ^ One or more objects within 
   1681 the Pathname do not exist (TTTT.BXXX)
   1682 
   1683 dsdt.asl     34:     CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
   1684 Error    6160 -        One or more prefix Scopes do not exist ^  
   1685 (BBBB.CBF1)
   1686 
   1687 iASL: Disassembler/table-compiler: Added support for the static data 
   1688 table TPM2 revision 3 (an older version of TPM2). The support has been 
   1689 added for the compiler and the disassembler.
   1690 
   1691 Fixed compilation of DOS format data table file on Unix/Linux systems. 
   1692 iASL now properly detects line continuations (\) for DOS format data 
   1693 table definition language files on when executing on Unix/Linux.
   1694 
   1695 ----------------------------------------
   1696 03 October 2018. Summary of changes for version 20181003:
   1697 
   1698 
   1699 2) iASL Compiler/Disassembler and Tools:
   1700 
   1701 Fixed a regression introduced in version 20180927 that could cause the 
   1702 compiler to fault, especially with NamePaths containing one or more 
   1703 carats (^). Such as: ^^_SB_PCI0
   1704 
   1705 Added a new remark for the Sleep() operator when the sleep time operand 
   1706 is larger than one second. This is a very long time for the ASL/BIOS code 
   1707 and may not be what was intended by the ASL writer.
   1708 
   1709 ----------------------------------------
   1710 27 September 2018. Summary of changes for version 20180927:
   1711 
   1712 
   1713 1) ACPICA kernel-resident subsystem:
   1714 
   1715 Updated the GPE support to clear the status of all ACPI events when 
   1716 entering any/all sleep states in order to avoid premature wakeups. In 
   1717 theory, this may cause some wakeup events to be missed, but the 
   1718 likelihood of this is small. This change restores the original behavior 
   1719 of the ACPICA code in order to fix a regression seen from the previous 
   1720 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change. 
   1721 This regression could cause some systems to incorrectly wake immediately.
   1722 
   1723 Updated the execution of the _REG methods during initialization and 
   1724 namespace loading to bring the behavior into closer conformance to the 
   1725 ACPI specification and other ACPI implementations:
   1726 
   1727 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
   1728     "Control methods must assume all operation regions are inaccessible 
   1729 until the _REG(RegionSpace, 1) method is executed"
   1730 
   1731     "The exceptions to this rule are:
   1732 1.  OSPM must guarantee that the following operation regions are always 
   1733 accessible:
   1734     SystemIO operation regions.
   1735     SystemMemory operation regions when accessing memory returned by the 
   1736 System Address Map reporting interfaces."
   1737 
   1738 Since the state of both the SystemIO and SystemMemory address spaces are 
   1739 defined by the specification to never change, this ACPICA change ensures 
   1740 that now _REG is never called on them. This solves some problems seen in 
   1741 the field and provides compatibility with other ACPI implementations. An 
   1742 update to the upcoming new version of the ACPI specification will help 
   1743 clarify this behavior.
   1744 
   1745 Updated the implementation of support for the Generic Serial Bus. For the 
   1746 "bidirectional" protocols, the internal implementation now automatically 
   1747 creates a return data buffer of the maximum size (255). This handles the 
   1748 worst-case for data that is returned from the serial bus handler, and 
   1749 fixes some problems seen in the field. This new buffer is directly 
   1750 returned to the ASL. As such, there is no true "bidirectional" buffer, 
   1751 which matches the ACPI specification. This is the reason for the "double 
   1752 store" seen in the example ASL code in the specification, shown below:
   1753 
   1754 Word Process Call (AttribProcessCall):
   1755     OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
   1756     Field(TOP1, BufferAcc, NoLock, Preserve)
   1757     {
   1758         FLD1, 8, // Virtual register at command value 1.
   1759     }
   1760 
   1761     Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
   1762                              // as BUFF
   1763     CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
   1764 
   1765     Store(0x5416, DATA)               // Save 0x5416 into the data buffer
   1766     Store(Store(BUFF, FLD1), BUFF)    // Invoke a write/read Process Call 
   1767 transaction
   1768                            // This is the "double store". The write to
   1769                            // FLD1 returns a new buffer, which is stored
   1770                            // back into BUFF with the second Store.
   1771 
   1772 
   1773 2) iASL Compiler/Disassembler and Tools:
   1774 
   1775 iASL: Implemented detection of extraneous/redundant uses of the Offset() 
   1776 operator within a Field Unit list. A remark is now issued for these. For 
   1777 example, the first two of the Offset() operators below are extraneous. 
   1778 Because both the compiler and the interpreter track the offsets 
   1779 automatically, these Offsets simply refer to the current offset and are 
   1780 unnecessary. Note, when optimization is enabled, the iASL compiler will 
   1781 in fact remove the redundant Offset operators and will not emit any AML 
   1782 code for them.
   1783 
   1784     OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
   1785     Field (OPR1)
   1786     {
   1787         Offset (0),     // Never needed
   1788         FLD1, 32,
   1789         Offset (4),     // Redundant, offset is already 4 (bytes)
   1790         FLD2, 8,
   1791         Offset (64),    // OK use of Offset.
   1792         FLD3, 16,
   1793     }
   1794 dsdt.asl     14:         Offset (0),
   1795 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1796 operator
   1797 
   1798 dsdt.asl     16:         Offset (4),
   1799 Remark   2158 -                 ^ Unnecessary/redundant use of Offset 
   1800 operator
   1801 
   1802 ----------------------------------------
   1803 10 August 2018. Summary of changes for version 20180810:
   1804 
   1805 
   1806 1) ACPICA kernel-resident subsystem:
   1807 
   1808 Initial ACPI table loading: Attempt to continue loading ACPI tables 
   1809 regardless of malformed AML. Since migrating table initialization to the 
   1810 new module-level code support, the AML interpreter rejected tables upon 
   1811 any ACPI error encountered during table load. This is a problem because 
   1812 non-serious ACPI errors during table load do not necessarily mean that 
   1813 the entire definition block (DSDT or SSDT) is invalid. This change 
   1814 improves the table loading by ignoring some types of errors that can be 
   1815 generated by incorrect AML. This can range from object type errors, scope 
   1816 errors, and index errors.
   1817 
   1818 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs 
   1819 during suspend/resume. The status of ACPI events is no longer cleared 
   1820 when entering the ACPI S5 system state (power off) which caused some 
   1821 systems to power up immediately after turning off power in certain 
   1822 situations. This was a functional regression. It was fixed by clearing 
   1823 the status of all ACPI events again when entering S5 (for system-wide 
   1824 suspend or hibernation the clearing of the status of all events is not 
   1825 desirable, as it might cause the kernel to miss wakeup events sometimes). 
   1826 Rafael Wysocki.
   1827 
   1828 
   1829 2) iASL Compiler/Disassembler and Tools:
   1830 
   1831 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field 
   1832 elements listed in the initialization file were previously initialized 
   1833 after the table load and before executing module-level code blocks. 
   1834 Recent changes in the module-level code support means that the table load 
   1835 becomes a large control method execution. If fields are used within 
   1836 module-level code and we are executing with the -fi option, the 
   1837 initialization values were used to initialize the namespace object(s) 
   1838 only after the table was finished loading. This change Provides an early 
   1839 initialization of objects specified in the initialization file so that 
   1840 field unit values are populated during the table load (not after the 
   1841 load).
   1842 
   1843 AcpiExec: Fixed a small memory leak regression that could result in 
   1844 warnings during exit of the utility. These warnings were similar to 
   1845 these:
   1846     0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
   1847     0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
   1848 
   1849 ----------------------------------------
   1850 29 June 2018. Summary of changes for version 20180629:
   1851 
   1852 
   1853 1) iASL Compiler/Disassembler and Tools:
   1854 
   1855 iASL: Fixed a regression related to the use of the ASL External 
   1856 statement. Error checking for the use of the External() statement has 
   1857 been relaxed. Previously, a restriction on the use of External meant that 
   1858 the referenced named object was required to be defined in a different 
   1859 table (an SSDT). Thus it would be an error to declare an object as an 
   1860 external and then define the same named object in the same table. For 
   1861 example:
   1862     DefinitionBlock (...)
   1863     {
   1864         External (DEV1)
   1865         Device (DEV1){...} // This was an error
   1866     }
   1867 However, this behavior has caused regressions in some existing ASL code, 
   1868 because there is code that depends on named objects and externals (with 
   1869 the same name) being declared in the same table. This change will allow 
   1870 the ASL code above to compile without errors or warnings.
   1871 
   1872 iASL: Implemented ASL language extensions for four operators to make some 
   1873 of their arguments optional instead of required:
   1874     1) Field (RegionName, AccessType, LockRule, UpdateRule)
   1875     2) BankField (RegionName, BankName, BankValue,
   1876                 AccessType, LockRule, UpdateRule)
   1877     3) IndexField (IndexName, DataName,
   1878                 AccessType, LockRule, UpdateRule)
   1879 For the Field operators above, the AccessType, LockRule, and UpdateRule 
   1880 are now optional arguments. The default values are:
   1881         AccessType: AnyAcc
   1882         LockRule:   NoLock
   1883         UpdateRule: Preserve
   1884     4) Mutex (MutexName, SyncLevel)
   1885 For this operator, the SyncLevel argument is now optional. This argument 
   1886 is rarely used in any meaningful way by ASL code, and thus it makes sense 
   1887 to make it optional. The default value is:
   1888         SyncLevel:  0
   1889 
   1890 iASL: Attempted use of the ASL Unload() operator now results in the 
   1891 following warning:
   1892     "Unload is not supported by all operating systems"
   1893 This is in fact very true, and the Unload operator may be completely 
   1894 deprecated in the near future.
   1895 
   1896 AcpiExec: Fixed a regression for the -fi option (Namespace initialization 
   1897 file. Recent changes in the ACPICA module-level code support altered the 
   1898 table load/initialization sequence . This means that the table load has 
   1899 become a large method execution of the table itself. If Operation Region 
   1900 Fields are used within any module-level code and the -fi option was 
   1901 specified, the initialization values were populated only after the table 
   1902 had completely finished loading (and thus the module-level code had 
   1903 already been executed). This change moves the initialization of objects 
   1904 listed in the initialization file to before the table is executed as a 
   1905 method. Field unit values are now initialized before the table execution 
   1906 is performed.
   1907 
   1908 ----------------------------------------
   1909 31 May 2018. Summary of changes for version 20180531:
   1910 
   1911 
   1912 1) ACPICA kernel-resident Subsystem:
   1913 
   1914 Implemented additional support to help ensure that a DSDT or SSDT is 
   1915 fully loaded even if errors are incurred during the load. The majority of 
   1916 the problems that are seen is the failure of individual AML operators 
   1917 that occur during execution of any module-level code (MLC) existing in 
   1918 the table. This support adds a mechanism to abort the current ASL 
   1919 statement (AML opcode), emit an error message, and to simply move on to 
   1920 the next opcode -- instead of aborting the entire table load. This is 
   1921 different than the execution of a control method where the entire method 
   1922 is aborted upon any error. The goal is to perform a very "best effort" to 
   1923 load the ACPI tables. The most common MLC errors that have been seen in 
   1924 the field are direct references to unresolved ASL/AML symbols (referenced 
   1925 directly without the use of the CondRefOf operator to validate the 
   1926 symbol). This new ACPICA behavior is now compatible with other ACPI 
   1927 implementations.
   1928 
   1929 Interpreter: The Unload AML operator is no longer supported for the 
   1930 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
   1931 1) A correct implementation on at least some hosts may not be possible.
   1932 2) Other ACPI implementations do not correctly/fully support it.
   1933 3) It requires host device driver support which is not known to exist.
   1934     (To properly support namespace unload out from underneath.)
   1935 4) This AML operator has never been seen in the field.
   1936 
   1937 Parser: Added a debug option to dump AML parse sub-trees as they are 
   1938 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is 
   1939 ACPI_DB_PARSE_TREES.
   1940 
   1941 Debugger: Reduced the verbosity for errors incurred during table load and 
   1942 module-level code execution.
   1943 
   1944 Completed an investigation into adding a namespace node "owner list" 
   1945 instead of the current "owner ID" associated with namespace nodes. This 
   1946 list would link together all nodes that are owned by an individual 
   1947 control method. The purpose would be to enhance control method execution 
   1948 by speeding up cleanup during method exit (all namespace nodes created by 
   1949 a method are deleted upon method termination.) Currently, the entire 
   1950 namespace must be searched for matching owner IDs if (and only if) the 
   1951 method creates named objects outside of the local scope. However, by far 
   1952 the most common case is that methods create objects locally, not outside 
   1953 the method scope. There is already an ACPICA optimization in place that 
   1954 only searches the entire namespace in the rare case of a method creating 
   1955 objects elsewhere in the namespace. Therefore, it is felt that the 
   1956 overhead of adding an additional pointer to each namespace node to 
   1957 implement the owner list makes this feature unnecessary.
   1958 
   1959 
   1960 2) iASL Compiler/Disassembler and Tools:
   1961 
   1962 iASL, Disassembler, and Template generator: Implemented support for 
   1963 Revision D of the IORT table. Adds a new subtable that is used to specify 
   1964 SMMUv3 PMCGs. rmurphy-arm.
   1965 
   1966 Disassembler: Restored correct table header validation for the "special" 
   1967 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI 
   1968 table header and must be special-cased. This was a regression that has 
   1969 been present for apparently a long time.
   1970 
   1971 AcpiExec: Reduced verbosity of the local exception handler implemented 
   1972 within acpiexec. This handler is invoked by ACPICA upon any exceptions 
   1973 generated during control method execution. A new option was added: -vh 
   1974 restores the original verbosity level if desired.
   1975 
   1976 AcpiExec: Changed the default base from decimal to hex for the -x option 
   1977 (set debug level). This simplifies the use of this option and matches the 
   1978 behavior of the corresponding iASL -x option.
   1979 
   1980 AcpiExec: Restored a force-exit on multiple control-c (sigint) 
   1981 interrupts. This allows program termination even if other issues cause 
   1982 the control-c to fail.
   1983 
   1984 ASL test suite (ASLTS): Added tests for the recently implemented package 
   1985 element resolution mechanism that allows forward references to named 
   1986 objects from individual package elements (this mechanism provides 
   1987 compatibility with other ACPI implementations.)
   1988 
   1989 
   1990 ----------------------------------------
   1991 8 May 2018. Summary of changes for version 20180508:
   1992 
   1993 
   1994 1) ACPICA kernel-resident subsystem:
   1995 
   1996 Completed the new (recently deployed) package resolution mechanism for 
   1997 the Load and LoadTable ASL/AML operators. This fixes a regression that 
   1998 was introduced in version 20180209 that could result in an 
   1999 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table 
   2000 (SSDT) that contains package objects.
   2001 
   2002 
   2003 2) iASL Compiler/Disassembler and Tools:
   2004 
   2005 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than 
   2006 1 MB. This change allows for table offsets within the acpidump file to be 
   2007 up to 8 characters. These changes are backwards compatible with existing 
   2008 acpidump files.
   2009 
   2010 
   2011 ----------------------------------------
   2012 27 April 2018. Summary of changes for version 20180427: 
   2013 
   2014 
   2015 1) ACPICA kernel-resident subsystem:
   2016 
   2017 Debugger: Added support for Package objects in the "Test Objects" 
   2018 command. This command walks the entire namespace and evaluates all named 
   2019 data objects (Integers, Strings, Buffers, and now Packages).
   2020 
   2021 Improved error messages for the namespace root node. Originally, the root 
   2022 was referred to by the confusing string "\___". This has been replaced by 
   2023 "Namespace Root" for clarification.
   2024 
   2025 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin 
   2026 Ian King <colin.king (a] canonical.com>.
   2027 
   2028 
   2029 2) iASL Compiler/Disassembler and Tools: 
   2030 
   2031 iASL: Implemented support to detect and flag illegal forward references. 
   2032 For compatibility with other ACPI implementations, these references are 
   2033 now illegal at the root level of the DSDT or SSDTs. Forward references 
   2034 have always been illegal within control methods. This change should not 
   2035 affect existing ASL/AML code because of the fact that these references 
   2036 have always been illegal in the other ACPI implementation.
   2037 
   2038 iASL: Added error messages for the case where a table OEM ID and OEM 
   2039 TABLE ID strings are longer than the ACPI-defined length. Previously, 
   2040 these strings were simply silently truncated.
   2041 
   2042 iASL: Enhanced the -tc option (which creates an AML hex file in C, 
   2043 suitable for import into a firmware project):
   2044   1) Create a unique name for the table, to simplify use of multiple 
   2045 SSDTs.
   2046   2) Add a protection #ifdef in the file, similar to a .h header file.
   2047 With assistance from Sami Mujawar, sami.mujawar (a] arm.com and Evan Lloyd, 
   2048 evan.lloyd (a] arm.com
   2049 
   2050 AcpiExec: Added a new option, -df, to disable the local fault handler. 
   2051 This is useful during debugging, where it may be desired to drop into a 
   2052 debugger on a fault.
   2053 
   2054 ----------------------------------------
   2055 13 March 2018. Summary of changes for version 20180313:
   2056 
   2057 
   2058 1) ACPICA kernel-resident subsystem:
   2059 
   2060 Implemented various improvements to the GPE support:
   2061 
   2062 1) Dispatch all active GPEs at initialization time so that no GPEs are 
   2063 lost.
   2064 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled 
   2065 before devices are enumerated.
   2066 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that 
   2067 IRQs are not lost.
   2068 4) Add parallel GPE handling to eliminate the possibility of dispatching 
   2069 the same GPE twice.
   2070 5) Dispatch any pending GPEs after enabling for the first time.
   2071 
   2072 AcpiGetObjectInfo - removed support for the _STA method. This was causing 
   2073 problems on some platforms.
   2074 
   2075 Added a new _OSI string, "Windows 2017.2".
   2076 
   2077 Cleaned up and simplified the module-level code support. These changes 
   2078 are in preparation for the eventual removal of the legacy MLC support 
   2079 (deferred execution), replaced by the new MLC architecture which executes 
   2080 the MLC as a table is loaded (DSDT/SSDTs).
   2081 
   2082 Changed a compile-time option to a runtime option. Changes the option to 
   2083 ignore ACPI table load-time package resolution errors into a runtime 
   2084 option. Used only for platforms that generate many AE_NOT_FOUND errors 
   2085 during boot. AcpiGbl_IgnorePackageResolutionErrors.
   2086 
   2087 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some 
   2088 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid 
   2089 compilation errors from unused variables (seen with some compilers).
   2090 
   2091 
   2092 2) iASL Compiler/Disassembler and Tools:
   2093 
   2094 ASLTS: parallelized execution in order to achieve an (approximately) 2X 
   2095 performance increase.
   2096 
   2097 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves 
   2098 error reporting.
   2099 
   2100 ----------------------------------------
   2101 09 February 2018. Summary of changes for version 20180209:
   2102 
   2103 
   2104 1) ACPICA kernel-resident subsystem:
   2105 
   2106 Completed the final integration of the recent changes to Package Object 
   2107 handling and the module-level AML code support. This allows forward 
   2108 references from individual package elements when the package object is 
   2109 declared from within module-level code blocks. Provides compatibility 
   2110 with other ACPI implementations.
   2111 
   2112 The new architecture for the AML module-level code has been completed and 
   2113 is now the default for the ACPICA code. This new architecture executes 
   2114 the module-level code in-line as the ACPI table is loaded/parsed instead 
   2115 of the previous architecture which deferred this code until after the 
   2116 table was fully loaded. This solves some ASL code ordering issues and 
   2117 provides compatibility with other ACPI implementations. At this time, 
   2118 there is an option to fallback to the earlier architecture, but this 
   2119 support is deprecated and is planned to be completely removed later this 
   2120 year.
   2121 
   2122 Added a compile-time option to ignore AE_NOT_FOUND exceptions during 
   2123 resolution of named reference elements within Package objects. Although 
   2124 this is potentially a serious problem, it can generate a lot of 
   2125 noise/errors on platforms whose firmware carries around a bunch of unused 
   2126 Package objects. To disable these errors, define 
   2127 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All 
   2128 errors are always reported for ACPICA applications such as AcpiExec.
   2129 
   2130 Fixed a regression related to the explicit type-conversion AML operators 
   2131 (ToXXXX). The regression was introduced early in 2017 but was not seen 
   2132 until recently because these operators are not fully supported by other 
   2133 ACPI implementations and are thus rarely used by firmware developers. The 
   2134 operators are defined by the ACPI specification to not implement the 
   2135 "implicit result object conversion". The regression incorrectly 
   2136 introduced this object conversion for the following explicit conversion 
   2137 operators:
   2138     ToInteger
   2139     ToString
   2140     ToBuffer
   2141     ToDecimalString
   2142     ToHexString
   2143     ToBCD
   2144     FromBCD
   2145 
   2146 
   2147 2) iASL Compiler/Disassembler and Tools:
   2148 
   2149 iASL: Fixed a problem with the compiler constant folding feature as 
   2150 related to the ToXXXX explicit conversion operators. These operators do 
   2151 not support the "implicit result object conversion" by definition. Thus, 
   2152 ASL expressions that use these operators cannot be folded to a simple 
   2153 Store operator because Store implements the implicit conversion. This 
   2154 change uses the CopyObject operator for the ToXXXX operator folding 
   2155 instead. CopyObject is defined to not implement implicit result 
   2156 conversions and is thus appropriate for folding the ToXXXX operators.
   2157 
   2158 iASL: Changed the severity of an error condition to a simple warning for 
   2159 the case where a symbol is declared both locally and as an external 
   2160 symbol. This accommodates existing ASL code.
   2161 
   2162 AcpiExec: The -ep option to enable the new architecture for module-level 
   2163 code has been removed. It is replaced by the -dp option which instead has 
   2164 the opposite effect: it disables the new architecture (the default) and 
   2165 enables the legacy architecture. When the legacy code is removed in the 
   2166 future, the -dp option will be removed also.
   2167 
   2168 ----------------------------------------
   2169 05 January 2018. Summary of changes for version 20180105:
   2170 
   2171 
   2172 1) ACPICA kernel-resident subsystem:
   2173 
   2174 Updated all copyrights to 2018. This affects all source code modules.
   2175 
   2176 Fixed a possible build error caused by an unresolved reference to the 
   2177 AcpiUtSafeStrncpy function.
   2178 
   2179 Removed NULL pointer arithmetic in the various pointer manipulation 
   2180 macros. All "(void *) NULL" constructs are converted to "(void *) 0". 
   2181 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
   2182 
   2183 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj 
   2184 Mittal.
   2185 
   2186 
   2187 2) iASL Compiler/Disassembler and Tools:
   2188 
   2189 ASLTS: Updated all copyrights to 2018.
   2190 
   2191 Tools: Updated all signon copyrights to 2018.
   2192 
   2193 AcpiXtract: Fixed a regression related to ACPI table signatures where the 
   2194 signature was truncated to 3 characters (instead of 4).
   2195 
   2196 AcpiExec: Restore the original terminal mode after the use of the -v and 
   2197 -vd options.
   2198 
   2199 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
   2200 
   2201 ----------------------------------------
   2202 14 December 2017. Summary of changes for version 20171214:
   2203 
   2204 
   2205 1) ACPICA kernel-resident subsystem:
   2206 
   2207 Fixed a regression in the external (public) AcpiEvaluateObjectTyped 
   2208 interface where the optional "pathname" argument had inadvertently become 
   2209 a required argument returning an error if omitted (NULL pointer 
   2210 argument).
   2211 
   2212 Fixed two possible memory leaks related to the recently developed "late 
   2213 resolution" of reference objects within ASL Package Object definitions.
   2214 
   2215 Added two recently defined _OSI strings: "Windows 2016" and "Windows 
   2216 2017". Mario Limonciello.
   2217 
   2218 Implemented and deployed a safer version of the C library function 
   2219 strncpy:  AcpiUtSafeStrncpy. The intent is to at least prevent the 
   2220 creation of unterminated strings as a possible result of a standard 
   2221 strncpy.
   2222 
   2223 Cleaned up and restructured the global variable file (acglobal.h). There 
   2224 are many changes, but no functional changes.
   2225 
   2226 
   2227 2) iASL Compiler/Disassembler and Tools:
   2228 
   2229 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the 
   2230 optional OemData field at the end of the table was incorrectly required 
   2231 for proper compilation. It is now correctly an optional field.
   2232 
   2233 ASLTS: The entire suite was converted from standard ASL to the ASL+ 
   2234 language, using the ASL-to-ASL+ converter which is integrated into the 
   2235 iASL compiler. A binary compare of all output files has verified the 
   2236 correctness of the conversion.
   2237 
   2238 iASL: Fixed the source code build for platforms where "char" is unsigned. 
   2239 This affected the iASL lexer only. Jung-uk Kim.
   2240 
   2241 ----------------------------------------
   2242 10 November 2017. Summary of changes for version 20171110:
   2243 
   2244 
   2245 1) ACPICA kernel-resident subsystem:
   2246 
   2247 This release implements full support for ACPI 6.2A:
   2248     NFIT - Added a new subtable, "Platform Capabilities Structure"
   2249 No other changes to ACPICA were required, since ACPI 6.2A is primarily an 
   2250 errata release of the specification.
   2251 
   2252 Other ACPI table changes:
   2253     IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
   2254     PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy 
   2255 Linton
   2256 
   2257 Utilities: Modified the string/integer conversion functions to use 
   2258 internal 64-bit divide support instead of a native divide. On 32-bit 
   2259 platforms, a 64-bit divide typically requires a library function which 
   2260 may not be present in the build (kernel or otherwise).
   2261 
   2262 Implemented a targeted error message for timeouts returned from the 
   2263 Embedded Controller device driver. This is seen frequently enough to 
   2264 special-case an AE_TIME returned from an EC operation region access:
   2265     "Timeout from EC hardware or EC device driver"
   2266 
   2267 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all 
   2268 runtime error messages have the identical prefix.
   2269 
   2270 
   2271 2) iASL Compiler/Disassembler and Tools:
   2272 
   2273 AcpiXtract: Fixed a problem with table header detection within the 
   2274 acpidump file. Processing a table could be ended early if a 0x40 (@) 
   2275 appears in the original binary table, resulting in the @ symbol appearing 
   2276 in the decoded ASCII field at the end of the acpidump text line. The 
   2277 symbol caused acpixtract to incorrectly think it had reached the end of 
   2278 the current table and the beginning of a new table.
   2279 
   2280 AcpiXtract: Added an option (-f) to ignore some errors during table 
   2281 extraction. This initial implementation ignores non-ASCII and non-
   2282 printable characters found in the acpidump text file.
   2283 
   2284 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics 
   2285 for ASLTS. This feature is used to track memory allocations from 
   2286 different memory caches within the ACPICA code. At the end of an ASLTS 
   2287 run, these memory statistics are recorded and stored in a log file.
   2288 
   2289 Debugger (user-space version): Implemented a simple "Background" command. 
   2290 Creates a new thread to execute a control method in the background, while 
   2291 control returns to the debugger prompt to allow additional commands.
   2292     Syntax: Background <Namepath> [Arguments]
   2293 
   2294 ----------------------------------------
   2295 29 September 2017. Summary of changes for version 20170929:
   2296 
   2297 
   2298 1) ACPICA kernel-resident subsystem:
   2299 
   2300 Redesigned and implemented an improved ASL While() loop timeout 
   2301 mechanism. This mechanism is used to prevent infinite loops in the kernel 
   2302 AML interpreter caused by either non-responsive hardware or incorrect AML 
   2303 code. The new implementation uses AcpiOsGetTimer instead of a simple 
   2304 maximum loop count, and is thus more accurate and constant across 
   2305 different machines. The default timeout is currently 30 seconds, but this 
   2306 may be adjusted later.
   2307 
   2308 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to 
   2309 better reflect the new implementation of the loop timeout mechanism.
   2310 
   2311 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support 
   2312 and to fix an off-by-one error. Jung-uk Kim.
   2313 
   2314 Fixed an EFI build problem by updating the makefiles to for a new file 
   2315 that was added, utstrsuppt.c
   2316 
   2317 
   2318 2) iASL Compiler/Disassembler and Tools:
   2319 
   2320 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This 
   2321 includes support in the table disassembler, compiler, and template 
   2322 generator.
   2323 
   2324 iASL: Added an exception for an illegal type of recursive method 
   2325 invocation. If a method creates named objects, the first recursive call 
   2326 will fail at runtime. This change adds an error detection at compile time 
   2327 to catch the problem up front. Note: Marking such a method as 
   2328 "serialized" will not help with this problem, because the same thread can 
   2329 acquire the method mutex more than once. Example compiler and runtime 
   2330 output:
   2331 
   2332     Method (MTH1)
   2333     {
   2334         Name (INT1, 1)
   2335         MTH1 ()
   2336     }
   2337 
   2338     dsdt.asl     22: MTH1 ()
   2339     Error    6152 -  ^ Illegal recursive call to method
   2340                        that creates named objects (MTH1)
   2341 
   2342 Previous runtime exception:
   2343     ACPI Error: [INT1] Namespace lookup failure,
   2344     AE_ALREADY_EXISTS (20170831/dswload2-465)
   2345 
   2346 iASL: Updated support for External() opcodes to improve namespace 
   2347 management and error detection. These changes are related to issues seen 
   2348 with multiple-segment namespace pathnames within External declarations, 
   2349 such as below:
   2350 
   2351     External(\_SB.PCI0.GFX0, DeviceObj)
   2352     External(\_SB.PCI0.GFX0.ALSI)
   2353 
   2354 iASL: Implemented support for multi-line error/warning messages. This 
   2355 enables more detailed and helpful error messages as below, from the 
   2356 initial deployment for the duplicate names error:
   2357 
   2358     DSDT.iiii   1692:       Device(PEG2) {
   2359     Error    6074 -                  ^ Name already exists in scope 
   2360 (PEG2)
   2361 
   2362         Original name creation/declaration below:
   2363         DSDT.iiii     93:   External(\_SB.PCI0.PEG2, DeviceObj)
   2364 
   2365 AcpiXtract: Added additional flexibility to support differing input hex 
   2366 dump formats. Specifically, hex dumps that contain partial disassembly 
   2367 and/or comments within the ACPI table data definition. There exist some 
   2368 dump utilities seen in the field that create this type of hex dump (such 
   2369 as Simics). For example:
   2370 
   2371     DSDT @ 0xdfffd0c0 (10999 bytes)
   2372         Signature DSDT
   2373         Length 10999
   2374         Revision 1
   2375         Checksum 0xf3 (Ok)
   2376         OEM_ID BXPC
   2377         OEM_table_id BXDSDT
   2378         OEM_revision 1
   2379         Creator_id 1280593481
   2380         Creator_revision 537399345
   2381       0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
   2382       ...
   2383       2af0: 5f 4c 30 46 00 a4 01
   2384 
   2385 Test suite: Miscellaneous changes/fixes:
   2386     More cleanup and simplification of makefiles
   2387     Continue compilation of test cases after a compile failure
   2388     Do not perform binary compare unless both files actually exist
   2389 
   2390 iASL: Performed some code/module restructuring. Moved all memory 
   2391 allocation functions to new modules. Two new files, aslallocate.c and 
   2392 aslcache.c
   2393 
   2394 ----------------------------------------
   2395 31 August 2017. Summary of changes for version 20170831:
   2396 
   2397 
   2398 1) ACPICA kernel-resident subsystem:
   2399 
   2400 Implemented internal support for full 64-bit addresses that appear in all 
   2401 Generic Address Structure (GAS) structures. Previously, only the lower 32 
   2402 bits were used. Affects the use of GAS structures in the FADT and other 
   2403 tables, as well as the GAS structures passed to the AcpiRead and 
   2404 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
   2405 
   2406 Added header support for the PDTT ACPI table (Processor Debug Trigger 
   2407 Table). Full support in the iASL Data Table Compiler and disassembler is 
   2408 forthcoming.
   2409 
   2410 
   2411 2) iASL Compiler/Disassembler and Tools:
   2412 
   2413 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
   2414 Properties Topology Table) where a flag bit was specified in the wrong 
   2415 bit position ("Line Size Valid", bit 6).
   2416 
   2417 iASL: Implemented support for Octal integer constants as defined by the 
   2418 ASL language grammar, per the ACPI specification. Any integer constant 
   2419 that starts with a zero is an octal constant. For example,
   2420     Store (037777, Local0) /* Octal constant */
   2421     Store (0x3FFF, Local0) /* Hex equivalent */
   2422     Store (16383,  Local0) /* Decimal equivalent */
   2423 
   2424 iASL: Improved overflow detection for 64-bit string conversions during 
   2425 compilation of integer constants. "Overflow" in this case means a string 
   2426 that represents an integer that is too large to fit into a 64-bit value. 
   2427 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
   2428 the low-order 32 bits with a warning, as previously implemented. Several 
   2429 new exceptions are defined that indicate a 64-bit overflow, as well as 
   2430 the base (radix) that was used during the attempted conversion. Examples:
   2431     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
   2432     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
   2433     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
   2434 
   2435 iASL: Added a warning for the case where a ResourceTemplate is declared 
   2436 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
   2437 this case, the resulting template is created with a single END_TAG 
   2438 descriptor, which is essentially useless.
   2439 
   2440 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
   2441 include compilation error codes as well.
   2442 
   2443 ----------------------------------------
   2444 28 July 2017. Summary of changes for version 20170728:
   2445 
   2446 
   2447 1) ACPICA kernel-resident subsystem:
   2448 
   2449 Fixed a regression seen with small resource descriptors that could cause 
   2450 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
   2451 
   2452 AML interpreter: Implemented a new feature that allows forward references 
   2453 from individual named references within package objects that are 
   2454 contained within blocks of "module-level code". This provides 
   2455 compatibility with other ACPI implementations and supports existing 
   2456 firmware that depends on this feature. Example:
   2457 
   2458     Name (ABCD, 1)
   2459     If (ABCD)                       /* An If() at module-level */
   2460     {
   2461         Name (PKG1, Package()
   2462         {
   2463             INT1                    /* Forward reference to object INT1 
   2464 */
   2465         })
   2466         Name (INT1, 0x1234)
   2467     }
   2468 
   2469 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
   2470 to some ASL objects were not handled properly. Objects affected are: 
   2471 Mutex, Event, and OperationRegion.
   2472 
   2473 AML Debugger: Enhanced to properly handle AML Alias objects. These 
   2474 objects have one level of indirection which was not fully supported by 
   2475 the debugger.
   2476 
   2477 Table Manager: Added support to detect and ignore duplicate SSDTs within 
   2478 the XSDT/RSDT. This error in the XSDT has been seen in the field.
   2479 
   2480 EFI and EDK2 support:
   2481     Enabled /WX flag for MSVC builds
   2482     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
   2483     Added local support for 64-bit multiply and shift operations
   2484     Added support to compile acpidump.efi on Windows
   2485     Added OSL function stubs for interfaces not used under EFI
   2486 
   2487 Added additional support for the _DMA predefined name. _DMA returns a 
   2488 buffer containing a resource template. This change add support within the 
   2489 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
   2490 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi (a] arm.com>
   2491 
   2492 
   2493 2) iASL Compiler/Disassembler and Tools:
   2494 
   2495 iASL: Fixed a problem where the internal input line buffer(s) could 
   2496 overflow if there are very long lines in the input ASL source code file. 
   2497 Implemented buffer management that automatically increases the size of 
   2498 the buffers as necessary.
   2499 
   2500 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
   2501 errors. If the specified exception is not raised during compilation, the 
   2502 compiler emits an error. This is intended to support the ASL test suite, 
   2503 but may be useful in other contexts.
   2504 
   2505 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
   2506 string containing the name of the current control method that is being 
   2507 compiled.
   2508 
   2509 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
   2510 table (Software Delegated Exception Interface). James Morse 
   2511 <james.morse (a] arm.com>
   2512 
   2513 Unix/Linux makefiles: Added an option to disable compile optimizations. 
   2514 The disable occurs when the NOOPT flag is set to TRUE. 
   2515 theracermaster (a] gmail.com
   2516 
   2517 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
   2518 when there are different tables for 32-bit versus 64-bit.
   2519 
   2520 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
   2521 unnecessary/verbose text, and emit the actual line number where an error 
   2522 has occurred. These changes are intended to improve the usefulness of the 
   2523 test suite.
   2524 
   2525 ----------------------------------------
   2526 29 June 2017. Summary of changes for version 20170629:
   2527 
   2528 
   2529 1) ACPICA kernel-resident subsystem:
   2530 
   2531 Tables: Implemented a deferred ACPI table verification. This is useful 
   2532 for operating systems where the tables cannot be verified in the early 
   2533 initialization stage due to early memory mapping limitations on some 
   2534 architectures. Lv Zheng.
   2535 
   2536 Tables: Removed the signature validation for dynamically loaded tables. 
   2537 Provides compatibility with other ACPI implementations. Previously, only 
   2538 SSDT tables were allowed, as per the ACPI specification. Now, any table 
   2539 signature can be used via the Load() operator. Lv Zheng.
   2540 
   2541 Tables: Fixed several mutex issues that could cause errors during table 
   2542 acquisition. Lv Zheng.
   2543 
   2544 Tables: Fixed a problem where an ACPI warning could be generated if a 
   2545 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
   2546 
   2547 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
   2548 AcpiPutTable interfaces. This applies to the "late stage" table loading 
   2549 when the use of AcpiPutTable is no longer required (since the system 
   2550 memory manager is fully running and available). Lv Zheng.
   2551 
   2552 Fixed/Reverted a regression during processing of resource descriptors 
   2553 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
   2554 exception in this case.
   2555 
   2556 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
   2557 I/O Remapping specification. Robin Murphy <robin.murphy (a] arm.com>
   2558 
   2559 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
   2560 or duplicate target is encountered during Alias creation in 
   2561 AcpiExCreateAlias. Alex James <theracermaster (a] gmail.com>
   2562 
   2563 Added an option to use designated initializers for function pointers. 
   2564 Kees Cook <keescook (a] google.com>
   2565 
   2566 
   2567 2) iASL Compiler/Disassembler and Tools:
   2568 
   2569 iASL: Allow compilation of External declarations with target pathnames 
   2570 that refer to existing named objects within the table. Erik Schmauss.
   2571 
   2572 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
   2573 FieldUnit name also is declared via External in the same table. Erik 
   2574 Schmauss.
   2575 
   2576 iASL: Allow existing scope names within pathnames used in External 
   2577 statements. For example:
   2578     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
   2579     Device (ABCD)
   2580 
   2581 iASL: IORT ACPI table: Implemented changes required to decode the new 
   2582 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
   2583 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni (a] cavium.com>
   2584 
   2585 Disassembler: Don't abort disassembly on errors from External() 
   2586 statements. Erik Schmauss.
   2587 
   2588 Disassembler: fixed a possible fault when one of the Create*Field 
   2589 operators references a Resource Template. ACPICA Bugzilla 1396.
   2590 
   2591 iASL: In the source code, resolved some naming inconsistences across the 
   2592 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
   2593 Adds a new file, aslparseop.c
   2594 
   2595 ----------------------------------------
   2596 31 May 2017. Summary of changes for version 20170531:
   2597 
   2598 
   2599 0) ACPI 6.2 support:
   2600 
   2601 The ACPI specification version 6.2 has been released and is available at
   2602 http://uefi.org/specifications
   2603 
   2604 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
   2605 are summarized below.
   2606 
   2607 New ACPI tables (Table Compiler/Disassembler/Templates):
   2608     HMAT (Heterogeneous Memory Attributes Table)
   2609     WSMT (Windows SMM Security Mitigation Table)
   2610     PPTT (Processor Properties Topology Table)
   2611 
   2612 New subtables for existing ACPI tables:
   2613     HEST (New subtable, Arch-deferred machine check)
   2614     SRAT (New subtable, Arch-specific affinity structure)
   2615     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
   2616 
   2617 Simple updates for existing ACPI tables:
   2618     BGRT (two new flag bits)
   2619     HEST (New bit defined for several subtables, GHES_ASSIST)
   2620 
   2621 New Resource Descriptors and Resource macros (Compiler/Disassembler):
   2622     PinConfig()
   2623     PinFunction()
   2624     PinGroup()
   2625     PinGroupConfig()
   2626     PinGroupFunction()
   2627     New type for hardware error notification (section 18.3.2.9)
   2628 
   2629 New predefined names/methods (Compiler/Interpreter):
   2630     _HMA (Heterogeneous Memory Attributes)
   2631     _LSI (Label Storage Information)
   2632     _LSR (Label Storage Read)
   2633     _LSW (Label Storage Write)
   2634 
   2635 ASL grammar/macro changes (Compiler):
   2636     For() ASL macro, implemented with the AML while operator
   2637     Extensions to Concatenate operator
   2638     Support for multiple definition blocks in same ASL file
   2639     Clarification for Buffer operator
   2640     Allow executable AML code underneath all scopes (Devices, etc.)
   2641     Clarification/change for the _OSI return value
   2642     ASL grammar update for reference operators
   2643     Allow a zero-length string for AML filename in DefinitionBlock
   2644 
   2645 Miscellaneous:
   2646     New device object notification value
   2647     Remove a notify value (0x0C) for graceful shutdown
   2648     New UUIDs for processor/cache properties and
   2649         physical package property
   2650     New _HID, ACPI0014 (Wireless Power Calibration Device)
   2651 
   2652 
   2653 1) ACPICA kernel-resident subsystem:
   2654 
   2655 Added support to disable ACPI events on hardware-reduced platforms. 
   2656 Eliminates error messages of the form "Could not enable fixed event". Lv 
   2657 Zheng
   2658 
   2659 Fixed a problem using Device/Thermal objects with the ObjectType and 
   2660 DerefOf ASL operators. This support had not been fully/properly 
   2661 implemented.
   2662 
   2663 Fixed a problem where if a Buffer object containing a resource template 
   2664 was longer than the actual resource template, an error was generated -- 
   2665 even though the AML is legal. This case has been seen in the field.
   2666 
   2667 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
   2668 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
   2669 
   2670 Added header file changes for the TPM2 ACPI table. Update to new version 
   2671 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
   2672 
   2673 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
   2674 These interfaces are intended to be used only in conjunction with the 
   2675 predefined _DLM method (Device Lock Method). "This object appears in a 
   2676 device scope when AML access to the device must be synchronized with the 
   2677 OS environment".
   2678 
   2679 Example Code and Data Size: These are the sizes for the OS-independent 
   2680 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2681 debug version of the code includes the debug output trace mechanism and 
   2682 has a much larger code and data size.
   2683 
   2684   Current Release:
   2685     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
   2686     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
   2687   Previous Release:
   2688     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   2689     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   2690 
   2691 
   2692 2) iASL Compiler/Disassembler and Tools:
   2693 
   2694 iASL: Fixed a problem where an External() declaration could not refer to 
   2695 a Field Unit. Erik Schmauss.
   2696 
   2697 Disassembler: Improved support for the Switch/Case operators. This 
   2698 feature will disassemble AML code back to the original Switch operators 
   2699 when possible, instead of an If..Else sequence. David Box
   2700 
   2701 iASL and disassembler: Improved the handling of multiple extraneous 
   2702 parentheses for both ASL input and disassembled ASL output.
   2703 
   2704 Improved the behavior of the iASL compiler and disassembler to detect 
   2705 improper use of external declarations
   2706 
   2707 Disassembler: Now aborts immediately upon detection of an unknown AML 
   2708 opcode. The AML parser has no real way to recover from this, and can 
   2709 result in the creation of an ill-formed parse tree that causes errors 
   2710 later during the disassembly.
   2711 
   2712 All tools: Fixed a problem where the Unix application OSL did not handle 
   2713 control-c correctly. For example, a control-c could incorrectly wake the 
   2714 debugger.
   2715 
   2716 AcpiExec: Improved the Control-C handling and added a handler for 
   2717 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
   2718 environments.
   2719 
   2720 Reduced the verbosity of the generic unix makefiles. Previously, each 
   2721 compilation displayed the full set of compiler options. This has been 
   2722 eliminated as the options are easily inspected within the makefiles. Each 
   2723 compilation now results in a single line of output.
   2724 
   2725 ----------------------------------------
   2726 03 March 2017. Summary of changes for version 20170303:
   2727 
   2728 
   2729 0) ACPICA licensing:
   2730 
   2731 The licensing information at the start of each source code module has 
   2732 been updated. In addition to the Intel license, the dual GPLv2/BSD 
   2733 license has been added for completeness. Now, a single version of the 
   2734 source code should be suitable for all ACPICA customers. This is the 
   2735 major change for this release since it affects all source code modules.
   2736 
   2737 
   2738 1) ACPICA kernel-resident subsystem: 
   2739 
   2740 Fixed two issues with the common asltypes.h header that could cause 
   2741 problems in some environments: (Kim Jung-uk)
   2742     Removed typedef for YY_BUFFER_STATE ?
   2743        Fixes an error with earlier versions of Flex.
   2744     Removed use of FILE typedef (which is only defined in stdio.h)
   2745 
   2746 
   2747 2) iASL Compiler/Disassembler and Tools: 
   2748 
   2749 Disassembler: fixed a regression introduced in 20170224. A fix for a 
   2750 memory leak related to resource descriptor tags (names) could fault when 
   2751 the disassembler was generated with 64-bit compilers.
   2752 
   2753 The ASLTS test suite has been updated to implement a new testing 
   2754 architecture. During generation of the suite from ASL source, both the 
   2755 ASL and ASL+ compilers are now validated, as well as the disassembler 
   2756 itself (Erik Schmauss). The architecture executes as follows:
   2757 
   2758     For every ASL source module:
   2759         Compile (legacy ASL compilation)
   2760         Disassemble the resulting AML to ASL+ source code
   2761         Compile the new ASL+ module
   2762         Perform a binary compare on the legacy AML and the new ASL+ AML
   2763     The ASLTS suite then executes normally using the AML binaries.
   2764 
   2765 ----------------------------------------
   2766 24 February 2017. Summary of changes for version 20170224:
   2767 
   2768 
   2769 1) ACPICA kernel-resident subsystem:
   2770 
   2771 Interpreter: Fixed two issues with the control method return value auto-
   2772 repair feature, where an attempt to double-delete an internal object 
   2773 could result in an ACPICA warning (for _CID repair and others). No fault 
   2774 occurs, however, because the attempted deletion (actually a release to an 
   2775 internal cache) is detected and ignored via object poisoning.
   2776 
   2777 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
   2778 of control methods. If certain debugger commands are executed during 
   2779 stepping, a mutex acquire/release error could occur. Lv Zheng.
   2780 
   2781 Fixed some issues generating ACPICA with the Intel C compiler by 
   2782 restoring the original behavior and compiler-specific include file in 
   2783 acenv.h. Lv Zheng.
   2784 
   2785 Example Code and Data Size: These are the sizes for the OS-independent 
   2786 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2787 debug version of the code includes the debug output trace mechanism and 
   2788 has a much larger code and data size.
   2789 
   2790   Current Release:
   2791     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
   2792     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
   2793   Previous Release:
   2794     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   2795     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   2796 
   2797 
   2798 2) iASL Compiler/Disassembler and Tools:
   2799 
   2800 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
   2801 tool has been designed, implemented, and included in this release. The 
   2802 key feature of this utility is that the original comments within the 
   2803 input ASL file are preserved during the conversion process, and included 
   2804 within the converted ASL+ file -- thus creating a transparent conversion 
   2805 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
   2806 
   2807     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
   2808 converted code
   2809 
   2810 iASL/Disassembler: Improved the detection and correct disassembly of 
   2811 Switch/Case operators. This feature detects sequences of if/elseif/else 
   2812 operators that originated from ASL Switch/Case/Default operators and 
   2813 emits the original operators. David Box.
   2814 
   2815 iASL: Improved the IORT ACPI table support in the following areas. Lv 
   2816 Zheng:
   2817     Clear MappingOffset if the MappingCount is zero.
   2818     Fix the disassembly of the SMMU GSU interrupt offset.
   2819     Update the template file for the IORT table.
   2820 
   2821 Disassembler: Enhanced the detection and disassembly of resource 
   2822 template/descriptor within a Buffer object. An EndTag descriptor is now 
   2823 required to have a zero second byte, since all known ASL compilers emit 
   2824 this. This helps eliminate incorrect decisions when a buffer is 
   2825 disassembled (false positives on resource templates).
   2826 
   2827 ----------------------------------------
   2828 19 January 2017. Summary of changes for version 20170119:
   2829 
   2830 
   2831 1) General ACPICA software:
   2832 
   2833 Entire source code base: Added the 2017 copyright to all source code 
   2834 legal/licensing module headers and utility/tool signons. This includes 
   2835 the standard Linux dual-license header. This affects virtually every file 
   2836 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
   2837 the ACPICA test suite.
   2838 
   2839 
   2840 2) iASL Compiler/Disassembler and Tools:
   2841 
   2842 iASL: Removed/fixed an inadvertent remark when a method argument 
   2843 containing a reference is used as a target operand within the method (and 
   2844 never used as a simple argument), as in the example below. Jeffrey Hugo.
   2845 
   2846     dsdt.asl   1507:    Store(0x1, Arg0)
   2847     Remark   2146 -                ^ Method Argument is never used (Arg0)
   2848 
   2849 All tools: Removed the bit width of the compiler that generated the tool 
   2850 from the common signon for all user space tools. This proved to be 
   2851 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
   2852 from the generic makefiles (Thomas Petazzoni). Example below.
   2853 
   2854     Old:
   2855     ASL+ Optimizing Compiler version 20170119-32
   2856     ASL+ Optimizing Compiler version 20170119-64
   2857 
   2858     New:
   2859     ASL+ Optimizing Compiler version 20170119
   2860 
   2861 ----------------------------------------
   2862 22 December 2016. Summary of changes for version 20161222:
   2863 
   2864 
   2865 1) ACPICA kernel-resident subsystem:
   2866 
   2867 AML Debugger: Implemented a new mechanism to simplify and enhance 
   2868 debugger integration into all environments, including kernel debuggers 
   2869 and user-space utilities, as well as remote debug services. This 
   2870 mechanism essentially consists of new OSL interfaces to support debugger 
   2871 initialization/termination, as well as wait/notify interfaces to perform 
   2872 the debugger handshake with the host. Lv Zheng.
   2873 
   2874     New OSL interfaces:
   2875         AcpiOsInitializeDebugger (void)
   2876         AcpiOsTerminateDebugger (void)
   2877         AcpiOsWaitCommandReady (void)
   2878         AcpiOsNotifyCommandComplete (void)
   2879 
   2880     New OS services layer:
   2881         osgendbg.c -- Example implementation, and used for AcpiExec
   2882 
   2883 Update for Generic Address Space (GAS) support: Although the AccessWidth 
   2884 and/or BitOffset fields of the GAS are not often used, this change now 
   2885 fully supports these fields. This affects the internal support for FADT 
   2886 registers, registers in other ACPI data tables, and the AcpiRead and 
   2887 AcpiWrite public interfaces. Lv Zheng.
   2888 
   2889 Sleep support: In order to simplify integration of ACPI sleep for the 
   2890 various host operating systems, a new OSL interface has been introduced. 
   2891 AcpiOsEnterSleep allows the host to perform any required operations 
   2892 before the final write to the sleep control register(s) is performed by 
   2893 ACPICA. Lv Zheng.
   2894 
   2895     New OSL interface:
   2896         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
   2897 
   2898     Called from these internal interfaces:
   2899         AcpiHwLegacySleep
   2900         AcpiHwExtendedSleep
   2901 
   2902 EFI support: Added a very small EFI/ACPICA example application. Provides 
   2903 a simple demo for EFI integration, as well as assisting with resolution 
   2904 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
   2905 
   2906     source/tools/efihello/efihello.c
   2907 
   2908 Local C library: Implemented several new functions to enhance ACPICA 
   2909 portability, for environments where these clib functions are not 
   2910 available (such as EFI). Lv Zheng:
   2911     putchar
   2912     getchar
   2913     strpbrk
   2914     strtok
   2915     memmove
   2916 
   2917 Fixed a regression where occasionally a valid resource descriptor was 
   2918 incorrectly detected as invalid at runtime, and a 
   2919 AE_AML_NO_RESOURCE_END_TAG was returned.
   2920 
   2921 Fixed a problem with the recently implemented support that enables 
   2922 control method invocations as Target operands to many ASL operators. 
   2923 Warnings of this form: "Needed type [Reference], found [Processor]" were 
   2924 seen at runtime for some method invocations.
   2925 
   2926 Example Code and Data Size: These are the sizes for the OS-independent 
   2927 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2928 debug version of the code includes the debug output trace mechanism and 
   2929 has a much larger code and data size.
   2930 
   2931   Current Release:
   2932     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
   2933     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
   2934   Previous Release:
   2935     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
   2936     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   2937 
   2938 
   2939 2) iASL Compiler/Disassembler and Tools:
   2940 
   2941 Disassembler: Enhanced output by adding the capability to detect and 
   2942 disassemble ASL Switch/Case statements back to the original ASL source 
   2943 code instead of if/else blocks. David Box.
   2944 
   2945 AcpiHelp: Split a large file into separate files based upon 
   2946 functionality/purpose. New files are:
   2947     ahaml.c
   2948     ahasl.c
   2949 
   2950 ----------------------------------------
   2951 17 November 2016. Summary of changes for version 20161117:
   2952 
   2953 
   2954 1) ACPICA kernel-resident subsystem:
   2955 
   2956 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
   2957 cleanup". This was an attempt to remove all references in the source to 
   2958 the FADT version 2, which never was a legal version number. It was 
   2959 skipped because it was an early version of 64-bit support that was 
   2960 eventually abandoned for the current 64-bit support.
   2961 
   2962 Interpreter: Fixed a problem where runtime implicit conversion was 
   2963 incorrectly disabled for the ASL operators below. This brings the 
   2964 behavior into compliance with the ACPI specification:
   2965     FromBCD
   2966     ToBCD
   2967     ToDecimalString
   2968     ToHexString
   2969     ToInteger
   2970     ToBuffer
   2971 
   2972 Table Manager: Added a new public interface, AcpiPutTable, used to 
   2973 release and free an ACPI table returned by AcpiGetTable and related 
   2974 interfaces. Lv Zheng.
   2975 
   2976 Example Code and Data Size: These are the sizes for the OS-independent 
   2977 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   2978 debug version of the code includes the debug output trace mechanism and 
   2979 has a much larger code and data size.
   2980 
   2981   Current Release:
   2982     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
   2983     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
   2984   Previous Release:
   2985     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   2986     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   2987 
   2988 
   2989 2) iASL Compiler/Disassembler and Tools:
   2990 
   2991 Disassembler: Fixed a regression for disassembly of Resource Template. 
   2992 Detection of templates in the AML stream missed some types of templates.
   2993 
   2994 iASL: Fixed a problem where an Access Size error was returned for the PCC 
   2995 address space when the AccessSize of the GAS register is greater than a 
   2996 DWORD. Hoan Tran.
   2997 
   2998 iASL: Implemented several grammar changes for the operators below. These 
   2999 changes are slated for the next version of the ACPI specification:
   3000     RefOf        - Disallow method invocation as an operand
   3001     CondRefOf    - Disallow method invocation as an operand
   3002     DerefOf      - Disallow operands that use the result from operators 
   3003 that
   3004                    do not return a reference (Changed TermArg to 
   3005 SuperName).
   3006 
   3007 iASL: Control method invocations are now allowed for Target operands, as 
   3008 per the ACPI specification. Removed error for using a control method 
   3009 invocation as a Target operand.
   3010 
   3011 Disassembler: Improved detection of Resource Templates, Unicode, and 
   3012 Strings within Buffer objects. These subtypes do not contain a specific 
   3013 opcode to indicate the originating ASL code, and they must be detected by 
   3014 other means within the disassembler. 
   3015 
   3016 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
   3017 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
   3018 only after 64-bit to 32-bit truncation. A truncation warning message is 
   3019 still emitted, however.
   3020 
   3021 AcpiXtract: Implemented handling for both types of line terminators (LF 
   3022 or CR/LF) so that it can accept AcpiDump output files from any system. 
   3023 Peter Wu.
   3024 
   3025 AcpiBin: Added two new options for comparing AML files:
   3026     -a: compare and display ALL mismatches
   3027     -o: start compare at this offset into the second file
   3028 
   3029 ----------------------------------------
   3030 30 September 2016. Summary of changes for version 20160930:
   3031 
   3032 
   3033 1) ACPICA kernel-resident subsystem:
   3034 
   3035 Fixed a regression in the internal AcpiTbFindTable function where a non 
   3036 AE_OK exception could inadvertently be returned even if the function did 
   3037 not fail. This problem affects the following operators:
   3038     DataTableRegion
   3039     LoadTable
   3040 
   3041 Fixed a regression in the LoadTable operator where a load to any 
   3042 namespace location other than the root no longer worked properly.
   3043 
   3044 Increased the maximum loop count value that will result in the 
   3045 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
   3046 prevent infinite loops within the AML interpreter and thus the host OS 
   3047 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
   3048 1,048,575).
   3049 
   3050 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
   3051 acpixf.h file. This allows hosts to easily configure the maximum loop 
   3052 count at runtime.
   3053 
   3054 Removed an illegal character in the strtoul64.c file. This character 
   3055 caused errors with some C compilers.
   3056 
   3057 Example Code and Data Size: These are the sizes for the OS-independent 
   3058 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3059 debug version of the code includes the debug output trace mechanism and 
   3060 has a much larger code and data size.
   3061 
   3062   Current Release:
   3063     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
   3064     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
   3065   Previous Release:
   3066     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
   3067     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   3068 
   3069 
   3070 2) iASL Compiler/Disassembler and Tools:
   3071 
   3072 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
   3073 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
   3074 block could be lost and missing from the disassembled output.
   3075 
   3076 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
   3077 the missing rule caused a parse error when using the Index operator as an 
   3078 operand to ObjectType. This construct now compiles properly. Example:
   3079     ObjectType(PKG1[4]).
   3080 
   3081 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
   3082 option). Previously, unresolved symbols could cause a protection fault. 
   3083 Such symbols are now marked as unresolved in the map file.
   3084 
   3085 iASL: Implemented support to allow control method invocations as an 
   3086 operand to the ASL DeRefOf operator. Example:
   3087     DeRefOf(MTH1(Local0))
   3088 
   3089 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
   3090 possible _PLD buffer now includes examination of both the normal buffer 
   3091 length (16 or 20) as well as the surrounding AML package length.
   3092 
   3093 Disassembler: Fixed a problem with the decoding of complex expressions 
   3094 within the Divide operator for ASL+. For the case where both the quotient 
   3095 and remainder targets are specified, the entire statement cannot be 
   3096 disassembled. Previously, the output incorrectly contained a mix of ASL- 
   3097 and ASL+ operators. This mixed statement causes a syntax error when 
   3098 compiled. Example:
   3099     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
   3100 disassembled to:
   3101     Divide (INT1 + 6, 128, RSLT, QUOT)
   3102 
   3103 iASL/Tools: Added support to process AML and non-AML ACPI tables 
   3104 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
   3105 tables (AML and data tables). For the iASL -e option, allow only AML 
   3106 tables (DSDT/SSDT).
   3107 
   3108 ----------------------------------------
   3109 31 August 2016. Summary of changes for version 20160831:
   3110 
   3111 
   3112 1) ACPICA kernel-resident subsystem:
   3113 
   3114 Improve support for the so-called "module-level code", which is defined 
   3115 to be math, logical and control AML opcodes that appear outside of any 
   3116 control method. This change improves the support by adding more opcodes 
   3117 that can be executed in the manner. Some other issues have been solved, 
   3118 and the ASL grammar changes to support such code under all scope 
   3119 operators (Device, etc.) are complete. Lv Zheng.
   3120 
   3121 UEFI support: these OSL functions have been implemented. This is an 
   3122 additional step toward supporting the AcpiExec utility natively (with 
   3123 full hardware access) under UEFI. Marcelo Ferreira.
   3124     AcpiOsReadPciConfiguration
   3125     AcpiOsWritePciConfiguration
   3126 
   3127 Fixed a possible mutex error during control method auto-serialization. Lv 
   3128 Zheng. 
   3129 
   3130 Updated support for the Generic Address Structure by fully implementing 
   3131 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
   3132 Zheng.
   3133 
   3134 Updated the return value for the internal _OSI method. Instead of 
   3135 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
   3136 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
   3137 implementations, and will be reflected and clarified in the next version 
   3138 of the ACPI specification.
   3139 
   3140 Implemented two new table events that can be passed to an ACPICA table 
   3141 handler. These events are used to indicate a table installation or 
   3142 uninstallation. These events are used in addition to existed table load 
   3143 and unload events. Lv Zheng.
   3144 
   3145 Implemented a cleanup for all internal string-to-integer conversions. 
   3146 Consolidate multiple versions of this functionality and limit possible 
   3147 bases to either 10 or 16 to simplify the code. Adds a new file, 
   3148 utstrtoul64.
   3149 
   3150 Cleanup the inclusion order of the various compiler-specific headers. 
   3151 This simplifies build configuration management. The compiler-specific 
   3152 headers are now split out from the host-specific headers. Lv Zheng.
   3153 
   3154 Example Code and Data Size: These are the sizes for the OS-independent 
   3155 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3156 debug version of the code includes the debug output trace mechanism and 
   3157 has a much larger code and data size.
   3158 
   3159   Current Release:
   3160     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
   3161     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
   3162 
   3163 
   3164 2) iASL Compiler/Disassembler and Tools:
   3165 
   3166 iASL/AcpiExec: Added a command line option to display the build date/time 
   3167 of the tool (-vd). This can be useful to verify that the correct version 
   3168 of the tools are being used.
   3169 
   3170 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
   3171 all predefined control methods and names within the current namespace. 
   3172 This can be useful for debugging problems with ACPI tables and the ACPI 
   3173 namespace.
   3174 
   3175 ----------------------------------------
   3176 29 July 2016. Summary of changes for version 20160729:
   3177 
   3178 
   3179 1) ACPICA kernel-resident subsystem:
   3180 
   3181 Implemented basic UEFI support for the various ACPICA tools. This 
   3182 includes:
   3183 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
   3184 2) Support to obtain the ACPI tables on UEFI.
   3185 3) Local implementation of required C library functions not available on 
   3186 UEFI.
   3187 4) A front-end (main) function for the tools for UEFI-related 
   3188 initialization.
   3189 
   3190 The initial deployment of this support is the AcpiDump utility executing 
   3191 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
   3192 Current environments supported are Linux/Unix. MSVC generation is not 
   3193 supported at this time. See the generate/efi/README file for build 
   3194 instructions. Lv Zheng.
   3195 
   3196 Future plans include porting the AcpiExec utility to execute natively on 
   3197 the platform with I/O and memory access. This will allow viewing/dump of 
   3198 the platform namespace and native execution of ACPI control methods that 
   3199 access the actual hardware. To fully implement this support, the OSL 
   3200 functions below must be implemented with UEFI interfaces. Any community 
   3201 help in the implementation of these functions would be appreciated:
   3202     AcpiOsReadPort
   3203     AcpiOsWritePort
   3204     AcpiOsReadMemory
   3205     AcpiOsWriteMemory
   3206     AcpiOsReadPciConfiguration
   3207     AcpiOsWritePciConfiguration
   3208 
   3209 Restructured and standardized the C library configuration for ACPICA, 
   3210 resulting in the various configuration options below. This includes a 
   3211 global restructuring of the compiler-dependent and platform-dependent 
   3212 include files. These changes may affect the existing platform-dependent 
   3213 configuration files on some hosts. Lv Zheng. 
   3214 
   3215 The current C library configuration options appear below. For any issues, 
   3216 it may be helpful to examine the existing compiler-dependent and 
   3217 platform-dependent files as examples. Lv Zheng. 
   3218 
   3219 1) Linux kernel:
   3220     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   3221 library.
   3222     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   3223 2) Unix/Windows/BSD applications:
   3224     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
   3225 library.
   3226     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
   3227 3) UEFI applications:
   3228     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
   3229 library.
   3230     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
   3231 4) UEFI applications (EDK2/StdLib):
   3232     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
   3233     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
   3234 
   3235 
   3236 AML interpreter: "module-level code" support. Allows for execution of so-
   3237 called "executable" AML code (math/logical operations, etc.) outside of 
   3238 control methods not just at the module level (top level) but also within 
   3239 any scope declared outside of a control method - Scope{}, Device{}, 
   3240 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
   3241 
   3242 Simplified the configuration of the "maximum AML loops" global option by 
   3243 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
   3244 modified at runtime.
   3245 
   3246 
   3247 Example Code and Data Size: These are the sizes for the OS-independent 
   3248 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3249 debug version of the code includes the debug output trace mechanism and 
   3250 has a much larger code and data size.
   3251 
   3252   Current Release:
   3253     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
   3254     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
   3255 
   3256 
   3257 2) iASL Compiler/Disassembler and Tools:
   3258 
   3259 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
   3260 Includes disassembler, data table compiler, and header support.
   3261 
   3262 iASL Expand "module-level code" support. Allows for 
   3263 compilation/disassembly of so-called "executable" AML code (math/logical 
   3264 operations, etc.) outside of control methods not just at the module level 
   3265 (top level) but also within any scope declared outside of a control 
   3266 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
   3267 ThermalZone{}.
   3268 
   3269 AcpiDump: Added support for dumping all SSDTs on newer versions of 
   3270 Windows. These tables are now easily available -- SSDTs are not available 
   3271 through the registry on older versions.
   3272 
   3273 ----------------------------------------
   3274 27 May 2016. Summary of changes for version 20160527:
   3275 
   3276 
   3277 1) ACPICA kernel-resident subsystem:
   3278 
   3279 Temporarily reverted the new arbitrary bit length/alignment support in 
   3280 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
   3281 a number of regressions with the new code that need to be fully resolved 
   3282 and tested before this support can be finally integrated into ACPICA. 
   3283 Apologies for any inconveniences these issues may have caused.
   3284 
   3285 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
   3286 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
   3287 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
   3288 
   3289 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
   3290 option. Adds a new return macro, return_STR. Junk-uk Kim.
   3291 
   3292 Example Code and Data Size: These are the sizes for the OS-independent 
   3293 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3294 debug version of the code includes the debug output trace mechanism and 
   3295 has a much larger code and data size.
   3296 
   3297   Current Release:
   3298     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
   3299     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   3300   Previous Release:
   3301     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   3302     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
   3303 
   3304 ----------------------------------------
   3305 22 April 2016. Summary of changes for version 20160422:
   3306 
   3307 1) ACPICA kernel-resident subsystem:
   3308 
   3309 Fixed a regression in the GAS (generic address structure) arbitrary bit 
   3310 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
   3311 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
   3312 
   3313 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
   3314 was added to each of these macros, and the original name has been 
   3315 deprecated. The AML disassembler will always disassemble to the new 
   3316 names. Support for the new macros was added to iASL, disassembler, 
   3317 resource manager, and the acpihelp utility. ACPICA BZ 1274.
   3318 
   3319     I2cSerialBus  -> I2cSerialBusV2
   3320     SpiSerialBus  -> SpiSerialBusV2
   3321     UartSerialBus -> UartSerialBusV2
   3322 
   3323 ACPI 6.0: Added support for a new integer field that was appended to the 
   3324 package object returned by the _BIX method. This adds iASL compile-time 
   3325 and AML runtime error checking. ACPICA BZ 1273.
   3326 
   3327 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
   3328 Subspace Type2" (Headers, Disassembler, and data table compiler).
   3329 
   3330 Example Code and Data Size: These are the sizes for the OS-independent 
   3331 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3332 debug version of the code includes the debug output trace mechanism and 
   3333 has a much larger code and data size.
   3334 
   3335   Current Release:
   3336     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
   3337     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
   3338   Previous Release:
   3339     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   3340     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   3341 
   3342 
   3343 2) iASL Compiler/Disassembler and Tools:
   3344 
   3345 iASL: Implemented an ASL grammar extension to allow/enable executable 
   3346 "module-level code" to be created and executed under the various 
   3347 operators that create new scopes. This type of AML code is already 
   3348 supported in all known AML interpreters, and the grammar change will 
   3349 appear in the next version of the ACPI specification. Simplifies the 
   3350 conditional runtime creation of named objects under these object types: 
   3351 
   3352     Device
   3353     PowerResource
   3354     Processor
   3355     Scope
   3356     ThermalZone
   3357 
   3358 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
   3359 ease-of-use to the ASL language. The syntax is similar to the 
   3360 corresponding C operator, and is implemented with the existing AML While 
   3361 opcode -- thus requiring no changes to existing AML interpreters.
   3362 
   3363     For (Initialize, Predicate, Update) {TermList}
   3364 
   3365 Grammar:
   3366     ForTerm :=
   3367         For (
   3368             Initializer    // Nothing | TermArg => ComputationalData
   3369             Predicate      // Nothing | TermArg => ComputationalData
   3370             Update         // Nothing | TermArg => ComputationalData
   3371         ) {TermList}
   3372 
   3373 
   3374 iASL: The _HID/_ADR detection and validation has been enhanced to search 
   3375 under conditionals in order to allow these objects to be conditionally 
   3376 created at runtime.
   3377 
   3378 iASL: Fixed several issues with the constant folding feature. The 
   3379 improvement allows better detection and resolution of statements that can 
   3380 be folded at compile time. ACPICA BZ 1266. 
   3381 
   3382 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
   3383 conversion to the ASL ElseIf operator where incorrect ASL code could be 
   3384 generated.
   3385 
   3386 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
   3387 sometimes an extra (and extraneous) set of parentheses were emitted for 
   3388 some combinations of operators. Although this did not cause any problems 
   3389 with recompilation of the disassembled code, it made the code more 
   3390 difficult to read. David Box. ACPICA BZ 1231.
   3391 
   3392 iASL: Changed to ignore the unreferenced detection for predefined names 
   3393 of resource descriptor elements, when the resource descriptor is 
   3394 created/defined within a control method.
   3395 
   3396 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
   3397 objects.
   3398 
   3399 ----------------------------------------
   3400 18 March 2016. Summary of changes for version 20160318:
   3401 
   3402 1) ACPICA kernel-resident subsystem:
   3403 
   3404 Added support for arbitrary bit lengths and bit offsets for registers 
   3405 defined by the Generic Address Structure. Previously, only aligned bit 
   3406 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
   3407 but recently some machines have been seen that require arbitrary bit-
   3408 level support. ACPICA BZ 1240. Lv Zheng.
   3409 
   3410 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
   3411 before any _REG methods are evaluated. Lv Zheng.
   3412 
   3413 Implemented several changes related to ACPI table support 
   3414 (Headers/Disassembler/TableCompiler):
   3415 NFIT: For ACPI 6.1, updated to add some additional new fields and 
   3416 constants.
   3417 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
   3418 6).
   3419 DMAR: Added new constants per the 10/2014 DMAR spec.
   3420 IORT: Added new subtable per the 10/2015 IORT spec.
   3421 HEST: For ACPI 6.1, added new constants and new subtable.
   3422 DBG2: Added new constants per the 12/2015 DBG2 spec.
   3423 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
   3424 ACPICA BZ 1249.
   3425 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
   3426 
   3427 Updated header support for the DMAR table to match the current version of 
   3428 the related spec.
   3429 
   3430 Added extensions to the ASL Concatenate operator to allow any ACPI object 
   3431 to be passed as an operand. Any object other than Integer/String/Buffer 
   3432 simply returns a string containing the object type. This extends the 
   3433 usefulness of the Printf macros. Previously, Concatenate would abort the 
   3434 control method if a non-data object was encountered.
   3435 
   3436 ACPICA source code: Deployed the C "const" keyword across the source code 
   3437 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
   3438 
   3439 Example Code and Data Size: These are the sizes for the OS-independent 
   3440 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3441 debug version of the code includes the debug output trace mechanism and 
   3442 has a much larger code and data size.
   3443 
   3444   Current Release:
   3445     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
   3446     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
   3447   Previous Release:
   3448     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   3449     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   3450 
   3451 
   3452 2) iASL Compiler/Disassembler and Tools:
   3453 
   3454 iASL/Disassembler: Improved the heuristic used to determine the number of 
   3455 arguments for an externally defined control method (a method in another 
   3456 table). Although this is an improvement, there is no deterministic way to 
   3457 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
   3458 will completely solve this problem as it is deployed (automatically) in 
   3459 newer BIOS code.
   3460 
   3461 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
   3462 statements that could cause errors when the disassembled file is 
   3463 compiled. ACPICA BZ 1243. David Box.
   3464 
   3465 iASL: Fixed a regression caused by the merger of the two versions of the 
   3466 local strtoul64. Because of a dependency on a global variable, strtoul64 
   3467 could return an error for integers greater than a 32-bit value. ACPICA BZ 
   3468 1260.
   3469 
   3470 iASL: Fixed a regression where a fault could occur for an ASL Return 
   3471 statement if it invokes a control method that is not resolved. ACPICA BZ 
   3472 1264.
   3473 
   3474 AcpiXtract: Improved input file validation: detection of binary files and 
   3475 non-acpidump text files.
   3476 
   3477 ----------------------------------------
   3478 12 February 2016. Summary of changes for version 20160212:
   3479 
   3480 1) ACPICA kernel-resident subsystem:
   3481 
   3482 Implemented full support for the ACPI 6.1 specification (released in 
   3483 January). This version of the specification is available at:  
   3484 http://www.uefi.org/specifications
   3485 
   3486 Only a relatively small number of changes were required in ACPICA to 
   3487 support ACPI 6.1, in these areas:
   3488 - New predefined names
   3489 - New _HID values
   3490 - A new subtable for HEST
   3491 - A few other header changes for new values
   3492 
   3493 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
   3494 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
   3495 
   3496 Reverted a change made in version 20151218 which enabled method 
   3497 invocations to be targets of various ASL operators (SuperName and Target 
   3498 grammar elements). While the new behavior is supported by the ACPI 
   3499 specification, other AML interpreters do not support this behavior and 
   3500 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
   3501 this support. Therefore, the change was reverted to the original ACPICA 
   3502 behavior.
   3503 
   3504 ACPICA now supports the GCC 6 compiler.
   3505 
   3506 Current Release: (Note: build changes increased sizes)
   3507     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
   3508     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
   3509 Previous Release:
   3510     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   3511     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
   3512 
   3513 
   3514 2) iASL Compiler/Disassembler and Tools:
   3515 
   3516 Completed full support for the ACPI 6.0 External() AML opcode. The 
   3517 compiler emits an external AML opcode for each ASL External statement. 
   3518 This opcode is used by the disassembler to assist with the disassembly of 
   3519 external control methods by specifying the required number of arguments 
   3520 for the method. AML interpreters do not use this opcode. To ensure that 
   3521 interpreters do not even see the opcode, a block of one or more external 
   3522 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
   3523 commonly deployed in BIOS code, the ability of disassemblers to correctly 
   3524 disassemble AML code will be greatly improved. David Box.
   3525 
   3526 iASL: Implemented support for an optional cross-reference output file. 
   3527 The -lx option will create a the cross-reference file with the suffix 
   3528 "xrf". Three different types of cross-reference are created in this file:
   3529 - List of object references made from within each control method
   3530 - Invocation (caller) list for each user-defined control method
   3531 - List of references to each non-method object in the namespace
   3532 
   3533 iASL: Method invocations as ASL Target operands are now disallowed and 
   3534 flagged as errors in preparation for ACPI 6.2 (see the description of the 
   3535 problem above).
   3536 
   3537 ----------------------------------------
   3538 8 January 2016. Summary of changes for version 20160108:
   3539 
   3540 1) ACPICA kernel-resident subsystem:
   3541 
   3542 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
   3543 copyright to all source code module headers and utility/tool signons. 
   3544 This includes the standard Linux dual-license header. This affects 
   3545 virtually every file in the ACPICA core subsystem, iASL compiler, all 
   3546 ACPICA utilities, and the ACPICA test suite.
   3547 
   3548 Fixed a regression introduced in version 20151218 concerning the 
   3549 execution of so-called module-level ASL/AML code. Namespace objects 
   3550 created under a module-level If() construct were not properly/fully 
   3551 entered into the namespace and could cause an interpreter fault when 
   3552 accessed.
   3553 
   3554 Example Code and Data Size: These are the sizes for the OS-independent 
   3555 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3556 debug version of the code includes the debug output trace mechanism and 
   3557 has a much larger code and data size.
   3558 
   3559 Current Release:
   3560     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
   3561     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
   3562   Previous Release:
   3563     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   3564     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   3565 
   3566 
   3567 2) iASL Compiler/Disassembler and Tools:
   3568 
   3569 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
   3570 descriptors. The _PIN field name was incorrectly defined to be an array 
   3571 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
   3572 would cause incorrect bit width warnings when using Word (16-bit) fields 
   3573 to access the descriptors.
   3574 
   3575 
   3576 ----------------------------------------
   3577 18 December 2015. Summary of changes for version 20151218:
   3578 
   3579 1) ACPICA kernel-resident subsystem:
   3580 
   3581 Implemented per-AML-table execution of "module-level code" as individual 
   3582 ACPI tables are loaded into the namespace during ACPICA initialization. 
   3583 In other words, any module-level code within an AML table is executed 
   3584 immediately after the table is loaded, instead of batched and executed 
   3585 after all of the tables have been loaded. This provides compatibility 
   3586 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
   3587 David Box.
   3588 
   3589 To fully support the feature above, the default operation region handlers 
   3590 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
   3591 installed before any ACPI tables are loaded. This enables module-level 
   3592 code to access these address spaces during the table load and module-
   3593 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
   3594 Box.
   3595 
   3596 Implemented several changes to the internal _REG support in conjunction 
   3597 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
   3598 utilities for the changes above. Although these tools were changed, host 
   3599 operating systems that simply use the default handlers for SystemMemory, 
   3600 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
   3601 
   3602 For example, in the code below, DEV1 is conditionally added to the 
   3603 namespace by the DSDT via module-level code that accesses an operation 
   3604 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
   3605 created immediately after the DSDT is loaded in order for the SSDT to 
   3606 successfully reference DEV1. Previously, this code would cause an 
   3607 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
   3608 fully supported by ACPICA.
   3609 
   3610     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
   3611     {
   3612         OperationRegion (OPR1, SystemMemory, 0x400, 32)
   3613         Field (OPR1, AnyAcc, NoLock, Preserve)
   3614         {
   3615             FLD1, 1
   3616         }
   3617         If (FLD1)
   3618         {
   3619             Device (\DEV1)
   3620             {
   3621             }
   3622         }
   3623     }
   3624     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
   3625     {
   3626         External (\DEV1, DeviceObj)
   3627         Scope (\DEV1)
   3628         {
   3629         }
   3630     }
   3631 
   3632 Fixed an AML interpreter problem where control method invocations were 
   3633 not handled correctly when the invocation was itself a SuperName argument 
   3634 to another ASL operator. In these cases, the method was not invoked. 
   3635 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
   3636 argument:
   3637     Store
   3638     Acquire, Wait
   3639     CondRefOf, RefOf
   3640     Decrement, Increment
   3641     Load, Unload
   3642     Notify
   3643     Signal, Release, Reset
   3644     SizeOf
   3645 
   3646 Implemented automatic String-to-ObjectReference conversion support for 
   3647 packages returned by predefined names (such as _DEP). A common BIOS error 
   3648 is to add double quotes around an ObjectReference namepath, which turns 
   3649 the reference into an unexpected string object. This support detects the 
   3650 problem and corrects it before the package is returned to the caller that 
   3651 invoked the method. Lv Zheng.
   3652 
   3653 Implemented extensions to the Concatenate operator. Concatenate now 
   3654 accepts any type of object, it is not restricted to simply 
   3655 Integer/String/Buffer. For objects other than these 3 basic data types, 
   3656 the argument is treated as a string containing the name of the object 
   3657 type. This expands the utility of Concatenate and the Printf/Fprintf 
   3658 macros. ACPICA BZ 1222.
   3659 
   3660 Cleaned up the output of the ASL Debug object. The timer() value is now 
   3661 optional and no longer emitted by default. Also, the basic data types of 
   3662 Integer/String/Buffer are simply emitted as their values, without a data 
   3663 type string -- since the data type is obvious from the output. ACPICA BZ 
   3664 1221.
   3665 
   3666 Example Code and Data Size: These are the sizes for the OS-independent 
   3667 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3668 debug version of the code includes the debug output trace mechanism and 
   3669 has a much larger code and data size.
   3670 
   3671   Current Release:
   3672     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
   3673     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
   3674   Previous Release:
   3675     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   3676     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   3677 
   3678 
   3679 2) iASL Compiler/Disassembler and Tools:
   3680 
   3681 iASL: Fixed some issues with the ASL Include() operator. This operator 
   3682 was incorrectly defined in the iASL parser rules, causing a new scope to 
   3683 be opened for the code within the include file. This could lead to 
   3684 several issues, including allowing ASL code that is technically illegal 
   3685 and not supported by AML interpreters. Note, this does not affect the 
   3686 related #include preprocessor operator. ACPICA BZ 1212.
   3687 
   3688 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
   3689 operator is essentially an ASL macro since there is no AML opcode 
   3690 associated with it. The code emitted by the iASL compiler for ElseIf is 
   3691 an Else opcode followed immediately by an If opcode. The disassembler 
   3692 will now emit an ElseIf if it finds an Else immediately followed by an 
   3693 If. This simplifies the decoded ASL, especially for deeply nested 
   3694 If..Else and large Switch constructs. Thus, the disassembled code more 
   3695 closely follows the original source ASL. ACPICA BZ 1211. Example:
   3696 
   3697     Old disassembly:
   3698         Else
   3699         {
   3700             If (Arg0 == 0x02)
   3701             {
   3702                 Local0 = 0x05
   3703             }
   3704         }
   3705 
   3706     New disassembly:
   3707         ElseIf (Arg0 == 0x02)
   3708         {
   3709             Local0 = 0x05
   3710         }
   3711 
   3712 AcpiExec: Added support for the new module level code behavior and the 
   3713 early region installation. This required a small change to the 
   3714 initialization, since AcpiExec must install its own operation region 
   3715 handlers.
   3716 
   3717 AcpiExec: Added support to make the debug object timer optional. Default 
   3718 is timer disabled. This cleans up the debug object output -- the timer 
   3719 data is rarely used.
   3720 
   3721 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
   3722 appear on the command line. This can be important when there are 
   3723 interdependencies/references between the tables.
   3724 
   3725 iASL/Templates. Add support to generate template files with multiple 
   3726 SSDTs within a single output file. Also added ommand line support to 
   3727 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
   3728 1223, 1225.
   3729 
   3730 
   3731 ----------------------------------------
   3732 24 November 2015. Summary of changes for version 20151124:
   3733 
   3734 1) ACPICA kernel-resident subsystem:
   3735 
   3736 Fixed a possible regression for a previous update to FADT handling. The 
   3737 FADT no longer has a fixed table ID, causing some issues with code that 
   3738 was hardwired to a specific ID. Lv Zheng.
   3739 
   3740 Fixed a problem where the method auto-serialization could interfere with 
   3741 the current SyncLevel. This change makes the auto-serialization support 
   3742 transparent to the SyncLevel support and management.
   3743 
   3744 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
   3745 interface is intended for early access to the namespace during the 
   3746 initial namespace device discovery walk. The _SUB method has been seen to 
   3747 access operation regions in some cases, causing errors because the 
   3748 operation regions are not fully initialized.
   3749 
   3750 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
   3751 that can cause faults. Lv Zheng.
   3752 
   3753 AML Debugger: Add thread ID support so that single-step mode only applies 
   3754 to the AML Debugger thread. This prevents runtime errors within some 
   3755 kernels. Lv Zheng. 
   3756 
   3757 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
   3758 methods that are invoked by this interface are optional, removed warnings 
   3759 emitted for the case where one or more of these methods do not exist. 
   3760 ACPICA BZ 1208, original change by Prarit Bhargava.
   3761 
   3762 Made a major pass through the entire ACPICA source code base to 
   3763 standardize formatting that has diverged a bit over time. There are no 
   3764 functional changes, but this will of course cause quite a few code 
   3765 differences from the previous ACPICA release.
   3766 
   3767 Example Code and Data Size: These are the sizes for the OS-independent 
   3768 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3769 debug version of the code includes the debug output trace mechanism and 
   3770 has a much larger code and data size.
   3771 
   3772   Current Release:
   3773     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
   3774     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
   3775   Previous Release:
   3776     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3777     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3778 
   3779 
   3780 2) iASL Compiler/Disassembler and Tools:
   3781 
   3782 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
   3783 definition blocks within a single ASL file and the resulting AML file. 
   3784 Support for this type of file was also added to the various tools that 
   3785 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
   3786 example code below shows two definition blocks within the same file:
   3787 
   3788     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
   3789 0x12345678)
   3790     {
   3791     }
   3792     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
   3793     {
   3794     }
   3795 
   3796 iASL: Enhanced typechecking for the Name() operator. All expressions for 
   3797 the value of the named object must be reduced/folded to a single constant 
   3798 at compile time, as per the ACPI specification (the AML definition of 
   3799 Name()).
   3800 
   3801 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
   3802 and assembly headers). Now all emitted code correctly begins in column 1.
   3803 
   3804 iASL: Added an error message for an attempt to open a Scope() on an 
   3805 object defined in an SSDT. The DSDT is always loaded into the namespace 
   3806 first, so any attempt to open a Scope on an SSDT object will fail at 
   3807 runtime.
   3808 
   3809 
   3810 ----------------------------------------
   3811 30 September 2015. Summary of changes for version 20150930:
   3812 
   3813 1) ACPICA kernel-resident subsystem:
   3814 
   3815 Debugger: Implemented several changes and bug fixes to assist support for 
   3816 the in-kernel version of the AML debugger. Lv Zheng.
   3817 - Fix the "predefined" command for in-kernel debugger.
   3818 - Do not enter debug command loop for the help and version commands.
   3819 - Disallow "execute" command during execution/single-step of a method.
   3820 
   3821 Interpreter: Updated runtime typechecking for all operators that have 
   3822 target operands. The operand is resolved and validated that it is legal. 
   3823 For example, the target cannot be a non-data object such as a Device, 
   3824 Mutex, ThermalZone, etc., as per the ACPI specification.
   3825 
   3826 Debugger: Fixed the double-mutex user I/O handshake to work when local 
   3827 deadlock detection is enabled.
   3828 
   3829 Debugger: limited display of method locals and arguments (LocalX and 
   3830 ArgX) to only those that have actually been initialized. This prevents 
   3831 lines of extraneous output.
   3832 
   3833 Updated the definition of the NFIT table to correct the bit polarity of 
   3834 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
   3835 
   3836 Example Code and Data Size: These are the sizes for the OS-independent 
   3837 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3838 debug version of the code includes the debug output trace mechanism and 
   3839 has a much larger code and data size.
   3840 
   3841   Current Release:
   3842     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   3843     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
   3844   Previous Release:
   3845     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3846     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3847 
   3848 
   3849 2) iASL Compiler/Disassembler and Tools:
   3850 
   3851 iASL: Improved the compile-time typechecking for operands of many of the 
   3852 ASL operators:
   3853 
   3854 -- Added an option to disable compiler operand/operator typechecking (-
   3855 ot).
   3856 
   3857 -- For the following operators, the TermArg operands are now validated 
   3858 when possible to be Integer data objects: BankField, OperationRegion, 
   3859 DataTableRegion, Buffer, and Package.
   3860 
   3861 -- Store (Source, Target): Both the source and target operands are 
   3862 resolved and checked that the operands are both legal. For example, 
   3863 neither operand can be a non-data object such as a Device, Mutex, 
   3864 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
   3865 operator can be used to store an object to any type of target object.
   3866 
   3867 -- Store (Source, Target): If the source is a Package object, the target 
   3868 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
   3869 is a Package, the source must also be a Package.
   3870 
   3871 -- Store (Source, Target): A warning is issued if the source and target 
   3872 resolve to the identical named object.
   3873 
   3874 -- Store (Source, <method invocation>): An error is generated for the 
   3875 target method invocation, as this construct is not supported by the AML 
   3876 interpreter.
   3877 
   3878 -- For all ASL math and logic operators, the target operand must be a 
   3879 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
   3880 includes the function return value also.
   3881 
   3882 -- External declarations are also included in the typechecking where 
   3883 possible. External objects defined using the UnknownObj keyword cannot be 
   3884 typechecked, however.
   3885 
   3886 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
   3887 operator:
   3888 - Legacy code: Index(PKG1, 3)
   3889 - New ASL+ code: PKG1[3]
   3890 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
   3891 supported.
   3892 
   3893 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
   3894 spaces were inadvertently appended to the filename, causing file access 
   3895 and deletion problems on some systems.
   3896 
   3897 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
   3898 possible compiler output files when building the test suite -- thus 
   3899 exercising these features of the compiler. These files are automatically 
   3900 deleted when the test suite exits.
   3901 
   3902 
   3903 ----------------------------------------
   3904 18 August 2015. Summary of changes for version 20150818:
   3905 
   3906 1) ACPICA kernel-resident subsystem:
   3907 
   3908 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
   3909 Zheng. ACPICA BZ 1186.
   3910 
   3911 Completed development to ensure that the ACPICA Disassembler and Debugger 
   3912 are fully standalone components of ACPICA. Removed cross-component 
   3913 dependences. Lv Zheng.
   3914 
   3915 The max-number-of-AML-loops is now runtime configurable (previously was 
   3916 compile-time only). This is essentially a loop timeout to force-abort 
   3917 infinite AML loops. ACPCIA BZ 1192.
   3918 
   3919 Debugger: Cleanup output to dump ACPI names and namepaths without any 
   3920 trailing underscores. Lv Zheng. ACPICA BZ 1135.
   3921 
   3922 Removed unnecessary conditional compilations across the Debugger and 
   3923 Disassembler components where entire modules could be left uncompiled.
   3924 
   3925 The aapits test is deprecated and has been removed from the ACPICA git 
   3926 tree. The test has never been completed and has not been maintained, thus 
   3927 becoming rather useless. ACPICA BZ 1015, 794.
   3928 
   3929 A batch of small changes to close bugzilla and other reports:
   3930 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
   3931 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
   3932 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
   3933 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
   3934 Moore.
   3935 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
   3936 ACPICA BZ 1184.
   3937 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
   3938 operators.
   3939 - Debugger: Split debugger initialization/termination interfaces. Lv 
   3940 Zheng.
   3941 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
   3942 identification.
   3943 - AcpiExec: Add debug message during _REG method phase during table 
   3944 load/init.
   3945 - AcpiNames: Fix a regression where some output was missing and no longer 
   3946 emitted.
   3947 - Debugger: General cleanup and simplification. Lv Zheng.
   3948 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
   3949 
   3950 Example Code and Data Size: These are the sizes for the OS-independent 
   3951 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   3952 debug version of the code includes the debug output trace mechanism and 
   3953 has a much larger code and data size.
   3954 
   3955   Current Release:
   3956     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
   3957     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
   3958   Previous Release:
   3959     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   3960     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   3961 
   3962 
   3963 2) iASL Compiler/Disassembler and Tools:
   3964 
   3965 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
   3966 were not handled properly and caused load errors. Now, properly invoke 
   3967 and use the ACPICA auto-reallocate mechanism for ACPI table data 
   3968 structures. ACPICA BZ 1188
   3969 
   3970 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
   3971 BZ 1190.
   3972 
   3973 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
   3974 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
   3975 executed during initialization. ACPICA BZ 1187, 1189.
   3976 
   3977 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
   3978 that corresponds to each disassembled ASL statement, to simplify 
   3979 debugging. ACPICA BZ 1191.
   3980 
   3981 Debugger: Add option to the "objects" command to display a summary of the 
   3982 current namespace objects (Object type and count). This is displayed if 
   3983 the command is entered with no arguments.
   3984 
   3985 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
   3986 
   3987 
   3988 ----------------------------------------
   3989 17 July 2015. Summary of changes for version 20150717:
   3990 
   3991 1) ACPICA kernel-resident subsystem:
   3992 
   3993 Improved the partitioning between the Debugger and Disassembler 
   3994 components. This allows the Debugger to be used standalone within kernel 
   3995 code without the Disassembler (which is used for single stepping also). 
   3996 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
   3997 
   3998 Debugger: Implemented a new command to trace the execution of control 
   3999 methods (Trace). This is especially useful for the in-kernel version of 
   4000 the debugger when file I/O may not be available for method trace output. 
   4001 See the ACPICA reference for more information. Lv Zheng.
   4002 
   4003 Moved all C library prototypes (used for the local versions of these 
   4004 functions when requested) to a new header, acclib.h
   4005 Cleaned up the use of non-ANSI C library functions. These functions are 
   4006 implemented locally in ACPICA. Moved all such functions to a common 
   4007 source file, utnonansi.c
   4008 
   4009 Debugger: Fixed a problem with the "!!" command (get last command 
   4010 executed) where the debugger could enter an infinite loop and eventually 
   4011 crash.
   4012 
   4013 Removed the use of local macros that were used for some of the standard C 
   4014 library functions to automatically cast input parameters. This mostly 
   4015 affected the is* functions where the input parameter is defined to be an 
   4016 int. This required a few modifications to the main ACPICA source code to 
   4017 provide casting for these functions and eliminate possible compiler 
   4018 warnings for these parameters.
   4019 
   4020 Across the source code, added additional status/error checking to resolve 
   4021 issues discovered by static source code analysis tools such as Coverity.
   4022 
   4023 Example Code and Data Size: These are the sizes for the OS-independent 
   4024 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4025 debug version of the code includes the debug output trace mechanism and 
   4026 has a much larger code and data size.
   4027 
   4028   Current Release:
   4029     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
   4030     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
   4031   Previous Release:
   4032     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   4033     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   4034 
   4035 
   4036 2) iASL Compiler/Disassembler and Tools:
   4037 
   4038 iASL: Fixed a regression where the device map file feature no longer 
   4039 worked properly when used in conjunction with the disassembler. It only 
   4040 worked properly with the compiler itself.
   4041 
   4042 iASL: Implemented a new warning for method LocalX variables that are set 
   4043 but never used (similar to a C compiler such as gcc). This also applies 
   4044 to ArgX variables that are not defined by the parent method, and are 
   4045 instead (legally) used as local variables.
   4046 
   4047 iASL/Preprocessor: Finished the pass-through of line numbers from the 
   4048 preprocessor to the compiler. This ensures that compiler errors/warnings 
   4049 have the correct original line numbers and filenames, regardless of any 
   4050 #include files.
   4051 
   4052 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
   4053 pass-through of comments to the preprocessor output file (which becomes 
   4054 the compiler input file). Also fixed a problem with // comments that 
   4055 appear after a math expression.
   4056 
   4057 iASL: Added support for the TCPA server table to the table compiler and 
   4058 template generator. (The client table was already previously supported)
   4059 
   4060 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
   4061 identify the iASL compiler.
   4062 
   4063 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
   4064 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
   4065 ACPI_SIGN_POSITIVE.
   4066 
   4067 AcpiHelp: Update to expand help messages for the iASL preprocessor 
   4068 directives.
   4069 
   4070 
   4071 ----------------------------------------
   4072 19 June 2015. Summary of changes for version 20150619:
   4073 
   4074 Two regressions in version 20150616 have been addressed:
   4075 
   4076 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
   4077 etc.) This update changes ACPICA to only use the standard headers for 
   4078 functions, or the prototypes for the local versions of the C library 
   4079 functions. Across the source code, this required some additional casts 
   4080 for some Clib invocations for portability. Moved all local prototypes to 
   4081 a new file, acclib.h
   4082 
   4083 Fixes several problems with recent changes to the handling of the FACS 
   4084 table that could cause some systems not to boot.
   4085 
   4086 
   4087 ----------------------------------------
   4088 16 June 2015. Summary of changes for version 20150616:
   4089 
   4090 
   4091 1) ACPICA kernel-resident subsystem:
   4092 
   4093 Across the entire ACPICA source code base, the various macros for the C 
   4094 library functions (such as ACPI_STRLEN, etc.) have been removed and 
   4095 replaced by the standard C library names (strlen, etc.) The original 
   4096 purpose for these macros is no longer applicable. This simplification 
   4097 reduces the number of macros used in the ACPICA source code 
   4098 significantly, improving readability and maintainability.
   4099 
   4100 Implemented support for a new ACPI table, the OSDT. This table, the 
   4101 "override" SDT, can be loaded directly by the host OS at boot time. It 
   4102 enables the replacement of existing namespace objects that were installed 
   4103 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
   4104 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
   4105 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
   4106 Moore.
   4107 
   4108 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
   4109 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
   4110 X field). This change will support both automatically. There continues to 
   4111 be systems found with this issue. This support requires a change to the 
   4112 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
   4113 been added to allow the host to select which FACS is desired 
   4114 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
   4115 details Lv Zheng.
   4116 
   4117 Added a new feature to allow for systems that do not contain an FACS. 
   4118 Although this is already supported on hardware-reduced platforms, the 
   4119 feature has been extended for all platforms. The reasoning is that we do 
   4120 not want to abort the entire ACPICA initialization just because the 
   4121 system is seriously buggy and has no FACS.
   4122 
   4123 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
   4124 not correctly transcribed from the ACPI specification in ACPICA version 
   4125 20150515.
   4126 
   4127 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
   4128 interface.
   4129 
   4130 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
   4131 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
   4132 compiler also updated. Note: The TCPA "server" table is not supported by 
   4133 the disassembler/table-compiler at this time.
   4134 
   4135 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
   4136 
   4137 Example Code and Data Size: These are the sizes for the OS-independent 
   4138 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4139 debug version of the code includes the debug output trace mechanism and 
   4140 has a much larger code and data size.
   4141 
   4142   Current Release:
   4143     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
   4144     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
   4145   Previous Release:
   4146     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   4147     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   4148 
   4149 
   4150 2) iASL Compiler/Disassembler and Tools:
   4151 
   4152 Disassembler: Fixed a problem with the new symbolic operator disassembler 
   4153 where incorrect ASL code could be emitted in some cases for the "non-
   4154 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
   4155 ShiftRight. The actual problem cases seem to be rather unusual in common 
   4156 ASL code, however. David Box.
   4157 
   4158 Modified the linux version of acpidump to obtain ACPI tables from not 
   4159 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
   4160 Zheng.
   4161 
   4162 iASL: Fixed a problem where the user preprocessor output file (.i) 
   4163 contained extra data that was not expected. The compiler was using this 
   4164 file as a temporary file and passed through #line directives in order to 
   4165 keep compiler error messages in sync with the input file and line number 
   4166 across multiple include files. The (.i) is no longer a temporary file as 
   4167 the compiler uses a new, different file for the original purpose.
   4168 
   4169 iASL: Fixed a problem where comments within the original ASL source code 
   4170 file were not passed through to the preprocessor output file, nor any 
   4171 listing files.
   4172 
   4173 iASL: Fixed some issues for the handling of the "#include" preprocessor 
   4174 directive and the similar (but not the same) "Include" ASL operator.
   4175 
   4176 iASL: Add support for the new OSDT in both the disassembler and compiler.
   4177 
   4178 iASL: Fixed a problem with the constant folding support where a Buffer 
   4179 object could be incorrectly generated (incorrectly formed) during a 
   4180 conversion to a Store() operator.
   4181 
   4182 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
   4183 description text for the _REV predefined name. _REV now permanently 
   4184 returns 2, as per the ACPI 6.0 specification.
   4185 
   4186 Debugger: Enhanced the output of the Debug ASL object for references 
   4187 produced by the Index operator. For Buffers and strings, only output the 
   4188 actual byte pointed to by the index. For packages, only print the single 
   4189 package element decoded by the index. Previously, the entire 
   4190 buffer/string/package was emitted.
   4191 
   4192 iASL/Table-compiler: Fixed a regression where the "generic" data types 
   4193 were no longer recognized, causing errors.
   4194 
   4195 
   4196 ----------------------------------------
   4197 15 May 2015. Summary of changes for version 20150515:
   4198 
   4199 This release implements most of ACPI 6.0 as described below.
   4200 
   4201 1) ACPICA kernel-resident subsystem:
   4202 
   4203 Implemented runtime argument checking and return value checking for all 
   4204 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
   4205 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
   4206 
   4207 Example Code and Data Size: These are the sizes for the OS-independent 
   4208 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4209 debug version of the code includes the debug output trace mechanism and 
   4210 has a much larger code and data size.
   4211 
   4212   Current Release:
   4213     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
   4214     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
   4215   Previous Release:
   4216     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   4217     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   4218 
   4219 
   4220 2) iASL Compiler/Disassembler and Tools:
   4221 
   4222 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
   4223 names (argument count validation and return value typechecking.)
   4224 
   4225 iASL disassembler and table compiler: implemented support for all new 
   4226 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
   4227 
   4228 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
   4229 tables: FADT, MADT.
   4230 
   4231 iASL preprocessor: Added a new directive to enable inclusion of binary 
   4232 blobs into ASL code. The new directive is #includebuffer. It takes a 
   4233 binary file as input and emits a named ascii buffer object into the ASL 
   4234 code.
   4235 
   4236 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
   4237 
   4238 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
   4239 directives.
   4240 
   4241 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
   4242 tables.
   4243 
   4244 
   4245 ----------------------------------------
   4246 10 April 2015. Summary of changes for version 20150410:
   4247 
   4248 Reverted a change introduced in version 20150408 that caused
   4249 a regression in the disassembler where incorrect operator
   4250 symbols could be emitted.
   4251 
   4252 
   4253 ----------------------------------------
   4254 08 April 2015. Summary of changes for version 20150408:
   4255 
   4256 
   4257 1) ACPICA kernel-resident subsystem:
   4258 
   4259 Permanently set the return value for the _REV predefined name. It now 
   4260 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
   4261 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
   4262 for ACPI 2.0 and later. It should never be used to differentiate or 
   4263 identify operating systems.
   4264 
   4265 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
   4266 return TRUE to a query with this string.
   4267 
   4268 Fixed several issues with the local version of the printf function.
   4269 
   4270 Added the C99 compiler option (-std=c99) to the Unix makefiles.
   4271 
   4272   Current Release:
   4273     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
   4274     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
   4275   Previous Release:
   4276     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4277     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4278 
   4279 
   4280 2) iASL Compiler/Disassembler and Tools:
   4281 
   4282 iASL: Implemented an enhancement to the constant folding feature to 
   4283 transform the parse tree to a simple Store operation whenever possible:
   4284     Add (2, 3, X) ==> is converted to: Store (5, X)
   4285     X = 2 + 3     ==> is converted to: Store (5, X)
   4286 
   4287 Updated support for the SLIC table (Software Licensing Description Table) 
   4288 in both the Data Table compiler and the disassembler. The SLIC table 
   4289 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
   4290 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
   4291 following the ACPI header is now defined to be "Proprietary Data", and as 
   4292 such, can only be entered or displayed as a hex data block.
   4293 
   4294 Implemented full support for the MSDM table as described in the document 
   4295 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
   4296 following the ACPI header is defined to be "Proprietary Data", and can 
   4297 only be entered or displayed as a hex data block.
   4298 
   4299 Implemented the -Pn option for the iASL Table Compiler (was only 
   4300 implemented for the ASL compiler). This option disables the iASL 
   4301 preprocessor.
   4302 
   4303 Disassembler: For disassembly of Data Tables, added a comment field 
   4304 around the Ascii equivalent data that is emitted as part of the "Raw 
   4305 Table Data" block. This prevents the iASL Preprocessor from possible 
   4306 confusion if/when the table is compiled.
   4307 
   4308 Disassembler: Added an option (-df) to force the disassembler to assume 
   4309 that the table being disassembled contains valid AML. This feature is 
   4310 useful for disassembling AML files that contain ACPI signatures other 
   4311 than DSDT or SSDT (such as OEMx or other signatures).
   4312 
   4313 Changes for the EFI version of the tools:
   4314 1) Fixed a build error/issue
   4315 2) Fixed a cast warning
   4316 
   4317 iASL: Fixed a path issue with the __FILE__ operator by making the 
   4318 directory prefix optional within the internal SplitInputFilename 
   4319 function.
   4320 
   4321 Debugger: Removed some unused global variables.
   4322 
   4323 Tests: Updated the makefile for proper generation of the AAPITS suite.
   4324 
   4325 
   4326 ----------------------------------------
   4327 04 February 2015. Summary of changes for version 20150204:
   4328 
   4329 ACPICA kernel-resident subsystem:
   4330 
   4331 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   4332 copyright to all module headers and signons, including the standard Linux 
   4333 header. This affects virtually every file in the ACPICA core subsystem, 
   4334 iASL compiler, all ACPICA utilities, and the test suites.
   4335 
   4336 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
   4337 A raw gpe handling mechanism was created to allow better handling of GPE
   4338 storms that aren't easily managed by the normal handler. The raw handler
   4339 allows disabling/renabling of the GPE so that interrupt storms can be
   4340 avoided in cases where events cannot be timely serviced. In this 
   4341 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
   4342 GPE. This API will leave the reference counts undisturbed, thereby 
   4343 preventing unintentional clearing of the GPE when the intent in only to 
   4344 temporarily disable it. Raw handlers allow enabling and disabling of a 
   4345 GPE by removing GPE register locking. As such, raw handlers much provide 
   4346 their own locks while using GPE API's to protect access to GPE data 
   4347 structures.
   4348 Lv Zheng
   4349 
   4350 Events: Always modify GPE registers under the GPE lock.
   4351 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
   4352 values. Reported as bug by joe.liu (a] apple.com.
   4353 
   4354 Unix makefiles: Separate option to disable optimizations and 
   4355 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
   4356 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
   4357 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
   4358 errors when building ACPICA. This allows disabling the option without 
   4359 also having to disable optimazations.
   4360 David Box
   4361 
   4362   Current Release:
   4363     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
   4364     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
   4365 
   4366 --
   4367 --------------------------------------
   4368 07 November 2014. Summary of changes for version 20141107:
   4369 
   4370 This release is available at https://acpica.org/downloads
   4371 
   4372 This release introduces and implements language extensions to ASL that 
   4373 provide support for symbolic ("C-style") operators and expressions. These 
   4374 language extensions are known collectively as ASL+.
   4375 
   4376 
   4377 1) iASL Compiler/Disassembler and Tools:
   4378 
   4379 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
   4380 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
   4381 Box.
   4382 
   4383 Disassembler: Fixed the Unicode macro support to add escape sequences. 
   4384 All non-printable ASCII values are emitted as escape sequences, as well 
   4385 as the standard escapes for quote and backslash. Ensures that the 
   4386 disassembled macro can be correctly recompiled.
   4387 
   4388 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
   4389 translated to existing AML Concatenate and Store operations. Printf 
   4390 writes to the ASL Debug object. Fprintf allows the specification of an 
   4391 ASL name as the target. Only a single format specifier is required, %o, 
   4392 since the AML interpreter dynamically converts objects to the required 
   4393 type. David E. Box.
   4394 
   4395     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   4396                  (Concatenate (Concatenate (Concatenate ("", Arg0),
   4397                  ": Unexpected value for "), Arg1), ", "), Arg2),
   4398                  " at line "), Arg3), Debug)
   4399 
   4400     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
   4401                  Arg0, Arg1, Arg2, Arg3)
   4402 
   4403     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
   4404                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
   4405 
   4406     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
   4407 
   4408 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
   4409 ASL parse tree before the AML code is generated. This allows blocks of 
   4410 ASL code to be removed in order to help locate and identify problem 
   4411 devices and/or code. David E. Box.
   4412 
   4413 AcpiExec: Added support (-fi) for an optional namespace object 
   4414 initialization file. This file specifies initial values for namespace 
   4415 objects as necessary for debugging and testing different ASL code paths 
   4416 that may be taken as a result of BIOS options.
   4417 
   4418 
   4419 2) Overview of symbolic operator support for ASL (ASL+)
   4420 -------------------------------------------------------
   4421 
   4422 As an extension to the ASL language, iASL implements support for symbolic 
   4423 (C-style) operators for math and logical expressions. This can greatly 
   4424 simplify ASL code as well as improve both readability and 
   4425 maintainability. These language extensions can exist concurrently with 
   4426 all legacy ASL code and expressions.
   4427 
   4428 The symbolic extensions are 100% compatible with existing AML 
   4429 interpreters, since no new AML opcodes are created. To implement the 
   4430 extensions, the iASL compiler transforms the symbolic expressions into 
   4431 the legacy ASL/AML equivalents at compile time.
   4432 
   4433 Full symbolic expressions are supported, along with the standard C 
   4434 precedence and associativity rules.
   4435 
   4436 Full disassembler support for the symbolic expressions is provided, and 
   4437 creates an automatic migration path for existing ASL code to ASL+ code 
   4438 via the disassembly process. By default, the disassembler now emits ASL+ 
   4439 code with symbolic expressions. An option (-dl) is provided to force the 
   4440 disassembler to emit legacy ASL code if desired.
   4441 
   4442 Below is the complete list of the currently supported symbolic operators 
   4443 with examples. See the iASL User Guide for additional information.
   4444 
   4445 
   4446 ASL+ Syntax      Legacy ASL Equivalent
   4447 -----------      ---------------------
   4448 
   4449     // Math operators
   4450 
   4451 Z = X + Y        Add (X, Y, Z)
   4452 Z = X - Y        Subtract (X, Y, Z)
   4453 Z = X * Y        Multiply (X, Y, Z)
   4454 Z = X / Y        Divide (X, Y, , Z)
   4455 Z = X % Y        Mod (X, Y, Z)
   4456 Z = X << Y       ShiftLeft (X, Y, Z)
   4457 Z = X >> Y       ShiftRight (X, Y, Z)
   4458 Z = X & Y        And (X, Y, Z)
   4459 Z = X | Y        Or (X, Y, Z)
   4460 Z = X ^ Y        Xor (X, Y, Z)
   4461 Z = ~X           Not (X, Z)
   4462 X++              Increment (X)
   4463 X--              Decrement (X)
   4464 
   4465     // Logical operators
   4466 
   4467 (X == Y)         LEqual (X, Y)
   4468 (X != Y)         LNotEqual (X, Y)
   4469 (X < Y)          LLess (X, Y)
   4470 (X > Y)          LGreater (X, Y)
   4471 (X <= Y)         LLessEqual (X, Y)
   4472 (X >= Y)         LGreaterEqual (X, Y)
   4473 (X && Y)         LAnd (X, Y)
   4474 (X || Y)         LOr (X, Y)
   4475 (!X)             LNot (X)
   4476 
   4477     // Assignment and compound assignment operations
   4478 
   4479 X = Y           Store (Y, X)
   4480 X += Y          Add (X, Y, X)
   4481 X -= Y          Subtract (X, Y, X)
   4482 X *= Y          Multiply (X, Y, X)
   4483 X /= Y          Divide (X, Y, , X)
   4484 X %= Y          Mod (X, Y, X)
   4485 X <<= Y         ShiftLeft (X, Y, X)
   4486 X >>= Y         ShiftRight (X, Y, X)
   4487 X &= Y          And (X, Y, X)
   4488 X |= Y          Or (X, Y, X)
   4489 X ^= Y          Xor (X, Y, X)
   4490 
   4491 
   4492 3) ASL+ Examples:
   4493 -----------------
   4494 
   4495 Legacy ASL:
   4496         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
   4497             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
   4498 0x03FB), 
   4499             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
   4500         {
   4501             And (MEMB, 0xFFFFFFF0, SRMB)
   4502             Store (MEMB, Local2)
   4503             Store (PDBM, Local1)
   4504             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
   4505             Store (SRMB, MEMB)
   4506             Or (PDBM, 0x02, PDBM)
   4507         }
   4508 
   4509 ASL+ version:
   4510         If (((R510 & 0x03FB) == 0x02E0) ||
   4511             ((R520 & 0x03FB) == 0x02E0) ||
   4512             ((R530 & 0x03FB) == 0x02E0) || 
   4513             ((R540 & 0x03FB) == 0x02E0))
   4514         {
   4515             SRMB = (MEMB & 0xFFFFFFF0)
   4516             Local2 = MEMB
   4517             Local1 = PDBM
   4518             PDBM &= 0xFFFFFFFFFFFFFFF9
   4519             MEMB = SRMB
   4520             PDBM |= 0x02
   4521         }
   4522 
   4523 Legacy ASL:
   4524         Store (0x1234, Local1)
   4525         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
   4526         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
   4527         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
   4528         Store (Index (PKG1, 0x03), Local6)
   4529         Store (Add (Local3, Local2), Debug)
   4530         Add (Local1, 0x0F, Local2)
   4531         Add (Local1, Multiply (Local2, Local3), Local2)
   4532         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
   4533 
   4534 ASL+ version:
   4535         Local1 = 0x1234
   4536         Local3 = (((Local1 + TEST) + 0x20) * Local2)
   4537         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
   4538         Local3 = (Local1 + (TEST + (0x20 * Local2)))
   4539         Local6 = Index (PKG1, 0x03)
   4540         Debug = (Local3 + Local2)
   4541         Local2 = (Local1 + 0x0F)
   4542         Local2 = (Local1 + (Local2 * Local3))
   4543         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
   4544 
   4545 
   4546 ----------------------------------------
   4547 26 September 2014. Summary of changes for version 20140926:
   4548 
   4549 1) ACPICA kernel-resident subsystem:
   4550 
   4551 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
   4552 In order to support GPIO Connection objects with multiple pins, along 
   4553 with the related Field objects, the following changes to the interface 
   4554 have been made: The Address is now defined to be the offset in bits of 
   4555 the field unit from the previous invocation of a Connection. It can be 
   4556 viewed as a "Pin Number Index" into the connection resource descriptor. 
   4557 The BitWidth is the exact bit width of the field. It is usually one bit, 
   4558 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
   4559 additional information and examples.
   4560 
   4561 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
   4562 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
   4563 by the firmware), so that they cannot fire until they are enabled via 
   4564 AcpiUpdateAllGpes. Rafael J. Wysocki.
   4565 
   4566 Added a new return flag for the Event/GPE status interfaces -- 
   4567 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
   4568 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
   4569 GPE currently has a handler associated with it, and can thus actually 
   4570 affect the system. Lv Zheng.
   4571 
   4572 Example Code and Data Size: These are the sizes for the OS-independent 
   4573 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4574 debug version of the code includes the debug output trace mechanism and 
   4575 has a much larger code and data size.
   4576 
   4577   Current Release:
   4578     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
   4579     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
   4580   Previous Release:
   4581     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4582     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4583 
   4584 2) iASL Compiler/Disassembler and Tools:
   4585 
   4586 iASL: Fixed a memory allocation/free regression introduced in 20140828 
   4587 that could cause the compiler to crash. This was introduced inadvertently 
   4588 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
   4589 1113.
   4590 
   4591 iASL: Removed two error messages that have been found to create false 
   4592 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
   4593 1) Illegal forward reference within a method
   4594 2) Illegal reference across two methods
   4595 
   4596 iASL: Implemented a new option (-lm) to create a hardware mapping file 
   4597 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
   4598 works for both the compiler and disassembler. See the iASL compiler user 
   4599 guide for additional information and examples (section 6.4.6).
   4600 
   4601 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
   4602 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
   4603 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
   4604 
   4605 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
   4606 unless STDIN is actually a terminal. Assists with batch-mode processing. 
   4607 ACPICA BZ 1114.
   4608 
   4609 Disassembler/AcpiHelp: Added another large group of recognized _HID 
   4610 values.
   4611 
   4612 
   4613 ----------------------------------------
   4614 28 August 2014. Summary of changes for version 20140828:
   4615 
   4616 1) ACPICA kernel-resident subsystem:
   4617 
   4618 Fixed a problem related to the internal use of the Timer() operator where 
   4619 a 64-bit divide could cause an attempted link to a double-precision math 
   4620 library. This divide is not actually necessary, so the code was 
   4621 restructured to eliminate it. Lv Zheng.
   4622 
   4623 ACPI 5.1: Added support for the runtime validation of the _DSD package 
   4624 (similar to the iASL support).
   4625 
   4626 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
   4627 SRAT table. Hanjun Guo <hanjun.guo (a] linaro.org>.
   4628 
   4629 Example Code and Data Size: These are the sizes for the OS-independent 
   4630 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4631 debug version of the code includes the debug output trace mechanism and 
   4632 has a much larger code and data size.
   4633 
   4634   Current Release:
   4635     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
   4636     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
   4637   Previous Release:
   4638     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
   4639     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   4640 
   4641 2) iASL Compiler/Disassembler and Tools:
   4642 
   4643 AcpiExec: Fixed a problem on unix systems where the original terminal 
   4644 state was not always properly restored upon exit. Seen when using the -v 
   4645 option. ACPICA BZ 1104.
   4646 
   4647 iASL: Fixed a problem with the validation of the ranges/length within the 
   4648 Memory24 resource descriptor. There was a boundary condition when the 
   4649 range was equal to the (length -1) caused by the fact that these values 
   4650 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
   4651 
   4652 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
   4653 polarity 
   4654 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
   4655 is 
   4656 now supported properly.
   4657 
   4658 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
   4659 in the disassembler, data table compiler, and table template generator.
   4660 
   4661 iASL: Added a requirement for Device() objects that one of either a _HID 
   4662 or _ADR must exist within the scope of a Device, as per the ACPI 
   4663 specification. Remove a similar requirement that was incorrectly in place 
   4664 for the _DSD object.
   4665 
   4666 iASL: Added error detection for illegal named references within control 
   4667 methods that would cause runtime failures. Now trapped as errors are: 1) 
   4668 References to objects within a non-parent control method. 2) Forward 
   4669 references (within a method) -- for control methods, AML interpreters use 
   4670 a one-pass parse of control methods. ACPICA BZ 1008.
   4671 
   4672 iASL: Added error checking for dependencies related to the _PSx power 
   4673 methods. ACPICA BZ 1029.
   4674 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
   4675 _PS3.
   4676 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
   4677 scope.
   4678 
   4679 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
   4680 deploying the existing object and string caches and adding new caches for 
   4681 the table compiler.
   4682 
   4683 iASL: Split the huge parser source file into multiple subfiles to improve 
   4684 manageability. Generation now requires the M4 macro preprocessor, which 
   4685 is part of the Bison distribution on both unix and windows platforms.
   4686 
   4687 AcpiSrc: Fixed and removed all extraneous warnings generated during 
   4688 entire ACPICA source code scan and/or conversion.
   4689 
   4690 
   4691 ----------------------------------------
   4692 
   4693 24 July 2014. Summary of changes for version 20140724: 
   4694 
   4695 The ACPI 5.1 specification has been released and is available at: 
   4696 http://uefi.org/specs/access
   4697 
   4698 
   4699 0) ACPI 5.1 support in ACPICA:
   4700 
   4701 ACPI 5.1 is fully supported in ACPICA as of this release.
   4702 
   4703 New predefined names. Support includes iASL and runtime ACPICA 
   4704 validation.
   4705     _CCA (Cache Coherency Attribute).
   4706     _DSD (Device-Specific Data). David Box.
   4707 
   4708 Modifications to existing ACPI tables. Support includes headers, iASL 
   4709 Data Table compiler, disassembler, and the template generator.
   4710     FADT - New fields and flags. Graeme Gregory.
   4711     GTDT - One new subtable and new fields. Tomasz Nowicki.
   4712     MADT - Two new subtables. Tomasz Nowicki.
   4713     PCCT - One new subtable.
   4714 
   4715 Miscellaneous.
   4716     New notification type for System Resource Affinity change events.
   4717 
   4718 
   4719 1) ACPICA kernel-resident subsystem:
   4720 
   4721 Fixed a regression introduced in 20140627 where a fault can happen during 
   4722 the deletion of Alias AML namespace objects. The problem affected both 
   4723 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
   4724 
   4725 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
   4726 simple mechanism to enable wake GPEs that have no associated handler or 
   4727 control method. Rafael Wysocki.
   4728 
   4729 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
   4730 handler or control method associated with the particular GPE. This will 
   4731 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
   4732 
   4733 Updated GPE handling and dispatch by disabling the GPE before clearing 
   4734 the status bit for edge-triggered GPEs. Lv Zheng.
   4735 
   4736 Added Timer() support to the AML Debug object. The current timer value is 
   4737 now displayed with each invocation of (Store to) the debug object to 
   4738 enable simple generation of execution times for AML code (method 
   4739 execution for example.) ACPICA BZ 1093.
   4740 
   4741 Example Code and Data Size: These are the sizes for the OS-independent 
   4742 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4743 debug version of the code includes the debug output trace mechanism and 
   4744 has a much larger code and data size.
   4745 
   4746   Current Release:
   4747     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
   4748     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
   4749   Previous Release:
   4750     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4751     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4752 
   4753 
   4754 2) iASL Compiler/Disassembler and Tools:
   4755 
   4756 Fixed an issue with the recently added local printf implementation, 
   4757 concerning width/precision specifiers that could cause incorrect output. 
   4758 Lv Zheng. ACPICA BZ 1094.
   4759 
   4760 Disassembler: Added support to detect buffers that contain UUIDs and 
   4761 disassemble them to an invocation of the ToUUID operator. Also emit 
   4762 commented descriptions of known ACPI-related UUIDs.
   4763 
   4764 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
   4765 -u. Adds three new files. 
   4766 
   4767 iASL: Update table compiler and disassembler for DMAR table changes that 
   4768 were introduced in September 2013. With assistance by David Woodhouse.
   4769 
   4770 ----------------------------------------
   4771 27 June 2014. Summary of changes for version 20140627:
   4772 
   4773 1) ACPICA kernel-resident subsystem:
   4774 
   4775 Formatted Output: Implemented local versions of standard formatted output 
   4776 utilities such as printf, etc. Over time, it has been discovered that 
   4777 there are in fact many portability issues with printf, and the addition 
   4778 of this feature will fix/prevent these issues once and for all. Some 
   4779 known issues are summarized below:
   4780 
   4781 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
   4782 for the Linux kernel and is %uI64 for some MSVC versions.
   4783 2) Invoking printf consistently in a manner that is portable across both 
   4784 32-bit and 64-bit platforms is difficult at best in many situations.
   4785 3) The output format for pointers varies from system to system (leading 
   4786 zeros especially), and leads to inconsistent output from ACPICA across 
   4787 platforms.
   4788 4) Certain platform-specific printf formats may conflict with ACPICA use.
   4789 5) If there is no local C library available, ACPICA now has local support 
   4790 for printf.
   4791 
   4792 -- To address these printf issues in a complete manner, ACPICA now 
   4793 directly implements a small subset of printf format specifiers, only 
   4794 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
   4795 
   4796 Implemented support for ACPICA generation within the EFI environment. 
   4797 Initially, the AcpiDump utility is supported in the UEFI shell 
   4798 environment. Lv Zheng.
   4799 
   4800 Added a new external interface, AcpiLogError, to improve ACPICA 
   4801 portability. This allows the host to redirect error messages from the 
   4802 ACPICA utilities. Lv Zheng.
   4803 
   4804 Added and deployed new OSL file I/O interfaces to improve ACPICA 
   4805 portability:
   4806   AcpiOsOpenFile
   4807   AcpiOsCloseFile
   4808   AcpiOsReadFile
   4809   AcpiOsWriteFile
   4810   AcpiOsGetFileOffset
   4811   AcpiOsSetFileOffset
   4812 There are C library implementations of these functions in the new file 
   4813 service_layers/oslibcfs.c -- however, the functions can be implemented by 
   4814 the local host in any way necessary. Lv Zheng.
   4815 
   4816 Implemented a mechanism to disable/enable ACPI table checksum validation 
   4817 at runtime. This can be useful when loading tables very early during OS 
   4818 initialization when it may not be possible to map the entire table in 
   4819 order to compute the checksum. Lv Zheng.
   4820 
   4821 Fixed a buffer allocation issue for the Generic Serial Bus support. 
   4822 Originally, a fixed buffer length was used. This change allows for 
   4823 variable-length buffers based upon the protocol indicated by the field 
   4824 access attributes. Reported by Lan Tianyu. Lv Zheng.
   4825 
   4826 Fixed a problem where an object detached from a namespace node was not 
   4827 properly terminated/cleared and could cause a circular list problem if 
   4828 reattached. ACPICA BZ 1063. David Box.
   4829 
   4830 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
   4831 
   4832 Fixed a possible memory leak in an error return path within the function 
   4833 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
   4834 
   4835 Example Code and Data Size: These are the sizes for the OS-independent 
   4836 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4837 debug version of the code includes the debug output trace mechanism and 
   4838 has a much larger code and data size.
   4839 
   4840   Current Release:
   4841     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
   4842     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
   4843   Previous Release:
   4844     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4845     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4846 
   4847 
   4848 2) iASL Compiler/Disassembler and Tools:
   4849 
   4850 Disassembler: Add dump of ASCII equivalent text within a comment at the 
   4851 end of each line of the output for the Buffer() ASL operator.
   4852 
   4853 AcpiDump: Miscellaneous changes:
   4854   Fixed repetitive table dump in -n mode.
   4855   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
   4856 the ACPI 2.0 GUID fails.
   4857 
   4858 iASL: Fixed a problem where the compiler could fault if incorrectly given 
   4859 an acpidump output file as input. ACPICA BZ 1088. David Box.
   4860 
   4861 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
   4862 they are invoked without any arguments.
   4863 
   4864 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
   4865 1086. Colin Ian King.
   4866 
   4867 Disassembler: Cleaned up a block of code that extracts a parent Op 
   4868 object. Added a comment that explains that the parent is guaranteed to be 
   4869 valid in this case. ACPICA BZ 1069.
   4870 
   4871 
   4872 ----------------------------------------
   4873 24 April 2014. Summary of changes for version 20140424:
   4874 
   4875 1) ACPICA kernel-resident subsystem:
   4876 
   4877 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
   4878 Some of these tables are known to contain a trailing NULL entry. Lv 
   4879 Zheng.
   4880 
   4881 Removed an extraneous error message for the case where there are a large 
   4882 number of system GPEs (> 124). This was the "32-bit FADT register is too 
   4883 long to convert to GAS struct" message, which is irrelevant for GPEs 
   4884 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
   4885 (limited capacity) GAS bit length. Also, several changes to ensure proper 
   4886 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
   4887 internally.
   4888 
   4889 Implemented and deployed additional configuration support for the public 
   4890 ACPICA external interfaces. Entire classes of interfaces can now be 
   4891 easily modified or configured out, replaced by stubbed inline functions 
   4892 by default. Lv Zheng.
   4893 
   4894 Moved all public ACPICA runtime configuration globals to the public 
   4895 ACPICA external interface file for convenience. Also, removed some 
   4896 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
   4897 
   4898 Documentation: Added a new section to the ACPICA reference describing the 
   4899 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
   4900 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
   4901 reference.
   4902 
   4903 Example Code and Data Size: These are the sizes for the OS-independent 
   4904 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4905 debug version of the code includes the debug output trace mechanism and 
   4906 has a much larger code and data size.
   4907 
   4908   Current Release:
   4909     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
   4910     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
   4911   Previous Release:
   4912     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   4913     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   4914 
   4915 
   4916 2) iASL Compiler/Disassembler and Tools:
   4917 
   4918 iASL and disassembler: Add full support for the LPIT table (Low Power 
   4919 Idle Table). Includes support in the disassembler, data table compiler, 
   4920 and template generator.
   4921 
   4922 AcpiDump utility:
   4923 1) Add option to force the use of the RSDT (over the XSDT).
   4924 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
   4925 
   4926 iASL: Add check for predefined packages that are too large.  For 
   4927 predefined names that contain subpackages, check if each subpackage is 
   4928 too large. (Check for too small already exists.)
   4929 
   4930 Debugger: Updated the GPE command (which simulates a GPE by executing the 
   4931 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
   4932 to the GPE 0/1 FADT-defined blocks.
   4933 
   4934 Unix application OSL: Update line-editing support. Add additional error 
   4935 checking and take care not to reset terminal attributes on exit if they 
   4936 were never set. This should help guarantee that the terminal is always 
   4937 left in the previous state on program exit.
   4938 
   4939 
   4940 ----------------------------------------
   4941 25 March 2014. Summary of changes for version 20140325:
   4942 
   4943 1) ACPICA kernel-resident subsystem:
   4944 
   4945 Updated the auto-serialize feature for control methods. This feature 
   4946 automatically serializes all methods that create named objects in order 
   4947 to prevent runtime errors. The update adds support to ignore the 
   4948 currently executing AML SyncLevel when invoking such a method, in order 
   4949 to prevent disruption of any existing SyncLevel priorities that may exist 
   4950 in the AML code. Although the use of SyncLevels is relatively rare, this 
   4951 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
   4952 appear on some machines starting with the 20140214 release.
   4953 
   4954 Added a new external interface to allow the host to install ACPI tables 
   4955 very early, before the namespace is even created. AcpiInstallTable gives 
   4956 the host additional flexibility for ACPI table management. Tables can be 
   4957 installed directly by the host as if they had originally appeared in the 
   4958 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
   4959 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
   4960 with additional internal restructuring and cleanup. See the ACPICA 
   4961 Reference for interface details. Lv Zheng.
   4962 
   4963 Added validation of the checksum for all incoming dynamically loaded 
   4964 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
   4965 Zheng.
   4966 
   4967 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
   4968 and GPE handler removal. Restructured calls to eliminate possible race 
   4969 conditions. Lv Zheng.
   4970 
   4971 Added a warning for the use/execution of the ASL/AML Unload (table) 
   4972 operator. This will help detect and identify machines that use this 
   4973 operator if and when it is ever used. This operator has never been seen 
   4974 in the field and the usage model and possible side-effects of the drastic 
   4975 runtime action of a full table removal are unknown.
   4976 
   4977 Reverted the use of #pragma push/pop which was introduced in the 20140214 
   4978 release. It appears that push and pop are not implemented by enough 
   4979 compilers to make the use of this feature feasible for ACPICA at this 
   4980 time. However, these operators may be deployed in a future ACPICA 
   4981 release.
   4982 
   4983 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
   4984 handler interfaces.
   4985 
   4986 Source code generation:
   4987 1) Disabled the use of the "strchr" macro for the gcc-specific 
   4988 generation. For some versions of gcc, this macro can periodically expose 
   4989 a compiler bug which in turn causes compile-time error(s).
   4990 2) Added support for PPC64 compilation. Colin Ian King.
   4991 
   4992 Example Code and Data Size: These are the sizes for the OS-independent 
   4993 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   4994 debug version of the code includes the debug output trace mechanism and 
   4995 has a much larger code and data size.
   4996 
   4997   Current Release:
   4998     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
   4999     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
   5000   Previous Release:
   5001     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   5002     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   5003 
   5004 
   5005 2) iASL Compiler/Disassembler and Tools:
   5006 
   5007 Disassembler: Added several new features to improve the readability of 
   5008 the resulting ASL code. Extra information is emitted within comment 
   5009 fields in the ASL code:
   5010 1) Known _HID/_CID values are decoded to descriptive text.
   5011 2) Standard values for the Notify() operator are decoded to descriptive 
   5012 text.
   5013 3) Target operands are expanded to full pathnames (in a comment) when 
   5014 possible.
   5015 
   5016 Disassembler: Miscellaneous updates for extern() handling:
   5017 1) Abort compiler if file specified by -fe option does not exist.
   5018 2) Silence unnecessary warnings about argument count mismatches.
   5019 3) Update warning messages concerning unresolved method externals.
   5020 4) Emit "UnknownObj" keyword for externals whose type cannot be 
   5021 determined.
   5022 
   5023 AcpiHelp utility:
   5024 1) Added the -a option to display both the ASL syntax and the AML 
   5025 encoding for an input ASL operator. This effectively displays all known 
   5026 information about an ASL operator with one AcpiHelp invocation.
   5027 2) Added substring match support (similar to a wildcard) for the -i 
   5028 (_HID/PNP IDs) option.
   5029 
   5030 iASL/Disassembler: Since this tool does not yet support execution on big-
   5031 endian machines, added detection of endianness and an error message if 
   5032 execution is attempted on big-endian. Support for big-endian within iASL 
   5033 is a feature that is on the ACPICA to-be-done list.
   5034 
   5035 AcpiBin utility:
   5036 1) Remove option to extract binary files from an acpidump; this function 
   5037 is made obsolete by the AcpiXtract utility.
   5038 2) General cleanup of open files and allocated buffers.
   5039 
   5040 
   5041 ----------------------------------------
   5042 14 February 2014. Summary of changes for version 20140214:
   5043 
   5044 1) ACPICA kernel-resident subsystem:
   5045 
   5046 Implemented a new mechanism to proactively prevent problems with ill-
   5047 behaved reentrant control methods that create named ACPI objects. This 
   5048 behavior is illegal as per the ACPI specification, but is nonetheless 
   5049 frequently seen in the field. Previously, this could lead to an 
   5050 AE_ALREADY_EXISTS exception if the method was actually entered by more 
   5051 than one thread. This new mechanism detects such methods at table load 
   5052 time and marks them "serialized" to prevent reentrancy. A new global 
   5053 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
   5054 feature if desired. This mechanism and global option obsoletes and 
   5055 supersedes the previous AcpiGbl_SerializeAllMethods option.
   5056 
   5057 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
   5058 respond TRUE to _OSI queries with this string. It is the stated policy of 
   5059 ACPICA to add new strings to the _OSI support as soon as possible after 
   5060 they are defined. See the full ACPICA _OSI policy which has been added to 
   5061 the utilities/utosi.c file.
   5062 
   5063 Hardened/updated the _PRT return value auto-repair code:
   5064 1) Do not abort the repair on a single subpackage failure, continue to 
   5065 check all subpackages.
   5066 2) Add check for the minimum subpackage length (4).
   5067 3) Properly handle extraneous NULL package elements.
   5068 
   5069 Added support to avoid the possibility of infinite loops when traversing 
   5070 object linked lists. Never allow an infinite loop, even in the face of 
   5071 corrupted object lists.
   5072 
   5073 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
   5074 pack(pop) directives to ensure that the ACPICA headers are independent of 
   5075 compiler settings or other host headers.
   5076 
   5077 Example Code and Data Size: These are the sizes for the OS-independent 
   5078 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5079 debug version of the code includes the debug output trace mechanism and 
   5080 has a much larger code and data size.
   5081 
   5082   Current Release:
   5083     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
   5084     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
   5085   Previous Release:
   5086     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   5087     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   5088 
   5089 
   5090 2) iASL Compiler/Disassembler and Tools:
   5091 
   5092 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
   5093 first reserved field was incorrectly forced to have a value of zero. This 
   5094 change correctly forces the field to have a value of one. ACPICA BZ 1081.
   5095 
   5096 Debugger: Added missing support for the "Extra" and "Data" subobjects 
   5097 when displaying object data.
   5098 
   5099 Debugger: Added support to display entire object linked lists when 
   5100 displaying object data.
   5101 
   5102 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
   5103 Windows registry. This feature has been superseded by the acpidump 
   5104 utility. 
   5105 
   5106 
   5107 ----------------------------------------
   5108 14 January 2014. Summary of changes for version 20140114:
   5109 
   5110 1) ACPICA kernel-resident subsystem:
   5111 
   5112 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
   5113 copyright to all module headers and signons, including the standard Linux 
   5114 header. This affects virtually every file in the ACPICA core subsystem, 
   5115 iASL compiler, all ACPICA utilities, and the test suites.
   5116 
   5117 Improved parameter validation for AcpiInstallGpeBlock. Added the 
   5118 following checks:
   5119 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
   5120 2) There is not already a GPE block attached to the device.
   5121 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
   5122 device.
   5123 
   5124 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
   5125 support to allow references (namespace nodes) to be passed as arguments 
   5126 to control methods via the evaluate object interface. This is probably 
   5127 most useful for testing purposes, however.
   5128 
   5129 Improved support for 32/64 bit physical addresses in printf()-like 
   5130 output. This change improves the support for physical addresses in printf 
   5131 debug statements and other output on both 32-bit and 64-bit hosts. It 
   5132 consistently outputs the appropriate number of bytes for each host. The 
   5133 %p specifier is unsatisfactory since it does not emit uniform output on 
   5134 all hosts/clib implementations (on some, leading zeros are not supported, 
   5135 leading to difficult-to-read output).
   5136 
   5137 Example Code and Data Size: These are the sizes for the OS-independent 
   5138 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5139 debug version of the code includes the debug output trace mechanism and 
   5140 has a much larger code and data size.
   5141 
   5142   Current Release:
   5143     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
   5144     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
   5145   Previous Release:
   5146     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   5147     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   5148 
   5149 
   5150 2) iASL Compiler/Disassembler and Tools:
   5151 
   5152 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
   5153 problem if the parent Field definition for the Connection operator refers 
   5154 to an operation region that does not exist. ACPICA BZ 1064.
   5155 
   5156 AcpiExec: Load of local test tables is now optional. The utility has the 
   5157 capability to load some various tables to test features of ACPICA. 
   5158 However, there are enough of them that the output of the utility became 
   5159 confusing. With this change, only the required local tables are displayed 
   5160 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
   5161 line specification. This makes the default output simler and easier to 
   5162 understand. The -el command line option restores the original behavior 
   5163 for testing purposes.
   5164 
   5165 AcpiExec: Added support for overlapping operation regions. This change 
   5166 expands the simulation of operation regions by supporting regions that 
   5167 overlap within the given address space. Supports SystemMemory and 
   5168 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
   5169 
   5170 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
   5171 allows AcpiExec to simulate these address spaces, similar to the current 
   5172 support for SystemMemory and SystemIO.
   5173 
   5174 Debugger: Added new command to read/write/compare all namespace objects. 
   5175 The command "test objects" will exercise the entire namespace by writing 
   5176 new values to each data object, and ensuring that the write was 
   5177 successful. The original value is then restored and verified.
   5178 
   5179 Debugger: Added the "test predefined" command. This change makes this 
   5180 test public and puts it under the new "test" command. The test executes 
   5181 each and every predefined name within the current namespace.
   5182 
   5183 
   5184 ----------------------------------------
   5185 18 December 2013. Summary of changes for version 20131218:
   5186 
   5187 Global note: The ACPI 5.0A specification was released this month. There 
   5188 are no changes needed for ACPICA since this release of ACPI is an 
   5189 errata/clarification release. The specification is available at 
   5190 acpi.info. 
   5191 
   5192 
   5193 1) ACPICA kernel-resident subsystem:
   5194 
   5195 Added validation of the XSDT root table if it is present. Some older 
   5196 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
   5197 as containing some or all entries that are NULL pointers). This change 
   5198 adds a new function to validate the XSDT before actually using it. If the 
   5199 XSDT is found to be invalid, ACPICA will now automatically fall back to 
   5200 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
   5201 ACPICA and enhanced by Lv Zheng and Bob Moore.
   5202 
   5203 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
   5204 This change adds a runtime option that will force ACPICA to use the RSDT 
   5205 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
   5206 requires that an XSDT be used instead of the RSDT, the XSDT has been 
   5207 found to be corrupt or ill-formed on some machines. Lv Zheng.
   5208 
   5209 Added a runtime option to favor 32-bit FADT register addresses over the 
   5210 64-bit addresses. This change adds an option to favor 32-bit FADT 
   5211 addresses when there is a conflict between the 32-bit and 64-bit versions 
   5212 of the same register. The default behavior is to use the 64-bit version 
   5213 in accordance with the ACPI specification. This can now be overridden via 
   5214 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
   5215 
   5216 During the change above, the internal "Convert FADT" and "Verify FADT" 
   5217 functions have been merged to simplify the code, making it easier to 
   5218 understand and maintain. ACPICA BZ 933.
   5219 
   5220 Improve exception reporting and handling for GPE block installation. 
   5221 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
   5222 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
   5223 
   5224 Added helper macros to extract bus/segment numbers from the HEST table. 
   5225 This change adds two macros to extract the encoded bus and segment 
   5226 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
   5227 Betty Dall <betty.dall (a] hp.com>
   5228 
   5229 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
   5230 by ACPICA. It is not a public macro, so it should have no effect on 
   5231 existing OSV code. Lv Zheng.
   5232 
   5233 Example Code and Data Size: These are the sizes for the OS-independent 
   5234 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5235 debug version of the code includes the debug output trace mechanism and 
   5236 has a much larger code and data size.
   5237 
   5238   Current Release:
   5239     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
   5240     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
   5241   Previous Release:
   5242     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   5243     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   5244 
   5245 
   5246 2) iASL Compiler/Disassembler and Tools:
   5247 
   5248 Disassembler: Improved pathname support for emitted External() 
   5249 statements. This change adds full pathname support for external names 
   5250 that have been resolved internally by the inclusion of additional ACPI 
   5251 tables (via the iASL -e option). Without this change, the disassembler 
   5252 can emit multiple externals for the same object, or it become confused 
   5253 when the Scope() operator is used on an external object. Overall, greatly 
   5254 improves the ability to actually recompile the emitted ASL code when 
   5255 objects a referenced across multiple ACPI tables. Reported by Michael 
   5256 Tsirkin (mst (a] redhat.com).
   5257 
   5258 Tests/ASLTS: Updated functional control suite to execute with no errors. 
   5259 David Box. Fixed several errors related to the testing of the interpreter 
   5260 slack mode. Lv Zheng.
   5261 
   5262 iASL: Added support to detect names that are declared within a control 
   5263 method, but are unused (these are temporary names that are only valid 
   5264 during the time the method is executing). A remark is issued for these 
   5265 cases. ACPICA BZ 1022.
   5266 
   5267 iASL: Added full support for the DBG2 table. Adds full disassembler, 
   5268 table compiler, and template generator support for the DBG2 table (Debug 
   5269 Port 2 table).
   5270 
   5271 iASL: Added full support for the PCCT table, update the table definition. 
   5272 Updates the PCCT table definition in the actbl3.h header and adds table 
   5273 compiler and template generator support.
   5274 
   5275 iASL: Added an option to emit only error messages (no warnings/remarks). 
   5276 The -ve option will enable only error messages, warnings and remarks are 
   5277 suppressed. This can simplify debugging when only the errors are 
   5278 important, such as when an ACPI table is disassembled and there are many 
   5279 warnings and remarks -- but only the actual errors are of real interest.
   5280 
   5281 Example ACPICA code (source/tools/examples): Updated the example code so 
   5282 that it builds to an actual working program, not just example code. Added 
   5283 ACPI tables and execution of an example control method in the DSDT. Added 
   5284 makefile support for Unix generation.
   5285 
   5286 
   5287 ----------------------------------------
   5288 15 November 2013. Summary of changes for version 20131115:
   5289 
   5290 This release is available at https://acpica.org/downloads
   5291 
   5292 
   5293 1) ACPICA kernel-resident subsystem:
   5294 
   5295 Resource Manager: Fixed loop termination for the "get AML length" 
   5296 function. The loop previously had an error termination on a NULL resource 
   5297 pointer, which can never happen since the loop simply increments a valid 
   5298 resource pointer. This fix changes the loop to terminate with an error on 
   5299 an invalid end-of-buffer condition. The problem can be seen as an 
   5300 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
   5301 corrupted resource descriptor, or a resource descriptor that is missing 
   5302 an END_TAG descriptor. Reported by Dan Carpenter 
   5303 <dan.carpenter (a] oracle.com>. Lv Zheng, Bob Moore.
   5304 
   5305 Table unload and ACPICA termination: Delete all attached data objects 
   5306 during namespace node deletion. This fix updates namespace node deletion 
   5307 to delete the entire list of attached objects (attached via 
   5308 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
   5309 1024. Tomasz Nowicki (tomasz.nowicki (a] linaro.org).
   5310 
   5311 ACPICA termination: Added support to delete all objects attached to the 
   5312 root namespace node. This fix deletes any and all objects that have been 
   5313 attached to the root node via AcpiAttachData. Previously, none of these 
   5314 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
   5315 
   5316 Debug output: Do not emit the function nesting level for the in-kernel 
   5317 build. The nesting level is really only useful during a single-thread 
   5318 execution. Therefore, only enable this output for the AcpiExec utility. 
   5319 Also, only emit the thread ID when executing under AcpiExec (Context 
   5320 switches are still always detected and a message is emitted). ACPICA BZ 
   5321 972.
   5322 
   5323 Example Code and Data Size: These are the sizes for the OS-independent 
   5324 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5325 debug version of the code includes the debug output trace mechanism and 
   5326 has a much larger code and data size.
   5327 
   5328   Current Release:
   5329     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
   5330     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
   5331   Previous Release:
   5332     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   5333     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   5334 
   5335 
   5336 2) iASL Compiler/Disassembler and Tools:
   5337 
   5338 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
   5339 correct portable POSIX header for terminal control functions.
   5340 
   5341 Disassembler: Fixed control method invocation issues related to the use 
   5342 of the CondRefOf() operator. The problem is seen in the disassembly where 
   5343 control method invocations may not be disassembled properly if the 
   5344 control method name has been used previously as an argument to CondRefOf. 
   5345 The solution is to not attempt to emit an external declaration for the 
   5346 CondRefOf target (it is not necessary in the first place). This prevents 
   5347 disassembler object type confusion. ACPICA BZ 988.
   5348 
   5349 Unix Makefiles: Added an option to disable compiler optimizations and the 
   5350 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
   5351 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
   5352 command line option for make (NOOPT) that disables all compiler 
   5353 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
   5354 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
   5355 1034. Lv Zheng, Bob Moore.
   5356 
   5357 Tests/ASLTS: Added options to specify individual test cases and modes. 
   5358 This allows testers running aslts.sh to optionally specify individual 
   5359 test modes and test cases. Also added an option to disable the forced 
   5360 generation of the ACPICA tools from source if desired. Lv Zheng.
   5361 
   5362 ----------------------------------------
   5363 27 September 2013. Summary of changes for version 20130927:
   5364 
   5365 This release is available at https://acpica.org/downloads
   5366 
   5367 
   5368 1) ACPICA kernel-resident subsystem:
   5369 
   5370 Fixed a problem with store operations to reference objects. This change 
   5371 fixes a problem where a Store operation to an ArgX object that contained 
   5372 a 
   5373 reference to a field object did not complete the automatic dereference 
   5374 and 
   5375 then write to the actual field object. Instead, the object type of the 
   5376 field object was inadvertently changed to match the type of the source 
   5377 operand. The new behavior will actually write to the field object (buffer 
   5378 field or field unit), thus matching the correct ACPI-defined behavior.
   5379 
   5380 Implemented support to allow the host to redefine individual OSL 
   5381 prototypes. This change enables the host to redefine OSL prototypes found 
   5382 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
   5383 with a macro or inlined function. Further, it allows the host to add any 
   5384 additional required modifiers such as __iomem, __init, __exit, etc., as 
   5385 necessary on a per-interface basis. Enables maximum flexibility for the 
   5386 OSL interfaces. Lv Zheng.
   5387 
   5388 Hardcoded the access width for the FADT-defined reset register. The ACPI 
   5389 specification requires the reset register width to be 8 bits. ACPICA now 
   5390 hardcodes the width to 8 and ignores the FADT width value. This provides 
   5391 compatibility with other ACPI implementations that have allowed BIOS code 
   5392 with bad register width values to go unnoticed. Matthew Garett, Bob 
   5393 Moore, 
   5394 Lv Zheng.
   5395 
   5396 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
   5397 used 
   5398 in the OSL header (acpiosxf). The change modifies the position of this 
   5399 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
   5400 build issues if the OSL defines the implementation of the interface to be 
   5401 an inline stub function. Lv Zheng.
   5402 
   5403 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
   5404 initialization interfaces. This change adds a new macro for the main init 
   5405 and terminate external interfaces in order to support hosts that require 
   5406 additional or different processing for these functions. Changed from 
   5407 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
   5408 Zheng, Bob Moore.
   5409 
   5410 Cleaned up the memory allocation macros for configurability. In the 
   5411 common 
   5412 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
   5413 respective AcpiOs* OSL interfaces. Two options:
   5414 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
   5415 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
   5416 2) For AcpiExec (and for debugging), the macros can optionally be 
   5417 resolved 
   5418 to the local ACPICA interfaces that track each allocation (local tracking 
   5419 is used to immediately detect memory leaks).
   5420 Lv Zheng.
   5421 
   5422 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
   5423 to predefine this macro to either TRUE or FALSE during the system build.
   5424 
   5425 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
   5426 
   5427 Example Code and Data Size: These are the sizes for the OS-independent 
   5428 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5429 debug version of the code includes the debug output trace mechanism and 
   5430 has a much larger code and data size.
   5431 
   5432   Current Release:
   5433     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
   5434     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
   5435   Previous Release:
   5436     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   5437     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   5438 
   5439 
   5440 2) iASL Compiler/Disassembler and Tools:
   5441 
   5442 iASL: Implemented wildcard support for the -e option. This simplifies use 
   5443 when there are many SSDTs that must be included to resolve external 
   5444 method 
   5445 declarations. ACPICA BZ 1041. Example:
   5446     iasl -e ssdt*.dat -d dsdt.dat
   5447 
   5448 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
   5449 adds a portable module that implements full history and limited line 
   5450 editing for Unix and Linux systems. It does not use readline() due to 
   5451 portability issues. Instead it uses the POSIX termio interface to put the 
   5452 terminal in raw input mode so that the various special keys can be 
   5453 trapped 
   5454 (such as up/down-arrow for history support and left/right-arrow for line 
   5455 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
   5456 
   5457 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
   5458 one or more spaces. This provides compatible with early or different 
   5459 versions of the AcpiDump utility. ACPICA BZ 1044.
   5460 
   5461 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
   5462 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
   5463 no other data. This change adds support to dump these tables. Any tables 
   5464 shorter than the length of an ACPI table header remain in error (an error 
   5465 message is emitted). Reported by Yi Li.
   5466 
   5467 Debugger: Echo actual command along with the "unknown command" message.
   5468 
   5469 ----------------------------------------
   5470 23 August 2013. Summary of changes for version 20130823:
   5471 
   5472 1) ACPICA kernel-resident subsystem:
   5473 
   5474 Implemented support for host-installed System Control Interrupt (SCI) 
   5475 handlers. Certain ACPI functionality requires the host to handle raw 
   5476 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
   5477 state support requires the host device driver to handle SCIs to examine 
   5478 if the doorbell has been activated. Multiple SCI handlers can be 
   5479 installed to allow for future expansion. New external interfaces are 
   5480 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
   5481 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
   5482 
   5483 Operation region support: Never locally free the handler "context" 
   5484 pointer. This change removes some dangerous code that attempts to free 
   5485 the handler context pointer in some (rare) circumstances. The owner of 
   5486 the handler owns this pointer and the ACPICA code should never touch it. 
   5487 Although not seen to be an issue in any kernel, it did show up as a 
   5488 problem (fault) under AcpiExec. Also, set the internal storage field for 
   5489 the context pointer to zero when the region is deactivated, simply for 
   5490 sanity. David Box. ACPICA BZ 1039.
   5491 
   5492 AcpiRead: On error, do not modify the return value target location. If an 
   5493 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
   5494 modify the target of the return value pointer. Makes the code consistent 
   5495 with the rest of ACPICA. Bjorn Helgaas.
   5496 
   5497 Example Code and Data Size: These are the sizes for the OS-independent 
   5498 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5499 debug version of the code includes the debug output trace mechanism and 
   5500 has a much larger code and data size.
   5501 
   5502   Current Release:
   5503     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
   5504     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   5505   Previous Release:
   5506     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   5507     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
   5508 
   5509 
   5510 2) iASL Compiler/Disassembler and Tools:
   5511 
   5512 AcpiDump: Implemented several new features and fixed some problems:
   5513 1) Added support to dump the RSDP, RSDT, and XSDT tables.
   5514 2) Added support for multiple table instances (SSDT, UEFI).
   5515 3) Added option to dump "customized" (overridden) tables (-c).
   5516 4) Fixed a problem where some table filenames were improperly 
   5517 constructed.
   5518 5) Improved some error messages, removed some unnecessary messages.
   5519 
   5520 iASL: Implemented additional support for disassembly of ACPI tables that 
   5521 contain invocations of external control methods. The -fe<file> option 
   5522 allows the import of a file that specifies the external methods along 
   5523 with the required number of arguments for each -- allowing for the 
   5524 correct disassembly of the table. This is a workaround for a limitation 
   5525 of AML code where the disassembler often cannot determine the number of 
   5526 arguments required for an external control method and generates incorrect 
   5527 ASL code. See the iASL reference for details. ACPICA BZ 1030.
   5528 
   5529 Debugger: Implemented a new command (paths) that displays the full 
   5530 pathnames (namepaths) and object types of all objects in the namespace. 
   5531 This is an alternative to the namespace command.
   5532 
   5533 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
   5534 mechanism and any installed handlers.
   5535 
   5536 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
   5537 This can occur if there are too many parent prefixes in a namepath (for 
   5538 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
   5539 
   5540 Application OSLs: Set the return value for the PCI read functions. These 
   5541 functions simply return AE_OK, but should set the return value to zero 
   5542 also. This change implements this. ACPICA BZ 1038.
   5543 
   5544 Debugger: Prevent possible command line buffer overflow. Increase the 
   5545 size of a couple of the debugger line buffers, and ensure that overflow 
   5546 cannot happen. ACPICA BZ 1037.
   5547 
   5548 iASL: Changed to abort immediately on serious errors during the parsing 
   5549 phase. Due to the nature of ASL, there is no point in attempting to 
   5550 compile these types of errors, and they typically end up causing a 
   5551 cascade of hundreds of errors which obscure the original problem.
   5552 
   5553 ----------------------------------------
   5554 25 July 2013. Summary of changes for version 20130725:
   5555 
   5556 1) ACPICA kernel-resident subsystem:
   5557 
   5558 Fixed a problem with the DerefOf operator where references to FieldUnits 
   5559 and BufferFields incorrectly returned the parent object, not the actual 
   5560 value of the object. After this change, a dereference of a FieldUnit 
   5561 reference results in a read operation on the field to get the value, and 
   5562 likewise, the appropriate BufferField value is extracted from the target 
   5563 buffer.
   5564 
   5565 Fixed a problem where the _WAK method could cause a fault under these 
   5566 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
   5567 method returned no value. The problem is rarely seen because most kernels 
   5568 run ACPICA in slack mode.
   5569 
   5570 For the DerefOf operator, a fatal error now results if an attempt is made 
   5571 to dereference a reference (created by the Index operator) to a NULL 
   5572 package element. Provides compatibility with other ACPI implementations, 
   5573 and this behavior will be added to a future version of the ACPI 
   5574 specification.
   5575 
   5576 The ACPI Power Management Timer (defined in the FADT) is now optional. 
   5577 This provides compatibility with other ACPI implementations and will 
   5578 appear in the next version of the ACPI specification. If there is no PM 
   5579 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
   5580 zero in the FADT indicates no PM timer.
   5581 
   5582 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
   5583 allows the host to globally enable/disable all vendor strings, all 
   5584 feature strings, or both. Intended to be primarily used for debugging 
   5585 purposes only. Lv Zheng.
   5586 
   5587 Expose the collected _OSI data to the host via a global variable. This 
   5588 data tracks the highest level vendor ID that has been invoked by the BIOS 
   5589 so that the host (and potentially ACPICA itself) can change behaviors 
   5590 based upon the age of the BIOS.
   5591 
   5592 Example Code and Data Size: These are the sizes for the OS-independent 
   5593 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5594 debug version of the code includes the debug output trace mechanism and 
   5595 has a much larger code and data size.
   5596 
   5597   Current Release:
   5598     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
   5599     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
   5600   Previous Release:
   5601     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   5602     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   5603 
   5604 
   5605 2) iASL Compiler/Disassembler and Tools:
   5606 
   5607 iASL: Created the following enhancements for the -so option (create 
   5608 offset table):
   5609 1)Add offsets for the last nameseg in each namepath for every supported 
   5610 object type
   5611 2)Add support for Processor, Device, Thermal Zone, and Scope objects
   5612 3)Add the actual AML opcode for the parent object of every supported 
   5613 object type
   5614 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
   5615 
   5616 Disassembler: Emit all unresolved external symbols in a single block. 
   5617 These are external references to control methods that could not be 
   5618 resolved, and thus, the disassembler had to make a guess at the number of 
   5619 arguments to parse.
   5620 
   5621 iASL: The argument to the -T option (create table template) is now 
   5622 optional. If not specified, the default table is a DSDT, typically the 
   5623 most common case.
   5624 
   5625 ----------------------------------------
   5626 26 June 2013. Summary of changes for version 20130626:
   5627 
   5628 1) ACPICA kernel-resident subsystem:
   5629 
   5630 Fixed an issue with runtime repair of the _CST object. Null or invalid 
   5631 elements were not always removed properly. Lv Zheng. 
   5632 
   5633 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
   5634 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
   5635 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
   5636 makes the system-wide number of GPEs essentially unlimited.
   5637 
   5638 Example Code and Data Size: These are the sizes for the OS-independent 
   5639 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5640 debug version of the code includes the debug output trace mechanism and 
   5641 has a much larger code and data size.
   5642 
   5643   Current Release:
   5644     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
   5645     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
   5646   Previous Release:
   5647     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   5648     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   5649 
   5650 
   5651 2) iASL Compiler/Disassembler and Tools:
   5652 
   5653 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
   5654 hosts. Now supports Linux, FreeBSD, and Windows.
   5655 
   5656 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
   5657 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
   5658 
   5659 iASL/Preprocessor: Implemented full support for nested 
   5660 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
   5661 
   5662 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
   5663 max. The original purpose of this constraint was to limit the amount of 
   5664 debug output. However, the string function in question (UtPrintString) is 
   5665 now used for the disassembler also, where 256 bytes is insufficient. 
   5666 Reported by RehabMan@GitHub.
   5667 
   5668 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
   5669 tables. ACPICA BZ 999. Lv Zheng.
   5670 
   5671 iASL: Fixed a couple of error exit issues that could result in a "Could 
   5672 not delete <file>" message during ASL compilation.
   5673 
   5674 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
   5675 the actual signatures for these tables are "FACP" and "APIC", 
   5676 respectively.
   5677 
   5678 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
   5679 tables are allowed to have multiple instances.
   5680 
   5681 ----------------------------------------
   5682 17 May 2013. Summary of changes for version 20130517:
   5683 
   5684 1) ACPICA kernel-resident subsystem:
   5685 
   5686 Fixed a regression introduced in version 20130328 for _INI methods. This 
   5687 change fixes a problem introduced in 20130328 where _INI methods are no 
   5688 longer executed properly because of a memory block that was not 
   5689 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
   5690 <tomasz.nowicki (a] linaro.org>.
   5691 
   5692 Fixed a possible problem with the new extended sleep registers in the 
   5693 ACPI 
   5694 5.0 FADT. Do not use these registers (even if populated) unless the HW-
   5695 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
   5696 1020. Lv Zheng.
   5697 
   5698 Implemented return value repair code for _CST predefined objects: Sort 
   5699 the 
   5700 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
   5701 
   5702 Implemented a debug-only option to disable loading of SSDTs from the 
   5703 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
   5704 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
   5705 acglobal.h - ACPICA BZ 1005. Lv Zheng.
   5706 
   5707 Fixed some issues in the ACPICA initialization and termination code: 
   5708 Tomasz Nowicki <tomasz.nowicki (a] linaro.org>
   5709 1) Clear events initialized flag upon event component termination. ACPICA 
   5710 BZ 1013.
   5711 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
   5712 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
   5713 4) Clear debug buffer global on termination to prevent possible multiple 
   5714 delete. ACPICA BZ 1010.
   5715 
   5716 Standardized all switch() blocks across the entire source base. After 
   5717 many 
   5718 years, different formatting for switch() had crept in. This change makes 
   5719 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
   5720 
   5721 Split some files to enhance ACPICA modularity and configurability:
   5722 1) Split buffer dump routines into utilities/utbuffer.c
   5723 2) Split internal error message routines into utilities/uterror.c
   5724 3) Split table print utilities into tables/tbprint.c
   5725 4) Split iASL command-line option processing into asloptions.c
   5726 
   5727 Makefile enhancements:
   5728 1) Support for all new files above.
   5729 2) Abort make on errors from any subcomponent. Chao Guan.
   5730 3) Add build support for Apple Mac OS X. Liang Qi.
   5731 
   5732 Example Code and Data Size: These are the sizes for the OS-independent 
   5733 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5734 debug version of the code includes the debug output trace mechanism and 
   5735 has a much larger code and data size.
   5736 
   5737   Current Release:
   5738     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
   5739     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
   5740   Previous Release:
   5741     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5742     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5743 
   5744 
   5745 2) iASL Compiler/Disassembler and Tools:
   5746 
   5747 New utility: Implemented an easily portable version of the acpidump 
   5748 utility to extract ACPI tables from the system (or a file) in an ASCII 
   5749 hex 
   5750 dump format. The top-level code implements the various command line 
   5751 options, file I/O, and table dump routines. To port to a new host, only 
   5752 three functions need to be implemented to get tables -- since this 
   5753 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
   5754 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
   5755 1) The Windows version obtains the ACPI tables from the Registry.
   5756 2) The Linux version is under development.
   5757 3) Other hosts - If an OS-dependent module is submitted, it will be 
   5758 distributed with ACPICA.
   5759 
   5760 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
   5761 restructuring/change to the initialization sequence caused this option to 
   5762 no longer work properly.
   5763 
   5764 iASL: Implemented a mechanism to disable specific warnings and remarks. 
   5765 Adds a new command line option, "-vw <messageid> as well as "#pragma 
   5766 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
   5767 
   5768 iASL: Fix for too-strict package object validation. The package object 
   5769 validation for return values from the predefined names is a bit too 
   5770 strict, it does not allow names references within the package (which will 
   5771 be resolved at runtime.) These types of references cannot be validated at 
   5772 compile time. This change ignores named references within package objects 
   5773 for names that return or define static packages.
   5774 
   5775 Debugger: Fixed the 80-character command line limitation for the History 
   5776 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
   5777 
   5778 iASL: Added control method and package support for the -so option 
   5779 (generates AML offset table for BIOS support.)
   5780 
   5781 iASL: issue a remark if a non-serialized method creates named objects. If 
   5782 a thread blocks within the method for any reason, and another thread 
   5783 enters the method, the method will fail because an attempt will be made 
   5784 to 
   5785 create the same (named) object twice. In this case, issue a remark that 
   5786 the method should be marked serialized. NOTE: may become a warning later. 
   5787 ACPICA BZ 909.
   5788 
   5789 ----------------------------------------
   5790 18 April 2013. Summary of changes for version 20130418:
   5791 
   5792 1) ACPICA kernel-resident subsystem:
   5793 
   5794 Fixed a possible buffer overrun during some rare but specific field unit 
   5795 read operations. This overrun can only happen if the DSDT version is 1 -- 
   5796 meaning that all AML integers are 32 bits -- and the field length is 
   5797 between 33 and 55 bits long. During the read, an internal buffer object 
   5798 is 
   5799 created for the field unit because the field is larger than an integer 
   5800 (32 
   5801 bits). However, in this case, the buffer will be incorrectly written 
   5802 beyond the end because the buffer length is less than the internal 
   5803 minimum 
   5804 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
   5805 long, but a full 8 bytes will be written.
   5806 
   5807 Updated the Embedded Controller "orphan" _REG method support. This refers 
   5808 to _REG methods under the EC device that have no corresponding operation 
   5809 region. This is allowed by the ACPI specification. This update removes a 
   5810 dependency on the existence an ECDT table. It will execute an orphan _REG 
   5811 method as long as the operation region handler for the EC is installed at 
   5812 the EC device node and not the namespace root. Rui Zhang (original 
   5813 update), Bob Moore (update/integrate).
   5814 
   5815 Implemented run-time argument typechecking for all predefined ACPI names 
   5816 (_STA, _BIF, etc.) This change performs object typechecking on all 
   5817 incoming arguments for all predefined names executed via 
   5818 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
   5819 passing correct object types as well as the correct number of arguments 
   5820 (therefore identifying any issues immediately). Also, the ASL/namespace 
   5821 definition of the predefined name is checked against the ACPI 
   5822 specification for the proper argument count. Adds one new file, 
   5823 nsarguments.c
   5824 
   5825 Changed an exception code for the ASL UnLoad() operator. Changed the 
   5826 exception code for the case where the input DdbHandle is invalid, from 
   5827 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
   5828 
   5829 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
   5830 global makefile. The use of this flag causes compiler errors on earlier 
   5831 versions of GCC, so it has been removed for compatibility.
   5832 
   5833 Miscellaneous cleanup:
   5834 1) Removed some unused/obsolete macros
   5835 2) Fixed a possible memory leak in the _OSI support
   5836 3) Removed an unused variable in the predefined name support
   5837 4) Windows OSL: remove obsolete reference to a memory list field
   5838 
   5839 Example Code and Data Size: These are the sizes for the OS-independent 
   5840 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5841 debug version of the code includes the debug output trace mechanism and 
   5842 has a much larger code and data size.
   5843 
   5844   Current Release:
   5845     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5846     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5847   Previous Release:
   5848     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
   5849     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
   5850 
   5851 
   5852 2) iASL Compiler/Disassembler and Tools:
   5853 
   5854 AcpiExec: Added installation of a handler for the SystemCMOS address 
   5855 space. This prevents control method abort if a method accesses this 
   5856 space.
   5857 
   5858 AcpiExec: Added support for multiple EC devices, and now install EC 
   5859 operation region handler(s) at the actual EC device instead of the 
   5860 namespace root. This reflects the typical behavior of host operating 
   5861 systems.
   5862 
   5863 AcpiExec: Updated to ensure that all operation region handlers are 
   5864 installed before the _REG methods are executed. This prevents a _REG 
   5865 method from aborting if it accesses an address space has no handler. 
   5866 AcpiExec installs a handler for every possible address space.
   5867 
   5868 Debugger: Enhanced the "handlers" command to display non-root handlers. 
   5869 This change enhances the handlers command to display handlers associated 
   5870 with individual devices throughout the namespace, in addition to the 
   5871 currently supported display of handlers associated with the root 
   5872 namespace 
   5873 node.
   5874 
   5875 ASL Test Suite: Several test suite errors have been identified and 
   5876 resolved, reducing the total error count during execution. Chao Guan.
   5877 
   5878 ----------------------------------------
   5879 28 March 2013. Summary of changes for version 20130328:
   5880 
   5881 1) ACPICA kernel-resident subsystem:
   5882 
   5883 Fixed several possible race conditions with the internal object reference 
   5884 counting mechanism. Some of the external ACPICA interfaces update object 
   5885 reference counts without holding the interpreter or namespace lock. This 
   5886 change adds a spinlock to protect reference count updates on the internal 
   5887 ACPICA objects. Reported by and with assistance from Andriy Gapon 
   5888 (avg (a] FreeBSD.org).
   5889 
   5890 FADT support: Removed an extraneous warning for very large GPE register 
   5891 sets. This change removes a size mismatch warning if the legacy length 
   5892 field for a GPE register set is larger than the 64-bit GAS structure can 
   5893 accommodate. GPE register sets can be larger than the 255-bit width 
   5894 limitation of the GAS structure. Linn Crosetto (linn (a] hp.com).
   5895 
   5896 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
   5897 return from this interface. Handles a possible timeout case if 
   5898 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
   5899 "forever". Jung-uk Kim.
   5900 
   5901 Predefined name support: Add allowed/required argument type information 
   5902 to 
   5903 the master predefined info table. This change adds the infrastructure to 
   5904 enable typechecking on incoming arguments for all predefined 
   5905 methods/objects. It does not actually contain the code that will fully 
   5906 utilize this information, this is still under development. Also condenses 
   5907 some duplicate code for the predefined names into a new module, 
   5908 utilities/utpredef.c
   5909 
   5910 Example Code and Data Size: These are the sizes for the OS-independent 
   5911 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   5912 debug version of the code includes the debug output trace mechanism and 
   5913 has a much larger code and data size.
   5914 
   5915   Previous Release:
   5916     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   5917     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   5918   Current Release:
   5919     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
   5920     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
   5921 
   5922 
   5923 2) iASL Compiler/Disassembler and Tools:
   5924 
   5925 iASL: Implemented a new option to simplify the development of ACPI-
   5926 related 
   5927 BIOS code. Adds support for a new "offset table" output file. The -so 
   5928 option will create a C table containing the AML table offsets of various 
   5929 named objects in the namespace so that BIOS code can modify them easily 
   5930 at 
   5931 boot time. This can simplify BIOS runtime code by eliminating expensive 
   5932 searches for "magic values", enhancing boot times and adding greater 
   5933 reliability. With assistance from Lee Hamel.
   5934 
   5935 iASL: Allow additional predefined names to return zero-length packages. 
   5936 Now, all predefined names that are defined by the ACPI specification to 
   5937 return a "variable-length package of packages" are allowed to return a 
   5938 zero length top-level package. This allows the BIOS to tell the host that 
   5939 the requested feature is not supported, and supports existing BIOS/ASL 
   5940 code and practices.
   5941 
   5942 iASL: Changed the "result not used" warning to an error. This is the case 
   5943 where an ASL operator is effectively a NOOP because the result of the 
   5944 operation is not stored anywhere. For example:
   5945     Add (4, Local0)
   5946 There is no target (missing 3rd argument), nor is the function return 
   5947 value used. This is potentially a very serious problem -- since the code 
   5948 was probably intended to do something, but for whatever reason, the value 
   5949 was not stored. Therefore, this issue has been upgraded from a warning to 
   5950 an error.
   5951 
   5952 AcpiHelp: Added allowable/required argument types to the predefined names 
   5953 info display. This feature utilizes the recent update to the predefined 
   5954 names table (above).
   5955 
   5956 ----------------------------------------
   5957 14 February 2013. Summary of changes for version 20130214:
   5958 
   5959 1) ACPICA Kernel-resident Subsystem:
   5960 
   5961 Fixed a possible regression on some hosts: Reinstated the safe return 
   5962 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
   5963 evaluated only once. Although these macros are not needed for the ACPICA 
   5964 code itself, they are often used by ACPI-related host device drivers 
   5965 where 
   5966 the safe feature may be necessary.
   5967 
   5968 Fixed several issues related to the ACPI 5.0 reduced hardware support 
   5969 (SOC): Now ensure that if the platform declares itself as hardware-
   5970 reduced 
   5971 via the FADT, the following functions become NOOPs (and always return 
   5972 AE_OK) because ACPI is always enabled by definition on these machines:
   5973   AcpiEnable
   5974   AcpiDisable
   5975   AcpiHwGetMode
   5976   AcpiHwSetMode
   5977 
   5978 Dynamic Object Repair: Implemented additional runtime repairs for 
   5979 predefined name return values. Both of these repairs can simplify code in 
   5980 the related device drivers that invoke these methods:
   5981 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
   5982 string to a Unicode buffer. 
   5983 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
   5984 a 
   5985 lone end tag descriptor in the following cases: A Return(0) was executed, 
   5986 a null buffer was returned, or no object at all was returned (non-slack 
   5987 mode only). Adds a new file, nsconvert.c
   5988 ACPICA BZ 998. Bob Moore, Lv Zheng.
   5989 
   5990 Resource Manager: Added additional code to prevent possible infinite 
   5991 loops 
   5992 while traversing corrupted or ill-formed resource template buffers. Check 
   5993 for zero-length resource descriptors in all code that loops through 
   5994 resource templates (the length field is used to index through the 
   5995 template). This change also hardens the external AcpiWalkResources and 
   5996 AcpiWalkResourceBuffer interfaces.
   5997 
   5998 Local Cache Manager: Enhanced the main data structure to eliminate an 
   5999 unnecessary mechanism to access the next object in the list. Actually 
   6000 provides a small performance enhancement for hosts that use the local 
   6001 ACPICA cache manager. Jung-uk Kim.
   6002 
   6003 Example Code and Data Size: These are the sizes for the OS-independent 
   6004 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6005 debug version of the code includes the debug output trace mechanism and 
   6006 has a much larger code and data size.
   6007 
   6008   Previous Release:
   6009     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   6010     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   6011   Current Release:
   6012     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
   6013     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
   6014 
   6015 
   6016 2) iASL Compiler/Disassembler and Tools:
   6017 
   6018 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
   6019 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
   6020 that were made to the ACPI 5.0 specification.
   6021 
   6022 iASL/Disassembler: Added full support for the following new ACPI tables:
   6023   1) The MTMR table (MID Timer Table)
   6024   2) The VRTC table (Virtual Real Time Clock Table).
   6025 Includes header file, disassembler, table compiler, and template support 
   6026 for both tables.
   6027 
   6028 iASL: Implemented compile-time validation of package objects returned by 
   6029 predefined names. This new feature validates static package objects 
   6030 returned by the various predefined names defined to return packages. Both 
   6031 object types and package lengths are validated, for both parent packages 
   6032 and sub-packages, if any. The code is similar in structure and behavior 
   6033 to 
   6034 the runtime repair mechanism within the AML interpreter and uses the 
   6035 existing predefined name information table. Adds a new file, aslprepkg.c. 
   6036 ACPICA BZ 938.
   6037 
   6038 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
   6039 This feature detects a binary file with a valid ACPI table header and 
   6040 invokes the disassembler automatically. Eliminates the need to 
   6041 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
   6042 
   6043 iASL/Disassembler: Added several warnings for the case where there are 
   6044 unresolved control methods during the disassembly. This can potentially 
   6045 cause errors when the output file is compiled, because the disassembler 
   6046 assumes zero method arguments in these cases (it cannot determine the 
   6047 actual number of arguments without resolution/definition of the method).
   6048 
   6049 Debugger: Added support to display all resources with a single command. 
   6050 Invocation of the resources command with no arguments will now display 
   6051 all 
   6052 resources within the current namespace.
   6053 
   6054 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
   6055 via the -e option.
   6056 
   6057 ----------------------------------------
   6058 17 January 2013. Summary of changes for version 20130117:
   6059 
   6060 1) ACPICA Kernel-resident Subsystem:
   6061 
   6062 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
   6063 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
   6064 objects to return a package containing one integer, most BIOS code 
   6065 returns 
   6066 two integers and the previous code reflects that. However, we also need 
   6067 to 
   6068 support BIOS code that actually implements to the ACPI spec, and this 
   6069 change reflects this.
   6070 
   6071 Fixed two issues with the ACPI_DEBUG_PRINT macros:
   6072 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
   6073 C compilers that require this support.
   6074 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
   6075 ACPI_DEBUG is already used by many of the various hosts.
   6076 
   6077 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
   6078 copyright to all module headers and signons, including the standard Linux 
   6079 header. This affects virtually every file in the ACPICA core subsystem, 
   6080 iASL compiler, all ACPICA utilities, and the test suites.
   6081 
   6082 Example Code and Data Size: These are the sizes for the OS-independent 
   6083 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6084 debug version of the code includes the debug output trace mechanism and 
   6085 has a much larger code and data size.
   6086 
   6087   Previous Release:
   6088     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   6089     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   6090   Current Release:
   6091     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
   6092     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
   6093 
   6094 
   6095 2) iASL Compiler/Disassembler and Tools:
   6096 
   6097 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
   6098 prevent a possible fault on some hosts. Some C libraries modify the arg 
   6099 pointer parameter to vfprintf making it difficult to call it twice in the 
   6100 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
   6101 does not affect the Windows OSL since the Win C library does not modify 
   6102 the arg pointer. Chao Guan, Bob Moore.
   6103 
   6104 iASL: Fixed a possible infinite loop when the maximum error count is 
   6105 reached. If an output file other than the .AML file is specified (such as 
   6106 a listing file), and the maximum number of errors is reached, do not 
   6107 attempt to flush data to the output file(s) as the compiler is aborting. 
   6108 This can cause an infinite loop as the max error count code essentially 
   6109 keeps calling itself.
   6110 
   6111 iASL/Disassembler: Added an option (-in) to ignore NOOP 
   6112 opcodes/operators. 
   6113 Implemented for both the compiler and the disassembler. Often, the NOOP 
   6114 opcode is used as padding for packages that are changed dynamically by 
   6115 the 
   6116 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
   6117 errors. This option causes the disassembler to ignore all NOOP opcodes 
   6118 (0xA3), and it also causes the compiler to ignore all ASL source code 
   6119 NOOP 
   6120 statements as well.
   6121 
   6122 Debugger: Enhanced the Sleep command to execute all sleep states. This 
   6123 change allows Sleep to be invoked with no arguments and causes the 
   6124 debugger to execute all of the sleep states, 0-5, automatically.
   6125 
   6126 ----------------------------------------
   6127 20 December 2012. Summary of changes for version 20121220:
   6128 
   6129 1) ACPICA Kernel-resident Subsystem:
   6130 
   6131 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
   6132 alternate entry point for AcpiWalkResources and improves the usability of 
   6133 the resource manager by accepting as input a buffer containing the output 
   6134 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
   6135 input buffer is not deleted by this interface so that it can be used by 
   6136 the host later. See the ACPICA reference for details.
   6137 
   6138 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
   6139 (DSDT version < 2). The constant will be truncated and this warning 
   6140 reflects that behavior.
   6141 
   6142 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
   6143 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
   6144 both get and set the new wake bit in these descriptors, separately from 
   6145 the existing share bit. Reported by Aaron Lu.
   6146 
   6147 Interpreter: Fix Store() when an implicit conversion is not possible. For 
   6148 example, in the cases such as a store of a string to an existing package 
   6149 object, implement the store as a CopyObject(). This is a small departure 
   6150 from the ACPI specification which states that the control method should 
   6151 be 
   6152 aborted in this case. However, the ASLTS suite depends on this behavior.
   6153 
   6154 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
   6155 macros: check if debug output is currently enabled as soon as possible to 
   6156 minimize performance impact if debug is in fact not enabled.
   6157 
   6158 Source code restructuring: Cleanup to improve modularity. The following 
   6159 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
   6160 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
   6161 Associated makefiles and project files have been updated.
   6162 
   6163 Changed an exception code for LoadTable operator. For the case where one 
   6164 of the input strings is too long, change the returned exception code from 
   6165 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
   6166 
   6167 Fixed a possible memory leak in dispatcher error path. On error, delete 
   6168 the mutex object created during method mutex creation. Reported by 
   6169 tim.gardner (a] canonical.com.
   6170 
   6171 Example Code and Data Size: These are the sizes for the OS-independent 
   6172 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6173 debug version of the code includes the debug output trace mechanism and 
   6174 has a much larger code and data size.
   6175 
   6176   Previous Release:
   6177     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   6178     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6179   Current Release:
   6180     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
   6181     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
   6182 
   6183 
   6184 2) iASL Compiler/Disassembler and Tools:
   6185 
   6186 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
   6187 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
   6188 will not allow the interpreter to differentiate between a method and a 
   6189 method invocation when these are used as an argument to the ObjectType 
   6190 operator. The ACPI specification change is to disallow a method 
   6191 invocation 
   6192 (UserTerm) for the ObjectType operator.
   6193 
   6194 Finish support for the TPM2 and CSRT tables in the headers, table 
   6195 compiler, and disassembler.
   6196 
   6197 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
   6198 always expires immediately if the semaphore is not available. The 
   6199 original 
   6200 code was using a relative-time timeout, but sem_timedwait requires the 
   6201 use 
   6202 of an absolute time.
   6203 
   6204 iASL: Added a remark if the Timer() operator is used within a 32-bit 
   6205 table. This operator returns a 64-bit time value that will be truncated 
   6206 within a 32-bit table.
   6207 
   6208 iASL Source code restructuring: Cleanup to improve modularity. The 
   6209 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
   6210 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
   6211 been updated.
   6212 
   6213 
   6214 ----------------------------------------
   6215 14 November 2012. Summary of changes for version 20121114:
   6216 
   6217 1) ACPICA Kernel-resident Subsystem:
   6218 
   6219 Implemented a performance enhancement for ACPI/AML Package objects. This 
   6220 change greatly increases the performance of Package objects within the 
   6221 interpreter. It changes the processing of reference counts for packages 
   6222 by 
   6223 optimizing for the most common case where the package sub-objects are 
   6224 either Integers, Strings, or Buffers. Increases the overall performance 
   6225 of 
   6226 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
   6227 2X.) 
   6228 Chao Guan. ACPICA BZ 943.
   6229 
   6230 Implemented and deployed common macros to extract flag bits from resource 
   6231 descriptors. Improves readability and maintainability of the code. Fixes 
   6232 a 
   6233 problem with the UART serial bus descriptor for the number of data bits 
   6234 flags (was incorrectly 2 bits, should be 3).
   6235 
   6236 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
   6237 of the macros and changed the SETx macros to the style of (destination, 
   6238 source). Also added ACPI_CASTx companion macros. Lv Zheng.
   6239 
   6240 Example Code and Data Size: These are the sizes for the OS-independent 
   6241 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6242 debug version of the code includes the debug output trace mechanism and 
   6243 has a much larger code and data size.
   6244 
   6245   Previous Release:
   6246     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   6247     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6248   Current Release:
   6249     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
   6250     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6251 
   6252 
   6253 2) iASL Compiler/Disassembler and Tools:
   6254 
   6255 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
   6256 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
   6257 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
   6258 
   6259 Disassembler: Fixed a problem with external declaration generation. Fixes 
   6260 a problem where an incorrect pathname could be generated for an external 
   6261 declaration if the original reference to the object includes leading 
   6262 carats (^). ACPICA BZ 984.
   6263 
   6264 Debugger: Completed a major update for the Disassemble<method> command. 
   6265 This command was out-of-date and did not properly disassemble control 
   6266 methods that had any reasonable complexity. This fix brings the command 
   6267 up 
   6268 to the same level as the rest of the disassembler. Adds one new file, 
   6269 dmdeferred.c, which is existing code that is now common with the main 
   6270 disassembler and the debugger disassemble command. ACPICA MZ 978.
   6271 
   6272 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
   6273 Newer versions of Bison emit this prototype, so moved the prototype out 
   6274 of 
   6275 the iASL header to where it is actually used in order to avoid a 
   6276 duplicate 
   6277 declaration.
   6278 
   6279 iASL/Tools: Standardized use of the stream I/O functions:
   6280   1) Ensure check for I/O error after every fopen/fread/fwrite
   6281   2) Ensure proper order of size/count arguments for fread/fwrite
   6282   3) Use test of (Actual != Requested) after all fwrite, and most fread
   6283   4) Standardize I/O error messages
   6284 Improves reliability and maintainability of the code. Bob Moore, Lv 
   6285 Zheng. 
   6286 ACPICA BZ 981.
   6287 
   6288 Disassembler: Prevent duplicate External() statements. During generation 
   6289 of external statements, detect similar pathnames that are actually 
   6290 duplicates such as these:
   6291   External (\ABCD)
   6292   External (ABCD)
   6293 Remove all leading '\' characters from pathnames during the external 
   6294 statement generation so that duplicates will be detected and tossed. 
   6295 ACPICA BZ 985.
   6296 
   6297 Tools: Replace low-level I/O with stream I/O functions. Replace 
   6298 open/read/write/close with the stream I/O equivalents 
   6299 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
   6300 Moore.
   6301 
   6302 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
   6303 name header so that AcpiXtract recognizes the output file/table.
   6304 
   6305 iASL: Remove obsolete -2 option flag. Originally intended to force the 
   6306 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
   6307 and the entire concept is now obsolete.
   6308 
   6309 ----------------------------------------
   6310 18 October 2012. Summary of changes for version 20121018:
   6311 
   6312 
   6313 1) ACPICA Kernel-resident Subsystem:
   6314 
   6315 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
   6316 introduced by late changes to the table as it was added to the ACPI 5.0 
   6317 specification. Includes header, disassembler, and data table compiler 
   6318 support as well as a new version of the MPST template.
   6319 
   6320 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
   6321 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
   6322 methods: _HID, _CID, and _UID.
   6323 
   6324 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
   6325 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
   6326 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
   6327 names for their various drivers. Affects the AcpiGetObjectInfo external 
   6328 interface, and other internal interfaces as well.
   6329 
   6330 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
   6331 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
   6332 on machines that support non-aligned transfers. Optimizes for this case 
   6333 rather than using a strncpy. With assistance from Zheng Lv.
   6334 
   6335 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
   6336 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
   6337 
   6338 Added a new debug print message for AML mutex objects that are force-
   6339 released. At control method termination, any currently acquired mutex 
   6340 objects are force-released. Adds a new debug-only message for each one 
   6341 that is released.
   6342 
   6343 Audited/updated all ACPICA return macros and the function debug depth 
   6344 counter: 1) Ensure that all functions that use the various TRACE macros 
   6345 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
   6346 return statements surround the return expression (value) with parens to 
   6347 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
   6348 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
   6349 
   6350 Global source code changes/maintenance: All extra lines at the start and 
   6351 end of each source file have been removed for consistency. Also, within 
   6352 comments, all new sentences start with a single space instead of a double 
   6353 space, again for consistency across the code base.
   6354 
   6355 Example Code and Data Size: These are the sizes for the OS-independent 
   6356 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6357 debug version of the code includes the debug output trace mechanism and 
   6358 has a much larger code and data size.
   6359 
   6360   Previous Release:
   6361     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   6362     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   6363   Current Release:
   6364     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
   6365     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
   6366 
   6367 
   6368 2) iASL Compiler/Disassembler and Tools:
   6369 
   6370 AcpiExec: Improved the algorithm used for memory leak/corruption 
   6371 detection. Added some intelligence to the code that maintains the global 
   6372 list of allocated memory. The list is now ordered by allocated memory 
   6373 address, significantly improving performance. When running AcpiExec on 
   6374 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
   6375 on the platform and/or the environment. Note, this performance 
   6376 enhancement affects the AcpiExec utility only, not the kernel-resident 
   6377 ACPICA code.
   6378 
   6379 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
   6380 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
   6381 incorrect table offset reported for invalid opcodes. Report the original 
   6382 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
   6383 
   6384 Disassembler: Enhanced the -vt option to emit the binary table data in 
   6385 hex format to assist with debugging.
   6386 
   6387 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
   6388 size of file structure. Colin Ian King.
   6389 
   6390 ----------------------------------------
   6391 13 September 2012. Summary of changes for version 20120913:
   6392 
   6393 
   6394 1) ACPICA Kernel-resident Subsystem:
   6395 
   6396 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
   6397 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
   6398 and 
   6399 MCE(6).
   6400  
   6401 Table Manager: Merged/removed duplicate code in the root table resize 
   6402 functions. One function is external, the other is internal. Lv Zheng, 
   6403 ACPICA 
   6404 BZ 846.
   6405 
   6406 Makefiles: Completely removed the obsolete "Linux" makefiles under 
   6407 acpica/generate/linux. These makefiles are obsolete and have been 
   6408 replaced 
   6409 by 
   6410 the generic unix makefiles under acpica/generate/unix.
   6411 
   6412 Makefiles: Ensure that binary files always copied properly. Minor rule 
   6413 change 
   6414 to ensure that the final binary output files are always copied up to the 
   6415 appropriate binary directory (bin32 or bin64.)
   6416 
   6417 Example Code and Data Size: These are the sizes for the OS-independent 
   6418 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6419 debug 
   6420 version of the code includes the debug output trace mechanism and has a 
   6421 much 
   6422 larger code and data size.
   6423 
   6424   Previous Release:
   6425     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   6426     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   6427   Current Release:
   6428     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
   6429     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
   6430 
   6431 
   6432 2) iASL Compiler/Disassembler and Tools:
   6433 
   6434 Disassembler: Fixed a possible fault during the disassembly of resource 
   6435 descriptors when a second parse is required because of the invocation of 
   6436 external control methods within the table. With assistance from 
   6437 adq (a] lidskialf.net. ACPICA BZ 976.
   6438 
   6439 iASL: Fixed a namepath optimization problem. An error can occur if the 
   6440 parse 
   6441 node that contains the namepath to be optimized does not have a parent 
   6442 node 
   6443 that is a named object. This change fixes the problem.
   6444 
   6445 iASL: Fixed a regression where the AML file is not deleted on errors. The 
   6446 AML 
   6447 output file should be deleted if there are any errors during the 
   6448 compiler. 
   6449 The 
   6450 only exception is if the -f (force output) option is used. ACPICA BZ 974.
   6451 
   6452 iASL: Added a feature to automatically increase internal line buffer 
   6453 sizes. 
   6454 Via realloc(), automatically increase the internal line buffer sizes as 
   6455 necessary to support very long source code lines. The current version of 
   6456 the 
   6457 preprocessor requires a buffer long enough to contain full source code 
   6458 lines. 
   6459 This change increases the line buffer(s) if the input lines go beyond the 
   6460 current buffer size. This eliminates errors that occurred when a source 
   6461 code 
   6462 line was longer than the buffer.
   6463 
   6464 iASL: Fixed a problem with constant folding in method declarations. The 
   6465 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
   6466 if a 
   6467 Type3 opcode was used.
   6468 
   6469 Debugger: Improved command help support. For incorrect argument count, 
   6470 display 
   6471 full help for the command. For help command itself, allow an argument to 
   6472 specify a command.
   6473 
   6474 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
   6475 errors during execution of the suite. Guan Chao.
   6476 
   6477 ----------------------------------------
   6478 16 August 2012. Summary of changes for version 20120816:
   6479 
   6480 
   6481 1) ACPICA Kernel-resident Subsystem:
   6482 
   6483 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
   6484 _GTS 
   6485 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
   6486 deprecated and will probably be removed from the ACPI specification. 
   6487 Windows 
   6488 does not invoke them, and reportedly never will. The final nail in the 
   6489 coffin 
   6490 is that the ACPI specification states that these methods must be run with 
   6491 interrupts off, which is not going to happen in a kernel interpreter. 
   6492 Note: 
   6493 Linux has removed all use of the methods also. It was discovered that 
   6494 invoking these functions caused failures on some machines, probably 
   6495 because 
   6496 they were never tested since Windows does not call them. Affects two 
   6497 external 
   6498 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
   6499 ACPICA BZ 969.
   6500 
   6501 Implemented support for complex bit-packed buffers returned from the _PLD 
   6502 (Physical Location of Device) predefined method. Adds a new external 
   6503 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
   6504 C 
   6505 structure. Note: C Bitfields cannot be used for this type of predefined 
   6506 structure since the memory layout of individual bitfields is not defined 
   6507 by 
   6508 the C language. In addition, there are endian concerns where a compiler 
   6509 will 
   6510 change the bitfield ordering based on the machine type. The new ACPICA 
   6511 interface eliminates these issues, and should be called after _PLD is 
   6512 executed. ACPICA BZ 954.
   6513 
   6514 Implemented a change to allow a scope change to root (via "Scope (\)") 
   6515 during 
   6516 execution of module-level ASL code (code that is executed at table load 
   6517 time.) Lin Ming.
   6518 
   6519 Added the Windows8/Server2012 string for the _OSI method. This change 
   6520 adds 
   6521 a 
   6522 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
   6523 2012.
   6524 
   6525 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
   6526 2) 
   6527 and CSRT (Core System Resource Table).
   6528 
   6529 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
   6530 names. This simplifies access to the buffers returned by these predefined 
   6531 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
   6532 
   6533 GPE support: Removed an extraneous parameter from the various low-level 
   6534 internal GPE functions. Tang Feng.
   6535 
   6536 Removed the linux makefiles from the unix packages. The generate/linux 
   6537 makefiles are obsolete and have been removed from the unix tarball 
   6538 release 
   6539 packages. The replacement makefiles are under generate/unix, and there is 
   6540 a 
   6541 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
   6542 
   6543 Updates for Unix makefiles:
   6544 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
   6545 2) Update linker flags (move to end of command line) for AcpiExec 
   6546 utility. 
   6547 Guan Chao.
   6548 
   6549 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
   6550 utxface.c to improve modularity and reduce file size.
   6551 
   6552 Example Code and Data Size: These are the sizes for the OS-independent 
   6553 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6554 debug version of the code includes the debug output trace mechanism and 
   6555 has a 
   6556 much larger code and data size.
   6557 
   6558   Previous Release:
   6559     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   6560     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   6561   Current Release:
   6562     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
   6563     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
   6564 
   6565 
   6566 2) iASL Compiler/Disassembler and Tools:
   6567 
   6568 iASL: Fixed a problem with constant folding for fixed-length constant 
   6569 expressions. The constant-folding code was not being invoked for constant 
   6570 expressions that allow the use of type 3/4/5 opcodes to generate 
   6571 constants 
   6572 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
   6573 result 
   6574 in the generation of invalid AML bytecode. ACPICA BZ 970.
   6575 
   6576 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
   6577 apparently automatically emit some of the necessary externals. This 
   6578 change 
   6579 handles these versions in order to eliminate generation warnings.
   6580 
   6581 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
   6582 
   6583 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
   6584 appears 
   6585 within comments in the output file.
   6586 
   6587 Debugger: Fixed a regression with the "Threads" command where 
   6588 AE_BAD_PARAMETER was always returned.
   6589 
   6590 ----------------------------------------
   6591 11 July 2012. Summary of changes for version 20120711:
   6592 
   6593 1) ACPICA Kernel-resident Subsystem:
   6594 
   6595 Fixed a possible fault in the return package object repair code. Fixes a 
   6596 problem that can occur when a lone package object is wrapped with an 
   6597 outer 
   6598 package object in order to force conformance to the ACPI specification. 
   6599 Can 
   6600 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
   6601 _DLM, 
   6602 _CSD, _PSD, _TSD.
   6603 
   6604 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
   6605 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
   6606 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
   6607 state 
   6608 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
   6609 both 
   6610 Intel and other vendors. (for Intel: ICH4-M and earlier)
   6611 
   6612 This change removes the code to disable/enable bus master arbitration 
   6613 during 
   6614 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
   6615 causes 
   6616 resume problems on some machines. The change has been in use for over 
   6617 seven 
   6618 years within Linux.
   6619 
   6620 Implemented two new external interfaces to support host-directed dynamic 
   6621 ACPI 
   6622 table load and unload. They are intended to simplify the host 
   6623 implementation 
   6624 of hot-plug support:
   6625   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
   6626   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
   6627 table.
   6628 See the ACPICA reference for additional details. Adds one new file, 
   6629 components/tables/tbxfload.c
   6630 
   6631 Implemented and deployed two new interfaces for errors and warnings that 
   6632 are 
   6633 known to be caused by BIOS/firmware issues:
   6634   AcpiBiosError: Prints "ACPI Firmware Error" message.
   6635   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
   6636 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
   6637 table 
   6638 and FADT errors. Additional deployment to be completed as appropriate in 
   6639 the 
   6640 future. The associated conditional macros are ACPI_BIOS_ERROR and 
   6641 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
   6642 ACPICA 
   6643 BZ 
   6644 843.
   6645 
   6646 Implicit notify support: ensure that no memory allocation occurs within a 
   6647 critical region. This fix moves a memory allocation outside of the time 
   6648 that a 
   6649 spinlock is held. Fixes issues on systems that do not allow this 
   6650 behavior. 
   6651 Jung-uk Kim.
   6652 
   6653 Split exception code utilities and tables into a new file, 
   6654 utilities/utexcep.c
   6655 
   6656 Example Code and Data Size: These are the sizes for the OS-independent 
   6657 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6658 debug 
   6659 version of the code includes the debug output trace mechanism and has a 
   6660 much 
   6661 larger code and data size.
   6662 
   6663   Previous Release:
   6664     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   6665     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   6666   Current Release:
   6667     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
   6668     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
   6669 
   6670 
   6671 2) iASL Compiler/Disassembler and Tools:
   6672 
   6673 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
   6674 of 
   6675 0. Jung-uk Kim.
   6676 
   6677 Debugger: Enhanced the "tables" command to emit additional information 
   6678 about 
   6679 the current set of ACPI tables, including the owner ID and flags decode.
   6680 
   6681 Debugger: Reimplemented the "unload" command to use the new 
   6682 AcpiUnloadParentTable external interface. This command was disable 
   6683 previously 
   6684 due to need for an unload interface.
   6685 
   6686 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
   6687 option 
   6688 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
   6689 
   6690 ----------------------------------------
   6691 20 June 2012. Summary of changes for version 20120620:
   6692 
   6693 
   6694 1) ACPICA Kernel-resident Subsystem:
   6695 
   6696 Implemented support to expand the "implicit notify" feature to allow 
   6697 multiple 
   6698 devices to be notified by a single GPE. This feature automatically 
   6699 generates a 
   6700 runtime device notification in the absence of a BIOS-provided GPE control 
   6701 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
   6702 notify is 
   6703 provided by ACPICA for Windows compatibility, and is a workaround for 
   6704 BIOS 
   6705 AML 
   6706 code errors. See the description of the AcpiSetupGpeForWake interface in 
   6707 the 
   6708 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
   6709 
   6710 Changed some comments and internal function names to simplify and ensure 
   6711 correctness of the Linux code translation. No functional changes.
   6712 
   6713 Example Code and Data Size: These are the sizes for the OS-independent 
   6714 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6715 debug 
   6716 version of the code includes the debug output trace mechanism and has a 
   6717 much 
   6718 larger code and data size.
   6719 
   6720   Previous Release:
   6721     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6722     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6723   Current Release:
   6724     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
   6725     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
   6726 
   6727 
   6728 2) iASL Compiler/Disassembler and Tools:
   6729 
   6730 Disassembler: Added support to emit short, commented descriptions for the 
   6731 ACPI 
   6732 predefined names in order to improve the readability of the disassembled 
   6733 output. ACPICA BZ 959. Changes include:
   6734   1) Emit descriptions for all standard predefined names (_INI, _STA, 
   6735 _PRW, 
   6736 etc.)
   6737   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
   6738   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
   6739 etc.)
   6740 
   6741 AcpiSrc: Fixed several long-standing Linux code translation issues. 
   6742 Argument 
   6743 descriptions in function headers are now translated properly to lower 
   6744 case 
   6745 and 
   6746 underscores. ACPICA BZ 961. Also fixes translation problems such as 
   6747 these: 
   6748 (old -> new)
   6749   i_aSL -> iASL
   6750   00-7_f -> 00-7F
   6751   16_k -> 16K
   6752   local_fADT -> local_FADT
   6753   execute_oSI -> execute_OSI
   6754 
   6755 iASL: Fixed a problem where null bytes were inadvertently emitted into 
   6756 some 
   6757 listing files.
   6758 
   6759 iASL: Added the existing debug options to the standard help screen. There 
   6760 are 
   6761 no longer two different help screens. ACPICA BZ 957.
   6762 
   6763 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
   6764 Also 
   6765 expand some of the descriptions where appropriate.
   6766 
   6767 iASL: Fixed the -ot option (display compile times/statistics). Was not 
   6768 working 
   6769 properly for standard output; only worked for the debug file case.
   6770 
   6771 ----------------------------------------
   6772 18 May 2012. Summary of changes for version 20120518:
   6773 
   6774 
   6775 1) ACPICA Core Subsystem:
   6776 
   6777 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
   6778 defined 
   6779 to block until asynchronous events such as notifies and GPEs have 
   6780 completed. 
   6781 Within ACPICA, it is only called before a notify or GPE handler is 
   6782 removed/uninstalled. It also may be useful for the host OS within related 
   6783 drivers such as the Embedded Controller driver. See the ACPICA reference 
   6784 for 
   6785 additional information. ACPICA BZ 868.
   6786 
   6787 ACPI Tables: Added a new error message for a possible overflow failure 
   6788 during 
   6789 the conversion of FADT 32-bit legacy register addresses to internal 
   6790 common 
   6791 64-
   6792 bit GAS structure representation. The GAS has a one-byte "bit length" 
   6793 field, 
   6794 thus limiting the register length to 255 bits. ACPICA BZ 953.
   6795 
   6796 Example Code and Data Size: These are the sizes for the OS-independent 
   6797 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6798 debug 
   6799 version of the code includes the debug output trace mechanism and has a 
   6800 much 
   6801 larger code and data size.
   6802 
   6803   Previous Release:
   6804     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6805     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6806   Current Release:
   6807     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
   6808     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
   6809 
   6810 
   6811 2) iASL Compiler/Disassembler and Tools:
   6812 
   6813 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
   6814 macro. 
   6815 This keyword was added late in the ACPI 5.0 release cycle and was not 
   6816 implemented until now.
   6817 
   6818 Disassembler: Added support for Operation Region externals. Adds missing 
   6819 support for operation regions that are defined in another table, and 
   6820 referenced locally via a Field or BankField ASL operator. Now generates 
   6821 the 
   6822 correct External statement.
   6823 
   6824 Disassembler: Several additional fixes for the External() statement 
   6825 generation 
   6826 related to some ASL operators. Also, order the External() statements 
   6827 alphabetically in the disassembler output. Fixes the External() 
   6828 generation 
   6829 for 
   6830 the Create* field, Alias, and Scope operators:
   6831  1) Create* buffer field operators - fix type mismatch warning on 
   6832 disassembly
   6833  2) Alias - implement missing External support
   6834  3) Scope - fix to make sure all necessary externals are emitted.
   6835 
   6836 iASL: Improved pathname support. For include files, merge the prefix 
   6837 pathname 
   6838 with the file pathname and eliminate unnecessary components. Convert 
   6839 backslashes in all pathnames to forward slashes, for readability. Include 
   6840 file 
   6841 pathname changes affect both #include and Include() type operators.
   6842 
   6843 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
   6844 end 
   6845 of a valid line by inserting a newline and then returning the EOF during 
   6846 the 
   6847 next call to GetNextLine. Prevents the line from being ignored due to EOF 
   6848 condition.
   6849 
   6850 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
   6851 Error 
   6852 and Warning messages are now correctly recognized for both the source 
   6853 code 
   6854 browser and the global error and warning counts.
   6855 
   6856 ----------------------------------------
   6857 20 April 2012. Summary of changes for version 20120420:
   6858 
   6859 
   6860 1) ACPICA Core Subsystem:
   6861 
   6862 Implemented support for multiple notify handlers. This change adds 
   6863 support 
   6864 to 
   6865 allow multiple system and device notify handlers on Device, Thermal Zone, 
   6866 and 
   6867 Processor objects. This can simplify the host OS notification 
   6868 implementation. 
   6869 Also re-worked and restructured the entire notify support code to 
   6870 simplify 
   6871 handler installation, handler removal, notify event queuing, and notify 
   6872 dispatch to handler(s). Note: there can still only be two global notify 
   6873 handlers - one for system notifies and one for device notifies. There are 
   6874 no 
   6875 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
   6876 Moore, Rafael Wysocki.
   6877 
   6878 Fixed a regression in the package repair code where the object reference 
   6879 count was calculated incorrectly. Regression was introduced in the commit 
   6880 "Support to add Package wrappers".
   6881 
   6882 Fixed a couple possible memory leaks in the AML parser, in the error 
   6883 recovery 
   6884 path. Jesper Juhl, Lin Ming.
   6885 
   6886 Example Code and Data Size: These are the sizes for the OS-independent 
   6887 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   6888 debug version of the code includes the debug output trace mechanism and 
   6889 has a 
   6890 much larger code and data size.
   6891 
   6892   Previous Release:
   6893     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6894     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   6895   Current Release:
   6896     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   6897     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
   6898 
   6899 
   6900 2) iASL Compiler/Disassembler and Tools:
   6901 
   6902 iASL: Fixed a problem with the resource descriptor support where the 
   6903 length 
   6904 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
   6905 included in cumulative descriptor offset, resulting in incorrect values 
   6906 for 
   6907 resource tags within resource descriptors appearing after a 
   6908 StartDependent* 
   6909 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
   6910 
   6911 iASL and Preprocessor: Implemented full support for the #line directive 
   6912 to 
   6913 correctly track original source file line numbers through the .i 
   6914 preprocessor 
   6915 output file - for error and warning messages.
   6916 
   6917 iASL: Expand the allowable byte constants for address space IDs. 
   6918 Previously, 
   6919 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
   6920 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
   6921 
   6922 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
   6923 
   6924 iASL: Add option to completely disable the preprocessor (-Pn).
   6925 
   6926 iASL: Now emit all error/warning messages to standard error (stderr) by 
   6927 default (instead of the previous stdout).
   6928 
   6929 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
   6930 Update 
   6931 for resource descriptor offset fix above. Update/cleanup error output 
   6932 routines. Enable and send iASL errors/warnings to an error logfile 
   6933 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
   6934 Fixed 
   6935 several extraneous "unrecognized operator" messages.
   6936 
   6937 ----------------------------------------
   6938 20 March 2012. Summary of changes for version 20120320:
   6939 
   6940 
   6941 1) ACPICA Core Subsystem:
   6942 
   6943 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
   6944 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
   6945 apparently 
   6946 does not execute these methods, and therefore these methods are often 
   6947 untested. It has been seen on some systems where the execution of these 
   6948 methods causes errors and also prevents the machine from entering S5. It 
   6949 is 
   6950 therefore suggested that host operating systems do not execute these 
   6951 methods 
   6952 by default. In the future, perhaps these methods can be optionally 
   6953 executed 
   6954 based on the age of the system and/or what is the newest version of 
   6955 Windows 
   6956 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
   6957 and 
   6958 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
   6959 Ming.
   6960 
   6961 Fixed a problem where the length of the local/common FADT was set too 
   6962 early. 
   6963 The local FADT table length cannot be set to the common length until the 
   6964 original length has been examined. There is code that checks the table 
   6965 length 
   6966 and sets various fields appropriately. This can affect older machines 
   6967 with 
   6968 early FADT versions. For example, this can cause inadvertent writes to 
   6969 the 
   6970 CST_CNT register. Julian Anastasov.
   6971 
   6972 Fixed a mapping issue related to a physical table override. Use the 
   6973 deferred 
   6974 mapping mechanism for tables loaded via the physical override OSL 
   6975 interface. 
   6976 This allows for early mapping before the virtual memory manager is 
   6977 available. 
   6978 Thomas Renninger, Bob Moore.
   6979 
   6980 Enhanced the automatic return-object repair code: Repair a common problem 
   6981 with 
   6982 predefined methods that are defined to return a variable-length Package 
   6983 of 
   6984 sub-objects. If there is only one sub-object, some BIOS ASL code 
   6985 mistakenly 
   6986 simply returns the single object instead of a Package with one sub-
   6987 object. 
   6988 This new support will repair this error by wrapping a Package object 
   6989 around 
   6990 the original object, creating the correct and expected Package with one 
   6991 sub-
   6992 object. Names that can be repaired in this manner include: _ALR, _CSD, 
   6993 _HPX, 
   6994 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
   6995 939.
   6996 
   6997 Changed the exception code returned for invalid ACPI paths passed as 
   6998 parameters to external interfaces such as AcpiEvaluateObject. Was 
   6999 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
   7000 
   7001 Example Code and Data Size: These are the sizes for the OS-independent 
   7002 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7003 debug 
   7004 version of the code includes the debug output trace mechanism and has a 
   7005 much 
   7006 larger code and data size.
   7007 
   7008   Previous Release:
   7009     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   7010     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   7011   Current Release:
   7012     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
   7013     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   7014 
   7015 
   7016 2) iASL Compiler/Disassembler and Tools:
   7017 
   7018 iASL: Added the infrastructure and initial implementation of a integrated 
   7019 C-
   7020 like preprocessor. This will simplify BIOS development process by 
   7021 eliminating 
   7022 the need for a separate preprocessing step during builds. On Windows, it 
   7023 also 
   7024 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
   7025 features including full #define() macro support are still under 
   7026 development. 
   7027 These preprocessor directives are supported:
   7028     #define
   7029     #elif
   7030     #else
   7031     #endif
   7032     #error
   7033     #if
   7034     #ifdef
   7035     #ifndef
   7036     #include
   7037     #pragma message
   7038     #undef
   7039     #warning
   7040 In addition, these new command line options are supported:
   7041     -D <symbol> Define symbol for preprocessor use
   7042     -li         Create preprocessed output file (*.i)
   7043     -P          Preprocess only and create preprocessor output file (*.i)
   7044 
   7045 Table Compiler: Fixed a problem where the equals operator within an 
   7046 expression 
   7047 did not work properly.
   7048 
   7049 Updated iASL to use the current versions of Bison/Flex. Updated the 
   7050 Windows 
   7051 project file to invoke these tools from the standard location. ACPICA BZ 
   7052 904. 
   7053 Versions supported:
   7054     Flex for Windows:  V2.5.4
   7055     Bison for Windows: V2.4.1
   7056 
   7057 ----------------------------------------
   7058 15 February 2012. Summary of changes for version 20120215:
   7059 
   7060 
   7061 1) ACPICA Core Subsystem:
   7062 
   7063 There have been some major changes to the sleep/wake support code, as 
   7064 described below (a - e).
   7065 
   7066 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
   7067 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
   7068 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
   7069 the 
   7070 time the _BFS method is called and the _WAK method is called. NOTE: all 
   7071 hosts 
   7072 must update their wake/resume code or else sleep/wake will not work 
   7073 properly. 
   7074 Rafael Wysocki.
   7075 
   7076 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
   7077 _WAK 
   7078 method. Some machines require that the GPEs are enabled before the _WAK 
   7079 method 
   7080 is executed. Thomas Renninger.
   7081 
   7082 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
   7083 bit. 
   7084 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
   7085 to 
   7086 determine whether the system is rebooting or resuming. Matthew Garrett.
   7087 
   7088 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
   7089 Sleep) to 
   7090 match the ACPI specification requirement. Rafael Wysocki.
   7091 
   7092 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
   7093 registers within the V5 FADT. This support adds two new files: 
   7094 hardware/hwesleep.c implements the support for the new registers. Moved 
   7095 all 
   7096 sleep/wake external interfaces to hardware/hwxfsleep.c.
   7097 
   7098 
   7099 Added a new OSL interface for ACPI table overrides, 
   7100 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
   7101 table via a physical address, instead of the logical address required by 
   7102 AcpiOsTableOverride. This simplifies the host implementation. Initial 
   7103 implementation by Thomas Renninger. The ACPICA implementation creates a 
   7104 single 
   7105 shared function for table overrides that attempts both a logical and a 
   7106 physical override.
   7107 
   7108 Expanded the OSL memory read/write interfaces to 64-bit data 
   7109 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
   7110 transfer support for GAS register structures passed to AcpiRead and 
   7111 AcpiWrite.
   7112 
   7113 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
   7114 custom 
   7115 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
   7116 model. 
   7117 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
   7118 about 
   7119 10% of the code and 5% of the static data, and the following hardware 
   7120 ACPI 
   7121 features become unavailable:
   7122     PM Event and Control registers
   7123     SCI interrupt (and handler)
   7124     Fixed Events
   7125     General Purpose Events (GPEs)
   7126     Global Lock
   7127     ACPI PM timer
   7128 
   7129 Updated the unix tarball directory structure to match the ACPICA git 
   7130 source 
   7131 tree. This ensures that the generic unix makefiles work properly (in 
   7132 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
   7133 867.
   7134 
   7135 Updated the return value of the _REV predefined method to integer value 5 
   7136 to 
   7137 reflect ACPI 5.0 support.
   7138 
   7139 Moved the external ACPI PM timer interface prototypes to the public 
   7140 acpixf.h 
   7141 file where they belong.
   7142 
   7143 Example Code and Data Size: These are the sizes for the OS-independent 
   7144 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7145 debug 
   7146 version of the code includes the debug output trace mechanism and has a 
   7147 much 
   7148 larger code and data size.
   7149 
   7150   Previous Release:
   7151     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   7152     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   7153   Current Release:
   7154     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
   7155     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
   7156 
   7157 
   7158 2) iASL Compiler/Disassembler and Tools:
   7159 
   7160 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
   7161 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
   7162 incorrectly displayed.
   7163 
   7164 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
   7165 specification.
   7166 
   7167 ----------------------------------------
   7168 11 January 2012. Summary of changes for version 20120111:
   7169 
   7170 
   7171 1) ACPICA Core Subsystem:
   7172 
   7173 Implemented a new mechanism to allow host device drivers to check for 
   7174 address 
   7175 range conflicts with ACPI Operation Regions. Both SystemMemory and 
   7176 SystemIO 
   7177 address spaces are supported. A new external interface, 
   7178 AcpiCheckAddressRange, 
   7179 allows drivers to check an address range against the ACPI namespace. See 
   7180 the 
   7181 ACPICA reference for additional details. Adds one new file, 
   7182 utilities/utaddress.c. Lin Ming, Bob Moore.
   7183 
   7184 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
   7185 Control 
   7186 and 
   7187 Status registers, update the ACPI 5.0 flags, and update internal data 
   7188 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
   7189 5.0 
   7190 FADT is 268 bytes.
   7191 
   7192 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
   7193 copyright to 
   7194 all module headers and signons, including the standard Linux header. This 
   7195 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
   7196 and 
   7197 all ACPICA utilities.
   7198 
   7199 Example Code and Data Size: These are the sizes for the OS-independent 
   7200 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7201 debug 
   7202 version of the code includes the debug output trace mechanism and has a 
   7203 much 
   7204 larger code and data size.
   7205 
   7206   Previous Release:
   7207     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   7208     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   7209   Current Release:
   7210     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
   7211     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
   7212 
   7213 
   7214 2) iASL Compiler/Disassembler and Tools:
   7215 
   7216 Disassembler: fixed a problem with the automatic resource tag generation 
   7217 support. Fixes a problem where the resource tags are inadvertently not 
   7218 constructed if the table being disassembled contains external references 
   7219 to 
   7220 control methods. Moved the actual construction of the tags to after the 
   7221 final 
   7222 namespace is constructed (after 2nd parse is invoked due to external 
   7223 control 
   7224 method references.) ACPICA BZ 941.
   7225 
   7226 Table Compiler: Make all "generic" operators caseless. These are the 
   7227 operators 
   7228 like UINT8, String, etc. Making these caseless improves ease-of-use. 
   7229 ACPICA BZ 
   7230 934.
   7231 
   7232 ----------------------------------------
   7233 23 November 2011. Summary of changes for version 20111123:
   7234 
   7235 0) ACPI 5.0 Support:
   7236 
   7237 This release contains full support for the ACPI 5.0 specification, as 
   7238 summarized below.
   7239 
   7240 Reduced Hardware Support:
   7241 -------------------------
   7242 
   7243 This support allows for ACPI systems without the usual ACPI hardware. 
   7244 This 
   7245 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
   7246 will 
   7247 not attempt to initialize or use any of the usual ACPI hardware. Note, 
   7248 when 
   7249 this flag is set, all of the following ACPI hardware is assumed to be not 
   7250 present and is not initialized or accessed:
   7251 
   7252     General Purpose Events (GPEs)
   7253     Fixed Events (PM1a/PM1b and PM Control)
   7254     Power Management Timer and Console Buttons (power/sleep)
   7255     Real-time Clock Alarm
   7256     Global Lock
   7257     System Control Interrupt (SCI)
   7258     The FACS is assumed to be non-existent
   7259 
   7260 ACPI Tables:
   7261 ------------
   7262 
   7263 All new tables and updates to existing tables are fully supported in the 
   7264 ACPICA headers (for use by device drivers), the disassembler, and the 
   7265 iASL 
   7266 Data Table Compiler. ACPI 5.0 defines these new tables:
   7267 
   7268     BGRT        /* Boot Graphics Resource Table */
   7269     DRTM        /* Dynamic Root of Trust for Measurement table */
   7270     FPDT        /* Firmware Performance Data Table */
   7271     GTDT        /* Generic Timer Description Table */
   7272     MPST        /* Memory Power State Table */
   7273     PCCT        /* Platform Communications Channel Table */
   7274     PMTT        /* Platform Memory Topology Table */
   7275     RASF        /* RAS Feature table */
   7276 
   7277 Operation Regions/SpaceIDs:
   7278 ---------------------------
   7279 
   7280 All new operation regions are fully supported by the iASL compiler, the 
   7281 disassembler, and the ACPICA runtime code (for dispatch to region 
   7282 handlers.) 
   7283 The new operation region Space IDs are:
   7284 
   7285     GeneralPurposeIo
   7286     GenericSerialBus
   7287 
   7288 Resource Descriptors:
   7289 ---------------------
   7290 
   7291 All new ASL resource descriptors are fully supported by the iASL 
   7292 compiler, 
   7293 the 
   7294 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
   7295 (including 
   7296 all new predefined resource tags). New descriptors are:
   7297 
   7298     FixedDma
   7299     GpioIo
   7300     GpioInt
   7301     I2cSerialBus
   7302     SpiSerialBus
   7303     UartSerialBus
   7304 
   7305 ASL/AML Operators, New and Modified:
   7306 ------------------------------------
   7307 
   7308 One new operator is added, the Connection operator, which is used to 
   7309 associate 
   7310 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
   7311 individual 
   7312 field objects within an operation region. Several new protocols are 
   7313 associated 
   7314 with the AccessAs operator. All are fully supported by the iASL compiler, 
   7315 disassembler, and runtime ACPICA AML interpreter:
   7316 
   7317     Connection                      // Declare Field Connection 
   7318 attributes
   7319     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
   7320     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
   7321 Protocol
   7322     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
   7323     RawDataBuffer                       // Data type for Vendor Data 
   7324 fields
   7325 
   7326 Predefined ASL/AML Objects:
   7327 ---------------------------
   7328 
   7329 All new predefined objects/control-methods are supported by the iASL 
   7330 compiler 
   7331 and the ACPICA runtime validation/repair (arguments and return values.) 
   7332 New 
   7333 predefined names include the following:
   7334 
   7335 Standard Predefined Names (Objects or Control Methods):
   7336     _AEI, _CLS, _CPC, _CWS, _DEP,
   7337     _DLM, _EVT, _GCP, _CRT, _GWS,
   7338     _HRV, _PRE, _PSE, _SRT, _SUB.
   7339 
   7340 Resource Tags (Names used to access individual fields within resource 
   7341 descriptors):
   7342     _DBT, _DPL, _DRS, _END, _FLC,
   7343     _IOR, _LIN, _MOD, _PAR, _PHA,
   7344     _PIN, _PPI, _POL, _RXL, _SLV,
   7345     _SPE, _STB, _TXL, _VEN.
   7346 
   7347 ACPICA External Interfaces:
   7348 ---------------------------
   7349 
   7350 Several new interfaces have been defined for use by ACPI-related device 
   7351 drivers and other host OS services:
   7352 
   7353 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
   7354 to 
   7355 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
   7356 provided by the BIOS. They are intended to be used in conjunction with 
   7357 the 
   7358 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
   7359 mutual exclusion with the AML code/interpreter.
   7360 
   7361 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
   7362 defined 
   7363 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
   7364 provides 
   7365 resource descriptors associated with hardware-reduced platform events, 
   7366 similar 
   7367 to the AcpiGetCurrentResources interface.
   7368 
   7369 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
   7370 operation regions, information about the Connection() object and any 
   7371 optional 
   7372 length information is passed to the region handler within the Context 
   7373 parameter.
   7374 
   7375 AcpiBufferToResource: This interface converts a raw AML buffer containing 
   7376 a 
   7377 resource template or resource descriptor to the ACPI_RESOURCE internal 
   7378 format 
   7379 suitable for use by device drivers. Can be used by an operation region 
   7380 handler 
   7381 to convert the Connection() buffer object into a ACPI_RESOURCE.
   7382 
   7383 Miscellaneous/Tools/TestSuites: 
   7384 -------------------------------
   7385 
   7386 Support for extended _HID names (Four alpha characters instead of three).
   7387 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
   7388 Support for ACPI 5.0 features in the ASLTS test suite.
   7389 Fully updated documentation (ACPICA and iASL reference documents.)
   7390 
   7391 ACPI Table Definition Language:
   7392 -------------------------------
   7393 
   7394 Support for this language was implemented and released as a subsystem of 
   7395 the 
   7396 iASL compiler in 2010. (See the iASL compiler User Guide.)
   7397 
   7398 
   7399 Non-ACPI 5.0 changes for this release:
   7400 --------------------------------------
   7401 
   7402 1) ACPICA Core Subsystem:
   7403 
   7404 Fix a problem with operation region declarations where a failure can 
   7405 occur 
   7406 if 
   7407 the region name and an argument that evaluates to an object (such as the 
   7408 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
   7409 937.
   7410 
   7411 Do not abort an ACPI table load if an invalid space ID is found within. 
   7412 This 
   7413 will be caught later if the offending method is executed. ACPICA BZ 925.
   7414 
   7415 Fixed an issue with the FFixedHW space ID where the ID was not always 
   7416 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
   7417 
   7418 Fixed a problem with the 32-bit generation of the unix-specific OSL 
   7419 (osunixxf.c). Lin Ming, ACPICA BZ 936.
   7420 
   7421 Several changes made to enable generation with the GCC 4.6 compiler. 
   7422 ACPICA BZ 
   7423 935.
   7424 
   7425 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
   7426 Index/Bank 
   7427 field registers out-of-range.
   7428 
   7429 2) iASL Compiler/Disassembler and Tools:
   7430 
   7431 iASL: Implemented the __PATH__ operator, which returns the full pathname 
   7432 of 
   7433 the current source file.
   7434 
   7435 AcpiHelp: Automatically display expanded keyword information for all ASL 
   7436 operators.
   7437 
   7438 Debugger: Add "Template" command to disassemble/dump resource template 
   7439 buffers.
   7440 
   7441 Added a new master script to generate and execute the ASLTS test suite. 
   7442 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
   7443 
   7444 iASL: Fix problem with listing generation during processing of the 
   7445 Switch() 
   7446 operator where AML listing was disabled until the entire Switch block was 
   7447 completed.
   7448 
   7449 iASL: Improve support for semicolon statement terminators. Fix "invalid 
   7450 character" message for some cases when the semicolon is used. Semicolons 
   7451 are 
   7452 now allowed after every <Term> grammar element. ACPICA BZ 927.
   7453 
   7454 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
   7455 923.
   7456 
   7457 Disassembler: Fix problem with disassembly of the DataTableRegion 
   7458 operator 
   7459 where an inadvertent "Unhandled deferred opcode" message could be 
   7460 generated.
   7461 
   7462 3) Example Code and Data Size
   7463 
   7464 These are the sizes for the OS-independent acpica.lib produced by the 
   7465 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   7466 includes the debug output trace mechanism and has a much larger code and 
   7467 data 
   7468 size.
   7469 
   7470   Previous Release:
   7471     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7472     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7473   Current Release:
   7474     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
   7475     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
   7476 
   7477 ----------------------------------------
   7478 22 September 2011. Summary of changes for version 20110922:
   7479 
   7480 0) ACPI 5.0 News:
   7481 
   7482 Support for ACPI 5.0 in ACPICA has been underway for several months and 
   7483 will 
   7484 be released at the same time that ACPI 5.0 is officially released.
   7485 
   7486 The ACPI 5.0 specification is on track for release in the next few 
   7487 months.
   7488  
   7489 1) ACPICA Core Subsystem:
   7490 
   7491 Fixed a problem where the maximum sleep time for the Sleep() operator was 
   7492 intended to be limited to two seconds, but was inadvertently limited to 
   7493 20 
   7494 seconds instead.
   7495 
   7496 Linux and Unix makefiles: Added header file dependencies to ensure 
   7497 correct 
   7498 generation of ACPICA core code and utilities. Also simplified the 
   7499 makefiles 
   7500 considerably through the use of the vpath variable to specify search 
   7501 paths. 
   7502 ACPICA BZ 924.
   7503 
   7504 2) iASL Compiler/Disassembler and Tools:
   7505 
   7506 iASL: Implemented support to check the access length for all fields 
   7507 created to 
   7508 access named Resource Descriptor fields. For example, if a resource field 
   7509 is 
   7510 defined to be two bits, a warning is issued if a CreateXxxxField() is 
   7511 used 
   7512 with an incorrect bit length. This is implemented for all current 
   7513 resource 
   7514 descriptor names. ACPICA BZ 930.
   7515   
   7516 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
   7517 56-
   7518 bit integers.
   7519 
   7520 iASL: Fixed a couple of issues associated with variable-length package 
   7521 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
   7522 a 
   7523 VAR_PACKAGE when these are used as a package length. 2) Allow the 
   7524 VAR_PACKAGE 
   7525 opcode (in addition to PACKAGE) when validating object types for 
   7526 predefined 
   7527 names.
   7528 
   7529 iASL: Emit statistics for all output files (instead of just the ASL input 
   7530 and 
   7531 AML output). Includes listings, hex files, etc.
   7532 
   7533 iASL: Added -G option to the table compiler to allow the compilation of 
   7534 custom 
   7535 ACPI tables. The only part of a table that is required is the standard 
   7536 36-
   7537 byte 
   7538 ACPI header.
   7539 
   7540 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
   7541 headers), 
   7542 which also adds correct 64-bit support. Also, now all output filenames 
   7543 are 
   7544 completely lower case.
   7545 
   7546 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
   7547 loading table files. A warning is issued for any such tables. The only 
   7548 exception is an FADT. This also fixes a possible fault when attempting to 
   7549 load 
   7550 non-AML tables. ACPICA BZ 932.
   7551 
   7552 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
   7553 a 
   7554 missing table terminator could cause a fault when using the -p option.
   7555 
   7556 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
   7557 statistics.
   7558 
   7559 3) Example Code and Data Size
   7560 
   7561 These are the sizes for the OS-independent acpica.lib produced by the 
   7562 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
   7563 includes the debug output trace mechanism and has a much larger code and 
   7564 data 
   7565 size.
   7566 
   7567   Previous Release (VC 9.0):
   7568     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7569     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7570   Current Release (VC 9.0):
   7571     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7572     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7573 
   7574 
   7575 ----------------------------------------
   7576 23 June 2011. Summary of changes for version 20110623:
   7577 
   7578 1) ACPI CA Core Subsystem:
   7579 
   7580 Updated the predefined name repair mechanism to not attempt repair of a 
   7581 _TSS 
   7582 return object if a _PSS object is present. We can only sort the _TSS 
   7583 return 
   7584 package if there is no _PSS within the same scope. This is because if 
   7585 _PSS 
   7586 is 
   7587 present, the ACPI specification dictates that the _TSS Power Dissipation 
   7588 field 
   7589 is to be ignored, and therefore some BIOSs leave garbage values in the 
   7590 _TSS 
   7591 Power field(s). In this case, it is best to just return the _TSS package 
   7592 as-
   7593 is. Reported by, and fixed with assistance from Fenghua Yu.
   7594 
   7595 Added an option to globally disable the control method return value 
   7596 validation 
   7597 and repair. This runtime option can be used to disable return value 
   7598 repair 
   7599 if 
   7600 this is causing a problem on a particular machine. Also added an option 
   7601 to 
   7602 AcpiExec (-dr) to set this disable flag.
   7603 
   7604 All makefiles and project files: Major changes to improve generation of 
   7605 ACPICA 
   7606 tools. ACPICA BZ 912:
   7607     Reduce default optimization levels to improve compatibility
   7608     For Linux, add strict-aliasing=0 for gcc 4
   7609     Cleanup and simplify use of command line defines
   7610     Cleanup multithread library support
   7611     Improve usage messages
   7612 
   7613 Linux-specific header: update handling of THREAD_ID and pthread. For the 
   7614 32-
   7615 bit case, improve casting to eliminate possible warnings, especially with 
   7616 the 
   7617 acpica tools.
   7618 
   7619 Example Code and Data Size: These are the sizes for the OS-independent 
   7620 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7621 debug 
   7622 version of the code includes the debug output trace mechanism and has a 
   7623 much 
   7624 larger code and data size.
   7625 
   7626   Previous Release (VC 9.0):
   7627     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   7628     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7629   Current Release (VC 9.0):
   7630     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
   7631     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7632 
   7633 2) iASL Compiler/Disassembler and Tools:
   7634 
   7635 With this release, a new utility named "acpihelp" has been added to the 
   7636 ACPICA 
   7637 package. This utility summarizes the ACPI specification chapters for the 
   7638 ASL 
   7639 and AML languages. It generates under Linux/Unix as well as Windows, and 
   7640 provides the following functionality:
   7641     Find/display ASL operator(s) -- with description and syntax.
   7642     Find/display ASL keyword(s) -- with exact spelling and descriptions.
   7643     Find/display ACPI predefined name(s) -- with description, number
   7644         of arguments, and the return value data type.
   7645     Find/display AML opcode name(s) -- with opcode, arguments, and 
   7646 grammar.
   7647     Decode/display AML opcode -- with opcode name, arguments, and 
   7648 grammar.
   7649 
   7650 Service Layers: Make multi-thread support configurable. Conditionally 
   7651 compile 
   7652 the multi-thread support so that threading libraries will not be linked 
   7653 if 
   7654 not 
   7655 necessary. The only tool that requires multi-thread support is AcpiExec.
   7656 
   7657 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
   7658 of 
   7659 Bison appear to want the interface to yyerror to be a const char * (or at 
   7660 least this is a problem when generating iASL on some systems.) ACPICA BZ 
   7661 923 
   7662 Pierre Lejeune.
   7663 
   7664 Tools: Fix for systems where O_BINARY is not defined. Only used for 
   7665 Windows 
   7666 versions of the tools.
   7667 
   7668 ----------------------------------------
   7669 27 May 2011. Summary of changes for version 20110527:
   7670 
   7671 1) ACPI CA Core Subsystem:
   7672 
   7673 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
   7674 table 
   7675 signature. Now, only allow SSDT, OEMx, and a null signature. History:
   7676     1) Originally, we checked the table signature for "SSDT" or "PSDT".
   7677        (PSDT is now obsolete.)
   7678     2) We added support for OEMx tables, signature "OEM" plus a fourth
   7679        "don't care" character.
   7680     3) Valid tables were encountered with a null signature, so we just
   7681        gave up on validating the signature, (05/2008).
   7682     4) We encountered non-AML tables such as the MADT, which caused
   7683        interpreter errors and kernel faults. So now, we once again allow
   7684        only SSDT, OEMx, and now, also a null signature. (05/2011).
   7685 
   7686 Added the missing _TDL predefined name to the global name list in order 
   7687 to 
   7688 enable validation. Affects both the core ACPICA code and the iASL 
   7689 compiler.
   7690 
   7691 Example Code and Data Size: These are the sizes for the OS-independent 
   7692 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7693 debug 
   7694 version of the code includes the debug output trace mechanism and has a 
   7695 much 
   7696 larger code and data size.
   7697 
   7698   Previous Release (VC 9.0):
   7699     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   7700     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   7701   Current Release (VC 9.0):
   7702     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
   7703     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
   7704 
   7705 2) iASL Compiler/Disassembler and Tools:
   7706 
   7707 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
   7708 the 
   7709 debugger command line. This adds support beyond simple integers -- 
   7710 including 
   7711 Strings, Buffers, and Packages. Includes support for nested packages. 
   7712 Increased the default command line buffer size to accommodate these 
   7713 arguments. 
   7714 See the ACPICA reference for details and syntax. ACPICA BZ 917.
   7715  
   7716 Debugger/AcpiExec: Implemented support for "default" method arguments for 
   7717 the 
   7718 Execute/Debug command. Now, the debugger will always invoke a control 
   7719 method 
   7720 with the required number of arguments -- even if the command line 
   7721 specifies 
   7722 none or insufficient arguments. It uses default integer values for any 
   7723 missing 
   7724 arguments. Also fixes a bug where only six method arguments maximum were 
   7725 supported instead of the required seven.
   7726 
   7727 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
   7728 and 
   7729 also return status in order to prevent buffer overruns. See the ACPICA 
   7730 reference for details and syntax. ACPICA BZ 921
   7731 
   7732 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
   7733 makefiles to simplify support for the two different but similar parser 
   7734 generators, bison and yacc.
   7735 
   7736 Updated the generic unix makefile for gcc 4. The default gcc version is 
   7737 now 
   7738 expected to be 4 or greater, since options specific to gcc 4 are used.
   7739 
   7740 ----------------------------------------
   7741 13 April 2011. Summary of changes for version 20110413:
   7742 
   7743 1) ACPI CA Core Subsystem:
   7744 
   7745 Implemented support to execute a so-called "orphan" _REG method under the 
   7746 EC 
   7747 device. This change will force the execution of a _REG method underneath 
   7748 the 
   7749 EC 
   7750 device even if there is no corresponding operation region of type 
   7751 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
   7752 compatible with Windows behavior. ACPICA BZ 875.
   7753 
   7754 Added more predefined methods that are eligible for automatic NULL 
   7755 package 
   7756 element removal. This change adds another group of predefined names to 
   7757 the 
   7758 list 
   7759 of names that can be repaired by having NULL package elements dynamically 
   7760 removed. This group are those methods that return a single variable-
   7761 length 
   7762 package containing simple data types such as integers, buffers, strings. 
   7763 This 
   7764 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
   7765 _PSL, 
   7766 _Sx, 
   7767 and _TZD. ACPICA BZ 914.
   7768 
   7769 Split and segregated all internal global lock functions to a new file, 
   7770 evglock.c.
   7771 
   7772 Updated internal address SpaceID for DataTable regions. Moved this 
   7773 internal 
   7774 space 
   7775 id in preparation for ACPI 5.0 changes that will include some new space 
   7776 IDs. 
   7777 This 
   7778 change should not affect user/host code.
   7779 
   7780 Example Code and Data Size: These are the sizes for the OS-independent 
   7781 acpica.lib 
   7782 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7783 version of 
   7784 the code includes the debug output trace mechanism and has a much larger 
   7785 code 
   7786 and 
   7787 data size.
   7788 
   7789   Previous Release (VC 9.0):
   7790     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7791     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7792   Current Release (VC 9.0):
   7793     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
   7794     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
   7795 
   7796 2) iASL Compiler/Disassembler and Tools:
   7797 
   7798 iASL/DTC: Major update for new grammar features. Allow generic data types 
   7799 in 
   7800 custom ACPI tables. Field names are now optional. Any line can be split 
   7801 to 
   7802 multiple lines using the continuation char (\). Large buffers now use 
   7803 line-
   7804 continuation character(s) and no colon on the continuation lines. See the 
   7805 grammar 
   7806 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
   7807 Moore.
   7808 
   7809 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
   7810 statements. 
   7811 Since the parser stuffs a "zero" as the return value for these statements 
   7812 (due 
   7813 to 
   7814 the underlying AML grammar), they were seen as "return with value" by the 
   7815 iASL 
   7816 semantic checking. They are now seen correctly as "null" return 
   7817 statements.
   7818 
   7819 iASL: Check if a_REG declaration has a corresponding Operation Region. 
   7820 Adds a 
   7821 check for each _REG to ensure that there is in fact a corresponding 
   7822 operation 
   7823 region declaration in the same scope. If not, the _REG method is not very 
   7824 useful 
   7825 since it probably won't be executed. ACPICA BZ 915.
   7826 
   7827 iASL/DTC: Finish support for expression evaluation. Added a new 
   7828 expression 
   7829 parser 
   7830 that implements c-style operator precedence and parenthesization. ACPICA 
   7831 bugzilla 
   7832 908.
   7833 
   7834 Disassembler/DTC: Remove support for () and <> style comments in data 
   7835 tables. 
   7836 Now 
   7837 that DTC has full expression support, we don't want to have comment 
   7838 strings 
   7839 that 
   7840 start with a parentheses or a less-than symbol. Now, only the standard /* 
   7841 and 
   7842 // 
   7843 comments are supported, as well as the bracket [] comments.
   7844 
   7845 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
   7846 "unusual" 
   7847 headers in the acpidump file. Update the header validation to support 
   7848 these 
   7849 tables. Problem introduced in previous AcpiXtract version in the change 
   7850 to 
   7851 support "wrong checksum" error messages emitted by acpidump utility.
   7852 
   7853 iASL: Add a * option to generate all template files (as a synonym for 
   7854 ALL) 
   7855 as 
   7856 in 
   7857 "iasl -T *" or "iasl -T ALL".
   7858 
   7859 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
   7860 completely 
   7861 abort the compiler on "fatal" errors, simply should abort the current 
   7862 compile. 
   7863 This allows multiple compiles with a single (possibly wildcard) compiler 
   7864 invocation.
   7865 
   7866 ----------------------------------------
   7867 16 March 2011. Summary of changes for version 20110316:
   7868 
   7869 1) ACPI CA Core Subsystem:
   7870 
   7871 Fixed a problem caused by a _PRW method appearing at the namespace root 
   7872 scope 
   7873 during the setup of wake GPEs. A fault could occur if a _PRW directly 
   7874 under 
   7875 the 
   7876 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
   7877 
   7878 Implemented support for "spurious" Global Lock interrupts. On some 
   7879 systems, a 
   7880 global lock interrupt can occur without the pending flag being set. Upon 
   7881 a 
   7882 GL 
   7883 interrupt, we now ensure that a thread is actually waiting for the lock 
   7884 before 
   7885 signaling GL availability. Rafael Wysocki, Bob Moore.
   7886 
   7887 Example Code and Data Size: These are the sizes for the OS-independent 
   7888 acpica.lib 
   7889 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
   7890 version of 
   7891 the code includes the debug output trace mechanism and has a much larger 
   7892 code 
   7893 and 
   7894 data size.
   7895 
   7896   Previous Release (VC 9.0):
   7897     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7898     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7899   Current Release (VC 9.0):
   7900     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
   7901     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
   7902 
   7903 2) iASL Compiler/Disassembler and Tools:
   7904 
   7905 Implemented full support for the "SLIC" ACPI table. Includes support in 
   7906 the 
   7907 header files, disassembler, table compiler, and template generator. Bob 
   7908 Moore, 
   7909 Lin Ming.
   7910 
   7911 AcpiXtract: Correctly handle embedded comments and messages from 
   7912 AcpiDump. 
   7913 Apparently some or all versions of acpidump will occasionally emit a 
   7914 comment 
   7915 like 
   7916 "Wrong checksum", etc., into the dump file. This was causing problems for 
   7917 AcpiXtract. ACPICA BZ 905.
   7918 
   7919 iASL: Fix the Linux makefile by removing an inadvertent double file 
   7920 inclusion. 
   7921 ACPICA BZ 913.
   7922 
   7923 AcpiExec: Update installation of operation region handlers. Install one 
   7924 handler 
   7925 for a user-defined address space. This is used by the ASL test suite 
   7926 (ASLTS).
   7927 
   7928 ----------------------------------------
   7929 11 February 2011. Summary of changes for version 20110211:
   7930 
   7931 1) ACPI CA Core Subsystem:
   7932 
   7933 Added a mechanism to defer _REG methods for some early-installed 
   7934 handlers. 
   7935 Most user handlers should be installed before call to 
   7936 AcpiEnableSubsystem. 
   7937 However, Event handlers and region handlers should be installed after 
   7938 AcpiInitializeObjects. Override handlers for the "default" regions should 
   7939 be 
   7940 installed early, however. This change executes all _REG methods for the 
   7941 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
   7942 chicken/egg issues between them. ACPICA BZ 848.
   7943 
   7944 Implemented an optimization for GPE detection. This optimization will 
   7945 simply 
   7946 ignore GPE registers that contain no enabled GPEs -- there is no need to 
   7947 read the register since this information is available internally. This 
   7948 becomes more important on machines with a large GPE space. ACPICA 
   7949 bugzilla 
   7950 884. Lin Ming. Suggestion from Joe Liu.
   7951 
   7952 Removed all use of the highly unreliable FADT revision field. The 
   7953 revision 
   7954 number in the FADT has been found to be completely unreliable and cannot 
   7955 be 
   7956 trusted. Only the actual table length can be used to infer the version. 
   7957 This 
   7958 change updates the ACPICA core and the disassembler so that both no 
   7959 longer 
   7960 even look at the FADT version and instead depend solely upon the FADT 
   7961 length.
   7962 
   7963 Fix an unresolved name issue for the no-debug and no-error-message source 
   7964 generation cases. The _AcpiModuleName was left undefined in these cases, 
   7965 but 
   7966 it is actually needed as a parameter to some interfaces. Define 
   7967 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
   7968 
   7969 Split several large files (makefiles and project files updated)
   7970   utglobal.c   -> utdecode.c
   7971   dbcomds.c    -> dbmethod.c dbnames.c
   7972   dsopcode.c   -> dsargs.c dscontrol.c
   7973   dsload.c     -> dsload2.c
   7974   aslanalyze.c -> aslbtypes.c aslwalks.c
   7975 
   7976 Example Code and Data Size: These are the sizes for the OS-independent 
   7977 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   7978 debug version of the code includes the debug output trace mechanism and 
   7979 has 
   7980 a much larger code and data size.
   7981 
   7982   Previous Release (VC 9.0):
   7983     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7984     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7985   Current Release (VC 9.0):
   7986     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   7987     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   7988 
   7989 2) iASL Compiler/Disassembler and Tools:
   7990 
   7991 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
   7992 These are useful C-style macros with the standard definitions. ACPICA 
   7993 bugzilla 898.
   7994 
   7995 iASL/DTC: Added support for integer expressions and labels. Support for 
   7996 full 
   7997 expressions for all integer fields in all ACPI tables. Support for labels 
   7998 in 
   7999 "generic" portions of tables such as UEFI. See the iASL reference manual.
   8000 
   8001 Debugger: Added a command to display the status of global handlers. The 
   8002 "handlers" command will display op region, fixed event, and miscellaneous 
   8003 global handlers. installation status -- and for op regions, whether 
   8004 default 
   8005 or user-installed handler will be used.
   8006 
   8007 iASL: Warn if reserved method incorrectly returns a value. Many 
   8008 predefined 
   8009 names are defined such that they do not return a value. If implemented as 
   8010 a 
   8011 method, issue a warning if such a name explicitly returns a value. ACPICA 
   8012 Bugzilla 855.
   8013 
   8014 iASL: Added detection of GPE method name conflicts. Detects a conflict 
   8015 where 
   8016 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
   8017 (For 
   8018 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
   8019 
   8020 iASL/DTC: Fixed a couple input scanner issues with comments and line 
   8021 numbers. Comment remover could get confused and miss a comment ending. 
   8022 Fixed 
   8023 a problem with line counter maintenance.
   8024 
   8025 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
   8026 is 
   8027 no need to abort on simple errors within a field definition.
   8028 
   8029 Debugger: Simplified the output of the help command. All help output now 
   8030 in 
   8031 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
   8032 
   8033 ----------------------------------------
   8034 12 January 2011. Summary of changes for version 20110112:
   8035 
   8036 1) ACPI CA Core Subsystem:
   8037 
   8038 Fixed a race condition between method execution and namespace walks that 
   8039 can 
   8040 possibly cause a fault. The problem was apparently introduced in version 
   8041 20100528 as a result of a performance optimization that reduces the 
   8042 number 
   8043 of 
   8044 namespace walks upon method exit by using the delete_namespace_subtree 
   8045 function instead of the delete_namespace_by_owner function used 
   8046 previously. 
   8047 Bug is a missing namespace lock in the delete_namespace_subtree function. 
   8048 dana.myers (a] oracle.com
   8049 
   8050 Fixed several issues and a possible fault with the automatic "serialized" 
   8051 method support. History: This support changes a method to "serialized" on 
   8052 the 
   8053 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
   8054 possibility that it cannot handle reentrancy. This fix repairs a couple 
   8055 of 
   8056 issues seen in the field, especially on machines with many cores:
   8057 
   8058     1) Delete method children only upon the exit of the last thread,
   8059        so as to not delete objects out from under other running threads
   8060       (and possibly causing a fault.)
   8061     2) Set the "serialized" bit for the method only upon the exit of the
   8062        Last thread, so as to not cause deadlock when running threads
   8063        attempt to exit.
   8064     3) Cleanup the use of the AML "MethodFlags" and internal method flags
   8065        so that there is no longer any confusion between the two.
   8066 
   8067     Lin Ming, Bob Moore. Reported by dana.myers (a] oracle.com.
   8068 
   8069 Debugger: Now lock the namespace for duration of a namespace dump. 
   8070 Prevents 
   8071 issues if the namespace is changing dynamically underneath the debugger. 
   8072 Especially affects temporary namespace nodes, since the debugger displays 
   8073 these also.
   8074 
   8075 Updated the ordering of include files. The ACPICA headers should appear 
   8076 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
   8077 set 
   8078 any necessary compiler-specific defines, etc. Affects the ACPI-related 
   8079 tools 
   8080 and utilities.
   8081 
   8082 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
   8083 copyright 
   8084 to all module headers and signons, including the Linux header. This 
   8085 affects 
   8086 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
   8087 utilities.
   8088 
   8089 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
   8090 project files for VC++ 6.0 are now obsolete. New project files can be 
   8091 found 
   8092 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
   8093 details.
   8094 
   8095 Example Code and Data Size: These are the sizes for the OS-independent 
   8096 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
   8097 debug version of the code includes the debug output trace mechanism and 
   8098 has a 
   8099 much larger code and data size.
   8100 
   8101   Previous Release (VC 6.0):
   8102     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   8103     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   8104   Current Release (VC 9.0):
   8105     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
   8106     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
   8107 
   8108 2) iASL Compiler/Disassembler and Tools:
   8109 
   8110 iASL: Added generic data types to the Data Table compiler. Add "generic" 
   8111 data 
   8112 types such as UINT32, String, Unicode, etc., to simplify the generation 
   8113 of 
   8114 platform-defined tables such as UEFI. Lin Ming.
   8115 
   8116 iASL: Added listing support for the Data Table Compiler. Adds listing 
   8117 support 
   8118 (-l) to display actual binary output for each line of input code.
   8119 
   8120 ----------------------------------------
   8121 09 December 2010. Summary of changes for version 20101209:
   8122 
   8123 1) ACPI CA Core Subsystem:
   8124 
   8125 Completed the major overhaul of the GPE support code that was begun in 
   8126 July 
   8127 2010. Major features include: removal of _PRW execution in ACPICA (host 
   8128 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
   8129 changes to existing interfaces, simplification of GPE handler operation, 
   8130 and 
   8131 a handful of new interfaces:
   8132 
   8133     AcpiUpdateAllGpes
   8134     AcpiFinishGpe
   8135     AcpiSetupGpeForWake
   8136     AcpiSetGpeWakeMask
   8137     One new file, evxfgpe.c to consolidate all external GPE interfaces.
   8138 
   8139 See the ACPICA Programmer Reference for full details and programming 
   8140 information. See the new section 4.4 "General Purpose Event (GPE) 
   8141 Support" 
   8142 for a full overview, and section 8.7 "ACPI General Purpose Event 
   8143 Management" 
   8144 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
   8145 Ming, 
   8146 Bob Moore, Rafael Wysocki.
   8147 
   8148 Implemented a new GPE feature for Windows compatibility, the "Implicit 
   8149 Wake 
   8150 GPE Notify". This feature will automatically issue a Notify(2) on a 
   8151 device 
   8152 when a Wake GPE is received if there is no corresponding GPE method or 
   8153 handler. ACPICA BZ 870.
   8154 
   8155 Fixed a problem with the Scope() operator during table parse and load 
   8156 phase. 
   8157 During load phase (table load or method execution), the scope operator 
   8158 should 
   8159 not enter the target into the namespace. Instead, it should open a new 
   8160 scope 
   8161 at the target location. Linux BZ 19462, ACPICA BZ 882.
   8162 
   8163 Example Code and Data Size: These are the sizes for the OS-independent 
   8164 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8165 debug version of the code includes the debug output trace mechanism and 
   8166 has a 
   8167 much larger code and data size.
   8168 
   8169   Previous Release:
   8170     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
   8171     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
   8172   Current Release:
   8173     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8174     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8175 
   8176 2) iASL Compiler/Disassembler and Tools:
   8177 
   8178 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
   8179 are 
   8180 "bus-specific" per the ACPI specification, and therefore any characters 
   8181 are 
   8182 acceptable. The only checks that can be performed are for a null string 
   8183 and 
   8184 perhaps for a leading asterisk. ACPICA BZ 886.
   8185 
   8186 iASL: Fixed a problem where a syntax error that caused a premature EOF 
   8187 condition on the source file emitted a very confusing error message. The 
   8188 premature EOF is now detected correctly. ACPICA BZ 891.
   8189 
   8190 Disassembler: Decode the AccessSize within a Generic Address Structure 
   8191 (byte 
   8192 access, word access, etc.) Note, this field does not allow arbitrary bit 
   8193 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
   8194 
   8195 New: AcpiNames utility - Example namespace dump utility. Shows an example 
   8196 of 
   8197 ACPICA configuration for a minimal namespace dump utility. Uses table and 
   8198 namespace managers, but no AML interpreter. Does not add any 
   8199 functionality 
   8200 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
   8201 partition and configure ACPICA. ACPICA BZ 883.
   8202 
   8203 AML Debugger: Increased the debugger buffer size for method return 
   8204 objects. 
   8205 Was 4K, increased to 16K. Also enhanced error messages for debugger 
   8206 method 
   8207 execution, including the buffer overflow case.
   8208 
   8209 ----------------------------------------
   8210 13 October 2010. Summary of changes for version 20101013:
   8211 
   8212 1) ACPI CA Core Subsystem:
   8213 
   8214 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
   8215 now 
   8216 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
   8217 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
   8218 
   8219 Changed the type of the predefined namespace object _TZ from ThermalZone 
   8220 to 
   8221 Device. This was found to be confusing to the host software that 
   8222 processes 
   8223 the various thermal zones, since _TZ is not really a ThermalZone. 
   8224 However, 
   8225 a 
   8226 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
   8227 Zhang.
   8228 
   8229 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
   8230 string is "Windows 2006 SP2".
   8231 
   8232 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
   8233 nsrepair 
   8234 code automatically repairs _HID-related strings, this type of code is no 
   8235 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
   8236 878.
   8237 
   8238 Example Code and Data Size: These are the sizes for the OS-independent 
   8239 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8240 debug version of the code includes the debug output trace mechanism and 
   8241 has a 
   8242 much larger code and data size.
   8243 
   8244   Previous Release:
   8245     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8246     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8247   Current Release:
   8248     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8249     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8250 
   8251 2) iASL Compiler/Disassembler and Tools:
   8252 
   8253 iASL: Implemented additional compile-time validation for _HID strings. 
   8254 The 
   8255 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
   8256 length 
   8257 of 
   8258 the string must be exactly seven or eight characters. For both _HID and 
   8259 _CID 
   8260 strings, all characters must be alphanumeric. ACPICA BZ 874.
   8261 
   8262 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
   8263 descriptors that are mostly or all zeros, with the expectation that they 
   8264 will 
   8265 be filled in at runtime. iASL now allows this as long as there is a 
   8266 "resource 
   8267 tag" (name) associated with the descriptor, which gives the ASL a handle 
   8268 needed to modify the descriptor. ACPICA BZ 873.
   8269 
   8270 Added single-thread support to the generic Unix application OSL. 
   8271 Primarily 
   8272 for iASL support, this change removes the use of semaphores in the 
   8273 single-
   8274 threaded ACPICA tools/applications - increasing performance. The 
   8275 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
   8276 option. ACPICA BZ 879.
   8277 
   8278 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
   8279 support 
   8280 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
   8281 
   8282 iASL: Moved all compiler messages to a new file, aslmessages.h.
   8283 
   8284 ----------------------------------------
   8285 15 September 2010. Summary of changes for version 20100915:
   8286 
   8287 1) ACPI CA Core Subsystem:
   8288 
   8289 Removed the AcpiOsDerivePciId OSL interface. The various host 
   8290 implementations 
   8291 of this function were not OS-dependent and are now obsolete and can be 
   8292 removed from all host OSLs. This function has been replaced by 
   8293 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
   8294 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
   8295 module, hwpci.c. ACPICA BZ 857.
   8296 
   8297 Implemented a dynamic repair for _HID and _CID strings. The following 
   8298 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
   8299 string, and 2) the entire string is uppercased. Both repairs are in 
   8300 accordance with the ACPI specification and will simplify host driver 
   8301 code. 
   8302 ACPICA BZ 871.
   8303 
   8304 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
   8305 always UINT64. This simplifies the ACPICA code, especially any printf 
   8306 output. 
   8307 UINT64 is the only common data type for all thread_id types across all 
   8308 operating systems. It is now up to the host OSL to cast the native 
   8309 thread_id 
   8310 type to UINT64 before returning the value to ACPICA (via 
   8311 AcpiOsGetThreadId). 
   8312 Lin Ming, Bob Moore.
   8313 
   8314 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
   8315 "inline" 
   8316 keyword is not standard across compilers, and this type allows inline to 
   8317 be 
   8318 configured on a per-compiler basis. Lin Ming.
   8319 
   8320 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
   8321 available. 
   8322 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
   8323 value 
   8324 during suspend/restore operations. ACPICA BZ 869.
   8325 
   8326 All code that implements error/warning messages with the "ACPI:" prefix 
   8327 has 
   8328 been moved to a new module, utxferror.c.
   8329 
   8330 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
   8331 it 
   8332 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
   8333 
   8334 Example Code and Data Size: These are the sizes for the OS-independent 
   8335 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8336 debug version of the code includes the debug output trace mechanism and 
   8337 has a 
   8338 much larger code and data size.
   8339 
   8340   Previous Release:
   8341     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   8342     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   8343   Current Release:
   8344     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
   8345     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
   8346 
   8347 2) iASL Compiler/Disassembler and Tools:
   8348 
   8349 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
   8350 file. 
   8351 This keeps the output files free of random error messages that may 
   8352 originate 
   8353 from within the namespace/interpreter code. Used this opportunity to 
   8354 merge 
   8355 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
   8356 866. Lin Ming, Bob Moore.
   8357 
   8358 Tools: update some printfs for ansi warnings on size_t. Handle width 
   8359 change 
   8360 of size_t on 32-bit versus 64-bit generations. Lin Ming.
   8361 
   8362 ----------------------------------------
   8363 06 August 2010. Summary of changes for version 20100806:
   8364 
   8365 1) ACPI CA Core Subsystem:
   8366 
   8367 Designed and implemented a new host interface to the _OSI support code. 
   8368 This 
   8369 will allow the host to dynamically add or remove multiple _OSI strings, 
   8370 as 
   8371 well as install an optional handler that is called for each _OSI 
   8372 invocation. 
   8373 Also added a new AML debugger command, 'osi' to display and modify the 
   8374 global 
   8375 _OSI string table, and test support in the AcpiExec utility. See the 
   8376 ACPICA 
   8377 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
   8378 New Functions:
   8379     AcpiInstallInterface - Add an _OSI string.
   8380     AcpiRemoveInterface - Delete an _OSI string.
   8381     AcpiInstallInterfaceHandler - Install optional _OSI handler.
   8382 Obsolete Functions:
   8383     AcpiOsValidateInterface - no longer used.
   8384 New Files:
   8385     source/components/utilities/utosi.c
   8386 
   8387 Re-introduced the support to enable multi-byte transfers for Embedded 
   8388 Controller (EC) operation regions. A reported problem was found to be a 
   8389 bug 
   8390 in the host OS, not in the multi-byte support. Previously, the maximum 
   8391 data 
   8392 size passed to the EC operation region handler was a single byte. There 
   8393 are 
   8394 often EC Fields larger than one byte that need to be transferred, and it 
   8395 is 
   8396 useful for the EC driver to lock these as a single transaction. This 
   8397 change 
   8398 enables single transfers larger than 8 bits. This effectively changes the 
   8399 access to the EC space from ByteAcc to AnyAcc, and will probably require 
   8400 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
   8401 bit 
   8402 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
   8403 
   8404 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
   8405 prototype in acpiosxf.h had the output value pointer as a (void *).
   8406 It should be a (UINT64 *). This may affect some host OSL code.
   8407 
   8408 Fixed a couple problems with the recently modified Linux makefiles for 
   8409 iASL 
   8410 and AcpiExec. These new makefiles place the generated object files in the 
   8411 local directory so that there can be no collisions between the files that 
   8412 are 
   8413 shared between them that are compiled with different options.
   8414 
   8415 Example Code and Data Size: These are the sizes for the OS-independent 
   8416 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8417 debug version of the code includes the debug output trace mechanism and 
   8418 has a 
   8419 much larger code and data size.
   8420 
   8421   Previous Release:
   8422     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8423     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   8424   Current Release:
   8425     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
   8426     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
   8427 
   8428 2) iASL Compiler/Disassembler and Tools:
   8429 
   8430 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
   8431 the 
   8432 namespace from and disassemble an entire group of AML files. Useful for 
   8433 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
   8434 and 
   8435 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
   8436 
   8437 iASL: Allow multiple invocations of -e option. This change allows 
   8438 multiple 
   8439 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
   8440 834. 
   8441 Lin Ming.
   8442 
   8443 ----------------------------------------
   8444 02 July 2010. Summary of changes for version 20100702:
   8445 
   8446 1) ACPI CA Core Subsystem:
   8447 
   8448 Implemented several updates to the recently added GPE reference count 
   8449 support. The model for "wake" GPEs is changing to give the host OS 
   8450 complete 
   8451 control of these GPEs. Eventually, the ACPICA core will not execute any 
   8452 _PRW 
   8453 methods, since the host already must execute them. Also, additional 
   8454 changes 
   8455 were made to help ensure that the reference counts are kept in proper 
   8456 synchronization with reality. Rafael J. Wysocki.
   8457 
   8458 1) Ensure that GPEs are not enabled twice during initialization.
   8459 2) Ensure that GPE enable masks stay in sync with the reference count.
   8460 3) Do not inadvertently enable GPEs when writing GPE registers.
   8461 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
   8462 interface. This interface will set or clear individual GPEs for wakeup.
   8463 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
   8464 interfaces 
   8465 are now used for "runtime" GPEs only.
   8466 
   8467 Changed the behavior of the GPE install/remove handler interfaces. The 
   8468 GPE 
   8469 is 
   8470 no longer disabled during this process, as it was found to cause problems 
   8471 on 
   8472 some machines. Rafael J. Wysocki.
   8473 
   8474 Reverted a change introduced in version 20100528 to enable Embedded 
   8475 Controller multi-byte transfers. This change was found to cause problems 
   8476 with 
   8477 Index Fields and possibly Bank Fields. It will be reintroduced when these 
   8478 problems have been resolved.
   8479 
   8480 Fixed a problem with references to Alias objects within Package Objects. 
   8481 A 
   8482 reference to an Alias within the definition of a Package was not always 
   8483 resolved properly. Aliases to objects like Processors, Thermal zones, 
   8484 etc. 
   8485 were resolved to the actual object instead of a reference to the object 
   8486 as 
   8487 it 
   8488 should be. Package objects are only allowed to contain integer, string, 
   8489 buffer, package, and reference objects. Redhat bugzilla 608648.
   8490 
   8491 Example Code and Data Size: These are the sizes for the OS-independent 
   8492 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8493 debug version of the code includes the debug output trace mechanism and 
   8494 has a 
   8495 much larger code and data size.
   8496 
   8497   Previous Release:
   8498     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8499     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   8500   Current Release:
   8501     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8502     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
   8503 
   8504 2) iASL Compiler/Disassembler and Tools:
   8505 
   8506 iASL: Implemented a new compiler subsystem to allow definition and 
   8507 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
   8508 These 
   8509 are called "ACPI Data Tables", and the new compiler is the "Data Table 
   8510 Compiler". This compiler is intended to simplify the existing error-prone 
   8511 process of creating these tables for the BIOS, as well as allowing the 
   8512 disassembly, modification, recompilation, and override of existing ACPI 
   8513 data 
   8514 tables. See the iASL User Guide for detailed information.
   8515 
   8516 iASL: Implemented a new Template Generator option in support of the new 
   8517 Data 
   8518 Table Compiler. This option will create examples of all known ACPI tables 
   8519 that can be used as the basis for table development. See the iASL 
   8520 documentation and the -T option.
   8521 
   8522 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
   8523 Descriptor Table).
   8524 
   8525 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
   8526 object files in the local directory so that there can be no collisions 
   8527 between the shared files between them that are generated with different 
   8528 options.
   8529 
   8530 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
   8531 Use 
   8532 the #define __APPLE__ to enable this support.
   8533 
   8534 ----------------------------------------
   8535 28 May 2010. Summary of changes for version 20100528:
   8536 
   8537 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
   8538 available at www.acpi.info. This is primarily an errata release.
   8539 
   8540 1) ACPI CA Core Subsystem:
   8541 
   8542 Undefined ACPI tables: We are looking for the definitions for the 
   8543 following 
   8544 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
   8545 
   8546 Implemented support to enable multi-byte transfers for Embedded 
   8547 Controller 
   8548 (EC) operation regions. Previously, the maximum data size passed to the 
   8549 EC 
   8550 operation region handler was a single byte. There are often EC Fields 
   8551 larger 
   8552 than one byte that need to be transferred, and it is useful for the EC 
   8553 driver 
   8554 to lock these as a single transaction. This change enables single 
   8555 transfers 
   8556 larger than 8 bits. This effectively changes the access to the EC space 
   8557 from 
   8558 ByteAcc to AnyAcc, and will probably require changes to the host OS 
   8559 Embedded 
   8560 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
   8561 bit 
   8562 transfers. Alexey Starikovskiy, Lin Ming
   8563 
   8564 Implemented a performance enhancement for namespace search and access. 
   8565 This 
   8566 change enhances the performance of namespace searches and walks by adding 
   8567 a 
   8568 backpointer to the parent in each namespace node. On large namespaces, 
   8569 this 
   8570 change can improve overall ACPI performance by up to 9X. Adding a pointer 
   8571 to 
   8572 each namespace node increases the overall size of the internal namespace 
   8573 by 
   8574 about 5%, since each namespace entry usually consists of both a namespace 
   8575 node and an ACPI operand object. However, this is the first growth of the 
   8576 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
   8577 
   8578 Implemented a performance optimization that reduces the number of 
   8579 namespace 
   8580 walks. On control method exit, only walk the namespace if the method is 
   8581 known 
   8582 to have created namespace objects outside of its local scope. Previously, 
   8583 the 
   8584 entire namespace was traversed on each control method exit. This change 
   8585 can 
   8586 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
   8587 Moore.
   8588 
   8589 Added support to truncate I/O addresses to 16 bits for Windows 
   8590 compatibility. 
   8591 Some ASL code has been seen in the field that inadvertently has bits set 
   8592 above bit 15. This feature is optional and is enabled if the BIOS 
   8593 requests 
   8594 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
   8595 Garrett, Bob Moore.
   8596 
   8597 Added support to limit the maximum time for the ASL Sleep() operator. To 
   8598 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
   8599 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
   8600 bugzilla 854.
   8601 
   8602 Added run-time validation support for the _WDG and_WED Microsoft 
   8603 predefined 
   8604 methods. These objects are defined by "Windows Instrumentation", and are 
   8605 not 
   8606 part of the ACPI spec. ACPICA BZ 860.
   8607 
   8608 Expanded all statistic counters used during namespace and device 
   8609 initialization from 16 to 32 bits in order to support very large 
   8610 namespaces.
   8611 
   8612 Replaced all instances of %d in printf format specifiers with %u since 
   8613 nearly 
   8614 all integers in ACPICA are unsigned.
   8615 
   8616 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
   8617 returned 
   8618 as AE_NO_HANDLER.
   8619 
   8620 Example Code and Data Size: These are the sizes for the OS-independent 
   8621 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8622 debug version of the code includes the debug output trace mechanism and 
   8623 has a 
   8624 much larger code and data size.
   8625 
   8626   Previous Release:
   8627     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   8628     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   8629   Current Release:
   8630     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
   8631     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
   8632 
   8633 2) iASL Compiler/Disassembler and Tools:
   8634 
   8635 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
   8636 methods. These objects are defined by "Windows Instrumentation", and are 
   8637 not 
   8638 part of the ACPI spec. ACPICA BZ 860.
   8639 
   8640 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
   8641 option will disable the tracking mechanism, which improves performance 
   8642 considerably.
   8643 
   8644 AcpiExec: Restructured the command line options into -d (disable) and -e 
   8645 (enable) options.
   8646 
   8647 ----------------------------------------
   8648 28 April 2010. Summary of changes for version 20100428:
   8649 
   8650 1) ACPI CA Core Subsystem:
   8651 
   8652 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
   8653 including FADT-based and GPE Block Devices, execute any _PRW methods in 
   8654 the 
   8655 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
   8656 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
   8657 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
   8658 Devices. Provides compatibility with other ACPI implementations. Two new 
   8659 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
   8660 Moore.
   8661 
   8662 Fixed a regression introduced in version 20100331 within the table 
   8663 manager 
   8664 where initial table loading could fail. This was introduced in the fix 
   8665 for 
   8666 AcpiReallocateRootTable. Also, renamed some of fields in the table 
   8667 manager 
   8668 data structures to clarify their meaning and use.
   8669 
   8670 Fixed a possible allocation overrun during internal object copy in 
   8671 AcpiUtCopySimpleObject. The original code did not correctly handle the 
   8672 case 
   8673 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
   8674 847.
   8675 
   8676 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
   8677 possible access beyond end-of-allocation. Also, now fully validate 
   8678 descriptor 
   8679 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
   8680 
   8681 Example Code and Data Size: These are the sizes for the OS-independent 
   8682 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8683 debug version of the code includes the debug output trace mechanism and 
   8684 has a 
   8685 much larger code and data size.
   8686 
   8687   Previous Release:
   8688     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   8689     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   8690   Current Release:
   8691     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
   8692     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
   8693 
   8694 2) iASL Compiler/Disassembler and Tools:
   8695 
   8696 iASL: Implemented Min/Max/Len/Gran validation for address resource 
   8697 descriptors. This change implements validation for the address fields 
   8698 that 
   8699 are common to all address-type resource descriptors. These checks are 
   8700 implemented: Checks for valid Min/Max, length within the Min/Max window, 
   8701 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
   8702 per 
   8703 table 6-40 in the ACPI 4.0a specification. Also split the large 
   8704 aslrestype1.c 
   8705 and aslrestype2.c files into five new files. ACPICA BZ 840.
   8706 
   8707 iASL: Added support for the _Wxx predefined names. This support was 
   8708 missing 
   8709 and these names were not recognized by the compiler as valid predefined 
   8710 names. ACPICA BZ 851.
   8711 
   8712 iASL: Added an error for all predefined names that are defined to return 
   8713 no 
   8714 value and thus must be implemented as Control Methods. These include all 
   8715 of 
   8716 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
   8717 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
   8718 
   8719 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
   8720 an 
   8721 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
   8722 be 
   8723 dynamically loaded via the Load() operator. Also cleaned up output for 
   8724 the 
   8725 -
   8726 ta and -tc options. ACPICA BZ 853.
   8727 
   8728 Tests: Added a new file with examples of extended iASL error checking. 
   8729 Demonstrates the advanced error checking ability of the iASL compiler. 
   8730 Available at tests/misc/badcode.asl.
   8731 
   8732 ----------------------------------------
   8733 31 March 2010. Summary of changes for version 20100331:
   8734 
   8735 1) ACPI CA Core Subsystem:
   8736 
   8737 Completed a major update for the GPE support in order to improve support 
   8738 for 
   8739 shared GPEs and to simplify both host OS and ACPICA code. Added a 
   8740 reference 
   8741 count mechanism to support shared GPEs that require multiple device 
   8742 drivers. 
   8743 Several external interfaces have changed. One external interface has been 
   8744 removed. One new external interface was added. Most of the GPE external 
   8745 interfaces now use the GPE spinlock instead of the events mutex (and the 
   8746 Flags parameter for many GPE interfaces has been removed.) See the 
   8747 updated 
   8748 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
   8749 Rafael 
   8750 Wysocki. ACPICA BZ 831.
   8751 
   8752 Changed:
   8753     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
   8754 Removed:
   8755     AcpiSetGpeType
   8756 New:
   8757     AcpiSetGpe
   8758 
   8759 Implemented write support for DataTable operation regions. These regions 
   8760 are 
   8761 defined via the DataTableRegion() operator. Previously, only read support 
   8762 was 
   8763 implemented. The ACPI specification allows DataTableRegions to be 
   8764 read/write, 
   8765 however.
   8766 
   8767 Implemented a new subsystem option to force a copy of the DSDT to local 
   8768 memory. Optionally copy the entire DSDT to local memory (instead of 
   8769 simply 
   8770 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
   8771 replace 
   8772 the original DSDT, creating the need for this option. Default is FALSE, 
   8773 do 
   8774 not copy the DSDT.
   8775 
   8776 Implemented detection of a corrupted or replaced DSDT. This change adds 
   8777 support to detect a DSDT that has been corrupted and/or replaced from 
   8778 outside 
   8779 the OS (by firmware). This is typically catastrophic for the system, but 
   8780 has 
   8781 been seen on some machines. Once this problem has been detected, the DSDT 
   8782 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
   8783 
   8784 Fixed two problems with AcpiReallocateRootTable during the root table 
   8785 copy. 
   8786 When copying the root table to the new allocation, the length used was 
   8787 incorrect. The new size was used instead of the current table size, 
   8788 meaning 
   8789 too much data was copied. Also, the count of available slots for ACPI 
   8790 tables 
   8791 was not set correctly. Alexey Starikovskiy, Bob Moore.
   8792 
   8793 Example Code and Data Size: These are the sizes for the OS-independent 
   8794 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8795 debug version of the code includes the debug output trace mechanism and 
   8796 has a 
   8797 much larger code and data size.
   8798 
   8799   Previous Release:
   8800     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8801     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8802   Current Release:
   8803     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
   8804     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
   8805 
   8806 2) iASL Compiler/Disassembler and Tools:
   8807 
   8808 iASL: Implement limited typechecking for values returned from predefined 
   8809 control methods. The type of any returned static (unnamed) object is now 
   8810 validated. For example, Return(1). ACPICA BZ 786.
   8811 
   8812 iASL: Fixed a predefined name object verification regression. Fixes a 
   8813 problem 
   8814 introduced in version 20100304. An error is incorrectly generated if a 
   8815 predefined name is declared as a static named object with a value defined 
   8816 using the keywords "Zero", "One", or "Ones". Lin Ming.
   8817 
   8818 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
   8819 by 
   8820 reducing the requested registry access rights. ACPICA BZ 842.
   8821 
   8822 Disassembler: fixed a possible fault when generating External() 
   8823 statements. 
   8824 Introduced in commit ae7d6fd: Properly handle externals with parent-
   8825 prefix 
   8826 (carat). Fixes a string length allocation calculation. Lin Ming.
   8827 
   8828 ----------------------------------------
   8829 04 March 2010. Summary of changes for version 20100304:
   8830 
   8831 1) ACPI CA Core Subsystem:
   8832 
   8833 Fixed a possible problem with the AML Mutex handling function 
   8834 AcpiExReleaseMutex where the function could fault under the very rare 
   8835 condition when the interpreter has blocked, the interpreter lock is 
   8836 released, 
   8837 the interpreter is then reentered via the same thread, and attempts to 
   8838 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
   8839 Lin 
   8840 Ming.
   8841 
   8842 Implemented additional configuration support for the AML "Debug Object". 
   8843 Output from the debug object can now be enabled via a global variable, 
   8844 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
   8845 debugging. 
   8846 This debug output is now available in the release version of ACPICA 
   8847 instead 
   8848 of just the debug version. Also, the entire debug output module can now 
   8849 be 
   8850 configured out of the ACPICA build if desired. One new file added, 
   8851 executer/exdebug.c. Lin Ming, Bob Moore.
   8852 
   8853 Added header support for the ACPI MCHI table (Management Controller Host 
   8854 Interface Table). This table was added in ACPI 4.0, but the defining 
   8855 document 
   8856 has only recently become available.
   8857 
   8858 Standardized output of integer values for ACPICA warnings/errors. Always 
   8859 use 
   8860 0x prefix for hex output, always use %u for unsigned integer decimal 
   8861 output. 
   8862 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
   8863 400 
   8864 invocations.) These invocations were converted from the original 
   8865 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
   8866 
   8867 Example Code and Data Size: These are the sizes for the OS-independent 
   8868 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8869 debug version of the code includes the debug output trace mechanism and 
   8870 has a 
   8871 much larger code and data size.
   8872 
   8873   Previous Release:
   8874     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8875     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8876   Current Release:
   8877     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
   8878     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
   8879 
   8880 2) iASL Compiler/Disassembler and Tools:
   8881 
   8882 iASL: Implemented typechecking support for static (non-control method) 
   8883 predefined named objects that are declared with the Name() operator. For 
   8884 example, the type of this object is now validated to be of type Integer: 
   8885 Name(_BBN, 1). This change migrates the compiler to using the core 
   8886 predefined 
   8887 name table instead of maintaining a local version. Added a new file, 
   8888 aslpredef.c. ACPICA BZ 832.
   8889 
   8890 Disassembler: Added support for the ACPI 4.0 MCHI table.
   8891 
   8892 ----------------------------------------
   8893 21 January 2010. Summary of changes for version 20100121:
   8894 
   8895 1) ACPI CA Core Subsystem:
   8896 
   8897 Added the 2010 copyright to all module headers and signons. This affects 
   8898 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
   8899 tools/utilities, and the test suites.
   8900 
   8901 Implemented a change to the AcpiGetDevices interface to eliminate 
   8902 unnecessary 
   8903 invocations of the _STA method. In the case where a specific _HID is 
   8904 requested, do not run _STA until a _HID match is found. This eliminates 
   8905 potentially dozens of _STA calls during a search for a particular 
   8906 device/HID, 
   8907 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
   8908 
   8909 Implemented an additional repair for predefined method return values. 
   8910 Attempt 
   8911 to repair unexpected NULL elements within returned Package objects. 
   8912 Create 
   8913 an 
   8914 Integer of value zero, a NULL String, or a zero-length Buffer as 
   8915 appropriate. 
   8916 ACPICA BZ 818. Lin Ming, Bob Moore.
   8917 
   8918 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
   8919 the 
   8920 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
   8921 (with 
   8922 64-bit AML integers). It is now obsolete and this change removes it from 
   8923 the 
   8924 ACPICA code base, replaced by UINT64. The original typedef has been 
   8925 retained 
   8926 for now for compatibility with existing device driver code. ACPICA BZ 
   8927 824.
   8928 
   8929 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
   8930 in 
   8931 the parse tree object.
   8932 
   8933 Added additional warning options for the gcc-4 generation. Updated the 
   8934 source 
   8935 accordingly. This includes some code restructuring to eliminate 
   8936 unreachable 
   8937 code, elimination of some gotos, elimination of unused return values, 
   8938 some 
   8939 additional casting, and removal of redundant declarations.
   8940 
   8941 Example Code and Data Size: These are the sizes for the OS-independent 
   8942 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   8943 debug version of the code includes the debug output trace mechanism and 
   8944 has a 
   8945 much larger code and data size.
   8946 
   8947   Previous Release:
   8948     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   8949     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   8950   Current Release:
   8951     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
   8952     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
   8953 
   8954 2) iASL Compiler/Disassembler and Tools:
   8955 
   8956 No functional changes for this release.
   8957 
   8958 ----------------------------------------
   8959 14 December 2009. Summary of changes for version 20091214:
   8960 
   8961 1) ACPI CA Core Subsystem:
   8962 
   8963 Enhanced automatic data type conversions for predefined name repairs. 
   8964 This 
   8965 change expands the automatic repairs/conversions for predefined name 
   8966 return 
   8967 values to make Integers, Strings, and Buffers fully interchangeable. 
   8968 Also, 
   8969 a 
   8970 Buffer can be converted to a Package of Integers if necessary. The 
   8971 nsrepair.c 
   8972 module was completely restructured. Lin Ming, Bob Moore.
   8973 
   8974 Implemented automatic removal of null package elements during predefined 
   8975 name 
   8976 repairs. This change will automatically remove embedded and trailing NULL 
   8977 package elements from returned package objects that are defined to 
   8978 contain 
   8979 a 
   8980 variable number of sub-packages. The driver is then presented with a 
   8981 package 
   8982 with no null elements to deal with. ACPICA BZ 819.
   8983 
   8984 Implemented a repair for the predefined _FDE and _GTM names. The expected 
   8985 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
   8986 two 
   8987 possible problems (both seen in the field), where a package of integers 
   8988 is 
   8989 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
   8990 Kim.
   8991 
   8992 Implemented additional module-level code support. This change will 
   8993 properly 
   8994 execute module-level code that is not at the root of the namespace (under 
   8995 a 
   8996 Device object, etc.). Now executes the code within the current scope 
   8997 instead 
   8998 of the root. ACPICA BZ 762. Lin Ming.
   8999 
   9000 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
   9001 a 
   9002 problem where mutex errors can occur when running a _REG method that is 
   9003 in 
   9004 the same scope as a method-defined operation region or an operation 
   9005 region 
   9006 under a module-level IF block. This type of code is rare, so the problem 
   9007 has 
   9008 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
   9009 
   9010 Fixed a possible memory leak during module-level code execution. An 
   9011 object 
   9012 could be leaked for each block of executed module-level code if the 
   9013 interpreter slack mode is enabled This change deletes any implicitly 
   9014 returned 
   9015 object from the module-level code block. Lin Ming.
   9016 
   9017 Removed messages for successful predefined repair(s). The repair 
   9018 mechanism 
   9019 was considered too wordy. Now, messages are only unconditionally emitted 
   9020 if 
   9021 the return object cannot be repaired. Existing messages for successful 
   9022 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
   9023 827.
   9024 
   9025 Example Code and Data Size: These are the sizes for the OS-independent 
   9026 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9027 debug version of the code includes the debug output trace mechanism and 
   9028 has a 
   9029 much larger code and data size.
   9030 
   9031   Previous Release:
   9032     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   9033     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   9034   Current Release:
   9035     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
   9036     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
   9037 
   9038 2) iASL Compiler/Disassembler and Tools:
   9039 
   9040 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
   9041 files 
   9042 were no longer automatically removed at the termination of the compile.
   9043 
   9044 acpiexec: Implemented the -f option to specify default region fill value. 
   9045 This option specifies the value used to initialize buffers that simulate 
   9046 operation regions. Default value is zero. Useful for debugging problems 
   9047 that 
   9048 depend on a specific initial value for a region or field.
   9049 
   9050 ----------------------------------------
   9051 12 November 2009. Summary of changes for version 20091112:
   9052 
   9053 1) ACPI CA Core Subsystem:
   9054 
   9055 Implemented a post-order callback to AcpiWalkNamespace. The existing 
   9056 interface only has a pre-order callback. This change adds an additional 
   9057 parameter for a post-order callback which will be more useful for bus 
   9058 scans. 
   9059 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
   9060 
   9061 Modified the behavior of the operation region memory mapping cache for 
   9062 SystemMemory. Ensure that the memory mappings created for operation 
   9063 regions 
   9064 do not cross 4K page boundaries. Crossing a page boundary while mapping 
   9065 regions can cause kernel warnings on some hosts if the pages have 
   9066 different 
   9067 attributes. Such regions are probably BIOS bugs, and this is the 
   9068 workaround. 
   9069 Linux BZ 14445. Lin Ming.
   9070 
   9071 Implemented an automatic repair for predefined methods that must return 
   9072 sorted lists. This change will repair (by sorting) packages returned by 
   9073 _ALR, 
   9074 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
   9075 sorted 
   9076 and do not contain NULL package elements. Adds one new file, 
   9077 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
   9078 
   9079 Fixed a possible fault during predefined name validation if a return 
   9080 Package 
   9081 object contains NULL elements. Also adds a warning if a NULL element is 
   9082 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
   9083 may 
   9084 include repair or removal of all such NULL elements where possible.
   9085 
   9086 Implemented additional module-level executable AML code support. This 
   9087 change 
   9088 will execute module-level code that is not at the root of the namespace 
   9089 (under a Device object, etc.) at table load time. Module-level executable 
   9090 AML 
   9091 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
   9092 
   9093 Implemented a new internal function to create Integer objects. This 
   9094 function 
   9095 simplifies miscellaneous object creation code. ACPICA BZ 823.
   9096 
   9097 Reduced the severity of predefined repair messages, Warning to Info. 
   9098 Since 
   9099 the object was successfully repaired, a warning is too severe. Reduced to 
   9100 an 
   9101 info message for now. These messages may eventually be changed to debug-
   9102 only. 
   9103 ACPICA BZ 812.
   9104 
   9105 Example Code and Data Size: These are the sizes for the OS-independent 
   9106 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9107 debug version of the code includes the debug output trace mechanism and 
   9108 has a 
   9109 much larger code and data size.
   9110 
   9111   Previous Release:
   9112     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   9113     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   9114   Current Release:
   9115     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
   9116     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
   9117 
   9118 2) iASL Compiler/Disassembler and Tools:
   9119 
   9120 iASL: Implemented Switch() with While(1) so that Break works correctly. 
   9121 This 
   9122 change correctly implements the Switch operator with a surrounding 
   9123 While(1) 
   9124 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
   9125 
   9126 iASL: Added a message if a package initializer list is shorter than 
   9127 package 
   9128 length. Adds a new remark for a Package() declaration if an initializer 
   9129 list 
   9130 exists, but is shorter than the declared length of the package. Although 
   9131 technically legal, this is probably a coding error and it is seen in the 
   9132 field. ACPICA BZ 815. Lin Ming, Bob Moore.
   9133 
   9134 iASL: Fixed a problem where the compiler could fault after the maximum 
   9135 number 
   9136 of errors was reached (200).
   9137 
   9138 acpixtract: Fixed a possible warning for pointer cast if the compiler 
   9139 warning 
   9140 level set very high.
   9141 
   9142 ----------------------------------------
   9143 13 October 2009. Summary of changes for version 20091013:
   9144 
   9145 1) ACPI CA Core Subsystem:
   9146 
   9147 Fixed a problem where an Operation Region _REG method could be executed 
   9148 more 
   9149 than once. If a custom address space handler is installed by the host 
   9150 before 
   9151 the "initialize operation regions" phase of the ACPICA initialization, 
   9152 any 
   9153 _REG methods for that address space could be executed twice. This change 
   9154 fixes the problem. ACPICA BZ 427. Lin Ming.
   9155 
   9156 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
   9157 invocation of "Scope(\)" is executed (change scope to root), one internal 
   9158 operand object was leaked. Lin Ming.
   9159 
   9160 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
   9161 return value is defined as a Field object in the AML, and the field
   9162 size is less than or equal to the default width of an integer (32 or 
   9163 64),_MAT 
   9164 can incorrectly return an Integer instead of a Buffer. ACPICA now 
   9165 automatically repairs this problem. ACPICA BZ 810.
   9166 
   9167 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
   9168 The 
   9169 "OEM Information" field is often incorrectly returned as an Integer with 
   9170 value zero if the field is not supported by the platform. This is due to 
   9171 an 
   9172 ambiguity in the ACPI specification. The field should always be a string. 
   9173 ACPICA now automatically repairs this problem by returning a NULL string 
   9174 within the returned Package. ACPICA BZ 807.
   9175 
   9176 Example Code and Data Size: These are the sizes for the OS-independent 
   9177 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9178 debug version of the code includes the debug output trace mechanism and 
   9179 has a 
   9180 much larger code and data size.
   9181 
   9182   Previous Release:
   9183     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   9184     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   9185   Current Release:
   9186     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
   9187     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
   9188 
   9189 2) iASL Compiler/Disassembler and Tools:
   9190 
   9191 Disassembler: Fixed a problem where references to external symbols that 
   9192 contained one or more parent-prefixes (carats) were not handled 
   9193 correctly, 
   9194 possibly causing a fault. ACPICA BZ 806. Lin Ming.
   9195 
   9196 Disassembler: Restructured the code so that all functions that handle 
   9197 external symbols are in a single module. One new file is added, 
   9198 common/dmextern.c.
   9199 
   9200 AML Debugger: Added a max count argument for the Batch command (which 
   9201 executes multiple predefined methods within the namespace.)
   9202 
   9203 iASL: Updated the compiler documentation (User Reference.) Available at 
   9204 http://www.acpica.org/documentation/. ACPICA BZ 750.
   9205 
   9206 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
   9207 files.
   9208 
   9209 ----------------------------------------
   9210 03 September 2009. Summary of changes for version 20090903:
   9211 
   9212 1) ACPI CA Core Subsystem:
   9213 
   9214 For Windows Vista compatibility, added the automatic execution of an _INI 
   9215 method located at the namespace root (\_INI). This method is executed at 
   9216 table load time. This support is in addition to the automatic execution 
   9217 of 
   9218 \_SB._INI. Lin Ming.
   9219 
   9220 Fixed a possible memory leak in the interpreter for AML package objects 
   9221 if 
   9222 the package initializer list is longer than the defined size of the 
   9223 package. 
   9224 This apparently can only happen if the BIOS changes the package size on 
   9225 the 
   9226 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
   9227 interpreter will truncate the package to the defined size (and issue an 
   9228 error 
   9229 message), but previously could leave the extra objects undeleted if they 
   9230 were 
   9231 pre-created during the argument processing (such is the case if the 
   9232 package 
   9233 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
   9234 
   9235 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
   9236 This has been reported in the field. Previously, ACPICA would zero out 
   9237 the 
   9238 buffer/string. Now, the operation is treated as a noop. Provides Windows 
   9239 compatibility. ACPICA BZ 803. Lin Ming.
   9240 
   9241 Removed an extraneous error message for ASL constructs of the form 
   9242 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
   9243 statements 
   9244 are seen in many BIOSs and are once again treated as NOOPs and no error 
   9245 is 
   9246 emitted when they are encountered. ACPICA BZ 785.
   9247 
   9248 Fixed an extraneous warning message if a _DSM reserved method returns a 
   9249 Package object. _DSM can return any type of object, so validation on the 
   9250 return type cannot be performed. ACPICA BZ 802.
   9251 
   9252 Example Code and Data Size: These are the sizes for the OS-independent 
   9253 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9254 debug version of the code includes the debug output trace mechanism and 
   9255 has a 
   9256 much larger code and data size.
   9257 
   9258   Previous Release:
   9259     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   9260     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   9261   Current Release:
   9262     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
   9263     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
   9264 
   9265 2) iASL Compiler/Disassembler and Tools:
   9266 
   9267 iASL: Fixed a problem with the use of the Alias operator and Resource 
   9268 Templates. The correct alias is now constructed and no error is emitted. 
   9269 ACPICA BZ 738.
   9270 
   9271 iASL: Implemented the -I option to specify additional search directories 
   9272 for 
   9273 include files. Allows multiple additional search paths for include files. 
   9274 Directories are searched in the order specified on the command line 
   9275 (after 
   9276 the local directory is searched.) ACPICA BZ 800.
   9277 
   9278 iASL: Fixed a problem where the full pathname for include files was not 
   9279 emitted for warnings/errors. This caused the IDE support to not work 
   9280 properly. ACPICA BZ 765.
   9281 
   9282 iASL: Implemented the -@ option to specify a Windows-style response file 
   9283 containing additional command line options. ACPICA BZ 801.
   9284 
   9285 AcpiExec: Added support to load multiple AML files simultaneously (such 
   9286 as 
   9287 a 
   9288 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
   9289 pathname. These features allow all machine tables to be easily loaded and 
   9290 debugged together. ACPICA BZ 804.
   9291 
   9292 Disassembler: Added missing support for disassembly of HEST table Error 
   9293 Bank 
   9294 subtables. 
   9295 
   9296 ----------------------------------------
   9297 30 July 2009. Summary of changes for version 20090730:
   9298 
   9299 The ACPI 4.0 implementation for ACPICA is complete with this release.
   9300 
   9301 1) ACPI CA Core Subsystem:
   9302 
   9303 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
   9304 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
   9305 new 
   9306 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
   9307 BERT, 
   9308 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
   9309 There 
   9310 have been some ACPI 4.0 changes to other existing tables. Split the large 
   9311 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
   9312 
   9313 ACPI 4.0: Implemented predefined name validation for all new names. There 
   9314 are 
   9315 31 new names in ACPI 4.0. The predefined validation module was split into 
   9316 two 
   9317 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
   9318 
   9319 Implemented support for so-called "module-level executable code". This is 
   9320 executable AML code that exists outside of any control method and is 
   9321 intended 
   9322 to be executed at table load time. Although illegal since ACPI 2.0, this 
   9323 type 
   9324 of code still exists and is apparently still being created. Blocks of 
   9325 this 
   9326 code are now detected and executed as intended. Currently, the code 
   9327 blocks 
   9328 must exist under either an If, Else, or While construct; these are the 
   9329 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
   9330 
   9331 Implemented an automatic dynamic repair for predefined names that return 
   9332 nested Package objects. This applies to predefined names that are defined 
   9333 to 
   9334 return a variable-length Package of sub-packages. If the number of sub-
   9335 packages is one, BIOS code is occasionally seen that creates a simple 
   9336 single 
   9337 package with no sub-packages. This code attempts to fix the problem by 
   9338 wrapping a new package object around the existing package. These methods 
   9339 can 
   9340 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
   9341 BZ 
   9342 790.
   9343 
   9344 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
   9345 interface. 
   9346 The _HID/_CID matching was broken and no longer matched IDs correctly. 
   9347 ACPICA 
   9348 BZ 793.
   9349 
   9350 Fixed a problem with AcpiReset where the reset would silently fail if the 
   9351 register was one of the protected I/O ports. AcpiReset now bypasses the 
   9352 port 
   9353 validation mechanism. This may eventually be driven into the 
   9354 AcpiRead/Write 
   9355 interfaces.
   9356 
   9357 Fixed a regression related to the recent update of the AcpiRead/Write 
   9358 interfaces. A sleep/suspend could fail if the optional PM2 Control 
   9359 register 
   9360 does not exist during an attempt to write the Bus Master Arbitration bit. 
   9361 (However, some hosts already delete the code that writes this bit, and 
   9362 the 
   9363 code may in fact be obsolete at this date.) ACPICA BZ 799.
   9364 
   9365 Fixed a problem where AcpiTerminate could fault if inadvertently called 
   9366 twice 
   9367 in succession. ACPICA BZ 795.
   9368 
   9369 Example Code and Data Size: These are the sizes for the OS-independent 
   9370 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9371 debug version of the code includes the debug output trace mechanism and 
   9372 has a 
   9373 much larger code and data size.
   9374 
   9375   Previous Release:
   9376     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   9377     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   9378   Current Release:
   9379     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
   9380     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
   9381 
   9382 2) iASL Compiler/Disassembler and Tools:
   9383 
   9384 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
   9385 changes to existing tables. ACPICA BZ 775.
   9386 
   9387 ----------------------------------------
   9388 25 June 2009. Summary of changes for version 20090625:
   9389 
   9390 The ACPI 4.0 Specification was released on June 16 and is available at 
   9391 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
   9392 continue for the next few releases.
   9393 
   9394 1) ACPI CA Core Subsystem:
   9395 
   9396 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
   9397 address space. Includes support for bi-directional data buffers and an 
   9398 IPMI 
   9399 address space handler (to be installed by an IPMI device driver.) ACPICA 
   9400 BZ 
   9401 773. Lin Ming.
   9402 
   9403 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
   9404 Includes 
   9405 support in both the header files and the disassembler.
   9406 
   9407 Completed a major update for the AcpiGetObjectInfo external interface. 
   9408 Changes include:
   9409  - Support for variable, unlimited length HID, UID, and CID strings.
   9410  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
   9411 etc.)
   9412  - Call the _SxW power methods on behalf of a device object.
   9413  - Determine if a device is a PCI root bridge.
   9414  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
   9415 These changes will require an update to all callers of this interface. 
   9416 See 
   9417 the updated ACPICA Programmer Reference for details. One new source file 
   9418 has 
   9419 been added - utilities/utids.c. ACPICA BZ 368, 780.
   9420 
   9421 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
   9422 transfers. The Value parameter has been extended from 32 bits to 64 bits 
   9423 in 
   9424 order to support new ACPI 4.0 tables. These changes will require an 
   9425 update 
   9426 to 
   9427 all callers of these interfaces. See the ACPICA Programmer Reference for 
   9428 details. ACPICA BZ 768.
   9429 
   9430 Fixed several problems with AcpiAttachData. The handler was not invoked 
   9431 when 
   9432 the host node was deleted. The data sub-object was not automatically 
   9433 deleted 
   9434 when the host node was deleted. The interface to the handler had an 
   9435 unused 
   9436 parameter, this was removed. ACPICA BZ 778.
   9437 
   9438 Enhanced the function that dumps ACPI table headers. All non-printable 
   9439 characters in the string fields are now replaced with '?' (Signature, 
   9440 OemId, 
   9441 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
   9442 these fields are occasionally seen in the field. ACPICA BZ 788.
   9443 
   9444 Fixed a problem with predefined method repair code where the code that 
   9445 attempts to repair/convert an object of incorrect type is only executed 
   9446 on 
   9447 the first time the predefined method is called. The mechanism that 
   9448 disables 
   9449 warnings on subsequent calls was interfering with the repair mechanism. 
   9450 ACPICA BZ 781.
   9451 
   9452 Fixed a possible memory leak in the predefined validation/repair code 
   9453 when 
   9454 a 
   9455 buffer is automatically converted to an expected string object.
   9456 
   9457 Removed obsolete 16-bit files from the distribution and from the current 
   9458 git 
   9459 tree head. ACPICA BZ 776.
   9460 
   9461 Example Code and Data Size: These are the sizes for the OS-independent 
   9462 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9463 debug version of the code includes the debug output trace mechanism and 
   9464 has a 
   9465 much larger code and data size.
   9466 
   9467   Previous Release:
   9468     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   9469     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   9470   Current Release:
   9471     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
   9472     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
   9473 
   9474 2) iASL Compiler/Disassembler and Tools:
   9475 
   9476 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
   9477 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
   9478 
   9479 ACPI 4.0: iASL - implemented compile-time validation support for all new 
   9480 predefined names and control methods (31 total). ACPICA BZ 769.
   9481 
   9482 ----------------------------------------
   9483 21 May 2009. Summary of changes for version 20090521:
   9484 
   9485 1) ACPI CA Core Subsystem:
   9486 
   9487 Disabled the preservation of the SCI enable bit in the PM1 control 
   9488 register. 
   9489 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
   9490 to 
   9491 be 
   9492 a "preserved" bit - "OSPM always preserves this bit position", section 
   9493 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
   9494 because the bit needs to be explicitly set by the OS as a workaround. No 
   9495 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
   9496 attempts to preserve this bit.
   9497 
   9498 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
   9499 incorrectly formed _PRT package could cause a fault. Added validation to 
   9500 ensure that each package element is actually a sub-package.
   9501 
   9502 Implemented a new interface to install or override a single control 
   9503 method, 
   9504 AcpiInstallMethod. This interface is useful when debugging in order to 
   9505 repair 
   9506 an existing method or to install a missing method without having to 
   9507 override 
   9508 the entire ACPI table. See the ACPICA Programmer Reference for use and 
   9509 examples. Lin Ming, Bob Moore.
   9510 
   9511 Fixed several reference count issues with the DdbHandle object that is 
   9512 created from a Load or LoadTable operator. Prevent premature deletion of 
   9513 the 
   9514 object. Also, mark the object as invalid once the table has been 
   9515 unloaded. 
   9516 This is needed because the handle itself may not be deleted after the 
   9517 table 
   9518 unload, depending on whether it has been stored in a named object by the 
   9519 caller. Lin Ming.
   9520 
   9521 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
   9522 mutexes of the same sync level are acquired but then not released in 
   9523 strict 
   9524 opposite order, the internally maintained Current Sync Level becomes 
   9525 confused 
   9526 and can cause subsequent execution errors. ACPICA BZ 471.
   9527 
   9528 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
   9529 specification has been changed to make the SyncLevel for mutex objects 
   9530 more 
   9531 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
   9532 the 
   9533 same as the current sync level. This makes more sense than the previous 
   9534 rule 
   9535 (SyncLevel less than or equal). This change updates the code to match the 
   9536 specification.
   9537 
   9538 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
   9539 The 
   9540 (local) cache must be locked during all cache object deletions. Andrew 
   9541 Baumann.
   9542 
   9543 Updated the Load operator to use operation region interfaces. This 
   9544 replaces 
   9545 direct memory mapping with region access calls. Now, all region accesses 
   9546 go 
   9547 through the installed region handler as they should.
   9548 
   9549 Simplified and optimized the NsGetNextNode function. Reduced parameter 
   9550 count 
   9551 and reduced code for this frequently used function.
   9552 
   9553 Example Code and Data Size: These are the sizes for the OS-independent 
   9554 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9555 debug version of the code includes the debug output trace mechanism and 
   9556 has a 
   9557 much larger code and data size.
   9558 
   9559   Previous Release:
   9560     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   9561     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   9562   Current Release:
   9563     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
   9564     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
   9565 
   9566 2) iASL Compiler/Disassembler and Tools:
   9567 
   9568 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
   9569 problems 
   9570 with sub-table disassembly and handling invalid sub-tables. Attempt 
   9571 recovery 
   9572 after an invalid sub-table ID.
   9573 
   9574 ----------------------------------------
   9575 22 April 2009. Summary of changes for version 20090422:
   9576 
   9577 1) ACPI CA Core Subsystem:
   9578 
   9579 Fixed a compatibility issue with the recently released I/O port 
   9580 protection 
   9581 mechanism. For windows compatibility, 1) On a port protection violation, 
   9582 simply ignore the request and do not return an exception (allow the 
   9583 control 
   9584 method to continue execution.) 2) If only part of the request overlaps a 
   9585 protected port, read/write the individual ports that are not protected. 
   9586 Linux 
   9587 BZ 13036. Lin Ming
   9588 
   9589 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
   9590 actually 
   9591 breaks into the AML debugger if the debugger is present. This matches the 
   9592 ACPI-defined behavior.
   9593 
   9594 Fixed several possible warnings related to the use of the configurable 
   9595 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
   9596 pointer with no warnings. Also fixes several warnings in printf-like 
   9597 statements for the 64-bit build when the type is configured as a pointer. 
   9598 ACPICA BZ 766, 767.
   9599 
   9600 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
   9601 on 
   9602 warning options.) Examples include printf formats, aliasing, unused 
   9603 globals, 
   9604 missing prototypes, missing switch default statements, use of non-ANSI 
   9605 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
   9606 for 
   9607 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
   9608 
   9609 Example Code and Data Size: These are the sizes for the OS-independent 
   9610 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9611 debug version of the code includes the debug output trace mechanism and 
   9612 has a 
   9613 much larger code and data size.
   9614 
   9615   Previous Release:
   9616     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   9617     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   9618   Current Release:
   9619     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
   9620     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
   9621 
   9622 2) iASL Compiler/Disassembler and Tools:
   9623 
   9624 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
   9625 warnings 
   9626 on 
   9627 the 64-bit build.
   9628 
   9629 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
   9630 not 
   9631 correctly digest Windows/DOS formatted files (with CR/LF).
   9632 
   9633 iASL: Added a new option for "quiet mode" (-va) that produces only the 
   9634 compilation summary, not individual errors and warnings. Useful for large 
   9635 batch compilations.
   9636 
   9637 AcpiExec: Implemented a new option (-z) to enable a forced 
   9638 semaphore/mutex 
   9639 timeout that can be used to detect hang conditions during execution of 
   9640 AML 
   9641 code (includes both internal semaphores and AML-defined mutexes and 
   9642 events.)
   9643 
   9644 Added new makefiles for the generation of acpica in a generic unix-like 
   9645 environment. These makefiles are intended to generate the acpica tools 
   9646 and 
   9647 utilities from the original acpica git source tree structure.
   9648 
   9649 Test Suites: Updated and cleaned up the documentation files. Updated the 
   9650 copyrights to 2009, affecting all source files. Use the new version of 
   9651 iASL 
   9652 with quiet mode. Increased the number of available semaphores in the 
   9653 Windows 
   9654 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
   9655 added 
   9656 an alternate implementation of the semaphore timeout to allow aslts to 
   9657 execute fully on Cygwin.
   9658 
   9659 ----------------------------------------
   9660 20 March 2009. Summary of changes for version 20090320:
   9661 
   9662 1) ACPI CA Core Subsystem:
   9663 
   9664 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
   9665 table 
   9666 unloads. Added a reader/writer locking mechanism to allow multiple 
   9667 concurrent 
   9668 namespace walks (readers), but block a dynamic table unload until it can 
   9669 gain 
   9670 exclusive write access to the namespace. This fixes a problem where a 
   9671 table 
   9672 unload could (possibly catastrophically) delete the portion of the 
   9673 namespace 
   9674 that is currently being examined by a walk. Adds a new file, utlock.c, 
   9675 that 
   9676 implements the reader/writer lock mechanism. ACPICA BZ 749.
   9677 
   9678 Fixed a regression introduced in version 20090220 where a change to the 
   9679 FADT 
   9680 handling could cause the ACPICA subsystem to access non-existent I/O 
   9681 ports.
   9682 
   9683 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
   9684 The 
   9685 FADT can contain both 32-bit and 64-bit versions of these addresses. 
   9686 Previously, the 64-bit versions were favored, meaning that if both 32 and 
   9687 64 
   9688 versions were valid, but not equal, the 64-bit version was used. This was 
   9689 found to cause some machines to fail. Now, in this case, the 32-bit 
   9690 version 
   9691 is used instead. This now matches the Windows behavior.
   9692 
   9693 Implemented a new mechanism to protect certain I/O ports. Provides 
   9694 Microsoft 
   9695 compatibility and protects the standard PC I/O ports from access via AML 
   9696 code. Adds a new file, hwvalid.c
   9697 
   9698 Fixed a possible extraneous warning message from the FADT support. The 
   9699 message warns of a 32/64 length mismatch between the legacy and GAS 
   9700 definitions for a register.
   9701 
   9702 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
   9703 is 
   9704 made obsolete by the port protection mechanism above. It was previously 
   9705 used 
   9706 to validate the entire address range of an operation region, which could 
   9707 be 
   9708 incorrect if the range included illegal ports, but fields within the 
   9709 operation region did not actually access those ports. Validation is now 
   9710 performed on a per-field basis instead of the entire region.
   9711 
   9712 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
   9713 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
   9714 this 
   9715 means a read/modify/write when writing to the register. However, for 
   9716 status 
   9717 registers, writing a one means clear the event. Writing a zero means 
   9718 preserve 
   9719 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
   9720 spec, 
   9721 and the ACPICA code now simply always writes a zero to the ignored bit.
   9722 
   9723 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
   9724 As 
   9725 per the ACPI specification, for the control registers, preserve 
   9726 (read/modify/write) all bits that are defined as either reserved or 
   9727 ignored.
   9728 
   9729 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
   9730 When reading the register, zero the write-only bits as per the ACPI spec. 
   9731 ACPICA BZ 443. Lin Ming.
   9732 
   9733 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
   9734 wants to reply true to this request. The Windows strings are the only 
   9735 paths 
   9736 through the AML that are tested and known to work properly.
   9737 
   9738   Previous Release:
   9739     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9740     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9741   Current Release:
   9742     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
   9743     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
   9744 
   9745 2) iASL Compiler/Disassembler and Tools:
   9746 
   9747 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
   9748 and 
   9749 aetables.c
   9750 
   9751 ----------------------------------------
   9752 20 February 2009. Summary of changes for version 20090220:
   9753 
   9754 1) ACPI CA Core Subsystem:
   9755 
   9756 Optimized the ACPI register locking. Removed locking for reads from the 
   9757 ACPI 
   9758 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
   9759 is 
   9760 not required when reading the single-bit registers. The 
   9761 AcpiGetRegisterUnlocked function is no longer needed and has been 
   9762 removed. 
   9763 This will improve performance for reads on these registers. ACPICA BZ 
   9764 760.
   9765 
   9766 Fixed the parameter validation for AcpiRead/Write. Now return 
   9767 AE_BAD_PARAMETER if the input register pointer is null, and 
   9768 AE_BAD_ADDRESS 
   9769 if 
   9770 the register has an address of zero. Previously, these cases simply 
   9771 returned 
   9772 AE_OK. For optional registers such as PM1B status/enable/control, the 
   9773 caller 
   9774 should check for a valid register address before calling. ACPICA BZ 748.
   9775 
   9776 Renamed the external ACPI bit register access functions. Renamed 
   9777 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
   9778 functions. The new names are AcpiReadBitRegister and 
   9779 AcpiWriteBitRegister. 
   9780 Also, restructured the code for these functions by simplifying the code 
   9781 path 
   9782 and condensing duplicate code to reduce code size.
   9783 
   9784 Added new functions to transparently handle the possibly split PM1 A/B 
   9785 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
   9786 functions 
   9787 now handle the split registers for PM1 Status, Enable, and Control. 
   9788 ACPICA 
   9789 BZ 
   9790 746.
   9791 
   9792 Added a function to handle the PM1 control registers, 
   9793 AcpiHwWritePm1Control. 
   9794 This function writes both of the PM1 control registers (A/B). These 
   9795 registers 
   9796 are different than the PM1 A/B status and enable registers in that 
   9797 different 
   9798 values can be written to the A/B registers. Most notably, the SLP_TYP 
   9799 bits 
   9800 can be different, as per the values returned from the _Sx predefined 
   9801 methods.
   9802 
   9803 Removed an extra register write within AcpiHwClearAcpiStatus. This 
   9804 function 
   9805 was writing an optional PM1B status register twice. The existing call to 
   9806 the 
   9807 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
   9808 A/B 
   9809 register. ACPICA BZ 751.
   9810 
   9811 Split out the PM1 Status registers from the FADT. Added new globals for 
   9812 these 
   9813 registers (A/B), similar to the way the PM1 Enable registers are handled. 
   9814 Instead of overloading the FADT Event Register blocks. This makes the 
   9815 code 
   9816 clearer and less prone to error.
   9817 
   9818 Fixed the warning message for when the platform contains too many ACPI 
   9819 tables 
   9820 for the default size of the global root table data structure. The 
   9821 calculation 
   9822 for the truncation value was incorrect.
   9823 
   9824 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
   9825 obsolete macro, since it is now a simple reference to ->common.type. 
   9826 There 
   9827 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
   9828 
   9829 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
   9830 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
   9831 simply SLEEP_TYPE. ACPICA BZ 754.
   9832 
   9833 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
   9834 function is only needed on 64-bit host operating systems and is thus not 
   9835 included for 32-bit hosts.
   9836 
   9837 Debug output: print the input and result for invocations of the _OSI 
   9838 reserved 
   9839 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
   9840 the 
   9841 verbosity of this debug level. Len Brown.
   9842 
   9843 Example Code and Data Size: These are the sizes for the OS-independent 
   9844 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9845 debug version of the code includes the debug output trace mechanism and 
   9846 has a 
   9847 much larger code and data size.
   9848 
   9849   Previous Release:
   9850     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9851     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9852   Current Release:
   9853     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
   9854     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
   9855 
   9856 2) iASL Compiler/Disassembler and Tools:
   9857 
   9858 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
   9859 various legal performance profiles.
   9860 
   9861 ----------------------------------------
   9862 23 January 2009. Summary of changes for version 20090123:
   9863 
   9864 1) ACPI CA Core Subsystem:
   9865 
   9866 Added the 2009 copyright to all module headers and signons. This affects 
   9867 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   9868 the tools/utilities.
   9869 
   9870 Implemented a change to allow the host to override any ACPI table, 
   9871 including 
   9872 dynamically loaded tables. Previously, only the DSDT could be replaced by 
   9873 the 
   9874 host. With this change, the AcpiOsTableOverride interface is called for 
   9875 each 
   9876 table found in the RSDT/XSDT during ACPICA initialization, and also 
   9877 whenever 
   9878 a table is dynamically loaded via the AML Load operator.
   9879 
   9880 Updated FADT flag definitions, especially the Boot Architecture flags.
   9881 
   9882 Debugger: For the Find command, automatically pad the input ACPI name 
   9883 with 
   9884 underscores if the name is shorter than 4 characters. This enables a 
   9885 match 
   9886 with the actual namespace entry which is itself padded with underscores.
   9887 
   9888 Example Code and Data Size: These are the sizes for the OS-independent 
   9889 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9890 debug version of the code includes the debug output trace mechanism and 
   9891 has a 
   9892 much larger code and data size.
   9893 
   9894   Previous Release:
   9895     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   9896     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   9897   Current Release:
   9898     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
   9899     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
   9900 
   9901 2) iASL Compiler/Disassembler and Tools:
   9902 
   9903 Fix build error under Bison-2.4.
   9904 
   9905 Disassembler: Enhanced FADT support. Added decoding of the Boot
   9906 Architecture
   9907 flags. Now decode all flags, regardless of the FADT version. Flag output 
   9908 includes the FADT version which first defined each flag.
   9909 
   9910 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
   9911 and 
   9912 DSDT). Windows only.
   9913 
   9914 ----------------------------------------
   9915 04 December 2008. Summary of changes for version 20081204:
   9916 
   9917 1) ACPI CA Core Subsystem:
   9918 
   9919 The ACPICA Programmer Reference has been completely updated and revamped 
   9920 for 
   9921 this release. This includes updates to the external interfaces, OSL 
   9922 interfaces, the overview sections, and the debugger reference.
   9923 
   9924 Several new ACPICA interfaces have been implemented and documented in the 
   9925 programmer reference:
   9926 AcpiReset - Writes the reset value to the FADT-defined reset register.
   9927 AcpiDisableAllGpes - Disable all available GPEs.
   9928 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
   9929 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
   9930 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
   9931 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
   9932 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
   9933 
   9934 Most of the public ACPI hardware-related interfaces have been moved to a 
   9935 new 
   9936 file, components/hardware/hwxface.c
   9937 
   9938 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
   9939 register lengths within the FADT are now used, and the low level ACPI 
   9940 register access no longer hardcodes the ACPI register lengths. Given that 
   9941 there may be some risk in actually trusting the FADT register lengths, a 
   9942 run-
   9943 time option was added to fall back to the default hardcoded lengths if 
   9944 the 
   9945 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
   9946 option is set to true for now, and a warning is issued if a suspicious 
   9947 FADT 
   9948 register length is overridden with the default value.
   9949 
   9950 Fixed a reference count issue in NsRepairObject. This problem was 
   9951 introduced 
   9952 in version 20081031 as part of a fix to repair Buffer objects within 
   9953 Packages. Lin Ming.
   9954 
   9955 Added semaphore support to the Linux/Unix application OS-services layer 
   9956 (OSL). ACPICA BZ 448. Lin Ming.
   9957 
   9958 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
   9959 will 
   9960 be implemented in the OSL, or will binary semaphores be used instead.
   9961 
   9962 Example Code and Data Size: These are the sizes for the OS-independent 
   9963 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   9964 debug version of the code includes the debug output trace mechanism and 
   9965 has a 
   9966 much larger code and data size.
   9967 
   9968   Previous Release:
   9969     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   9970     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   9971   Current Release:
   9972     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
   9973     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
   9974 
   9975 2) iASL Compiler/Disassembler and Tools:
   9976 
   9977 iASL: Completed the '-e' option to include additional ACPI tables in 
   9978 order 
   9979 to 
   9980 aid with disassembly and External statement generation. ACPICA BZ 742. 
   9981 Lin 
   9982 Ming.
   9983 
   9984 iASL: Removed the "named object in while loop" error. The compiler cannot 
   9985 determine how many times a loop will execute. ACPICA BZ 730.
   9986 
   9987 Disassembler: Implemented support for FADT revision 2 (MS extension). 
   9988 ACPICA 
   9989 BZ 743.
   9990 
   9991 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
   9992 MCFG).
   9993 
   9994 ----------------------------------------
   9995 31 October 2008. Summary of changes for version 20081031:
   9996 
   9997 1) ACPI CA Core Subsystem:
   9998 
   9999 Restructured the ACPICA header files into public/private. acpi.h now 
   10000 includes 
   10001 only the "public" acpica headers. All other acpica headers are "private" 
   10002 and 
   10003 should not be included by acpica users. One new file, accommon.h is used 
   10004 to 
   10005 include the commonly used private headers for acpica code generation. 
   10006 Future 
   10007 plans include moving all private headers to a new subdirectory.
   10008 
   10009 Implemented an automatic Buffer->String return value conversion for 
   10010 predefined ACPI methods. For these methods (such as _BIF), added 
   10011 automatic 
   10012 conversion for return objects that are required to be a String, but a 
   10013 Buffer 
   10014 was found instead. This can happen when reading string battery data from 
   10015 an 
   10016 operation region, because it used to be difficult to convert the data 
   10017 from 
   10018 buffer to string from within the ASL. Ensures that the host OS is 
   10019 provided 
   10020 with a valid null-terminated string. Linux BZ 11822.
   10021 
   10022 Updated the FACS waking vector interfaces. Split 
   10023 AcpiSetFirmwareWakingVector 
   10024 into two: one for the 32-bit vector, another for the 64-bit vector. This 
   10025 is 
   10026 required because the host OS must setup the wake much differently for 
   10027 each 
   10028 vector (real vs. protected mode, etc.) and the interface itself should 
   10029 not 
   10030 be 
   10031 deciding which vector to use. Also, eliminated the 
   10032 GetFirmwareWakingVector 
   10033 interface, as it served no purpose (only the firmware reads the vector, 
   10034 OS 
   10035 only writes the vector.) ACPICA BZ 731.
   10036 
   10037 Implemented a mechanism to escape infinite AML While() loops. Added a 
   10038 loop 
   10039 counter to force exit from AML While loops if the count becomes too 
   10040 large. 
   10041 This can occur in poorly written AML when the hardware does not respond 
   10042 within a while loop and the loop does not implement a timeout. The 
   10043 maximum 
   10044 loop count is configurable. A new exception code is returned when a loop 
   10045 is 
   10046 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
   10047 
   10048 Optimized the execution of AML While loops. Previously, a control state 
   10049 object was allocated and freed for each execution of the loop. The 
   10050 optimization is to simply reuse the control state for each iteration. 
   10051 This 
   10052 speeds up the raw loop execution time by about 5%.
   10053 
   10054 Enhanced the implicit return mechanism. For Windows compatibility, return 
   10055 an 
   10056 implicit integer of value zero for methods that contain no executable 
   10057 code. 
   10058 Such methods are seen in the field as stubs (presumably), and can cause 
   10059 drivers to fail if they expect a return value. Lin Ming.
   10060 
   10061 Allow multiple backslashes as root prefixes in namepaths. In a fully 
   10062 qualified namepath, allow multiple backslash prefixes. This can happen 
   10063 (and 
   10064 is seen in the field) because of the use of a double-backslash in strings 
   10065 (since backslash is the escape character) causing confusion. ACPICA BZ 
   10066 739 
   10067 Lin Ming.
   10068 
   10069 Emit a warning if two different FACS or DSDT tables are discovered in the 
   10070 FADT. Checks if there are two valid but different addresses for the FACS 
   10071 and 
   10072 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
   10073 
   10074 Consolidated the method argument count validation code. Merged the code 
   10075 that 
   10076 validates control method argument counts into the predefined validation 
   10077 module. Eliminates possible multiple warnings for incorrect argument 
   10078 counts.
   10079 
   10080 Implemented ACPICA example code. Includes code for ACPICA initialization, 
   10081 handler installation, and calling a control method. Available at 
   10082 source/tools/examples.
   10083 
   10084 Added a global pointer for FACS table to simplify internal FACS access. 
   10085 Use 
   10086 the global pointer instead of using AcpiGetTableByIndex for each FACS 
   10087 access. 
   10088 This simplifies the code for the Global Lock and the Firmware Waking 
   10089 Vector(s).
   10090 
   10091 Example Code and Data Size: These are the sizes for the OS-independent 
   10092 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10093 debug version of the code includes the debug output trace mechanism and 
   10094 has a 
   10095 much larger code and data size.
   10096 
   10097   Previous Release:
   10098     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   10099     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   10100   Current Release:
   10101     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
   10102     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
   10103 
   10104 2) iASL Compiler/Disassembler and Tools:
   10105 
   10106 iASL: Improved disassembly of external method calls. Added the -e option 
   10107 to 
   10108 allow the inclusion of additional ACPI tables to help with the 
   10109 disassembly 
   10110 of 
   10111 method invocations and the generation of external declarations during the 
   10112 disassembly. Certain external method invocations cannot be disassembled 
   10113 properly without the actual declaration of the method. Use the -e option 
   10114 to 
   10115 include the table where the external method(s) are actually declared. 
   10116 Most 
   10117 useful for disassembling SSDTs that make method calls back to the master 
   10118 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
   10119 -d 
   10120 -e dsdt.aml ssdt1.aml
   10121 
   10122 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
   10123 problem where the use of an alias within a namepath would result in a not 
   10124 found error or cause the compiler to fault. Also now allows forward 
   10125 references from the Alias operator itself. ACPICA BZ 738.
   10126 
   10127 ----------------------------------------
   10128 26 September 2008. Summary of changes for version 20080926:
   10129 
   10130 1) ACPI CA Core Subsystem:
   10131 
   10132 Designed and implemented a mechanism to validate predefined ACPI methods 
   10133 and 
   10134 objects. This code validates the predefined ACPI objects (objects whose 
   10135 names 
   10136 start with underscore) that appear in the namespace, at the time they are 
   10137 evaluated. The argument count and the type of the returned object are 
   10138 validated against the ACPI specification. The purpose of this validation 
   10139 is 
   10140 to detect problems with the BIOS-implemented predefined ACPI objects 
   10141 before 
   10142 the results are returned to the ACPI-related drivers. Future enhancements 
   10143 may 
   10144 include actual repair of incorrect return objects where possible. Two new 
   10145 files are nspredef.c and acpredef.h.
   10146 
   10147 Fixed a fault in the AML parser if a memory allocation fails during the 
   10148 Op 
   10149 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
   10150 
   10151 Fixed an issue with implicit return compatibility. This change improves 
   10152 the 
   10153 implicit return mechanism to be more compatible with the MS interpreter. 
   10154 Lin 
   10155 Ming, ACPICA BZ 349.
   10156 
   10157 Implemented support for zero-length buffer-to-string conversions. Allow 
   10158 zero 
   10159 length strings during interpreter buffer-to-string conversions. For 
   10160 example, 
   10161 during the ToDecimalString and ToHexString operators, as well as implicit 
   10162 conversions. Fiodor Suietov, ACPICA BZ 585.
   10163 
   10164 Fixed two possible memory leaks in the error exit paths of 
   10165 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
   10166 are 
   10167 similar in that they use a stack of state objects in order to eliminate 
   10168 recursion. The stack must be fully unwound and deallocated if an error 
   10169 occurs. Lin Ming. ACPICA BZ 383.
   10170 
   10171 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
   10172 global 
   10173 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
   10174 Moore ACPICA BZ 442.
   10175 
   10176 Removed the obsolete version number in module headers. Removed the 
   10177 "$Revision" number that appeared in each module header. This version 
   10178 number 
   10179 was useful under SourceSafe and CVS, but has no meaning under git. It is 
   10180 not 
   10181 only incorrect, it could also be misleading.
   10182 
   10183 Example Code and Data Size: These are the sizes for the OS-independent 
   10184 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10185 debug version of the code includes the debug output trace mechanism and 
   10186 has a 
   10187 much larger code and data size.
   10188 
   10189   Previous Release:
   10190     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10191     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   10192   Current Release:
   10193     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
   10194     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
   10195 
   10196 ----------------------------------------
   10197 29 August 2008. Summary of changes for version 20080829:
   10198 
   10199 1) ACPI CA Core Subsystem:
   10200 
   10201 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
   10202 Reference. Changes include the elimination of cheating on the Object 
   10203 field 
   10204 for the DdbHandle subtype, addition of a reference class field to 
   10205 differentiate the various reference types (instead of an AML opcode), and 
   10206 the 
   10207 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
   10208 
   10209 Reduce an error to a warning for an incorrect method argument count. 
   10210 Previously aborted with an error if too few arguments were passed to a 
   10211 control method via the external ACPICA interface. Now issue a warning 
   10212 instead 
   10213 and continue. Handles the case where the method inadvertently declares 
   10214 too 
   10215 many arguments, but does not actually use the extra ones. Applies mainly 
   10216 to 
   10217 the predefined methods. Lin Ming. Linux BZ 11032.
   10218 
   10219 Disallow the evaluation of named object types with no intrinsic value. 
   10220 Return 
   10221 AE_TYPE for objects that have no value and therefore evaluation is 
   10222 undefined: 
   10223 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
   10224 of 
   10225 these types were allowed, but an exception would be generated at some 
   10226 point 
   10227 during the evaluation. Now, the error is generated up front.
   10228 
   10229 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
   10230 (nsnames.c). Fixes a leak in the error exit path.
   10231 
   10232 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
   10233 debug 
   10234 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
   10235 ACPI_EXCEPTION 
   10236 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
   10237 ACPI_LV_EVENTS.
   10238 
   10239 Removed obsolete and/or unused exception codes from the acexcep.h header. 
   10240 There is the possibility that certain device drivers may be affected if 
   10241 they 
   10242 use any of these exceptions.
   10243 
   10244 The ACPICA documentation has been added to the public git source tree, 
   10245 under 
   10246 acpica/documents. Included are the ACPICA programmer reference, the iASL 
   10247 compiler reference, and the changes.txt release logfile.
   10248 
   10249 Example Code and Data Size: These are the sizes for the OS-independent 
   10250 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10251 debug version of the code includes the debug output trace mechanism and 
   10252 has a 
   10253 much larger code and data size.
   10254 
   10255   Previous Release:
   10256     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10257     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   10258   Current Release:
   10259     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10260     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
   10261 
   10262 2) iASL Compiler/Disassembler and Tools:
   10263 
   10264 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
   10265 defines _SCP with 3 arguments. Previous versions defined it with only 1 
   10266 argument. iASL now allows both definitions.
   10267 
   10268 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
   10269 zero-
   10270 length subtables when disassembling ACPI tables. Also fixed a couple of 
   10271 errors where a full 16-bit table type field was not extracted from the 
   10272 input 
   10273 properly.
   10274 
   10275 acpisrc: Improve comment counting mechanism for generating source code 
   10276 statistics. Count first and last lines of multi-line comments as 
   10277 whitespace, 
   10278 not comment lines. Handle Linux legal header in addition to standard 
   10279 acpica 
   10280 header.
   10281 
   10282 ----------------------------------------
   10283 
   10284 29 July 2008. Summary of changes for version 20080729:
   10285 
   10286 1) ACPI CA Core Subsystem:
   10287 
   10288 Fix a possible deadlock in the GPE dispatch. Remove call to 
   10289 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
   10290 attempt 
   10291 to acquire the GPE lock but can deadlock since the GPE lock is already 
   10292 held 
   10293 at dispatch time. This code was introduced in version 20060831 as a 
   10294 response 
   10295 to Linux BZ 6881 and has since been removed from Linux.
   10296 
   10297 Add a function to dereference returned reference objects. Examines the 
   10298 return 
   10299 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
   10300 are 
   10301 automatically dereferenced in an attempt to return something useful 
   10302 (these 
   10303 reference types cannot be converted into an external ACPI_OBJECT.) 
   10304 Provides 
   10305 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
   10306 
   10307 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
   10308 subtables for the MADT and one new subtable for the SRAT. Includes 
   10309 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
   10310 x2APIC 
   10311 Specification, June 2008.
   10312 
   10313 Additional error checking for pathname utilities. Add error check after 
   10314 all 
   10315 calls to AcpiNsGetPathnameLength. Add status return from 
   10316 AcpiNsBuildExternalPath and check after all calls. Add parameter 
   10317 validation 
   10318 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
   10319 
   10320 Return status from the global init function AcpiUtGlobalInitialize. This 
   10321 is 
   10322 used by both the kernel subsystem and the utilities such as iASL 
   10323 compiler. 
   10324 The function could possibly fail when the caches are initialized. Yang 
   10325 Yi.
   10326 
   10327 Add a function to decode reference object types to strings. Created for 
   10328 improved error messages. 
   10329 
   10330 Improve object conversion error messages. Better error messages during 
   10331 object 
   10332 conversion from internal to the external ACPI_OBJECT. Used for external 
   10333 calls 
   10334 to AcpiEvaluateObject.
   10335 
   10336 Example Code and Data Size: These are the sizes for the OS-independent 
   10337 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10338 debug version of the code includes the debug output trace mechanism and 
   10339 has a 
   10340 much larger code and data size.
   10341 
   10342   Previous Release:
   10343     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   10344     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   10345   Current Release:
   10346     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
   10347     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
   10348 
   10349 2) iASL Compiler/Disassembler and Tools:
   10350 
   10351 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
   10352 problem 
   10353 introduced in version 20080701. If the object being evaluated (via 
   10354 execute 
   10355 command) is not a method, the debugger can hang while trying to obtain 
   10356 non-
   10357 existent parameters.
   10358 
   10359 iASL: relax error for using reserved "_T_x" identifiers. These names can 
   10360 appear in a disassembled ASL file if they were emitted by the original 
   10361 compiler. Instead of issuing an error or warning and forcing the user to 
   10362 manually change these names, issue a remark instead.
   10363 
   10364 iASL: error if named object created in while loop. Emit an error if any 
   10365 named 
   10366 object is created within a While loop. If allowed, this code will 
   10367 generate 
   10368 a 
   10369 run-time error on the second iteration of the loop when an attempt is 
   10370 made 
   10371 to 
   10372 create the same named object twice. ACPICA bugzilla 730.
   10373 
   10374 iASL: Support absolute pathnames for include files. Add support for 
   10375 absolute 
   10376 pathnames within the Include operator. previously, only relative 
   10377 pathnames 
   10378 were supported.
   10379 
   10380 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
   10381 Descriptor. 
   10382 The ACPI spec requires one interrupt minimum. BZ 423
   10383 
   10384 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
   10385 Handles the case for the Interrupt Resource Descriptor where
   10386 the ResourceSource argument is omitted but ResourceSourceIndex
   10387 is present. Now leave room for the Index. BZ 426
   10388 
   10389 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
   10390 cases 
   10391 where an error message is emitted if the target does not exist. BZ 516
   10392 
   10393 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
   10394 (get ACPI tables on Windows). This was apparently broken in version 
   10395 20070919.
   10396 
   10397 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
   10398 where 
   10399 the EOF happens immediately after the last table in the input file. Print 
   10400 completion message. Previously, no message was displayed in this case.
   10401 
   10402 ----------------------------------------
   10403 01 July 2008. Summary of changes for version 20080701:
   10404 
   10405 0) Git source tree / acpica.org
   10406 
   10407 Fixed a problem where a git-clone from http would not transfer the entire 
   10408 source tree.
   10409 
   10410 1) ACPI CA Core Subsystem:
   10411 
   10412 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
   10413 enable bit. Now performs a read-change-write of the enable register 
   10414 instead 
   10415 of simply writing out the cached enable mask. This will prevent 
   10416 inadvertent 
   10417 enabling of GPEs if a rogue GPE is received during initialization (before 
   10418 GPE 
   10419 handlers are installed.)
   10420 
   10421 Implemented a copy for dynamically loaded tables. Previously, dynamically 
   10422 loaded tables were simply mapped - but on some machines this memory is 
   10423 corrupted after suspend. Now copy the table to a local buffer. For the 
   10424 OpRegion case, added checksum verify. Use the table length from the table 
   10425 header, not the region length. For the Buffer case, use the table length 
   10426 also. Dennis Noordsij, Bob Moore. BZ 10734
   10427 
   10428 Fixed a problem where the same ACPI table could not be dynamically loaded 
   10429 and 
   10430 unloaded more than once. Without this change, a table cannot be loaded 
   10431 again 
   10432 once it has been loaded/unloaded one time. The current mechanism does not 
   10433 unregister a table upon an unload. During a load, if the same table is 
   10434 found, 
   10435 this no longer returns an exception. BZ 722
   10436 
   10437 Fixed a problem where the wrong descriptor length was calculated for the 
   10438 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
   10439 EndTag 
   10440 are calculated as 12 bytes long, but the actual length in the internal 
   10441 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
   10442 Reported 
   10443 by Linn Crosetto. BZ 728
   10444 
   10445 Fixed a possible memory leak in the Unload operator. The DdbHandle 
   10446 returned 
   10447 by Load() did not have its reference count decremented during unload, 
   10448 leading 
   10449 to a memory leak. Lin Ming. BZ 727
   10450 
   10451 Fixed a possible memory leak when deleting thermal/processor objects. Any 
   10452 associated notify handlers (and objects) were not being deleted. Fiodor 
   10453 Suietov. BZ 506
   10454 
   10455 Fixed the ordering of the ASCII names in the global mutex table to match 
   10456 the 
   10457 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
   10458 only. 
   10459 Vegard Nossum. BZ 726
   10460 
   10461 Enhanced the AcpiGetObjectInfo interface to return the number of required 
   10462 arguments if the object is a control method. Added this call to the 
   10463 debugger 
   10464 so the proper number of default arguments are passed to a method. This 
   10465 prevents a warning when executing methods from AcpiExec.
   10466 
   10467 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
   10468 AE_BAD_PARAMETER if input handle is invalid. BZ 474
   10469 
   10470 Fixed an extraneous warning from exconfig.c on the 64-bit build.
   10471 
   10472 Example Code and Data Size: These are the sizes for the OS-independent 
   10473 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10474 debug version of the code includes the debug output trace mechanism and 
   10475 has a 
   10476 much larger code and data size.
   10477 
   10478   Previous Release:
   10479     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   10480     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   10481   Current Release:
   10482     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
   10483     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
   10484 
   10485 2) iASL Compiler/Disassembler and Tools:
   10486 
   10487 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
   10488 resource descriptor names.
   10489 
   10490 iASL: Detect invalid ASCII characters in input (windows version). Removed 
   10491 the 
   10492 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
   10493 characters in the input. BZ 441
   10494 
   10495 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
   10496 the 
   10497 "result of operation not used" warning when the DDB handle returned from 
   10498 LoadTable is not used. The warning is not needed. BZ 590
   10499 
   10500 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
   10501 method 
   10502 to 
   10503 pass address of table to the AML. Added option to disable OpRegion 
   10504 simulation 
   10505 to allow creation of an OpRegion with a real address that was passed to 
   10506 _CFG. 
   10507 All of this allows testing of the Load and Unload operators from 
   10508 AcpiExec.
   10509 
   10510 Debugger: update tables command for unloaded tables. Handle unloaded 
   10511 tables 
   10512 and use the standard table header output routine.
   10513 
   10514 ----------------------------------------
   10515 09 June 2008. Summary of changes for version 20080609:
   10516 
   10517 1) ACPI CA Core Subsystem:
   10518 
   10519 Implemented a workaround for reversed _PRT entries. A significant number 
   10520 of 
   10521 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
   10522 change dynamically detects and repairs this problem. Provides 
   10523 compatibility 
   10524 with MS ACPI. BZ 6859
   10525 
   10526 Simplified the internal ACPI hardware interfaces to eliminate the locking 
   10527 flag parameter from Register Read/Write. Added a new external interface, 
   10528 AcpiGetRegisterUnlocked.
   10529 
   10530 Fixed a problem where the invocation of a GPE control method could hang. 
   10531 This 
   10532 was a regression introduced in 20080514. The new method argument count 
   10533 validation mechanism can enter an infinite loop when a GPE method is 
   10534 dispatched. Problem fixed by removing the obsolete code that passed GPE 
   10535 block 
   10536 information to the notify handler via the control method parameter 
   10537 pointer.
   10538 
   10539 Fixed a problem where the _SST execution status was incorrectly returned 
   10540 to 
   10541 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
   10542 in 
   10543 20080514. _SST is optional and a NOT_FOUND exception should never be 
   10544 returned. BZ 716
   10545 
   10546 Fixed a problem where a deleted object could be accessed from within the 
   10547 AML 
   10548 parser. This was a regression introduced in version 20080123 as a fix for 
   10549 the 
   10550 Unload operator. Lin Ming. BZ 10669
   10551 
   10552 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
   10553 operands 
   10554 and eliminated the use of a negative index in a loop. Operands are now 
   10555 displayed in the correct order, not backwards. This also fixes a 
   10556 regression 
   10557 introduced in 20080514 on 64-bit systems where the elimination of 
   10558 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
   10559 715
   10560 
   10561 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
   10562 exit 
   10563 path did not delete a locally allocated structure.
   10564 
   10565 Updated definitions for the DMAR and SRAT tables to synchronize with the 
   10566 current specifications. Includes disassembler support.
   10567 
   10568 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
   10569 loop termination value was used. Loop terminated on iteration early, 
   10570 missing 
   10571 one mutex. Linn Crosetto
   10572 
   10573 Example Code and Data Size: These are the sizes for the OS-independent 
   10574 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10575 debug version of the code includes the debug output trace mechanism and 
   10576 has a 
   10577 much larger code and data size.
   10578 
   10579   Previous Release:
   10580     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   10581     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   10582   Current Release:
   10583     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
   10584     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
   10585 
   10586 2) iASL Compiler/Disassembler and Tools:
   10587 
   10588 Disassembler: Implemented support for EisaId() within _CID objects. Now 
   10589 disassemble integer _CID objects back to EisaId invocations, including 
   10590 multiple integers within _CID packages. Includes single-step support for 
   10591 debugger also.
   10592 
   10593 Disassembler: Added support for DMAR and SRAT table definition changes.
   10594 
   10595 ----------------------------------------
   10596 14 May 2008. Summary of changes for version 20080514:
   10597 
   10598 1) ACPI CA Core Subsystem:
   10599 
   10600 Fixed a problem where GPEs were enabled too early during the ACPICA 
   10601 initialization. This could lead to "handler not installed" errors on some 
   10602 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
   10603 This 
   10604 ensures that all operation regions and devices throughout the namespace 
   10605 have 
   10606 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
   10607 
   10608 Implemented a change to the enter sleep code. Moved execution of the _GTS 
   10609 method to just before setting sleep enable bit. The execution was moved 
   10610 from 
   10611 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
   10612 immediately before the SLP_EN bit is set, as per the ACPI specification. 
   10613 Luming Yu, BZ 1653.
   10614 
   10615 Implemented a fix to disable unknown GPEs (2nd version). Now always 
   10616 disable 
   10617 the GPE, even if ACPICA thinks that that it is already disabled. It is 
   10618 possible that the AML or some other code has enabled the GPE unbeknownst 
   10619 to 
   10620 the ACPICA code.
   10621 
   10622 Fixed a problem with the Field operator where zero-length fields would 
   10623 return 
   10624 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
   10625 ASL 
   10626 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
   10627 
   10628 Implemented a fix for the Load operator, now load the table at the 
   10629 namespace 
   10630 root. This reverts a change introduced in version 20071019. The table is 
   10631 now 
   10632 loaded at the namespace root even though this goes against the ACPI 
   10633 specification. This provides compatibility with other ACPI 
   10634 implementations. 
   10635 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
   10636 Ming.
   10637 
   10638 Fixed a problem where ACPICA would not Load() tables with unusual 
   10639 signatures. 
   10640 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
   10641 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
   10642 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
   10643 such 
   10644 signatures, ACPICA must be compatible. BZ 10454.
   10645 
   10646 Fixed a possible negative array index in AcpiUtValidateException. Added 
   10647 NULL 
   10648 fields to the exception string arrays to eliminate a -1 subtraction on 
   10649 the 
   10650 SubStatus field.
   10651 
   10652 Updated the debug tracking macros to reduce overall code and data size. 
   10653 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
   10654 instead of pointers to static strings. Jan Beulich and Bob Moore.
   10655 
   10656 Implemented argument count checking in control method invocation via 
   10657 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
   10658 too 
   10659 many. This applies only to extern programmatic control method execution, 
   10660 not 
   10661 method-to-method calls within the AML. Lin Ming.
   10662 
   10663 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
   10664 no 
   10665 longer needed, especially with the removal of 16-bit support. It was 
   10666 replaced 
   10667 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
   10668 bit 
   10669 on 
   10670 32/64-bit platforms is required.
   10671 
   10672 Added the C const qualifier for appropriate string constants -- mostly 
   10673 MODULE_NAME and printf format strings. Jan Beulich.
   10674 
   10675 Example Code and Data Size: These are the sizes for the OS-independent 
   10676 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10677 debug version of the code includes the debug output trace mechanism and 
   10678 has a 
   10679 much larger code and data size.
   10680 
   10681   Previous Release:
   10682     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   10683     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   10684   Current Release:
   10685     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
   10686     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
   10687 
   10688 2) iASL Compiler/Disassembler and Tools:
   10689 
   10690 Implemented ACPI table revision ID validation in the disassembler. Zero 
   10691 is 
   10692 always invalid. For DSDTs, the ID controls the interpreter integer width. 
   10693 1 
   10694 means 32-bit and this is unusual. 2 or greater is 64-bit.
   10695 
   10696 ----------------------------------------
   10697 21 March 2008. Summary of changes for version 20080321:
   10698 
   10699 1) ACPI CA Core Subsystem:
   10700 
   10701 Implemented an additional change to the GPE support in order to suppress 
   10702 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
   10703 permanently 
   10704 disable incoming GPEs that are neither enabled nor disabled -- meaning 
   10705 that 
   10706 the GPE is unknown to the system. This should prevent future interrupt 
   10707 floods 
   10708 from that GPE. BZ 6217 (Zhang Rui)
   10709 
   10710 Fixed a problem where NULL package elements were not returned to the 
   10711 AcpiEvaluateObject interface correctly. The element was simply ignored 
   10712 instead of returning a NULL ACPI_OBJECT package element, potentially 
   10713 causing 
   10714 a buffer overflow and/or confusing the caller who expected a fixed number 
   10715 of 
   10716 elements. BZ 10132 (Lin Ming, Bob Moore)
   10717 
   10718 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
   10719 Dword, 
   10720 Qword), Field, BankField, and IndexField operators when invoked from 
   10721 inside 
   10722 an executing control method. In this case, these operators created 
   10723 namespace 
   10724 nodes that were incorrectly left marked as permanent nodes instead of 
   10725 temporary nodes. This could cause a problem if there is race condition 
   10726 between an exiting control method and a running namespace walk. (Reported 
   10727 by 
   10728 Linn Crosetto)
   10729 
   10730 Fixed a problem where the CreateField and CreateXXXField operators would 
   10731 incorrectly allow duplicate names (the name of the field) with no 
   10732 exception 
   10733 generated.
   10734 
   10735 Implemented several changes for Notify handling. Added support for new 
   10736 Notify 
   10737 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
   10738 PowerResource objects is no longer allowed, as per the ACPI 
   10739 specification. 
   10740 (Bob Moore, Zhang Rui)
   10741 
   10742 All Reference Objects returned via the AcpiEvaluateObject interface are 
   10743 now 
   10744 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
   10745 for 
   10746 NULL objects - either NULL package elements or unresolved named 
   10747 references.
   10748 
   10749 Fixed a problem where an extraneous debug message was produced for 
   10750 package 
   10751 objects (when debugging enabled). The message "Package List length larger 
   10752 than NumElements count" is now produced in the correct case, and is now 
   10753 an 
   10754 error message rather than a debug message. Added a debug message for the 
   10755 opposite case, where NumElements is larger than the Package List (the 
   10756 package 
   10757 will be padded out with NULL elements as per the ACPI spec.)
   10758 
   10759 Implemented several improvements for the output of the ASL "Debug" object 
   10760 to 
   10761 clarify and keep all data for a given object on one output line.
   10762 
   10763 Fixed two size calculation issues with the variable-length Start 
   10764 Dependent 
   10765 resource descriptor.
   10766 
   10767 Example Code and Data Size: These are the sizes for the OS-independent 
   10768 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10769 debug version of the code includes the debug output trace mechanism and 
   10770 has 
   10771 a much larger code and data size.
   10772 
   10773   Previous Release:
   10774     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10775     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10776   Current Release:
   10777     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
   10778     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
   10779 
   10780 2) iASL Compiler/Disassembler and Tools:
   10781 
   10782 Fixed a problem with the use of the Switch operator where execution of 
   10783 the 
   10784 containing method by multiple concurrent threads could cause an 
   10785 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
   10786 actual Switch opcode, it must be simulated with local named temporary 
   10787 variables and if/else pairs. The solution chosen was to mark any method 
   10788 that 
   10789 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
   10790 469.
   10791 
   10792 ----------------------------------------
   10793 13 February 2008. Summary of changes for version 20080213:
   10794 
   10795 1) ACPI CA Core Subsystem:
   10796 
   10797 Implemented another MS compatibility design change for GPE/Notify 
   10798 handling. 
   10799 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
   10800 to 
   10801 complete first. It is expected that the OSL will queue the enable request 
   10802 behind all pending notify requests (may require changes to the local host 
   10803 OSL 
   10804 in AcpiOsExecute). Alexey Starikovskiy.
   10805 
   10806 Fixed a problem where buffer and package objects passed as arguments to a 
   10807 control method via the external AcpiEvaluateObject interface could cause 
   10808 an 
   10809 AE_AML_INTERNAL exception depending on the order and type of operators 
   10810 executed by the target control method.
   10811 
   10812 Fixed a problem where resource descriptor size optimization could cause a 
   10813 problem when a _CRS resource template is passed to a _SRS method. The 
   10814 _SRS 
   10815 resource template must use the same descriptors (with the same size) as 
   10816 returned from _CRS. This change affects the following resource 
   10817 descriptors: 
   10818 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
   10819 9487)
   10820 
   10821 Fixed a problem where a CopyObject to RegionField, BankField, and 
   10822 IndexField 
   10823 objects did not perform an implicit conversion as it should. These types 
   10824 must 
   10825 retain their initial type permanently as per the ACPI specification. 
   10826 However, 
   10827 a CopyObject to all other object types should not perform an implicit 
   10828 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
   10829 
   10830 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
   10831 match device CIDs did not examine the entire list of available CIDs, but 
   10832 instead aborted on the first non-matching CID. Andrew Patterson.
   10833 
   10834 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
   10835 was 
   10836 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
   10837 truncating the upper dword of a 64-bit value. This macro is only used to 
   10838 display debug output, so no incorrect calculations were made. Also, 
   10839 reimplemented the macro so that a 64-bit shift is not performed by 
   10840 inefficient compilers.
   10841 
   10842 Added missing va_end statements that should correspond with each va_start 
   10843 statement.
   10844 
   10845 Example Code and Data Size: These are the sizes for the OS-independent 
   10846 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10847 debug version of the code includes the debug output trace mechanism and 
   10848 has 
   10849 a much larger code and data size.
   10850 
   10851   Previous Release:
   10852     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10853     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10854   Current Release:
   10855     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
   10856     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
   10857 
   10858 2) iASL Compiler/Disassembler and Tools:
   10859 
   10860 Implemented full disassembler support for the following new ACPI tables: 
   10861 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
   10862 complicated HEST table. These tables support the Windows Hardware Error 
   10863 Architecture (WHEA).
   10864 
   10865 ----------------------------------------
   10866 23 January 2008. Summary of changes for version 20080123:
   10867 
   10868 1) ACPI CA Core Subsystem:
   10869 
   10870 Added the 2008 copyright to all module headers and signons. This affects 
   10871 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   10872 the tools/utilities.
   10873 
   10874 Fixed a problem with the SizeOf operator when used with Package and 
   10875 Buffer 
   10876 objects. These objects have deferred execution for some arguments, and 
   10877 the 
   10878 execution is now completed before the SizeOf is executed. This problem 
   10879 caused 
   10880 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
   10881 BZ 
   10882 9558
   10883 
   10884 Implemented an enhancement to the interpreter "slack mode". In the 
   10885 absence 
   10886 of 
   10887 an explicit return or an implicitly returned object from the last 
   10888 executed 
   10889 opcode, a control method will now implicitly return an integer of value 0 
   10890 for 
   10891 Microsoft compatibility. (Lin Ming) BZ 392
   10892 
   10893 Fixed a problem with the Load operator where an exception was not 
   10894 returned 
   10895 in 
   10896 the case where the table is already loaded. (Lin Ming) BZ 463
   10897 
   10898 Implemented support for the use of DDBHandles as an Indexed Reference, as 
   10899 per 
   10900 the ACPI spec. (Lin Ming) BZ 486
   10901 
   10902 Implemented support for UserTerm (Method invocation) for the Unload 
   10903 operator 
   10904 as per the ACPI spec. (Lin Ming) BZ 580
   10905 
   10906 Fixed a problem with the LoadTable operator where the OemId and 
   10907 OemTableId 
   10908 input strings could cause unexpected failures if they were shorter than 
   10909 the 
   10910 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
   10911 
   10912 Implemented support for UserTerm (Method invocation) for the Unload 
   10913 operator 
   10914 as per the ACPI spec. (Lin Ming) BZ 580
   10915 
   10916 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
   10917 HEST, 
   10918 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
   10919 
   10920 Example Code and Data Size: These are the sizes for the OS-independent 
   10921 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   10922 debug version of the code includes the debug output trace mechanism and 
   10923 has 
   10924 a much larger code and data size.
   10925 
   10926   Previous Release:
   10927     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   10928     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   10929   Current Release:
   10930     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
   10931     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
   10932 
   10933 2) iASL Compiler/Disassembler and Tools:
   10934 
   10935 Implemented support in the disassembler for checksum validation on 
   10936 incoming 
   10937 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
   10938 table 
   10939 header dump at the start of the disassembly.
   10940 
   10941 Implemented additional debugging information in the namespace listing 
   10942 file 
   10943 created during compilation. In addition to the namespace hierarchy, the 
   10944 full 
   10945 pathname to each namespace object is displayed.
   10946 
   10947 Fixed a problem with the disassembler where invalid ACPI tables could 
   10948 cause 
   10949 faults or infinite loops.
   10950 
   10951 Fixed an unexpected parse error when using the optional "parameter types" 
   10952 list in a control method declaration. (Lin Ming) BZ 397
   10953 
   10954 Fixed a problem where two External declarations with the same name did 
   10955 not 
   10956 cause an error (Lin Ming) BZ 509
   10957 
   10958 Implemented support for full TermArgs (adding Argx, Localx and method 
   10959 invocation) for the ParameterData parameter to the LoadTable operator. 
   10960 (Lin 
   10961 Ming) BZ 583,587
   10962 
   10963 ----------------------------------------
   10964 19 December 2007. Summary of changes for version 20071219:
   10965 
   10966 1) ACPI CA Core Subsystem:
   10967 
   10968 Implemented full support for deferred execution for the TermArg string 
   10969 arguments for DataTableRegion. This enables forward references and full 
   10970 operand resolution for the three string arguments. Similar to 
   10971 OperationRegion 
   10972 deferred argument execution.) Lin Ming. BZ 430
   10973 
   10974 Implemented full argument resolution support for the BankValue argument 
   10975 to 
   10976 BankField. Previously, only constants were supported, now any TermArg may 
   10977 be 
   10978 used. Lin Ming BZ 387, 393
   10979 
   10980 Fixed a problem with AcpiGetDevices where the search of a branch of the 
   10981 device tree could be terminated prematurely. In accordance with the ACPI 
   10982 specification, the search down the current branch is terminated if a 
   10983 device 
   10984 is both not present and not functional (instead of just not present.) 
   10985 Yakui 
   10986 Zhao.
   10987 
   10988 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
   10989 if 
   10990 the underlying AML code changed the GPE enable registers. Now, any 
   10991 unknown 
   10992 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
   10993 disabled 
   10994 instead of simply ignored. Rui Zhang.
   10995 
   10996 Fixed a problem with Index Fields where the Index register was 
   10997 incorrectly 
   10998 limited to a maximum of 32 bits. Now any size may be used.
   10999 
   11000 Fixed a couple memory leaks associated with "implicit return" objects 
   11001 when 
   11002 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
   11003 
   11004 Example Code and Data Size: These are the sizes for the OS-independent 
   11005 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11006 debug version of the code includes the debug output trace mechanism and 
   11007 has 
   11008 a much larger code and data size.
   11009 
   11010   Previous Release:
   11011     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   11012     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   11013   Current Release:
   11014     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
   11015     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
   11016 
   11017 ----------------------------------------
   11018 14 November 2007. Summary of changes for version 20071114:
   11019 
   11020 1) ACPI CA Core Subsystem:
   11021 
   11022 Implemented event counters for each of the Fixed Events, the ACPI SCI 
   11023 (interrupt) itself, and control methods executed. Named 
   11024 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
   11025 These 
   11026 should be useful for debugging and statistics.
   11027 
   11028 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
   11029 contents of the various event counters. Returns the current values for 
   11030 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
   11031 AcpiMethodCount. The interface can be expanded in the future if new 
   11032 counters 
   11033 are added. Device drivers should use this interface rather than access 
   11034 the 
   11035 counters directly.
   11036 
   11037 Fixed a problem with the FromBCD and ToBCD operators. With some 
   11038 compilers, 
   11039 the ShortDivide function worked incorrectly, causing problems with the 
   11040 BCD 
   11041 functions with large input values. A truncation from 64-bit to 32-bit 
   11042 inadvertently occurred. Internal BZ 435. Lin Ming
   11043 
   11044 Fixed a problem with Index references passed as method arguments. 
   11045 References 
   11046 passed as arguments to control methods were dereferenced immediately 
   11047 (before 
   11048 control was passed to the called method). The references are now 
   11049 correctly 
   11050 passed directly to the called method. BZ 5389. Lin Ming
   11051 
   11052 Fixed a problem with CopyObject used in conjunction with the Index 
   11053 operator. 
   11054 The reference was incorrectly dereferenced before the copy. The reference 
   11055 is 
   11056 now correctly copied. BZ 5391. Lin Ming
   11057 
   11058 Fixed a problem with Control Method references within Package objects. 
   11059 These 
   11060 references are now correctly generated. This completes the package 
   11061 construction overhaul that began in version 20071019.
   11062 
   11063 Example Code and Data Size: These are the sizes for the OS-independent 
   11064 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11065 debug version of the code includes the debug output trace mechanism and 
   11066 has 
   11067 a much larger code and data size.
   11068 
   11069   Previous Release:
   11070     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   11071     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   11072   Current Release:
   11073     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
   11074     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
   11075 
   11076 
   11077 2) iASL Compiler/Disassembler and Tools:
   11078 
   11079 The AcpiExec utility now installs handlers for all of the predefined 
   11080 Operation Region types. New types supported are: PCI_Config, CMOS, and 
   11081 PCIBARTarget.
   11082 
   11083 Fixed a problem with the 64-bit version of AcpiExec where the extended 
   11084 (64-
   11085 bit) address fields for the DSDT and FACS within the FADT were not being 
   11086 used, causing truncation of the upper 32-bits of these addresses. Lin 
   11087 Ming 
   11088 and Bob Moore
   11089 
   11090 ----------------------------------------
   11091 19 October 2007. Summary of changes for version 20071019:
   11092 
   11093 1) ACPI CA Core Subsystem:
   11094 
   11095 Fixed a problem with the Alias operator when the target of the alias is a 
   11096 named ASL operator that opens a new scope -- Scope, Device, 
   11097 PowerResource, 
   11098 Processor, and ThermalZone. In these cases, any children of the original 
   11099 operator could not be accessed via the alias, potentially causing 
   11100 unexpected 
   11101 AE_NOT_FOUND exceptions. (BZ 9067)
   11102 
   11103 Fixed a problem with the Package operator where all named references were 
   11104 created as object references and left otherwise unresolved. According to 
   11105 the 
   11106 ACPI specification, a Package can only contain Data Objects or references 
   11107 to 
   11108 control methods. The implication is that named references to Data Objects 
   11109 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
   11110 immediately upon package creation. This is the approach taken with this 
   11111 change. References to all other named objects (Methods, Devices, Scopes, 
   11112 etc.) are all now properly created as reference objects. (BZ 5328)
   11113 
   11114 Reverted a change to Notify handling that was introduced in version 
   11115 20070508. This version changed the Notify handling from asynchronous to 
   11116 fully synchronous (Device driver Notify handling with respect to the 
   11117 Notify 
   11118 ASL operator). It was found that this change caused more problems than it 
   11119 solved and was removed by most users.
   11120 
   11121 Fixed a problem with the Increment and Decrement operators where the type 
   11122 of 
   11123 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
   11124 Lin Ming.
   11125 
   11126 Fixed a problem with the Load and LoadTable operators where the table 
   11127 location within the namespace was ignored. Instead, the table was always 
   11128 loaded into the root or current scope. Lin Ming.
   11129 
   11130 Fixed a problem with the Load operator when loading a table from a buffer 
   11131 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
   11132 
   11133 Fixed a problem with the Debug object where a store of a DdbHandle 
   11134 reference 
   11135 object to the Debug object could cause a fault.
   11136 
   11137 Added a table checksum verification for the Load operator, in the case 
   11138 where 
   11139 the load is from a buffer. (BZ 578).
   11140 
   11141 Implemented additional parameter validation for the LoadTable operator. 
   11142 The 
   11143 length of the input strings SignatureString, OemIdString, and OemTableId 
   11144 are 
   11145 now checked for maximum lengths. (BZ 582) Lin Ming.
   11146 
   11147 Example Code and Data Size: These are the sizes for the OS-independent 
   11148 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11149 debug version of the code includes the debug output trace mechanism and 
   11150 has 
   11151 a much larger code and data size.
   11152 
   11153   Previous Release:
   11154     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   11155     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   11156   Current Release:
   11157     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
   11158     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
   11159 
   11160 
   11161 2) iASL Compiler/Disassembler:
   11162 
   11163 Fixed a problem where if a single file was specified and the file did not 
   11164 exist, no error message was emitted. (Introduced with wildcard support in 
   11165 version 20070917.)
   11166 
   11167 ----------------------------------------
   11168 19 September 2007. Summary of changes for version 20070919:
   11169 
   11170 1) ACPI CA Core Subsystem:
   11171 
   11172 Designed and implemented new external interfaces to install and remove 
   11173 handlers for ACPI table-related events. Current events that are defined 
   11174 are 
   11175 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
   11176 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
   11177 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
   11178 
   11179 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
   11180 (acpi_serialized option on Linux) could cause some systems to hang during 
   11181 initialization. (Bob Moore) BZ 8171
   11182 
   11183 Fixed a problem where objects of certain types (Device, ThermalZone, 
   11184 Processor, PowerResource) can be not found if they are declared and 
   11185 referenced from within the same control method (Lin Ming) BZ 341
   11186 
   11187 Example Code and Data Size: These are the sizes for the OS-independent 
   11188 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11189 debug version of the code includes the debug output trace mechanism and 
   11190 has 
   11191 a much larger code and data size.
   11192 
   11193   Previous Release:
   11194     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   11195     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   11196   Current Release:
   11197     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
   11198     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
   11199 
   11200 
   11201 2) iASL Compiler/Disassembler:
   11202 
   11203 Implemented support to allow multiple files to be compiled/disassembled 
   11204 in 
   11205 a 
   11206 single invocation. This includes command line wildcard support for both 
   11207 the 
   11208 Windows and Unix versions of the compiler. This feature simplifies the 
   11209 disassembly and compilation of multiple ACPI tables in a single 
   11210 directory.
   11211 
   11212 ----------------------------------------
   11213 08 May 2007. Summary of changes for version 20070508:
   11214 
   11215 1) ACPI CA Core Subsystem:
   11216 
   11217 Implemented a Microsoft compatibility design change for the handling of 
   11218 the 
   11219 Notify AML operator. Previously, notify handlers were dispatched and 
   11220 executed completely asynchronously in a deferred thread. The new design 
   11221 still executes the notify handlers in a different thread, but the 
   11222 original 
   11223 thread that executed the Notify() now waits at a synchronization point 
   11224 for 
   11225 the notify handler to complete. Some machines depend on a synchronous 
   11226 Notify 
   11227 operator in order to operate correctly.
   11228 
   11229 Implemented support to allow Package objects to be passed as method 
   11230 arguments to the external AcpiEvaluateObject interface. Previously, this 
   11231 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
   11232 implemented since there were no reserved control methods that required it 
   11233 until recently.
   11234 
   11235 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
   11236 that 
   11237 contained invalid non-zero values in reserved fields could cause later 
   11238 failures because these fields have meaning in later revisions of the 
   11239 FADT. 
   11240 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
   11241 fields 
   11242 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
   11243 
   11244 Fixed a problem where the Global Lock handle was not properly updated if 
   11245 a 
   11246 thread that acquired the Global Lock via executing AML code then 
   11247 attempted 
   11248 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
   11249 Joe 
   11250 Liu.
   11251 
   11252 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
   11253 could be corrupted if the interrupt being removed was at the head of the 
   11254 list. Reported by Linn Crosetto.
   11255 
   11256 Example Code and Data Size: These are the sizes for the OS-independent 
   11257 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11258 debug version of the code includes the debug output trace mechanism and 
   11259 has 
   11260 a much larger code and data size.
   11261 
   11262   Previous Release:
   11263     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11264     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   11265   Current Release:
   11266     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
   11267     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
   11268 
   11269 ----------------------------------------
   11270 20 March 2007. Summary of changes for version 20070320:
   11271 
   11272 1) ACPI CA Core Subsystem:
   11273 
   11274 Implemented a change to the order of interpretation and evaluation of AML 
   11275 operand objects within the AML interpreter. The interpreter now evaluates 
   11276 operands in the order that they appear in the AML stream (and the 
   11277 corresponding ASL code), instead of in the reverse order (after the 
   11278 entire 
   11279 operand list has been parsed). The previous behavior caused several 
   11280 subtle 
   11281 incompatibilities with the Microsoft AML interpreter as well as being 
   11282 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
   11283 
   11284 Implemented a change to the ACPI Global Lock support. All interfaces to 
   11285 the 
   11286 global lock now allow the same thread to acquire the lock multiple times. 
   11287 This affects the AcpiAcquireGlobalLock external interface to the global 
   11288 lock 
   11289 as well as the internal use of the global lock to support AML fields -- a 
   11290 control method that is holding the global lock can now simultaneously 
   11291 access 
   11292 AML fields that require global lock protection. Previously, in both 
   11293 cases, 
   11294 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
   11295 to 
   11296 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
   11297 Controller. There is no change to the behavior of the AML Acquire 
   11298 operator, 
   11299 as this can already be used to acquire a mutex multiple times by the same 
   11300 thread. BZ 8066. With assistance from Alexey Starikovskiy.
   11301 
   11302 Fixed a problem where invalid objects could be referenced in the AML 
   11303 Interpreter after error conditions. During operand evaluation, ensure 
   11304 that 
   11305 the internal "Return Object" field is cleared on error and only valid 
   11306 pointers are stored there. Caused occasional access to deleted objects 
   11307 that 
   11308 resulted in "large reference count" warning messages. Valery Podrezov.
   11309 
   11310 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
   11311 on 
   11312 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
   11313 Podrezov.
   11314 
   11315 Fixed an internal problem with the handling of result objects on the 
   11316 interpreter result stack. BZ 7872. Valery Podrezov.
   11317 
   11318 Removed obsolete code that handled the case where AML_NAME_OP is the 
   11319 target 
   11320 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
   11321 7874. Valery Podrezov.
   11322 
   11323 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
   11324 was 
   11325 a 
   11326 remnant from the previously discontinued 16-bit support.
   11327 
   11328 Example Code and Data Size: These are the sizes for the OS-independent 
   11329 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11330 debug version of the code includes the debug output trace mechanism and 
   11331 has 
   11332 a much larger code and data size.
   11333 
   11334   Previous Release:
   11335     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11336     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11337   Current Release:
   11338     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11339     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
   11340 
   11341 ----------------------------------------
   11342 26 January 2007. Summary of changes for version 20070126:
   11343 
   11344 1) ACPI CA Core Subsystem:
   11345 
   11346 Added the 2007 copyright to all module headers and signons. This affects 
   11347 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
   11348 the utilities.
   11349 
   11350 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
   11351 during a table load. A bad pointer was passed in the case where the DSDT 
   11352 is 
   11353 overridden, causing a fault in this case.
   11354 
   11355 Example Code and Data Size: These are the sizes for the OS-independent 
   11356 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11357 debug version of the code includes the debug output trace mechanism and 
   11358 has 
   11359 a much larger code and data size.
   11360 
   11361   Previous Release:
   11362     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11363     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11364   Current Release:
   11365     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11366     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11367 
   11368 ----------------------------------------
   11369 15 December 2006. Summary of changes for version 20061215:
   11370 
   11371 1) ACPI CA Core Subsystem:
   11372 
   11373 Support for 16-bit ACPICA has been completely removed since it is no 
   11374 longer 
   11375 necessary and it clutters the code. All 16-bit macros, types, and 
   11376 conditional compiles have been removed, cleaning up and simplifying the 
   11377 code 
   11378 across the entire subsystem. DOS support is no longer needed since the 
   11379 bootable Linux firmware kit is now available.
   11380 
   11381 The handler for the Global Lock is now removed during AcpiTerminate to 
   11382 enable a clean subsystem restart, via the implementation of the 
   11383 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
   11384 HP)
   11385 
   11386 Implemented enhancements to the multithreading support within the 
   11387 debugger 
   11388 to enable improved multithreading debugging and evaluation of the 
   11389 subsystem. 
   11390 (Valery Podrezov)
   11391 
   11392 Debugger: Enhanced the Statistics/Memory command to emit the total 
   11393 (maximum) 
   11394 memory used during the execution, as well as the maximum memory consumed 
   11395 by 
   11396 each of the various object types. (Valery Podrezov)
   11397 
   11398 Example Code and Data Size: These are the sizes for the OS-independent 
   11399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11400 debug version of the code includes the debug output trace mechanism and 
   11401 has 
   11402 a much larger code and data size.
   11403 
   11404   Previous Release:
   11405     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   11406     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   11407   Current Release:
   11408     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
   11409     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
   11410 
   11411 
   11412 2) iASL Compiler/Disassembler and Tools:
   11413 
   11414 AcpiExec: Implemented a new option (-m) to display full memory use 
   11415 statistics upon subsystem/program termination. (Valery Podrezov)
   11416 
   11417 ----------------------------------------
   11418 09 November 2006. Summary of changes for version 20061109:
   11419 
   11420 1) ACPI CA Core Subsystem:
   11421 
   11422 Optimized the Load ASL operator in the case where the source operand is 
   11423 an 
   11424 operation region. Simply map the operation region memory, instead of 
   11425 performing a bytewise read. (Region must be of type SystemMemory, see 
   11426 below.)
   11427 
   11428 Fixed the Load ASL operator for the case where the source operand is a 
   11429 region field. A buffer object is also allowed as the source operand. BZ 
   11430 480
   11431 
   11432 Fixed a problem where the Load ASL operator allowed the source operand to 
   11433 be 
   11434 an operation region of any type. It is now restricted to regions of type 
   11435 SystemMemory, as per the ACPI specification. BZ 481
   11436 
   11437 Additional cleanup and optimizations for the new Table Manager code.
   11438 
   11439 AcpiEnable will now fail if all of the required ACPI tables are not 
   11440 loaded 
   11441 (FADT, FACS, DSDT). BZ 477
   11442 
   11443 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
   11444 this 
   11445 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
   11446 manually optimized to be aligned and will not work if it is byte-packed. 
   11447 
   11448 Example Code and Data Size: These are the sizes for the OS-independent 
   11449 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11450 debug version of the code includes the debug output trace mechanism and 
   11451 has 
   11452 a much larger code and data size.
   11453 
   11454   Previous Release:
   11455     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   11456     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   11457   Current Release:
   11458     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
   11459     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
   11460 
   11461 
   11462 2) iASL Compiler/Disassembler and Tools:
   11463 
   11464 Fixed a problem where the presence of the _OSI predefined control method 
   11465 within complex expressions could cause an internal compiler error.
   11466 
   11467 AcpiExec: Implemented full region support for multiple address spaces. 
   11468 SpaceId is now part of the REGION object. BZ 429
   11469 
   11470 ----------------------------------------
   11471 11 October 2006. Summary of changes for version 20061011:
   11472 
   11473 1) ACPI CA Core Subsystem:
   11474 
   11475 Completed an AML interpreter performance enhancement for control method 
   11476 execution. Previously a 2-pass parse/execution, control methods are now 
   11477 completely parsed and executed in a single pass. This improves overall 
   11478 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
   11479 use. (Valery Podrezov + interpreter changes in version 20051202 that 
   11480 eliminated namespace loading during the pass one parse.)
   11481 
   11482 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
   11483 not 
   11484 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
   11485 now 
   11486 obtained and also checked for an ID match.
   11487 
   11488 Implemented additional support for the PCI _ADR execution: upsearch until 
   11489 a 
   11490 device scope is found before executing _ADR. This allows PCI_Config 
   11491 operation regions to be declared locally within control methods 
   11492 underneath 
   11493 PCI device objects.
   11494 
   11495 Fixed a problem with a possible race condition between threads executing 
   11496 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
   11497 modifying AcpiWalkNamespace to (by default) ignore all temporary 
   11498 namespace 
   11499 entries created during any concurrent control method execution. An 
   11500 additional namespace race condition is known to exist between 
   11501 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
   11502 investigation.
   11503 
   11504 Restructured the AML ParseLoop function, breaking it into several 
   11505 subfunctions in order to reduce CPU stack use and improve 
   11506 maintainability. 
   11507 (Mikhail Kouzmich)
   11508 
   11509 AcpiGetHandle: Fix for parameter validation to detect invalid 
   11510 combinations 
   11511 of prefix handle and pathname. BZ 478
   11512 
   11513 Example Code and Data Size: These are the sizes for the OS-independent 
   11514 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11515 debug version of the code includes the debug output trace mechanism and 
   11516 has 
   11517 a much larger code and data size.
   11518 
   11519   Previous Release:
   11520     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11521     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   11522   Current Release:
   11523     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
   11524     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
   11525 
   11526 2) iASL Compiler/Disassembler and Tools:
   11527 
   11528 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
   11529 Manager 
   11530 to restore original behavior.
   11531 
   11532 ----------------------------------------
   11533 27 September 2006. Summary of changes for version 20060927:
   11534 
   11535 1) ACPI CA Core Subsystem:
   11536 
   11537 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
   11538 These functions now use a spinlock for mutual exclusion and the interrupt 
   11539 level indication flag is not needed.
   11540 
   11541 Fixed a problem with the Global Lock where the lock could appear to be 
   11542 obtained before it is actually obtained. The global lock semaphore was 
   11543 inadvertently created with one unit instead of zero units. (BZ 464) 
   11544 Fiodor 
   11545 Suietov.
   11546 
   11547 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
   11548 during 
   11549 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
   11550 
   11551 Example Code and Data Size: These are the sizes for the OS-independent 
   11552 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11553 debug version of the code includes the debug output trace mechanism and 
   11554 has 
   11555 a much larger code and data size.
   11556 
   11557   Previous Release:
   11558     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11559     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   11560   Current Release:
   11561     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11562     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
   11563 
   11564 
   11565 2) iASL Compiler/Disassembler and Tools:
   11566 
   11567 Fixed a compilation problem with the pre-defined Resource Descriptor 
   11568 field 
   11569 names where an "object does not exist" error could be incorrectly 
   11570 generated 
   11571 if the parent ResourceTemplate pathname places the template within a 
   11572 different namespace scope than the current scope. (BZ 7212)
   11573 
   11574 Fixed a problem where the compiler could hang after syntax errors 
   11575 detected 
   11576 in an ElseIf construct. (BZ 453)
   11577 
   11578 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
   11579 operator. An incorrect output filename was produced when this parameter 
   11580 was 
   11581 a null string (""). Now, the original input filename is used as the AML 
   11582 output filename, with an ".aml" extension.
   11583 
   11584 Implemented a generic batch command mode for the AcpiExec utility 
   11585 (execute 
   11586 any AML debugger command) (Valery Podrezov).
   11587 
   11588 ----------------------------------------
   11589 12 September 2006. Summary of changes for version 20060912:
   11590 
   11591 1) ACPI CA Core Subsystem:
   11592 
   11593 Enhanced the implementation of the "serialized mode" of the interpreter 
   11594 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
   11595 specified, instead of creating a serialization semaphore per control 
   11596 method, 
   11597 the interpreter lock is simply no longer released before a blocking 
   11598 operation during control method execution. This effectively makes the AML 
   11599 Interpreter single-threaded. The overhead of a semaphore per-method is 
   11600 eliminated.
   11601 
   11602 Fixed a regression where an error was no longer emitted if a control 
   11603 method 
   11604 attempts to create 2 objects of the same name. This once again returns 
   11605 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
   11606 that 
   11607 will dynamically serialize the control method to possible prevent future 
   11608 errors. (BZ 440)
   11609 
   11610 Integrated a fix for a problem with PCI Express HID detection in the PCI 
   11611 Config Space setup procedure. (BZ 7145)
   11612 
   11613 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
   11614 AcpiHwInitialize function - the FADT registers are now validated when the 
   11615 table is loaded.
   11616 
   11617 Added two new warnings during FADT verification - 1) if the FADT is 
   11618 larger 
   11619 than the largest known FADT version, and 2) if there is a mismatch 
   11620 between 
   11621 a 
   11622 32-bit block address and the 64-bit X counterpart (when both are non-
   11623 zero.)
   11624 
   11625 Example Code and Data Size: These are the sizes for the OS-independent 
   11626 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11627 debug version of the code includes the debug output trace mechanism and 
   11628 has 
   11629 a much larger code and data size.
   11630 
   11631   Previous Release:
   11632     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   11633     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   11634   Current Release:
   11635     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
   11636     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
   11637 
   11638 
   11639 2) iASL Compiler/Disassembler and Tools:
   11640 
   11641 Fixed a problem with the implementation of the Switch() operator where 
   11642 the 
   11643 temporary variable was declared too close to the actual Switch, instead 
   11644 of 
   11645 at method level. This could cause a problem if the Switch() operator is 
   11646 within a while loop, causing an error on the second iteration. (BZ 460)
   11647 
   11648 Disassembler - fix for error emitted for unknown type for target of scope 
   11649 operator. Now, ignore it and continue.
   11650 
   11651 Disassembly of an FADT now verifies the input FADT and reports any errors 
   11652 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
   11653 
   11654 Disassembly of raw data buffers with byte initialization data now 
   11655 prefixes 
   11656 each output line with the current buffer offset.
   11657 
   11658 Disassembly of ASF! table now includes all variable-length data fields at 
   11659 the end of some of the subtables.
   11660 
   11661 The disassembler now emits a comment if a buffer appears to be a 
   11662 ResourceTemplate, but cannot be disassembled as such because the EndTag 
   11663 does 
   11664 not appear at the very end of the buffer.
   11665 
   11666 AcpiExec - Added the "-t" command line option to enable the serialized 
   11667 mode 
   11668 of the AML interpreter.
   11669 
   11670 ----------------------------------------
   11671 31 August 2006. Summary of changes for version 20060831:
   11672 
   11673 1) ACPI CA Core Subsystem:
   11674 
   11675 Miscellaneous fixes for the Table Manager:
   11676 - Correctly initialize internal common FADT for all 64-bit "X" fields
   11677 - Fixed a couple table mapping issues during table load
   11678 - Fixed a couple alignment issues for IA64
   11679 - Initialize input array to zero in AcpiInitializeTables
   11680 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
   11681 AcpiGetTableByIndex
   11682 
   11683 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
   11684 now 
   11685 immediately disabled to prevent the waking GPE from firing again and to 
   11686 prevent other wake GPEs from interrupting the wake process.
   11687 
   11688 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
   11689 to 
   11690 be used for debugging systems with a large number of ACPI interrupts.
   11691 
   11692 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
   11693 both the ACPICA headers and the disassembler.
   11694 
   11695 Example Code and Data Size: These are the sizes for the OS-independent 
   11696 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11697 debug version of the code includes the debug output trace mechanism and 
   11698 has 
   11699 a much larger code and data size.
   11700 
   11701   Previous Release:
   11702     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   11703     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   11704   Current Release:
   11705     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
   11706     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
   11707 
   11708 
   11709 2) iASL Compiler/Disassembler and Tools:
   11710 
   11711 Disassembler support for the DMAR ACPI table.
   11712 
   11713 ----------------------------------------
   11714 23 August 2006. Summary of changes for version 20060823:
   11715 
   11716 1) ACPI CA Core Subsystem:
   11717 
   11718 The Table Manager component has been completely redesigned and 
   11719 reimplemented. The new design is much simpler, and reduces the overall 
   11720 code 
   11721 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
   11722 is 
   11723 now possible to obtain the ACPI tables very early during kernel 
   11724 initialization, even before dynamic memory management is initialized. 
   11725 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
   11726 
   11727 Obsolete ACPICA interfaces:
   11728 
   11729 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
   11730 init 
   11731 time).
   11732 - AcpiLoadTable: Not needed.
   11733 - AcpiUnloadTable: Not needed.
   11734 
   11735 New ACPICA interfaces:
   11736 
   11737 - AcpiInitializeTables: Must be called before the table manager can be 
   11738 used.
   11739 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
   11740 allocated memory after it becomes available.
   11741 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
   11742 tables 
   11743 in the RSDT/XSDT.
   11744 
   11745 Other ACPICA changes:
   11746 
   11747 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
   11748 Use 
   11749 AcpiOsUnmapMemory to free this mapping.
   11750 - AcpiGetTable returns the actual mapped table. The mapping is managed 
   11751 internally and must not be deleted by the caller. Use of this interface 
   11752 causes no additional dynamic memory allocation.
   11753 - AcpiFindRootPointer: Support for physical addressing has been 
   11754 eliminated, 
   11755 it appeared to be unused.
   11756 - The interface to AcpiOsMapMemory has changed to be consistent with the 
   11757 other allocation interfaces.
   11758 - The interface to AcpiOsGetRootPointer has changed to eliminate 
   11759 unnecessary 
   11760 parameters.
   11761 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
   11762 64-
   11763 bit platforms. Was previously 64 bits on all platforms.
   11764 - The interface to the ACPI Global Lock acquire/release macros have 
   11765 changed 
   11766 slightly since ACPICA no longer keeps a local copy of the FACS with a 
   11767 constructed pointer to the actual global lock.
   11768 
   11769 Porting to the new table manager:
   11770 
   11771 - AcpiInitializeTables: Must be called once, and can be called anytime 
   11772 during the OS initialization process. It allows the host to specify an 
   11773 area 
   11774 of memory to be used to store the internal version of the RSDT/XSDT (root 
   11775 table). This allows the host to access ACPI tables before memory 
   11776 management 
   11777 is initialized and running.
   11778 - AcpiReallocateRootTable: Can be called after memory management is 
   11779 running 
   11780 to copy the root table to a dynamically allocated array, freeing up the 
   11781 scratch memory specified in the call to AcpiInitializeTables.
   11782 - AcpiSubsystemInitialize: This existing interface is independent of the 
   11783 Table Manager, and does not have to be called before the Table Manager 
   11784 can 
   11785 be used, it only must be called before the rest of ACPICA can be used.
   11786 - ACPI Tables: Some changes have been made to the names and structure of 
   11787 the 
   11788 actbl.h and actbl1.h header files and may require changes to existing 
   11789 code. 
   11790 For example, bitfields have been completely removed because of their lack 
   11791 of 
   11792 portability across C compilers.
   11793 - Update interfaces to the Global Lock acquire/release macros if local 
   11794 versions are used. (see acwin.h)
   11795 
   11796 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
   11797 
   11798 New files: tbfind.c
   11799 
   11800 Example Code and Data Size: These are the sizes for the OS-independent 
   11801 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11802 debug version of the code includes the debug output trace mechanism and 
   11803 has 
   11804 a much larger code and data size.
   11805 
   11806   Previous Release:
   11807     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11808     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11809   Current Release:
   11810     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
   11811     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
   11812 
   11813 
   11814 2) iASL Compiler/Disassembler and Tools:
   11815 
   11816 No changes for this release.
   11817 
   11818 ----------------------------------------
   11819 21 July 2006. Summary of changes for version 20060721:
   11820 
   11821 1) ACPI CA Core Subsystem:
   11822 
   11823 The full source code for the ASL test suite used to validate the iASL 
   11824 compiler and the ACPICA core subsystem is being released with the ACPICA 
   11825 source for the first time. The source is contained in a separate package 
   11826 and 
   11827 consists of over 1100 files that exercise all ASL/AML operators. The 
   11828 package 
   11829 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
   11830 Fiodor 
   11831 Suietov)
   11832 
   11833 Completed a new design and implementation for support of the ACPI Global 
   11834 Lock. On the OS side, the global lock is now treated as a standard AML 
   11835 mutex. Previously, multiple OS threads could "acquire" the global lock 
   11836 simultaneously. However, this could cause the BIOS to be starved out of 
   11837 the 
   11838 lock - especially in cases such as the Embedded Controller driver where 
   11839 there is a tight coupling between the OS and the BIOS.
   11840 
   11841 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
   11842 The Global Lock interrupt handler no longer queues the execution of a 
   11843 separate thread to signal the global lock semaphore. Instead, the 
   11844 semaphore 
   11845 is signaled directly from the interrupt handler.
   11846 
   11847 Implemented support within the AML interpreter for package objects that 
   11848 contain a larger AML length (package list length) than the package 
   11849 element 
   11850 count. In this case, the length of the package is truncated to match the 
   11851 package element count. Some BIOS code apparently modifies the package 
   11852 length 
   11853 on the fly, and this change supports this behavior. Provides 
   11854 compatibility 
   11855 with the MS AML interpreter. (With assistance from Fiodor Suietov)
   11856 
   11857 Implemented a temporary fix for the BankValue parameter of a Bank Field 
   11858 to 
   11859 support all constant values, now including the Zero and One opcodes. 
   11860 Evaluation of this parameter must eventually be converted to a full 
   11861 TermArg 
   11862 evaluation. A not-implemented error is now returned (temporarily) for 
   11863 non-
   11864 constant values for this parameter.
   11865 
   11866 Fixed problem reports (Fiodor Suietov) integrated:
   11867 - Fix for premature object deletion after CopyObject on Operation Region 
   11868 (BZ 
   11869 350)
   11870 
   11871 Example Code and Data Size: These are the sizes for the OS-independent 
   11872 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11873 debug version of the code includes the debug output trace mechanism and 
   11874 has 
   11875 a much larger code and data size.
   11876 
   11877   Previous Release:
   11878     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
   11879     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
   11880   Current Release:
   11881     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11882     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11883 
   11884 
   11885 2) iASL Compiler/Disassembler and Tools:
   11886 
   11887 No changes for this release.
   11888 
   11889 ----------------------------------------
   11890 07 July 2006. Summary of changes for version 20060707:
   11891 
   11892 1) ACPI CA Core Subsystem:
   11893 
   11894 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
   11895 that do not allow the initialization of address pointers within packed 
   11896 structures - even though the hardware itself may support misaligned 
   11897 transfers. Some of the debug data structures are packed by default to 
   11898 minimize size.
   11899 
   11900 Added an error message for the case where AcpiOsGetThreadId() returns 
   11901 zero. 
   11902 A non-zero value is required by the core ACPICA code to ensure the proper 
   11903 operation of AML mutexes and recursive control methods.
   11904 
   11905 The DSDT is now the only ACPI table that determines whether the AML 
   11906 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
   11907 but 
   11908 the hooks for per-table 32/64 switching have been removed from the code. 
   11909 A 
   11910 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
   11911 
   11912 Fixed a possible leak of an OwnerID in the error path of 
   11913 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
   11914 deletion to a single place in AcpiTbUninstallTable to correct possible 
   11915 leaks 
   11916 when using the AcpiTbDeleteTablesByType interface (with assistance from 
   11917 Lance Ortiz.)
   11918 
   11919 Fixed a problem with Serialized control methods where the semaphore 
   11920 associated with the method could be over-signaled after multiple method 
   11921 invocations.
   11922 
   11923 Fixed two issues with the locking of the internal namespace data 
   11924 structure. 
   11925 Both the Unload() operator and AcpiUnloadTable interface now lock the 
   11926 namespace during the namespace deletion associated with the table unload 
   11927 (with assistance from Linn Crosetto.)
   11928 
   11929 Fixed problem reports (Valery Podrezov) integrated:
   11930 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
   11931 
   11932 Fixed problem reports (Fiodor Suietov) integrated:
   11933 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
   11934 - On Address Space handler deletion, needless deactivation call (BZ 374)
   11935 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
   11936 375)
   11937 - Possible memory leak, Notify sub-objects of Processor, Power, 
   11938 ThermalZone 
   11939 (BZ 376)
   11940 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
   11941 - Minimum Length of RSDT should be validated (BZ 379)
   11942 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
   11943 Handler (BZ (380)
   11944 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
   11945 loaded 
   11946 (BZ 381)
   11947 
   11948 Example Code and Data Size: These are the sizes for the OS-independent 
   11949 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   11950 debug version of the code includes the debug output trace mechanism and 
   11951 has 
   11952 a much larger code and data size.
   11953 
   11954   Previous Release:
   11955     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   11956     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   11957   Current Release:
   11958     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
   11959     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
   11960 
   11961 
   11962 2) iASL Compiler/Disassembler and Tools:
   11963 
   11964 Fixed problem reports:
   11965 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
   11966 436)
   11967 
   11968 ----------------------------------------
   11969 23 June 2006. Summary of changes for version 20060623:
   11970 
   11971 1) ACPI CA Core Subsystem:
   11972 
   11973 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
   11974 allows the type to be customized to the host OS for improved efficiency 
   11975 (since a spinlock is usually a very small object.)
   11976 
   11977 Implemented support for "ignored" bits in the ACPI registers. According 
   11978 to 
   11979 the ACPI specification, these bits should be preserved when writing the 
   11980 registers via a read/modify/write cycle. There are 3 bits preserved in 
   11981 this 
   11982 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
   11983 
   11984 Implemented the initial deployment of new OSL mutex interfaces. Since 
   11985 some 
   11986 host operating systems have separate mutex and semaphore objects, this 
   11987 feature was requested. The base code now uses mutexes (and the new mutex 
   11988 interfaces) wherever a binary semaphore was used previously. However, for 
   11989 the current release, the mutex interfaces are defined as macros to map 
   11990 them 
   11991 to the existing semaphore interfaces. Therefore, no OSL changes are 
   11992 required 
   11993 at this time. (See acpiosxf.h)
   11994 
   11995 Fixed several problems with the support for the control method SyncLevel 
   11996 parameter. The SyncLevel now works according to the ACPI specification 
   11997 and 
   11998 in concert with the Mutex SyncLevel parameter, since the current 
   11999 SyncLevel 
   12000 is a property of the executing thread. Mutual exclusion for control 
   12001 methods 
   12002 is now implemented with a mutex instead of a semaphore.
   12003 
   12004 Fixed three instances of the use of the C shift operator in the bitfield 
   12005 support code (exfldio.c) to avoid the use of a shift value larger than 
   12006 the 
   12007 target data width. The behavior of C compilers is undefined in this case 
   12008 and 
   12009 can cause unpredictable results, and therefore the case must be detected 
   12010 and 
   12011 avoided. (Fiodor Suietov)
   12012 
   12013 Added an info message whenever an SSDT or OEM table is loaded dynamically 
   12014 via the Load() or LoadTable() ASL operators. This should improve 
   12015 debugging 
   12016 capability since it will show exactly what tables have been loaded 
   12017 (beyond 
   12018 the tables present in the RSDT/XSDT.)
   12019 
   12020 Example Code and Data Size: These are the sizes for the OS-independent 
   12021 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12022 debug version of the code includes the debug output trace mechanism and 
   12023 has 
   12024 a much larger code and data size.
   12025 
   12026   Previous Release:
   12027     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   12028     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   12029   Current Release:
   12030     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
   12031     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
   12032 
   12033 
   12034 2) iASL Compiler/Disassembler and Tools:
   12035 
   12036 No changes for this release.
   12037 
   12038 ----------------------------------------
   12039 08 June 2006. Summary of changes for version 20060608:
   12040 
   12041 1) ACPI CA Core Subsystem:
   12042 
   12043 Converted the locking mutex used for the ACPI hardware to a spinlock. 
   12044 This 
   12045 change should eliminate all problems caused by attempting to acquire a 
   12046 semaphore at interrupt level, and it means that all ACPICA external 
   12047 interfaces that directly access the ACPI hardware can be safely called 
   12048 from 
   12049 interrupt level. OSL code that implements the semaphore interfaces should 
   12050 be 
   12051 able to eliminate any workarounds for being called at interrupt level.
   12052 
   12053 Fixed a regression introduced in 20060526 where the ACPI device 
   12054 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
   12055 device 
   12056 did not have an optional _INI method.
   12057 
   12058 Fixed an IndexField issue where a write to the Data Register should be 
   12059 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
   12060 433, 
   12061 Fiodor Suietov)
   12062 
   12063 Fixed problem reports (Valery Podrezov) integrated:
   12064 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
   12065 
   12066 Fixed problem reports (Fiodor Suietov) integrated:
   12067 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
   12068 
   12069 Removed four global mutexes that were obsolete and were no longer being 
   12070 used.
   12071 
   12072 Example Code and Data Size: These are the sizes for the OS-independent 
   12073 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12074 debug version of the code includes the debug output trace mechanism and 
   12075 has 
   12076 a much larger code and data size.
   12077 
   12078   Previous Release:
   12079     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   12080     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   12081   Current Release:
   12082     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
   12083     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
   12084 
   12085 
   12086 2) iASL Compiler/Disassembler and Tools:
   12087 
   12088 Fixed a fault when using -g option (get tables from registry) on Windows 
   12089 machines.
   12090 
   12091 Fixed problem reports integrated:
   12092 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
   12093 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
   12094 Suietov)
   12095 - Global table revision override (-r) is ignored (BZ 413)
   12096 
   12097 ----------------------------------------
   12098 26 May 2006. Summary of changes for version 20060526:
   12099 
   12100 1) ACPI CA Core Subsystem:
   12101 
   12102 Restructured, flattened, and simplified the internal interfaces for 
   12103 namespace object evaluation - resulting in smaller code, less CPU stack 
   12104 use, 
   12105 and fewer interfaces. (With assistance from Mikhail Kouzmich)
   12106 
   12107 Fixed a problem with the CopyObject operator where the first parameter 
   12108 was 
   12109 not typed correctly for the parser, interpreter, compiler, and 
   12110 disassembler. 
   12111 Caused various errors and unexpected behavior.
   12112 
   12113 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
   12114 produced incorrect results with some C compilers. Since the behavior of C 
   12115 compilers when the shift value is larger than the datatype width is 
   12116 apparently not well defined, the interpreter now detects this condition 
   12117 and 
   12118 simply returns zero as expected in all such cases. (BZ 395)
   12119 
   12120 Fixed problem reports (Valery Podrezov) integrated:
   12121 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
   12122 - Allow interpreter to handle nested method declarations (BZ 5361)
   12123 
   12124 Fixed problem reports (Fiodor Suietov) integrated:
   12125 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
   12126 355)
   12127 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
   12128 356)
   12129 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
   12130 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
   12131 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
   12132 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
   12133 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
   12134 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
   12135 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
   12136 365)
   12137 - Status of the Global Initialization Handler call not used (BZ 366)
   12138 - Incorrect object parameter to Global Initialization Handler (BZ 367)
   12139 
   12140 Example Code and Data Size: These are the sizes for the OS-independent 
   12141 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12142 debug version of the code includes the debug output trace mechanism and 
   12143 has 
   12144 a much larger code and data size.
   12145 
   12146   Previous Release:
   12147     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   12148     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   12149   Current Release:
   12150     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
   12151     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
   12152 
   12153 
   12154 2) iASL Compiler/Disassembler and Tools:
   12155 
   12156 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
   12157 namespace identifiers with no collision with existing resource descriptor 
   12158 macro names. This provides compatibility with other ASL compilers and is 
   12159 most useful for disassembly/recompilation of existing tables without 
   12160 parse 
   12161 errors. (With assistance from Thomas Renninger)
   12162 
   12163 Disassembler: fixed an incorrect disassembly problem with the 
   12164 DataTableRegion and CopyObject operators. Fixed a possible fault during 
   12165 disassembly of some Alias operators.
   12166 
   12167 ----------------------------------------
   12168 12 May 2006. Summary of changes for version 20060512:
   12169 
   12170 1) ACPI CA Core Subsystem:
   12171 
   12172 Replaced the AcpiOsQueueForExecution interface with a new interface named 
   12173 AcpiOsExecute. The major difference is that the new interface does not 
   12174 have 
   12175 a Priority parameter, this appeared to be useless and has been replaced 
   12176 by 
   12177 a 
   12178 Type parameter. The Type tells the host what type of execution is being 
   12179 requested, such as global lock handler, notify handler, GPE handler, etc. 
   12180 This allows the host to queue and execute the request as appropriate for 
   12181 the 
   12182 request type, possibly using different work queues and different 
   12183 priorities 
   12184 for the various request types. This enables fixes for multithreading 
   12185 deadlock problems such as BZ #5534, and will require changes to all 
   12186 existing 
   12187 OS interface layers. (Alexey Starikovskiy and Bob Moore)
   12188 
   12189 Fixed a possible memory leak associated with the support for the so-
   12190 called 
   12191 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
   12192 Suietov)
   12193 
   12194 Fixed a problem with the Load() operator where a table load from an 
   12195 operation region could overwrite an internal table buffer by up to 7 
   12196 bytes 
   12197 and cause alignment faults on IPF systems. (With assistance from Luming 
   12198 Yu)
   12199 
   12200 Example Code and Data Size: These are the sizes for the OS-independent 
   12201 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12202 debug version of the code includes the debug output trace mechanism and 
   12203 has 
   12204 a much larger code and data size.
   12205 
   12206   Previous Release:
   12207     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   12208     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   12209   Current Release:
   12210     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
   12211     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
   12212 
   12213 
   12214 
   12215 2) iASL Compiler/Disassembler and Tools:
   12216 
   12217 Disassembler: Implemented support to cross reference the internal 
   12218 namespace 
   12219 and automatically generate ASL External() statements for symbols not 
   12220 defined 
   12221 within the current table being disassembled. This will simplify the 
   12222 disassembly and recompilation of interdependent tables such as SSDTs 
   12223 since 
   12224 these statements will no longer have to be added manually.
   12225 
   12226 Disassembler: Implemented experimental support to automatically detect 
   12227 invocations of external control methods and generate appropriate 
   12228 External() 
   12229 statements. This is problematic because the AML cannot be correctly 
   12230 parsed 
   12231 until the number of arguments for each control method is known. 
   12232 Currently, 
   12233 standalone method invocations and invocations as the source operand of a 
   12234 Store() statement are supported.
   12235 
   12236 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
   12237 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
   12238 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
   12239 more readable and likely closer to the original ASL source.
   12240 
   12241 ----------------------------------------
   12242 21 April 2006. Summary of changes for version 20060421:
   12243 
   12244 1) ACPI CA Core Subsystem:
   12245 
   12246 Removed a device initialization optimization introduced in 20051216 where 
   12247 the _STA method was not run unless an _INI was also present for the same 
   12248 device. This optimization could cause problems because it could allow 
   12249 _INI 
   12250 methods to be run within a not-present device subtree. (If a not-present 
   12251 device had no _INI, _STA would not be run, the not-present status would 
   12252 not 
   12253 be discovered, and the children of the device would be incorrectly 
   12254 traversed.)
   12255 
   12256 Implemented a new _STA optimization where namespace subtrees that do not 
   12257 contain _INI are identified and ignored during device initialization. 
   12258 Selectively running _STA can significantly improve boot time on large 
   12259 machines (with assistance from Len Brown.)
   12260 
   12261 Implemented support for the device initialization case where the returned 
   12262 _STA flags indicate a device not-present but functioning. In this case, 
   12263 _INI 
   12264 is not run, but the device children are examined for presence, as per the 
   12265 ACPI specification.
   12266 
   12267 Implemented an additional change to the IndexField support in order to 
   12268 conform to MS behavior. The value written to the Index Register is not 
   12269 simply a byte offset, it is a byte offset in units of the access width of 
   12270 the parent Index Field. (Fiodor Suietov)
   12271 
   12272 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
   12273 interface is called during the creation of all AML operation regions, and 
   12274 allows the host OS to exert control over what addresses it will allow the 
   12275 AML code to access. Operation Regions whose addresses are disallowed will 
   12276 cause a runtime exception when they are actually accessed (will not 
   12277 affect 
   12278 or abort table loading.) See oswinxf or osunixxf for an example 
   12279 implementation.
   12280 
   12281 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
   12282 interface allows the host OS to match the various "optional" 
   12283 interface/behavior strings for the _OSI predefined control method as 
   12284 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
   12285 for an example implementation.
   12286 
   12287 Restructured and corrected various problems in the exception handling 
   12288 code 
   12289 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
   12290 (with assistance from Takayoshi Kochi.)
   12291 
   12292 Modified the Linux source converter to ignore quoted string literals 
   12293 while 
   12294 converting identifiers from mixed to lower case. This will correct 
   12295 problems 
   12296 with the disassembler and other areas where such strings must not be 
   12297 modified.
   12298 
   12299 The ACPI_FUNCTION_* macros no longer require quotes around the function 
   12300 name. This allows the Linux source converter to convert the names, now 
   12301 that 
   12302 the converter ignores quoted strings.
   12303 
   12304 Example Code and Data Size: These are the sizes for the OS-independent 
   12305 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12306 debug version of the code includes the debug output trace mechanism and 
   12307 has 
   12308 a much larger code and data size.
   12309 
   12310   Previous Release:
   12311 
   12312     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   12313     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   12314   Current Release:
   12315     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
   12316     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
   12317 
   12318 
   12319 2) iASL Compiler/Disassembler and Tools:
   12320 
   12321 Implemented 3 new warnings for iASL, and implemented multiple warning 
   12322 levels 
   12323 (w2 flag).
   12324 
   12325 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
   12326 not 
   12327 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
   12328 check for the possible timeout, a warning is issued.
   12329 
   12330 2) Useless operators: If an ASL operator does not specify an optional 
   12331 target 
   12332 operand and it also does not use the function return value from the 
   12333 operator, a warning is issued since the operator effectively does 
   12334 nothing.
   12335 
   12336 3) Unreferenced objects: If a namespace object is created, but never 
   12337 referenced, a warning is issued. This is a warning level 2 since there 
   12338 are 
   12339 cases where this is ok, such as when a secondary table is loaded that 
   12340 uses 
   12341 the unreferenced objects. Even so, care is taken to only flag objects 
   12342 that 
   12343 don't look like they will ever be used. For example, the reserved methods 
   12344 (starting with an underscore) are usually not referenced because it is 
   12345 expected that the OS will invoke them.
   12346 
   12347 ----------------------------------------
   12348 31 March 2006. Summary of changes for version 20060331:
   12349 
   12350 1) ACPI CA Core Subsystem:
   12351 
   12352 Implemented header file support for the following additional ACPI tables: 
   12353 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
   12354 support, 
   12355 all current and known ACPI tables are now defined in the ACPICA headers 
   12356 and 
   12357 are available for use by device drivers and other software.
   12358 
   12359 Implemented support to allow tables that contain ACPI names with invalid 
   12360 characters to be loaded. Previously, this would cause the table load to 
   12361 fail, but since there are several known cases of such tables on existing 
   12362 machines, this change was made to enable ACPI support for them. Also, 
   12363 this 
   12364 matches the behavior of the Microsoft ACPI implementation.
   12365 
   12366 Fixed a couple regressions introduced during the memory optimization in 
   12367 the 
   12368 20060317 release. The namespace node definition required additional 
   12369 reorganization and an internal datatype that had been changed to 8-bit 
   12370 was 
   12371 restored to 32-bit. (Valery Podrezov)
   12372 
   12373 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
   12374 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
   12375 null pointers are now trapped and ignored, matching the behavior of the 
   12376 previous implementation before the deployment of AcpiOsReleaseObject.
   12377 (Valery Podrezov, Fiodor Suietov)
   12378 
   12379 Fixed a memory mapping leak during the deletion of a SystemMemory 
   12380 operation 
   12381 region where a cached memory mapping was not deleted. This became a 
   12382 noticeable problem for operation regions that are defined within 
   12383 frequently 
   12384 used control methods. (Dana Meyers)
   12385 
   12386 Reorganized the ACPI table header files into two main files: one for the 
   12387 ACPI tables consumed by the ACPICA core, and another for the 
   12388 miscellaneous 
   12389 ACPI tables that are consumed by the drivers and other software. The 
   12390 various 
   12391 FADT definitions were merged into one common section and three different 
   12392 tables (ACPI 1.0, 1.0+, and 2.0)
   12393 
   12394 Example Code and Data Size: These are the sizes for the OS-independent 
   12395 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
   12396 debug version of the code includes the debug output trace mechanism and 
   12397 has 
   12398 a much larger code and data size.
   12399 
   12400   Previous Release:
   12401     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   12402     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   12403   Current Release:
   12404     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
   12405     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
   12406 
   12407 
   12408 2) iASL Compiler/Disassembler and Tools:
   12409 
   12410 Disassembler: Implemented support to decode and format all non-AML ACPI 
   12411 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
   12412 added to the ACPICA headers, therefore all current and known ACPI tables 
   12413 are 
   12414 supported.
   12415 
   12416 Disassembler: The change to allow ACPI names with invalid characters also 
   12417 enables the disassembly of such tables. Invalid characters within names 
   12418 are 
   12419 changed to '*' to make the name printable; the iASL compiler will still 
   12420 generate an error for such names, however, since this is an invalid ACPI 
   12421 character.
   12422 
   12423 Implemented an option for AcpiXtract (-a) to extract all tables found in 
   12424 the 
   12425 input file. The default invocation extracts only the DSDTs and SSDTs.
   12426 
   12427 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
   12428 makefile for the AcpiXtract utility.
   12429 
   12430 ----------------------------------------
   12431 17 March 2006. Summary of changes for version 20060317:
   12432 
   12433 1) ACPI CA Core Subsystem:
   12434 
   12435 Implemented the use of a cache object for all internal namespace nodes. 
   12436 Since there are about 1000 static nodes in a typical system, this will 
   12437 decrease memory use for cache implementations that minimize per-
   12438 allocation 
   12439 overhead (such as a slab allocator.)
   12440 
   12441 Removed the reference count mechanism for internal namespace nodes, since 
   12442 it 
   12443 was deemed unnecessary. This reduces the size of each namespace node by 
   12444 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
   12445 case, 
   12446 and 32 bytes for the 64-bit case.
   12447 
   12448 Optimized several internal data structures to reduce object size on 64-
   12449 bit 
   12450 platforms by packing data within the 64-bit alignment. This includes the 
   12451 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
   12452 instances corresponding to the namespace objects.
   12453 
   12454 Added two new strings for the predefined _OSI method: "Windows 2001.1 
   12455 SP1" 
   12456 and "Windows 2006".
   12457 
   12458 Split the allocation tracking mechanism out to a separate file, from 
   12459 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
   12460 application-level code. Kernels may wish to not include uttrack.c in 
   12461 distributions.
   12462 
   12463 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
   12464 associated 
   12465 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
   12466 macros.)
   12467 
   12468 Code and Data Size: These are the sizes for the acpica.lib produced by 
   12469 the 
   12470 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   12471 ACPI 
   12472 driver or OSPM code. The debug version of the code includes the debug 
   12473 output 
   12474 trace mechanism and has a much larger code and data size. Note that these 
   12475 values will vary depending on the efficiency of the compiler and the 
   12476 compiler options used during generation.
   12477 
   12478   Previous Release:
   12479     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12480     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   12481   Current Release:
   12482     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
   12483     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
   12484 
   12485 
   12486 2) iASL Compiler/Disassembler and Tools:
   12487 
   12488 Implemented an ANSI C version of the acpixtract utility. This version 
   12489 will 
   12490 automatically extract the DSDT and all SSDTs from the input acpidump text 
   12491 file and dump the binary output to separate files. It can also display a 
   12492 summary of the input file including the headers for each table found and 
   12493 will extract any single ACPI table, with any signature. (See 
   12494 source/tools/acpixtract)
   12495 
   12496 ----------------------------------------
   12497 10 March 2006. Summary of changes for version 20060310:
   12498 
   12499 1) ACPI CA Core Subsystem:
   12500 
   12501 Tagged all external interfaces to the subsystem with the new 
   12502 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
   12503 assist 
   12504 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
   12505 macro. The default definition is NULL.
   12506 
   12507 Added the ACPI_THREAD_ID type for the return value from 
   12508 AcpiOsGetThreadId. 
   12509 This allows the host to define this as necessary to simplify kernel 
   12510 integration. The default definition is ACPI_NATIVE_UINT.
   12511 
   12512 Fixed two interpreter problems related to error processing, the deletion 
   12513 of 
   12514 objects, and placing invalid pointers onto the internal operator result 
   12515 stack. BZ 6028, 6151 (Valery Podrezov)
   12516 
   12517 Increased the reference count threshold where a warning is emitted for 
   12518 large 
   12519 reference counts in order to eliminate unnecessary warnings on systems 
   12520 with 
   12521 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
   12522 0x800.
   12523 
   12524 Due to universal disagreement as to the meaning of the 'c' in the 
   12525 calloc() 
   12526 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
   12527 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
   12528 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
   12529 ACPI_FREE.
   12530 
   12531 Code and Data Size: These are the sizes for the acpica.lib produced by 
   12532 the 
   12533 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   12534 ACPI 
   12535 driver or OSPM code. The debug version of the code includes the debug 
   12536 output 
   12537 trace mechanism and has a much larger code and data size. Note that these 
   12538 values will vary depending on the efficiency of the compiler and the 
   12539 compiler options used during generation.
   12540 
   12541   Previous Release:
   12542     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   12543     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   12544   Current Release:
   12545     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12546     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
   12547 
   12548 
   12549 2) iASL Compiler/Disassembler:
   12550 
   12551 Disassembler: implemented support for symbolic resource descriptor 
   12552 references. If a CreateXxxxField operator references a fixed offset 
   12553 within 
   12554 a 
   12555 resource descriptor, a name is assigned to the descriptor and the offset 
   12556 is 
   12557 translated to the appropriate resource tag and pathname. The addition of 
   12558 this support brings the disassembled code very close to the original ASL 
   12559 source code and helps eliminate run-time errors when the disassembled 
   12560 code 
   12561 is modified (and recompiled) in such a way as to invalidate the original 
   12562 fixed offsets.
   12563 
   12564 Implemented support for a Descriptor Name as the last parameter to the 
   12565 ASL 
   12566 Register() macro. This parameter was inadvertently left out of the ACPI 
   12567 specification, and will be added for ACPI 3.0b.
   12568 
   12569 Fixed a problem where the use of the "_OSI" string (versus the full path 
   12570 "\_OSI") caused an internal compiler error. ("No back ptr to op")
   12571 
   12572 Fixed a problem with the error message that occurs when an invalid string 
   12573 is 
   12574 used for a _HID object (such as one with an embedded asterisk: 
   12575 "*PNP010A".) 
   12576 The correct message is now displayed.
   12577 
   12578 ----------------------------------------
   12579 17 February 2006. Summary of changes for version 20060217:
   12580 
   12581 1) ACPI CA Core Subsystem:
   12582 
   12583 Implemented a change to the IndexField support to match the behavior of 
   12584 the 
   12585 Microsoft AML interpreter. The value written to the Index register is now 
   12586 a 
   12587 byte offset, no longer an index based upon the width of the Data 
   12588 register. 
   12589 This should fix IndexField problems seen on some machines where the Data 
   12590 register is not exactly one byte wide. The ACPI specification will be 
   12591 clarified on this point.
   12592 
   12593 Fixed a problem where several resource descriptor types could overrun the 
   12594 internal descriptor buffer due to size miscalculation: VendorShort, 
   12595 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
   12596 affect all platforms.
   12597 
   12598 Fixed a problem where individual resource descriptors were misaligned 
   12599 within 
   12600 the internal buffer, causing alignment faults on IA64 platforms.
   12601 
   12602 Code and Data Size: These are the sizes for the acpica.lib produced by 
   12603 the 
   12604 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
   12605 ACPI 
   12606 driver or OSPM code. The debug version of the code includes the debug 
   12607 output 
   12608 trace mechanism and has a much larger code and data size. Note that these 
   12609 values will vary depending on the efficiency of the compiler and the 
   12610 compiler options used during generation.
   12611 
   12612   Previous Release:
   12613     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12614     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   12615   Current Release:
   12616     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
   12617     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
   12618 
   12619 
   12620 2) iASL Compiler/Disassembler:
   12621 
   12622 Implemented support for new reserved names: _WDG and _WED are Microsoft 
   12623 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
   12624 defined method (Throttling Depth Limit.)
   12625 
   12626 Fixed a problem where a zero-length VendorShort or VendorLong resource 
   12627 descriptor was incorrectly emitted as a descriptor of length one.
   12628 
   12629 ----------------------------------------
   12630 10 February 2006. Summary of changes for version 20060210:
   12631 
   12632 1) ACPI CA Core Subsystem:
   12633 
   12634 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
   12635 normal execution. These became apparent after the conversion from 
   12636 ACPI_DEBUG_PRINT.
   12637 
   12638 Fixed a problem where the CreateField operator could hang if the BitIndex 
   12639 or 
   12640 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
   12641 
   12642 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
   12643 failed with an exception. This also fixes a couple of related RefOf and 
   12644 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
   12645 
   12646 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
   12647 of 
   12648 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
   12649 BZ 
   12650 5480)
   12651 
   12652 Implemented a memory cleanup at the end of the execution of each 
   12653 iteration 
   12654 of an AML While() loop, preventing the accumulation of outstanding 
   12655 objects. 
   12656 (Valery Podrezov, BZ 5427)
   12657 
   12658 Eliminated a chunk of duplicate code in the object resolution code. 
   12659 (Valery 
   12660 Podrezov, BZ 5336)
   12661 
   12662 Fixed several warnings during the 64-bit code generation.
   12663 
   12664 The AcpiSrc source code conversion tool now inserts one line of 
   12665 whitespace 
   12666 after an if() statement that is followed immediately by a comment, 
   12667 improving 
   12668 readability of the Linux code.
   12669 
   12670 Code and Data Size: The current and previous library sizes for the core 
   12671 subsystem are shown below. These are the code and data sizes for the 
   12672 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12673 These 
   12674 values do not include any ACPI driver or OSPM code. The debug version of 
   12675 the 
   12676 code includes the debug output trace mechanism and has a much larger code 
   12677 and data size. Note that these values will vary depending on the 
   12678 efficiency 
   12679 of the compiler and the compiler options used during generation.
   12680 
   12681   Previous Release:
   12682     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   12683     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   12684   Current Release:
   12685     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
   12686     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
   12687 
   12688 
   12689 2) iASL Compiler/Disassembler:
   12690 
   12691 Fixed a problem with the disassembly of a BankField operator with a 
   12692 complex 
   12693 expression for the BankValue parameter.
   12694 
   12695 ----------------------------------------
   12696 27 January 2006. Summary of changes for version 20060127:
   12697 
   12698 1) ACPI CA Core Subsystem:
   12699 
   12700 Implemented support in the Resource Manager to allow unresolved 
   12701 namestring 
   12702 references within resource package objects for the _PRT method. This 
   12703 support 
   12704 is in addition to the previously implemented unresolved reference support 
   12705 within the AML parser. If the interpreter slack mode is enabled, these 
   12706 unresolved references will be passed through to the caller as a NULL 
   12707 package 
   12708 entry.
   12709 
   12710 Implemented and deployed new macros and functions for error and warning 
   12711 messages across the subsystem. These macros are simpler and generate less 
   12712 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
   12713 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
   12714 macros remain defined to allow ACPI drivers time to migrate to the new 
   12715 macros.
   12716 
   12717 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
   12718 the 
   12719 Acquire/Release Lock OSL interfaces.
   12720 
   12721 Fixed a problem where Alias ASL operators are sometimes not correctly 
   12722 resolved, in both the interpreter and the iASL compiler.
   12723 
   12724 Fixed several problems with the implementation of the 
   12725 ConcatenateResTemplate 
   12726 ASL operator. As per the ACPI specification, zero length buffers are now 
   12727 treated as a single EndTag. One-length buffers always cause a fatal 
   12728 exception. Non-zero length buffers that do not end with a full 2-byte 
   12729 EndTag 
   12730 cause a fatal exception.
   12731 
   12732 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
   12733 interface. (With assistance from Thomas Renninger)
   12734 
   12735 Code and Data Size: The current and previous library sizes for the core 
   12736 subsystem are shown below. These are the code and data sizes for the 
   12737 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12738 These 
   12739 values do not include any ACPI driver or OSPM code. The debug version of 
   12740 the 
   12741 code includes the debug output trace mechanism and has a much larger code 
   12742 and data size. Note that these values will vary depending on the 
   12743 efficiency 
   12744 of the compiler and the compiler options used during generation.
   12745 
   12746   Previous Release:
   12747     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12748     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12749   Current Release:
   12750     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
   12751     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
   12752 
   12753 
   12754 2) iASL Compiler/Disassembler:
   12755 
   12756 Fixed an internal error that was generated for any forward references to 
   12757 ASL 
   12758 Alias objects.
   12759 
   12760 ----------------------------------------
   12761 13 January 2006. Summary of changes for version 20060113:
   12762 
   12763 1) ACPI CA Core Subsystem:
   12764 
   12765 Added 2006 copyright to all module headers and signons. This affects 
   12766 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
   12767 utilities.
   12768  
   12769 Enhanced the ACPICA error reporting in order to simplify user migration 
   12770 to 
   12771 the non-debug version of ACPICA. Replaced all instances of the 
   12772 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
   12773 debug 
   12774 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
   12775 respectively. This preserves all error and warning messages in the non-
   12776 debug 
   12777 version of the ACPICA code (this has been referred to as the "debug lite" 
   12778 option.) Over 200 cases were converted to create a total of over 380 
   12779 error/warning messages across the ACPICA code. This increases the code 
   12780 and 
   12781 data size of the default non-debug version of the code somewhat (about 
   12782 13K), 
   12783 but all error/warning reporting may be disabled if desired (and code 
   12784 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
   12785 configuration option. The size of the debug version of ACPICA remains 
   12786 about 
   12787 the same.
   12788 
   12789 Fixed a memory leak within the AML Debugger "Set" command. One object was 
   12790 not properly deleted for every successful invocation of the command.
   12791 
   12792 Code and Data Size: The current and previous library sizes for the core 
   12793 subsystem are shown below. These are the code and data sizes for the 
   12794 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12795 These 
   12796 values do not include any ACPI driver or OSPM code. The debug version of 
   12797 the 
   12798 code includes the debug output trace mechanism and has a much larger code 
   12799 and data size. Note that these values will vary depending on the 
   12800 efficiency 
   12801 of the compiler and the compiler options used during generation.
   12802 
   12803   Previous Release:
   12804     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12805     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12806   Current Release:
   12807     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
   12808     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
   12809 
   12810 
   12811 2) iASL Compiler/Disassembler:
   12812 
   12813 The compiler now officially supports the ACPI 3.0a specification that was 
   12814 released on December 30, 2005. (Specification is available at 
   12815 www.acpi.info)
   12816 
   12817 ----------------------------------------
   12818 16 December 2005. Summary of changes for version 20051216:
   12819 
   12820 1) ACPI CA Core Subsystem:
   12821 
   12822 Implemented optional support to allow unresolved names within ASL Package 
   12823 objects. A null object is inserted in the package when a named reference 
   12824 cannot be located in the current namespace. Enabled via the interpreter 
   12825 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
   12826 machines 
   12827 that contain such code.
   12828 
   12829 Implemented an optimization to the initialization sequence that can 
   12830 improve 
   12831 boot time. During ACPI device initialization, the _STA method is now run 
   12832 if 
   12833 and only if the _INI method exists. The _STA method is used to determine 
   12834 if 
   12835 the device is present; An _INI can only be run if _STA returns present, 
   12836 but 
   12837 it is a waste of time to run the _STA method if the _INI does not exist. 
   12838 (Prototype and assistance from Dong Wei)
   12839 
   12840 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
   12841 is 
   12842 available in the current compiler. Otherwise, the default (void *) cast 
   12843 is 
   12844 used as before.
   12845 
   12846 Fixed some possible memory leaks found within the execution path of the 
   12847 Break, Continue, If, and CreateField operators. (Valery Podrezov)
   12848 
   12849 Fixed a problem introduced in the 20051202 release where an exception is 
   12850 generated during method execution if a control method attempts to declare 
   12851 another method.
   12852 
   12853 Moved resource descriptor string constants that are used by both the AML 
   12854 disassembler and AML debugger to the common utilities directory so that 
   12855 these components are independent.
   12856 
   12857 Implemented support in the AcpiExec utility (-e switch) to globally 
   12858 ignore 
   12859 exceptions during control method execution (method is not aborted.)
   12860 
   12861 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
   12862 generation.
   12863 
   12864 Code and Data Size: The current and previous library sizes for the core 
   12865 subsystem are shown below. These are the code and data sizes for the 
   12866 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12867 These 
   12868 values do not include any ACPI driver or OSPM code. The debug version of 
   12869 the 
   12870 code includes the debug output trace mechanism and has a much larger code 
   12871 and data size. Note that these values will vary depending on the 
   12872 efficiency 
   12873 of the compiler and the compiler options used during generation.
   12874 
   12875   Previous Release:
   12876     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12877     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12878   Current Release:
   12879     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
   12880     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
   12881 
   12882 
   12883 2) iASL Compiler/Disassembler:
   12884 
   12885 Fixed a problem where a CPU stack overflow fault could occur if a 
   12886 recursive 
   12887 method call was made from within a Return statement.
   12888 
   12889 ----------------------------------------
   12890 02 December 2005. Summary of changes for version 20051202:
   12891 
   12892 1) ACPI CA Core Subsystem:
   12893 
   12894 Modified the parsing of control methods to no longer create namespace 
   12895 objects during the first pass of the parse. Objects are now created only 
   12896 during the execute phase, at the moment the namespace creation operator 
   12897 is 
   12898 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
   12899 This 
   12900 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
   12901 reentrant control methods are protected by an AML mutex. The mutex will 
   12902 now 
   12903 correctly block multiple threads from attempting to create the same 
   12904 object 
   12905 more than once.
   12906 
   12907 Increased the number of available Owner Ids for namespace object tracking 
   12908 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
   12909 on 
   12910 some machines with a large number of ACPI tables (either static or 
   12911 dynamic).
   12912 
   12913 Fixed a problem with the AcpiExec utility where a fault could occur when 
   12914 the 
   12915 -b switch (batch mode) is used.
   12916 
   12917 Enhanced the namespace dump routine to output the owner ID for each 
   12918 namespace object.
   12919 
   12920 Code and Data Size: The current and previous library sizes for the core 
   12921 subsystem are shown below. These are the code and data sizes for the 
   12922 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   12923 These 
   12924 values do not include any ACPI driver or OSPM code. The debug version of 
   12925 the 
   12926 code includes the debug output trace mechanism and has a much larger code 
   12927 and data size. Note that these values will vary depending on the 
   12928 efficiency 
   12929 of the compiler and the compiler options used during generation.
   12930 
   12931   Previous Release:
   12932     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12933     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   12934   Current Release:
   12935     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   12936     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
   12937 
   12938 
   12939 2) iASL Compiler/Disassembler:
   12940 
   12941 Fixed a parse error during compilation of certain Switch/Case constructs. 
   12942 To 
   12943 simplify the parse, the grammar now allows for multiple Default 
   12944 statements 
   12945 and this error is now detected and flagged during the analysis phase.
   12946 
   12947 Disassembler: The disassembly now includes the contents of the original 
   12948 table header within a comment at the start of the file. This includes the 
   12949 name and version of the original ASL compiler.
   12950 
   12951 ----------------------------------------
   12952 17 November 2005. Summary of changes for version 20051117:
   12953 
   12954 1) ACPI CA Core Subsystem:
   12955 
   12956 Fixed a problem in the AML parser where the method thread count could be 
   12957 decremented below zero if any errors occurred during the method parse 
   12958 phase. 
   12959 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
   12960 machines. 
   12961 This also fixed a related regression with the mechanism that detects and 
   12962 corrects methods that cannot properly handle reentrancy (related to the 
   12963 deployment of the new OwnerId mechanism.)
   12964 
   12965 Eliminated the pre-parsing of control methods (to detect errors) during 
   12966 table load. Related to the problem above, this was causing unwind issues 
   12967 if 
   12968 any errors occurred during the parse, and it seemed to be overkill. A 
   12969 table 
   12970 load should not be aborted if there are problems with any single control 
   12971 method, thus rendering this feature rather pointless.
   12972 
   12973 Fixed a problem with the new table-driven resource manager where an 
   12974 internal 
   12975 buffer overflow could occur for small resource templates.
   12976 
   12977 Implemented a new external interface, AcpiGetVendorResource. This 
   12978 interface 
   12979 will find and return a vendor-defined resource descriptor within a _CRS 
   12980 or 
   12981 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
   12982 Helgaas.
   12983 
   12984 Removed the length limit (200) on string objects as per the upcoming ACPI 
   12985 3.0A specification. This affects the following areas of the interpreter: 
   12986 1) 
   12987 any implicit conversion of a Buffer to a String, 2) a String object
   12988 result 
   12989 of the ASL Concatenate operator, 3) the String object result of the ASL
   12990 ToString operator.
   12991 
   12992 Fixed a problem in the Windows OS interface layer (OSL) where a 
   12993 WAIT_FOREVER 
   12994 on a semaphore object would incorrectly timeout. This allows the 
   12995 multithreading features of the AcpiExec utility to work properly under 
   12996 Windows.
   12997 
   12998 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
   12999 the recently added file named "utresrc.c".
   13000 
   13001 Code and Data Size: The current and previous library sizes for the core 
   13002 subsystem are shown below. These are the code and data sizes for the 
   13003 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13004 These 
   13005 values do not include any ACPI driver or OSPM code. The debug version of 
   13006 the 
   13007 code includes the debug output trace mechanism and has a much larger code 
   13008 and data size. Note that these values will vary depending on the 
   13009 efficiency 
   13010 of the compiler and the compiler options used during generation.
   13011 
   13012   Previous Release:
   13013     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   13014     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   13015   Current Release:
   13016     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
   13017     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   13018 
   13019 
   13020 2) iASL Compiler/Disassembler:
   13021 
   13022 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
   13023 specification. For the iASL compiler, this means that string literals 
   13024 within 
   13025 the source ASL can be of any length. 
   13026 
   13027 Enhanced the listing output to dump the AML code for resource descriptors 
   13028 immediately after the ASL code for each descriptor, instead of in a block 
   13029 at 
   13030 the end of the entire resource template.
   13031 
   13032 Enhanced the compiler debug output to dump the entire original parse tree 
   13033 constructed during the parse phase, before any transforms are applied to 
   13034 the 
   13035 tree. The transformed tree is dumped also.
   13036 
   13037 ----------------------------------------
   13038 02 November 2005. Summary of changes for version 20051102:
   13039 
   13040 1) ACPI CA Core Subsystem:
   13041 
   13042 Modified the subsystem initialization sequence to improve GPE support. 
   13043 The 
   13044 GPE initialization has been split into two parts in order to defer 
   13045 execution 
   13046 of the _PRW methods (Power Resources for Wake) until after the hardware 
   13047 is 
   13048 fully initialized and the SCI handler is installed. This allows the _PRW 
   13049 methods to access fields protected by the Global Lock. This will fix 
   13050 systems 
   13051 where a NO_GLOBAL_LOCK exception has been seen during initialization.
   13052 
   13053 Converted the ACPI internal object disassemble and display code within 
   13054 the 
   13055 AML debugger to fully table-driven operation, reducing code size and 
   13056 increasing maintainability.
   13057 
   13058 Fixed a regression with the ConcatenateResTemplate() ASL operator 
   13059 introduced 
   13060 in the 20051021 release.
   13061 
   13062 Implemented support for "local" internal ACPI object types within the 
   13063 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
   13064 These local types include RegionFields, BankFields, IndexFields, Alias, 
   13065 and 
   13066 reference objects.
   13067 
   13068 Moved common AML resource handling code into a new file, "utresrc.c". 
   13069 This 
   13070 code is shared by both the Resource Manager and the AML Debugger.
   13071 
   13072 Code and Data Size: The current and previous library sizes for the core 
   13073 subsystem are shown below. These are the code and data sizes for the 
   13074 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13075 These 
   13076 values do not include any ACPI driver or OSPM code. The debug version of 
   13077 the 
   13078 code includes the debug output trace mechanism and has a much larger code 
   13079 and data size. Note that these values will vary depending on the 
   13080 efficiency 
   13081 of the compiler and the compiler options used during generation.
   13082 
   13083   Previous Release:
   13084     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   13085     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   13086   Current Release:
   13087     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
   13088     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
   13089 
   13090 
   13091 2) iASL Compiler/Disassembler:
   13092 
   13093 Fixed a problem with very large initializer lists (more than 4000 
   13094 elements) 
   13095 for both Buffer and Package objects where the parse stack could overflow.
   13096 
   13097 Enhanced the pre-compile source code scan for non-ASCII characters to 
   13098 ignore 
   13099 characters within comment fields. The scan is now always performed and is 
   13100 no 
   13101 longer optional, detecting invalid characters within a source file 
   13102 immediately rather than during the parse phase or later.
   13103 
   13104 Enhanced the ASL grammar definition to force early reductions on all 
   13105 list-
   13106 style grammar elements so that the overall parse stack usage is greatly 
   13107 reduced. This should improve performance and reduce the possibility of 
   13108 parse 
   13109 stack overflow.
   13110 
   13111 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
   13112 Also, 
   13113 with the addition of a %expected statement, the compiler generates from 
   13114 source with no warnings.
   13115 
   13116 Fixed a possible segment fault in the disassembler if the input filename 
   13117 does not contain a "dot" extension (Thomas Renninger).
   13118 
   13119 ----------------------------------------
   13120 21 October 2005. Summary of changes for version 20051021:
   13121 
   13122 1) ACPI CA Core Subsystem:
   13123 
   13124 Implemented support for the EM64T and other x86-64 processors. This 
   13125 essentially entails recognizing that these processors support non-aligned 
   13126 memory transfers. Previously, all 64-bit processors were assumed to lack 
   13127 hardware support for non-aligned transfers.
   13128 
   13129 Completed conversion of the Resource Manager to nearly full table-driven 
   13130 operation. Specifically, the resource conversion code (convert AML to 
   13131 internal format and the reverse) and the debug code to dump internal 
   13132 resource descriptors are fully table-driven, reducing code and data size 
   13133 and 
   13134 improving maintainability.
   13135 
   13136 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
   13137 word 
   13138 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
   13139 from 
   13140 Alexey Starikovskiy)
   13141 
   13142 Implemented support within the resource conversion code for the Type-
   13143 Specific byte within the various ACPI 3.0 *WordSpace macros.
   13144 
   13145 Fixed some issues within the resource conversion code for the type-
   13146 specific 
   13147 flags for both Memory and I/O address resource descriptors. For Memory, 
   13148 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
   13149 TTP flags into two separate fields.
   13150 
   13151 Code and Data Size: The current and previous library sizes for the core 
   13152 subsystem are shown below. These are the code and data sizes for the 
   13153 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13154 These 
   13155 values do not include any ACPI driver or OSPM code. The debug version of 
   13156 the 
   13157 code includes the debug output trace mechanism and has a much larger code 
   13158 and data size. Note that these values will vary depending on the 
   13159 efficiency 
   13160 of the compiler and the compiler options used during generation.
   13161 
   13162   Previous Release:
   13163     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   13164     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   13165   Current Release:
   13166     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
   13167     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
   13168 
   13169 
   13170 
   13171 2) iASL Compiler/Disassembler:
   13172 
   13173 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
   13174 the 
   13175 corresponding ResourceSource string was not also present in a resource 
   13176 descriptor declaration. This restriction caused problems with existing 
   13177 AML/ASL code that includes the Index byte without the string. When such 
   13178 AML 
   13179 was disassembled, it could not be compiled without modification. Further, 
   13180 the modified code created a resource template with a different size than 
   13181 the 
   13182 original, breaking code that used fixed offsets into the resource 
   13183 template 
   13184 buffer.
   13185 
   13186 Removed a recent feature of the disassembler to ignore a lone 
   13187 ResourceIndex 
   13188 byte. This byte is now emitted if present so that the exact AML can be 
   13189 reproduced when the disassembled code is recompiled.
   13190 
   13191 Improved comments and text alignment for the resource descriptor code 
   13192 emitted by the disassembler.
   13193 
   13194 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
   13195 a 
   13196 Register() resource descriptor.
   13197 
   13198 ----------------------------------------
   13199 30 September 2005. Summary of changes for version 20050930:
   13200 
   13201 1) ACPI CA Core Subsystem:
   13202 
   13203 Completed a major overhaul of the Resource Manager code - specifically, 
   13204 optimizations in the area of the AML/internal resource conversion code. 
   13205 The 
   13206 code has been optimized to simplify and eliminate duplicated code, CPU 
   13207 stack 
   13208 use has been decreased by optimizing function parameters and local 
   13209 variables, and naming conventions across the manager have been 
   13210 standardized 
   13211 for clarity and ease of maintenance (this includes function, parameter, 
   13212 variable, and struct/typedef names.) The update may force changes in some 
   13213 driver code, depending on how resources are handled by the host OS.
   13214 
   13215 All Resource Manager dispatch and information tables have been moved to a 
   13216 single location for clarity and ease of maintenance. One new file was 
   13217 created, named "rsinfo.c".
   13218 
   13219 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
   13220 guarantee that the argument is not evaluated twice, making them less 
   13221 prone 
   13222 to macro side-effects. However, since there exists the possibility of 
   13223 additional stack use if a particular compiler cannot optimize them (such 
   13224 as 
   13225 in the debug generation case), the original macros are optionally 
   13226 available.  
   13227 Note that some invocations of the return_VALUE macro may now cause size 
   13228 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
   13229 to 
   13230 eliminate these. (From Randy Dunlap)
   13231 
   13232 Implemented a new mechanism to enable debug tracing for individual 
   13233 control 
   13234 methods. A new external interface, AcpiDebugTrace, is provided to enable 
   13235 this mechanism. The intent is to allow the host OS to easily enable and 
   13236 disable tracing for problematic control methods. This interface can be 
   13237 easily exposed to a user or debugger interface if desired. See the file 
   13238 psxface.c for details.
   13239 
   13240 AcpiUtCallocate will now return a valid pointer if a length of zero is 
   13241 specified - a length of one is used and a warning is issued. This matches 
   13242 the behavior of AcpiUtAllocate.
   13243 
   13244 Code and Data Size: The current and previous library sizes for the core 
   13245 subsystem are shown below. These are the code and data sizes for the 
   13246 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13247 These 
   13248 values do not include any ACPI driver or OSPM code. The debug version of 
   13249 the 
   13250 code includes the debug output trace mechanism and has a much larger code 
   13251 and data size. Note that these values will vary depending on the 
   13252 efficiency 
   13253 of the compiler and the compiler options used during generation.
   13254 
   13255   Previous Release:
   13256     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   13257     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   13258   Current Release:
   13259     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
   13260     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
   13261 
   13262 
   13263 2) iASL Compiler/Disassembler:
   13264 
   13265 A remark is issued if the effective compile-time length of a package or 
   13266 buffer is zero. Previously, this was a warning.
   13267 
   13268 ----------------------------------------
   13269 16 September 2005. Summary of changes for version 20050916:
   13270 
   13271 1) ACPI CA Core Subsystem:
   13272 
   13273 Fixed a problem within the Resource Manager where support for the Generic 
   13274 Register descriptor was not fully implemented. This descriptor is now 
   13275 fully 
   13276 recognized, parsed, disassembled, and displayed.
   13277 
   13278 Completely restructured the Resource Manager code to utilize table-driven 
   13279 dispatch and lookup, eliminating many of the large switch() statements. 
   13280 This 
   13281 reduces overall subsystem code size and code complexity. Affects the 
   13282 resource parsing and construction, disassembly, and debug dump output.
   13283 
   13284 Cleaned up and restructured the debug dump output for all resource 
   13285 descriptors. Improved readability of the output and reduced code size.
   13286 
   13287 Fixed a problem where changes to internal data structures caused the 
   13288 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
   13289 
   13290 Code and Data Size: The current and previous library sizes for the core 
   13291 subsystem are shown below. These are the code and data sizes for the 
   13292 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
   13293 These 
   13294 values do not include any ACPI driver or OSPM code. The debug version of 
   13295 the 
   13296 code includes the debug output trace mechanism and has a much larger code 
   13297 and data size. Note that these values will vary depending on the 
   13298 efficiency 
   13299 of the compiler and the compiler options used during generation.
   13300 
   13301   Previous Release:
   13302     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   13303     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   13304   Current Release:
   13305     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
   13306     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
   13307 
   13308 
   13309 2) iASL Compiler/Disassembler:
   13310 
   13311 Updated the disassembler to automatically insert an EndDependentFn() 
   13312 macro 
   13313 into the ASL stream if this macro is missing in the original AML code, 
   13314 simplifying compilation of the resulting ASL module.
   13315 
   13316 Fixed a problem in the disassembler where a disassembled ResourceSource 
   13317 string (within a large resource descriptor) was not surrounded by quotes 
   13318 and 
   13319 not followed by a comma, causing errors when the resulting ASL module was 
   13320 compiled. Also, escape sequences within a ResourceSource string are now 
   13321 handled correctly (especially "\\")
   13322 
   13323 ----------------------------------------
   13324 02 September 2005. Summary of changes for version 20050902:
   13325 
   13326 1) ACPI CA Core Subsystem:
   13327 
   13328 Fixed a problem with the internal Owner ID allocation and deallocation 
   13329 mechanisms for control method execution and recursive method invocation. 
   13330 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
   13331 messages seen on some systems. Recursive method invocation depth is 
   13332 currently limited to 255. (Alexey Starikovskiy)
   13333 
   13334 Completely eliminated all vestiges of support for the "module-level 
   13335 executable code" until this support is fully implemented and debugged. 
   13336 This 
   13337 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
   13338 some systems that invoke this support.
   13339 
   13340 Fixed a problem within the resource manager code where the transaction 
   13341 flags 
   13342 for a 64-bit address descriptor were handled incorrectly in the type-
   13343 specific flag byte.
   13344 
   13345 Consolidated duplicate code within the address descriptor resource 
   13346 manager 
   13347 code, reducing overall subsystem code size.
   13348 
   13349 Fixed a fault when using the AML debugger "disassemble" command to 
   13350 disassemble individual control methods.
   13351 
   13352 Removed references to the "release_current" directory within the Unix 
   13353 release package.
   13354 
   13355 Code and Data Size: The current and previous core subsystem library sizes 
   13356 are shown below. These are the code and data sizes for the acpica.lib 
   13357 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
   13358 include any ACPI driver or OSPM code. The debug version of the code 
   13359 includes 
   13360 the debug output trace mechanism and has a much larger code and data 
   13361 size. 
   13362 Note that these values will vary depending on the efficiency of the 
   13363 compiler 
   13364 and the compiler options used during generation.
   13365 
   13366   Previous Release:
   13367     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13368     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   13369   Current Release:
   13370     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
   13371     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
   13372 
   13373 
   13374 2) iASL Compiler/Disassembler:
   13375 
   13376 Implemented an error check for illegal duplicate values in the interrupt 
   13377 and 
   13378 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
   13379 Interrupt().
   13380 
   13381 Implemented error checking for the Irq() and IrqNoFlags() macros to 
   13382 detect 
   13383 too many values in the interrupt list (16 max) and invalid values in the 
   13384 list (range 0 - 15)
   13385 
   13386 The maximum length string literal within an ASL file is now restricted to 
   13387 200 characters as per the ACPI specification.
   13388 
   13389 Fixed a fault when using the -ln option (generate namespace listing).
   13390 
   13391 Implemented an error check to determine if a DescriptorName within a 
   13392 resource descriptor has already been used within the current scope.
   13393 
   13394 ----------------------------------------
   13395 15 August 2005.  Summary of changes for version 20050815:
   13396  
   13397 1) ACPI CA Core Subsystem:
   13398  
   13399 Implemented a full bytewise compare to determine if a table load request 
   13400 is 
   13401 attempting to load a duplicate table. The compare is performed if the 
   13402 table 
   13403 signatures and table lengths match. This will allow different tables with 
   13404 the same OEM Table ID and revision to be loaded - probably against the 
   13405 ACPI 
   13406 specification, but discovered in the field nonetheless.
   13407  
   13408 Added the changes.txt logfile to each of the zipped release packages.
   13409  
   13410 Code and Data Size: Current and previous core subsystem library sizes are 
   13411 shown below. These are the code and data sizes for the acpica.lib 
   13412 produced 
   13413 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13414 any ACPI driver or OSPM code. The debug version of the code includes the 
   13415 debug output trace mechanism and has a much larger code and data size. 
   13416 Note 
   13417 that these values will vary depending on the efficiency of the compiler 
   13418 and 
   13419 the compiler options used during generation.
   13420  
   13421   Previous Release:
   13422     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13423     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   13424   Current Release:
   13425     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13426     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
   13427  
   13428  
   13429 2) iASL Compiler/Disassembler:
   13430  
   13431 Fixed a problem where incorrect AML code could be generated for Package 
   13432 objects if optimization is disabled (via the -oa switch).
   13433  
   13434 Fixed a problem with where incorrect AML code is generated for variable-
   13435 length packages when the package length is not specified and the number 
   13436 of 
   13437 initializer values is greater than 255.
   13438  
   13439 
   13440 ----------------------------------------
   13441 29 July 2005.  Summary of changes for version 20050729:
   13442 
   13443 1) ACPI CA Core Subsystem:
   13444 
   13445 Implemented support to ignore an attempt to install/load a particular 
   13446 ACPI 
   13447 table more than once. Apparently there exists BIOS code that repeatedly 
   13448 attempts to load the same SSDT upon certain events. With assistance from 
   13449 Venkatesh Pallipadi.
   13450 
   13451 Restructured the main interface to the AML parser in order to correctly 
   13452 handle all exceptional conditions. This will prevent leakage of the 
   13453 OwnerId 
   13454 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
   13455 some 
   13456 machines. With assistance from Alexey Starikovskiy.
   13457 
   13458 Support for "module level code" has been disabled in this version due to 
   13459 a 
   13460 number of issues that have appeared on various machines. The support can 
   13461 be 
   13462 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
   13463 compilation. When the issues are fully resolved, the code will be enabled 
   13464 by 
   13465 default again.
   13466 
   13467 Modified the internal functions for debug print support to define the 
   13468 FunctionName parameter as a (const char *) for compatibility with 
   13469 compiler 
   13470 built-in macros such as __FUNCTION__, etc.
   13471 
   13472 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
   13473 
   13474 Implemented support to display an object count summary for the AML 
   13475 Debugger 
   13476 commands Object and Methods.
   13477 
   13478 Code and Data Size: Current and previous core subsystem library sizes are 
   13479 shown below. These are the code and data sizes for the acpica.lib 
   13480 produced 
   13481 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13482 any ACPI driver or OSPM code. The debug version of the code includes the 
   13483 debug output trace mechanism and has a much larger code and data size. 
   13484 Note 
   13485 that these values will vary depending on the efficiency of the compiler 
   13486 and 
   13487 the compiler options used during generation.
   13488 
   13489   Previous Release:
   13490     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   13491     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   13492   Current Release:
   13493     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
   13494     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
   13495 
   13496 
   13497 2) iASL Compiler/Disassembler:
   13498 
   13499 Fixed a regression that appeared in the 20050708 version of the compiler 
   13500 where an error message was inadvertently emitted for invocations of the 
   13501 _OSI 
   13502 reserved control method.
   13503 
   13504 ----------------------------------------
   13505 08 July 2005.  Summary of changes for version 20050708:
   13506 
   13507 1) ACPI CA Core Subsystem:
   13508 
   13509 The use of the CPU stack in the debug version of the subsystem has been 
   13510 considerably reduced. Previously, a debug structure was declared in every 
   13511 function that used the debug macros. This structure has been removed in 
   13512 favor of declaring the individual elements as parameters to the debug 
   13513 functions. This reduces the cumulative stack use during nested execution 
   13514 of 
   13515 ACPI function calls at the cost of a small increase in the code size of 
   13516 the 
   13517 debug version of the subsystem. With assistance from Alexey Starikovskiy 
   13518 and 
   13519 Len Brown.
   13520 
   13521 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
   13522 headers to define a macro that will return the current function name at 
   13523 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
   13524 by 
   13525 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
   13526 compiler-dependent header, the function name is saved on the CPU stack 
   13527 (one 
   13528 pointer per function.) This mechanism is used because apparently there 
   13529 exists no standard ANSI-C defined macro that that returns the function 
   13530 name.
   13531 
   13532 Redesigned and reimplemented the "Owner ID" mechanism used to track 
   13533 namespace objects created/deleted by ACPI tables and control method 
   13534 execution. A bitmap is now used to allocate and free the IDs, thus 
   13535 solving 
   13536 the wraparound problem present in the previous implementation. The size 
   13537 of 
   13538 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
   13539 Starikovskiy).
   13540 
   13541 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
   13542 bitfield 
   13543 flag definitions within the headers for the predefined ACPI tables. These 
   13544 have been replaced by UINT8_BIT in order to increase the code portability 
   13545 of 
   13546 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
   13547 eliminate bitfields entirely because of a lack of portability.
   13548 
   13549 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
   13550 This 
   13551 is a frequently used function and this improvement increases the 
   13552 performance 
   13553 of the entire subsystem (Alexey Starikovskiy).
   13554 
   13555 Fixed several possible memory leaks and the inverse - premature object 
   13556 deletion (Alexey Starikovskiy).
   13557 
   13558 Code and Data Size: Current and previous core subsystem library sizes are 
   13559 shown below. These are the code and data sizes for the acpica.lib 
   13560 produced 
   13561 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13562 any ACPI driver or OSPM code. The debug version of the code includes the 
   13563 debug output trace mechanism and has a much larger code and data size. 
   13564 Note 
   13565 that these values will vary depending on the efficiency of the compiler 
   13566 and 
   13567 the compiler options used during generation.
   13568 
   13569   Previous Release:
   13570     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   13571     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   13572   Current Release:
   13573     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
   13574     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
   13575 
   13576 ----------------------------------------
   13577 24 June 2005.  Summary of changes for version 20050624:
   13578 
   13579 1) ACPI CA Core Subsystem:
   13580 
   13581 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
   13582 the host-defined cache object. This allows the OSL implementation to 
   13583 define 
   13584 and type this object in any manner desired, simplifying the OSL 
   13585 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
   13586 Linux, and should be defined in the OS-specific header file for other 
   13587 operating systems as required.
   13588 
   13589 Changed the interface to AcpiOsAcquireObject to directly return the 
   13590 requested object as the function return (instead of ACPI_STATUS.) This 
   13591 change was made for performance reasons, since this is the purpose of the 
   13592 interface in the first place. AcpiOsAcquireObject is now similar to the 
   13593 AcpiOsAllocate interface.
   13594 
   13595 Implemented a new AML debugger command named Businfo. This command 
   13596 displays 
   13597 information about all devices that have an associate _PRT object. The 
   13598 _ADR, 
   13599 _HID, _UID, and _CID are displayed for these devices.
   13600 
   13601 Modified the initialization sequence in AcpiInitializeSubsystem to call 
   13602 the 
   13603 OSL interface AcpiOslInitialize first, before any local initialization. 
   13604 This 
   13605 change was required because the global initialization now calls OSL 
   13606 interfaces.
   13607 
   13608 Enhanced the Dump command to display the entire contents of Package 
   13609 objects 
   13610 (including all sub-objects and their values.) 
   13611 
   13612 Restructured the code base to split some files because of size and/or 
   13613 because the code logically belonged in a separate file. New files are 
   13614 listed 
   13615 below. All makefiles and project files included in the ACPI CA release 
   13616 have 
   13617 been updated.
   13618     utilities/utcache.c           /* Local cache interfaces */
   13619     utilities/utmutex.c           /* Local mutex support */
   13620     utilities/utstate.c           /* State object support */
   13621     interpreter/parser/psloop.c   /* Main AML parse loop */
   13622 
   13623 Code and Data Size: Current and previous core subsystem library sizes are 
   13624 shown below. These are the code and data sizes for the acpica.lib 
   13625 produced 
   13626 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13627 any ACPI driver or OSPM code. The debug version of the code includes the 
   13628 debug output trace mechanism and has a much larger code and data size. 
   13629 Note 
   13630 that these values will vary depending on the efficiency of the compiler 
   13631 and 
   13632 the compiler options used during generation.
   13633 
   13634   Previous Release:
   13635     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   13636     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   13637   Current Release:
   13638     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
   13639     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
   13640 
   13641 
   13642 2) iASL Compiler/Disassembler:
   13643 
   13644 Fixed a regression introduced in version 20050513 where the use of a 
   13645 Package 
   13646 object within a Case() statement caused a compile time exception. The 
   13647 original behavior has been restored (a Match() operator is emitted.)
   13648 
   13649 ----------------------------------------
   13650 17 June 2005.  Summary of changes for version 20050617:
   13651 
   13652 1) ACPI CA Core Subsystem:
   13653 
   13654 Moved the object cache operations into the OS interface layer (OSL) to 
   13655 allow 
   13656 the host OS to handle these operations if desired (for example, the Linux 
   13657 OSL will invoke the slab allocator). This support is optional; the 
   13658 compile 
   13659 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
   13660 cache 
   13661 code in the ACPI CA core. The new OSL interfaces are shown below. See 
   13662 utalloc.c for an example implementation, and acpiosxf.h for the exact 
   13663 interface definitions. With assistance from Alexey Starikovskiy.
   13664     AcpiOsCreateCache
   13665     AcpiOsDeleteCache
   13666     AcpiOsPurgeCache
   13667     AcpiOsAcquireObject
   13668     AcpiOsReleaseObject
   13669 
   13670 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
   13671 return 
   13672 and restore a flags parameter. This fits better with many OS lock models. 
   13673 Note: the current execution state (interrupt handler or not) is no longer 
   13674 passed to these interfaces. If necessary, the OSL must determine this 
   13675 state 
   13676 by itself, a simple and fast operation. With assistance from Alexey 
   13677 Starikovskiy.
   13678 
   13679 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
   13680 present if the revision of the RSDP was 2 or greater. According to the 
   13681 ACPI 
   13682 specification, the XSDT is optional in all cases, and the table manager 
   13683 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
   13684 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
   13685 contain 
   13686 only the RSDT.
   13687 
   13688 Fixed an interpreter problem with the Mid() operator in the case of an 
   13689 input 
   13690 string where the resulting output string is of zero length. It now 
   13691 correctly 
   13692 returns a valid, null terminated string object instead of a string object 
   13693 with a null pointer.
   13694 
   13695 Fixed a problem with the control method argument handling to allow a 
   13696 store 
   13697 to an Arg object that already contains an object of type Device. The 
   13698 Device 
   13699 object is now correctly overwritten. Previously, an error was returned.
   13700 
   13701 
   13702 Enhanced the debugger Find command to emit object values in addition to 
   13703 the 
   13704 found object pathnames. The output format is the same as the dump 
   13705 namespace 
   13706 command.
   13707 
   13708 Enhanced the debugger Set command. It now has the ability to set the 
   13709 value 
   13710 of any Named integer object in the namespace (Previously, only method 
   13711 locals 
   13712 and args could be set.)
   13713 
   13714 Code and Data Size: Current and previous core subsystem library sizes are 
   13715 shown below. These are the code and data sizes for the acpica.lib 
   13716 produced 
   13717 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13718 any ACPI driver or OSPM code. The debug version of the code includes the 
   13719 debug output trace mechanism and has a much larger code and data size. 
   13720 Note 
   13721 that these values will vary depending on the efficiency of the compiler 
   13722 and 
   13723 the compiler options used during generation.
   13724 
   13725   Previous Release:
   13726     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13727     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13728   Current Release:
   13729     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
   13730     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
   13731 
   13732 
   13733 2) iASL Compiler/Disassembler:
   13734 
   13735 Fixed a regression in the disassembler where if/else/while constructs 
   13736 were 
   13737 output incorrectly. This problem was introduced in the previous release 
   13738 (20050526). This problem also affected the single-step disassembly in the 
   13739 debugger.
   13740 
   13741 Fixed a problem where compiling the reserved _OSI method would randomly 
   13742 (but 
   13743 rarely) produce compile errors.
   13744 
   13745 Enhanced the disassembler to emit compilable code in the face of 
   13746 incorrect 
   13747 AML resource descriptors. If the optional ResourceSourceIndex is present, 
   13748 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
   13749 disassembly. Otherwise, the resulting code cannot be compiled without 
   13750 errors.
   13751 
   13752 ----------------------------------------
   13753 26 May 2005.  Summary of changes for version 20050526:
   13754 
   13755 1) ACPI CA Core Subsystem:
   13756 
   13757 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
   13758 the module level (not within a control method.) These opcodes are 
   13759 executed 
   13760 exactly once at the time the table is loaded. This type of code was legal 
   13761 up 
   13762 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
   13763 in 
   13764 order to provide backwards compatibility with earlier BIOS 
   13765 implementations. 
   13766 This eliminates the "Encountered executable code at module level" warning 
   13767 that was previously generated upon detection of such code.
   13768 
   13769 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
   13770 inadvertently be generated during the lookup of namespace objects in the 
   13771 second pass parse of ACPI tables and control methods. It appears that 
   13772 this 
   13773 problem could occur during the resolution of forward references to 
   13774 namespace 
   13775 objects.
   13776 
   13777 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
   13778 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
   13779 allows the deadlock detection debug code to be compiled out in the normal 
   13780 case, improving mutex performance (and overall subsystem performance) 
   13781 considerably.
   13782 
   13783 Implemented a handful of miscellaneous fixes for possible memory leaks on 
   13784 error conditions and error handling control paths. These fixes were 
   13785 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
   13786 
   13787 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
   13788 (tbxfroot.c) 
   13789 to prevent a fault in this error case.
   13790 
   13791 Code and Data Size: Current and previous core subsystem library sizes are 
   13792 shown below. These are the code and data sizes for the acpica.lib 
   13793 produced 
   13794 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13795 any ACPI driver or OSPM code. The debug version of the code includes the 
   13796 debug output trace mechanism and has a much larger code and data size. 
   13797 Note 
   13798 that these values will vary depending on the efficiency of the compiler 
   13799 and 
   13800 the compiler options used during generation.
   13801 
   13802   Previous Release:
   13803     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13804     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13805   Current Release:
   13806     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
   13807     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
   13808 
   13809 
   13810 2) iASL Compiler/Disassembler:
   13811 
   13812 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
   13813 the module level (not within a control method.) These operators will be 
   13814 executed once at the time the table is loaded. This type of code was 
   13815 legal 
   13816 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
   13817 compiler in order to provide backwards compatibility with earlier BIOS 
   13818 ASL 
   13819 code.
   13820 
   13821 The ACPI integer width (specified via the table revision ID or the -r 
   13822 override, 32 or 64 bits) is now used internally during compile-time 
   13823 constant 
   13824 folding to ensure that constants are truncated to 32 bits if necessary. 
   13825 Previously, the revision ID value was only emitted in the AML table 
   13826 header.
   13827 
   13828 An error message is now generated for the Mutex and Method operators if 
   13829 the 
   13830 SyncLevel parameter is outside the legal range of 0 through 15.
   13831 
   13832 Fixed a problem with the Method operator ParameterTypes list handling 
   13833 (ACPI 
   13834 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
   13835 error.  
   13836 The actual underlying implementation of method argument typechecking is 
   13837 still under development, however.
   13838 
   13839 ----------------------------------------
   13840 13 May 2005.  Summary of changes for version 20050513:
   13841 
   13842 1) ACPI CA Core Subsystem:
   13843 
   13844 Implemented support for PCI Express root bridges -- added support for 
   13845 device 
   13846 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
   13847 
   13848 The interpreter now automatically truncates incoming 64-bit constants to 
   13849 32 
   13850 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
   13851 This 
   13852 also affects the iASL compiler constant folding. (Note: as per below, the 
   13853 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
   13854 
   13855 Fixed a problem where string and buffer objects with "static" pointers 
   13856 (pointers to initialization data within an ACPI table) were not handled 
   13857 consistently. The internal object copy operation now always copies the 
   13858 data 
   13859 to a newly allocated buffer, regardless of whether the source object is 
   13860 static or not.
   13861 
   13862 Fixed a problem with the FromBCD operator where an implicit result 
   13863 conversion was improperly performed while storing the result to the 
   13864 target 
   13865 operand. Since this is an "explicit conversion" operator, the implicit 
   13866 conversion should never be performed on the output.
   13867 
   13868 Fixed a problem with the CopyObject operator where a copy to an existing 
   13869 named object did not always completely overwrite the existing object 
   13870 stored 
   13871 at name. Specifically, a buffer-to-buffer copy did not delete the 
   13872 existing 
   13873 buffer.
   13874 
   13875 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
   13876 and 
   13877 structs for consistency.
   13878 
   13879 Code and Data Size: Current and previous core subsystem library sizes are 
   13880 shown below. These are the code and data sizes for the acpica.lib 
   13881 produced 
   13882 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13883 any ACPI driver or OSPM code. The debug version of the code includes the 
   13884 debug output trace mechanism and has a much larger code and data size. 
   13885 Note 
   13886 that these values will vary depending on the efficiency of the compiler 
   13887 and 
   13888 the compiler options used during generation.
   13889 
   13890   Previous Release:
   13891     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13892     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13893   Current Release: (Same sizes)
   13894     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13895     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13896 
   13897 
   13898 2) iASL Compiler/Disassembler:
   13899 
   13900 The compiler now emits a warning if an attempt is made to generate a 64-
   13901 bit 
   13902 integer constant from within a 32-bit ACPI table (Revision < 2). The 
   13903 integer 
   13904 is truncated to 32 bits.
   13905 
   13906 Fixed a problem with large package objects: if the static length of the 
   13907 package is greater than 255, the "variable length package" opcode is 
   13908 emitted. Previously, this caused an error. This requires an update to the 
   13909 ACPI spec, since it currently (incorrectly) states that packages larger 
   13910 than 
   13911 255 elements are not allowed.
   13912 
   13913 The disassembler now correctly handles variable length packages and 
   13914 packages 
   13915 larger than 255 elements.
   13916 
   13917 ----------------------------------------
   13918 08 April 2005.  Summary of changes for version 20050408:
   13919 
   13920 1) ACPI CA Core Subsystem:
   13921 
   13922 Fixed three cases in the interpreter where an "index" argument to an ASL 
   13923 function was still (internally) 32 bits instead of the required 64 bits. 
   13924 This was the Index argument to the Index, Mid, and Match operators.
   13925 
   13926 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
   13927 is 
   13928 not a POSIX-defined function and not present in most kernel-level C 
   13929 libraries. All references to the C library strupr function have been 
   13930 removed 
   13931 from the headers.
   13932 
   13933 Completed the deployment of static functions/prototypes. All prototypes 
   13934 with 
   13935 the static attribute have been moved from the headers to the owning C 
   13936 file.
   13937 
   13938 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
   13939 utility). This option allows the utility to extract individual ACPI 
   13940 tables 
   13941 from the output of AcpiDmp. It provides the same functionality of the 
   13942 acpixtract.pl perl script without the worry of setting the correct perl 
   13943 options. AcpiBin runs on Windows and has not yet been generated/validated 
   13944 in 
   13945 the Linux/Unix environment (but should be soon).
   13946  
   13947 Updated and fixed the table dump option for AcpiBin (-d). This option 
   13948 converts a single ACPI table to a hex/ascii file, similar to the output 
   13949 of 
   13950 AcpiDmp.
   13951 
   13952 Code and Data Size: Current and previous core subsystem library sizes are 
   13953 shown below. These are the code and data sizes for the acpica.lib 
   13954 produced 
   13955 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   13956 any ACPI driver or OSPM code. The debug version of the code includes the 
   13957 debug output trace mechanism and has a much larger code and data size. 
   13958 Note 
   13959 that these values will vary depending on the efficiency of the compiler 
   13960 and 
   13961 the compiler options used during generation.
   13962 
   13963   Previous Release:
   13964     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   13965     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   13966   Current Release:
   13967     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
   13968     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
   13969 
   13970 
   13971 2) iASL Compiler/Disassembler:
   13972 
   13973 Disassembler fix: Added a check to ensure that the table length found in 
   13974 the 
   13975 ACPI table header within the input file is not longer than the actual 
   13976 input 
   13977 file size. This indicates some kind of file or table corruption.
   13978 
   13979 ----------------------------------------
   13980 29 March 2005.  Summary of changes for version 20050329:
   13981 
   13982 1) ACPI CA Core Subsystem:
   13983 
   13984 An error is now generated if an attempt is made to create a Buffer Field 
   13985 of 
   13986 length zero (A CreateField with a length operand of zero.)
   13987 
   13988 The interpreter now issues a warning whenever executable code at the 
   13989 module 
   13990 level is detected during ACPI table load. This will give some idea of the 
   13991 prevalence of this type of code.
   13992 
   13993 Implemented support for references to named objects (other than control 
   13994 methods) within package objects.
   13995 
   13996 Enhanced package object output for the debug object. Package objects are 
   13997 now 
   13998 completely dumped, showing all elements.
   13999 
   14000 Enhanced miscellaneous object output for the debug object. Any object can 
   14001 now be written to the debug object (for example, a device object can be 
   14002 written, and the type of the object will be displayed.)
   14003 
   14004 The "static" qualifier has been added to all local functions across both 
   14005 the 
   14006 core subsystem and the iASL compiler.
   14007 
   14008 The number of "long" lines (> 80 chars) within the source has been 
   14009 significantly reduced, by about 1/3.
   14010 
   14011 Cleaned up all header files to ensure that all CA/iASL functions are 
   14012 prototyped (even static functions) and the formatting is consistent.
   14013 
   14014 Two new header files have been added, acopcode.h and acnames.h.
   14015 
   14016 Removed several obsolete functions that were no longer used.
   14017 
   14018 Code and Data Size: Current and previous core subsystem library sizes are 
   14019 shown below. These are the code and data sizes for the acpica.lib 
   14020 produced 
   14021 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14022 any ACPI driver or OSPM code. The debug version of the code includes the 
   14023 debug output trace mechanism and has a much larger code and data size. 
   14024 Note 
   14025 that these values will vary depending on the efficiency of the compiler 
   14026 and 
   14027 the compiler options used during generation.
   14028 
   14029   Previous Release:
   14030     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14031     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   14032   Current Release:
   14033     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
   14034     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
   14035 
   14036 
   14037 
   14038 2) iASL Compiler/Disassembler:
   14039 
   14040 Fixed a problem with the resource descriptor generation/support. For the 
   14041 ResourceSourceIndex and the ResourceSource fields, both must be present, 
   14042 or 
   14043 both must be not present - can't have one without the other.
   14044 
   14045 The compiler now returns non-zero from the main procedure if any errors 
   14046 have 
   14047 occurred during the compilation.
   14048 
   14049 
   14050 ----------------------------------------
   14051 09 March 2005.  Summary of changes for version 20050309:
   14052 
   14053 1) ACPI CA Core Subsystem:
   14054 
   14055 The string-to-buffer implicit conversion code has been modified again 
   14056 after 
   14057 a change to the ACPI specification.  In order to match the behavior of 
   14058 the 
   14059 other major ACPI implementation, the target buffer is no longer truncated 
   14060 if 
   14061 the source string is smaller than an existing target buffer. This change 
   14062 requires an update to the ACPI spec, and should eliminate the recent 
   14063 AE_AML_BUFFER_LIMIT issues.
   14064 
   14065 The "implicit return" support was rewritten to a new algorithm that 
   14066 solves 
   14067 the general case. Rather than attempt to determine when a method is about 
   14068 to 
   14069 exit, the result of every ASL operator is saved momentarily until the 
   14070 very 
   14071 next ASL operator is executed. Therefore, no matter how the method exits, 
   14072 there will always be a saved implicit return value. This feature is only 
   14073 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
   14074 eliminate 
   14075 AE_AML_NO_RETURN_VALUE errors when enabled.
   14076 
   14077 Implemented implicit conversion support for the predicate (operand) of 
   14078 the 
   14079 If, Else, and While operators. String and Buffer arguments are 
   14080 automatically 
   14081 converted to Integers.
   14082 
   14083 Changed the string-to-integer conversion behavior to match the new ACPI 
   14084 errata: "If no integer object exists, a new integer is created. The ASCII 
   14085 string is interpreted as a hexadecimal constant. Each string character is 
   14086 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
   14087 with the first character as the most significant digit, and ending with 
   14088 the 
   14089 first non-hexadecimal character or end-of-string." This means that the 
   14090 first 
   14091 non-hex character terminates the conversion and this is the code that was 
   14092 changed.
   14093 
   14094 Fixed a problem where the ObjectType operator would fail (fault) when 
   14095 used 
   14096 on an Index of a Package which pointed to a null package element. The 
   14097 operator now properly returns zero (Uninitialized) in this case.
   14098 
   14099 Fixed a problem where the While operator used excessive memory by not 
   14100 properly popping the result stack during execution. There was no memory 
   14101 leak 
   14102 after execution, however. (Code provided by Valery Podrezov.)
   14103 
   14104 Fixed a problem where references to control methods within Package 
   14105 objects 
   14106 caused the method to be invoked, instead of producing a reference object 
   14107 pointing to the method.
   14108 
   14109 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
   14110 to 
   14111 improve performance and reduce code size. (Code provided by Alexey 
   14112 Starikovskiy.)
   14113 
   14114 Code and Data Size: Current and previous core subsystem library sizes are 
   14115 shown below. These are the code and data sizes for the acpica.lib 
   14116 produced 
   14117 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14118 any ACPI driver or OSPM code. The debug version of the code includes the 
   14119 debug output trace mechanism and has a much larger code and data size. 
   14120 Note 
   14121 that these values will vary depending on the efficiency of the compiler 
   14122 and 
   14123 the compiler options used during generation.
   14124 
   14125   Previous Release:
   14126     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14127     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   14128   Current Release:
   14129     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14130     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
   14131 
   14132 
   14133 2) iASL Compiler/Disassembler:
   14134 
   14135 Fixed a problem with the Return operator with no arguments. Since the AML 
   14136 grammar for the byte encoding requires an operand for the Return opcode, 
   14137 the 
   14138 compiler now emits a Return(Zero) for this case.  An ACPI specification 
   14139 update has been written for this case.
   14140 
   14141 For tables other than the DSDT, namepath optimization is automatically 
   14142 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
   14143 the 
   14144 compiler has no knowledge of where, and thus cannot optimize namepaths.
   14145 
   14146 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
   14147 inadvertently omitted from the ACPI specification, and will require an 
   14148 update to the spec.
   14149 
   14150 The source file scan for ASCII characters is now optional (-a). This 
   14151 change 
   14152 was made because some vendors place non-ascii characters within comments. 
   14153 However, the scan is simply a brute-force byte compare to ensure all 
   14154 characters in the file are in the range 0x00 to 0x7F.
   14155 
   14156 Fixed a problem with the CondRefOf operator where the compiler was 
   14157 inappropriately checking for the existence of the target. Since the point 
   14158 of 
   14159 the operator is to check for the existence of the target at run-time, the 
   14160 compiler no longer checks for the target existence.
   14161 
   14162 Fixed a problem where errors generated from the internal AML interpreter 
   14163 during constant folding were not handled properly, causing a fault.
   14164 
   14165 Fixed a problem with overly aggressive range checking for the Stall 
   14166 operator. The valid range (max 255) is now only checked if the operand is 
   14167 of 
   14168 type Integer. All other operand types cannot be statically checked.
   14169 
   14170 Fixed a problem where control method references within the RefOf, 
   14171 DeRefOf, 
   14172 and ObjectType operators were not treated properly. They are now treated 
   14173 as 
   14174 actual references, not method invocations.
   14175 
   14176 Fixed and enhanced the "list namespace" option (-ln). This option was 
   14177 broken 
   14178 a number of releases ago.
   14179 
   14180 Improved error handling for the Field, IndexField, and BankField 
   14181 operators. 
   14182 The compiler now cleanly reports and recovers from errors in the field 
   14183 component (FieldUnit) list.
   14184 
   14185 Fixed a disassembler problem where the optional ResourceDescriptor fields 
   14186 TRS and TTP were not always handled correctly.
   14187 
   14188 Disassembler - Comments in output now use "//" instead of "/*"
   14189 
   14190 ----------------------------------------
   14191 28 February 2005.  Summary of changes for version 20050228:
   14192 
   14193 1) ACPI CA Core Subsystem:
   14194 
   14195 Fixed a problem where the result of an Index() operator (an object 
   14196 reference) must increment the reference count on the target object for 
   14197 the 
   14198 life of the object reference.
   14199 
   14200 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
   14201 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
   14202 WordSpace 
   14203 resource descriptors.
   14204 
   14205 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
   14206 Space Descriptor" string, indicating interpreter support for the 
   14207 descriptors 
   14208 above.
   14209 
   14210 Implemented header support for the new ACPI 3.0 FADT flag bits.
   14211 
   14212 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
   14213 PM1 
   14214 status/enable registers.
   14215 
   14216 Updated header support for the MADT processor local Apic struct and MADT 
   14217 platform interrupt source struct for new ACPI 3.0 fields.
   14218 
   14219 Implemented header support for the SRAT and SLIT ACPI tables.
   14220 
   14221 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
   14222 flag 
   14223 at runtime.
   14224 
   14225 Code and Data Size: Current and previous core subsystem library sizes are 
   14226 shown below. These are the code and data sizes for the acpica.lib 
   14227 produced 
   14228 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14229 any ACPI driver or OSPM code. The debug version of the code includes the 
   14230 debug output trace mechanism and has a much larger code and data size. 
   14231 Note 
   14232 that these values will vary depending on the efficiency of the compiler 
   14233 and 
   14234 the compiler options used during generation.
   14235 
   14236   Previous Release:
   14237     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   14238     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   14239   Current Release:
   14240     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
   14241     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
   14242 
   14243 
   14244 2) iASL Compiler/Disassembler:
   14245 
   14246 Fixed a problem with the internal 64-bit String-to-integer conversion 
   14247 with 
   14248 strings less than two characters long.
   14249 
   14250 Fixed a problem with constant folding where the result of the Index() 
   14251 operator can not be considered a constant. This means that Index() cannot 
   14252 be 
   14253 a type3 opcode and this will require an update to the ACPI specification.
   14254 
   14255 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
   14256 descriptor fields. These fields were inadvertently ignored and not output 
   14257 in 
   14258 the disassembly of the resource descriptor.
   14259 
   14260 
   14261  ----------------------------------------
   14262 11 February 2005.  Summary of changes for version 20050211:
   14263 
   14264 1) ACPI CA Core Subsystem:
   14265 
   14266 Implemented ACPI 3.0 support for implicit conversion within the Match() 
   14267 operator. MatchObjects can now be of type integer, buffer, or string 
   14268 instead 
   14269 of just type integer.  Package elements are implicitly converted to the 
   14270 type 
   14271 of the MatchObject. This change aligns the behavior of Match() with the 
   14272 behavior of the other logical operators (LLess(), etc.) It also requires 
   14273 an 
   14274 errata change to the ACPI specification as this support was intended for 
   14275 ACPI 3.0, but was inadvertently omitted.
   14276 
   14277 Fixed a problem with the internal implicit "to buffer" conversion. 
   14278 Strings 
   14279 that are converted to buffers will cause buffer truncation if the string 
   14280 is 
   14281 smaller than the target buffer. Integers that are converted to buffers 
   14282 will 
   14283 not cause buffer truncation, only zero extension (both as per the ACPI 
   14284 spec.) The problem was introduced when code was added to truncate the 
   14285 buffer, but this should not be performed in all cases, only the string 
   14286 case.
   14287 
   14288 Fixed a problem with the Buffer and Package operators where the 
   14289 interpreter 
   14290 would get confused if two such operators were used as operands to an ASL 
   14291 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
   14292 stack was not being popped after the execution of these operators, 
   14293 resulting 
   14294 in an AE_NO_RETURN_VALUE exception.
   14295 
   14296 Fixed a problem with constructs of the form Store(Index(...),...). The 
   14297 reference object returned from Index was inadvertently resolved to an 
   14298 actual 
   14299 value. This problem was introduced in version 20050114 when the behavior 
   14300 of 
   14301 Store() was modified to restrict the object types that can be used as the 
   14302 source operand (to match the ACPI specification.)
   14303 
   14304 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
   14305 
   14306 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
   14307 
   14308 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
   14309 
   14310 Code and Data Size: Current and previous core subsystem library sizes are 
   14311 shown below. These are the code and data sizes for the acpica.lib 
   14312 produced 
   14313 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14314 any ACPI driver or OSPM code. The debug version of the code includes the 
   14315 debug output trace mechanism and has a much larger code and data size. 
   14316 Note 
   14317 that these values will vary depending on the efficiency of the compiler 
   14318 and 
   14319 the compiler options used during generation.
   14320 
   14321   Previous Release:
   14322     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
   14323     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
   14324   Current Release:
   14325     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
   14326     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
   14327 
   14328 
   14329 2) iASL Compiler/Disassembler:
   14330 
   14331 Fixed a code generation problem in the constant folding optimization code 
   14332 where incorrect code was generated if a constant was reduced to a buffer 
   14333 object (i.e., a reduced type 5 opcode.)
   14334 
   14335 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
   14336 incorrect return type in the internal opcode information table.
   14337 
   14338 ----------------------------------------
   14339 25 January 2005.  Summary of changes for version 20050125:
   14340 
   14341 1) ACPI CA Core Subsystem:
   14342 
   14343 Fixed a recently introduced problem with the Global Lock where the 
   14344 underlying semaphore was not created.  This problem was introduced in 
   14345 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
   14346 Acquire() operation on _GL.
   14347 
   14348 The local object cache is now optional, and is disabled by default. Both 
   14349 AcpiExec and the iASL compiler enable the cache because they run in user 
   14350 mode and this enhances their performance. #define 
   14351 ACPI_ENABLE_OBJECT_CACHE 
   14352 to enable the local cache.
   14353 
   14354 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
   14355 the 
   14356 optional "implicit return" support where an error was returned if no 
   14357 return 
   14358 object was expected, but one was implicitly returned. AE_OK is now 
   14359 returned 
   14360 in this case and the implicitly returned object is deleted. 
   14361 AcpiUtEvaluateObject is only occasionally used, and only to execute 
   14362 reserved 
   14363 methods such as _STA and _INI where the return type is known up front.
   14364 
   14365 Fixed a few issues with the internal convert-to-integer code. It now 
   14366 returns 
   14367 an error if an attempt is made to convert a null string, a string of only 
   14368 blanks/tabs, or a zero-length buffer. This affects both implicit 
   14369 conversion 
   14370 and explicit conversion via the ToInteger() operator.
   14371 
   14372 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
   14373 is 
   14374 not needed for normal operation and should increase the performance of 
   14375 the 
   14376 entire subsystem. The code remains in case it is needed for debug 
   14377 purposes 
   14378 again.
   14379 
   14380 The AcpiExec source and makefile are included in the Unix/Linux package 
   14381 for 
   14382 the first time.
   14383 
   14384 Code and Data Size: Current and previous core subsystem library sizes are 
   14385 shown below. These are the code and data sizes for the acpica.lib 
   14386 produced 
   14387 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14388 any ACPI driver or OSPM code. The debug version of the code includes the 
   14389 debug output trace mechanism and has a much larger code and data size. 
   14390 Note 
   14391 that these values will vary depending on the efficiency of the compiler 
   14392 and 
   14393 the compiler options used during generation.
   14394 
   14395   Previous Release:
   14396     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   14397     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   14398   Current Release:
   14399     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
   14400     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
   14401 
   14402 2) iASL Compiler/Disassembler:
   14403 
   14404 Switch/Case support: A warning is now issued if the type of the Switch 
   14405 value 
   14406 cannot be determined at compile time. For example, Switch(Arg0) will 
   14407 generate the warning, and the type is assumed to be an integer. As per 
   14408 the 
   14409 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
   14410 the 
   14411 warning.
   14412 
   14413 Switch/Case support: Implemented support for buffer and string objects as 
   14414 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
   14415 buffers and strings.
   14416 
   14417 Switch/Case support: The emitted code for the LEqual() comparisons now 
   14418 uses 
   14419 the switch value as the first operand, not the second. The case value is 
   14420 now 
   14421 the second operand, and this allows the case value to be implicitly 
   14422 converted to the type of the switch value, not the other way around.
   14423 
   14424 Switch/Case support: Temporary variables are now emitted immediately 
   14425 within 
   14426 the control method, not at the global level. This means that there are 
   14427 now 
   14428 36 temps available per-method, not 36 temps per-module as was the case 
   14429 with 
   14430 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
   14431 
   14432 ----------------------------------------
   14433 14 January 2005.  Summary of changes for version 20050114:
   14434 
   14435 Added 2005 copyright to all module headers.  This affects every module in 
   14436 the core subsystem, iASL compiler, and the utilities.
   14437 
   14438 1) ACPI CA Core Subsystem:
   14439 
   14440 Fixed an issue with the String-to-Buffer conversion code where the string 
   14441 null terminator was not included in the buffer after conversion, but 
   14442 there 
   14443 is existing ASL that assumes the string null terminator is included. This 
   14444 is 
   14445 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
   14446 introduced in the previous version when the code was updated to correctly 
   14447 set the converted buffer size as per the ACPI specification. The ACPI 
   14448 spec 
   14449 is ambiguous and will be updated to specify that the null terminator must 
   14450 be 
   14451 included in the converted buffer. This also affects the ToBuffer() ASL 
   14452 operator.
   14453 
   14454 Fixed a problem with the Mid() ASL/AML operator where it did not work 
   14455 correctly on Buffer objects. Newly created sub-buffers were not being 
   14456 marked 
   14457 as initialized.
   14458 
   14459 
   14460 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
   14461 performed on the OemId and OemTableId table header fields.  These fields 
   14462 are 
   14463 not null terminated, so strncmp is now used instead of strcmp.
   14464 
   14465 Implemented a restriction on the Store() ASL/AML operator to align the 
   14466 behavior with the ACPI specification.  Previously, any object could be 
   14467 used 
   14468 as the source operand.  Now, the only objects that may be used are 
   14469 Integers, 
   14470 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
   14471 necessary, the original behavior can be restored by enabling the 
   14472 EnableInterpreterSlack flag.
   14473 
   14474 Enhanced the optional "implicit return" support to allow an implicit 
   14475 return 
   14476 value from methods that are invoked externally via the AcpiEvaluateObject 
   14477 interface.  This enables implicit returns from the _STA and _INI methods, 
   14478 for example.
   14479 
   14480 Changed the Revision() ASL/AML operator to return the current version of 
   14481 the 
   14482 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
   14483 returned 
   14484 the supported ACPI version (This is the function of the _REV method).
   14485 
   14486 Updated the _REV predefined method to return the currently supported 
   14487 version 
   14488 of ACPI, now 3.
   14489 
   14490 Implemented batch mode option for the AcpiExec utility (-b).
   14491 
   14492 Code and Data Size: Current and previous core subsystem library sizes are 
   14493 shown below. These are the code and data sizes for the acpica.lib 
   14494 produced 
   14495 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14496 any ACPI driver or OSPM code. The debug version of the code includes the 
   14497 debug output trace mechanism and has a much larger code and data size. 
   14498 Note 
   14499 that these values will vary depending on the efficiency of the compiler 
   14500 and 
   14501 the compiler options used during generation.
   14502 
   14503   Previous Release:
   14504     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14505     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   14506   Current Release:
   14507     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
   14508     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
   14509 
   14510 ----------------------------------------
   14511 10 December 2004.  Summary of changes for version 20041210:
   14512 
   14513 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
   14514 ACPI CA core subsystem.
   14515 
   14516 1) ACPI CA Core Subsystem:
   14517 
   14518 Fixed a problem in the ToDecimalString operator where the resulting 
   14519 string 
   14520 length was incorrectly calculated. The length is now calculated exactly, 
   14521 eliminating incorrect AE_STRING_LIMIT exceptions.
   14522 
   14523 Fixed a problem in the ToHexString operator to allow a maximum 200 
   14524 character 
   14525 string to be produced.
   14526 
   14527 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
   14528 copy 
   14529 routine where the length of the resulting buffer was not truncated to the 
   14530 new size (if the target buffer already existed).
   14531 
   14532 Code and Data Size: Current and previous core subsystem library sizes are 
   14533 shown below. These are the code and data sizes for the acpica.lib 
   14534 produced 
   14535 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14536 any ACPI driver or OSPM code. The debug version of the code includes the 
   14537 debug output trace mechanism and has a much larger code and data size. 
   14538 Note 
   14539 that these values will vary depending on the efficiency of the compiler 
   14540 and 
   14541 the compiler options used during generation.
   14542 
   14543   Previous Release:
   14544     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14545     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   14546   Current Release:
   14547     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14548     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
   14549 
   14550 
   14551 2) iASL Compiler/Disassembler:
   14552 
   14553 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
   14554 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
   14555 Includes support in the disassembler.
   14556 
   14557 Implemented support for the new (ACPI 3.0) parameter to the Register 
   14558 macro, 
   14559 AccessSize.
   14560 
   14561 Fixed a problem where the _HE resource name for the Interrupt macro was 
   14562 referencing bit 0 instead of bit 1.
   14563 
   14564 Implemented check for maximum 255 interrupts in the Interrupt macro.
   14565 
   14566 Fixed a problem with the predefined resource descriptor names where 
   14567 incorrect AML code was generated if the offset within the resource buffer 
   14568 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
   14569 but did not update the surrounding package lengths.
   14570 
   14571 Changes to the Dma macro:  All channels within the channel list must be 
   14572 in 
   14573 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
   14574 optional (default is BusMaster).
   14575 
   14576 Implemented check for maximum 7 data bytes for the VendorShort macro.
   14577 
   14578 The ReadWrite parameter is now optional for the Memory32 and similar 
   14579 macros.
   14580 
   14581 ----------------------------------------
   14582 03 December 2004.  Summary of changes for version 20041203:
   14583 
   14584 1) ACPI CA Core Subsystem:
   14585 
   14586 The low-level field insertion/extraction code (exfldio) has been 
   14587 completely 
   14588 rewritten to eliminate unnecessary complexity, bugs, and boundary 
   14589 conditions.
   14590 
   14591 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
   14592 ToDecimalString 
   14593 operators where the input operand could be inadvertently deleted if no 
   14594 conversion was necessary (e.g., if the input to ToInteger was an Integer 
   14595 object.)
   14596 
   14597 Fixed a problem with the ToDecimalString and ToHexString where an 
   14598 incorrect 
   14599 exception code was returned if the resulting string would be > 200 chars.  
   14600 AE_STRING_LIMIT is now returned.
   14601 
   14602 Fixed a problem with the Concatenate operator where AE_OK was always 
   14603 returned, even if the operation failed.
   14604 
   14605 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
   14606 semaphores to be allocated.
   14607 
   14608 Code and Data Size: Current and previous core subsystem library sizes are 
   14609 shown below. These are the code and data sizes for the acpica.lib 
   14610 produced 
   14611 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14612 any ACPI driver or OSPM code. The debug version of the code includes the 
   14613 debug output trace mechanism and has a much larger code and data size. 
   14614 Note 
   14615 that these values will vary depending on the efficiency of the compiler 
   14616 and 
   14617 the compiler options used during generation.
   14618 
   14619   Previous Release:
   14620     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14621     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14622   Current Release:
   14623     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
   14624     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
   14625 
   14626 
   14627 2) iASL Compiler/Disassembler:
   14628 
   14629 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
   14630 recently introduced in 20041119.
   14631 
   14632 Fixed a problem with the ToUUID macro where the upper nybble of each 
   14633 buffer 
   14634 byte was inadvertently set to zero.
   14635 
   14636 ----------------------------------------
   14637 19 November 2004.  Summary of changes for version 20041119:
   14638 
   14639 1) ACPI CA Core Subsystem:
   14640 
   14641 Fixed a problem in the internal ConvertToInteger routine where new 
   14642 integers 
   14643 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
   14644 converts 
   14645 buffers and strings to integers.
   14646 
   14647 Implemented support to store a value to an Index() on a String object. 
   14648 This 
   14649 is an ACPI 2.0 feature that had not yet been implemented.
   14650 
   14651 Implemented new behavior for storing objects to individual package 
   14652 elements 
   14653 (via the Index() operator). The previous behavior was to invoke the 
   14654 implicit 
   14655 conversion rules if an object was already present at the index.  The new 
   14656 behavior is to simply delete any existing object and directly store the 
   14657 new 
   14658 object. Although the ACPI specification seems unclear on this subject, 
   14659 other 
   14660 ACPI implementations behave in this manner.  (This is the root of the 
   14661 AE_BAD_HEX_CONSTANT issue.)
   14662 
   14663 Modified the RSDP memory scan mechanism to support the extended checksum 
   14664 for 
   14665 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
   14666 RSDP signature is found with a valid checksum.
   14667 
   14668 Code and Data Size: Current and previous core subsystem library sizes are 
   14669 shown below. These are the code and data sizes for the acpica.lib 
   14670 produced 
   14671 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14672 any ACPI driver or OSPM code. The debug version of the code includes the 
   14673 debug output trace mechanism and has a much larger code and data size. 
   14674 Note 
   14675 that these values will vary depending on the efficiency of the compiler 
   14676 and 
   14677 the compiler options used during generation.
   14678 
   14679   Previous Release:
   14680     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14681     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14682   Current Release:
   14683     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14684     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14685 
   14686 
   14687 2) iASL Compiler/Disassembler:
   14688 
   14689 Fixed a missing semicolon in the aslcompiler.y file.
   14690 
   14691 ----------------------------------------
   14692 05 November 2004.  Summary of changes for version 20041105:
   14693 
   14694 1) ACPI CA Core Subsystem:
   14695 
   14696 Implemented support for FADT revision 2.  This was an interim table 
   14697 (between 
   14698 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
   14699 
   14700 Implemented optional support to allow uninitialized LocalX and ArgX 
   14701 variables in a control method.  The variables are initialized to an 
   14702 Integer 
   14703 object with a value of zero.  This support is enabled by setting the 
   14704 AcpiGbl_EnableInterpreterSlack flag to TRUE.
   14705 
   14706 Implemented support for Integer objects for the SizeOf operator.  Either 
   14707 4 
   14708 or 8 is returned, depending on the current integer size (32-bit or 64-
   14709 bit, 
   14710 depending on the parent table revision).
   14711 
   14712 Fixed a problem in the implementation of the SizeOf and ObjectType 
   14713 operators 
   14714 where the operand was resolved to a value too early, causing incorrect 
   14715 return values for some objects.
   14716 
   14717 Fixed some possible memory leaks during exceptional conditions.
   14718 
   14719 Code and Data Size: Current and previous core subsystem library sizes are 
   14720 shown below. These are the code and data sizes for the acpica.lib 
   14721 produced 
   14722 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14723 any ACPI driver or OSPM code. The debug version of the code includes the 
   14724 debug output trace mechanism and has a much larger code and data size. 
   14725 Note 
   14726 that these values will vary depending on the efficiency of the compiler 
   14727 and 
   14728 the compiler options used during generation.
   14729 
   14730   Previous Release:
   14731     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14732     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14733   Current Release:
   14734     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
   14735     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
   14736 
   14737 
   14738 2) iASL Compiler/Disassembler:
   14739 
   14740 Implemented support for all ACPI 3.0 reserved names and methods.
   14741 
   14742 Implemented all ACPI 3.0 grammar elements in the front-end, including 
   14743 support for semicolons.
   14744 
   14745 Implemented the ACPI 3.0 Function() and ToUUID() macros
   14746 
   14747 Fixed a problem in the disassembler where a Scope() operator would not be 
   14748 emitted properly if the target of the scope was in another table.
   14749 
   14750 ----------------------------------------
   14751 15 October 2004.  Summary of changes for version 20041015:
   14752 
   14753 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
   14754 evaluation to test/verify the following areas. Other suggestions are 
   14755 welcome. This will result in an increase in the frequency of releases and 
   14756 the number of bug fixes in the next few months.
   14757   - Functional tests for all ASL/AML operators
   14758   - All implicit/explicit type conversions
   14759   - Bit fields and operation regions
   14760   - 64-bit math support and 32-bit-only "truncated" math support
   14761   - Exceptional conditions, both compiler and interpreter
   14762   - Dynamic object deletion and memory leaks
   14763   - ACPI 3.0 support when implemented
   14764   - External interfaces to the ACPI subsystem
   14765 
   14766 
   14767 1) ACPI CA Core Subsystem:
   14768 
   14769 Fixed two alignment issues on 64-bit platforms - within debug statements 
   14770 in 
   14771 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
   14772 Address 
   14773 field within the non-aligned ACPI generic address structure.
   14774 
   14775 Fixed a problem in the Increment and Decrement operators where incorrect 
   14776 operand resolution could result in the inadvertent modification of the 
   14777 original integer when the integer is passed into another method as an 
   14778 argument and the arg is then incremented/decremented.
   14779 
   14780 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
   14781 bit 
   14782 BCD number were truncated during conversion.
   14783 
   14784 Fixed a problem in the ToDecimal operator where the length of the 
   14785 resulting 
   14786 string could be set incorrectly too long if the input operand was a 
   14787 Buffer 
   14788 object.
   14789 
   14790 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
   14791 (0) 
   14792 within a buffer would prematurely terminate a compare between buffer 
   14793 objects.
   14794 
   14795 Added a check for string overflow (>200 characters as per the ACPI 
   14796 specification) during the Concatenate operator with two string operands.
   14797 
   14798 Code and Data Size: Current and previous core subsystem library sizes are 
   14799 shown below. These are the code and data sizes for the acpica.lib 
   14800 produced 
   14801 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14802 any ACPI driver or OSPM code. The debug version of the code includes the 
   14803 debug output trace mechanism and has a much larger code and data size. 
   14804 Note 
   14805 that these values will vary depending on the efficiency of the compiler 
   14806 and 
   14807 the compiler options used during generation.
   14808 
   14809   Previous Release:
   14810     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14811     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14812   Current Release:
   14813     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   14814     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
   14815 
   14816 
   14817 
   14818 2) iASL Compiler/Disassembler:
   14819 
   14820 Allow the use of the ObjectType operator on uninitialized Locals and Args 
   14821 (returns 0 as per the ACPI specification).
   14822 
   14823 Fixed a problem where the compiler would fault if there was a syntax 
   14824 error 
   14825 in the FieldName of all of the various CreateXXXField operators.
   14826 
   14827 Disallow the use of lower case letters within the EISAID macro, as per 
   14828 the 
   14829 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
   14830 Where 
   14831 U is an uppercase letter and N is a hex digit.
   14832 
   14833 
   14834 ----------------------------------------
   14835 06 October 2004.  Summary of changes for version 20041006:
   14836 
   14837 1) ACPI CA Core Subsystem:
   14838 
   14839 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
   14840 implements a 64-bit timer with 100 nanosecond granularity.
   14841 
   14842 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
   14843 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
   14844 implement 
   14845 the timer with the best clock available. Also, it keeps the core 
   14846 subsystem 
   14847 out of the clock handling business, since the host OS (usually) performs 
   14848 this function.
   14849 
   14850 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
   14851 functions use a 64-bit address which is part of the packed ACPI Generic 
   14852 Address Structure. Since the structure is non-aligned, the alignment 
   14853 macros 
   14854 are now used to extract the address to a local variable before use.
   14855 
   14856 Fixed a problem where the ToInteger operator assumed all input strings 
   14857 were 
   14858 hexadecimal. The operator now handles both decimal strings and hex 
   14859 strings 
   14860 (prefixed with "0x").
   14861 
   14862 Fixed a problem where the string length in the string object created as a 
   14863 result of the internal ConvertToString procedure could be incorrect. This 
   14864 potentially affected all implicit conversions and also the 
   14865 ToDecimalString 
   14866 and ToHexString operators.
   14867 
   14868 Fixed two problems in the ToString operator. If the length parameter was 
   14869 zero, an incorrect string object was created and the value of the input 
   14870 length parameter was inadvertently changed from zero to Ones.
   14871 
   14872 Fixed a problem where the optional ResourceSource string in the 
   14873 ExtendedIRQ 
   14874 resource macro was ignored.
   14875 
   14876 Simplified the interfaces to the internal division functions, reducing 
   14877 code 
   14878 size and complexity.
   14879 
   14880 Code and Data Size: Current and previous core subsystem library sizes are 
   14881 shown below. These are the code and data sizes for the acpica.lib 
   14882 produced 
   14883 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14884 any ACPI driver or OSPM code. The debug version of the code includes the 
   14885 debug output trace mechanism and has a much larger code and data size. 
   14886 Note 
   14887 that these values will vary depending on the efficiency of the compiler 
   14888 and 
   14889 the compiler options used during generation.
   14890 
   14891   Previous Release:
   14892     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14893     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14894   Current Release:
   14895     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   14896     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
   14897 
   14898 
   14899 2) iASL Compiler/Disassembler:
   14900 
   14901 Implemented support for the ACPI 3.0 Timer operator.
   14902 
   14903 Fixed a problem where the Default() operator was inadvertently ignored in 
   14904 a 
   14905 Switch/Case block.  This was a problem in the translation of the Switch 
   14906 statement to If...Else pairs.
   14907 
   14908 Added support to allow a standalone Return operator, with no parentheses 
   14909 (or 
   14910 operands).
   14911 
   14912 Fixed a problem with code generation for the ElseIf operator where the 
   14913 translated Else...If parse tree was improperly constructed leading to the 
   14914 loss of some code.
   14915 
   14916 ----------------------------------------
   14917 22 September 2004.  Summary of changes for version 20040922:
   14918 
   14919 1) ACPI CA Core Subsystem:
   14920 
   14921 Fixed a problem with the implementation of the LNot() operator where 
   14922 "Ones" 
   14923 was not returned for the TRUE case. Changed the code to return Ones 
   14924 instead 
   14925 of (!Arg) which was usually 1. This change affects iASL constant folding 
   14926 for 
   14927 this operator also.
   14928 
   14929 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
   14930 not 
   14931 initialized properly -- Now zero the entire buffer in this case where the 
   14932 buffer already exists.
   14933 
   14934 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
   14935 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
   14936 related code considerably. This will require changes/updates to all OS 
   14937 interface layers (OSLs.)
   14938 
   14939 Implemented a new external interface, AcpiInstallExceptionHandler, to 
   14940 allow 
   14941 a system exception handler to be installed. This handler is invoked upon 
   14942 any 
   14943 run-time exception that occurs during control method execution.
   14944 
   14945 Added support for the DSDT in AcpiTbFindTable. This allows the 
   14946 DataTableRegion() operator to access the local copy of the DSDT.
   14947 
   14948 Code and Data Size: Current and previous core subsystem library sizes are 
   14949 shown below. These are the code and data sizes for the acpica.lib 
   14950 produced 
   14951 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   14952 any ACPI driver or OSPM code. The debug version of the code includes the 
   14953 debug output trace mechanism and has a much larger code and data size. 
   14954 Note 
   14955 that these values will vary depending on the efficiency of the compiler 
   14956 and 
   14957 the compiler options used during generation.
   14958 
   14959   Previous Release:
   14960     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   14961     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   14962   Current Release:
   14963     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
   14964     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
   14965 
   14966 
   14967 2) iASL Compiler/Disassembler:
   14968 
   14969 Fixed a problem with constant folding and the LNot operator. LNot was 
   14970 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
   14971 This 
   14972 could result in the generation of an incorrect folded/reduced constant.
   14973 
   14974 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
   14975 longer occurs if such a comment is at the very end of the input ASL 
   14976 source 
   14977 file.
   14978 
   14979 Implemented the "-r" option to override the Revision in the table header. 
   14980 The initial use of this option will be to simplify the evaluation of the 
   14981 AML 
   14982 interpreter by allowing a single ASL source module to be compiled for 
   14983 either 
   14984 32-bit or 64-bit integers.
   14985 
   14986 
   14987 ----------------------------------------
   14988 27 August 2004.  Summary of changes for version 20040827:
   14989 
   14990 1) ACPI CA Core Subsystem:
   14991 
   14992 - Implemented support for implicit object conversion in the non-numeric 
   14993 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
   14994 and 
   14995 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
   14996 the second operand is implicitly converted on the fly to match the type 
   14997 of 
   14998 the first operand.  For example:
   14999 
   15000     LEqual (Source1, Source2)
   15001 
   15002 Source1 and Source2 must each evaluate to an integer, a string, or a 
   15003 buffer. 
   15004 The data type of Source1 dictates the required type of Source2. Source2 
   15005 is 
   15006 implicitly converted if necessary to match the type of Source1.
   15007 
   15008 - Updated and corrected the behavior of the string conversion support.  
   15009 The 
   15010 rules concerning conversion of buffers to strings (according to the ACPI 
   15011 specification) are as follows:
   15012 
   15013 ToDecimalString - explicit byte-wise conversion of buffer to string of 
   15014 decimal values (0-255) separated by commas. ToHexString - explicit byte-
   15015 wise 
   15016 conversion of buffer to string of hex values (0-FF) separated by commas. 
   15017 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
   15018 byte 
   15019 copy with no transform except NULL terminated. Any other implicit buffer-
   15020 to-
   15021 string conversion - byte-wise conversion of buffer to string of hex 
   15022 values 
   15023 (0-FF) separated by spaces.
   15024 
   15025 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
   15026 
   15027 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
   15028 was 
   15029 one byte too short in the case of a node in the root scope.  This could 
   15030 cause a fault during debug output.
   15031 
   15032 - Code and Data Size: Current and previous core subsystem library sizes 
   15033 are 
   15034 shown below.  These are the code and data sizes for the acpica.lib 
   15035 produced 
   15036 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15037 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15038 debug output trace mechanism and has a much larger code and data size.  
   15039 Note 
   15040 that these values will vary depending on the efficiency of the compiler 
   15041 and 
   15042 the compiler options used during generation.
   15043 
   15044   Previous Release:
   15045     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   15046     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   15047   Current Release:
   15048     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
   15049     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
   15050 
   15051 
   15052 2) iASL Compiler/Disassembler:
   15053 
   15054 - Fixed a Linux generation error.
   15055 
   15056 
   15057 ----------------------------------------
   15058 16 August 2004.  Summary of changes for version 20040816:
   15059 
   15060 1) ACPI CA Core Subsystem:
   15061 
   15062 Designed and implemented support within the AML interpreter for the so-
   15063 called "implicit return".  This support returns the result of the last 
   15064 ASL 
   15065 operation within a control method, in the absence of an explicit Return() 
   15066 operator.  A few machines depend on this behavior, even though it is not 
   15067 explicitly supported by the ASL language.  It is optional support that 
   15068 can 
   15069 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
   15070 
   15071 Removed support for the PCI_Config address space from the internal low 
   15072 level 
   15073 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
   15074 support was not used internally, and would not work correctly anyway 
   15075 because 
   15076 the PCI bus number and segment number were not supported.  There are 
   15077 separate interfaces for PCI configuration space access because of the 
   15078 unique 
   15079 interface.
   15080 
   15081 Code and Data Size: Current and previous core subsystem library sizes are 
   15082 shown below.  These are the code and data sizes for the acpica.lib 
   15083 produced 
   15084 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15085 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15086 debug output trace mechanism and has a much larger code and data size.  
   15087 Note 
   15088 that these values will vary depending on the efficiency of the compiler 
   15089 and 
   15090 the compiler options used during generation.
   15091 
   15092   Previous Release:
   15093     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   15094     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   15095   Current Release:
   15096     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
   15097     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
   15098 
   15099 
   15100 2) iASL Compiler/Disassembler:
   15101 
   15102 Fixed a problem where constants in ASL expressions at the root level (not 
   15103 within a control method) could be inadvertently truncated during code 
   15104 generation.  This problem was introduced in the 20040715 release.
   15105 
   15106 
   15107 ----------------------------------------
   15108 15 July 2004.  Summary of changes for version 20040715:
   15109 
   15110 1) ACPI CA Core Subsystem:
   15111 
   15112 Restructured the internal HW GPE interfaces to pass/track the current 
   15113 state 
   15114 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
   15115 increase flexibility of the interfaces.
   15116 
   15117 Implemented a "lexicographical compare" for String and Buffer objects 
   15118 within 
   15119 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
   15120 - 
   15121 as per further clarification to the ACPI specification.  Behavior is 
   15122 similar 
   15123 to C library "strcmp".
   15124 
   15125 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
   15126 external function.  In the 32-bit non-debug case, the stack use has been 
   15127 reduced from 168 bytes to 32 bytes.
   15128 
   15129 Deployed a new run-time configuration flag, 
   15130 AcpiGbl_EnableInterpreterSlack, 
   15131 whose purpose is to allow the AML interpreter to forgive certain bad AML 
   15132 constructs.  Default setting is FALSE.
   15133 
   15134 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
   15135 IO 
   15136 support code.  If enabled, it allows field access to go beyond the end of 
   15137 a 
   15138 region definition if the field is within the region length rounded up to 
   15139 the 
   15140 next access width boundary (a common coding error.)
   15141 
   15142 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
   15143 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
   15144 these 
   15145 symbols are lowercase by the latest version of the AcpiSrc tool.
   15146 
   15147 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
   15148 rename "Register" to simply "Reg" to prevent certain compilers from 
   15149 complaining.
   15150 
   15151 Code and Data Size: Current and previous core subsystem library sizes are 
   15152 shown below.  These are the code and data sizes for the acpica.lib 
   15153 produced 
   15154 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15155 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15156 debug output trace mechanism and has a much larger code and data size.  
   15157 Note 
   15158 that these values will vary depending on the efficiency of the compiler 
   15159 and 
   15160 the compiler options used during generation.
   15161 
   15162   Previous Release:
   15163     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   15164     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   15165   Current Release:
   15166     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
   15167     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
   15168 
   15169 
   15170 2) iASL Compiler/Disassembler:
   15171 
   15172 Implemented full support for Package objects within the Case() operator.  
   15173 Note: The Break() operator is currently not supported within Case blocks 
   15174 (TermLists) as there is some question about backward compatibility with 
   15175 ACPI 
   15176 1.0 interpreters.
   15177 
   15178 
   15179 Fixed a problem where complex terms were not supported properly within 
   15180 the 
   15181 Switch() operator.
   15182 
   15183 Eliminated extraneous warning for compiler-emitted reserved names of the 
   15184 form "_T_x".  (Used in Switch/Case operators.)
   15185 
   15186 Eliminated optimization messages for "_T_x" objects and small constants 
   15187 within the DefinitionBlock operator.
   15188 
   15189 
   15190 ----------------------------------------
   15191 15 June 2004.  Summary of changes for version 20040615:
   15192 
   15193 1) ACPI CA Core Subsystem:
   15194 
   15195 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   15196 the 
   15197 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   15198 LLessEqual.
   15199 
   15200 All directory names in the entire source package are lower case, as they 
   15201 were in earlier releases.
   15202 
   15203 Implemented "Disassemble" command in the AML debugger that will 
   15204 disassemble 
   15205 a single control method.
   15206 
   15207 Code and Data Size: Current and previous core subsystem library sizes are 
   15208 shown below.  These are the code and data sizes for the acpica.lib 
   15209 produced 
   15210 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15211 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15212 debug output trace mechanism and has a much larger code and data size.  
   15213 Note 
   15214 that these values will vary depending on the efficiency of the compiler 
   15215 and 
   15216 the compiler options used during generation.
   15217 
   15218   Previous Release:
   15219     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   15220     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   15221 
   15222   Current Release:
   15223     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
   15224     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
   15225 
   15226 
   15227 2) iASL Compiler/Disassembler:
   15228 
   15229 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
   15230 the 
   15231 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
   15232 LLessEqual.
   15233 
   15234 All directory names in the entire source package are lower case, as they 
   15235 were in earlier releases.
   15236 
   15237 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
   15238 not found.
   15239 
   15240 Fixed an issue with the Windows version of the compiler where later 
   15241 versions 
   15242 of Windows place the FADT in the registry under the name "FADT" and not 
   15243 "FACP" as earlier versions did.  This applies when using the -g or -
   15244 d<nofilename> options.  The compiler now looks for both strings as 
   15245 necessary.
   15246 
   15247 Fixed a problem with compiler namepath optimization where a namepath 
   15248 within 
   15249 the Scope() operator could not be optimized if the namepath was a subpath 
   15250 of 
   15251 the current scope path.
   15252 
   15253 ----------------------------------------
   15254 27 May 2004.  Summary of changes for version 20040527:
   15255 
   15256 1) ACPI CA Core Subsystem:
   15257 
   15258 Completed a new design and implementation for EBDA (Extended BIOS Data 
   15259 Area) 
   15260 support in the RSDP scan code.  The original code improperly scanned for 
   15261 the 
   15262 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
   15263 method 
   15264 is to first obtain the EBDA pointer from within the BIOS data area, then 
   15265 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
   15266 if 
   15267 any machines that place the RSDP in the EBDA, however.
   15268 
   15269 Integrated a fix for a possible fault during evaluation of BufferField 
   15270 arguments.  Obsolete code that was causing the problem was removed.
   15271 
   15272 Found and fixed a problem in the Field Support Code where data could be 
   15273 corrupted on a bit field read that starts on an aligned boundary but does 
   15274 not end on an aligned boundary.  Merged the read/write "datum length" 
   15275 calculation code into a common procedure.
   15276 
   15277 Rolled in a couple of changes to the FreeBSD-specific header.
   15278 
   15279 
   15280 Code and Data Size: Current and previous core subsystem library sizes are 
   15281 shown below.  These are the code and data sizes for the acpica.lib 
   15282 produced 
   15283 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15284 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15285 debug output trace mechanism and has a much larger code and data size.  
   15286 Note 
   15287 that these values will vary depending on the efficiency of the compiler 
   15288 and 
   15289 the compiler options used during generation.
   15290 
   15291   Previous Release:
   15292     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15293     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   15294   Current Release:
   15295     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
   15296     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
   15297 
   15298 
   15299 2) iASL Compiler/Disassembler:
   15300 
   15301 Fixed a generation warning produced by some overly-verbose compilers for 
   15302 a 
   15303 64-bit constant.
   15304 
   15305 ----------------------------------------
   15306 14 May 2004.  Summary of changes for version 20040514:
   15307 
   15308 1) ACPI CA Core Subsystem:
   15309 
   15310 Fixed a problem where hardware GPE enable bits sometimes not set properly 
   15311 during and after GPE method execution.  Result of 04/27 changes.
   15312 
   15313 Removed extra "clear all GPEs" when sleeping/waking.
   15314 
   15315 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
   15316 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
   15317 to 
   15318 the new AcpiEv* calls as appropriate.
   15319 
   15320 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
   15321 is 
   15322 now "Microsoft Windows NT" for maximum compatibility.  However this can 
   15323 be 
   15324 changed by modifying the acconfig.h file.
   15325 
   15326 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
   15327 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
   15328 
   15329 Run _INI methods on ThermalZone objects.  This is against the ACPI 
   15330 specification, but there is apparently ASL code in the field that has 
   15331 these 
   15332 _INI methods, and apparently "other" AML interpreters execute them.
   15333 
   15334 Performed a full 16/32/64 bit lint that resulted in some small changes.
   15335 
   15336 Added a sleep simulation command to the AML debugger to test sleep code. 
   15337 
   15338 Code and Data Size: Current and previous core subsystem library sizes are 
   15339 shown below.  These are the code and data sizes for the acpica.lib 
   15340 produced 
   15341 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15342 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15343 debug output trace mechanism and has a much larger code and data size.  
   15344 Note 
   15345 that these values will vary depending on the efficiency of the compiler 
   15346 and 
   15347 the compiler options used during generation.
   15348 
   15349   Previous Release:
   15350     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15351     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   15352   Current Release:
   15353     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15354     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
   15355 
   15356 ----------------------------------------
   15357 27 April 2004.  Summary of changes for version 20040427:
   15358 
   15359 1) ACPI CA Core Subsystem:
   15360 
   15361 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
   15362 now three types of GPEs:  wake-only, runtime-only, and combination 
   15363 wake/run.  
   15364 The only GPEs allowed to be combination wake/run are for button-style 
   15365 devices such as a control-method power button, control-method sleep 
   15366 button, 
   15367 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
   15368 not 
   15369 referenced by any _PRW methods are marked for "runtime" and hardware 
   15370 enabled.  Any GPE that is referenced by a _PRW method is marked for 
   15371 "wake" 
   15372 (and disabled at runtime).  However, at sleep time, only those GPEs that 
   15373 have been specifically enabled for wake via the AcpiEnableGpe interface 
   15374 will 
   15375 actually be hardware enabled.
   15376 
   15377 A new external interface has been added, AcpiSetGpeType(), that is meant 
   15378 to 
   15379 be used by device drivers to force a GPE to a particular type.  It will 
   15380 be 
   15381 especially useful for the drivers for the button devices mentioned above.
   15382 
   15383 Completed restructuring of the ACPI CA initialization sequence so that 
   15384 default operation region handlers are installed before GPEs are 
   15385 initialized 
   15386 and the _PRW methods are executed.  This will prevent errors when the 
   15387 _PRW 
   15388 methods attempt to access system memory or I/O space.
   15389 
   15390 GPE enable/disable no longer reads the GPE enable register.  We now keep 
   15391 the 
   15392 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
   15393 thus no longer depend on the hardware to maintain these bits.
   15394 
   15395 Always clear the wake status and fixed/GPE status bits before sleep, even 
   15396 for state S5.
   15397 
   15398 Improved the AML debugger output for displaying the GPE blocks and their 
   15399 current status.
   15400 
   15401 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
   15402 where 
   15403 x = 0,1,2,3,4.
   15404 
   15405 Fixed a problem where the physical address was incorrectly calculated 
   15406 when 
   15407 the Load() operator was used to directly load from an Operation Region 
   15408 (vs. 
   15409 loading from a Field object.)  Also added check for minimum table length 
   15410 for 
   15411 this case.
   15412 
   15413 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
   15414 mutex release.
   15415 
   15416 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
   15417 consistency with the other fields returned.
   15418 
   15419 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
   15420 structure for each GPE in the system, so the size of this structure is 
   15421 important.
   15422 
   15423 CPU stack requirement reduction:  Cleaned up the method execution and 
   15424 object 
   15425 evaluation paths so that now a parameter structure is passed, instead of 
   15426 copying the various method parameters over and over again.
   15427 
   15428 In evregion.c:  Correctly exit and reenter the interpreter region if and 
   15429 only if dispatching an operation region request to a user-installed 
   15430 handler.  
   15431 Do not exit/reenter when dispatching to a default handler (e.g., default 
   15432 system memory or I/O handlers)
   15433 
   15434 
   15435 Notes for updating drivers for the new GPE support.  The following 
   15436 changes 
   15437 must be made to ACPI-related device drivers that are attached to one or 
   15438 more 
   15439 GPEs: (This information will be added to the ACPI CA Programmer 
   15440 Reference.)
   15441 
   15442 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
   15443 must 
   15444 explicitly call AcpiEnableGpe.
   15445 2) There is a new interface called AcpiSetGpeType. This should be called 
   15446 before enabling the GPE.  Also, this interface will automatically disable 
   15447 the GPE if it is currently enabled.
   15448 3) AcpiEnableGpe no longer supports a GPE type flag.
   15449 
   15450 Specific drivers that must be changed:
   15451 1) EC driver:
   15452     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
   15453 AeGpeHandler, NULL);
   15454     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
   15455     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
   15456 
   15457 2) Button Drivers (Power, Lid, Sleep):
   15458 Run _PRW method under parent device
   15459 If _PRW exists: /* This is a control-method button */
   15460     Extract GPE number and possibly GpeDevice
   15461     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
   15462     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
   15463 
   15464 For all other devices that have _PRWs, we automatically set the GPE type 
   15465 to 
   15466 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
   15467 This 
   15468 must be done on a selective basis, usually requiring some kind of user 
   15469 app 
   15470 to allow the user to pick the wake devices.
   15471 
   15472 
   15473 Code and Data Size: Current and previous core subsystem library sizes are 
   15474 shown below.  These are the code and data sizes for the acpica.lib 
   15475 produced 
   15476 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15477 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15478 debug output trace mechanism and has a much larger code and data size.  
   15479 Note 
   15480 that these values will vary depending on the efficiency of the compiler 
   15481 and 
   15482 the compiler options used during generation.
   15483 
   15484   Previous Release:
   15485     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   15486     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   15487   Current Release:
   15488 
   15489     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
   15490     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
   15491 
   15492 
   15493 
   15494 ----------------------------------------
   15495 02 April 2004.  Summary of changes for version 20040402:
   15496 
   15497 1) ACPI CA Core Subsystem:
   15498 
   15499 Fixed an interpreter problem where an indirect store through an ArgX 
   15500 parameter was incorrectly applying the "implicit conversion rules" during 
   15501 the store.  From the ACPI specification: "If the target is a method local 
   15502 or 
   15503 argument (LocalX or ArgX), no conversion is performed and the result is 
   15504 stored directly to the target".  The new behavior is to disable implicit 
   15505 conversion during ALL stores to an ArgX.
   15506 
   15507 Changed the behavior of the _PRW method scan to ignore any and all errors 
   15508 returned by a given _PRW.  This prevents the scan from aborting from the 
   15509 failure of any single _PRW.
   15510 
   15511 Moved the runtime configuration parameters from the global init procedure 
   15512 to 
   15513 static variables in acglobal.h.  This will allow the host to override the 
   15514 default values easily.
   15515 
   15516 Code and Data Size: Current and previous core subsystem library sizes are 
   15517 shown below.  These are the code and data sizes for the acpica.lib 
   15518 produced 
   15519 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15520 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15521 debug output trace mechanism and has a much larger code and data size.  
   15522 Note 
   15523 that these values will vary depending on the efficiency of the compiler 
   15524 and 
   15525 the compiler options used during generation.
   15526 
   15527   Previous Release:
   15528     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   15529     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   15530   Current Release:
   15531     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
   15532     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
   15533 
   15534 
   15535 2) iASL Compiler/Disassembler:
   15536 
   15537 iASL now fully disassembles SSDTs.  However, External() statements are 
   15538 not 
   15539 generated automatically for unresolved symbols at this time.  This is a 
   15540 planned feature for future implementation.
   15541 
   15542 Fixed a scoping problem in the disassembler that occurs when the type of 
   15543 the 
   15544 target of a Scope() operator is overridden.  This problem caused an 
   15545 incorrectly nested internal namespace to be constructed.
   15546 
   15547 Any warnings or errors that are emitted during disassembly are now 
   15548 commented 
   15549 out automatically so that the resulting file can be recompiled without 
   15550 any 
   15551 hand editing.
   15552 
   15553 ----------------------------------------
   15554 26 March 2004.  Summary of changes for version 20040326:
   15555 
   15556 1) ACPI CA Core Subsystem:
   15557 
   15558 Implemented support for "wake" GPEs via interaction between GPEs and the 
   15559 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
   15560 identified as a WAKE GPE and by default will no longer be enabled at 
   15561 runtime.  Previously, we were blindly enabling all GPEs with a 
   15562 corresponding 
   15563 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
   15564 We 
   15565 believe this has been the cause of thousands of "spurious" GPEs on some 
   15566 systems.
   15567 
   15568 This new GPE behavior is can be reverted to the original behavior (enable 
   15569 ALL GPEs at runtime) via a runtime flag.
   15570 
   15571 Fixed a problem where aliased control methods could not access objects 
   15572 properly.  The proper scope within the namespace was not initialized 
   15573 (transferred to the target of the aliased method) before executing the 
   15574 target method.
   15575 
   15576 Fixed a potential race condition on internal object deletion on the 
   15577 return 
   15578 object in AcpiEvaluateObject. 
   15579 
   15580 Integrated a fix for resource descriptors where both _MEM and _MTP were 
   15581 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
   15582 wide, 0x0F instead of 0x03.)
   15583 
   15584 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
   15585 preventing 
   15586 a 
   15587 fault in some cases.
   15588 
   15589 Updated Notify() values for debug statements in evmisc.c
   15590 
   15591 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
   15592 
   15593 Code and Data Size: Current and previous core subsystem library sizes are 
   15594 shown below.  These are the code and data sizes for the acpica.lib 
   15595 produced 
   15596 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15597 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15598 debug output trace mechanism and has a much larger code and data size.  
   15599 Note 
   15600 that these values will vary depending on the efficiency of the compiler 
   15601 and 
   15602 the compiler options used during generation.
   15603 
   15604   Previous Release:
   15605 
   15606     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   15607     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   15608   Current Release:
   15609     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
   15610     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
   15611 
   15612 ----------------------------------------
   15613 11 March 2004.  Summary of changes for version 20040311:
   15614 
   15615 1) ACPI CA Core Subsystem:
   15616 
   15617 Fixed a problem where errors occurring during the parse phase of control 
   15618 method execution did not abort cleanly.  For example, objects created and 
   15619 installed in the namespace were not deleted.  This caused all subsequent 
   15620 invocations of the method to return the AE_ALREADY_EXISTS exception.
   15621 
   15622 Implemented a mechanism to force a control method to "Serialized" 
   15623 execution 
   15624 if the method attempts to create namespace objects. (The root of the 
   15625 AE_ALREADY_EXISTS problem.)
   15626 
   15627 Implemented support for the predefined _OSI "internal" control method.  
   15628 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
   15629 and 
   15630 "Windows 2001.1", and can be easily upgraded for new strings as 
   15631 necessary.  
   15632 This feature will allow "other" operating systems to execute the fully 
   15633 tested, "Windows" code path through the ASL code
   15634 
   15635 Global Lock Support:  Now allows multiple acquires and releases with any 
   15636 internal thread.  Removed concept of "owning thread" for this special 
   15637 mutex.
   15638 
   15639 Fixed two functions that were inappropriately declaring large objects on 
   15640 the 
   15641 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
   15642 during 
   15643 method execution considerably.
   15644 
   15645 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
   15646 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
   15647 
   15648 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
   15649 defined on the machine.
   15650 
   15651 Implemented two runtime options:  One to force all control method 
   15652 execution 
   15653 to "Serialized" to mimic Windows behavior, another to disable _OSI 
   15654 support 
   15655 if it causes problems on a given machine.
   15656 
   15657 Code and Data Size: Current and previous core subsystem library sizes are 
   15658 shown below.  These are the code and data sizes for the acpica.lib 
   15659 produced 
   15660 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
   15661 any ACPI driver or OSPM code.  The debug version of the code includes the 
   15662 debug output trace mechanism and has a much larger code and data size.  
   15663 Note 
   15664 that these values will vary depending on the efficiency of the compiler 
   15665 and 
   15666 the compiler options used during generation.
   15667 
   15668   Previous Release:
   15669     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   15670     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   15671   Current Release:
   15672     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
   15673     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
   15674 
   15675 2) iASL Compiler/Disassembler:
   15676 
   15677 Fixed an array size problem for FreeBSD that would cause the compiler to 
   15678 fault.
   15679 
   15680 ----------------------------------------
   15681 20 February 2004.  Summary of changes for version 20040220:
   15682 
   15683 
   15684 1) ACPI CA Core Subsystem:
   15685 
   15686 Implemented execution of _SxD methods for Device objects in the 
   15687 GetObjectInfo interface.
   15688 
   15689 Fixed calls to _SST method to pass the correct arguments.
   15690 
   15691 Added a call to _SST on wake to restore to "working" state.
   15692 
   15693 Check for End-Of-Buffer failure case in the WalkResources interface.
   15694 
   15695 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
   15696 structures to the beginning of the file.
   15697 
   15698 After wake, clear GPE status register(s) before enabling GPEs.
   15699 
   15700 After wake, clear/enable power button.  (Perhaps we should clear/enable 
   15701 all 
   15702 fixed events upon wake.)
   15703 
   15704 Fixed a couple of possible memory leaks in the Namespace manager.
   15705 
   15706 Integrated latest acnetbsd.h file.
   15707 
   15708 ----------------------------------------
   15709 11 February 2004.  Summary of changes for version 20040211:
   15710 
   15711 
   15712 1) ACPI CA Core Subsystem:
   15713 
   15714 Completed investigation and implementation of the call-by-reference 
   15715 mechanism for control method arguments.
   15716 
   15717 Fixed a problem where a store of an object into an indexed package could 
   15718 fail if the store occurs within a different method than the method that 
   15719 created the package.
   15720 
   15721 Fixed a problem where the ToDecimal operator could return incorrect 
   15722 results.
   15723 
   15724 Fixed a problem where the CopyObject operator could fail on some of the 
   15725 more 
   15726 obscure objects (e.g., Reference objects.)
   15727 
   15728 Improved the output of the Debug object to display buffer, package, and 
   15729 index objects.
   15730 
   15731 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
   15732 return 
   15733 the expected result.
   15734 
   15735 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
   15736 ACPI_AML_INTERNAL exception.
   15737 
   15738 Integrated latest version of acfreebsd.h
   15739 
   15740 ----------------------------------------
   15741 16 January 2004.  Summary of changes for version 20040116:
   15742 
   15743 The purpose of this release is primarily to update the copyright years in 
   15744 each module, thus causing a huge number of diffs.  There are a few small 
   15745 functional changes, however.
   15746 
   15747 1) ACPI CA Core Subsystem:
   15748 
   15749 Improved error messages when there is a problem finding one or more of 
   15750 the 
   15751 required base ACPI tables
   15752 
   15753 Reintroduced the definition of APIC_HEADER in actbl.h
   15754 
   15755 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
   15756 
   15757 Removed extraneous reference to NewObj in dsmthdat.c
   15758 
   15759 2) iASL compiler
   15760 
   15761 Fixed a problem introduced in December that disabled the correct 
   15762 disassembly 
   15763 of Resource Templates
   15764 
   15765 
   15766 ----------------------------------------
   15767 03 December 2003.  Summary of changes for version 20031203:
   15768 
   15769 1) ACPI CA Core Subsystem:
   15770 
   15771 Changed the initialization of Operation Regions during subsystem
   15772 init to perform two entire walks of the ACPI namespace; The first
   15773 to initialize the regions themselves, the second to execute the
   15774 _REG methods.  This fixed some interdependencies across _REG
   15775 methods found on some machines.
   15776 
   15777 Fixed a problem where a Store(Local0, Local1) could simply update
   15778 the object reference count, and not create a new copy of the
   15779 object if the Local1 is uninitialized.
   15780 
   15781 Implemented support for the _SST reserved method during sleep
   15782 transitions.
   15783 
   15784 Implemented support to clear the SLP_TYP and SLP_EN bits when
   15785 waking up, this is apparently required by some machines.
   15786 
   15787 When sleeping, clear the wake status only if SleepState is not S5.
   15788 
   15789 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
   15790 pointer arithmetic advanced a string pointer too far.
   15791 
   15792 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
   15793 could be returned if the requested table has not been loaded.
   15794 
   15795 Within the support for IRQ resources, restructured the handling of
   15796 the active and edge/level bits.
   15797 
   15798 Fixed a few problems in AcpiPsxExecute() where memory could be
   15799 leaked under certain error conditions.
   15800 
   15801 Improved error messages for the cases where the ACPI mode could
   15802 not be entered.
   15803 
   15804 Code and Data Size: Current and previous core subsystem library
   15805 sizes are shown below.  These are the code and data sizes for the
   15806 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15807 these values do not include any ACPI driver or OSPM code.  The
   15808 debug version of the code includes the debug output trace
   15809 mechanism and has a much larger code and data size.  Note that
   15810 these values will vary depending on the efficiency of the compiler
   15811 and the compiler options used during generation.
   15812 
   15813   Previous Release (20031029):
   15814     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15815     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15816   Current Release:
   15817     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
   15818     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
   15819 
   15820 2) iASL Compiler/Disassembler:
   15821 
   15822 Implemented a fix for the iASL disassembler where a bad index was
   15823 generated.  This was most noticeable on 64-bit platforms
   15824 
   15825 
   15826 ----------------------------------------
   15827 29 October 2003.  Summary of changes for version 20031029:
   15828 
   15829 1) ACPI CA Core Subsystem:
   15830 
   15831 
   15832 Fixed a problem where a level-triggered GPE with an associated
   15833 _Lxx control method was incorrectly cleared twice.
   15834 
   15835 Fixed a problem with the Field support code where an access can
   15836 occur beyond the end-of-region if the field is non-aligned but
   15837 extends to the very end of the parent region (resulted in an
   15838 AE_AML_REGION_LIMIT exception.)
   15839 
   15840 Fixed a problem with ACPI Fixed Events where an RT Clock handler
   15841 would not get invoked on an RTC event.  The RTC event bitmasks for
   15842 the PM1 registers were not being initialized properly.
   15843 
   15844 Implemented support for executing _STA and _INI methods for
   15845 Processor objects.  Although this is currently not part of the
   15846 ACPI specification, there is existing ASL code that depends on the
   15847 init-time execution of these methods.
   15848 
   15849 Implemented and deployed a GetDescriptorName function to decode
   15850 the various types of internal descriptors.  Guards against null
   15851 descriptors during debug output also.
   15852 
   15853 Implemented and deployed a GetNodeName function to extract the 4-
   15854 character namespace node name.  This function simplifies the debug
   15855 and error output, as well as guarding against null pointers during
   15856 output.
   15857 
   15858 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
   15859 simplify the debug and error output of 64-bit integers.  This
   15860 macro replaces the HIDWORD and LODWORD macros for dumping these
   15861 integers.
   15862 
   15863 Updated the implementation of the Stall() operator to only call
   15864 AcpiOsStall(), and also return an error if the operand is larger
   15865 than 255.  This preserves the required behavior of not
   15866 relinquishing the processor, as would happen if AcpiOsSleep() was
   15867 called for "long stalls".
   15868 
   15869 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
   15870 initialized are now treated as NOOPs.
   15871 
   15872 Cleaned up a handful of warnings during 64-bit generation.
   15873 
   15874 Fixed a reported error where and incorrect GPE number was passed
   15875 to the GPE dispatch handler.  This value is only used for error
   15876 output, however.  Used this opportunity to clean up and streamline
   15877 the GPE dispatch code.
   15878 
   15879 Code and Data Size: Current and previous core subsystem library
   15880 sizes are shown below.  These are the code and data sizes for the
   15881 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15882 these values do not include any ACPI driver or OSPM code.  The
   15883 
   15884 debug version of the code includes the debug output trace
   15885 mechanism and has a much larger code and data size.  Note that
   15886 these values will vary depending on the efficiency of the compiler
   15887 and the compiler options used during generation.
   15888 
   15889   Previous Release (20031002):
   15890     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15891     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15892   Current Release:
   15893     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
   15894     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
   15895 
   15896 
   15897 2) iASL Compiler/Disassembler:
   15898 
   15899 Updated the iASL compiler to return an error if the operand to the
   15900 Stall() operator is larger than 255.
   15901 
   15902 
   15903 ----------------------------------------
   15904 02 October 2003.  Summary of changes for version 20031002:
   15905 
   15906 
   15907 1) ACPI CA Core Subsystem:
   15908 
   15909 Fixed a problem with Index Fields where the index was not
   15910 incremented for fields that require multiple writes to the
   15911 index/data registers (Fields that are wider than the data
   15912 register.)
   15913 
   15914 Fixed a problem with all Field objects where a write could go
   15915 beyond the end-of-field if the field was larger than the access
   15916 granularity and therefore required multiple writes to complete the
   15917 request.  An extra write beyond the end of the field could happen
   15918 inadvertently.
   15919 
   15920 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
   15921 would incorrectly be returned if the width of the Data Register
   15922 was larger than the specified field access width.
   15923 
   15924 Completed fixes for LoadTable() and Unload() and verified their
   15925 operation.  Implemented full support for the "DdbHandle" object
   15926 throughout the ACPI CA subsystem.
   15927 
   15928 Implemented full support for the MADT and ECDT tables in the ACPI
   15929 CA header files.  Even though these tables are not directly
   15930 consumed by ACPI CA, the header definitions are useful for ACPI
   15931 device drivers.
   15932 
   15933 Integrated resource descriptor fixes posted to the Linux ACPI
   15934 list.  This included checks for minimum descriptor length, and
   15935 support for trailing NULL strings within descriptors that have
   15936 optional string elements.
   15937 
   15938 Code and Data Size: Current and previous core subsystem library
   15939 sizes are shown below.  These are the code and data sizes for the
   15940 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15941 these values do not include any ACPI driver or OSPM code.  The
   15942 debug version of the code includes the debug output trace
   15943 mechanism and has a much larger code and data size.  Note that
   15944 these values will vary depending on the efficiency of the compiler
   15945 and the compiler options used during generation.
   15946 
   15947   Previous Release (20030918):
   15948     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   15949     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   15950   Current Release:
   15951     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
   15952     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
   15953 
   15954 
   15955 2) iASL Compiler:
   15956 
   15957 Implemented detection of non-ASCII characters within the input
   15958 source ASL file.  This catches attempts to compile binary (AML)
   15959 files early in the compile, with an informative error message.
   15960 
   15961 Fixed a problem where the disassembler would fault if the output
   15962 filename could not be generated or if the output file could not be
   15963 opened.
   15964 
   15965 ----------------------------------------
   15966 18 September 2003.  Summary of changes for version 20030918:
   15967 
   15968 
   15969 1) ACPI CA Core Subsystem:
   15970 
   15971 Found and fixed a longstanding problem with the late execution of
   15972 the various deferred AML opcodes (such as Operation Regions,
   15973 Buffer Fields, Buffers, and Packages).  If the name string
   15974 specified for the name of the new object placed the object in a
   15975 scope other than the current scope, the initialization/execution
   15976 of the opcode failed.  The solution to this problem was to
   15977 implement a mechanism where the late execution of such opcodes
   15978 does not attempt to lookup/create the name a second time in an
   15979 incorrect scope.  This fixes the "region size computed
   15980 incorrectly" problem.
   15981 
   15982 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
   15983 Global Lock AE_BAD_PARAMETER error.
   15984 
   15985 Fixed several 64-bit issues with prototypes, casting and data
   15986 types.
   15987 
   15988 Removed duplicate prototype from acdisasm.h
   15989 
   15990 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
   15991 
   15992 Code and Data Size: Current and previous core subsystem library
   15993 sizes are shown below.  These are the code and data sizes for the
   15994 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   15995 these values do not include any ACPI driver or OSPM code.  The
   15996 debug version of the code includes the debug output trace
   15997 mechanism and has a much larger code and data size.  Note that
   15998 these values will vary depending on the efficiency of the compiler
   15999 and the compiler options used during generation.
   16000 
   16001   Previous Release:
   16002 
   16003     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   16004     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   16005   Current Release:
   16006     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
   16007     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
   16008 
   16009 
   16010 2) Linux:
   16011 
   16012 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
   16013 correct sleep time in seconds.
   16014 
   16015 ----------------------------------------
   16016 14 July 2003.  Summary of changes for version 20030619:
   16017 
   16018 1) ACPI CA Core Subsystem:
   16019 
   16020 Parse SSDTs in order discovered, as opposed to reverse order
   16021 (Hrvoje Habjanic)
   16022 
   16023 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
   16024 Klausner,
   16025    Nate Lawson)
   16026 
   16027 
   16028 2) Linux:
   16029 
   16030 Dynamically allocate SDT list (suggested by Andi Kleen)
   16031 
   16032 proc function return value cleanups (Andi Kleen)
   16033 
   16034 Correctly handle NMI watchdog during long stalls (Andrew Morton)
   16035 
   16036 Make it so acpismp=force works (reported by Andrew Morton)
   16037 
   16038 
   16039 ----------------------------------------
   16040 19 June 2003.  Summary of changes for version 20030619:
   16041 
   16042 1) ACPI CA Core Subsystem:
   16043 
   16044 Fix To/FromBCD, eliminating the need for an arch-specific #define.
   16045 
   16046 Do not acquire a semaphore in the S5 shutdown path.
   16047 
   16048 Fix ex_digits_needed for 0. (Takayoshi Kochi)
   16049 
   16050 Fix sleep/stall code reversal. (Andi Kleen)
   16051 
   16052 Revert a change having to do with control method calling
   16053 semantics.
   16054 
   16055 2) Linux:
   16056 
   16057 acpiphp update (Takayoshi Kochi)
   16058 
   16059 Export acpi_disabled for sonypi (Stelian Pop)
   16060 
   16061 Mention acpismp=force in config help
   16062 
   16063 Re-add acpitable.c and acpismp=force. This improves backwards
   16064 
   16065 compatibility and also cleans up the code to a significant degree.
   16066 
   16067 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
   16068 
   16069 ----------------------------------------
   16070 22 May 2003.  Summary of changes for version 20030522:
   16071 
   16072 1) ACPI CA Core Subsystem:
   16073 
   16074 Found and fixed a reported problem where an AE_NOT_FOUND error
   16075 occurred occasionally during _BST evaluation.  This turned out to
   16076 be an Owner ID allocation issue where a called method did not get
   16077 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
   16078 ID UINT16 would wraparound so that the ID would be the same as the
   16079 caller's and the called method would delete the caller's
   16080 namespace.
   16081 
   16082 Implemented extended error reporting for control methods that are
   16083 aborted due to a run-time exception.  Output includes the exact
   16084 AML instruction that caused the method abort, a dump of the method
   16085 locals and arguments at the time of the abort, and a trace of all
   16086 nested control method calls.
   16087 
   16088 Modified the interpreter to allow the creation of buffers of zero
   16089 length from the AML code. Implemented new code to ensure that no
   16090 attempt is made to actually allocate a memory buffer (of length
   16091 zero) - instead, a simple buffer object with a NULL buffer pointer
   16092 and length zero is created.  A warning is no longer issued when
   16093 the AML attempts to create a zero-length buffer.
   16094 
   16095 Implemented a workaround for the "leading asterisk issue" in
   16096 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
   16097 asterisk is automatically removed if present in any HID, UID, or
   16098 CID strings.  The iASL compiler will still flag this asterisk as
   16099 an error, however.
   16100 
   16101 Implemented full support for _CID methods that return a package of
   16102 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
   16103 now additionally returns a device _CID list if present.  This
   16104 required a change to the external interface in order to pass an
   16105 ACPI_BUFFER object as a parameter since the _CID list is of
   16106 variable length.
   16107 
   16108 Fixed a problem with the new AE_SAME_HANDLER exception where
   16109 handler initialization code did not know about this exception.
   16110 
   16111 Code and Data Size: Current and previous core subsystem library
   16112 sizes are shown below.  These are the code and data sizes for the
   16113 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
   16114 these values do not include any ACPI driver or OSPM code.  The
   16115 debug version of the code includes the debug output trace
   16116 mechanism and has a much larger code and data size.  Note that
   16117 these values will vary depending on the efficiency of the compiler
   16118 and the compiler options used during generation.
   16119 
   16120   Previous Release (20030509):
   16121     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   16122     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   16123   Current Release:
   16124     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
   16125     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
   16126 
   16127 
   16128 2) Linux:
   16129 
   16130 Fixed a bug in which we would reinitialize the ACPI interrupt
   16131 after it was already working, thus disabling all ACPI and the IRQs
   16132 for any other device sharing the interrupt. (Thanks to Stian
   16133 Jordet)
   16134 
   16135 Toshiba driver update (John Belmonte)
   16136 
   16137 Return only 0 or 1 for our interrupt handler status (Andrew
   16138 Morton)
   16139 
   16140 
   16141 3) iASL Compiler:
   16142 
   16143 Fixed a reported problem where multiple (nested) ElseIf()
   16144 statements were not handled correctly by the compiler, resulting
   16145 in incorrect warnings and incorrect AML code.  This was a problem
   16146 in both the ASL parser and the code generator.
   16147 
   16148 
   16149 4) Documentation:
   16150 
   16151 Added changes to existing interfaces, new exception codes, and new
   16152 text concerning reference count object management versus garbage
   16153 collection.
   16154 
   16155 ----------------------------------------
   16156 09 May 2003.  Summary of changes for version 20030509.
   16157 
   16158 
   16159 1) ACPI CA Core Subsystem:
   16160 
   16161 Changed the subsystem initialization sequence to hold off
   16162 installation of address space handlers until the hardware has been
   16163 initialized and the system has entered ACPI mode.  This is because
   16164 the installation of space handlers can cause _REG methods to be
   16165 run.  Previously, the _REG methods could potentially be run before
   16166 ACPI mode was enabled.
   16167 
   16168 Fixed some memory leak issues related to address space handler and
   16169 notify handler installation.  There were some problems with the
   16170 reference count mechanism caused by the fact that the handler
   16171 objects are shared across several namespace objects.
   16172 
   16173 Fixed a reported problem where reference counts within the
   16174 namespace were not properly updated when named objects created by
   16175 method execution were deleted.
   16176 
   16177 Fixed a reported problem where multiple SSDTs caused a deletion
   16178 issue during subsystem termination.  Restructured the table data
   16179 structures to simplify the linked lists and the related code.
   16180 
   16181 Fixed a problem where the table ID associated with secondary
   16182 tables (SSDTs) was not being propagated into the namespace objects
   16183 created by those tables.  This would only present a problem for
   16184 tables that are unloaded at run-time, however.
   16185 
   16186 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
   16187 type as the length parameter (instead of UINT32).
   16188 
   16189 Solved a long-standing problem where an ALREADY_EXISTS error
   16190 appears on various systems.  This problem could happen when there
   16191 are multiple PCI_Config operation regions under a single PCI root
   16192 bus.  This doesn't happen very frequently, but there are some
   16193 systems that do this in the ASL.
   16194 
   16195 Fixed a reported problem where the internal DeleteNode function
   16196 was incorrectly handling the case where a namespace node was the
   16197 first in the parent's child list, and had additional peers (not
   16198 the only child, but first in the list of children.)
   16199 
   16200 Code and Data Size: Current core subsystem library sizes are shown
   16201 below.  These are the code and data sizes for the acpica.lib
   16202 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16203 values do not include any ACPI driver or OSPM code.  The debug
   16204 version of the code includes the debug output trace mechanism and
   16205 has a much larger code and data size.  Note that these values will
   16206 vary depending on the efficiency of the compiler and the compiler
   16207 options used during generation.
   16208 
   16209   Previous Release
   16210     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   16211     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   16212   Current Release:
   16213     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
   16214     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
   16215 
   16216 
   16217 2) Linux:
   16218 
   16219 Allow ":" in OS override string (Ducrot Bruno)
   16220 
   16221 Kobject fix (Greg KH)
   16222 
   16223 
   16224 3 iASL Compiler/Disassembler:
   16225 
   16226 Fixed a problem in the generation of the C source code files (AML
   16227 is emitted in C source statements for BIOS inclusion) where the
   16228 Ascii dump that appears within a C comment at the end of each line
   16229 could cause a compile time error if the AML sequence happens to
   16230 have an open comment or close comment sequence embedded.
   16231 
   16232 
   16233 ----------------------------------------
   16234 24 April 2003.  Summary of changes for version 20030424.
   16235 
   16236 
   16237 1) ACPI CA Core Subsystem:
   16238 
   16239 Support for big-endian systems has been implemented.  Most of the
   16240 support has been invisibly added behind big-endian versions of the
   16241 ACPI_MOVE_* macros.
   16242 
   16243 Fixed a problem in AcpiHwDisableGpeBlock() and
   16244 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
   16245 low level hardware write routine.  The offset parameter was
   16246 actually eliminated from the low level read/write routines because
   16247 they had become obsolete.
   16248 
   16249 Fixed a problem where a handler object was deleted twice during
   16250 the removal of a fixed event handler.
   16251 
   16252 
   16253 2) Linux:
   16254 
   16255 A fix for SMP systems with link devices was contributed by
   16256 
   16257 Compaq's Dan Zink.
   16258 
   16259 (2.5) Return whether we handled the interrupt in our IRQ handler.
   16260 (Linux ISRs no longer return void, so we can propagate the handler
   16261 return value from the ACPI CA core back to the OS.)
   16262 
   16263 
   16264 
   16265 3) Documentation:
   16266 
   16267 The ACPI CA Programmer Reference has been updated to reflect new
   16268 interfaces and changes to existing interfaces.
   16269 
   16270 ----------------------------------------
   16271 28 March 2003.  Summary of changes for version 20030328.
   16272 
   16273 1) ACPI CA Core Subsystem:
   16274 
   16275 The GPE Block Device support has been completed.  New interfaces
   16276 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
   16277 interfaces (enable, disable, clear, getstatus) have been split
   16278 into separate interfaces for Fixed Events and General Purpose
   16279 Events (GPEs) in order to support GPE Block Devices properly.
   16280 
   16281 Fixed a problem where the error message "Failed to acquire
   16282 semaphore" would appear during operations on the embedded
   16283 controller (EC).
   16284 
   16285 Code and Data Size: Current core subsystem library sizes are shown
   16286 below.  These are the code and data sizes for the acpica.lib
   16287 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16288 values do not include any ACPI driver or OSPM code.  The debug
   16289 version of the code includes the debug output trace mechanism and
   16290 has a much larger code and data size.  Note that these values will
   16291 vary depending on the efficiency of the compiler and the compiler
   16292 options used during generation.
   16293 
   16294   Previous Release
   16295     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   16296     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   16297   Current Release:
   16298     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
   16299     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
   16300 
   16301 
   16302 ----------------------------------------
   16303 28 February 2003.  Summary of changes for version 20030228.
   16304 
   16305 
   16306 1) ACPI CA Core Subsystem:
   16307 
   16308 The GPE handling and dispatch code has been completely overhauled
   16309 in preparation for support of GPE Block Devices (ID ACPI0006).
   16310 This affects internal data structures and code only; there should
   16311 be no differences visible externally.  One new file has been
   16312 added, evgpeblk.c
   16313 
   16314 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
   16315 fields that are used to determine the GPE block lengths.  The
   16316 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
   16317 structures are ignored.  This is per the ACPI specification but it
   16318 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
   16319 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
   16320 
   16321 In the SCI interrupt handler, removed the read of the PM1_CONTROL
   16322 register to look at the SCI_EN bit.  On some machines, this read
   16323 causes an SMI event and greatly slows down SCI events.  (This may
   16324 in fact be the cause of slow battery status response on some
   16325 systems.)
   16326 
   16327 Fixed a problem where a store of a NULL string to a package object
   16328 could cause the premature deletion of the object.  This was seen
   16329 during execution of the battery _BIF method on some systems,
   16330 resulting in no battery data being returned.
   16331 
   16332 Added AcpiWalkResources interface to simplify parsing of resource
   16333 lists.
   16334 
   16335 Code and Data Size: Current core subsystem library sizes are shown
   16336 below.  These are the code and data sizes for the acpica.lib
   16337 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16338 values do not include any ACPI driver or OSPM code.  The debug
   16339 version of the code includes the debug output trace mechanism and
   16340 has a much larger code and data size.  Note that these values will
   16341 vary depending on the efficiency of the compiler and the compiler
   16342 options used during generation.
   16343 
   16344   Previous Release
   16345     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16346     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16347   Current Release:
   16348     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
   16349     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
   16350 
   16351 
   16352 2) Linux
   16353 
   16354 S3 fixes (Ole Rohne)
   16355 
   16356 Update ACPI PHP driver with to use new acpi_walk_resource API
   16357 (Bjorn Helgaas)
   16358 
   16359 Add S4BIOS support (Pavel Machek)
   16360 
   16361 Map in entire table before performing checksum (John Stultz)
   16362 
   16363 Expand the mem= cmdline to allow the specification of reserved and
   16364 ACPI DATA blocks (Pavel Machek)
   16365 
   16366 Never use ACPI on VISWS
   16367 
   16368 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
   16369 
   16370 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
   16371 causing us to think that some systems support C2 when they really
   16372 don't.
   16373 
   16374 Do not count processor objects for non-present CPUs (Thanks to
   16375 Dominik Brodowski)
   16376 
   16377 
   16378 3) iASL Compiler:
   16379 
   16380 Fixed a problem where ASL include files could not be found and
   16381 opened.
   16382 
   16383 Added support for the _PDC reserved name.
   16384 
   16385 
   16386 ----------------------------------------
   16387 22 January 2003.  Summary of changes for version 20030122.
   16388 
   16389 
   16390 1) ACPI CA Core Subsystem:
   16391 
   16392 Added a check for constructs of the form:  Store (Local0, Local0)
   16393 where Local0 is not initialized.  Apparently, some BIOS
   16394 programmers believe that this is a NOOP.  Since this store doesn't
   16395 do anything anyway, the new prototype behavior will ignore this
   16396 error.  This is a case where we can relax the strict checking in
   16397 the interpreter in the name of compatibility.
   16398 
   16399 
   16400 2) Linux
   16401 
   16402 The AcpiSrc Source Conversion Utility has been released with the
   16403 Linux package for the first time.  This is the utility that is
   16404 used to convert the ACPI CA base source code to the Linux version.
   16405 
   16406 (Both) Handle P_BLK lengths shorter than 6 more gracefully
   16407 
   16408 (Both) Move more headers to include/acpi, and delete an unused
   16409 header.
   16410 
   16411 (Both) Move drivers/acpi/include directory to include/acpi
   16412 
   16413 (Both) Boot functions don't use cmdline, so don't pass it around
   16414 
   16415 (Both) Remove include of unused header (Adrian Bunk)
   16416 
   16417 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
   16418 the
   16419 former now also includes the latter, acpiphp.h only needs the one,
   16420 now.
   16421 
   16422 (2.5) Make it possible to select method of bios restoring after S3
   16423 resume. [=> no more ugly ifdefs] (Pavel Machek)
   16424 
   16425 (2.5) Make proc write interfaces work (Pavel Machek)
   16426 
   16427 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
   16428 
   16429 (2.5) Break out ACPI Perf code into its own module, under cpufreq
   16430 (Dominik Brodowski)
   16431 
   16432 (2.4) S4BIOS support (Ducrot Bruno)
   16433 
   16434 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
   16435 Visinoni)
   16436 
   16437 
   16438 3) iASL Compiler:
   16439 
   16440 Added support to disassemble SSDT and PSDTs.
   16441 
   16442 Implemented support to obtain SSDTs from the Windows registry if
   16443 available.
   16444 
   16445 
   16446 ----------------------------------------
   16447 09 January 2003.  Summary of changes for version 20030109.
   16448 
   16449 1) ACPI CA Core Subsystem:
   16450 
   16451 Changed the behavior of the internal Buffer-to-String conversion
   16452 function.  The current ACPI specification states that the contents
   16453 of the buffer are "converted to a string of two-character
   16454 hexadecimal numbers, each separated by a space".  Unfortunately,
   16455 this definition is not backwards compatible with existing ACPI 1.0
   16456 implementations (although the behavior was not defined in the ACPI
   16457 1.0 specification).  The new behavior simply copies data from the
   16458 buffer to the string until a null character is found or the end of
   16459 the buffer is reached.  The new String object is always null
   16460 terminated.  This problem was seen during the generation of _BIF
   16461 battery data where incorrect strings were returned for battery
   16462 type, etc.  This will also require an errata to the ACPI
   16463 specification.
   16464 
   16465 Renamed all instances of NATIVE_UINT and NATIVE_INT to
   16466 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
   16467 
   16468 Copyright in all module headers (both Linux and non-Linux) has be
   16469 updated to 2003.
   16470 
   16471 Code and Data Size: Current core subsystem library sizes are shown
   16472 below.  These are the code and data sizes for the acpica.lib
   16473 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16474 values do not include any ACPI driver or OSPM code.  The debug
   16475 version of the code includes the debug output trace mechanism and
   16476 has a much larger code and data size.  Note that these values will
   16477 vary depending on the efficiency of the compiler and the compiler
   16478 options used during generation.
   16479 
   16480   Previous Release
   16481     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16482     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16483   Current Release:
   16484     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16485     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16486 
   16487 
   16488 2) Linux
   16489 
   16490 Fixed an oops on module insertion/removal (Matthew Tippett)
   16491 
   16492 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
   16493 
   16494 (2.5) Replace pr_debug (Randy Dunlap)
   16495 
   16496 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
   16497 
   16498 (Both) Eliminate spawning of thread from timer callback, in favor
   16499 of schedule_work()
   16500 
   16501 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
   16502 
   16503 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
   16504 
   16505 (Both) Add missing statics to button.c (Pavel Machek)
   16506 
   16507 Several changes have been made to the source code translation
   16508 utility that generates the Linux Code in order to make the code
   16509 more "Linux-like":
   16510 
   16511 All typedefs on structs and unions have been removed in keeping
   16512 with the Linux coding style.
   16513 
   16514 Removed the non-Linux SourceSafe module revision number from each
   16515 module header.
   16516 
   16517 Completed major overhaul of symbols to be lowercase for linux.
   16518 Doubled the number of symbols that are lowercase.
   16519 
   16520 Fixed a problem where identifiers within procedure headers and
   16521 within quotes were not fully lower cased (they were left with a
   16522 starting capital.)
   16523 
   16524 Some C macros whose only purpose is to allow the generation of 16-
   16525 bit code are now completely removed in the Linux code, increasing
   16526 readability and maintainability.
   16527 
   16528 ----------------------------------------
   16529 
   16530 12 December 2002.  Summary of changes for version 20021212.
   16531 
   16532 
   16533 1) ACPI CA Core Subsystem:
   16534 
   16535 Fixed a problem where the creation of a zero-length AML Buffer
   16536 would cause a fault.
   16537 
   16538 Fixed a problem where a Buffer object that pointed to a static AML
   16539 buffer (in an ACPI table) could inadvertently be deleted, causing
   16540 memory corruption.
   16541 
   16542 Fixed a problem where a user buffer (passed in to the external
   16543 ACPI CA interfaces) could be overwritten if the buffer was too
   16544 small to complete the operation, causing memory corruption.
   16545 
   16546 Fixed a problem in the Buffer-to-String conversion code where a
   16547 string of length one was always returned, regardless of the size
   16548 of the input Buffer object.
   16549 
   16550 Removed the NATIVE_CHAR data type across the entire source due to
   16551 lack of need and lack of consistent use.
   16552 
   16553 Code and Data Size: Current core subsystem library sizes are shown
   16554 below.  These are the code and data sizes for the acpica.lib
   16555 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16556 values do not include any ACPI driver or OSPM code.  The debug
   16557 version of the code includes the debug output trace mechanism and
   16558 has a much larger code and data size.  Note that these values will
   16559 vary depending on the efficiency of the compiler and the compiler
   16560 options used during generation.
   16561 
   16562   Previous Release
   16563     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   16564     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   16565   Current Release:
   16566     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
   16567     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
   16568 
   16569 
   16570 ----------------------------------------
   16571 05 December 2002.  Summary of changes for version 20021205.
   16572 
   16573 1) ACPI CA Core Subsystem:
   16574 
   16575 Fixed a problem where a store to a String or Buffer object could
   16576 cause corruption of the DSDT if the object type being stored was
   16577 the same as the target object type and the length of the object
   16578 being stored was equal to or smaller than the original (existing)
   16579 target object.  This was seen to cause corruption of battery _BIF
   16580 buffers if the _BIF method modified the buffer on the fly.
   16581 
   16582 Fixed a problem where an internal error was generated if a control
   16583 method invocation was used in an OperationRegion, Buffer, or
   16584 Package declaration.  This was caused by the deferred parsing of
   16585 the control method and thus the deferred creation of the internal
   16586 method object.  The solution to this problem was to create the
   16587 internal method object at the moment the method is encountered in
   16588 the first pass - so that subsequent references to the method will
   16589 able to obtain the required parameter count and thus properly
   16590 parse the method invocation.  This problem presented itself as an
   16591 AE_AML_INTERNAL during the pass 1 parse phase during table load.
   16592 
   16593 Fixed a problem where the internal String object copy routine did
   16594 not always allocate sufficient memory for the target String object
   16595 and caused memory corruption.  This problem was seen to cause
   16596 "Allocation already present in list!" errors as memory allocation
   16597 became corrupted.
   16598 
   16599 Implemented a new function for the evaluation of namespace objects
   16600 that allows the specification of the allowable return object
   16601 types.  This simplifies a lot of code that checks for a return
   16602 object of one or more specific objects returned from the
   16603 evaluation (such as _STA, etc.)  This may become and external
   16604 function if it would be useful to ACPI-related drivers.
   16605 
   16606 Completed another round of prefixing #defines with "ACPI_" for
   16607 clarity.
   16608 
   16609 Completed additional code restructuring to allow more modular
   16610 linking for iASL compiler and AcpiExec.  Several files were split
   16611 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
   16612 
   16613 Implemented an abort mechanism to terminate an executing control
   16614 method via the AML debugger.  This feature is useful for debugging
   16615 control methods that depend (wait) for specific hardware
   16616 responses.
   16617 
   16618 Code and Data Size: Current core subsystem library sizes are shown
   16619 below.  These are the code and data sizes for the acpica.lib
   16620 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16621 values do not include any ACPI driver or OSPM code.  The debug
   16622 version of the code includes the debug output trace mechanism and
   16623 has a much larger code and data size.  Note that these values will
   16624 vary depending on the efficiency of the compiler and the compiler
   16625 options used during generation.
   16626 
   16627   Previous Release
   16628     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16629     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   16630   Current Release:
   16631     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
   16632     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
   16633 
   16634 
   16635 2) iASL Compiler/Disassembler
   16636 
   16637 Fixed a compiler code generation problem for "Interrupt" Resource
   16638 Descriptors.  If specified in the ASL, the optional "Resource
   16639 Source Index" and "Resource Source" fields were not inserted into
   16640 the correct location within the AML resource descriptor, creating
   16641 an invalid descriptor.
   16642 
   16643 Fixed a disassembler problem for "Interrupt" resource descriptors.
   16644 The optional "Resource Source Index" and "Resource Source" fields
   16645 were ignored.
   16646 
   16647 
   16648 ----------------------------------------
   16649 22 November 2002.  Summary of changes for version 20021122.
   16650 
   16651 
   16652 1) ACPI CA Core Subsystem:
   16653 
   16654 Fixed a reported problem where an object stored to a Method Local
   16655 or Arg was not copied to a new object during the store - the
   16656 object pointer was simply copied to the Local/Arg.  This caused
   16657 all subsequent operations on the Local/Arg to also affect the
   16658 original source of the store operation.
   16659 
   16660 Fixed a problem where a store operation to a Method Local or Arg
   16661 was not completed properly if the Local/Arg contained a reference
   16662 (from RefOf) to a named field.  The general-purpose store-to-
   16663 namespace-node code is now used so that this case is handled
   16664 automatically.
   16665 
   16666 Fixed a problem where the internal object copy routine would cause
   16667 a protection fault if the object being copied was a Package and
   16668 contained either 1) a NULL package element or 2) a nested sub-
   16669 package.
   16670 
   16671 Fixed a problem with the GPE initialization that resulted from an
   16672 ambiguity in the ACPI specification.  One section of the
   16673 specification states that both the address and length of the GPE
   16674 block must be zero if the block is not supported.  Another section
   16675 implies that only the address need be zero if the block is not
   16676 supported.  The code has been changed so that both the address and
   16677 the length must be non-zero to indicate a valid GPE block (i.e.,
   16678 if either the address or the length is zero, the GPE block is
   16679 invalid.)
   16680 
   16681 Code and Data Size: Current core subsystem library sizes are shown
   16682 below.  These are the code and data sizes for the acpica.lib
   16683 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16684 values do not include any ACPI driver or OSPM code.  The debug
   16685 version of the code includes the debug output trace mechanism and
   16686 has a much larger code and data size.  Note that these values will
   16687 vary depending on the efficiency of the compiler and the compiler
   16688 options used during generation.
   16689 
   16690   Previous Release
   16691     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   16692     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   16693   Current Release:
   16694     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16695     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
   16696 
   16697 
   16698 2) Linux
   16699 
   16700 Cleaned up EC driver. Exported an external EC read/write
   16701 interface. By going through this, other drivers (most notably
   16702 sonypi) will be able to serialize access to the EC.
   16703 
   16704 
   16705 3) iASL Compiler/Disassembler
   16706 
   16707 Implemented support to optionally generate include files for both
   16708 ASM and C (the -i switch).  This simplifies BIOS development by
   16709 automatically creating include files that contain external
   16710 declarations for the symbols that are created within the
   16711 
   16712 (optionally generated) ASM and C AML source files.
   16713 
   16714 
   16715 ----------------------------------------
   16716 15 November 2002.  Summary of changes for version 20021115.
   16717 
   16718 1) ACPI CA Core Subsystem:
   16719 
   16720 Fixed a memory leak problem where an error during resolution of
   16721 
   16722 method arguments during a method invocation from another method
   16723 failed to cleanup properly by deleting all successfully resolved
   16724 argument objects.
   16725 
   16726 Fixed a problem where the target of the Index() operator was not
   16727 correctly constructed if the source object was a package.  This
   16728 problem has not been detected because the use of a target operand
   16729 with Index() is very rare.
   16730 
   16731 Fixed a problem with the Index() operator where an attempt was
   16732 made to delete the operand objects twice.
   16733 
   16734 Fixed a problem where an attempt was made to delete an operand
   16735 twice during execution of the CondRefOf() operator if the target
   16736 did not exist.
   16737 
   16738 Implemented the first of perhaps several internal create object
   16739 functions that create and initialize a specific object type.  This
   16740 consolidates duplicated code wherever the object is created, thus
   16741 shrinking the size of the subsystem.
   16742 
   16743 Implemented improved debug/error messages for errors that occur
   16744 during nested method invocations.  All executing method pathnames
   16745 are displayed (with the error) as the call stack is unwound - thus
   16746 simplifying debug.
   16747 
   16748 Fixed a problem introduced in the 10/02 release that caused
   16749 premature deletion of a buffer object if a buffer was used as an
   16750 ASL operand where an integer operand is required (Thus causing an
   16751 implicit object conversion from Buffer to Integer.)  The change in
   16752 the 10/02 release was attempting to fix a memory leak (albeit
   16753 incorrectly.)
   16754 
   16755 Code and Data Size: Current core subsystem library sizes are shown
   16756 below.  These are the code and data sizes for the acpica.lib
   16757 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16758 values do not include any ACPI driver or OSPM code.  The debug
   16759 version of the code includes the debug output trace mechanism and
   16760 has a much larger code and data size.  Note that these values will
   16761 vary depending on the efficiency of the compiler and the compiler
   16762 options used during generation.
   16763 
   16764   Previous Release
   16765     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16766     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16767   Current Release:
   16768     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
   16769     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
   16770 
   16771 
   16772 2) Linux
   16773 
   16774 Changed the implementation of the ACPI semaphores to use down()
   16775 instead of down_interruptable().  It is important that the
   16776 execution of ACPI control methods not be interrupted by signals.
   16777 Methods must run to completion, or the system may be left in an
   16778 unknown/unstable state.
   16779 
   16780 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
   16781 (Shawn Starr)
   16782 
   16783 
   16784 3) iASL Compiler/Disassembler
   16785 
   16786 
   16787 Changed the default location of output files.  All output files
   16788 are now placed in the current directory by default instead of in
   16789 the directory of the source file.  This change may affect some
   16790 existing makefiles, but it brings the behavior of the compiler in
   16791 line with other similar tools.  The location of the output files
   16792 can be overridden with the -p command line switch.
   16793 
   16794 
   16795 ----------------------------------------
   16796 11 November 2002.  Summary of changes for version 20021111.
   16797 
   16798 
   16799 0) ACPI Specification 2.0B is released and is now available at:
   16800 http://www.acpi.info/index.html
   16801 
   16802 
   16803 1) ACPI CA Core Subsystem:
   16804 
   16805 Implemented support for the ACPI 2.0 SMBus Operation Regions.
   16806 This includes the early detection and handoff of the request to
   16807 the SMBus region handler (avoiding all of the complex field
   16808 support code), and support for the bidirectional return packet
   16809 from an SMBus write operation.  This paves the way for the
   16810 development of SMBus drivers in each host operating system.
   16811 
   16812 Fixed a problem where the semaphore WAIT_FOREVER constant was
   16813 defined as 32 bits, but must be 16 bits according to the ACPI
   16814 specification.  This had the side effect of causing ASL
   16815 Mutex/Event timeouts even though the ASL code requested a wait
   16816 forever.  Changed all internal references to the ACPI timeout
   16817 parameter to 16 bits to prevent future problems.  Changed the name
   16818 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
   16819 
   16820 Code and Data Size: Current core subsystem library sizes are shown
   16821 below.  These are the code and data sizes for the acpica.lib
   16822 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16823 values do not include any ACPI driver or OSPM code.  The debug
   16824 version of the code includes the debug output trace mechanism and
   16825 has a much larger code and data size.  Note that these values will
   16826 vary depending on the efficiency of the compiler and the compiler
   16827 options used during generation.
   16828 
   16829   Previous Release
   16830     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16831     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16832   Current Release:
   16833     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
   16834     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
   16835 
   16836 
   16837 2) Linux
   16838 
   16839 Module loading/unloading fixes (John Cagle)
   16840 
   16841 
   16842 3) iASL Compiler/Disassembler
   16843 
   16844 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
   16845 
   16846 Implemented support for the disassembly of all SMBus protocol
   16847 keywords (SMBQuick, SMBWord, etc.)
   16848 
   16849 ----------------------------------------
   16850 01 November 2002.  Summary of changes for version 20021101.
   16851 
   16852 
   16853 1) ACPI CA Core Subsystem:
   16854 
   16855 Fixed a problem where platforms that have a GPE1 block but no GPE0
   16856 block were not handled correctly.  This resulted in a "GPE
   16857 overlap" error message.  GPE0 is no longer required.
   16858 
   16859 Removed code added in the previous release that inserted nodes
   16860 into the namespace in alphabetical order.  This caused some side-
   16861 effects on various machines.  The root cause of the problem is
   16862 still under investigation since in theory, the internal ordering
   16863 of the namespace nodes should not matter.
   16864 
   16865 
   16866 Enhanced error reporting for the case where a named object is not
   16867 found during control method execution.  The full ACPI namepath
   16868 (name reference) of the object that was not found is displayed in
   16869 this case.
   16870 
   16871 Note: as a result of the overhaul of the namespace object types in
   16872 the previous release, the namespace nodes for the predefined
   16873 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
   16874 instead of ACPI_TYPE_ANY.  This simplifies the namespace
   16875 management code but may affect code that walks the namespace tree
   16876 looking for specific object types.
   16877 
   16878 Code and Data Size: Current core subsystem library sizes are shown
   16879 below.  These are the code and data sizes for the acpica.lib
   16880 produced by the Microsoft Visual C++ 6.0 compiler, and these
   16881 values do not include any ACPI driver or OSPM code.  The debug
   16882 version of the code includes the debug output trace mechanism and
   16883 has a much larger code and data size.  Note that these values will
   16884 vary depending on the efficiency of the compiler and the compiler
   16885 options used during generation.
   16886 
   16887   Previous Release
   16888     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   16889     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   16890   Current Release:
   16891     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
   16892     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
   16893 
   16894 
   16895 2) Linux
   16896 
   16897 Fixed a problem introduced in the previous release where the
   16898 Processor and Thermal objects were not recognized and installed in
   16899 /proc.  This was related to the scope type change described above.
   16900 
   16901 
   16902 3) iASL Compiler/Disassembler
   16903 
   16904 Implemented the -g option to get all of the required ACPI tables
   16905 from the registry and save them to files (Windows version of the
   16906 compiler only.)  The required tables are the FADT, FACS, and DSDT.
   16907 
   16908 Added ACPI table checksum validation during table disassembly in
   16909 order to catch corrupted tables.
   16910 
   16911 
   16912 ----------------------------------------
   16913 22 October 2002.  Summary of changes for version 20021022.
   16914 
   16915 1) ACPI CA Core Subsystem:
   16916 
   16917 Implemented a restriction on the Scope operator that the target
   16918 must already exist in the namespace at the time the operator is
   16919 encountered (during table load or method execution).  In other
   16920 words, forward references are not allowed and Scope() cannot
   16921 create a new object. This changes the previous behavior where the
   16922 interpreter would create the name if not found.  This new behavior
   16923 correctly enables the search-to-root algorithm during namespace
   16924 lookup of the target name.  Because of this upsearch, this fixes
   16925 the known Compaq _SB_.OKEC problem and makes both the AML
   16926 interpreter and iASL compiler compatible with other ACPI
   16927 implementations.
   16928 
   16929 Completed a major overhaul of the internal ACPI object types for
   16930 the ACPI Namespace and the associated operand objects.  Many of
   16931 these types had become obsolete with the introduction of the two-
   16932 pass namespace load.  This cleanup simplifies the code and makes
   16933 the entire namespace load mechanism much clearer and easier to
   16934 understand.
   16935 
   16936 Improved debug output for tracking scope opening/closing to help
   16937 diagnose scoping issues.  The old scope name as well as the new
   16938 scope name are displayed.  Also improved error messages for
   16939 problems with ASL Mutex objects and error messages for GPE
   16940 problems.
   16941 
   16942 Cleaned up the namespace dump code, removed obsolete code.
   16943 
   16944 All string output (for all namespace/object dumps) now uses the
   16945 common ACPI string output procedure which handles escapes properly
   16946 and does not emit non-printable characters.
   16947 
   16948 Fixed some issues with constants in the 64-bit version of the
   16949 local C library (utclib.c)
   16950 
   16951 
   16952 2) Linux
   16953 
   16954 EC Driver:  No longer attempts to acquire the Global Lock at
   16955 interrupt level.
   16956 
   16957 
   16958 3) iASL Compiler/Disassembler
   16959 
   16960 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
   16961 2 opcodes outside of a control method.  This means that the
   16962 "executable" operators (versus the "namespace" operators) cannot
   16963 be used at the table level; they can only be used within a control
   16964 method.
   16965 
   16966 Implemented the restriction on the Scope() operator where the
   16967 target must already exist in the namespace at the time the
   16968 operator is encountered (during ASL compilation). In other words,
   16969 forward references are not allowed and Scope() cannot create a new
   16970 object.  This makes the iASL compiler compatible with other ACPI
   16971 implementations and makes the Scope() implementation adhere to the
   16972 ACPI specification.
   16973 
   16974 Fixed a problem where namepath optimization for the Alias operator
   16975 was optimizing the wrong path (of the two namepaths.)  This caused
   16976 a "Missing alias link" error message.
   16977 
   16978 Fixed a problem where an "unknown reserved name" warning could be
   16979 incorrectly generated for names like "_SB" when the trailing
   16980 underscore is not used in the original ASL.
   16981 
   16982 Fixed a problem where the reserved name check did not handle
   16983 NamePaths with multiple NameSegs correctly.  The first nameseg of
   16984 the NamePath was examined instead of the last NameSeg.
   16985 
   16986 
   16987 ----------------------------------------
   16988 
   16989 02 October 2002.  Summary of changes for this release.
   16990 
   16991 
   16992 1) ACPI CA Core Subsystem version 20021002:
   16993 
   16994 Fixed a problem where a store/copy of a string to an existing
   16995 string did not always set the string length properly in the String
   16996 object.
   16997 
   16998 Fixed a reported problem with the ToString operator where the
   16999 behavior was identical to the ToHexString operator instead of just
   17000 simply converting a raw buffer to a string data type.
   17001 
   17002 Fixed a problem where CopyObject and the other "explicit"
   17003 conversion operators were not updating the internal namespace node
   17004 type as part of the store operation.
   17005 
   17006 Fixed a memory leak during implicit source operand conversion
   17007 where the original object was not deleted if it was converted to a
   17008 new object of a different type.
   17009 
   17010 Enhanced error messages for all problems associated with namespace
   17011 lookups.  Common procedure generates and prints the lookup name as
   17012 well as the formatted status.
   17013 
   17014 Completed implementation of a new design for the Alias support
   17015 within the namespace.  The existing design did not handle the case
   17016 where a new object was assigned to one of the two names due to the
   17017 use of an explicit conversion operator, resulting in the two names
   17018 pointing to two different objects.  The new design simply points
   17019 the Alias name to the original name node - not to the object.
   17020 This results in a level of indirection that must be handled in the
   17021 name resolution mechanism.
   17022 
   17023 Code and Data Size: Current core subsystem library sizes are shown
   17024 below.  These are the code and data sizes for the acpica.lib
   17025 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17026 values do not include any ACPI driver or OSPM code.  The debug
   17027 version of the code includes the debug output trace mechanism and
   17028 has a larger code and data size.  Note that these values will vary
   17029 depending on the efficiency of the compiler and the compiler
   17030 options used during generation.
   17031 
   17032   Previous Release
   17033     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   17034     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   17035   Current Release:
   17036     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
   17037     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
   17038 
   17039 
   17040 2) Linux
   17041 
   17042 Initialize thermal driver's timer before it is used. (Knut
   17043 Neumann)
   17044 
   17045 Allow handling negative celsius values. (Kochi Takayoshi)
   17046 
   17047 Fix thermal management and make trip points. R/W (Pavel Machek)
   17048 
   17049 Fix /proc/acpi/sleep. (P. Christeas)
   17050 
   17051 IA64 fixes. (David Mosberger)
   17052 
   17053 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
   17054 
   17055 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
   17056 Brodowski)
   17057 
   17058 
   17059 3) iASL Compiler/Disassembler
   17060 
   17061 Clarified some warning/error messages.
   17062 
   17063 
   17064 ----------------------------------------
   17065 18 September 2002.  Summary of changes for this release.
   17066 
   17067 
   17068 1) ACPI CA Core Subsystem version 20020918:
   17069 
   17070 Fixed a reported problem with reference chaining (via the Index()
   17071 and RefOf() operators) in the ObjectType() and SizeOf() operators.
   17072 The definition of these operators includes the dereferencing of
   17073 all chained references to return information on the base object.
   17074 
   17075 Fixed a problem with stores to indexed package elements - the
   17076 existing code would not complete the store if an "implicit
   17077 conversion" was not performed.  In other words, if the existing
   17078 object (package element) was to be replaced completely, the code
   17079 didn't handle this case.
   17080 
   17081 Relaxed typechecking on the ASL "Scope" operator to allow the
   17082 target name to refer to an object of type Integer, String, or
   17083 Buffer, in addition to the scoping object types (Device,
   17084 predefined Scopes, Processor, PowerResource, and ThermalZone.)
   17085 This allows existing AML code that has workarounds for a bug in
   17086 Windows to function properly.  A warning is issued, however.  This
   17087 affects both the AML interpreter and the iASL compiler. Below is
   17088 an example of this type of ASL code:
   17089 
   17090       Name(DEB,0x00)
   17091       Scope(DEB)
   17092       {
   17093 
   17094 Fixed some reported problems with 64-bit integer support in the
   17095 local implementation of C library functions (clib.c)
   17096 
   17097 
   17098 2) Linux
   17099 
   17100 Use ACPI fix map region instead of IOAPIC region, since it is
   17101 undefined in non-SMP.
   17102 
   17103 Ensure that the SCI has the proper polarity and trigger, even on
   17104 systems that do not have an interrupt override entry in the MADT.
   17105 
   17106 2.5 big driver reorganization (Pat Mochel)
   17107 
   17108 Use early table mapping code from acpitable.c (Andi Kleen)
   17109 
   17110 New blacklist entries (Andi Kleen)
   17111 
   17112 Blacklist improvements. Split blacklist code out into a separate
   17113 file. Move checking the blacklist to very early. Previously, we
   17114 would use ACPI tables, and then halfway through init, check the
   17115 blacklist -- too late. Now, it's early enough to completely fall-
   17116 back to non-ACPI.
   17117 
   17118 
   17119 3) iASL Compiler/Disassembler version 20020918:
   17120 
   17121 Fixed a problem where the typechecking code didn't know that an
   17122 alias could point to a method.  In other words, aliases were not
   17123 being dereferenced during typechecking.
   17124 
   17125 
   17126 ----------------------------------------
   17127 29 August 2002.  Summary of changes for this release.
   17128 
   17129 1) ACPI CA Core Subsystem Version 20020829:
   17130 
   17131 If the target of a Scope() operator already exists, it must be an
   17132 object type that actually opens a scope -- such as a Device,
   17133 Method, Scope, etc.  This is a fatal runtime error.  Similar error
   17134 check has been added to the iASL compiler also.
   17135 
   17136 Tightened up the namespace load to disallow multiple names in the
   17137 same scope.  This previously was allowed if both objects were of
   17138 the same type.  (i.e., a lookup was the same as entering a new
   17139 name).
   17140 
   17141 
   17142 2) Linux
   17143 
   17144 Ensure that the ACPI interrupt has the proper trigger and
   17145 polarity.
   17146 
   17147 local_irq_disable is extraneous. (Matthew Wilcox)
   17148 
   17149 Make "acpi=off" actually do what it says, and not use the ACPI
   17150 interpreter *or* the tables.
   17151 
   17152 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
   17153 Takayoshi)
   17154 
   17155 
   17156 3) iASL Compiler/Disassembler  Version 20020829:
   17157 
   17158 Implemented namepath optimization for name declarations.  For
   17159 example, a declaration like "Method (\_SB_.ABCD)" would get
   17160 optimized to "Method (ABCD)" if the declaration is within the
   17161 \_SB_ scope.  This optimization is in addition to the named
   17162 reference path optimization first released in the previous
   17163 version. This would seem to complete all possible optimizations
   17164 for namepaths within the ASL/AML.
   17165 
   17166 If the target of a Scope() operator already exists, it must be an
   17167 object type that actually opens a scope -- such as a Device,
   17168 Method, Scope, etc.
   17169 
   17170 Implemented a check and warning for unreachable code in the same
   17171 block below a Return() statement.
   17172 
   17173 Fixed a problem where the listing file was not generated if the
   17174 compiler aborted if the maximum error count was exceeded (200).
   17175 
   17176 Fixed a problem where the typechecking of method return values was
   17177 broken.  This includes the check for a return value when the
   17178 method is invoked as a TermArg (a return value is expected.)
   17179 
   17180 Fixed a reported problem where EOF conditions during a quoted
   17181 string or comment caused a fault.
   17182 
   17183 
   17184 ----------------------------------------
   17185 15 August 2002.  Summary of changes for this release.
   17186 
   17187 1) ACPI CA Core Subsystem Version 20020815:
   17188 
   17189 Fixed a reported problem where a Store to a method argument that
   17190 contains a reference did not perform the indirect store correctly.
   17191 This problem was created during the conversion to the new
   17192 reference object model - the indirect store to a method argument
   17193 code was not updated to reflect the new model.
   17194 
   17195 Reworked the ACPI mode change code to better conform to ACPI 2.0,
   17196 handle corner cases, and improve code legibility (Kochi Takayoshi)
   17197 
   17198 Fixed a problem with the pathname parsing for the carat (^)
   17199 prefix.  The heavy use of the carat operator by the new namepath
   17200 optimization in the iASL compiler uncovered a problem with the AML
   17201 interpreter handling of this prefix.  In the case where one or
   17202 more carats precede a single nameseg, the nameseg was treated as
   17203 standalone and the search rule (to root) was inadvertently
   17204 applied.  This could cause both the iASL compiler and the
   17205 interpreter to find the wrong object or to miss the error that
   17206 should occur if the object does not exist at that exact pathname.
   17207 
   17208 Found and fixed the problem where the HP Pavilion DSDT would not
   17209 load.  This was a relatively minor tweak to the table loading code
   17210 (a problem caused by the unexpected encounter with a method
   17211 invocation not within a control method), but it does not solve the
   17212 overall issue of the execution of AML code at the table level.
   17213 This investigation is still ongoing.
   17214 
   17215 Code and Data Size: Current core subsystem library sizes are shown
   17216 below.  These are the code and data sizes for the acpica.lib
   17217 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17218 values do not include any ACPI driver or OSPM code.  The debug
   17219 version of the code includes the debug output trace mechanism and
   17220 has a larger code and data size.  Note that these values will vary
   17221 depending on the efficiency of the compiler and the compiler
   17222 options used during generation.
   17223 
   17224   Previous Release
   17225     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   17226     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   17227   Current Release:
   17228     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
   17229     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
   17230 
   17231 
   17232 2) Linux
   17233 
   17234 Remove redundant slab.h include (Brad Hards)
   17235 
   17236 Fix several bugs in thermal.c (Herbert Nachtnebel)
   17237 
   17238 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
   17239 
   17240 Change acpi_system_suspend to use updated irq functions (Pavel
   17241 Machek)
   17242 
   17243 Export acpi_get_firmware_table (Matthew Wilcox)
   17244 
   17245 Use proper root proc entry for ACPI (Kochi Takayoshi)
   17246 
   17247 Fix early-boot table parsing (Bjorn Helgaas)
   17248 
   17249 
   17250 3) iASL Compiler/Disassembler
   17251 
   17252 Reworked the compiler options to make them more consistent and to
   17253 use two-letter options where appropriate.  We were running out of
   17254 sensible letters.   This may break some makefiles, so check the
   17255 current options list by invoking the compiler with no parameters.
   17256 
   17257 Completed the design and implementation of the ASL namepath
   17258 optimization option for the compiler.  This option optimizes all
   17259 references to named objects to the shortest possible path.  The
   17260 first attempt tries to utilize a single nameseg (4 characters) and
   17261 the "search-to-root" algorithm used by the interpreter.  If that
   17262 cannot be used (because either the name is not in the search path
   17263 or there is a conflict with another object with the same name),
   17264 the pathname is optimized using the carat prefix (usually a
   17265 shorter string than specifying the entire path from the root.)
   17266 
   17267 Implemented support to obtain the DSDT from the Windows registry
   17268 (when the disassembly option is specified with no input file).
   17269 Added this code as the implementation for AcpiOsTableOverride in
   17270 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
   17271 utility) to scan memory for the DSDT to the AcpiOsTableOverride
   17272 function in the DOS OSL to make the disassembler truly OS
   17273 independent.
   17274 
   17275 Implemented a new option to disassemble and compile in one step.
   17276 When used without an input filename, this option will grab the
   17277 DSDT from the local machine, disassemble it, and compile it in one
   17278 step.
   17279 
   17280 Added a warning message for invalid escapes (a backslash followed
   17281 by any character other than the allowable escapes).  This catches
   17282 the quoted string error "\_SB_" (which should be "\\_SB_" ).
   17283 
   17284 Also, there are numerous instances in the ACPI specification where
   17285 this error occurs.
   17286 
   17287 Added a compiler option to disable all optimizations.  This is
   17288 basically the "compatibility mode" because by using this option,
   17289 the AML code will come out exactly the same as other ASL
   17290 compilers.
   17291 
   17292 Added error messages for incorrectly ordered dependent resource
   17293 functions.  This includes: missing EndDependentFn macro at end of
   17294 dependent resource list, nested dependent function macros (both
   17295 start and end), and missing StartDependentFn macro.  These are
   17296 common errors that should be caught at compile time.
   17297 
   17298 Implemented _OSI support for the disassembler and compiler.  _OSI
   17299 must be included in the namespace for proper disassembly (because
   17300 the disassembler must know the number of arguments.)
   17301 
   17302 Added an "optimization" message type that is optional (off by
   17303 default).  This message is used for all optimizations - including
   17304 constant folding, integer optimization, and namepath optimization.
   17305 
   17306 ----------------------------------------
   17307 25 July 2002.  Summary of changes for this release.
   17308 
   17309 
   17310 1) ACPI CA Core Subsystem Version 20020725:
   17311 
   17312 The AML Disassembler has been enhanced to produce compilable ASL
   17313 code and has been integrated into the iASL compiler (see below) as
   17314 well as the single-step disassembly for the AML debugger and the
   17315 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
   17316 resource templates and macros are fully supported.  The
   17317 disassembler has been tested on over 30 different AML files,
   17318 producing identical AML when the resulting disassembled ASL file
   17319 is recompiled with the same ASL compiler.
   17320 
   17321 Modified the Resource Manager to allow zero interrupts and zero
   17322 dma channels during the GetCurrentResources call.  This was
   17323 causing problems on some platforms.
   17324 
   17325 Added the AcpiOsRedirectOutput interface to the OSL to simplify
   17326 output redirection for the AcpiOsPrintf and AcpiOsVprintf
   17327 interfaces.
   17328 
   17329 Code and Data Size: Current core subsystem library sizes are shown
   17330 below.  These are the code and data sizes for the acpica.lib
   17331 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17332 values do not include any ACPI driver or OSPM code.  The debug
   17333 version of the code includes the debug output trace mechanism and
   17334 has a larger code and data size.  Note that these values will vary
   17335 depending on the efficiency of the compiler and the compiler
   17336 options used during generation.
   17337 
   17338   Previous Release
   17339     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   17340     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   17341   Current Release:
   17342     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
   17343     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
   17344 
   17345 
   17346 2) Linux
   17347 
   17348 Fixed a panic in the EC driver (Dominik Brodowski)
   17349 
   17350 Implemented checksum of the R/XSDT itself during Linux table scan
   17351 (Richard Schaal)
   17352 
   17353 
   17354 3) iASL compiler
   17355 
   17356 The AML disassembler is integrated into the compiler.  The "-d"
   17357 option invokes the disassembler  to completely disassemble an
   17358 input AML file, producing as output a text ASL file with the
   17359 extension ".dsl" (to avoid name collisions with existing .asl
   17360 source files.)  A future enhancement will allow the disassembler
   17361 to obtain the BIOS DSDT from the registry under Windows.
   17362 
   17363 Fixed a problem with the VendorShort and VendorLong resource
   17364 descriptors where an invalid AML sequence was created.
   17365 
   17366 Implemented a fix for BufferData term in the ASL parser.  It was
   17367 inadvertently defined twice, allowing invalid syntax to pass and
   17368 causing reduction conflicts.
   17369 
   17370 Fixed a problem where the Ones opcode could get converted to a
   17371 value of zero if "Ones" was used where a byte, word or dword value
   17372 was expected.  The 64-bit value is now truncated to the correct
   17373 size with the correct value.
   17374 
   17375 
   17376 
   17377 ----------------------------------------
   17378 02 July 2002.  Summary of changes for this release.
   17379 
   17380 
   17381 1) ACPI CA Core Subsystem Version 20020702:
   17382 
   17383 The Table Manager code has been restructured to add several new
   17384 features.  Tables that are not required by the core subsystem
   17385 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
   17386 validated in any way and are returned from AcpiGetFirmwareTable if
   17387 requested.  The AcpiOsTableOverride interface is now called for
   17388 each table that is loaded by the subsystem in order to allow the
   17389 host to override any table it chooses.  Previously, only the DSDT
   17390 could be overridden.  Added one new files, tbrsdt.c and
   17391 tbgetall.c.
   17392 
   17393 Fixed a problem with the conversion of internal package objects to
   17394 external objects (when a package is returned from a control
   17395 method.)  The return buffer length was set to zero instead of the
   17396 proper length of the package object.
   17397 
   17398 Fixed a reported problem with the use of the RefOf and DeRefOf
   17399 operators when passing reference arguments to control methods.  A
   17400 new type of Reference object is used internally for references
   17401 produced by the RefOf operator.
   17402 
   17403 Added additional error messages in the Resource Manager to explain
   17404 AE_BAD_DATA errors when they occur during resource parsing.
   17405 
   17406 Split the AcpiEnableSubsystem into two primitives to enable a
   17407 finer granularity initialization sequence.  These two calls should
   17408 be called in this order: AcpiEnableSubsystem (flags),
   17409 AcpiInitializeObjects (flags).  The flags parameter remains the
   17410 same.
   17411 
   17412 
   17413 2) Linux
   17414 
   17415 Updated the ACPI utilities module to understand the new style of
   17416 fully resolved package objects that are now returned from the core
   17417 subsystem.  This eliminates errors of the form:
   17418 
   17419     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
   17420     acpi_utils-0430 [145] acpi_evaluate_reference:
   17421         Invalid element in package (not a device reference)
   17422 
   17423 The method evaluation utility uses the new buffer allocation
   17424 scheme instead of calling AcpiEvaluate Object twice.
   17425 
   17426 Added support for ECDT. This allows the use of the Embedded
   17427 
   17428 Controller before the namespace has been fully initialized, which
   17429 is necessary for ACPI 2.0 support, and for some laptops to
   17430 initialize properly. (Laptops using ECDT are still rare, so only
   17431 limited testing was performed of the added functionality.)
   17432 
   17433 Fixed memory leaks in the EC driver.
   17434 
   17435 Eliminated a brittle code structure in acpi_bus_init().
   17436 
   17437 Eliminated the acpi_evaluate() helper function in utils.c. It is
   17438 no longer needed since acpi_evaluate_object can optionally
   17439 allocate memory for the return object.
   17440 
   17441 Implemented fix for keyboard hang when getting battery readings on
   17442 some systems (Stephen White)
   17443 
   17444 PCI IRQ routing update (Dominik Brodowski)
   17445 
   17446 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
   17447 support
   17448 
   17449 ----------------------------------------
   17450 11 June 2002.  Summary of changes for this release.
   17451 
   17452 
   17453 1) ACPI CA Core Subsystem Version 20020611:
   17454 
   17455 Fixed a reported problem where constants such as Zero and One
   17456 appearing within _PRT packages were not handled correctly within
   17457 the resource manager code.  Originally reported against the ASL
   17458 compiler because the code generator now optimizes integers to
   17459 their minimal AML representation (i.e. AML constants if possible.)
   17460 The _PRT code now handles all AML constant opcodes correctly
   17461 (Zero, One, Ones, Revision).
   17462 
   17463 Fixed a problem with the Concatenate operator in the AML
   17464 interpreter where a buffer result object was incorrectly marked as
   17465 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
   17466 
   17467 All package sub-objects are now fully resolved before they are
   17468 returned from the external ACPI interfaces.  This means that name
   17469 strings are resolved to object handles, and constant operators
   17470 (Zero, One, Ones, Revision) are resolved to Integers.
   17471 
   17472 Implemented immediate resolution of the AML Constant opcodes
   17473 (Zero, One, Ones, Revision) to Integer objects upon detection
   17474 within the AML stream. This has simplified and reduced the
   17475 generated code size of the subsystem by eliminating about 10
   17476 switch statements for these constants (which previously were
   17477 contained in Reference objects.)  The complicating issues are that
   17478 the Zero opcode is used as a "placeholder" for unspecified
   17479 optional target operands and stores to constants are defined to be
   17480 no-ops.
   17481 
   17482 Code and Data Size: Current core subsystem library sizes are shown
   17483 below. These are the code and data sizes for the acpica.lib
   17484 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17485 values do not include any ACPI driver or OSPM code.  The debug
   17486 version of the code includes the debug output trace mechanism and
   17487 has a larger code and data size.  Note that these values will vary
   17488 depending on the efficiency of the compiler and the compiler
   17489 options used during generation.
   17490 
   17491   Previous Release
   17492     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   17493     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   17494   Current Release:
   17495     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
   17496     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
   17497 
   17498 
   17499 2) Linux
   17500 
   17501 
   17502 Added preliminary support for obtaining _TRA data for PCI root
   17503 bridges (Bjorn Helgaas).
   17504 
   17505 
   17506 3) iASL Compiler Version X2046:
   17507 
   17508 Fixed a problem where the "_DDN" reserved name was defined to be a
   17509 control method with one argument.  There are no arguments, and
   17510 _DDN does not have to be a control method.
   17511 
   17512 Fixed a problem with the Linux version of the compiler where the
   17513 source lines printed with error messages were the wrong lines.
   17514 This turned out to be the "LF versus CR/LF" difference between
   17515 Windows and Unix.  This appears to be the longstanding issue
   17516 concerning listing output and error messages.
   17517 
   17518 Fixed a problem with the Linux version of compiler where opcode
   17519 names within error messages were wrong.  This was caused by a
   17520 slight difference in the output of the Flex tool on Linux versus
   17521 Windows.
   17522 
   17523 Fixed a problem with the Linux compiler where the hex output files
   17524 contained some garbage data caused by an internal buffer overrun.
   17525 
   17526 
   17527 ----------------------------------------
   17528 17 May 2002.  Summary of changes for this release.
   17529 
   17530 
   17531 1) ACPI CA Core Subsystem Version 20020517:
   17532 
   17533 Implemented a workaround to an BIOS bug discovered on the HP
   17534 OmniBook where the FADT revision number and the table size are
   17535 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
   17536 behavior is to fallback to using only the ACPI 1.0 fields of the
   17537 FADT if the table is too small to be a ACPI 2.0 table as claimed
   17538 by the revision number.  Although this is a BIOS bug, this is a
   17539 case where the workaround is simple enough and with no side
   17540 effects, so it seemed prudent to add it.  A warning message is
   17541 issued, however.
   17542 
   17543 Implemented minimum size checks for the fixed-length ACPI tables -
   17544 - the FADT and FACS, as well as consistency checks between the
   17545 revision number and the table size.
   17546 
   17547 Fixed a reported problem in the table override support where the
   17548 new table pointer was incorrectly treated as a physical address
   17549 instead of a logical address.
   17550 
   17551 Eliminated the use of the AE_AML_ERROR exception and replaced it
   17552 with more descriptive codes.
   17553 
   17554 Fixed a problem where an exception would occur if an ASL Field was
   17555 defined with no named Field Units underneath it (used by some
   17556 index fields).
   17557 
   17558 Code and Data Size: Current core subsystem library sizes are shown
   17559 below.  These are the code and data sizes for the acpica.lib
   17560 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17561 values do not include any ACPI driver or OSPM code.  The debug
   17562 version of the code includes the debug output trace mechanism and
   17563 has a larger code and data size.  Note that these values will vary
   17564 depending on the efficiency of the compiler and the compiler
   17565 options used during generation.
   17566 
   17567   Previous Release
   17568     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   17569     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   17570   Current Release:
   17571     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
   17572     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
   17573 
   17574 
   17575 
   17576 2) Linux
   17577 
   17578 Much work done on ACPI init (MADT and PCI IRQ routing support).
   17579 (Paul D. and Dominik Brodowski)
   17580 
   17581 Fix PCI IRQ-related panic on boot (Sam Revitch)
   17582 
   17583 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
   17584 
   17585 Fix "MHz" typo (Dominik Brodowski)
   17586 
   17587 Fix RTC year 2000 issue (Dominik Brodowski)
   17588 
   17589 Preclude multiple button proc entries (Eric Brunet)
   17590 
   17591 Moved arch-specific code out of include/platform/aclinux.h
   17592 
   17593 3) iASL Compiler Version X2044:
   17594 
   17595 Implemented error checking for the string used in the EISAID macro
   17596 (Usually used in the definition of the _HID object.)  The code now
   17597 strictly enforces the PnP format - exactly 7 characters, 3
   17598 uppercase letters and 4 hex digits.
   17599 
   17600 If a raw string is used in the definition of the _HID object
   17601 (instead of the EISAID macro), the string must contain all
   17602 alphanumeric characters (e.g., "*PNP0011" is not allowed because
   17603 of the asterisk.)
   17604 
   17605 Implemented checking for invalid use of ACPI reserved names for
   17606 most of the name creation operators (Name, Device, Event, Mutex,
   17607 OperationRegion, PowerResource, Processor, and ThermalZone.)
   17608 Previously, this check was only performed for control methods.
   17609 
   17610 Implemented an additional check on the Name operator to emit an
   17611 error if a reserved name that must be implemented in ASL as a
   17612 control method is used.  We know that a reserved name must be a
   17613 method if it is defined with input arguments.
   17614 
   17615 The warning emitted when a namespace object reference is not found
   17616 during the cross reference phase has been changed into an error.
   17617 The "External" directive should be used for names defined in other
   17618 modules.
   17619 
   17620 
   17621 4) Tools and Utilities
   17622 
   17623 The 16-bit tools (adump16 and aexec16) have been regenerated and
   17624 tested.
   17625 
   17626 Fixed a problem with the output of both acpidump and adump16 where
   17627 the indentation of closing parentheses and brackets was not
   17628 
   17629 aligned properly with the parent block.
   17630 
   17631 
   17632 ----------------------------------------
   17633 03 May 2002.  Summary of changes for this release.
   17634 
   17635 
   17636 1) ACPI CA Core Subsystem Version 20020503:
   17637 
   17638 Added support a new OSL interface that allows the host operating
   17639 
   17640 system software to override the DSDT found in the firmware -
   17641 AcpiOsTableOverride.  With this interface, the OSL can examine the
   17642 version of the firmware DSDT and replace it with a different one
   17643 if desired.
   17644 
   17645 Added new external interfaces for accessing ACPI registers from
   17646 device drivers and other system software - AcpiGetRegister and
   17647 AcpiSetRegister.  This was simply an externalization of the
   17648 existing AcpiHwBitRegister interfaces.
   17649 
   17650 Fixed a regression introduced in the previous build where the
   17651 ASL/AML CreateField operator always returned an error,
   17652 "destination must be a NS Node".
   17653 
   17654 Extended the maximum time (before failure) to successfully enable
   17655 ACPI mode to 3 seconds.
   17656 
   17657 Code and Data Size: Current core subsystem library sizes are shown
   17658 below.  These are the code and data sizes for the acpica.lib
   17659 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17660 values do not include any ACPI driver or OSPM code.  The debug
   17661 version of the code includes the debug output trace mechanism and
   17662 has a larger code and data size.  Note that these values will vary
   17663 depending on the efficiency of the compiler and the compiler
   17664 options used during generation.
   17665 
   17666   Previous Release
   17667     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   17668     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   17669   Current Release:
   17670     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
   17671     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
   17672 
   17673 
   17674 2) Linux
   17675 
   17676 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
   17677 free. While 3 out of 4 of our in-house systems work fine, the last
   17678 one still hangs when testing the LAPIC timer.
   17679 
   17680 Renamed many files in 2.5 kernel release to omit "acpi_" from the
   17681 name.
   17682 
   17683 Added warning on boot for Presario 711FR.
   17684 
   17685 Sleep improvements (Pavel Machek)
   17686 
   17687 ACPI can now be built without CONFIG_PCI enabled.
   17688 
   17689 IA64: Fixed memory map functions (JI Lee)
   17690 
   17691 
   17692 3) iASL Compiler Version X2043:
   17693 
   17694 Added support to allow the compiler to be integrated into the MS
   17695 VC++ development environment for one-button compilation of single
   17696 files or entire projects -- with error-to-source-line mapping.
   17697 
   17698 Implemented support for compile-time constant folding for the
   17699 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
   17700 specification.  This allows the ASL writer to use expressions
   17701 instead of Integer/Buffer/String constants in terms that must
   17702 evaluate to constants at compile time and will also simplify the
   17703 emitted AML in any such sub-expressions that can be folded
   17704 (evaluated at compile-time.)  This increases the size of the
   17705 compiler significantly because a portion of the ACPI CA AML
   17706 interpreter is included within the compiler in order to pre-
   17707 evaluate constant expressions.
   17708 
   17709 
   17710 Fixed a problem with the "Unicode" ASL macro that caused the
   17711 compiler to fault.  (This macro is used in conjunction with the
   17712 _STR reserved name.)
   17713 
   17714 Implemented an AML opcode optimization to use the Zero, One, and
   17715 Ones opcodes where possible to further reduce the size of integer
   17716 constants and thus reduce the overall size of the generated AML
   17717 code.
   17718 
   17719 Implemented error checking for new reserved terms for ACPI version
   17720 2.0A.
   17721 
   17722 Implemented the -qr option to display the current list of ACPI
   17723 reserved names known to the compiler.
   17724 
   17725 Implemented the -qc option to display the current list of ASL
   17726 operators that are allowed within constant expressions and can
   17727 therefore be folded at compile time if the operands are constants.
   17728 
   17729 
   17730 4) Documentation
   17731 
   17732 Updated the Programmer's Reference for new interfaces, data types,
   17733 and memory allocation model options.
   17734 
   17735 Updated the iASL Compiler User Reference to apply new format and
   17736 add information about new features and options.
   17737 
   17738 ----------------------------------------
   17739 19 April 2002.  Summary of changes for this release.
   17740 
   17741 1) ACPI CA Core Subsystem Version 20020419:
   17742 
   17743 The source code base for the Core Subsystem has been completely
   17744 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
   17745 versions.  The Lint option files used are included in the
   17746 /acpi/generate/lint directory.
   17747 
   17748 Implemented enhanced status/error checking across the entire
   17749 Hardware manager subsystem.  Any hardware errors (reported from
   17750 the OSL) are now bubbled up and will abort a running control
   17751 method.
   17752 
   17753 
   17754 Fixed a problem where the per-ACPI-table integer width (32 or 64)
   17755 was stored only with control method nodes, causing a fault when
   17756 non-control method code was executed during table loading.  The
   17757 solution implemented uses a global variable to indicate table
   17758 width across the entire ACPI subsystem.  Therefore, ACPI CA does
   17759 not support mixed integer widths across different ACPI tables
   17760 (DSDT, SSDT).
   17761 
   17762 Fixed a problem where NULL extended fields (X fields) in an ACPI
   17763 2.0 ACPI FADT caused the table load to fail.  Although the
   17764 existing ACPI specification is a bit fuzzy on this topic, the new
   17765 behavior is to fall back on a ACPI 1.0 field if the corresponding
   17766 ACPI 2.0 X field is zero (even though the table revision indicates
   17767 a full ACPI 2.0 table.)  The ACPI specification will be updated to
   17768 clarify this issue.
   17769 
   17770 Fixed a problem with the SystemMemory operation region handler
   17771 where memory was always accessed byte-wise even if the AML-
   17772 specified access width was larger than a byte.  This caused
   17773 problems on systems with memory-mapped I/O.  Memory is now
   17774 accessed with the width specified.  On systems that do not support
   17775 non-aligned transfers, a check is made to guarantee proper address
   17776 alignment before proceeding in order to avoid an AML-caused
   17777 alignment fault within the kernel.
   17778 
   17779 
   17780 Fixed a problem with the ExtendedIrq resource where only one byte
   17781 of the 4-byte Irq field was extracted.
   17782 
   17783 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
   17784 function was out of date and required a rewrite.
   17785 
   17786 Code and Data Size: Current core subsystem library sizes are shown
   17787 below.  These are the code and data sizes for the acpica.lib
   17788 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17789 values do not include any ACPI driver or OSPM code.  The debug
   17790 version of the code includes the debug output trace mechanism and
   17791 has a larger code and data size.  Note that these values will vary
   17792 depending on the efficiency of the compiler and the compiler
   17793 options used during generation.
   17794 
   17795   Previous Release
   17796     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17797     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17798   Current Release:
   17799     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
   17800     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
   17801 
   17802 
   17803 2) Linux
   17804 
   17805 PCI IRQ routing fixes (Dominik Brodowski)
   17806 
   17807 
   17808 3) iASL Compiler Version X2042:
   17809 
   17810 Implemented an additional compile-time error check for a field
   17811 unit whose size + minimum access width would cause a run-time
   17812 access beyond the end-of-region.  Previously, only the field size
   17813 itself was checked.
   17814 
   17815 The Core subsystem and iASL compiler now share a common parse
   17816 object in preparation for compile-time evaluation of the type
   17817 3/4/5 ASL operators.
   17818 
   17819 
   17820 ----------------------------------------
   17821 Summary of changes for this release: 03_29_02
   17822 
   17823 1) ACPI CA Core Subsystem Version 20020329:
   17824 
   17825 Implemented support for late evaluation of TermArg operands to
   17826 Buffer and Package objects.  This allows complex expressions to be
   17827 used in the declarations of these object types.
   17828 
   17829 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
   17830 1.0, if the field was larger than 32 bits, it was returned as a
   17831 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
   17832 the field is returned as a buffer only if the field is larger than
   17833 64 bits.  The TableRevision is now considered when making this
   17834 conversion to avoid incompatibility with existing ASL code.
   17835 
   17836 Implemented logical addressing for AcpiOsGetRootPointer.  This
   17837 allows an RSDP with either a logical or physical address.  With
   17838 this support, the host OS can now override all ACPI tables with
   17839 one logical RSDP.  Includes implementation of  "typed" pointer
   17840 support to allow a common data type for both physical and logical
   17841 pointers internally.  This required a change to the
   17842 AcpiOsGetRootPointer interface.
   17843 
   17844 Implemented the use of ACPI 2.0 Generic Address Structures for all
   17845 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
   17846 mapped I/O for these ACPI features.
   17847 
   17848 Initialization now ignores not only non-required tables (All
   17849 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
   17850 not validate the table headers of unrecognized tables.
   17851 
   17852 Fixed a problem where a notify handler could only be
   17853 installed/removed on an object of type Device.  All "notify"
   17854 
   17855 objects are now supported -- Devices, Processor, Power, and
   17856 Thermal.
   17857 
   17858 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
   17859 critical information is returned when this debug level is enabled.
   17860 
   17861 Code and Data Size: Current core subsystem library sizes are shown
   17862 below.  These are the code and data sizes for the acpica.lib
   17863 produced by the Microsoft Visual C++ 6.0 compiler, and these
   17864 values do not include any ACPI driver or OSPM code.  The debug
   17865 version of the code includes the debug output trace mechanism and
   17866 has a larger code and data size.  Note that these values will vary
   17867 depending on the efficiency of the compiler and the compiler
   17868 options used during generation.
   17869 
   17870   Previous Release
   17871     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   17872     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   17873   Current Release:
   17874     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
   17875     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
   17876 
   17877 
   17878 2) Linux:
   17879 
   17880 The processor driver (acpi_processor.c) now fully supports ACPI
   17881 2.0-based processor performance control (e.g. Intel(R)
   17882 SpeedStep(TM) technology) Note that older laptops that only have
   17883 the Intel "applet" interface are not supported through this.  The
   17884 'limit' and 'performance' interface (/proc) are fully functional.
   17885 [Note that basic policy for controlling performance state
   17886 transitions will be included in the next version of ospmd.]  The
   17887 idle handler was modified to more aggressively use C2, and PIIX4
   17888 errata handling underwent a complete overhaul (big thanks to
   17889 Dominik Brodowski).
   17890 
   17891 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
   17892 based devices in the ACPI namespace are now dynamically bound
   17893 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
   17894 This allows, among other things, ACPI to resolve bus numbers for
   17895 subordinate PCI bridges.
   17896 
   17897 Enhanced PCI IRQ routing to get the proper bus number for _PRT
   17898 entries defined underneath PCI bridges.
   17899 
   17900 Added IBM 600E to bad bios list due to invalid _ADR value for
   17901 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
   17902 
   17903 In the process of adding full MADT support (e.g. IOAPIC) for IA32
   17904 (acpi.c, mpparse.c) -- stay tuned.
   17905 
   17906 Added back visual differentiation between fixed-feature and
   17907 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
   17908 button/power/PWRF) to simplify button identification.
   17909 
   17910 We no longer use -Wno-unused when compiling debug. Please ignore
   17911 any "_THIS_MODULE defined but not used" messages.
   17912 
   17913 Can now shut down the system using "magic sysrq" key.
   17914 
   17915 
   17916 3) iASL Compiler version 2041:
   17917 
   17918 Fixed a problem where conversion errors for hex/octal/decimal
   17919 constants were not reported.
   17920 
   17921 Implemented a fix for the General Register template Address field.
   17922 This field was 8 bits when it should be 64.
   17923 
   17924 Fixed a problem where errors/warnings were no longer being emitted
   17925 within the listing output file.
   17926 
   17927 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
   17928 exactly 4 characters, alphanumeric only.
   17929 
   17930 
   17931 
   17932 
   17933 ----------------------------------------
   17934 Summary of changes for this release: 03_08_02
   17935 
   17936 
   17937 1) ACPI CA Core Subsystem Version 20020308:
   17938 
   17939 Fixed a problem with AML Fields where the use of the "AccessAny"
   17940 keyword could cause an interpreter error due to attempting to read
   17941 or write beyond the end of the parent Operation Region.
   17942 
   17943 Fixed a problem in the SystemMemory Operation Region handler where
   17944 an attempt was made to map memory beyond the end of the region.
   17945 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
   17946 errors on some Linux systems.
   17947 
   17948 Fixed a problem where the interpreter/namespace "search to root"
   17949 algorithm was not functioning for some object types.  Relaxed the
   17950 internal restriction on the search to allow upsearches for all
   17951 external object types as well as most internal types.
   17952 
   17953 
   17954 2) Linux:
   17955 
   17956 We now use safe_halt() macro versus individual calls to sti | hlt.
   17957 
   17958 Writing to the processor limit interface should now work. "echo 1"
   17959 will increase the limit, 2 will decrease, and 0 will reset to the
   17960 
   17961 default.
   17962 
   17963 
   17964 3) ASL compiler:
   17965 
   17966 Fixed segfault on Linux version.
   17967 
   17968 
   17969 ----------------------------------------
   17970 Summary of changes for this release: 02_25_02
   17971 
   17972 1) ACPI CA Core Subsystem:
   17973 
   17974 
   17975 Fixed a problem where the GPE bit masks were not initialized
   17976 properly, causing erratic GPE behavior.
   17977 
   17978 Implemented limited support for multiple calling conventions.  The
   17979 code can be generated with either the VPL (variable parameter
   17980 list, or "C") convention, or the FPL (fixed parameter list, or
   17981 "Pascal") convention.  The core subsystem is about 3.4% smaller
   17982 when generated with FPL.
   17983 
   17984 
   17985 2) Linux
   17986 
   17987 Re-add some /proc/acpi/event functionality that was lost during
   17988 the rewrite
   17989 
   17990 Resolved issue with /proc events for fixed-feature buttons showing
   17991 up as the system device.
   17992 
   17993 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
   17994 
   17995 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
   17996 
   17997 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
   17998 
   17999 Fixed limit interface & usage to fix bugs with passive cooling
   18000 hysterisis.
   18001 
   18002 Restructured PRT support.
   18003 
   18004 
   18005 ----------------------------------------
   18006 Summary of changes for this label: 02_14_02
   18007 
   18008 
   18009 1) ACPI CA Core Subsystem:
   18010 
   18011 Implemented support in AcpiLoadTable to allow loading of FACS and
   18012 FADT tables.
   18013 
   18014 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
   18015 been removed.  All 64-bit platforms should be migrated to the ACPI
   18016 2.0 tables.  The actbl71.h header has been removed from the source
   18017 tree.
   18018 
   18019 All C macros defined within the subsystem have been prefixed with
   18020 "ACPI_" to avoid collision with other system include files.
   18021 
   18022 Removed the return value for the two AcpiOsPrint interfaces, since
   18023 it is never used and causes lint warnings for ignoring the return
   18024 value.
   18025 
   18026 Added error checking to all internal mutex acquire and release
   18027 calls.  Although a failure from one of these interfaces is
   18028 probably a fatal system error, these checks will cause the
   18029 immediate abort of the currently executing method or interface.
   18030 
   18031 Fixed a problem where the AcpiSetCurrentResources interface could
   18032 fault.  This was a side effect of the deployment of the new memory
   18033 allocation model.
   18034 
   18035 Fixed a couple of problems with the Global Lock support introduced
   18036 in the last major build.  The "common" (1.0/2.0) internal FACS was
   18037 being overwritten with the FACS signature and clobbering the
   18038 Global Lock pointer.  Also, the actual firmware FACS was being
   18039 unmapped after construction of the "common" FACS, preventing
   18040 access to the actual Global Lock field within it.  The "common"
   18041 internal FACS is no longer installed as an actual ACPI table; it
   18042 is used simply as a global.
   18043 
   18044 Code and Data Size: Current core subsystem library sizes are shown
   18045 below.  These are the code and data sizes for the acpica.lib
   18046 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18047 values do not include any ACPI driver or OSPM code.  The debug
   18048 version of the code includes the debug output trace mechanism and
   18049 has a larger code and data size.  Note that these values will vary
   18050 depending on the efficiency of the compiler and the compiler
   18051 options used during generation.
   18052 
   18053   Previous Release (02_07_01)
   18054     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   18055     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   18056   Current Release:
   18057     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
   18058     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
   18059 
   18060 
   18061 2) Linux
   18062 
   18063 Updated Linux-specific code for core macro and OSL interface
   18064 changes described above.
   18065 
   18066 Improved /proc/acpi/event. It now can be opened only once and has
   18067 proper poll functionality.
   18068 
   18069 Fixed and restructured power management (acpi_bus).
   18070 
   18071 Only create /proc "view by type" when devices of that class exist.
   18072 
   18073 Fixed "charging/discharging" bug (and others) in acpi_battery.
   18074 
   18075 Improved thermal zone code.
   18076 
   18077 
   18078 3) ASL Compiler, version X2039:
   18079 
   18080 
   18081 Implemented the new compiler restriction on ASL String hex/octal
   18082 escapes to non-null, ASCII values.  An error results if an invalid
   18083 value is used.  (This will require an ACPI 2.0 specification
   18084 change.)
   18085 
   18086 AML object labels that are output to the optional C and ASM source
   18087 are now prefixed with both the ACPI table signature and table ID
   18088 to help guarantee uniqueness within a large BIOS project.
   18089 
   18090 
   18091 ----------------------------------------
   18092 Summary of changes for this label: 02_01_02
   18093 
   18094 1) ACPI CA Core Subsystem:
   18095 
   18096 ACPI 2.0 support is complete in the entire Core Subsystem and the
   18097 ASL compiler. All new ACPI 2.0 operators are implemented and all
   18098 other changes for ACPI 2.0 support are complete.  With
   18099 simultaneous code and data optimizations throughout the subsystem,
   18100 ACPI 2.0 support has been implemented with almost no additional
   18101 cost in terms of code and data size.
   18102 
   18103 Implemented a new mechanism for allocation of return buffers.  If
   18104 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
   18105 be allocated on behalf of the caller.  Consolidated all return
   18106 buffer validation and allocation to a common procedure.  Return
   18107 buffers will be allocated via the primary OSL allocation interface
   18108 since it appears that a separate pool is not needed by most users.
   18109 If a separate pool is required for these buffers, the caller can
   18110 still use the original mechanism and pre-allocate the buffer(s).
   18111 
   18112 Implemented support for string operands within the DerefOf
   18113 operator.
   18114 
   18115 Restructured the Hardware and Event managers to be table driven,
   18116 simplifying the source code and reducing the amount of generated
   18117 code.
   18118 
   18119 Split the common read/write low-level ACPI register bitfield
   18120 procedure into a separate read and write, simplifying the code
   18121 considerably.
   18122 
   18123 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
   18124 used only a handful of times and didn't have enough critical mass
   18125 for a separate interface.  Replaced with a common calloc procedure
   18126 in the core.
   18127 
   18128 Fixed a reported problem with the GPE number mapping mechanism
   18129 that allows GPE1 numbers to be non-contiguous with GPE0.
   18130 Reorganized the GPE information and shrunk a large array that was
   18131 originally large enough to hold info for all possible GPEs (256)
   18132 to simply large enough to hold all GPEs up to the largest GPE
   18133 number on the machine.
   18134 
   18135 Fixed a reported problem with resource structure alignment on 64-
   18136 bit platforms.
   18137 
   18138 Changed the AcpiEnableEvent and AcpiDisableEvent external
   18139 interfaces to not require any flags for the common case of
   18140 enabling/disabling a GPE.
   18141 
   18142 Implemented support to allow a "Notify" on a Processor object.
   18143 
   18144 Most TBDs in comments within the source code have been resolved
   18145 and eliminated.
   18146 
   18147 
   18148 Fixed a problem in the interpreter where a standalone parent
   18149 prefix (^) was not handled correctly in the interpreter and
   18150 debugger.
   18151 
   18152 Removed obsolete and unnecessary GPE save/restore code.
   18153 
   18154 Implemented Field support in the ASL Load operator.  This allows a
   18155 table to be loaded from a named field, in addition to loading a
   18156 table directly from an Operation Region.
   18157 
   18158 Implemented timeout and handle support in the external Global Lock
   18159 interfaces.
   18160 
   18161 Fixed a problem in the AcpiDump utility where pathnames were no
   18162 longer being generated correctly during the dump of named objects.
   18163 
   18164 Modified the AML debugger to give a full display of if/while
   18165 predicates instead of just one AML opcode at a time.  (The
   18166 predicate can have several nested ASL statements.)  The old method
   18167 was confusing during single stepping.
   18168 
   18169 Code and Data Size: Current core subsystem library sizes are shown
   18170 below. These are the code and data sizes for the acpica.lib
   18171 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18172 values do not include any ACPI driver or OSPM code.  The debug
   18173 version of the code includes the debug output trace mechanism and
   18174 has a larger code and data size.  Note that these values will vary
   18175 depending on the efficiency of the compiler and the compiler
   18176 options used during generation.
   18177 
   18178   Previous Release (12_18_01)
   18179      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   18180      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   18181    Current Release:
   18182      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
   18183      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
   18184 
   18185 2) Linux
   18186 
   18187  Implemented fix for PIIX reverse throttling errata (Processor
   18188 driver)
   18189 
   18190 Added new Limit interface (Processor and Thermal drivers)
   18191 
   18192 New thermal policy (Thermal driver)
   18193 
   18194 Many updates to /proc
   18195 
   18196 Battery "low" event support (Battery driver)
   18197 
   18198 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
   18199 
   18200 IA32 - IA64 initialization unification, no longer experimental
   18201 
   18202 Menuconfig options redesigned
   18203 
   18204 3) ASL Compiler, version X2037:
   18205 
   18206 Implemented several new output features to simplify integration of
   18207 AML code into  firmware: 1) Output the AML in C source code with
   18208 labels for each named ASL object.  The    original ASL source code
   18209 is interleaved as C comments. 2) Output the AML in ASM source code
   18210 with labels and interleaved ASL    source. 3) Output the AML in
   18211 raw hex table form, in either C or ASM.
   18212 
   18213 Implemented support for optional string parameters to the
   18214 LoadTable operator.
   18215 
   18216 Completed support for embedded escape sequences within string
   18217 literals.  The compiler now supports all single character escapes
   18218 as well as the Octal and Hex escapes.  Note: the insertion of a
   18219 null byte into a string literal (via the hex/octal escape) causes
   18220 the string to be immediately terminated.  A warning is issued.
   18221 
   18222 Fixed a problem where incorrect AML was generated for the case
   18223 where an ASL namepath consists of a single parent prefix (
   18224 
   18225 ) with no trailing name segments.
   18226 
   18227 The compiler has been successfully generated with a 64-bit C
   18228 compiler.
   18229 
   18230 
   18231 
   18232 
   18233 ----------------------------------------
   18234 Summary of changes for this label: 12_18_01
   18235 
   18236 1) Linux
   18237 
   18238 Enhanced blacklist with reason and severity fields. Any table's
   18239 signature may now be used to identify a blacklisted system.
   18240 
   18241 Call _PIC control method to inform the firmware which interrupt
   18242 model the OS is using. Turn on any disabled link devices.
   18243 
   18244 Cleaned up busmgr /proc error handling (Andreas Dilger)
   18245 
   18246  2) ACPI CA Core Subsystem:
   18247 
   18248 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
   18249 while loop)
   18250 
   18251 Completed implementation of the ACPI 2.0 "Continue",
   18252 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
   18253 operators.  All new ACPI 2.0 operators are now implemented in both
   18254 the ASL compiler and the AML interpreter.  The only remaining ACPI
   18255 2.0 task is support for the String data type in the DerefOf
   18256 operator.  Fixed a problem with AcquireMutex where the status code
   18257 was lost if the caller had to actually wait for the mutex.
   18258 
   18259 Increased the maximum ASL Field size from 64K bits to 4G bits.
   18260 
   18261 Completed implementation of the external Global Lock interfaces --
   18262 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
   18263 Handler parameters were added.
   18264 
   18265 Completed another pass at removing warnings and issues when
   18266 compiling with 64-bit compilers.  The code now compiles cleanly
   18267 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
   18268 add and subtract (diff) macros have changed considerably.
   18269 
   18270 
   18271 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
   18272 64-bit platforms, 32-bits on all others.  This type is used
   18273 wherever memory allocation and/or the C sizeof() operator is used,
   18274 and affects the OSL memory allocation interfaces AcpiOsAllocate
   18275 and AcpiOsCallocate.
   18276 
   18277 Implemented sticky user breakpoints in the AML debugger.
   18278 
   18279 Code and Data Size: Current core subsystem library sizes are shown
   18280 below. These are the code and data sizes for the acpica.lib
   18281 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18282 values do not include any ACPI driver or OSPM code.  The debug
   18283 version of the code includes the debug output trace mechanism and
   18284 has a larger code and data size. Note that these values will vary
   18285 depending on the efficiency of the compiler and the compiler
   18286 options used during generation.
   18287 
   18288   Previous Release (12_05_01)
   18289      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   18290      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   18291    Current Release:
   18292      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
   18293      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
   18294 
   18295  3) ASL Compiler, version X2034:
   18296 
   18297 Now checks for (and generates an error if detected) the use of a
   18298 Break or Continue statement without an enclosing While statement.
   18299 
   18300 
   18301 Successfully generated the compiler with the Intel 64-bit C
   18302 compiler.
   18303 
   18304  ----------------------------------------
   18305 Summary of changes for this label: 12_05_01
   18306 
   18307  1) ACPI CA Core Subsystem:
   18308 
   18309 The ACPI 2.0 CopyObject operator is fully implemented.  This
   18310 operator creates a new copy of an object (and is also used to
   18311 bypass the "implicit conversion" mechanism of the Store operator.)
   18312 
   18313 The ACPI 2.0 semantics for the SizeOf operator are fully
   18314 implemented.  The change is that performing a SizeOf on a
   18315 reference object causes an automatic dereference of the object to
   18316 the actual value before the size is evaluated. This behavior was
   18317 undefined in ACPI 1.0.
   18318 
   18319 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
   18320 have been implemented.  The interrupt polarity and mode are now
   18321 independently set.
   18322 
   18323 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
   18324 appearing in Package objects were not properly converted to
   18325 integers when the internal Package was converted to an external
   18326 object (via the AcpiEvaluateObject interface.)
   18327 
   18328 Fixed a problem with the namespace object deletion mechanism for
   18329 objects created by control methods.  There were two parts to this
   18330 problem: 1) Objects created during the initialization phase method
   18331 parse were not being deleted, and 2) The object owner ID mechanism
   18332 to track objects was broken.
   18333 
   18334 Fixed a problem where the use of the ASL Scope operator within a
   18335 control method would result in an invalid opcode exception.
   18336 
   18337 Fixed a problem introduced in the previous label where the buffer
   18338 length required for the _PRT structure was not being returned
   18339 correctly.
   18340 
   18341 Code and Data Size: Current core subsystem library sizes are shown
   18342 below. These are the code and data sizes for the acpica.lib
   18343 produced by the Microsoft Visual C++ 6.0 compiler, and these
   18344 values do not include any ACPI driver or OSPM code.  The debug
   18345 version of the code includes the debug output trace mechanism and
   18346 has a larger code and data size.  Note that these values will vary
   18347 depending on the efficiency of the compiler and the compiler
   18348 options used during generation.
   18349 
   18350   Previous Release (11_20_01)
   18351      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   18352      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   18353 
   18354   Current Release:
   18355      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
   18356      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
   18357 
   18358  2) Linux:
   18359 
   18360 Updated all files to apply cleanly against 2.4.16.
   18361 
   18362 Added basic PCI Interrupt Routing Table (PRT) support for IA32
   18363 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
   18364 version supports both static and dynamic PRT entries, but dynamic
   18365 entries are treated as if they were static (not yet
   18366 reconfigurable).  Architecture- specific code to use this data is
   18367 absent on IA32 but should be available shortly.
   18368 
   18369 Changed the initialization sequence to start the ACPI interpreter
   18370 (acpi_init) prior to initialization of the PCI driver (pci_init)
   18371 in init/main.c.  This ordering is required to support PRT and
   18372 facilitate other (future) enhancement.  A side effect is that the
   18373 ACPI bus driver and certain device drivers can no longer be loaded
   18374 as modules.
   18375 
   18376 Modified the 'make menuconfig' options to allow PCI Interrupt
   18377 Routing support to be included without the ACPI Bus and other
   18378 device drivers.
   18379 
   18380  3) ASL Compiler, version X2033:
   18381 
   18382 Fixed some issues with the use of the new CopyObject and
   18383 DataTableRegion operators.  Both are fully functional.
   18384 
   18385  ----------------------------------------
   18386 Summary of changes for this label: 11_20_01
   18387 
   18388  20 November 2001.  Summary of changes for this release.
   18389 
   18390  1) ACPI CA Core Subsystem:
   18391 
   18392 Updated Index support to match ACPI 2.0 semantics.  Storing a
   18393 Integer, String, or Buffer to an Index of a Buffer will store only
   18394 the least-significant byte of the source to the Indexed buffer
   18395 byte.  Multiple writes are not performed.
   18396 
   18397 Fixed a problem where the access type used in an AccessAs ASL
   18398 operator was not recorded correctly into the field object.
   18399 
   18400 Fixed a problem where ASL Event objects were created in a
   18401 signalled state. Events are now created in an unsignalled state.
   18402 
   18403 The internal object cache is now purged after table loading and
   18404 initialization to reduce the use of dynamic kernel memory -- on
   18405 the assumption that object use is greatest during the parse phase
   18406 of the entire table (versus the run-time use of individual control
   18407 methods.)
   18408 
   18409 ACPI 2.0 variable-length packages are now fully operational.
   18410 
   18411 Code and Data Size: Code and Data optimizations have permitted new
   18412 feature development with an actual reduction in the library size.
   18413 Current core subsystem library sizes are shown below.  These are
   18414 the code and data sizes for the acpica.lib produced by the
   18415 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18416 any ACPI driver or OSPM code.  The debug version of the code
   18417 includes the debug output trace mechanism and has a larger code
   18418 and data size.  Note that these values will vary depending on the
   18419 efficiency of the compiler and the compiler options used during
   18420 generation.
   18421 
   18422   Previous Release (11_09_01):
   18423      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   18424      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   18425 
   18426   Current Release:
   18427      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
   18428      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
   18429 
   18430  2) Linux:
   18431 
   18432 Enhanced the ACPI boot-time initialization code to allow the use
   18433 of Local APIC tables for processor enumeration on IA-32, and to
   18434 pave the way for a fully MPS-free boot (on SMP systems) in the
   18435 near future.  This functionality replaces
   18436 arch/i386/kernel/acpitables.c, which was introduced in an earlier
   18437 2.4.15-preX release.  To enable this feature you must add
   18438 "acpi_boot=on" to the kernel command line -- see the help entry
   18439 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
   18440 the works...
   18441 
   18442 Restructured the configuration options to allow boot-time table
   18443 parsing support without inclusion of the ACPI Interpreter (and
   18444 other) code.
   18445 
   18446 NOTE: This release does not include fixes for the reported events,
   18447 power-down, and thermal passive cooling issues (coming soon).
   18448 
   18449  3) ASL Compiler:
   18450 
   18451 Added additional typechecking for Fields within restricted access
   18452 Operation Regions.  All fields within EC and CMOS regions must be
   18453 declared with ByteAcc. All fields within SMBus regions must be
   18454 declared with the BufferAcc access type.
   18455 
   18456 Fixed a problem where the listing file output of control methods
   18457 no longer interleaved the actual AML code with the ASL source
   18458 code.
   18459 
   18460 
   18461 
   18462 
   18463 ----------------------------------------
   18464 Summary of changes for this label: 11_09_01
   18465 
   18466 1) ACPI CA Core Subsystem:
   18467 
   18468 Implemented ACPI 2.0-defined support for writes to fields with a
   18469 Buffer, String, or Integer source operand that is smaller than the
   18470 target field. In these cases, the source operand is zero-extended
   18471 to fill the target field.
   18472 
   18473 Fixed a problem where a Field starting bit offset (within the
   18474 parent operation region) was calculated incorrectly if the
   18475 
   18476 alignment of the field differed from the access width.  This
   18477 affected CreateWordField, CreateDwordField, CreateQwordField, and
   18478 possibly other fields that use the "AccessAny" keyword.
   18479 
   18480 Fixed a problem introduced in the 11_02_01 release where indirect
   18481 stores through method arguments did not operate correctly.
   18482 
   18483 2) Linux:
   18484 
   18485 Implemented boot-time ACPI table parsing support
   18486 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
   18487 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
   18488 legacy BIOS interfaces (e.g. MPS) for the configuration of system
   18489 processors, memory, and interrupts during setup_arch().  Note that
   18490 this patch does not include the required architecture-specific
   18491 changes required to apply this information -- subsequent patches
   18492 will be posted for both IA32 and IA64 to achieve this.
   18493 
   18494 Added low-level sleep support for IA32 platforms, courtesy of Pat
   18495 Mochel. This allows IA32 systems to transition to/from various
   18496 sleeping states (e.g. S1, S3), although the lack of a centralized
   18497 driver model and power-manageable drivers will prevent its
   18498 (successful) use on most systems.
   18499 
   18500 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
   18501 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
   18502 tables" option, etc.
   18503 
   18504 Increased the default timeout for the EC driver from 1ms to 10ms
   18505 (1000 cycles of 10us) to try to address AE_TIME errors during EC
   18506 transactions.
   18507 
   18508  ----------------------------------------
   18509 Summary of changes for this label: 11_02_01
   18510 
   18511 1) ACPI CA Core Subsystem:
   18512 
   18513 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
   18514 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
   18515 implemented.
   18516 
   18517 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
   18518 changes to support ACPI 2.0 Qword field access.  Read/Write
   18519 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
   18520 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
   18521 the value parameter for the address space handler interface is now
   18522 an ACPI_INTEGER.  OSL implementations of these interfaces must now
   18523 handle the case where the Width parameter is 64.
   18524 
   18525 Index Fields: Fixed a problem where unaligned bit assembly and
   18526 disassembly for IndexFields was not supported correctly.
   18527 
   18528 Index and Bank Fields:  Nested Index and Bank Fields are now
   18529 supported. During field access, a check is performed to ensure
   18530 that the value written to an Index or Bank register is not out of
   18531 the range of the register.  The Index (or Bank) register is
   18532 written before each access to the field data. Future support will
   18533 include allowing individual IndexFields to be wider than the
   18534 DataRegister width.
   18535 
   18536 Fields: Fixed a problem where the AML interpreter was incorrectly
   18537 attempting to write beyond the end of a Field/OpRegion.  This was
   18538 a boundary case that occurred when a DWORD field was written to a
   18539 BYTE access OpRegion, forcing multiple writes and causing the
   18540 interpreter to write one datum too many.
   18541 
   18542 Fields: Fixed a problem with Field/OpRegion access where the
   18543 starting bit address of a field was incorrectly calculated if the
   18544 current access type was wider than a byte (WordAcc, DwordAcc, or
   18545 QwordAcc).
   18546 
   18547 Fields: Fixed a problem where forward references to individual
   18548 FieldUnits (individual Field names within a Field definition) were
   18549 not resolved during the AML table load.
   18550 
   18551 Fields: Fixed a problem where forward references from a Field
   18552 definition to the parent Operation Region definition were not
   18553 resolved during the AML table load.
   18554 
   18555 Fields: Duplicate FieldUnit names within a scope are now detected
   18556 during AML table load.
   18557 
   18558 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
   18559 returned an incorrect name for the root node.
   18560 
   18561 Code and Data Size: Code and Data optimizations have permitted new
   18562 feature development with an actual reduction in the library size.
   18563 Current core subsystem library sizes are shown below.  These are
   18564 the code and data sizes for the acpica.lib produced by the
   18565 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18566 any ACPI driver or OSPM code.  The debug version of the code
   18567 includes the debug output trace mechanism and has a larger code
   18568 and data size.  Note that these values will vary depending on the
   18569 efficiency of the compiler and the compiler options used during
   18570 generation.
   18571 
   18572   Previous Release (10_18_01):
   18573      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   18574      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   18575 
   18576   Current Release:
   18577      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
   18578      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
   18579 
   18580  2) Linux:
   18581 
   18582 Improved /proc processor output (Pavel Machek) Re-added
   18583 MODULE_LICENSE("GPL") to all modules.
   18584 
   18585  3) ASL Compiler version X2030:
   18586 
   18587 Duplicate FieldUnit names within a scope are now detected and
   18588 flagged as errors.
   18589 
   18590  4) Documentation:
   18591 
   18592 Programmer Reference updated to reflect OSL and address space
   18593 handler interface changes described above.
   18594 
   18595 ----------------------------------------
   18596 Summary of changes for this label: 10_18_01
   18597 
   18598 ACPI CA Core Subsystem:
   18599 
   18600 Fixed a problem with the internal object reference count mechanism
   18601 that occasionally caused premature object deletion. This resolves
   18602 all of the outstanding problem reports where an object is deleted
   18603 in the middle of an interpreter evaluation.  Although this problem
   18604 only showed up in rather obscure cases, the solution to the
   18605 problem involved an adjustment of all reference counts involving
   18606 objects attached to namespace nodes.
   18607 
   18608 Fixed a problem with Field support in the interpreter where
   18609 writing to an aligned field whose length is an exact multiple (2
   18610 or greater) of the field access granularity would cause an attempt
   18611 to write beyond the end of the field.
   18612 
   18613 The top level AML opcode execution functions within the
   18614 interpreter have been renamed with a more meaningful and
   18615 consistent naming convention.  The modules exmonad.c and
   18616 exdyadic.c were eliminated.  New modules are exoparg1.c,
   18617 exoparg2.c, exoparg3.c, and exoparg6.c.
   18618 
   18619 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
   18620 
   18621 Fixed a problem where the AML debugger was causing some internal
   18622 objects to not be deleted during subsystem termination.
   18623 
   18624 Fixed a problem with the external AcpiEvaluateObject interface
   18625 where the subsystem would fault if the named object to be
   18626 evaluated referred to a constant such as Zero, Ones, etc.
   18627 
   18628 Fixed a problem with IndexFields and BankFields where the
   18629 subsystem would fault if the index, data, or bank registers were
   18630 not defined in the same scope as the field itself.
   18631 
   18632 Added printf format string checking for compilers that support
   18633 this feature.  Corrected more than 50 instances of issues with
   18634 format specifiers within invocations of ACPI_DEBUG_PRINT
   18635 throughout the core subsystem code.
   18636 
   18637 The ASL "Revision" operator now returns the ACPI support level
   18638 implemented in the core - the value "2" since the ACPI 2.0 support
   18639 is more than 50% implemented.
   18640 
   18641 Enhanced the output of the AML debugger "dump namespace" command
   18642 to output in a more human-readable form.
   18643 
   18644 Current core subsystem library code sizes are shown below.  These
   18645 
   18646 are the code and data sizes for the acpica.lib produced by the
   18647 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18648 any ACPI driver or OSPM code.  The debug version of the code
   18649 includes the full debug trace mechanism -- leading to a much
   18650 
   18651 larger code and data size.  Note that these values will vary
   18652 depending on the efficiency of the compiler and the compiler
   18653 options used during generation.
   18654 
   18655      Previous Label (09_20_01):
   18656      Non-Debug Version:    65K Code,     5K Data,     70K Total
   18657      Debug Version:       138K Code,    58K Data,    196K Total
   18658 
   18659      This Label:
   18660 
   18661      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
   18662      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
   18663 
   18664 Linux:
   18665 
   18666 Implemented a "Bad BIOS Blacklist" to track machines that have
   18667 known ASL/AML problems.
   18668 
   18669 Enhanced the /proc interface for the thermal zone driver and added
   18670 support for _HOT (the critical suspend trip point).  The 'info'
   18671 file now includes threshold/policy information, and allows setting
   18672 of _SCP (cooling preference) and _TZP (polling frequency) values
   18673 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
   18674 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
   18675 preference to the passive/quiet mode (if supported by the ASL).
   18676 
   18677 Implemented a workaround for a gcc bug that resuted in an OOPs
   18678 when loading the control method battery driver.
   18679 
   18680  ----------------------------------------
   18681 Summary of changes for this label: 09_20_01
   18682 
   18683  ACPI CA Core Subsystem:
   18684 
   18685 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
   18686 modified to allow individual GPE levels to be flagged as wake-
   18687 enabled (i.e., these GPEs are to remain enabled when the platform
   18688 sleeps.)
   18689 
   18690 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
   18691 support wake-enabled GPEs.  This means that upon entering the
   18692 sleep state, all GPEs that are not wake-enabled are disabled.
   18693 When leaving the sleep state, these GPEs are re-enabled.
   18694 
   18695 A local double-precision divide/modulo module has been added to
   18696 enhance portability to OS kernels where a 64-bit math library is
   18697 not available.  The new module is "utmath.c".
   18698 
   18699 Several optimizations have been made to reduce the use of CPU
   18700 stack.  Originally over 2K, the maximum stack usage is now below
   18701 2K at 1860  bytes (1.82k)
   18702 
   18703 Fixed a problem with the AcpiGetFirmwareTable interface where the
   18704 root table pointer was not mapped into a logical address properly.
   18705 
   18706 Fixed a problem where a NULL pointer was being dereferenced in the
   18707 interpreter code for the ASL Notify operator.
   18708 
   18709 Fixed a problem where the use of the ASL Revision operator
   18710 returned an error. This operator now returns the current version
   18711 of the ACPI CA core subsystem.
   18712 
   18713 Fixed a problem where objects passed as control method parameters
   18714 to AcpiEvaluateObject were always deleted at method termination.
   18715 However, these objects may end up being stored into the namespace
   18716 by the called method.  The object reference count mechanism was
   18717 applied to these objects instead of a force delete.
   18718 
   18719 Fixed a problem where static strings or buffers (contained in the
   18720 AML code) that are declared as package elements within the ASL
   18721 code could cause a fault because the interpreter would attempt to
   18722 delete them.  These objects are now marked with the "static
   18723 object" flag to prevent any attempt to delete them.
   18724 
   18725 Implemented an interpreter optimization to use operands directly
   18726 from the state object instead of extracting the operands to local
   18727 variables.  This reduces stack use and code size, and improves
   18728 performance.
   18729 
   18730 The module exxface.c was eliminated as it was an unnecessary extra
   18731 layer of code.
   18732 
   18733 Current core subsystem library code sizes are shown below.  These
   18734 are the code and data sizes for the acpica.lib produced by the
   18735 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18736 any ACPI driver or OSPM code.  The debug version of the code
   18737 includes the full debug trace mechanism -- leading to a much
   18738 larger code and data size.  Note that these values will vary
   18739 depending on the efficiency of the compiler and the compiler
   18740 options used during generation.
   18741 
   18742   Non-Debug Version:  65K Code,   5K Data,   70K Total
   18743 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
   18744 Total  (Previously 195K)
   18745 
   18746 Linux:
   18747 
   18748 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
   18749 Integer objects are now 64 bits wide
   18750 
   18751 All Acpi data types and structures are now in lower case.  Only
   18752 Acpi macros are upper case for differentiation.
   18753 
   18754  Documentation:
   18755 
   18756 Changes to the external interfaces as described above.
   18757 
   18758  ----------------------------------------
   18759 Summary of changes for this label: 08_31_01
   18760 
   18761  ACPI CA Core Subsystem:
   18762 
   18763 A bug with interpreter implementation of the ASL Divide operator
   18764 was found and fixed.  The implicit function return value (not the
   18765 explicit store operands) was returning the remainder instead of
   18766 the quotient.  This was a longstanding bug and it fixes several
   18767 known outstanding issues on various platforms.
   18768 
   18769 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
   18770 been further optimized for size.  There are 700 invocations of the
   18771 DEBUG_PRINT macro alone, so each optimization reduces the size of
   18772 the debug version of the subsystem significantly.
   18773 
   18774 A stack trace mechanism has been implemented.  The maximum stack
   18775 usage is about 2K on 32-bit platforms.  The debugger command "stat
   18776 stack" will display the current maximum stack usage.
   18777 
   18778 All public symbols and global variables within the subsystem are
   18779 now prefixed with the string "Acpi".  This keeps all of the
   18780 symbols grouped together in a kernel map, and avoids conflicts
   18781 with other kernel subsystems.
   18782 
   18783 Most of the internal fixed lookup tables have been moved into the
   18784 code segment via the const operator.
   18785 
   18786 Several enhancements have been made to the interpreter to both
   18787 reduce the code size and improve performance.
   18788 
   18789 Current core subsystem library code sizes are shown below.  These
   18790 are the code and data sizes for the acpica.lib produced by the
   18791 Microsoft Visual C++ 6.0 compiler, and these values do not include
   18792 any ACPI driver or OSPM code.  The debug version of the code
   18793 includes the full debug trace mechanism which contains over 700
   18794 invocations of the DEBUG_PRINT macro, 500 function entry macro
   18795 invocations, and over 900 function exit macro invocations --
   18796 leading to a much larger code and data size.  Note that these
   18797 values will vary depending on the efficiency of the compiler and
   18798 the compiler options used during generation.
   18799 
   18800         Non-Debug Version:  64K Code,   5K Data,   69K Total
   18801 Debug Version:     137K Code,  58K Data,  195K Total
   18802 
   18803  Linux:
   18804 
   18805 Implemented wbinvd() macro, pending a kernel-wide definition.
   18806 
   18807 Fixed /proc/acpi/event to handle poll() and short reads.
   18808 
   18809  ASL Compiler, version X2026:
   18810 
   18811 Fixed a problem introduced in the previous label where the AML
   18812 
   18813 code emitted for package objects produced packages with zero
   18814 length.
   18815 
   18816  ----------------------------------------
   18817 Summary of changes for this label: 08_16_01
   18818 
   18819 ACPI CA Core Subsystem:
   18820 
   18821 The following ACPI 2.0 ASL operators have been implemented in the
   18822 AML interpreter (These are already supported by the Intel ASL
   18823 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
   18824 ToBuffer.  Support for 64-bit AML constants is implemented in the
   18825 AML parser, debugger, and disassembler.
   18826 
   18827 The internal memory tracking mechanism (leak detection code) has
   18828 been upgraded to reduce the memory overhead (a separate tracking
   18829 block is no longer allocated for each memory allocation), and now
   18830 supports all of the internal object caches.
   18831 
   18832 The data structures and code for the internal object caches have
   18833 been coelesced and optimized so that there is a single cache and
   18834 memory list data structure and a single group of functions that
   18835 implement generic cache management.  This has reduced the code
   18836 size in both the debug and release versions of the subsystem.
   18837 
   18838 The DEBUG_PRINT macro(s) have been optimized for size and replaced
   18839 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
   18840 different, because it generates a single call to an internal
   18841 function.  This results in a savings of about 90 bytes per
   18842 invocation, resulting in an overall code and data savings of about
   18843 16% in the debug version of the subsystem.
   18844 
   18845  Linux:
   18846 
   18847 Fixed C3 disk corruption problems and re-enabled C3 on supporting
   18848 machines.
   18849 
   18850 Integrated low-level sleep code by Patrick Mochel.
   18851 
   18852 Further tweaked source code Linuxization.
   18853 
   18854 Other minor fixes.
   18855 
   18856  ASL Compiler:
   18857 
   18858 Support for ACPI 2.0 variable length packages is fixed/completed.
   18859 
   18860 Fixed a problem where the optional length parameter for the ACPI
   18861 2.0 ToString operator.
   18862 
   18863 Fixed multiple extraneous error messages when a syntax error is
   18864 detected within the declaration line of a control method.
   18865 
   18866  ----------------------------------------
   18867 Summary of changes for this label: 07_17_01
   18868 
   18869 ACPI CA Core Subsystem:
   18870 
   18871 Added a new interface named AcpiGetFirmwareTable to obtain any
   18872 ACPI table via the ACPI signature.  The interface can be called at
   18873 any time during kernel initialization, even before the kernel
   18874 virtual memory manager is initialized and paging is enabled.  This
   18875 allows kernel subsystems to obtain ACPI tables very early, even
   18876 before the ACPI CA subsystem is initialized.
   18877 
   18878 Fixed a problem where Fields defined with the AnyAcc attribute
   18879 could be resolved to the incorrect address under the following
   18880 conditions: 1) the field width is larger than 8 bits and 2) the
   18881 parent operation region is not defined on a DWORD boundary.
   18882 
   18883 Fixed a problem where the interpreter is not being locked during
   18884 namespace initialization (during execution of the _INI control
   18885 methods), causing an error when an attempt is made to release it
   18886 later.
   18887 
   18888 ACPI 2.0 support in the AML Interpreter has begun and will be
   18889 ongoing throughout the rest of this year.  In this label, The Mod
   18890 operator is implemented.
   18891 
   18892 Added a new data type to contain full PCI addresses named
   18893 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
   18894 and Function values.
   18895 
   18896  Linux:
   18897 
   18898 Enhanced the Linux version of the source code to change most
   18899 capitalized ACPI type names to lowercase. For example, all
   18900 instances of ACPI_STATUS are changed to acpi_status.  This will
   18901 result in a large diff, but the change is strictly cosmetic and
   18902 aligns the CA code closer to the Linux coding standard.
   18903 
   18904 OSL Interfaces:
   18905 
   18906 The interfaces to the PCI configuration space have been changed to
   18907 add the PCI Segment number and to split the single 32-bit combined
   18908 DeviceFunction field into two 16-bit fields.  This was
   18909 accomplished by moving the four values that define an address in
   18910 PCI configuration space (segment, bus, device, and function) to
   18911 the new ACPI_PCI_ID structure.
   18912 
   18913 The changes to the PCI configuration space interfaces led to a
   18914 reexamination of the complete set of address space access
   18915 interfaces for PCI, I/O, and Memory.  The previously existing 18
   18916 interfaces have proven difficult to maintain (any small change
   18917 must be propagated across at least 6 interfaces) and do not easily
   18918 allow for future expansion to 64 bits if necessary.  Also, on some
   18919 systems, it would not be appropriate to demultiplex the access
   18920 width (8, 16, 32,or 64) before calling the OSL if the
   18921 corresponding native OS interfaces contain a similar access width
   18922 parameter.  For these reasons, the 18 address space interfaces
   18923 have been replaced by these 6 new ones:
   18924 
   18925 AcpiOsReadPciConfiguration
   18926 AcpiOsWritePciConfiguration
   18927 AcpiOsReadMemory
   18928 AcpiOsWriteMemory
   18929 AcpiOsReadPort
   18930 AcpiOsWritePort
   18931 
   18932 Added a new interface named AcpiOsGetRootPointer to allow the OSL
   18933 to perform the platform and/or OS-specific actions necessary to
   18934 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
   18935 interface will simply call down to the CA core to perform the low-
   18936 memory search for the table.  On IA-64, the RSDP is obtained from
   18937 EFI.  Migrating this interface to the OSL allows the CA core to
   18938 
   18939 remain OS and platform independent.
   18940 
   18941 Added a new interface named AcpiOsSignal to provide a generic
   18942 "function code and pointer" interface for various miscellaneous
   18943 signals and notifications that must be made to the host OS.   The
   18944 first such signals are intended to support the ASL Fatal and
   18945 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
   18946 interface has been obsoleted.
   18947 
   18948 The definition of the AcpiFormatException interface has been
   18949 changed to simplify its use.  The caller no longer must supply a
   18950 buffer to the call; A pointer to a const string is now returned
   18951 directly.  This allows the call to be easily used in printf
   18952 statements, etc. since the caller does not have to manage a local
   18953 buffer.
   18954 
   18955 
   18956  ASL Compiler, Version X2025:
   18957 
   18958 The ACPI 2.0 Switch/Case/Default operators have been implemented
   18959 and are fully functional.  They will work with all ACPI 1.0
   18960 interpreters, since the operators are simply translated to If/Else
   18961 pairs.
   18962 
   18963 The ACPI 2.0 ElseIf operator is implemented and will also work
   18964 with 1.0 interpreters, for the same reason.
   18965 
   18966 Implemented support for ACPI 2.0 variable-length packages.  These
   18967 packages have a separate opcode, and their size is determined by
   18968 the interpreter at run-time.
   18969 
   18970 Documentation The ACPI CA Programmer Reference has been updated to
   18971 reflect the new interfaces and changes to existing interfaces.
   18972 
   18973  ------------------------------------------
   18974 Summary of changes for this label: 06_15_01
   18975 
   18976  ACPI CA Core Subsystem:
   18977 
   18978 Fixed a problem where a DWORD-accessed field within a Buffer
   18979 object would get its byte address inadvertently rounded down to
   18980 the nearest DWORD.  Buffers are always Byte-accessible.
   18981 
   18982  ASL Compiler, version X2024:
   18983 
   18984 Fixed a problem where the Switch() operator would either fault or
   18985 hang the compiler.  Note however, that the AML code for this ACPI
   18986 2.0 operator is not yet implemented.
   18987 
   18988 Compiler uses the new AcpiOsGetTimer interface to obtain compile
   18989 timings.
   18990 
   18991 Implementation of the CreateField operator automatically converts
   18992 a reference to a named field within a resource descriptor from a
   18993 byte offset to a bit offset if required.
   18994 
   18995 Added some missing named fields from the resource descriptor
   18996 support. These are the names that are automatically created by the
   18997 compiler to reference fields within a descriptor.  They are only
   18998 valid at compile time and are not passed through to the AML
   18999 interpreter.
   19000 
   19001 Resource descriptor named fields are now typed as Integers and
   19002 subject to compile-time typechecking when used in expressions.
   19003 
   19004  ------------------------------------------
   19005 Summary of changes for this label: 05_18_01
   19006 
   19007  ACPI CA Core Subsystem:
   19008 
   19009 Fixed a couple of problems in the Field support code where bits
   19010 from adjacent fields could be returned along with the proper field
   19011 bits. Restructured the field support code to improve performance,
   19012 readability and maintainability.
   19013 
   19014 New DEBUG_PRINTP macro automatically inserts the procedure name
   19015 into the output, saving hundreds of copies of procedure name
   19016 strings within the source, shrinking the memory footprint of the
   19017 debug version of the core subsystem.
   19018 
   19019  Source Code Structure:
   19020 
   19021 The source code directory tree was restructured to reflect the
   19022 current organization of the component architecture.  Some files
   19023 and directories have been moved and/or renamed.
   19024 
   19025  Linux:
   19026 
   19027 Fixed leaking kacpidpc processes.
   19028 
   19029 Fixed queueing event data even when /proc/acpi/event is not
   19030 opened.
   19031 
   19032  ASL Compiler, version X2020:
   19033 
   19034 Memory allocation performance enhancement - over 24X compile time
   19035 improvement on large ASL files.  Parse nodes and namestring
   19036 buffers are now allocated from a large internal compiler buffer.
   19037 
   19038 The temporary .SRC file is deleted unless the "-s" option is
   19039 specified
   19040 
   19041 The "-d" debug output option now sends all output to the .DBG file
   19042 instead of the console.
   19043 
   19044 "External" second parameter is now optional
   19045 
   19046 "ElseIf" syntax now properly allows the predicate
   19047 
   19048 Last operand to "Load" now recognized as a Target operand
   19049 
   19050 Debug object can now be used anywhere as a normal object.
   19051 
   19052 ResourceTemplate now returns an object of type BUFFER
   19053 
   19054 EISAID now returns an object of type INTEGER
   19055 
   19056 "Index" now works with a STRING operand
   19057 
   19058 "LoadTable" now accepts optional parameters
   19059 
   19060 "ToString" length parameter is now optional
   19061 
   19062 "Interrupt (ResourceType," parse error fixed.
   19063 
   19064 "Register" with a user-defined region space parse error fixed
   19065 
   19066 Escaped backslash at the end of a string ("\\") scan/parse error
   19067 fixed
   19068 
   19069 "Revision" is now an object of type INTEGER.
   19070 
   19071 
   19072 
   19073 ------------------------------------------
   19074 Summary of changes for this label: 05_02_01
   19075 
   19076 Linux:
   19077 
   19078 /proc/acpi/event now blocks properly.
   19079 
   19080 Removed /proc/sys/acpi. You can still dump your DSDT from
   19081 /proc/acpi/dsdt.
   19082 
   19083  ACPI CA Core Subsystem:
   19084 
   19085 Fixed a problem introduced in the previous label where some of the
   19086 "small" resource descriptor types were not recognized.
   19087 
   19088 Improved error messages for the case where an ASL Field is outside
   19089 the range of the parent operation region.
   19090 
   19091  ASL Compiler, version X2018:
   19092 
   19093 
   19094 Added error detection for ASL Fields that extend beyond the length
   19095 of the parent operation region (only if the length of the region
   19096 is known at compile time.)  This includes fields that have a
   19097 minimum access width that is smaller than the parent region, and
   19098 individual field units that are partially or entirely beyond the
   19099 extent of the parent.
   19100 
   19101 
   19102 
   19103 ------------------------------------------
   19104 Summary of changes for this label: 04_27_01
   19105 
   19106  ACPI CA Core Subsystem:
   19107 
   19108 Fixed a problem where the namespace mutex could be released at the
   19109 wrong time during execution of AcpiRemoveAddressSpaceHandler.
   19110 
   19111 Added optional thread ID output for debug traces, to simplify
   19112 debugging of multiple threads.  Added context switch notification
   19113 when the debug code realizes that a different thread is now
   19114 executing ACPI code.
   19115 
   19116 Some additional external data types have been prefixed with the
   19117 string "ACPI_" for consistency.  This may effect existing code.
   19118 The data types affected are the external callback typedefs - e.g.,
   19119 
   19120 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
   19121 
   19122  Linux:
   19123 
   19124 Fixed an issue with the OSL semaphore implementation where a
   19125 thread was waking up with an error from receiving a SIGCHLD
   19126 signal.
   19127 
   19128 Linux version of ACPI CA now uses the system C library for string
   19129 manipulation routines instead of a local implementation.
   19130 
   19131 Cleaned up comments and removed TBDs.
   19132 
   19133  ASL Compiler, version X2017:
   19134 
   19135 Enhanced error detection and reporting for all file I/O
   19136 operations.
   19137 
   19138  Documentation:
   19139 
   19140 Programmer Reference updated to version 1.06.
   19141 
   19142 
   19143 
   19144 ------------------------------------------
   19145 Summary of changes for this label: 04_13_01
   19146 
   19147  ACPI CA Core Subsystem:
   19148 
   19149 Restructured support for BufferFields and RegionFields.
   19150 BankFields support is now fully operational.  All known 32-bit
   19151 limitations on field sizes have been removed.  Both BufferFields
   19152 and (Operation) RegionFields are now supported by the same field
   19153 management code.
   19154 
   19155 Resource support now supports QWORD address and IO resources. The
   19156 16/32/64 bit address structures and the Extended IRQ structure
   19157 have been changed to properly handle Source Resource strings.
   19158 
   19159 A ThreadId of -1 is now used to indicate a "mutex not acquired"
   19160 condition internally and must never be returned by AcpiOsThreadId.
   19161 This reserved value was changed from 0 since Unix systems allow a
   19162 thread ID of 0.
   19163 
   19164 Linux:
   19165 
   19166 Driver code reorganized to enhance portability
   19167 
   19168 Added a kernel configuration option to control ACPI_DEBUG
   19169 
   19170 Fixed the EC driver to honor _GLK.
   19171 
   19172 ASL Compiler, version X2016:
   19173 
   19174 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
   19175 address space was set to 0, not 0x7f as it should be.
   19176 
   19177  ------------------------------------------
   19178 Summary of changes for this label: 03_13_01
   19179 
   19180  ACPI CA Core Subsystem:
   19181 
   19182 During ACPI initialization, the _SB_._INI method is now run if
   19183 present.
   19184 
   19185 Notify handler fix - notifies are deferred until the parent method
   19186 completes execution.  This fixes the "mutex already acquired"
   19187 issue seen occasionally.
   19188 
   19189 Part of the "implicit conversion" rules in ACPI 2.0 have been
   19190 found to cause compatibility problems with existing ASL/AML.  The
   19191 convert "result-to-target-type" implementation has been removed
   19192 for stores to method Args and Locals.  Source operand conversion
   19193 is still fully implemented.  Possible changes to ACPI 2.0
   19194 specification pending.
   19195 
   19196 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
   19197 length.
   19198 
   19199 Fix for compiler warnings for 64-bit compiles.
   19200 
   19201  Linux:
   19202 
   19203 /proc output aligned for easier parsing.
   19204 
   19205 Release-version compile problem fixed.
   19206 
   19207 New kernel configuration options documented in Configure.help.
   19208 
   19209 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
   19210 context" message.
   19211 
   19212  OSPM:
   19213 
   19214 Power resource driver integrated with bus manager.
   19215 
   19216 Fixed kernel fault during active cooling for thermal zones.
   19217 
   19218 Source Code:
   19219 
   19220 The source code tree has been restructured.
   19221 
   19222 
   19223 
   19224 ------------------------------------------
   19225 Summary of changes for this label: 03_02_01
   19226 
   19227  Linux OS Services Layer (OSL):
   19228 
   19229 Major revision of all Linux-specific code.
   19230 
   19231 Modularized all ACPI-specific drivers.
   19232 
   19233 Added new thermal zone and power resource drivers.
   19234 
   19235 Revamped /proc interface (new functionality is under /proc/acpi).
   19236 
   19237 New kernel configuration options.
   19238 
   19239  Linux known issues:
   19240 
   19241 New kernel configuration options not documented in Configure.help
   19242 yet.
   19243 
   19244 
   19245 Module dependencies not currently implemented. If used, they
   19246 should be loaded in this order: busmgr, power, ec, system,
   19247 processor, battery, ac_adapter, button, thermal.
   19248 
   19249 Modules will not load if CONFIG_MODVERSION is set.
   19250 
   19251 IBM 600E - entering S5 may reboot instead of shutting down.
   19252 
   19253 IBM 600E - Sleep button may generate "Invalid <NULL> context"
   19254 message.
   19255 
   19256 Some systems may fail with "execution mutex already acquired"
   19257 message.
   19258 
   19259  ACPI CA Core Subsystem:
   19260 
   19261 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
   19262 for the  deadlock detection code. Defined to return a non-zero, 32-
   19263 bit thread ID for the currently executing thread.  May be a non-
   19264 zero constant integer on single-thread systems.
   19265 
   19266 Implemented deadlock detection for internal subsystem mutexes.  We
   19267 may add conditional compilation for this code (debug only) later.
   19268 
   19269 ASL/AML Mutex object semantics are now fully supported.  This
   19270 includes multiple acquires/releases by owner and support for the
   19271 
   19272 Mutex SyncLevel parameter.
   19273 
   19274 A new "Force Release" mechanism automatically frees all ASL
   19275 Mutexes that have been acquired but not released when a thread
   19276 exits the interpreter.  This forces conformance to the ACPI spec
   19277 ("All mutexes must be released when an invocation exits") and
   19278 prevents deadlocked ASL threads.  This mechanism can be expanded
   19279 (later) to monitor other resource acquisitions if OEM ASL code
   19280 continues to misbehave (which it will).
   19281 
   19282 Several new ACPI exception codes have been added for the Mutex
   19283 support.
   19284 
   19285 Recursive method calls are now allowed and supported (the ACPI
   19286 spec does in fact allow recursive method calls.)  The number of
   19287 recursive calls is subject to the restrictions imposed by the
   19288 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
   19289 parameter.
   19290 
   19291 Implemented support for the SyncLevel parameter for control
   19292 methods (ACPI 2.0 feature)
   19293 
   19294 Fixed a deadlock problem when multiple threads attempted to use
   19295 the interpreter.
   19296 
   19297 Fixed a problem where the string length of a String package
   19298 element was not always set in a package returned from
   19299 AcpiEvaluateObject.
   19300 
   19301 Fixed a problem where the length of a String package element was
   19302 not always included in the length of the overall package returned
   19303 from AcpiEvaluateObject.
   19304 
   19305 Added external interfaces (Acpi*) to the ACPI debug memory
   19306 manager.  This manager keeps a list of all outstanding
   19307 allocations, and can therefore detect memory leaks and attempts to
   19308 free memory blocks more than once. Useful for code such as the
   19309 power manager, etc.  May not be appropriate for device drivers.
   19310 Performance with the debug code enabled is slow.
   19311 
   19312 The ACPI Global Lock is now an optional hardware element.
   19313 
   19314  ASL Compiler Version X2015:
   19315 
   19316 Integrated changes to allow the compiler to be generated on
   19317 multiple platforms.
   19318 
   19319 Linux makefile added to generate the compiler on Linux
   19320 
   19321  Source Code:
   19322 
   19323 All platform-specific headers have been moved to their own
   19324 subdirectory, Include/Platform.
   19325 
   19326 New source file added, Interpreter/ammutex.c
   19327 
   19328 New header file, Include/acstruct.h
   19329 
   19330  Documentation:
   19331 
   19332 The programmer reference has been updated for the following new
   19333 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
   19334 
   19335  ------------------------------------------
   19336 Summary of changes for this label: 02_08_01
   19337 
   19338 Core ACPI CA Subsystem: Fixed a problem where an error was
   19339 incorrectly returned if the return resource buffer was larger than
   19340 the actual data (in the resource interfaces).
   19341 
   19342 References to named objects within packages are resolved to the
   19343 
   19344 full pathname string before packages are returned directly (via
   19345 the AcpiEvaluateObject interface) or indirectly via the resource
   19346 interfaces.
   19347 
   19348 Linux OS Services Layer (OSL):
   19349 
   19350 Improved /proc battery interface.
   19351 
   19352 
   19353 Added C-state debugging output and other miscellaneous fixes.
   19354 
   19355 ASL Compiler Version X2014:
   19356 
   19357 All defined method arguments can now be used as local variables,
   19358 including the ones that are not actually passed in as parameters.
   19359 The compiler tracks initialization of the arguments and issues an
   19360 exception if they are used without prior assignment (just like
   19361 locals).
   19362 
   19363 The -o option now specifies a filename prefix that is used for all
   19364 output files, including the AML output file.  Otherwise, the
   19365 default behavior is as follows:  1) the AML goes to the file
   19366 specified in the DSDT.  2) all other output files use the input
   19367 source filename as the base.
   19368 
   19369  ------------------------------------------
   19370 Summary of changes for this label: 01_25_01
   19371 
   19372 Core ACPI CA Subsystem: Restructured the implementation of object
   19373 store support within the  interpreter.  This includes support for
   19374 the Store operator as well  as any ASL operators that include a
   19375 target operand.
   19376 
   19377 Partially implemented support for Implicit Result-to-Target
   19378 conversion. This is when a result object is converted on the fly
   19379 to the type of  an existing target object.  Completion of this
   19380 support is pending  further analysis of the ACPI specification
   19381 concerning this matter.
   19382 
   19383 CPU-specific code has been removed from the subsystem (hardware
   19384 directory).
   19385 
   19386 New Power Management Timer functions added
   19387 
   19388 Linux OS Services Layer (OSL): Moved system state transition code
   19389 to the core, fixed it, and modified  Linux OSL accordingly.
   19390 
   19391 Fixed C2 and C3 latency calculations.
   19392 
   19393 
   19394 We no longer use the compilation date for the version message on
   19395 initialization, but retrieve the version from AcpiGetSystemInfo().
   19396 
   19397 Incorporated for fix Sony VAIO machines.
   19398 
   19399 Documentation:  The Programmer Reference has been updated and
   19400 reformatted.
   19401 
   19402 
   19403 ASL Compiler:  Version X2013: Fixed a problem where the line
   19404 numbering and error reporting could get out  of sync in the
   19405 presence of multiple include files.
   19406 
   19407  ------------------------------------------
   19408 Summary of changes for this label: 01_15_01
   19409 
   19410 Core ACPI CA Subsystem:
   19411 
   19412 Implemented support for type conversions in the execution of the
   19413 ASL  Concatenate operator (The second operand is converted to
   19414 match the type  of the first operand before concatenation.)
   19415 
   19416 Support for implicit source operand conversion is partially
   19417 implemented.   The ASL source operand types Integer, Buffer, and
   19418 String are freely  interchangeable for most ASL operators and are
   19419 converted by the interpreter  on the fly as required.  Implicit
   19420 Target operand conversion (where the  result is converted to the
   19421 target type before storing) is not yet implemented.
   19422 
   19423 Support for 32-bit and 64-bit BCD integers is implemented.
   19424 
   19425 Problem fixed where a field read on an aligned field could cause a
   19426 read  past the end of the field.
   19427 
   19428 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
   19429 does not return a value, but the caller expects one.  (The ASL
   19430 compiler flags this as a warning.)
   19431 
   19432 ASL Compiler:
   19433 
   19434 Version X2011:
   19435 1. Static typechecking of all operands is implemented. This
   19436 prevents the use of invalid objects (such as using a Package where
   19437 an Integer is required) at compile time instead of at interpreter
   19438 run-time.
   19439 2. The ASL source line is printed with ALL errors and warnings.
   19440 3. Bug fix for source EOF without final linefeed.
   19441 4. Debug option is split into a parse trace and a namespace trace.
   19442 5. Namespace output option (-n) includes initial values for
   19443 integers and strings.
   19444 6. Parse-only option added for quick syntax checking.
   19445 7. Compiler checks for duplicate ACPI name declarations
   19446 
   19447 Version X2012:
   19448 1. Relaxed typechecking to allow interchangeability between
   19449 strings, integers, and buffers.  These types are now converted by
   19450 the interpreter at runtime.
   19451 2. Compiler reports time taken by each internal subsystem in the
   19452 debug         output file.
   19453 
   19454 
   19455  ------------------------------------------
   19456 Summary of changes for this label: 12_14_00
   19457 
   19458 ASL Compiler:
   19459 
   19460 This is the first official release of the compiler. Since the
   19461 compiler requires elements of the Core Subsystem, this label
   19462 synchronizes everything.
   19463 
   19464 ------------------------------------------
   19465 Summary of changes for this label: 12_08_00
   19466 
   19467 
   19468 Fixed a problem where named references within the ASL definition
   19469 of both OperationRegions and CreateXXXFields did not work
   19470 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   19471 initialization of the region/field. This is similar (but not
   19472 related internally) to the problem that was fixed in the last
   19473 label.
   19474 
   19475 Implemented both 32-bit and 64-bit support for the BCD ASL
   19476 functions ToBCD and FromBCD.
   19477 
   19478 Updated all legal headers to include "2000" in the copyright
   19479 years.
   19480 
   19481  ------------------------------------------
   19482 Summary of changes for this label: 12_01_00
   19483 
   19484 Fixed a problem where method invocations within the ASL definition
   19485 of both OperationRegions and CreateXXXFields did not work
   19486 properly.  The symptom was an AE_AML_OPERAND_TYPE during
   19487 initialization of the region/field:
   19488 
   19489   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
   19490 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
   19491 (0x3005)
   19492 
   19493 Fixed a problem where operators with more than one nested
   19494 subexpression would fail.  The symptoms were varied, by mostly
   19495 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
   19496 problem that has gone unnoticed until now.
   19497 
   19498   Subtract (Add (1,2), Multiply (3,4))
   19499 
   19500 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
   19501 previous build (The prefix part of a relative path was handled
   19502 incorrectly).
   19503 
   19504 Fixed a problem where Operation Region initialization failed if
   19505 the operation region name was a "namepath" instead of a simple
   19506 "nameseg". Symptom was an AE_NO_OPERAND error.
   19507 
   19508 Fixed a problem where an assignment to a local variable via the
   19509 indirect RefOf mechanism only worked for the first such
   19510 assignment.  Subsequent assignments were ignored.
   19511 
   19512  ------------------------------------------
   19513 Summary of changes for this label: 11_15_00
   19514 
   19515 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
   19516 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
   19517 the AML  interpreter does NOT have support for the new 2.0 ASL
   19518 grammar terms at this time.
   19519 
   19520 All ACPI hardware access is via the GAS structures in the ACPI 2.0
   19521 FADT.
   19522 
   19523 All physical memory addresses across all platforms are now 64 bits
   19524 wide. Logical address width remains dependent on the platform
   19525 (i.e., "void *").
   19526 
   19527 AcpiOsMapMemory interface changed to a 64-bit physical address.
   19528 
   19529 The AML interpreter integer size is now 64 bits, as per the ACPI
   19530 2.0 specification.
   19531 
   19532 For backwards compatibility with ACPI 1.0, ACPI tables with a
   19533 revision number less than 2 use 32-bit integers only.
   19534 
   19535 Fixed a problem where the evaluation of OpRegion operands did not
   19536 always resolve them to numbers properly.
   19537 
   19538 ------------------------------------------
   19539 Summary of changes for this label: 10_20_00
   19540 
   19541 Fix for CBN_._STA issue.  This fix will allow correct access to
   19542 CBN_ OpRegions when the _STA returns 0x8.
   19543 
   19544 Support to convert ACPI constants (Ones, Zeros, One) to actual
   19545 values before a package object is returned
   19546 
   19547 Fix for method call as predicate to if/while construct causing
   19548 incorrect if/while behavior
   19549 
   19550 Fix for Else block package lengths sometimes calculated wrong (if
   19551 block > 63 bytes)
   19552 
   19553 Fix for Processor object length field, was always zero
   19554 
   19555 Table load abort if FACP sanity check fails
   19556 
   19557 Fix for problem with Scope(name) if name already exists
   19558 
   19559 Warning emitted if a named object referenced cannot be found
   19560 (resolved) during method execution.
   19561 
   19562 
   19563 
   19564 
   19565 
   19566 ------------------------------------------
   19567 Summary of changes for this label: 9_29_00
   19568 
   19569 New table initialization interfaces: AcpiInitializeSubsystem no
   19570 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
   19571 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
   19572 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
   19573 AcpiLoadTables
   19574 
   19575 Note: These interface changes require changes to all existing OSDs
   19576 
   19577 The PCI_Config default address space handler is always installed
   19578 at the root namespace object.
   19579 
   19580 -------------------------------------------
   19581 Summary of changes for this label: 09_15_00
   19582 
   19583 The new initialization architecture is implemented.  New
   19584 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
   19585 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
   19586 
   19587 (Namespace is automatically loaded when a table is loaded)
   19588 
   19589 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
   19590 52 bytes to 32 bytes.  There is usually one of these for every
   19591 namespace object, so the memory savings is significant.
   19592 
   19593 Implemented just-in-time evaluation of the CreateField operators.
   19594 
   19595 Bug fixes for IA-64 support have been integrated.
   19596 
   19597 Additional code review comments have been implemented
   19598 
   19599 The so-called "third pass parse" has been replaced by a final walk
   19600 through the namespace to initialize all operation regions (address
   19601 spaces) and fields that have not yet been initialized during the
   19602 execution of the various _INI and REG methods.
   19603 
   19604 New file - namespace/nsinit.c
   19605 
   19606 -------------------------------------------
   19607 Summary of changes for this label: 09_01_00
   19608 
   19609 Namespace manager data structures have been reworked to change the
   19610 primary  object from a table to a single object.  This has
   19611 resulted in dynamic memory  savings of 3X within the namespace and
   19612 2X overall in the ACPI CA subsystem.
   19613 
   19614 Fixed problem where the call to AcpiEvFindPciRootBuses was
   19615 inadvertently left  commented out.
   19616 
   19617 Reduced the warning count when generating the source with the GCC
   19618 compiler.
   19619 
   19620 Revision numbers added to each module header showing the
   19621 SourceSafe version of the file.  Please refer to this version
   19622 number when giving us feedback or comments on individual modules.
   19623 
   19624 The main object types within the subsystem have been renamed to
   19625 clarify their  purpose:
   19626 
   19627 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
   19628 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
   19629 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
   19630 
   19631 NOTE: no changes to the initialization sequence are included in
   19632 this label.
   19633 
   19634 -------------------------------------------
   19635 Summary of changes for this label: 08_23_00
   19636 
   19637 Fixed problem where TerminateControlMethod was being called
   19638 multiple times per  method
   19639 
   19640 Fixed debugger problem where single stepping caused a semaphore to
   19641 be  oversignalled
   19642 
   19643 Improved performance through additional parse object caching -
   19644 added  ACPI_EXTENDED_OP type
   19645 
   19646 -------------------------------------------
   19647 Summary of changes for this label: 08_10_00
   19648 
   19649 Parser/Interpreter integration:  Eliminated the creation of
   19650 complete parse trees  for ACPI tables and control methods.
   19651 Instead, parse subtrees are created and  then deleted as soon as
   19652 they are processed (Either entered into the namespace or  executed
   19653 by the interpreter).  This reduces the use of dynamic kernel
   19654 memory  significantly. (about 10X)
   19655 
   19656 Exception codes broken into classes and renumbered.  Be sure to
   19657 recompile all  code that includes acexcep.h.  Hopefully we won't
   19658 have to renumber the codes  again now that they are split into
   19659 classes (environment, programmer, AML code,  ACPI table, and
   19660 internal).
   19661 
   19662 Fixed some additional alignment issues in the Resource Manager
   19663 subcomponent
   19664 
   19665 Implemented semaphore tracking in the AcpiExec utility, and fixed
   19666 several places  where mutexes/semaphores were being unlocked
   19667 without a corresponding lock  operation.  There are no known
   19668 semaphore or mutex "leaks" at this time.
   19669 
   19670 Fixed the case where an ASL Return operator is used to return an
   19671 unnamed  package.
   19672 
   19673 -------------------------------------------
   19674 Summary of changes for this label: 07_28_00
   19675 
   19676 Fixed a problem with the way addresses were calculated in
   19677 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
   19678 manifested itself when a Field was  created with WordAccess or
   19679 DwordAccess, but the field unit defined within the  Field was less
   19680 
   19681 than a Word or Dword.
   19682 
   19683 Fixed a problem in AmlDumpOperands() module's loop to pull
   19684 operands off of the  operand stack to display information. The
   19685 problem manifested itself as a TLB  error on 64-bit systems when
   19686 accessing an operand stack with two or more  operands.
   19687 
   19688 Fixed a problem with the PCI configuration space handlers where
   19689 context was  getting confused between accesses. This required a
   19690 change to the generic address  space handler and address space
   19691 setup definitions. Handlers now get both a  global handler context
   19692 (this is the one passed in by the user when executing
   19693 AcpiInstallAddressSpaceHandler() and a specific region context
   19694 that is unique to  each region (For example, the _ADR, _SEG and
   19695 _BBN values associated with a  specific region). The generic
   19696 function definitions have changed to the  following:
   19697 
   19698 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
   19699 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
   19700 *HandlerContext, // This used to be void *Context void
   19701 *RegionContext); // This is an additional parameter
   19702 
   19703 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
   19704 RegionHandle, UINT32 Function, void *HandlerContext,  void
   19705 **RegionContext); // This used to be **ReturnContext
   19706 
   19707 -------------------------------------------
   19708 Summary of changes for this label: 07_21_00
   19709 
   19710 Major file consolidation and rename.  All files within the
   19711 interpreter have been  renamed as well as most header files.  This
   19712 was done to prevent collisions with  existing files in the host
   19713 OSs -- filenames such as "config.h" and "global.h"  seem to be
   19714 quite common.  The VC project files have been updated.  All
   19715 makefiles  will require modification.
   19716 
   19717 The parser/interpreter integration continues in Phase 5 with the
   19718 implementation  of a complete 2-pass parse (the AML is parsed
   19719 twice) for each table;  This  avoids the construction of a huge
   19720 parse tree and therefore reduces the amount of  dynamic memory
   19721 required by the subsystem.  Greater use of the parse object cache
   19722 means that performance is unaffected.
   19723 
   19724 Many comments from the two code reviews have been rolled in.
   19725 
   19726 The 64-bit alignment support is complete.
   19727 
   19728 -------------------------------------------
   19729 Summary of changes for this label: 06_30_00
   19730 
   19731 With a nod and a tip of the hat to the technology of yesteryear,
   19732 we've added  support in the source code for 80 column output
   19733 devices.  The code is now mostly  constrained to 80 columns or
   19734 less to support environments and editors that 1)  cannot display
   19735 or print more than 80 characters on a single line, and 2) cannot
   19736 disable line wrapping.
   19737 
   19738 A major restructuring of the namespace data structure has been
   19739 completed.  The  result is 1) cleaner and more
   19740 understandable/maintainable code, and 2) a  significant reduction
   19741 in the dynamic memory requirement for each named ACPI  object
   19742 (almost half).
   19743 
   19744 -------------------------------------------
   19745 Summary of changes for this label: 06_23_00
   19746 
   19747 Linux support has been added.  In order to obtain approval to get
   19748 the ACPI CA  subsystem into the Linux kernel, we've had to make
   19749 quite a few changes to the  base subsystem that will affect all
   19750 users (all the changes are generic and OS- independent).  The
   19751 effects of these global changes have been somewhat far  reaching.
   19752 Files have been merged and/or renamed and interfaces have been
   19753 renamed.   The major changes are described below.
   19754 
   19755 Osd* interfaces renamed to AcpiOs* to eliminate namespace
   19756 pollution/confusion  within our target kernels.  All OSD
   19757 interfaces must be modified to match the new  naming convention.
   19758 
   19759 Files merged across the subsystem.  A number of the smaller source
   19760 and header  files have been merged to reduce the file count and
   19761 increase the density of the  existing files.  There are too many
   19762 to list here.  In general, makefiles that  call out individual
   19763 files will require rebuilding.
   19764 
   19765 Interpreter files renamed.  All interpreter files now have the
   19766 prefix am*  instead of ie* and is*.
   19767 
   19768 Header files renamed:  The acapi.h file is now acpixf.h.  The
   19769 acpiosd.h file is  now acpiosxf.h.  We are removing references to
   19770 the acronym "API" since it is  somewhat windowsy. The new name is
   19771 "external interface" or xface or xf in the  filenames.j
   19772 
   19773 
   19774 All manifest constants have been forced to upper case (some were
   19775 mixed case.)   Also, the string "ACPI_" has been prepended to many
   19776 (not all) of the constants,  typedefs, and structs.
   19777 
   19778 The globals "DebugLevel" and "DebugLayer" have been renamed
   19779 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
   19780 
   19781 All other globals within the subsystem are now prefixed with
   19782 "AcpiGbl_" Internal procedures within the subsystem are now
   19783 prefixed with "Acpi" (with only  a few exceptions).  The original
   19784 two-letter abbreviation for the subcomponent  remains after "Acpi"
   19785 - for example, CmCallocate became AcpiCmCallocate.
   19786 
   19787 Added a source code translation/conversion utility.  Used to
   19788 generate the Linux  source code, it can be modified to generate
   19789 other types of source as well. Can  also be used to cleanup
   19790 existing source by removing extraneous spaces and blank  lines.
   19791 Found in tools/acpisrc/*
   19792 
   19793 OsdUnMapMemory was renamed to OsdUnmapMemory and then
   19794 AcpiOsUnmapMemory.  (UnMap  became Unmap).
   19795 
   19796 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
   19797 When set to  one, this indicates that the caller wants to use the
   19798 
   19799 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
   19800 both types.  However, implementers of this  call may want to use
   19801 different OS primitives depending on the type of semaphore
   19802 requested.  For example, some operating systems provide separate
   19803 
   19804 "mutex" and  "semaphore" interfaces - where the mutex interface is
   19805 much faster because it  doesn't have all the overhead of a full
   19806 semaphore implementation.
   19807 
   19808 Fixed a deadlock problem where a method that accesses the PCI
   19809 address space can  block forever if it is the first access to the
   19810 space.
   19811 
   19812 -------------------------------------------
   19813 Summary of changes for this label: 06_02_00
   19814 
   19815 Support for environments that cannot handle unaligned data
   19816 accesses (e.g.  firmware and OS environments devoid of alignment
   19817 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
   19818 been added (via configurable macros) in  these three areas: -
   19819 Transfer of data from the raw AML byte stream is done via byte
   19820 moves instead of    word/dword/qword moves. - External objects are
   19821 aligned within the user buffer, including package   elements (sub-
   19822 objects). - Conversion of name strings to UINT32 Acpi Names is now
   19823 done byte-wise.
   19824 
   19825 The Store operator was modified to mimic Microsoft's
   19826 implementation when storing  to a Buffer Field.
   19827 
   19828 Added a check of the BM_STS bit before entering C3.
   19829 
   19830 The methods subdirectory has been obsoleted and removed.  A new
   19831 file, cmeval.c  subsumes the functionality.
   19832 
   19833 A 16-bit (DOS) version of AcpiExec has been developed.  The
   19834 makefile is under  the acpiexec directory.
   19835