Sync ACPICA with Intel's version 20170831.
[dragonfly.git] / sys / contrib / dev / acpica / changes.txt
blobdb25f7e5fb91a4d00640ac79335e013a5ef4736d
1 ----------------------------------------
2 31 August 2017. Summary of changes for version 20170831:
5 1) ACPICA kernel-resident subsystem:
7 Implemented internal support for full 64-bit addresses that appear in all 
8 Generic Address Structure (GAS) structures. Previously, only the lower 32 
9 bits were used. Affects the use of GAS structures in the FADT and other 
10 tables, as well as the GAS structures passed to the AcpiRead and 
11 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
13 Added header support for the PDTT ACPI table (Processor Debug Trigger 
14 Table). Full support in the iASL Data Table Compiler and disassembler is 
15 forthcoming.
18 2) iASL Compiler/Disassembler and Tools:
20 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor 
21 Properties Topology Table) where a flag bit was specified in the wrong 
22 bit position ("Line Size Valid", bit 6).
24 iASL: Implemented support for Octal integer constants as defined by the 
25 ASL language grammar, per the ACPI specification. Any integer constant 
26 that starts with a zero is an octal constant. For example,
27     Store (037777, Local0) /* Octal constant */
28     Store (0x3FFF, Local0) /* Hex equivalent */
29     Store (16383,  Local0) /* Decimal equivalent */
31 iASL: Improved overflow detection for 64-bit string conversions during 
32 compilation of integer constants. "Overflow" in this case means a string 
33 that represents an integer that is too large to fit into a 64-bit value. 
34 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to 
35 the low-order 32 bits with a warning, as previously implemented. Several 
36 new exceptions are defined that indicate a 64-bit overflow, as well as 
37 the base (radix) that was used during the attempted conversion. Examples:
38     Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF        // AE_HEX_OVERFLOW
39     Local0 = 01111222233334444555566667777     // AE_OCTAL_OVERFLOW
40     Local0 = 11112222333344445555666677778888  // AE_DECIMAL_OVERFLOW
42 iASL: Added a warning for the case where a ResourceTemplate is declared 
43 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In 
44 this case, the resulting template is created with a single END_TAG 
45 descriptor, which is essentially useless.
47 iASL: Expanded the -vw option (ignore specific warnings/remarks) to 
48 include compilation error codes as well.
50 ----------------------------------------
51 28 July 2017. Summary of changes for version 20170728:
54 1) ACPICA kernel-resident subsystem:
56 Fixed a regression seen with small resource descriptors that could cause 
57 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
59 AML interpreter: Implemented a new feature that allows forward references 
60 from individual named references within package objects that are 
61 contained within blocks of "module-level code". This provides 
62 compatibility with other ACPI implementations and supports existing 
63 firmware that depends on this feature. Example:
65     Name (ABCD, 1)
66     If (ABCD)                       /* An If() at module-level */
67     {
68         Name (PKG1, Package()
69         {
70             INT1                    /* Forward reference to object INT1 
72         })
73         Name (INT1, 0x1234)
74     }
76 AML Interpreter: Fixed a problem with the Alias() operator where aliases 
77 to some ASL objects were not handled properly. Objects affected are: 
78 Mutex, Event, and OperationRegion.
80 AML Debugger: Enhanced to properly handle AML Alias objects. These 
81 objects have one level of indirection which was not fully supported by 
82 the debugger.
84 Table Manager: Added support to detect and ignore duplicate SSDTs within 
85 the XSDT/RSDT. This error in the XSDT has been seen in the field.
87 EFI and EDK2 support:
88     Enabled /WX flag for MSVC builds
89     Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
90     Added local support for 64-bit multiply and shift operations
91     Added support to compile acpidump.efi on Windows
92     Added OSL function stubs for interfaces not used under EFI
94 Added additional support for the _DMA predefined name. _DMA returns a 
95 buffer containing a resource template. This change add support within the 
96 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of 
97 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
100 2) iASL Compiler/Disassembler and Tools:
102 iASL: Fixed a problem where the internal input line buffer(s) could 
103 overflow if there are very long lines in the input ASL source code file. 
104 Implemented buffer management that automatically increases the size of 
105 the buffers as necessary.
107 iASL: Added an option (-vx) to "expect" particular remarks, warnings and 
108 errors. If the specified exception is not raised during compilation, the 
109 compiler emits an error. This is intended to support the ASL test suite, 
110 but may be useful in other contexts.
112 iASL: Implemented a new predefined macro, __METHOD__, which returns a 
113 string containing the name of the current control method that is being 
114 compiled.
116 iASL: Implemented debugger and table compiler support for the SDEI ACPI 
117 table (Software Delegated Exception Interface). James Morse 
118 <james.morse@arm.com>
120 Unix/Linux makefiles: Added an option to disable compile optimizations. 
121 The disable occurs when the NOOPT flag is set to TRUE. 
122 theracermaster@gmail.com
124 Acpidump: Added support for multiple DSDT and FACS tables. This can occur 
125 when there are different tables for 32-bit versus 64-bit.
127 Enhanced error reporting for the ASL test suite (ASLTS) by removing 
128 unnecessary/verbose text, and emit the actual line number where an error 
129 has occurred. These changes are intended to improve the usefulness of the 
130 test suite.
132 ----------------------------------------
133 29 June 2017. Summary of changes for version 20170629:
136 1) ACPICA kernel-resident subsystem:
138 Tables: Implemented a deferred ACPI table verification. This is useful 
139 for operating systems where the tables cannot be verified in the early 
140 initialization stage due to early memory mapping limitations on some 
141 architectures. Lv Zheng.
143 Tables: Removed the signature validation for dynamically loaded tables. 
144 Provides compatibility with other ACPI implementations. Previously, only 
145 SSDT tables were allowed, as per the ACPI specification. Now, any table 
146 signature can be used via the Load() operator. Lv Zheng.
148 Tables: Fixed several mutex issues that could cause errors during table 
149 acquisition. Lv Zheng.
151 Tables: Fixed a problem where an ACPI warning could be generated if a 
152 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
154 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and 
155 AcpiPutTable interfaces. This applies to the "late stage" table loading 
156 when the use of AcpiPutTable is no longer required (since the system 
157 memory manager is fully running and available). Lv Zheng.
159 Fixed/Reverted a regression during processing of resource descriptors 
160 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG 
161 exception in this case.
163 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the 
164 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
166 Interpreter: Fixed a possible fault if an Alias operator with an invalid 
167 or duplicate target is encountered during Alias creation in 
168 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
170 Added an option to use designated initializers for function pointers. 
171 Kees Cook <keescook@google.com>
174 2) iASL Compiler/Disassembler and Tools:
176 iASL: Allow compilation of External declarations with target pathnames 
177 that refer to existing named objects within the table. Erik Schmauss.
179 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a 
180 FieldUnit name also is declared via External in the same table. Erik 
181 Schmauss.
183 iASL: Allow existing scope names within pathnames used in External 
184 statements. For example:
185     External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
186     Device (ABCD)
188 iASL: IORT ACPI table: Implemented changes required to decode the new 
189 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table 
190 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
192 Disassembler: Don't abort disassembly on errors from External() 
193 statements. Erik Schmauss.
195 Disassembler: fixed a possible fault when one of the Create*Field 
196 operators references a Resource Template. ACPICA Bugzilla 1396.
198 iASL: In the source code, resolved some naming inconsistences across the 
199 parsing support. Fixes confusion between "Parse Op" and "Parse Node". 
200 Adds a new file, aslparseop.c
202 ----------------------------------------
203 31 May 2017. Summary of changes for version 20170531:
206 0) ACPI 6.2 support:
208 The ACPI specification version 6.2 has been released and is available at
209 http://uefi.org/specifications
211 This version of ACPICA fully supports the ACPI 6.2 specification. Changes 
212 are summarized below.
214 New ACPI tables (Table Compiler/Disassembler/Templates):
215     HMAT (Heterogeneous Memory Attributes Table)
216     WSMT (Windows SMM Security Mitigation Table)
217     PPTT (Processor Properties Topology Table)
219 New subtables for existing ACPI tables:
220     HEST (New subtable, Arch-deferred machine check)
221     SRAT (New subtable, Arch-specific affinity structure)
222     PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
224 Simple updates for existing ACPI tables:
225     BGRT (two new flag bits)
226     HEST (New bit defined for several subtables, GHES_ASSIST)
228 New Resource Descriptors and Resource macros (Compiler/Disassembler):
229     PinConfig()
230     PinFunction()
231     PinGroup()
232     PinGroupConfig()
233     PinGroupFunction()
234     New type for hardware error notification (section 18.3.2.9)
236 New predefined names/methods (Compiler/Interpreter):
237     _HMA (Heterogeneous Memory Attributes)
238     _LSI (Label Storage Information)
239     _LSR (Label Storage Read)
240     _LSW (Label Storage Write)
242 ASL grammar/macro changes (Compiler):
243     For() ASL macro, implemented with the AML while operator
244     Extensions to Concatenate operator
245     Support for multiple definition blocks in same ASL file
246     Clarification for Buffer operator
247     Allow executable AML code underneath all scopes (Devices, etc.)
248     Clarification/change for the _OSI return value
249     ASL grammar update for reference operators
250     Allow a zero-length string for AML filename in DefinitionBlock
252 Miscellaneous:
253     New device object notification value
254     Remove a notify value (0x0C) for graceful shutdown
255     New UUIDs for processor/cache properties and
256         physical package property
257     New _HID, ACPI0014 (Wireless Power Calibration Device)
260 1) ACPICA kernel-resident subsystem:
262 Added support to disable ACPI events on hardware-reduced platforms. 
263 Eliminates error messages of the form "Could not enable fixed event". Lv 
264 Zheng
266 Fixed a problem using Device/Thermal objects with the ObjectType and 
267 DerefOf ASL operators. This support had not been fully/properly 
268 implemented.
270 Fixed a problem where if a Buffer object containing a resource template 
271 was longer than the actual resource template, an error was generated -- 
272 even though the AML is legal. This case has been seen in the field.
274 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag. 
275 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
277 Added header file changes for the TPM2 ACPI table. Update to new version 
278 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
280 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex. 
281 These interfaces are intended to be used only in conjunction with the 
282 predefined _DLM method (Device Lock Method). "This object appears in a 
283 device scope when AML access to the device must be synchronized with the 
284 OS environment".
286 Example Code and Data Size: These are the sizes for the OS-independent 
287 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
288 debug version of the code includes the debug output trace mechanism and 
289 has a much larger code and data size.
291   Current Release:
292     Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
293     Debug Version:     204.0K Code, 84.3K Data, 288.3K Total
294   Previous Release:
295     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
296     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
299 2) iASL Compiler/Disassembler and Tools:
301 iASL: Fixed a problem where an External() declaration could not refer to 
302 a Field Unit. Erik Schmauss.
304 Disassembler: Improved support for the Switch/Case operators. This 
305 feature will disassemble AML code back to the original Switch operators 
306 when possible, instead of an If..Else sequence. David Box
308 iASL and disassembler: Improved the handling of multiple extraneous 
309 parentheses for both ASL input and disassembled ASL output.
311 Improved the behavior of the iASL compiler and disassembler to detect 
312 improper use of external declarations
314 Disassembler: Now aborts immediately upon detection of an unknown AML 
315 opcode. The AML parser has no real way to recover from this, and can 
316 result in the creation of an ill-formed parse tree that causes errors 
317 later during the disassembly.
319 All tools: Fixed a problem where the Unix application OSL did not handle 
320 control-c correctly. For example, a control-c could incorrectly wake the 
321 debugger.
323 AcpiExec: Improved the Control-C handling and added a handler for 
324 segmentation faults (SIGSEGV). Supports both Windows and Unix-like 
325 environments.
327 Reduced the verbosity of the generic unix makefiles. Previously, each 
328 compilation displayed the full set of compiler options. This has been 
329 eliminated as the options are easily inspected within the makefiles. Each 
330 compilation now results in a single line of output.
332 ----------------------------------------
333 03 March 2017. Summary of changes for version 20170303:
336 0) ACPICA licensing:
338 The licensing information at the start of each source code module has 
339 been updated. In addition to the Intel license, the dual GPLv2/BSD 
340 license has been added for completeness. Now, a single version of the 
341 source code should be suitable for all ACPICA customers. This is the 
342 major change for this release since it affects all source code modules.
345 1) ACPICA kernel-resident subsystem: 
347 Fixed two issues with the common asltypes.h header that could cause 
348 problems in some environments: (Kim Jung-uk)
349     Removed typedef for YY_BUFFER_STATE ?
350        Fixes an error with earlier versions of Flex.
351     Removed use of FILE typedef (which is only defined in stdio.h)
354 2) iASL Compiler/Disassembler and Tools: 
356 Disassembler: fixed a regression introduced in 20170224. A fix for a 
357 memory leak related to resource descriptor tags (names) could fault when 
358 the disassembler was generated with 64-bit compilers.
360 The ASLTS test suite has been updated to implement a new testing 
361 architecture. During generation of the suite from ASL source, both the 
362 ASL and ASL+ compilers are now validated, as well as the disassembler 
363 itself (Erik Schmauss). The architecture executes as follows:
365     For every ASL source module:
366         Compile (legacy ASL compilation)
367         Disassemble the resulting AML to ASL+ source code
368         Compile the new ASL+ module
369         Perform a binary compare on the legacy AML and the new ASL+ AML
370     The ASLTS suite then executes normally using the AML binaries.
372 ----------------------------------------
373 24 February 2017. Summary of changes for version 20170224:
376 1) ACPICA kernel-resident subsystem:
378 Interpreter: Fixed two issues with the control method return value auto-
379 repair feature, where an attempt to double-delete an internal object 
380 could result in an ACPICA warning (for _CID repair and others). No fault 
381 occurs, however, because the attempted deletion (actually a release to an 
382 internal cache) is detected and ignored via object poisoning.
384 Debugger: Fixed an AML interpreter mutex issue during the single stepping 
385 of control methods. If certain debugger commands are executed during 
386 stepping, a mutex aquire/release error could occur. Lv Zheng.
388 Fixed some issues generating ACPICA with the Intel C compiler by 
389 restoring the original behavior and compiler-specific include file in 
390 acenv.h. Lv Zheng.
392 Example Code and Data Size: These are the sizes for the OS-independent 
393 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
394 debug version of the code includes the debug output trace mechanism and 
395 has a much larger code and data size.
397   Current Release:
398     Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
399     Debug Version:     207.5K Code, 82.7K Data, 290.2K Total
400   Previous Release:
401     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
402     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
405 2) iASL Compiler/Disassembler and Tools:
407 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion 
408 tool has been designed, implemented, and included in this release. The 
409 key feature of this utility is that the original comments within the 
410 input ASL file are preserved during the conversion process, and included 
411 within the converted ASL+ file -- thus creating a transparent conversion 
412 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
414     Usage: iasl -ca <ASL-filename>  // Output is a .dsl file with 
415 converted code
417 iASL/Disassembler: Improved the detection and correct disassembly of 
418 Switch/Case operators. This feature detects sequences of if/elseif/else 
419 operators that originated from ASL Switch/Case/Default operators and 
420 emits the original operators. David Box.
422 iASL: Improved the IORT ACPI table support in the following areas. Lv 
423 Zheng:
424     Clear MappingOffset if the MappingCount is zero.
425     Fix the disassembly of the SMMU GSU interrupt offset.
426     Update the template file for the IORT table.
428 Disassembler: Enhanced the detection and disassembly of resource 
429 template/descriptor within a Buffer object. An EndTag descriptor is now 
430 required to have a zero second byte, since all known ASL compilers emit 
431 this. This helps eliminate incorrect decisions when a buffer is 
432 disassembled (false positives on resource templates).
434 ----------------------------------------
435 19 January 2017. Summary of changes for version 20170119:
438 1) General ACPICA software:
440 Entire source code base: Added the 2017 copyright to all source code 
441 legal/licensing module headers and utility/tool signons. This includes 
442 the standard Linux dual-license header. This affects virtually every file 
443 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and 
444 the ACPICA test suite.
447 2) iASL Compiler/Disassembler and Tools:
449 iASL: Removed/fixed an inadvertent remark when a method argument 
450 containing a reference is used as a target operand within the method (and 
451 never used as a simple argument), as in the example below. Jeffrey Hugo.
453     dsdt.asl   1507:    Store(0x1, Arg0)
454     Remark   2146 -                ^ Method Argument is never used (Arg0)
456 All tools: Removed the bit width of the compiler that generated the tool 
457 from the common signon for all user space tools. This proved to be 
458 confusing and unnecessary. This includes similar removal of HARDWARE_NAME 
459 from the generic makefiles (Thomas Petazzoni). Example below.
461     Old:
462     ASL+ Optimizing Compiler version 20170119-32
463     ASL+ Optimizing Compiler version 20170119-64
465     New:
466     ASL+ Optimizing Compiler version 20170119
468 ----------------------------------------
469 22 December 2016. Summary of changes for version 20161222:
472 1) ACPICA kernel-resident subsystem:
474 AML Debugger: Implemented a new mechanism to simplify and enhance 
475 debugger integration into all environments, including kernel debuggers 
476 and user-space utilities, as well as remote debug services. This 
477 mechanism essentially consists of new OSL interfaces to support debugger 
478 initialization/termination, as well as wait/notify interfaces to perform 
479 the debugger handshake with the host. Lv Zheng.
481     New OSL interfaces:
482         AcpiOsInitializeDebugger (void)
483         AcpiOsTerminateDebugger (void)
484         AcpiOsWaitCommandReady (void)
485         AcpiOsNotifyCommandComplete (void)
487     New OS services layer:
488         osgendbg.c -- Example implementation, and used for AcpiExec
490 Update for Generic Address Space (GAS) support: Although the AccessWidth 
491 and/or BitOffset fields of the GAS are not often used, this change now 
492 fully supports these fields. This affects the internal support for FADT 
493 registers, registers in other ACPI data tables, and the AcpiRead and 
494 AcpiWrite public interfaces. Lv Zheng.
496 Sleep support: In order to simplify integration of ACPI sleep for the 
497 various host operating systems, a new OSL interface has been introduced. 
498 AcpiOsEnterSleep allows the host to perform any required operations 
499 before the final write to the sleep control register(s) is performed by 
500 ACPICA. Lv Zheng.
502     New OSL interface:
503         AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
505     Called from these internal interfaces:
506         AcpiHwLegacySleep
507         AcpiHwExtendedSleep
509 EFI support: Added a very small EFI/ACPICA example application. Provides 
510 a simple demo for EFI integration, as well as assisting with resolution 
511 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
513     source/tools/efihello/efihello.c
515 Local C library: Implemented several new functions to enhance ACPICA 
516 portability, for environments where these clib functions are not 
517 available (such as EFI). Lv Zheng:
518     putchar
519     getchar
520     strpbrk
521     strtok
522     memmove
524 Fixed a regression where occasionally a valid resource descriptor was 
525 incorrectly detected as invalid at runtime, and a 
526 AE_AML_NO_RESOURCE_END_TAG was returned.
528 Fixed a problem with the recently implemented support that enables 
529 control method invocations as Target operands to many ASL operators. 
530 Warnings of this form: "Needed type [Reference], found [Processor]" were 
531 seen at runtime for some method invocations.
533 Example Code and Data Size: These are the sizes for the OS-independent 
534 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
535 debug version of the code includes the debug output trace mechanism and 
536 has a much larger code and data size.
538   Current Release:
539     Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
540     Debug Version:     201.7K Code, 82.7K Data, 284.4K Total
541   Previous Release:
542     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
543     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
546 2) iASL Compiler/Disassembler and Tools:
548 Disassembler: Enhanced output by adding the capability to detect and 
549 disassemble ASL Switch/Case statements back to the original ASL source 
550 code instead of if/else blocks. David Box.
552 AcpiHelp: Split a large file into separate files based upon 
553 functionality/purpose. New files are:
554     ahaml.c
555     ahasl.c
557 ----------------------------------------
558 17 November 2016. Summary of changes for version 20161117:
561 1) ACPICA kernel-resident subsystem:
563 Table Manager: Fixed a regression introduced in 20160729, "FADT support 
564 cleanup". This was an attempt to remove all references in the source to 
565 the FADT version 2, which never was a legal version number. It was 
566 skipped because it was an early version of 64-bit support that was 
567 eventually abandoned for the current 64-bit support.
569 Interpreter: Fixed a problem where runtime implicit conversion was 
570 incorrectly disabled for the ASL operators below. This brings the 
571 behavior into compliance with the ACPI specification:
572     FromBCD
573     ToBCD
574     ToDecimalString
575     ToHexString
576     ToInteger
577     ToBuffer
579 Table Manager: Added a new public interface, AcpiPutTable, used to 
580 release and free an ACPI table returned by AcpiGetTable and related 
581 interfaces. Lv Zheng.
583 Example Code and Data Size: These are the sizes for the OS-independent 
584 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
585 debug version of the code includes the debug output trace mechanism and 
586 has a much larger code and data size.
588   Current Release:
589     Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
590     Debug Version:     201.3K Code, 82.7K Data, 284.0K Total
591   Previous Release:
592     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
593     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
596 2) iASL Compiler/Disassembler and Tools:
598 Disassembler: Fixed a regression for disassembly of Resource Template. 
599 Detection of templates in the AML stream missed some types of templates.
601 iASL: Fixed a problem where an Access Size error was returned for the PCC 
602 address space when the AccessSize of the GAS register is greater than a 
603 DWORD. Hoan Tran.
605 iASL: Implemented several grammar changes for the operators below. These 
606 changes are slated for the next version of the ACPI specification:
607     RefOf        - Disallow method invocation as an operand
608     CondRefOf    - Disallow method invocation as an operand
609     DerefOf      - Disallow operands that use the result from operators 
610 that
611                    do not return a reference (Changed TermArg to 
612 SuperName).
614 iASL: Control method invocations are now allowed for Target operands, as 
615 per the ACPI specification. Removed error for using a control method 
616 invocation as a Target operand.
618 Disassembler: Improved detection of Resource Templates, Unicode, and 
619 Strings within Buffer objects. These subtypes do not contain a specific 
620 opcode to indicate the originating ASL code, and they must be detected by 
621 other means within the disassembler. 
623 iASL: Implemented an optimization improvement for 32-bit ACPI tables 
624 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode 
625 only after 64-bit to 32-bit truncation. A truncation warning message is 
626 still emitted, however.
628 AcpiXtract: Implemented handling for both types of line terminators (LF 
629 or CR/LF) so that it can accept AcpiDump output files from any system. 
630 Peter Wu.
632 AcpiBin: Added two new options for comparing AML files:
633     -a: compare and display ALL mismatches
634     -o: start compare at this offset into the second file
636 ----------------------------------------
637 30 September 2016. Summary of changes for version 20160930:
640 1) ACPICA kernel-resident subsystem:
642 Fixed a regression in the internal AcpiTbFindTable function where a non 
643 AE_OK exception could inadvertently be returned even if the function did 
644 not fail. This problem affects the following operators:
645     DataTableRegion
646     LoadTable
648 Fixed a regression in the LoadTable operator where a load to any 
649 namespace location other than the root no longer worked properly.
651 Increased the maximum loop count value that will result in the 
652 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to 
653 prevent infinite loops within the AML interpreter and thus the host OS 
654 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to 
655 1,048,575).
657 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public 
658 acpixf.h file. This allows hosts to easily configure the maximum loop 
659 count at runtime.
661 Removed an illegal character in the strtoul64.c file. This character 
662 caused errors with some C compilers.
664 Example Code and Data Size: These are the sizes for the OS-independent 
665 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
666 debug version of the code includes the debug output trace mechanism and 
667 has a much larger code and data size.
669   Current Release:
670     Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
671     Debug Version:     200.7K Code, 82.1K Data, 282.8K Total
672   Previous Release:
673     Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
674     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
677 2) iASL Compiler/Disassembler and Tools:
679 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into 
680 the simpler ASL ElseIf keyword. During the conversion, a trailing If 
681 block could be lost and missing from the disassembled output.
683 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+, 
684 the missing rule caused a parse error when using the Index operator as an 
685 operand to ObjectType. This construct now compiles properly. Example:
686     ObjectType(PKG1[4]).
688 iASL: Correctly handle unresolved symbols in the hardware map file (-lm 
689 option). Previously, unresolved symbols could cause a protection fault. 
690 Such symbols are now marked as unresolved in the map file.
692 iASL: Implemented support to allow control method invocations as an 
693 operand to the ASL DeRefOf operator. Example:
694     DeRefOf(MTH1(Local0))
696 Disassembler: Improved support for the ToPLD ASL macro. Detection of a 
697 possible _PLD buffer now includes examination of both the normal buffer 
698 length (16 or 20) as well as the surrounding AML package length.
700 Disassembler: Fixed a problem with the decoding of complex expressions 
701 within the Divide operator for ASL+. For the case where both the quotient 
702 and remainder targets are specified, the entire statement cannot be 
703 disassembled. Previously, the output incorrectly contained a mix of ASL- 
704 and ASL+ operators. This mixed statement causes a syntax error when 
705 compiled. Example:
706     Divide (Add (INT1, 6), 128, RSLT, QUOT)  // was incorrectly 
707 disassembled to:
708     Divide (INT1 + 6, 128, RSLT, QUOT)
710 iASL/Tools: Added support to process AML and non-AML ACPI tables 
711 consistently. For the disassembler and AcpiExec, allow all types of ACPI 
712 tables (AML and data tables). For the iASL -e option, allow only AML 
713 tables (DSDT/SSDT).
715 ----------------------------------------
716 31 August 2016. Summary of changes for version 20160831:
719 1) ACPICA kernel-resident subsystem:
721 Improve support for the so-called "module-level code", which is defined 
722 to be math, logical and control AML opcodes that appear outside of any 
723 control method. This change improves the support by adding more opcodes 
724 that can be executed in the manner. Some other issues have been solved, 
725 and the ASL grammar changes to support such code under all scope 
726 operators (Device, etc.) are complete. Lv Zheng.
728 UEFI support: these OSL functions have been implemented. This is an 
729 additional step toward supporting the AcpiExec utility natively (with 
730 full hardware access) under UEFI. Marcelo Ferreira.
731     AcpiOsReadPciConfiguration
732     AcpiOsWritePciConfiguration
734 Fixed a possible mutex error during control method auto-serialization. Lv 
735 Zheng. 
737 Updated support for the Generic Address Structure by fully implementing 
738 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv 
739 Zheng.
741 Updated the return value for the internal _OSI method. Instead of 
742 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF 
743 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI 
744 implementations, and will be reflected and clarified in the next version 
745 of the ACPI specification.
747 Implemented two new table events that can be passed to an ACPICA table 
748 handler. These events are used to indicate a table installation or 
749 uninstallation. These events are used in addition to existed table load 
750 and unload events. Lv Zheng.
752 Implemented a cleanup for all internal string-to-integer conversions. 
753 Consolidate multiple versions of this functionality and limit possible 
754 bases to either 10 or 16 to simplify the code. Adds a new file, 
755 utstrtoul64.
757 Cleanup the inclusion order of the various compiler-specific headers. 
758 This simplifies build configuration management. The compiler-specific 
759 headers are now split out from the host-specific headers. Lv Zheng.
761 Example Code and Data Size: These are the sizes for the OS-independent 
762 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
763 debug version of the code includes the debug output trace mechanism and 
764 has a much larger code and data size.
766   Current Release:
767     Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
768     Debug Version:     200.3K Code, 82.1K Data, 282.4K Total
771 2) iASL Compiler/Disassembler and Tools:
773 iASL/AcpiExec: Added a command line option to display the build date/time 
774 of the tool (-vd). This can be useful to verify that the correct version 
775 of the tools are being used.
777 AML Debugger: Implemented a new subcommand ("execute predef") to execute 
778 all predefined control methods and names within the current namespace. 
779 This can be useful for debugging problems with ACPI tables and the ACPI 
780 namespace.
782 ----------------------------------------
783 29 July 2016. Summary of changes for version 20160729:
786 1) ACPICA kernel-resident subsystem:
788 Implemented basic UEFI support for the various ACPICA tools. This 
789 includes:
790 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
791 2) Support to obtain the ACPI tables on UEFI.
792 3) Local implementation of required C library functions not available on 
793 UEFI.
794 4) A front-end (main) function for the tools for UEFI-related 
795 initialization.
797 The initial deployment of this support is the AcpiDump utility executing 
798 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit"). 
799 Current environments supported are Linux/Unix. MSVC generation is not 
800 supported at this time. See the generate/efi/README file for build 
801 instructions. Lv Zheng.
803 Future plans include porting the AcpiExec utility to execute natively on 
804 the platform with I/O and memory access. This will allow viewing/dump of 
805 the platform namespace and native execution of ACPI control methods that 
806 access the actual hardware. To fully implement this support, the OSL 
807 functions below must be implemented with UEFI interfaces. Any community 
808 help in the implementation of these functions would be appreciated:
809     AcpiOsReadPort
810     AcpiOsWritePort
811     AcpiOsReadMemory
812     AcpiOsWriteMemory
813     AcpiOsReadPciConfiguration
814     AcpiOsWritePciConfiguration
816 Restructured and standardized the C library configuration for ACPICA, 
817 resulting in the various configuration options below. This includes a 
818 global restructuring of the compiler-dependent and platform-dependent 
819 include files. These changes may affect the existing platform-dependent 
820 configuration files on some hosts. Lv Zheng. 
822 The current C library configuration options appear below. For any issues, 
823 it may be helpful to examine the existing compiler-dependent and 
824 platform-dependent files as examples. Lv Zheng. 
826 1) Linux kernel:
827     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
828 library.
829     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
830 2) Unix/Windows/BSD applications:
831     ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C 
832 library.
833     ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
834 3) UEFI applications:
835     ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C 
836 library.
837     ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
838 4) UEFI applications (EDK2/StdLib):
839     ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
840     ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
843 AML interpreter: "module-level code" support. Allows for execution of so-
844 called "executable" AML code (math/logical operations, etc.) outside of 
845 control methods not just at the module level (top level) but also within 
846 any scope declared outside of a control method - Scope{}, Device{}, 
847 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng. 
849 Simplified the configuration of the "maximum AML loops" global option by 
850 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be 
851 modified at runtime.
854 Example Code and Data Size: These are the sizes for the OS-independent 
855 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
856 debug version of the code includes the debug output trace mechanism and 
857 has a much larger code and data size.
859   Current Release:
860     Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
861     Debug Version:     199.0K Code, 81.8K Data, 280.8K Total
864 2) iASL Compiler/Disassembler and Tools:
866 iASL: Add full support for the RASF ACPI table (RAS Features Table). 
867 Includes disassembler, data table compiler, and header support.
869 iASL Expand "module-level code" support. Allows for 
870 compilation/disassembly of so-called "executable" AML code (math/logical 
871 operations, etc.) outside of control methods not just at the module level 
872 (top level) but also within any scope declared outside of a control 
873 method - Scope{}, Device{}, Processor{}, PowerResource{}, and 
874 ThermalZone{}.
876 AcpiDump: Added support for dumping all SSDTs on newer versions of 
877 Windows. These tables are now easily available -- SSDTs are not available 
878 through the registry on older versions.
880 ----------------------------------------
881 27 May 2016. Summary of changes for version 20160527:
884 1) ACPICA kernel-resident subsystem:
886 Temporarily reverted the new arbitrary bit length/alignment support in 
887 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been 
888 a number of regressions with the new code that need to be fully resolved 
889 and tested before this support can be finally integrated into ACPICA. 
890 Apologies for any inconveniences these issues may have caused.
892 The ACPI message macros are not configurable (ACPI_MSG_ERROR, 
893 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR, 
894 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
896 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual 
897 option. Adds a new return macro, return_STR. Junk-uk Kim.
899 Example Code and Data Size: These are the sizes for the OS-independent 
900 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
901 debug version of the code includes the debug output trace mechanism and 
902 has a much larger code and data size.
904   Current Release:
905     Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
906     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
907   Previous Release:
908     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
909     Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
911 ----------------------------------------
912 22 April 2016. Summary of changes for version 20160422:
914 1) ACPICA kernel-resident subsystem:
916 Fixed a regression in the GAS (generic address structure) arbitrary bit 
917 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior 
918 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
920 ACPI 6.0: Added support for new/renamed resource macros. One new argument 
921 was added to each of these macros, and the original name has been 
922 deprecated. The AML disassembler will always disassemble to the new 
923 names. Support for the new macros was added to iASL, disassembler, 
924 resource manager, and the acpihelp utility. ACPICA BZ 1274.
926     I2cSerialBus  -> I2cSerialBusV2
927     SpiSerialBus  -> SpiSerialBusV2
928     UartSerialBus -> UartSerialBusV2
930 ACPI 6.0: Added support for a new integer field that was appended to the 
931 package object returned by the _BIX method. This adds iASL compile-time 
932 and AML runtime error checking. ACPICA BZ 1273.
934 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm 
935 Subspace Type2" (Headers, Disassembler, and data table compiler).
937 Example Code and Data Size: These are the sizes for the OS-independent 
938 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
939 debug version of the code includes the debug output trace mechanism and 
940 has a much larger code and data size.
942   Current Release:
943     Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
944     Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
945   Previous Release:
946     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
947     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
950 2) iASL Compiler/Disassembler and Tools:
952 iASL: Implemented an ASL grammar extension to allow/enable executable 
953 "module-level code" to be created and executed under the various 
954 operators that create new scopes. This type of AML code is already 
955 supported in all known AML interpreters, and the grammar change will 
956 appear in the next version of the ACPI specification. Simplifies the 
957 conditional runtime creation of named objects under these object types: 
959     Device
960     PowerResource
961     Processor
962     Scope
963     ThermalZone
965 iASL: Implemented a new ASL extension, a "For" loop macro to add greater 
966 ease-of-use to the ASL language. The syntax is similar to the 
967 corresponding C operator, and is implemented with the existing AML While 
968 opcode -- thus requiring no changes to existing AML interpreters.
970     For (Initialize, Predicate, Update) {TermList}
972 Grammar:
973     ForTerm :=
974         For (
975             Initializer    // Nothing | TermArg => ComputationalData
976             Predicate      // Nothing | TermArg => ComputationalData
977             Update         // Nothing | TermArg => ComputationalData
978         ) {TermList}
981 iASL: The _HID/_ADR detection and validation has been enhanced to search 
982 under conditionals in order to allow these objects to be conditionally 
983 created at runtime.
985 iASL: Fixed several issues with the constant folding feature. The 
986 improvement allows better detection and resolution of statements that can 
987 be folded at compile time. ACPICA BZ 1266. 
989 iASL/Disassembler: Fixed a couple issues with the Else{If{}...} 
990 conversion to the ASL ElseIf operator where incorrect ASL code could be 
991 generated.
993 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where 
994 sometimes an extra (and extraneous) set of parentheses were emitted for 
995 some combinations of operators. Although this did not cause any problems 
996 with recompilation of the disassembled code, it made the code more 
997 difficult to read. David Box. ACPICA BZ 1231.
999 iASL: Changed to ignore the unreferenced detection for predefined names 
1000 of resource descriptor elements, when the resource descriptor is 
1001 created/defined within a control method.
1003 iASL: Disassembler: Fix a possible fault with externally declared Buffer 
1004 objects.
1006 ----------------------------------------
1007 18 March 2016. Summary of changes for version 20160318:
1009 1) ACPICA kernel-resident subsystem:
1011 Added support for arbitrary bit lengths and bit offsets for registers 
1012 defined by the Generic Address Structure. Previously, only aligned bit 
1013 lengths of 8/16/32/64 were supported. This was sufficient for many years, 
1014 but recently some machines have been seen that require arbitrary bit-
1015 level support. ACPICA BZ 1240. Lv Zheng.
1017 Fixed an issue where the \_SB._INI method sometimes must be evaluated 
1018 before any _REG methods are evaluated. Lv Zheng.
1020 Implemented several changes related to ACPI table support 
1021 (Headers/Disassembler/TableCompiler):
1022 NFIT: For ACPI 6.1, updated to add some additional new fields and 
1023 constants.
1024 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version 
1026 DMAR: Added new constants per the 10/2014 DMAR spec.
1027 IORT: Added new subtable per the 10/2015 IORT spec.
1028 HEST: For ACPI 6.1, added new constants and new subtable.
1029 DBG2: Added new constants per the 12/2015 DBG2 spec.
1030 FPDT: Fixed several incorrect fields, add the FPDT boot record structure. 
1031 ACPICA BZ 1249.
1032 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1034 Updated header support for the DMAR table to match the current version of 
1035 the related spec.
1037 Added extensions to the ASL Concatenate operator to allow any ACPI object 
1038 to be passed as an operand. Any object other than Integer/String/Buffer 
1039 simply returns a string containing the object type. This extends the 
1040 usefulness of the Printf macros. Previously, Concatenate would abort the 
1041 control method if a non-data object was encountered.
1043 ACPICA source code: Deployed the C "const" keyword across the source code 
1044 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1046 Example Code and Data Size: These are the sizes for the OS-independent 
1047 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1048 debug version of the code includes the debug output trace mechanism and 
1049 has a much larger code and data size.
1051   Current Release:
1052     Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1053     Debug Version:     201.0K Code, 82.0K Data, 283.0K Total
1054   Previous Release:
1055     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1056     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1059 2) iASL Compiler/Disassembler and Tools:
1061 iASL/Disassembler: Improved the heuristic used to determine the number of 
1062 arguments for an externally defined control method (a method in another 
1063 table). Although this is an improvement, there is no deterministic way to 
1064 "guess" the number of method arguments. Only the ACPI 6.0 External opcode 
1065 will completely solve this problem as it is deployed (automatically) in 
1066 newer BIOS code.
1068 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL 
1069 statements that could cause errors when the disassembled file is 
1070 compiled. ACPICA BZ 1243. David Box.
1072 iASL: Fixed a regression caused by the merger of the two versions of the 
1073 local strtoul64. Because of a dependency on a global variable, strtoul64 
1074 could return an error for integers greater than a 32-bit value. ACPICA BZ 
1075 1260.
1077 iASL: Fixed a regression where a fault could occur for an ASL Return 
1078 statement if it invokes a control method that is not resolved. ACPICA BZ 
1079 1264.
1081 AcpiXtract: Improved input file validation: detection of binary files and 
1082 non-acpidump text files.
1084 ----------------------------------------
1085 12 February 2016. Summary of changes for version 20160212:
1087 1) ACPICA kernel-resident subsystem:
1089 Implemented full support for the ACPI 6.1 specification (released in 
1090 January). This version of the specification is available at:  
1091 http://www.uefi.org/specifications
1093 Only a relatively small number of changes were required in ACPICA to 
1094 support ACPI 6.1, in these areas:
1095 - New predefined names
1096 - New _HID values
1097 - A new subtable for HEST
1098 - A few other header changes for new values
1100 Ensure \_SB_._INI is executed before any _REG methods are executed. There 
1101 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1103 Reverted a change made in version 20151218 which enabled method 
1104 invocations to be targets of various ASL operators (SuperName and Target 
1105 grammar elements). While the new behavior is supported by the ACPI 
1106 specification, other AML interpreters do not support this behavior and 
1107 never will. The ACPI specification will be updated for ACPI 6.2 to remove 
1108 this support. Therefore, the change was reverted to the original ACPICA 
1109 behavior.
1111 ACPICA now supports the GCC 6 compiler.
1113 Current Release: (Note: build changes increased sizes)
1114     Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1115     Debug Version:     200.4K Code, 82.0K Data, 282.4K Total
1116 Previous Release:
1117     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1118     Debug Version:     200.4K Code, 81.9K Data, 282.3K Total
1121 2) iASL Compiler/Disassembler and Tools:
1123 Completed full support for the ACPI 6.0 External() AML opcode. The 
1124 compiler emits an external AML opcode for each ASL External statement. 
1125 This opcode is used by the disassembler to assist with the disassembly of 
1126 external control methods by specifying the required number of arguments 
1127 for the method. AML interpreters do not use this opcode. To ensure that 
1128 interpreters do not even see the opcode, a block of one or more external 
1129 opcodes is surrounded by an "If(0)" construct. As this feature becomes 
1130 commonly deployed in BIOS code, the ability of disassemblers to correctly 
1131 disassemble AML code will be greatly improved. David Box.
1133 iASL: Implemented support for an optional cross-reference output file. 
1134 The -lx option will create a the cross-reference file with the suffix 
1135 "xrf". Three different types of cross-reference are created in this file:
1136 - List of object references made from within each control method
1137 - Invocation (caller) list for each user-defined control method
1138 - List of references to each non-method object in the namespace
1140 iASL: Method invocations as ASL Target operands are now disallowed and 
1141 flagged as errors in preparation for ACPI 6.2 (see the description of the 
1142 problem above).
1144 ----------------------------------------
1145 8 January 2016. Summary of changes for version 20160108:
1147 1) ACPICA kernel-resident subsystem:
1149 Updated all ACPICA copyrights and signons to 2016: Added the 2016 
1150 copyright to all source code module headers and utility/tool signons. 
1151 This includes the standard Linux dual-license header. This affects 
1152 virtually every file in the ACPICA core subsystem, iASL compiler, all 
1153 ACPICA utilities, and the ACPICA test suite.
1155 Fixed a regression introduced in version 20151218 concerning the 
1156 execution of so-called module-level ASL/AML code. Namespace objects 
1157 created under a module-level If() construct were not properly/fully 
1158 entered into the namespace and could cause an interpreter fault when 
1159 accessed.
1161 Example Code and Data Size: These are the sizes for the OS-independent 
1162 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1163 debug version of the code includes the debug output trace mechanism and 
1164 has a much larger code and data size.
1166 Current Release:
1167     Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1168     Debug Version:     200.4K Code, 81.9K Data, 282.4K Total
1169   Previous Release:
1170     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1171     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1174 2) iASL Compiler/Disassembler and Tools:
1176 Fixed a problem with the compilation of the GpioIo and GpioInt resource 
1177 descriptors. The _PIN field name was incorrectly defined to be an array 
1178 of 32-bit values, but the _PIN values are in fact 16 bits each. This 
1179 would cause incorrect bit width warnings when using Word (16-bit) fields 
1180 to access the descriptors.
1183 ----------------------------------------
1184 18 December 2015. Summary of changes for version 20151218:
1186 1) ACPICA kernel-resident subsystem:
1188 Implemented per-AML-table execution of "module-level code" as individual 
1189 ACPI tables are loaded into the namespace during ACPICA initialization. 
1190 In other words, any module-level code within an AML table is executed 
1191 immediately after the table is loaded, instead of batched and executed 
1192 after all of the tables have been loaded. This provides compatibility 
1193 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng, 
1194 David Box.
1196 To fully support the feature above, the default operation region handlers 
1197 for the SystemMemory, SystemIO, and PCI_Config address spaces are now 
1198 installed before any ACPI tables are loaded. This enables module-level 
1199 code to access these address spaces during the table load and module-
1200 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David 
1201 Box.
1203 Implemented several changes to the internal _REG support in conjunction 
1204 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples 
1205 utilities for the changes above. Although these tools were changed, host 
1206 operating systems that simply use the default handlers for SystemMemory, 
1207 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1209 For example, in the code below, DEV1 is conditionally added to the 
1210 namespace by the DSDT via module-level code that accesses an operation 
1211 region. The SSDT references DEV1 via the Scope operator. DEV1 must be 
1212 created immediately after the DSDT is loaded in order for the SSDT to 
1213 successfully reference DEV1. Previously, this code would cause an 
1214 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is 
1215 fully supported by ACPICA.
1217     DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1218     {
1219         OperationRegion (OPR1, SystemMemory, 0x400, 32)
1220         Field (OPR1, AnyAcc, NoLock, Preserve)
1221         {
1222             FLD1, 1
1223         }
1224         If (FLD1)
1225         {
1226             Device (\DEV1)
1227             {
1228             }
1229         }
1230     }
1231     DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1232     {
1233         External (\DEV1, DeviceObj)
1234         Scope (\DEV1)
1235         {
1236         }
1237     }
1239 Fixed an AML interpreter problem where control method invocations were 
1240 not handled correctly when the invocation was itself a SuperName argument 
1241 to another ASL operator. In these cases, the method was not invoked. 
1242 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName 
1243 argument:
1244     Store
1245     Acquire, Wait
1246     CondRefOf, RefOf
1247     Decrement, Increment
1248     Load, Unload
1249     Notify
1250     Signal, Release, Reset
1251     SizeOf
1253 Implemented automatic String-to-ObjectReference conversion support for 
1254 packages returned by predefined names (such as _DEP). A common BIOS error 
1255 is to add double quotes around an ObjectReference namepath, which turns 
1256 the reference into an unexpected string object. This support detects the 
1257 problem and corrects it before the package is returned to the caller that 
1258 invoked the method. Lv Zheng.
1260 Implemented extensions to the Concatenate operator. Concatenate now 
1261 accepts any type of object, it is not restricted to simply 
1262 Integer/String/Buffer. For objects other than these 3 basic data types, 
1263 the argument is treated as a string containing the name of the object 
1264 type. This expands the utility of Concatenate and the Printf/Fprintf 
1265 macros. ACPICA BZ 1222.
1267 Cleaned up the output of the ASL Debug object. The timer() value is now 
1268 optional and no longer emitted by default. Also, the basic data types of 
1269 Integer/String/Buffer are simply emitted as their values, without a data 
1270 type string -- since the data type is obvious from the output. ACPICA BZ 
1271 1221.
1273 Example Code and Data Size: These are the sizes for the OS-independent 
1274 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1275 debug version of the code includes the debug output trace mechanism and 
1276 has a much larger code and data size.
1278   Current Release:
1279     Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1280     Debug Version:     200.3K Code, 81.9K Data, 282.3K Total
1281   Previous Release:
1282     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1283     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1286 2) iASL Compiler/Disassembler and Tools:
1288 iASL: Fixed some issues with the ASL Include() operator. This operator 
1289 was incorrectly defined in the iASL parser rules, causing a new scope to 
1290 be opened for the code within the include file. This could lead to 
1291 several issues, including allowing ASL code that is technically illegal 
1292 and not supported by AML interpreters. Note, this does not affect the 
1293 related #include preprocessor operator. ACPICA BZ 1212.
1295 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This 
1296 operator is essentially an ASL macro since there is no AML opcode 
1297 associated with it. The code emitted by the iASL compiler for ElseIf is 
1298 an Else opcode followed immediately by an If opcode. The disassembler 
1299 will now emit an ElseIf if it finds an Else immediately followed by an 
1300 If. This simplifies the decoded ASL, especially for deeply nested 
1301 If..Else and large Switch constructs. Thus, the disassembled code more 
1302 closely follows the original source ASL. ACPICA BZ 1211. Example:
1304     Old disassembly:
1305         Else
1306         {
1307             If (Arg0 == 0x02)
1308             {
1309                 Local0 = 0x05
1310             }
1311         }
1313     New disassembly:
1314         ElseIf (Arg0 == 0x02)
1315         {
1316             Local0 = 0x05
1317         }
1319 AcpiExec: Added support for the new module level code behavior and the 
1320 early region installation. This required a small change to the 
1321 initialization, since AcpiExec must install its own operation region 
1322 handlers.
1324 AcpiExec: Added support to make the debug object timer optional. Default 
1325 is timer disabled. This cleans up the debug object output -- the timer 
1326 data is rarely used.
1328 AcpiExec: Multiple ACPI tables are now loaded in the order that they 
1329 appear on the command line. This can be important when there are 
1330 interdependencies/references between the tables.
1332 iASL/Templates. Add support to generate template files with multiple 
1333 SSDTs within a single output file. Also added ommand line support to 
1334 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ 
1335 1223, 1225.
1338 ----------------------------------------
1339 24 November 2015. Summary of changes for version 20151124:
1341 1) ACPICA kernel-resident subsystem:
1343 Fixed a possible regression for a previous update to FADT handling. The 
1344 FADT no longer has a fixed table ID, causing some issues with code that 
1345 was hardwired to a specific ID. Lv Zheng.
1347 Fixed a problem where the method auto-serialization could interfere with 
1348 the current SyncLevel. This change makes the auto-serialization support 
1349 transparent to the SyncLevel support and management.
1351 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This 
1352 interface is intended for early access to the namespace during the 
1353 initial namespace device discovery walk. The _SUB method has been seen to 
1354 access operation regions in some cases, causing errors because the 
1355 operation regions are not fully initialized.
1357 AML Debugger: Fixed some issues with the terminate/quit/exit commands 
1358 that can cause faults. Lv Zheng.
1360 AML Debugger: Add thread ID support so that single-step mode only applies 
1361 to the AML Debugger thread. This prevents runtime errors within some 
1362 kernels. Lv Zheng. 
1364 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx 
1365 methods that are invoked by this interface are optional, removed warnings 
1366 emitted for the case where one or more of these methods do not exist. 
1367 ACPICA BZ 1208, original change by Prarit Bhargava.
1369 Made a major pass through the entire ACPICA source code base to 
1370 standardize formatting that has diverged a bit over time. There are no 
1371 functional changes, but this will of course cause quite a few code 
1372 differences from the previous ACPICA release.
1374 Example Code and Data Size: These are the sizes for the OS-independent 
1375 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1376 debug version of the code includes the debug output trace mechanism and 
1377 has a much larger code and data size.
1379   Current Release:
1380     Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1381     Debug Version:     199.6K Code, 81.8K Data, 281.4K Total
1382   Previous Release:
1383     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1384     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1387 2) iASL Compiler/Disassembler and Tools:
1389 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple 
1390 definition blocks within a single ASL file and the resulting AML file. 
1391 Support for this type of file was also added to the various tools that 
1392 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The 
1393 example code below shows two definition blocks within the same file:
1395     DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template", 
1396 0x12345678)
1397     {
1398     }
1399     DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1400     {
1401     }
1403 iASL: Enhanced typechecking for the Name() operator. All expressions for 
1404 the value of the named object must be reduced/folded to a single constant 
1405 at compile time, as per the ACPI specification (the AML definition of 
1406 Name()).
1408 iASL: Fixed some code indentation issues for the -ic and -ia options (C 
1409 and assembly headers). Now all emitted code correctly begins in column 1.
1411 iASL: Added an error message for an attempt to open a Scope() on an 
1412 object defined in an SSDT. The DSDT is always loaded into the namespace 
1413 first, so any attempt to open a Scope on an SSDT object will fail at 
1414 runtime.
1417 ----------------------------------------
1418 30 September 2015. Summary of changes for version 20150930:
1420 1) ACPICA kernel-resident subsystem:
1422 Debugger: Implemented several changes and bug fixes to assist support for 
1423 the in-kernel version of the AML debugger. Lv Zheng.
1424 - Fix the "predefined" command for in-kernel debugger.
1425 - Do not enter debug command loop for the help and version commands.
1426 - Disallow "execute" command during execution/single-step of a method.
1428 Interpreter: Updated runtime typechecking for all operators that have 
1429 target operands. The operand is resolved and validated that it is legal. 
1430 For example, the target cannot be a non-data object such as a Device, 
1431 Mutex, ThermalZone, etc., as per the ACPI specification.
1433 Debugger: Fixed the double-mutex user I/O handshake to work when local 
1434 deadlock detection is enabled.
1436 Debugger: limited display of method locals and arguments (LocalX and 
1437 ArgX) to only those that have actually been initialized. This prevents 
1438 lines of extraneous output.
1440 Updated the definition of the NFIT table to correct the bit polarity of 
1441 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1443 Example Code and Data Size: These are the sizes for the OS-independent 
1444 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1445 debug version of the code includes the debug output trace mechanism and 
1446 has a much larger code and data size.
1448   Current Release:
1449     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1450     Debug Version:     199.3K Code, 81.4K Data, 280.7K Total
1451   Previous Release:
1452     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1453     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1456 2) iASL Compiler/Disassembler and Tools:
1458 iASL: Improved the compile-time typechecking for operands of many of the 
1459 ASL operators:
1461 -- Added an option to disable compiler operand/operator typechecking (-
1462 ot).
1464 -- For the following operators, the TermArg operands are now validated 
1465 when possible to be Integer data objects: BankField, OperationRegion, 
1466 DataTableRegion, Buffer, and Package.
1468 -- Store (Source, Target): Both the source and target operands are 
1469 resolved and checked that the operands are both legal. For example, 
1470 neither operand can be a non-data object such as a Device, Mutex, 
1471 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject 
1472 operator can be used to store an object to any type of target object.
1474 -- Store (Source, Target): If the source is a Package object, the target 
1475 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target 
1476 is a Package, the source must also be a Package.
1478 -- Store (Source, Target): A warning is issued if the source and target 
1479 resolve to the identical named object.
1481 -- Store (Source, <method invocation>): An error is generated for the 
1482 target method invocation, as this construct is not supported by the AML 
1483 interpreter.
1485 -- For all ASL math and logic operators, the target operand must be a 
1486 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This 
1487 includes the function return value also.
1489 -- External declarations are also included in the typechecking where 
1490 possible. External objects defined using the UnknownObj keyword cannot be 
1491 typechecked, however.
1493 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index 
1494 operator:
1495 - Legacy code: Index(PKG1, 3)
1496 - New ASL+ code: PKG1[3]
1497 This completes the ACPI 6.0 ASL+ support as it was the only operator not 
1498 supported.
1500 iASL: Fixed the file suffix for the preprocessor output file (.i). Two 
1501 spaces were inadvertently appended to the filename, causing file access 
1502 and deletion problems on some systems.
1504 ASL Test Suite (ASLTS): Updated the master makefile to generate all 
1505 possible compiler output files when building the test suite -- thus 
1506 exercising these features of the compiler. These files are automatically 
1507 deleted when the test suite exits.
1510 ----------------------------------------
1511 18 August 2015. Summary of changes for version 20150818:
1513 1) ACPICA kernel-resident subsystem:
1515 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv 
1516 Zheng. ACPICA BZ 1186.
1518 Completed development to ensure that the ACPICA Disassembler and Debugger 
1519 are fully standalone components of ACPICA. Removed cross-component 
1520 dependences. Lv Zheng.
1522 The max-number-of-AML-loops is now runtime configurable (previously was 
1523 compile-time only). This is essentially a loop timeout to force-abort 
1524 infinite AML loops. ACPCIA BZ 1192.
1526 Debugger: Cleanup output to dump ACPI names and namepaths without any 
1527 trailing underscores. Lv Zheng. ACPICA BZ 1135.
1529 Removed unnecessary conditional compilations across the Debugger and 
1530 Disassembler components where entire modules could be left uncompiled.
1532 The aapits test is deprecated and has been removed from the ACPICA git 
1533 tree. The test has never been completed and has not been maintained, thus 
1534 becoming rather useless. ACPICA BZ 1015, 794.
1536 A batch of small changes to close bugzilla and other reports:
1537 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1538 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1539 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1540 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob 
1541 Moore.
1542 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable. 
1543 ACPICA BZ 1184.
1544 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML 
1545 operators.
1546 - Debugger: Split debugger initialization/termination interfaces. Lv 
1547 Zheng.
1548 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table 
1549 identification.
1550 - AcpiExec: Add debug message during _REG method phase during table 
1551 load/init.
1552 - AcpiNames: Fix a regression where some output was missing and no longer 
1553 emitted.
1554 - Debugger: General cleanup and simplification. Lv Zheng.
1555 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
1557 Example Code and Data Size: These are the sizes for the OS-independent 
1558 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1559 debug version of the code includes the debug output trace mechanism and 
1560 has a much larger code and data size.
1562   Current Release:
1563     Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1564     Debug Version:     198.6K Code, 80.9K Data, 279.5K Total
1565   Previous Release:
1566     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1567     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1570 2) iASL Compiler/Disassembler and Tools:
1572 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT 
1573 were not handled properly and caused load errors. Now, properly invoke 
1574 and use the ACPICA auto-reallocate mechanism for ACPI table data 
1575 structures. ACPICA BZ 1188
1577 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA 
1578 BZ 1190.
1580 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For 
1581 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are 
1582 executed during initialization. ACPICA BZ 1187, 1189.
1584 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML 
1585 that corresponds to each disassembled ASL statement, to simplify 
1586 debugging. ACPICA BZ 1191.
1588 Debugger: Add option to the "objects" command to display a summary of the 
1589 current namespace objects (Object type and count). This is displayed if 
1590 the command is entered with no arguments.
1592 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1595 ----------------------------------------
1596 17 July 2015. Summary of changes for version 20150717:
1598 1) ACPICA kernel-resident subsystem:
1600 Improved the partitioning between the Debugger and Disassembler 
1601 components. This allows the Debugger to be used standalone within kernel 
1602 code without the Disassembler (which is used for single stepping also). 
1603 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1605 Debugger: Implemented a new command to trace the execution of control 
1606 methods (Trace). This is especially useful for the in-kernel version of 
1607 the debugger when file I/O may not be available for method trace output. 
1608 See the ACPICA reference for more information. Lv Zheng.
1610 Moved all C library prototypes (used for the local versions of these 
1611 functions when requested) to a new header, acclib.h
1612 Cleaned up the use of non-ANSI C library functions. These functions are 
1613 implemented locally in ACPICA. Moved all such functions to a common 
1614 source file, utnonansi.c
1616 Debugger: Fixed a problem with the "!!" command (get last command 
1617 executed) where the debugger could enter an infinite loop and eventually 
1618 crash.
1620 Removed the use of local macros that were used for some of the standard C 
1621 library functions to automatically cast input parameters. This mostly 
1622 affected the is* functions where the input parameter is defined to be an 
1623 int. This required a few modifications to the main ACPICA source code to 
1624 provide casting for these functions and eliminate possible compiler 
1625 warnings for these parameters.
1627 Across the source code, added additional status/error checking to resolve 
1628 issues discovered by static source code analysis tools such as Coverity.
1630 Example Code and Data Size: These are the sizes for the OS-independent 
1631 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1632 debug version of the code includes the debug output trace mechanism and 
1633 has a much larger code and data size.
1635   Current Release:
1636     Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1637     Debug Version:     197.8K Code, 81.5K Data, 279.3K Total
1638   Previous Release:
1639     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1640     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1643 2) iASL Compiler/Disassembler and Tools:
1645 iASL: Fixed a regression where the device map file feature no longer 
1646 worked properly when used in conjunction with the disassembler. It only 
1647 worked properly with the compiler itself.
1649 iASL: Implemented a new warning for method LocalX variables that are set 
1650 but never used (similar to a C compiler such as gcc). This also applies 
1651 to ArgX variables that are not defined by the parent method, and are 
1652 instead (legally) used as local variables.
1654 iASL/Preprocessor: Finished the pass-through of line numbers from the 
1655 preprocessor to the compiler. This ensures that compiler errors/warnings 
1656 have the correct original line numbers and filenames, regardless of any 
1657 #include files.
1659 iASL/Preprocessor: Fixed a couple of issues with comment handling and the 
1660 pass-through of comments to the preprocessor output file (which becomes 
1661 the compiler input file). Also fixed a problem with // comments that 
1662 appear after a math expression.
1664 iASL: Added support for the TCPA server table to the table compiler and 
1665 template generator. (The client table was already previously supported)
1667 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to 
1668 identify the iASL compiler.
1670 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined 
1671 multiple times. The new names are ACPI_SIGN_NEGATIVE and 
1672 ACPI_SIGN_POSITIVE.
1674 AcpiHelp: Update to expand help messages for the iASL preprocessor 
1675 directives.
1678 ----------------------------------------
1679 19 June 2015. Summary of changes for version 20150619:
1681 Two regressions in version 20150616 have been addressed:
1683 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN, 
1684 etc.) This update changes ACPICA to only use the standard headers for 
1685 functions, or the prototypes for the local versions of the C library 
1686 functions. Across the source code, this required some additional casts 
1687 for some Clib invocations for portability. Moved all local prototypes to 
1688 a new file, acclib.h
1690 Fixes several problems with recent changes to the handling of the FACS 
1691 table that could cause some systems not to boot.
1694 ----------------------------------------
1695 16 June 2015. Summary of changes for version 20150616:
1698 1) ACPICA kernel-resident subsystem:
1700 Across the entire ACPICA source code base, the various macros for the C 
1701 library functions (such as ACPI_STRLEN, etc.) have been removed and 
1702 replaced by the standard C library names (strlen, etc.) The original 
1703 purpose for these macros is no longer applicable. This simplification 
1704 reduces the number of macros used in the ACPICA source code 
1705 significantly, improving readability and maintainability.
1707 Implemented support for a new ACPI table, the OSDT. This table, the 
1708 "override" SDT, can be loaded directly by the host OS at boot time. It 
1709 enables the replacement of existing namespace objects that were installed 
1710 via the DSDT and/or SSDTs. The primary purpose for this is to replace 
1711 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated 
1712 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob 
1713 Moore.
1715 Added support for systems with (improperly) two FACS tables -- a "32-bit" 
1716 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit 
1717 X field). This change will support both automatically. There continues to 
1718 be systems found with this issue. This support requires a change to the 
1719 AcpiSetFirmwareWakingVector interface. Also, a public global variable has 
1720 been added to allow the host to select which FACS is desired 
1721 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more 
1722 details Lv Zheng.
1724 Added a new feature to allow for systems that do not contain an FACS. 
1725 Although this is already supported on hardware-reduced platforms, the 
1726 feature has been extended for all platforms. The reasoning is that we do 
1727 not want to abort the entire ACPICA initialization just because the 
1728 system is seriously buggy and has no FACS.
1730 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were 
1731 not correctly transcribed from the ACPI specification in ACPICA version 
1732 20150515.
1734 Implemented support for the _CLS object in the AcpiGetObjectInfo external 
1735 interface.
1737 Updated the definitions of the TCPA and TPM2 ACPI tables to the more 
1738 recent TCG ACPI Specification, December 14, 2014. Table disassembler and 
1739 compiler also updated. Note: The TCPA "server" table is not supported by 
1740 the disassembler/table-compiler at this time.
1742 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1744 Example Code and Data Size: These are the sizes for the OS-independent 
1745 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1746 debug version of the code includes the debug output trace mechanism and 
1747 has a much larger code and data size.
1749   Current Release:
1750     Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1751     Debug Version:     196.2K Code, 81.0K Data, 277.2K Total
1752   Previous Release:
1753     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1754     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1757 2) iASL Compiler/Disassembler and Tools:
1759 Disassembler: Fixed a problem with the new symbolic operator disassembler 
1760 where incorrect ASL code could be emitted in some cases for the "non-
1761 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and 
1762 ShiftRight. The actual problem cases seem to be rather unusual in common 
1763 ASL code, however. David Box.
1765 Modified the linux version of acpidump to obtain ACPI tables from not 
1766 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv 
1767 Zheng.
1769 iASL: Fixed a problem where the user preprocessor output file (.i) 
1770 contained extra data that was not expected. The compiler was using this 
1771 file as a temporary file and passed through #line directives in order to 
1772 keep compiler error messages in sync with the input file and line number 
1773 across multiple include files. The (.i) is no longer a temporary file as 
1774 the compiler uses a new, different file for the original purpose.
1776 iASL: Fixed a problem where comments within the original ASL source code 
1777 file were not passed through to the preprocessor output file, nor any 
1778 listing files.
1780 iASL: Fixed some issues for the handling of the "#include" preprocessor 
1781 directive and the similar (but not the same) "Include" ASL operator.
1783 iASL: Add support for the new OSDT in both the disassembler and compiler.
1785 iASL: Fixed a problem with the constant folding support where a Buffer 
1786 object could be incorrectly generated (incorrectly formed) during a 
1787 conversion to a Store() operator.
1789 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new 
1790 description text for the _REV predefined name. _REV now permanently 
1791 returns 2, as per the ACPI 6.0 specification.
1793 Debugger: Enhanced the output of the Debug ASL object for references 
1794 produced by the Index operator. For Buffers and strings, only output the 
1795 actual byte pointed to by the index. For packages, only print the single 
1796 package element decoded by the index. Previously, the entire 
1797 buffer/string/package was emitted.
1799 iASL/Table-compiler: Fixed a regression where the "generic" data types 
1800 were no longer recognized, causing errors.
1803 ----------------------------------------
1804 15 May 2015. Summary of changes for version 20150515:
1806 This release implements most of ACPI 6.0 as described below.
1808 1) ACPICA kernel-resident subsystem:
1810 Implemented runtime argument checking and return value checking for all 
1811 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI, 
1812 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1814 Example Code and Data Size: These are the sizes for the OS-independent 
1815 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
1816 debug version of the code includes the debug output trace mechanism and 
1817 has a much larger code and data size.
1819   Current Release:
1820     Non-Debug Version:  99.9K Code, 27.5K Data, 127.4K Total
1821     Debug Version:     195.2K Code, 80.8K Data, 276.0K Total
1822   Previous Release:
1823     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
1824     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
1827 2) iASL Compiler/Disassembler and Tools:
1829 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined 
1830 names (argument count validation and return value typechecking.)
1832 iASL disassembler and table compiler: implemented support for all new 
1833 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV. 
1835 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing 
1836 tables: FADT, MADT.
1838 iASL preprocessor: Added a new directive to enable inclusion of binary 
1839 blobs into ASL code. The new directive is #includebuffer. It takes a 
1840 binary file as input and emits a named ascii buffer object into the ASL 
1841 code.
1843 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1845 AcpiHelp: Added a new option, -d, to display all iASL preprocessor 
1846 directives.
1848 AcpiHelp: Added a new option, -t, to display all known/supported ACPI 
1849 tables.
1852 ----------------------------------------
1853 10 April 2015. Summary of changes for version 20150410:
1855 Reverted a change introduced in version 20150408 that caused
1856 a regression in the disassembler where incorrect operator
1857 symbols could be emitted.
1860 ----------------------------------------
1861 08 April 2015. Summary of changes for version 20150408:
1864 1) ACPICA kernel-resident subsystem:
1866 Permanently set the return value for the _REV predefined name. It now 
1867 returns 2 (was 5). This matches other ACPI implementations. _REV will be 
1868 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2 
1869 for ACPI 2.0 and later. It should never be used to differentiate or 
1870 identify operating systems.
1872 Added the "Windows 2015" string to the _OSI support. ACPICA will now 
1873 return TRUE to a query with this string.
1875 Fixed several issues with the local version of the printf function.
1877 Added the C99 compiler option (-std=c99) to the Unix makefiles.
1879   Current Release:
1880     Non-Debug Version:  99.9K Code, 27.4K Data, 127.3K Total
1881     Debug Version:     195.2K Code, 80.7K Data, 275.9K Total
1882   Previous Release:
1883     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
1884     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
1887 2) iASL Compiler/Disassembler and Tools:
1889 iASL: Implemented an enhancement to the constant folding feature to 
1890 transform the parse tree to a simple Store operation whenever possible:
1891     Add (2, 3, X) ==> is converted to: Store (5, X)
1892     X = 2 + 3     ==> is converted to: Store (5, X)
1894 Updated support for the SLIC table (Software Licensing Description Table) 
1895 in both the Data Table compiler and the disassembler. The SLIC table 
1896 support now conforms to "Microsoft Software Licensing Tables (SLIC and 
1897 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data 
1898 following the ACPI header is now defined to be "Proprietary Data", and as 
1899 such, can only be entered or displayed as a hex data block.
1901 Implemented full support for the MSDM table as described in the document 
1902 above. Note: The format of MSDM is similar to SLIC. Any MSDM data 
1903 following the ACPI header is defined to be "Proprietary Data", and can 
1904 only be entered or displayed as a hex data block.
1906 Implemented the -Pn option for the iASL Table Compiler (was only 
1907 implemented for the ASL compiler). This option disables the iASL 
1908 preprocessor.
1910 Disassembler: For disassembly of Data Tables, added a comment field 
1911 around the Ascii equivalent data that is emitted as part of the "Raw 
1912 Table Data" block. This prevents the iASL Preprocessor from possible 
1913 confusion if/when the table is compiled.
1915 Disassembler: Added an option (-df) to force the disassembler to assume 
1916 that the table being disassembled contains valid AML. This feature is 
1917 useful for disassembling AML files that contain ACPI signatures other 
1918 than DSDT or SSDT (such as OEMx or other signatures).
1920 Changes for the EFI version of the tools:
1921 1) Fixed a build error/issue
1922 2) Fixed a cast warning
1924 iASL: Fixed a path issue with the __FILE__ operator by making the 
1925 directory prefix optional within the internal SplitInputFilename 
1926 function.
1928 Debugger: Removed some unused global variables.
1930 Tests: Updated the makefile for proper generation of the AAPITS suite.
1933 ----------------------------------------
1934 04 February 2015. Summary of changes for version 20150204:
1936 ACPICA kernel-resident subsystem:
1938 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
1939 copyright to all module headers and signons, including the standard Linux 
1940 header. This affects virtually every file in the ACPICA core subsystem, 
1941 iASL compiler, all ACPICA utilities, and the test suites.
1943 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
1944 A raw gpe handling mechanism was created to allow better handling of GPE
1945 storms that aren't easily managed by the normal handler. The raw handler
1946 allows disabling/renabling of the the GPE so that interrupt storms can be
1947 avoided in cases where events cannot be timely serviced. In this 
1948 scenario, handlers should use the AcpiSetGpe() API to disable/enable the 
1949 GPE. This API will leave the reference counts undisturbed, thereby 
1950 preventing unintentional clearing of the GPE when the intent in only to 
1951 temporarily disable it. Raw handlers allow enabling and disabling of a 
1952 GPE by removing GPE register locking. As such, raw handlers much provide 
1953 their own locks while using GPE API's to protect access to GPE data 
1954 structures.
1955 Lv Zheng
1957 Events: Always modify GPE registers under the GPE lock.
1958 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
1959 values. Reported as bug by joe.liu@apple.com.
1961 Unix makefiles: Separate option to disable optimizations and 
1962 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the 
1963 NOOPT disable option and creates a separate flag (NOFORTIFY) for this 
1964 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined 
1965 errors when building ACPICA. This allows disabling the option without 
1966 also having to disable optimazations.
1967 David Box
1969   Current Release:
1970     Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1971     Debug Version:     199.2K Code, 82.4K Data, 281.6K Total
1974 --------------------------------------
1975 07 November 2014. Summary of changes for version 20141107:
1977 This release is available at https://acpica.org/downloads
1979 This release introduces and implements language extensions to ASL that 
1980 provide support for symbolic ("C-style") operators and expressions. These 
1981 language extensions are known collectively as ASL+.
1984 1) iASL Compiler/Disassembler and Tools:
1986 Disassembler: Fixed a problem with disassembly of the UartSerialBus 
1987 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E. 
1988 Box.
1990 Disassembler: Fixed the Unicode macro support to add escape sequences. 
1991 All non-printable ASCII values are emitted as escape sequences, as well 
1992 as the standard escapes for quote and backslash. Ensures that the 
1993 disassembled macro can be correctly recompiled.
1995 iASL: Added Printf/Fprintf macros for formatted output. These macros are 
1996 translated to existing AML Concatenate and Store operations. Printf 
1997 writes to the ASL Debug object. Fprintf allows the specification of an 
1998 ASL name as the target. Only a single format specifier is required, %o, 
1999 since the AML interpreter dynamically converts objects to the required 
2000 type. David E. Box.
2002     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2003                  (Concatenate (Concatenate (Concatenate ("", Arg0),
2004                  ": Unexpected value for "), Arg1), ", "), Arg2),
2005                  " at line "), Arg3), Debug)
2007     (new)    Printf ("%o: Unexpected value for %o, %o at line %o",
2008                  Arg0, Arg1, Arg2, Arg3)
2010     (old)    Store (Concatenate (Concatenate (Concatenate (Concatenate
2011                  ("", Arg1), ": "), Arg0), " Successful"), STR1)
2013     (new)    Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2015 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the 
2016 ASL parse tree before the AML code is generated. This allows blocks of 
2017 ASL code to be removed in order to help locate and identify problem 
2018 devices and/or code. David E. Box.
2020 AcpiExec: Added support (-fi) for an optional namespace object 
2021 initialization file. This file specifies initial values for namespace 
2022 objects as necessary for debugging and testing different ASL code paths 
2023 that may be taken as a result of BIOS options.
2026 2) Overview of symbolic operator support for ASL (ASL+)
2027 -------------------------------------------------------
2029 As an extension to the ASL language, iASL implements support for symbolic 
2030 (C-style) operators for math and logical expressions. This can greatly 
2031 simplify ASL code as well as improve both readability and 
2032 maintainability. These language extensions can exist concurrently with 
2033 all legacy ASL code and expressions.
2035 The symbolic extensions are 100% compatible with existing AML 
2036 interpreters, since no new AML opcodes are created. To implement the 
2037 extensions, the iASL compiler transforms the symbolic expressions into 
2038 the legacy ASL/AML equivalents at compile time.
2040 Full symbolic expressions are supported, along with the standard C 
2041 precedence and associativity rules.
2043 Full disassembler support for the symbolic expressions is provided, and 
2044 creates an automatic migration path for existing ASL code to ASL+ code 
2045 via the disassembly process. By default, the disassembler now emits ASL+ 
2046 code with symbolic expressions. An option (-dl) is provided to force the 
2047 disassembler to emit legacy ASL code if desired.
2049 Below is the complete list of the currently supported symbolic operators 
2050 with examples. See the iASL User Guide for additional information.
2053 ASL+ Syntax      Legacy ASL Equivalent
2054 -----------      ---------------------
2056     // Math operators
2058 Z = X + Y        Add (X, Y, Z)
2059 Z = X - Y        Subtract (X, Y, Z)
2060 Z = X * Y        Multiply (X, Y, Z)
2061 Z = X / Y        Divide (X, Y, , Z)
2062 Z = X % Y        Mod (X, Y, Z)
2063 Z = X << Y       ShiftLeft (X, Y, Z)
2064 Z = X >> Y       ShiftRight (X, Y, Z)
2065 Z = X & Y        And (X, Y, Z)
2066 Z = X | Y        Or (X, Y, Z)
2067 Z = X ^ Y        Xor (X, Y, Z)
2068 Z = ~X           Not (X, Z)
2069 X++              Increment (X)
2070 X--              Decrement (X)
2072     // Logical operators
2074 (X == Y)         LEqual (X, Y)
2075 (X != Y)         LNotEqual (X, Y)
2076 (X < Y)          LLess (X, Y)
2077 (X > Y)          LGreater (X, Y)
2078 (X <= Y)         LLessEqual (X, Y)
2079 (X >= Y)         LGreaterEqual (X, Y)
2080 (X && Y)         LAnd (X, Y)
2081 (X || Y)         LOr (X, Y)
2082 (!X)             LNot (X)
2084     // Assignment and compound assignment operations
2086 X = Y           Store (Y, X)
2087 X += Y          Add (X, Y, X)
2088 X -= Y          Subtract (X, Y, X)
2089 X *= Y          Multiply (X, Y, X)
2090 X /= Y          Divide (X, Y, , X)
2091 X %= Y          Mod (X, Y, X)
2092 X <<= Y         ShiftLeft (X, Y, X)
2093 X >>= Y         ShiftRight (X, Y, X)
2094 X &= Y          And (X, Y, X)
2095 X |= Y          Or (X, Y, X)
2096 X ^= Y          Xor (X, Y, X)
2099 3) ASL+ Examples:
2100 -----------------
2102 Legacy ASL:
2103         If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2104             And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530, 
2105 0x03FB), 
2106             0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2107         {
2108             And (MEMB, 0xFFFFFFF0, SRMB)
2109             Store (MEMB, Local2)
2110             Store (PDBM, Local1)
2111             And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2112             Store (SRMB, MEMB)
2113             Or (PDBM, 0x02, PDBM)
2114         }
2116 ASL+ version:
2117         If (((R510 & 0x03FB) == 0x02E0) ||
2118             ((R520 & 0x03FB) == 0x02E0) ||
2119             ((R530 & 0x03FB) == 0x02E0) || 
2120             ((R540 & 0x03FB) == 0x02E0))
2121         {
2122             SRMB = (MEMB & 0xFFFFFFF0)
2123             Local2 = MEMB
2124             Local1 = PDBM
2125             PDBM &= 0xFFFFFFFFFFFFFFF9
2126             MEMB = SRMB
2127             PDBM |= 0x02
2128         }
2130 Legacy ASL:
2131         Store (0x1234, Local1)
2132         Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2133         Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2134         Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2135         Store (Index (PKG1, 0x03), Local6)
2136         Store (Add (Local3, Local2), Debug)
2137         Add (Local1, 0x0F, Local2)
2138         Add (Local1, Multiply (Local2, Local3), Local2)
2139         Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2141 ASL+ version:
2142         Local1 = 0x1234
2143         Local3 = (((Local1 + TEST) + 0x20) * Local2)
2144         Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2145         Local3 = (Local1 + (TEST + (0x20 * Local2)))
2146         Local6 = Index (PKG1, 0x03)
2147         Debug = (Local3 + Local2)
2148         Local2 = (Local1 + 0x0F)
2149         Local2 = (Local1 + (Local2 * Local3))
2150         Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2153 ----------------------------------------
2154 26 September 2014. Summary of changes for version 20140926:
2156 1) ACPICA kernel-resident subsystem:
2158 Updated the GPIO operation region handler interface (GeneralPurposeIo). 
2159 In order to support GPIO Connection objects with multiple pins, along 
2160 with the related Field objects, the following changes to the interface 
2161 have been made: The Address is now defined to be the offset in bits of 
2162 the field unit from the previous invocation of a Connection. It can be 
2163 viewed as a "Pin Number Index" into the connection resource descriptor. 
2164 The BitWidth is the exact bit width of the field. It is usually one bit, 
2165 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for 
2166 additional information and examples.
2168 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with 
2169 corresponding _Lxx/_Exx methods are disabled (they may have been enabled 
2170 by the firmware), so that they cannot fire until they are enabled via 
2171 AcpiUpdateAllGpes. Rafael J. Wysocki.
2173 Added a new return flag for the Event/GPE status interfaces -- 
2174 AcpiGetEventStatus and AcpiGetGpeStatus. The new 
2175 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or 
2176 GPE currently has a handler associated with it, and can thus actually 
2177 affect the system. Lv Zheng.
2179 Example Code and Data Size: These are the sizes for the OS-independent 
2180 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2181 debug version of the code includes the debug output trace mechanism and 
2182 has a much larger code and data size.
2184   Current Release:
2185     Non-Debug Version:  99.1K Code, 27.3K Data, 126.4K Total
2186     Debug Version:     192.8K Code, 79.9K Data, 272.7K Total
2187   Previous Release:
2188     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2189     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2191 2) iASL Compiler/Disassembler and Tools:
2193 iASL: Fixed a memory allocation/free regression introduced in 20140828 
2194 that could cause the compiler to crash. This was introduced inadvertently 
2195 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111, 
2196 1113.
2198 iASL: Removed two error messages that have been found to create false 
2199 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2200 1) Illegal forward reference within a method
2201 2) Illegal reference across two methods
2203 iASL: Implemented a new option (-lm) to create a hardware mapping file 
2204 that summarizes all GPIO, I2C, SPI, and UART connections. This option 
2205 works for both the compiler and disassembler. See the iASL compiler user 
2206 guide for additional information and examples (section 6.4.6).
2208 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to 
2209 version 2. This corrects the AE_BAD_HEADER exception seen on systems with 
2210 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2212 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode 
2213 unless STDIN is actually a terminal. Assists with batch-mode processing. 
2214 ACPICA BZ 1114.
2216 Disassembler/AcpiHelp: Added another large group of recognized _HID 
2217 values.
2220 ----------------------------------------
2221 28 August 2014. Summary of changes for version 20140828:
2223 1) ACPICA kernel-resident subsystem:
2225 Fixed a problem related to the internal use of the Timer() operator where 
2226 a 64-bit divide could cause an attempted link to a double-precision math 
2227 library. This divide is not actually necessary, so the code was 
2228 restructured to eliminate it. Lv Zheng.
2230 ACPI 5.1: Added support for the runtime validation of the _DSD package 
2231 (similar to the iASL support).
2233 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the 
2234 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2236 Example Code and Data Size: These are the sizes for the OS-independent 
2237 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2238 debug version of the code includes the debug output trace mechanism and 
2239 has a much larger code and data size.
2241   Current Release:
2242     Non-Debug Version:  98.8K Code, 27.3K Data, 126.1K Total
2243     Debug Version:     192.1K Code, 79.8K Data, 271.9K Total
2244   Previous Release:
2245     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total1
2246     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2248 2) iASL Compiler/Disassembler and Tools:
2250 AcpiExec: Fixed a problem on unix systems where the original terminal 
2251 state was not always properly restored upon exit. Seen when using the -v 
2252 option. ACPICA BZ 1104.
2254 iASL: Fixed a problem with the validation of the ranges/length within the 
2255 Memory24 resource descriptor. There was a boundary condition when the 
2256 range was equal to the (length -1) caused by the fact that these values 
2257 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2259 Disassembler: Fixed a problem with the GpioInt descriptor interrupt 
2260 polarity 
2261 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword 
2262 is 
2263 now supported properly.
2265 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported 
2266 in the disassembler, data table compiler, and table template generator.
2268 iASL: Added a requirement for Device() objects that one of either a _HID 
2269 or _ADR must exist within the scope of a Device, as per the ACPI 
2270 specification. Remove a similar requirement that was incorrectly in place 
2271 for the _DSD object.
2273 iASL: Added error detection for illegal named references within control 
2274 methods that would cause runtime failures. Now trapped as errors are: 1) 
2275 References to objects within a non-parent control method. 2) Forward 
2276 references (within a method) -- for control methods, AML interpreters use 
2277 a one-pass parse of control methods. ACPICA BZ 1008.
2279 iASL: Added error checking for dependencies related to the _PSx power 
2280 methods. ACPICA BZ 1029.
2281 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2, 
2282 _PS3.
2283 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same 
2284 scope.
2286 iASL and table compiler: Cleanup miscellaneous memory leaks by fully 
2287 deploying the existing object and string caches and adding new caches for 
2288 the table compiler.
2290 iASL: Split the huge parser source file into multiple subfiles to improve 
2291 manageability. Generation now requires the M4 macro preprocessor, which 
2292 is part of the Bison distribution on both unix and windows platforms.
2294 AcpiSrc: Fixed and removed all extraneous warnings generated during 
2295 entire ACPICA source code scan and/or conversion.
2298 ----------------------------------------
2300 24 July 2014. Summary of changes for version 20140724: 
2302 The ACPI 5.1 specification has been released and is available at: 
2303 http://uefi.org/specs/access
2306 0) ACPI 5.1 support in ACPICA:
2308 ACPI 5.1 is fully supported in ACPICA as of this release.
2310 New predefined names. Support includes iASL and runtime ACPICA 
2311 validation.
2312     _CCA (Cache Coherency Attribute).
2313     _DSD (Device-Specific Data). David Box.
2315 Modifications to existing ACPI tables. Support includes headers, iASL 
2316 Data Table compiler, disassembler, and the template generator.
2317     FADT - New fields and flags. Graeme Gregory.
2318     GTDT - One new subtable and new fields. Tomasz Nowicki.
2319     MADT - Two new subtables. Tomasz Nowicki.
2320     PCCT - One new subtable.
2322 Miscellaneous.
2323     New notification type for System Resource Affinity change events.
2326 1) ACPICA kernel-resident subsystem:
2328 Fixed a regression introduced in 20140627 where a fault can happen during 
2329 the deletion of Alias AML namespace objects. The problem affected both 
2330 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2332 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a 
2333 simple mechanism to enable wake GPEs that have no associated handler or 
2334 control method. Rafael Wysocki.
2336 Updated the AcpiEnableGpe interface to disallow the enable if there is no 
2337 handler or control method associated with the particular GPE. This will 
2338 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2340 Updated GPE handling and dispatch by disabling the GPE before clearing 
2341 the status bit for edge-triggered GPEs. Lv Zheng.
2343 Added Timer() support to the AML Debug object. The current timer value is 
2344 now displayed with each invocation of (Store to) the debug object to 
2345 enable simple generation of execution times for AML code (method 
2346 execution for example.) ACPICA BZ 1093.
2348 Example Code and Data Size: These are the sizes for the OS-independent 
2349 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2350 debug version of the code includes the debug output trace mechanism and 
2351 has a much larger code and data size.
2353   Current Release:
2354     Non-Debug Version:  98.7K Code, 27.3K Data, 126.0K Total
2355     Debug Version:     192.0K Code, 79.7K Data, 271.7K Total
2356   Previous Release:
2357     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2358     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2361 2) iASL Compiler/Disassembler and Tools:
2363 Fixed an issue with the recently added local printf implementation, 
2364 concerning width/precision specifiers that could cause incorrect output. 
2365 Lv Zheng. ACPICA BZ 1094.
2367 Disassembler: Added support to detect buffers that contain UUIDs and 
2368 disassemble them to an invocation of the ToUUID operator. Also emit 
2369 commented descriptions of known ACPI-related UUIDs.
2371 AcpiHelp: Added support to display known ACPI-related UUIDs. New option, 
2372 -u. Adds three new files. 
2374 iASL: Update table compiler and disassembler for DMAR table changes that 
2375 were introduced in September 2013. With assistance by David Woodhouse.
2377 ----------------------------------------
2378 27 June 2014. Summary of changes for version 20140627:
2380 1) ACPICA kernel-resident subsystem:
2382 Formatted Output: Implemented local versions of standard formatted output 
2383 utilities such as printf, etc. Over time, it has been discovered that 
2384 there are in fact many portability issues with printf, and the addition 
2385 of this feature will fix/prevent these issues once and for all. Some 
2386 known issues are summarized below:
2388 1) Output of 64-bit values is not portable. For example, UINT64 is %ull 
2389 for the Linux kernel and is %uI64 for some MSVC versions.
2390 2) Invoking printf consistently in a manner that is portable across both 
2391 32-bit and 64-bit platforms is difficult at best in many situations.
2392 3) The output format for pointers varies from system to system (leading 
2393 zeros especially), and leads to inconsistent output from ACPICA across 
2394 platforms.
2395 4) Certain platform-specific printf formats may conflict with ACPICA use.
2396 5) If there is no local C library available, ACPICA now has local support 
2397 for printf.
2399 -- To address these printf issues in a complete manner, ACPICA now 
2400 directly implements a small subset of printf format specifiers, only 
2401 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2403 Implemented support for ACPICA generation within the EFI environment. 
2404 Initially, the AcpiDump utility is supported in the UEFI shell 
2405 environment. Lv Zheng.
2407 Added a new external interface, AcpiLogError, to improve ACPICA 
2408 portability. This allows the host to redirect error messages from the 
2409 ACPICA utilities. Lv Zheng.
2411 Added and deployed new OSL file I/O interfaces to improve ACPICA 
2412 portability:
2413   AcpiOsOpenFile
2414   AcpiOsCloseFile
2415   AcpiOsReadFile
2416   AcpiOsWriteFile
2417   AcpiOsGetFileOffset
2418   AcpiOsSetFileOffset
2419 There are C library implementations of these functions in the new file 
2420 service_layers/oslibcfs.c -- however, the functions can be implemented by 
2421 the local host in any way necessary. Lv Zheng.
2423 Implemented a mechanism to disable/enable ACPI table checksum validation 
2424 at runtime. This can be useful when loading tables very early during OS 
2425 initialization when it may not be possible to map the entire table in 
2426 order to compute the checksum. Lv Zheng.
2428 Fixed a buffer allocation issue for the Generic Serial Bus support. 
2429 Originally, a fixed buffer length was used. This change allows for 
2430 variable-length buffers based upon the protocol indicated by the field 
2431 access attributes. Reported by Lan Tianyu. Lv Zheng.
2433 Fixed a problem where an object detached from a namespace node was not 
2434 properly terminated/cleared and could cause a circular list problem if 
2435 reattached. ACPICA BZ 1063. David Box.
2437 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2439 Fixed a possible memory leak in an error return path within the function 
2440 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2442 Example Code and Data Size: These are the sizes for the OS-independent 
2443 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2444 debug version of the code includes the debug output trace mechanism and 
2445 has a much larger code and data size.
2447   Current Release:
2448     Non-Debug Version:  98.7K Code, 27.2K Data, 125.9K Total
2449     Debug Version:     191.7K Code, 79.6K Data, 271.3K Total
2450   Previous Release:
2451     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2452     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2455 2) iASL Compiler/Disassembler and Tools:
2457 Disassembler: Add dump of ASCII equivalent text within a comment at the 
2458 end of each line of the output for the Buffer() ASL operator.
2460 AcpiDump: Miscellaneous changes:
2461   Fixed repetitive table dump in -n mode.
2462   For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if 
2463 the ACPI 2.0 GUID fails.
2465 iASL: Fixed a problem where the compiler could fault if incorrectly given 
2466 an acpidump output file as input. ACPICA BZ 1088. David Box.
2468 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if 
2469 they are invoked without any arguments.
2471 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ 
2472 1086. Colin Ian King.
2474 Disassembler: Cleaned up a block of code that extracts a parent Op 
2475 object. Added a comment that explains that the parent is guaranteed to be 
2476 valid in this case. ACPICA BZ 1069.
2479 ----------------------------------------
2480 24 April 2014. Summary of changes for version 20140424:
2482 1) ACPICA kernel-resident subsystem:
2484 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT. 
2485 Some of these tables are known to contain a trailing NULL entry. Lv 
2486 Zheng.
2488 Removed an extraneous error message for the case where there are a large 
2489 number of system GPEs (> 124). This was the "32-bit FADT register is too 
2490 long to convert to GAS struct" message, which is irrelevant for GPEs 
2491 since the GPEx_BLK_LEN fields of the FADT are always used instead of the 
2492 (limited capacity) GAS bit length. Also, several changes to ensure proper 
2493 support for GPE numbers > 255, where some "GPE number" fields were 8-bits 
2494 internally.
2496 Implemented and deployed additional configuration support for the public 
2497 ACPICA external interfaces. Entire classes of interfaces can now be 
2498 easily modified or configured out, replaced by stubbed inline functions 
2499 by default. Lv Zheng.
2501 Moved all public ACPICA runtime configuration globals to the public 
2502 ACPICA external interface file for convenience. Also, removed some 
2503 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2505 Documentation: Added a new section to the ACPICA reference describing the 
2506 maximum number of GPEs that can be supported by the FADT-defined GPEs in 
2507 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA 
2508 reference.
2510 Example Code and Data Size: These are the sizes for the OS-independent 
2511 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2512 debug version of the code includes the debug output trace mechanism and 
2513 has a much larger code and data size.
2515   Current Release:
2516     Non-Debug Version:  96.8K Code, 27.2K Data, 124.0K Total
2517     Debug Version:     189.5K Code, 79.7K Data, 269.2K Total
2518   Previous Release:
2519     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2520     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2523 2) iASL Compiler/Disassembler and Tools:
2525 iASL and disassembler: Add full support for the LPIT table (Low Power 
2526 Idle Table). Includes support in the disassembler, data table compiler, 
2527 and template generator.
2529 AcpiDump utility:
2530 1) Add option to force the use of the RSDT (over the XSDT).
2531 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
2533 iASL: Add check for predefined packages that are too large.  For 
2534 predefined names that contain subpackages, check if each subpackage is 
2535 too large. (Check for too small already exists.)
2537 Debugger: Updated the GPE command (which simulates a GPE by executing the 
2538 GPE code paths in ACPICA). The GPE device is now optional, and defaults 
2539 to the GPE 0/1 FADT-defined blocks.
2541 Unix application OSL: Update line-editing support. Add additional error 
2542 checking and take care not to reset terminal attributes on exit if they 
2543 were never set. This should help guarantee that the terminal is always 
2544 left in the previous state on program exit.
2547 ----------------------------------------
2548 25 March 2014. Summary of changes for version 20140325:
2550 1) ACPICA kernel-resident subsystem:
2552 Updated the auto-serialize feature for control methods. This feature 
2553 automatically serializes all methods that create named objects in order 
2554 to prevent runtime errors. The update adds support to ignore the 
2555 currently executing AML SyncLevel when invoking such a method, in order 
2556 to prevent disruption of any existing SyncLevel priorities that may exist 
2557 in the AML code. Although the use of SyncLevels is relatively rare, this 
2558 change fixes a regression where an AE_AML_MUTEX_ORDER exception can 
2559 appear on some machines starting with the 20140214 release.
2561 Added a new external interface to allow the host to install ACPI tables 
2562 very early, before the namespace is even created. AcpiInstallTable gives 
2563 the host additional flexibility for ACPI table management. Tables can be 
2564 installed directly by the host as if they had originally appeared in the 
2565 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables 
2566 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along 
2567 with additional internal restructuring and cleanup. See the ACPICA 
2568 Reference for interface details. Lv Zheng.
2570 Added validation of the checksum for all incoming dynamically loaded 
2571 tables (via external interfaces or via AML Load/LoadTable operators). Lv 
2572 Zheng.
2574 Updated the use of the AcpiOsWaitEventsComplete interface during Notify 
2575 and GPE handler removal. Restructured calls to eliminate possible race 
2576 conditions. Lv Zheng.
2578 Added a warning for the use/execution of the ASL/AML Unload (table) 
2579 operator. This will help detect and identify machines that use this 
2580 operator if and when it is ever used. This operator has never been seen 
2581 in the field and the usage model and possible side-effects of the drastic 
2582 runtime action of a full table removal are unknown.
2584 Reverted the use of #pragma push/pop which was introduced in the 20140214 
2585 release. It appears that push and pop are not implemented by enough 
2586 compilers to make the use of this feature feasible for ACPICA at this 
2587 time. However, these operators may be deployed in a future ACPICA 
2588 release.
2590 Added the missing EXPORT_SYMBOL macros for the install and remove SCI 
2591 handler interfaces.
2593 Source code generation:
2594 1) Disabled the use of the "strchr" macro for the gcc-specific 
2595 generation. For some versions of gcc, this macro can periodically expose 
2596 a compiler bug which in turn causes compile-time error(s).
2597 2) Added support for PPC64 compilation. Colin Ian King.
2599 Example Code and Data Size: These are the sizes for the OS-independent 
2600 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2601 debug version of the code includes the debug output trace mechanism and 
2602 has a much larger code and data size.
2604   Current Release:
2605     Non-Debug Version:  97.0K Code, 27.2K Data, 124.2K Total
2606     Debug Version:     189.7K Code, 79.5K Data, 269.2K Total
2607   Previous Release:
2608     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2609     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2612 2) iASL Compiler/Disassembler and Tools:
2614 Disassembler: Added several new features to improve the readability of 
2615 the resulting ASL code. Extra information is emitted within comment 
2616 fields in the ASL code:
2617 1) Known _HID/_CID values are decoded to descriptive text.
2618 2) Standard values for the Notify() operator are decoded to descriptive 
2619 text.
2620 3) Target operands are expanded to full pathnames (in a comment) when 
2621 possible.
2623 Disassembler: Miscellaneous updates for extern() handling:
2624 1) Abort compiler if file specified by -fe option does not exist.
2625 2) Silence unnecessary warnings about argument count mismatches.
2626 3) Update warning messages concerning unresolved method externals.
2627 4) Emit "UnknownObj" keyword for externals whose type cannot be 
2628 determined.
2630 AcpiHelp utility:
2631 1) Added the -a option to display both the ASL syntax and the AML 
2632 encoding for an input ASL operator. This effectively displays all known 
2633 information about an ASL operator with one AcpiHelp invocation.
2634 2) Added substring match support (similar to a wildcard) for the -i 
2635 (_HID/PNP IDs) option.
2637 iASL/Disassembler: Since this tool does not yet support execution on big-
2638 endian machines, added detection of endianness and an error message if 
2639 execution is attempted on big-endian. Support for big-endian within iASL 
2640 is a feature that is on the ACPICA to-be-done list.
2642 AcpiBin utility:
2643 1) Remove option to extract binary files from an acpidump; this function 
2644 is made obsolete by the AcpiXtract utility.
2645 2) General cleanup of open files and allocated buffers.
2648 ----------------------------------------
2649 14 February 2014. Summary of changes for version 20140214:
2651 1) ACPICA kernel-resident subsystem:
2653 Implemented a new mechanism to proactively prevent problems with ill-
2654 behaved reentrant control methods that create named ACPI objects. This 
2655 behavior is illegal as per the ACPI specification, but is nonetheless 
2656 frequently seen in the field. Previously, this could lead to an 
2657 AE_ALREADY_EXISTS exception if the method was actually entered by more 
2658 than one thread. This new mechanism detects such methods at table load 
2659 time and marks them "serialized" to prevent reentrancy. A new global 
2660 option, AcpiGbl_AutoSerializeMethods, has been added to disable this 
2661 feature if desired. This mechanism and global option obsoletes and 
2662 supersedes the previous AcpiGbl_SerializeAllMethods option.
2664 Added the "Windows 2013" string to the _OSI support. ACPICA will now 
2665 respond TRUE to _OSI queries with this string. It is the stated policy of 
2666 ACPICA to add new strings to the _OSI support as soon as possible after 
2667 they are defined. See the full ACPICA _OSI policy which has been added to 
2668 the utilities/utosi.c file.
2670 Hardened/updated the _PRT return value auto-repair code:
2671 1) Do not abort the repair on a single subpackage failure, continue to 
2672 check all subpackages.
2673 2) Add check for the minimum subpackage length (4).
2674 3) Properly handle extraneous NULL package elements.
2676 Added support to avoid the possibility of infinite loops when traversing 
2677 object linked lists. Never allow an infinite loop, even in the face of 
2678 corrupted object lists.
2680 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma 
2681 pack(pop) directives to ensure that the ACPICA headers are independent of 
2682 compiler settings or other host headers.
2684 Example Code and Data Size: These are the sizes for the OS-independent 
2685 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2686 debug version of the code includes the debug output trace mechanism and 
2687 has a much larger code and data size.
2689   Current Release:
2690     Non-Debug Version:  96.5K Code, 27.2K Data, 123.7K Total
2691     Debug Version:     188.6K Code, 79.0K Data, 267.6K Total
2692   Previous Release:
2693     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2694     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2697 2) iASL Compiler/Disassembler and Tools:
2699 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The 
2700 first reserved field was incorrectly forced to have a value of zero. This 
2701 change correctly forces the field to have a value of one. ACPICA BZ 1081.
2703 Debugger: Added missing support for the "Extra" and "Data" subobjects 
2704 when displaying object data.
2706 Debugger: Added support to display entire object linked lists when 
2707 displaying object data.
2709 iASL: Removed the obsolete -g option to obtain ACPI tables from the 
2710 Windows registry. This feature has been superseded by the acpidump 
2711 utility. 
2714 ----------------------------------------
2715 14 January 2014. Summary of changes for version 20140114:
2717 1) ACPICA kernel-resident subsystem:
2719 Updated all ACPICA copyrights and signons to 2014. Added the 2014 
2720 copyright to all module headers and signons, including the standard Linux 
2721 header. This affects virtually every file in the ACPICA core subsystem, 
2722 iASL compiler, all ACPICA utilities, and the test suites.
2724 Improved parameter validation for AcpiInstallGpeBlock. Added the 
2725 following checks:
2726 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
2727 2) There is not already a GPE block attached to the device.
2728 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a 
2729 device.
2731 Correctly support "references" in the ACPI_OBJECT. This change fixes the 
2732 support to allow references (namespace nodes) to be passed as arguments 
2733 to control methods via the evaluate object interface. This is probably 
2734 most useful for testing purposes, however.
2736 Improved support for 32/64 bit physical addresses in printf()-like 
2737 output. This change improves the support for physical addresses in printf 
2738 debug statements and other output on both 32-bit and 64-bit hosts. It 
2739 consistently outputs the appropriate number of bytes for each host. The 
2740 %p specifier is unsatisfactory since it does not emit uniform output on 
2741 all hosts/clib implementations (on some, leading zeros are not supported, 
2742 leading to difficult-to-read output).
2744 Example Code and Data Size: These are the sizes for the OS-independent 
2745 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2746 debug version of the code includes the debug output trace mechanism and 
2747 has a much larger code and data size.
2749   Current Release:
2750     Non-Debug Version:  96.2K Code, 27.0K Data, 123.2K Total
2751     Debug Version:     187.5K Code, 78.3K Data, 265.8K Total
2752   Previous Release:
2753     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2754     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2757 2) iASL Compiler/Disassembler and Tools:
2759 iASL: Fix a possible fault when using the Connection() operator. Fixes a 
2760 problem if the parent Field definition for the Connection operator refers 
2761 to an operation region that does not exist. ACPICA BZ 1064.
2763 AcpiExec: Load of local test tables is now optional. The utility has the 
2764 capability to load some various tables to test features of ACPICA. 
2765 However, there are enough of them that the output of the utility became 
2766 confusing. With this change, only the required local tables are displayed 
2767 (RSDP, XSDT, etc.) along with the actual tables loaded via the command 
2768 line specification. This makes the default output simler and easier to 
2769 understand. The -el command line option restores the original behavior 
2770 for testing purposes.
2772 AcpiExec: Added support for overlapping operation regions. This change 
2773 expands the simulation of operation regions by supporting regions that 
2774 overlap within the given address space. Supports SystemMemory and 
2775 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2777 AcpiExec: Added region handler support for PCI_Config and EC spaces. This 
2778 allows AcpiExec to simulate these address spaces, similar to the current 
2779 support for SystemMemory and SystemIO.
2781 Debugger: Added new command to read/write/compare all namespace objects. 
2782 The command "test objects" will exercise the entire namespace by writing 
2783 new values to each data object, and ensuring that the write was 
2784 successful. The original value is then restored and verified.
2786 Debugger: Added the "test predefined" command. This change makes this 
2787 test public and puts it under the new "test" command. The test executes 
2788 each and every predefined name within the current namespace.
2791 ----------------------------------------
2792 18 December 2013. Summary of changes for version 20131218:
2794 Global note: The ACPI 5.0A specification was released this month. There 
2795 are no changes needed for ACPICA since this release of ACPI is an 
2796 errata/clarification release. The specification is available at 
2797 acpi.info. 
2800 1) ACPICA kernel-resident subsystem:
2802 Added validation of the XSDT root table if it is present. Some older 
2803 platforms contain an XSDT that is ill-formed or otherwise invalid (such 
2804 as containing some or all entries that are NULL pointers). This change 
2805 adds a new function to validate the XSDT before actually using it. If the 
2806 XSDT is found to be invalid, ACPICA will now automatically fall back to 
2807 using the RSDT instead. Original implementation by Zhao Yakui. Ported to 
2808 ACPICA and enhanced by Lv Zheng and Bob Moore.
2810 Added a runtime option to ignore the XSDT and force the use of the RSDT. 
2811 This change adds a runtime option that will force ACPICA to use the RSDT 
2812 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec 
2813 requires that an XSDT be used instead of the RSDT, the XSDT has been 
2814 found to be corrupt or ill-formed on some machines. Lv Zheng.
2816 Added a runtime option to favor 32-bit FADT register addresses over the 
2817 64-bit addresses. This change adds an option to favor 32-bit FADT 
2818 addresses when there is a conflict between the 32-bit and 64-bit versions 
2819 of the same register. The default behavior is to use the 64-bit version 
2820 in accordance with the ACPI specification. This can now be overridden via 
2821 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2823 During the change above, the internal "Convert FADT" and "Verify FADT" 
2824 functions have been merged to simplify the code, making it easier to 
2825 understand and maintain. ACPICA BZ 933.
2827 Improve exception reporting and handling for GPE block installation. 
2828 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the 
2829 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2831 Added helper macros to extract bus/segment numbers from the HEST table. 
2832 This change adds two macros to extract the encoded bus and segment 
2833 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT. 
2834 Betty Dall <betty.dall@hp.com>
2836 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used 
2837 by ACPICA. It is not a public macro, so it should have no effect on 
2838 existing OSV code. Lv Zheng.
2840 Example Code and Data Size: These are the sizes for the OS-independent 
2841 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2842 debug version of the code includes the debug output trace mechanism and 
2843 has a much larger code and data size.
2845   Current Release:
2846     Non-Debug Version:  96.1K Code, 27.0K Data, 123.1K Total
2847     Debug Version:     185.6K Code, 77.3K Data, 262.9K Total
2848   Previous Release:
2849     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2850     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2853 2) iASL Compiler/Disassembler and Tools:
2855 Disassembler: Improved pathname support for emitted External() 
2856 statements. This change adds full pathname support for external names 
2857 that have been resolved internally by the inclusion of additional ACPI 
2858 tables (via the iASL -e option). Without this change, the disassembler 
2859 can emit multiple externals for the same object, or it become confused 
2860 when the Scope() operator is used on an external object. Overall, greatly 
2861 improves the ability to actually recompile the emitted ASL code when 
2862 objects a referenced across multiple ACPI tables. Reported by Michael 
2863 Tsirkin (mst@redhat.com).
2865 Tests/ASLTS: Updated functional control suite to execute with no errors. 
2866 David Box. Fixed several errors related to the testing of the interpreter 
2867 slack mode. Lv Zheng.
2869 iASL: Added support to detect names that are declared within a control 
2870 method, but are unused (these are temporary names that are only valid 
2871 during the time the method is executing). A remark is issued for these 
2872 cases. ACPICA BZ 1022.
2874 iASL: Added full support for the DBG2 table. Adds full disassembler, 
2875 table compiler, and template generator support for the DBG2 table (Debug 
2876 Port 2 table).
2878 iASL: Added full support for the PCCT table, update the table definition. 
2879 Updates the PCCT table definition in the actbl3.h header and adds table 
2880 compiler and template generator support.
2882 iASL: Added an option to emit only error messages (no warnings/remarks). 
2883 The -ve option will enable only error messages, warnings and remarks are 
2884 suppressed. This can simplify debugging when only the errors are 
2885 important, such as when an ACPI table is disassembled and there are many 
2886 warnings and remarks -- but only the actual errors are of real interest.
2888 Example ACPICA code (source/tools/examples): Updated the example code so 
2889 that it builds to an actual working program, not just example code. Added 
2890 ACPI tables and execution of an example control method in the DSDT. Added 
2891 makefile support for Unix generation.
2894 ----------------------------------------
2895 15 November 2013. Summary of changes for version 20131115:
2897 This release is available at https://acpica.org/downloads
2900 1) ACPICA kernel-resident subsystem:
2902 Resource Manager: Fixed loop termination for the "get AML length" 
2903 function. The loop previously had an error termination on a NULL resource 
2904 pointer, which can never happen since the loop simply increments a valid 
2905 resource pointer. This fix changes the loop to terminate with an error on 
2906 an invalid end-of-buffer condition. The problem can be seen as an 
2907 infinite loop by callers to AcpiSetCurrentResources with an invalid or 
2908 corrupted resource descriptor, or a resource descriptor that is missing 
2909 an END_TAG descriptor. Reported by Dan Carpenter 
2910 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
2912 Table unload and ACPICA termination: Delete all attached data objects 
2913 during namespace node deletion. This fix updates namespace node deletion 
2914 to delete the entire list of attached objects (attached via 
2915 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ 
2916 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
2918 ACPICA termination: Added support to delete all objects attached to the 
2919 root namespace node. This fix deletes any and all objects that have been 
2920 attached to the root node via AcpiAttachData. Previously, none of these 
2921 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
2923 Debug output: Do not emit the function nesting level for the in-kernel 
2924 build. The nesting level is really only useful during a single-thread 
2925 execution. Therefore, only enable this output for the AcpiExec utility. 
2926 Also, only emit the thread ID when executing under AcpiExec (Context 
2927 switches are still always detected and a message is emitted). ACPICA BZ 
2928 972.
2930 Example Code and Data Size: These are the sizes for the OS-independent 
2931 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
2932 debug version of the code includes the debug output trace mechanism and 
2933 has a much larger code and data size.
2935   Current Release:
2936     Non-Debug Version:  95.9K Code, 27.0K Data, 122.9K Total
2937     Debug Version:     185.1K Code, 77.2K Data, 262.3K Total
2938   Previous Release:
2939     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
2940     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
2943 2) iASL Compiler/Disassembler and Tools:
2945 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the 
2946 correct portable POSIX header for terminal control functions.
2948 Disassembler: Fixed control method invocation issues related to the use 
2949 of the CondRefOf() operator. The problem is seen in the disassembly where 
2950 control method invocations may not be disassembled properly if the 
2951 control method name has been used previously as an argument to CondRefOf. 
2952 The solution is to not attempt to emit an external declaration for the 
2953 CondRefOf target (it is not necessary in the first place). This prevents 
2954 disassembler object type confusion. ACPICA BZ 988.
2956 Unix Makefiles: Added an option to disable compiler optimizations and the 
2957 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA 
2958 with optimizations (reportedly, gcc 4.4 for example). This change adds a 
2959 command line option for make (NOOPT) that disables all compiler 
2960 optimizations and the _FORTIFY_SOURCE compiler flag. The default 
2961 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ 
2962 1034. Lv Zheng, Bob Moore.
2964 Tests/ASLTS: Added options to specify individual test cases and modes. 
2965 This allows testers running aslts.sh to optionally specify individual 
2966 test modes and test cases. Also added an option to disable the forced 
2967 generation of the ACPICA tools from source if desired. Lv Zheng.
2969 ----------------------------------------
2970 27 September 2013. Summary of changes for version 20130927:
2972 This release is available at https://acpica.org/downloads
2975 1) ACPICA kernel-resident subsystem:
2977 Fixed a problem with store operations to reference objects. This change 
2978 fixes a problem where a Store operation to an ArgX object that contained 
2980 reference to a field object did not complete the automatic dereference 
2981 and 
2982 then write to the actual field object. Instead, the object type of the 
2983 field object was inadvertently changed to match the type of the source 
2984 operand. The new behavior will actually write to the field object (buffer 
2985 field or field unit), thus matching the correct ACPI-defined behavior.
2987 Implemented support to allow the host to redefine individual OSL 
2988 prototypes. This change enables the host to redefine OSL prototypes found 
2989 in the acpiosxf.h file. This allows the host to implement OSL interfaces 
2990 with a macro or inlined function. Further, it allows the host to add any 
2991 additional required modifiers such as __iomem, __init, __exit, etc., as 
2992 necessary on a per-interface basis. Enables maximum flexibility for the 
2993 OSL interfaces. Lv Zheng.
2995 Hardcoded the access width for the FADT-defined reset register. The ACPI 
2996 specification requires the reset register width to be 8 bits. ACPICA now 
2997 hardcodes the width to 8 and ignores the FADT width value. This provides 
2998 compatibility with other ACPI implementations that have allowed BIOS code 
2999 with bad register width values to go unnoticed. Matthew Garett, Bob 
3000 Moore, 
3001 Lv Zheng.
3003 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is 
3004 used 
3005 in the OSL header (acpiosxf). The change modifies the position of this 
3006 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid 
3007 build issues if the OSL defines the implementation of the interface to be 
3008 an inline stub function. Lv Zheng.
3010 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA 
3011 initialization interfaces. This change adds a new macro for the main init 
3012 and terminate external interfaces in order to support hosts that require 
3013 additional or different processing for these functions. Changed from 
3014 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv 
3015 Zheng, Bob Moore.
3017 Cleaned up the memory allocation macros for configurability. In the 
3018 common 
3019 case, the ACPI_ALLOCATE and related macros now resolve directly to their 
3020 respective AcpiOs* OSL interfaces. Two options:
3021 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by 
3022 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3023 2) For AcpiExec (and for debugging), the macros can optionally be 
3024 resolved 
3025 to the local ACPICA interfaces that track each allocation (local tracking 
3026 is used to immediately detect memory leaks).
3027 Lv Zheng.
3029 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel 
3030 to predefine this macro to either TRUE or FALSE during the system build.
3032 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3034 Example Code and Data Size: These are the sizes for the OS-independent 
3035 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3036 debug version of the code includes the debug output trace mechanism and 
3037 has a much larger code and data size.
3039   Current Release:
3040     Non-Debug Version:  95.8K Code, 27.0K Data, 122.8K Total
3041     Debug Version:     185.2K Code, 77.2K Data, 262.4K Total
3042   Previous Release:
3043     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3044     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3047 2) iASL Compiler/Disassembler and Tools:
3049 iASL: Implemented wildcard support for the -e option. This simplifies use 
3050 when there are many SSDTs that must be included to resolve external 
3051 method 
3052 declarations. ACPICA BZ 1041. Example:
3053     iasl -e ssdt*.dat -d dsdt.dat
3055 AcpiExec: Add history/line-editing for Unix/Linux systems. This change 
3056 adds a portable module that implements full history and limited line 
3057 editing for Unix and Linux systems. It does not use readline() due to 
3058 portability issues. Instead it uses the POSIX termio interface to put the 
3059 terminal in raw input mode so that the various special keys can be 
3060 trapped 
3061 (such as up/down-arrow for history support and left/right-arrow for line 
3062 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3064 AcpiXtract: Add support to handle (ignore) "empty" lines containing only 
3065 one or more spaces. This provides compatible with early or different 
3066 versions of the AcpiDump utility. ACPICA BZ 1044.
3068 AcpiDump: Do not ignore tables that contain only an ACPI table header. 
3069 Apparently, some BIOSs create SSDTs that contain an ACPI table header but 
3070 no other data. This change adds support to dump these tables. Any tables 
3071 shorter than the length of an ACPI table header remain in error (an error 
3072 message is emitted). Reported by Yi Li.
3074 Debugger: Echo actual command along with the "unknown command" message.
3076 ----------------------------------------
3077 23 August 2013. Summary of changes for version 20130823:
3079 1) ACPICA kernel-resident subsystem:
3081 Implemented support for host-installed System Control Interrupt (SCI) 
3082 handlers. Certain ACPI functionality requires the host to handle raw 
3083 SCIs. For example, the "SCI Doorbell" that is defined for memory power 
3084 state support requires the host device driver to handle SCIs to examine 
3085 if the doorbell has been activated. Multiple SCI handlers can be 
3086 installed to allow for future expansion. New external interfaces are 
3087 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for 
3088 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3090 Operation region support: Never locally free the handler "context" 
3091 pointer. This change removes some dangerous code that attempts to free 
3092 the handler context pointer in some (rare) circumstances. The owner of 
3093 the handler owns this pointer and the ACPICA code should never touch it. 
3094 Although not seen to be an issue in any kernel, it did show up as a 
3095 problem (fault) under AcpiExec. Also, set the internal storage field for 
3096 the context pointer to zero when the region is deactivated, simply for 
3097 sanity. David Box. ACPICA BZ 1039.
3099 AcpiRead: On error, do not modify the return value target location. If an 
3100 error happens in the middle of a split 32/32 64-bit I/O operation, do not 
3101 modify the target of the return value pointer. Makes the code consistent 
3102 with the rest of ACPICA. Bjorn Helgaas.
3104 Example Code and Data Size: These are the sizes for the OS-independent 
3105 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3106 debug version of the code includes the debug output trace mechanism and 
3107 has a much larger code and data size.
3109   Current Release:
3110     Non-Debug Version:  96.7K Code, 27.1K Data, 123.9K Total
3111     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3112   Previous Release:
3113     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3114     Debug Version:     185.4K Code, 77.1K Data, 262.5K Total
3117 2) iASL Compiler/Disassembler and Tools:
3119 AcpiDump: Implemented several new features and fixed some problems:
3120 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3121 2) Added support for multiple table instances (SSDT, UEFI).
3122 3) Added option to dump "customized" (overridden) tables (-c).
3123 4) Fixed a problem where some table filenames were improperly 
3124 constructed.
3125 5) Improved some error messages, removed some unnecessary messages.
3127 iASL: Implemented additional support for disassembly of ACPI tables that 
3128 contain invocations of external control methods. The -fe<file> option 
3129 allows the import of a file that specifies the external methods along 
3130 with the required number of arguments for each -- allowing for the 
3131 correct disassembly of the table. This is a workaround for a limitation 
3132 of AML code where the disassembler often cannot determine the number of 
3133 arguments required for an external control method and generates incorrect 
3134 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3136 Debugger: Implemented a new command (paths) that displays the full 
3137 pathnames (namepaths) and object types of all objects in the namespace. 
3138 This is an alternative to the namespace command.
3140 Debugger: Implemented a new command (sci) that invokes the SCI dispatch 
3141 mechanism and any installed handlers.
3143 iASL: Fixed a possible segfault for "too many parent prefixes" condition. 
3144 This can occur if there are too many parent prefixes in a namepath (for 
3145 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3147 Application OSLs: Set the return value for the PCI read functions. These 
3148 functions simply return AE_OK, but should set the return value to zero 
3149 also. This change implements this. ACPICA BZ 1038.
3151 Debugger: Prevent possible command line buffer overflow. Increase the 
3152 size of a couple of the debugger line buffers, and ensure that overflow 
3153 cannot happen. ACPICA BZ 1037.
3155 iASL: Changed to abort immediately on serious errors during the parsing 
3156 phase. Due to the nature of ASL, there is no point in attempting to 
3157 compile these types of errors, and they typically end up causing a 
3158 cascade of hundreds of errors which obscure the original problem.
3160 ----------------------------------------
3161 25 July 2013. Summary of changes for version 20130725:
3163 1) ACPICA kernel-resident subsystem:
3165 Fixed a problem with the DerefOf operator where references to FieldUnits 
3166 and BufferFields incorrectly returned the parent object, not the actual 
3167 value of the object. After this change, a dereference of a FieldUnit 
3168 reference results in a read operation on the field to get the value, and 
3169 likewise, the appropriate BufferField value is extracted from the target 
3170 buffer.
3172 Fixed a problem where the _WAK method could cause a fault under these 
3173 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK 
3174 method returned no value. The problem is rarely seen because most kernels 
3175 run ACPICA in slack mode.
3177 For the DerefOf operator, a fatal error now results if an attempt is made 
3178 to dereference a reference (created by the Index operator) to a NULL 
3179 package element. Provides compatibility with other ACPI implementations, 
3180 and this behavior will be added to a future version of the ACPI 
3181 specification.
3183 The ACPI Power Management Timer (defined in the FADT) is now optional. 
3184 This provides compatibility with other ACPI implementations and will 
3185 appear in the next version of the ACPI specification. If there is no PM 
3186 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of 
3187 zero in the FADT indicates no PM timer.
3189 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This 
3190 allows the host to globally enable/disable all vendor strings, all 
3191 feature strings, or both. Intended to be primarily used for debugging 
3192 purposes only. Lv Zheng.
3194 Expose the collected _OSI data to the host via a global variable. This 
3195 data tracks the highest level vendor ID that has been invoked by the BIOS 
3196 so that the host (and potentially ACPICA itself) can change behaviors 
3197 based upon the age of the BIOS.
3199 Example Code and Data Size: These are the sizes for the OS-independent 
3200 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3201 debug version of the code includes the debug output trace mechanism and 
3202 has a much larger code and data size.
3204   Current Release:
3205     Non-Debug Version:  96.2K Code, 27.1K Data, 123.3K Total
3206     Debug Version:     184.4K Code, 76.8K Data, 261.2K Total
3207   Previous Release:
3208     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3209     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3212 2) iASL Compiler/Disassembler and Tools:
3214 iASL: Created the following enhancements for the -so option (create 
3215 offset table):
3216 1)Add offsets for the last nameseg in each namepath for every supported 
3217 object type
3218 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3219 3)Add the actual AML opcode for the parent object of every supported 
3220 object type
3221 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3223 Disassembler: Emit all unresolved external symbols in a single block. 
3224 These are external references to control methods that could not be 
3225 resolved, and thus, the disassembler had to make a guess at the number of 
3226 arguments to parse.
3228 iASL: The argument to the -T option (create table template) is now 
3229 optional. If not specified, the default table is a DSDT, typically the 
3230 most common case.
3232 ----------------------------------------
3233 26 June 2013. Summary of changes for version 20130626:
3235 1) ACPICA kernel-resident subsystem:
3237 Fixed an issue with runtime repair of the _CST object. Null or invalid 
3238 elements were not always removed properly. Lv Zheng. 
3240 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the 
3241 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device, 
3242 the maximum number of GPEs is 1016. Use of multiple GPE block devices 
3243 makes the system-wide number of GPEs essentially unlimited.
3245 Example Code and Data Size: These are the sizes for the OS-independent 
3246 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3247 debug version of the code includes the debug output trace mechanism and 
3248 has a much larger code and data size.
3250   Current Release:
3251     Non-Debug Version:  95.9K Code, 26.9K Data, 122.8K Total
3252     Debug Version:     184.1K Code, 76.7K Data, 260.8K Total
3253   Previous Release:
3254     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3255     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3258 2) iASL Compiler/Disassembler and Tools:
3260 Portable AcpiDump: Implemented full support for the Linux and FreeBSD 
3261 hosts. Now supports Linux, FreeBSD, and Windows.
3263 Disassembler: Added some missing types for the HEST and EINJ tables: "Set 
3264 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3266 iASL/Preprocessor: Implemented full support for nested 
3267 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3269 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes 
3270 max. The original purpose of this constraint was to limit the amount of 
3271 debug output. However, the string function in question (UtPrintString) is 
3272 now used for the disassembler also, where 256 bytes is insufficient. 
3273 Reported by RehabMan@GitHub.
3275 iASL/DataTables: Fixed some problems and issues with compilation of DMAR 
3276 tables. ACPICA BZ 999. Lv Zheng.
3278 iASL: Fixed a couple of error exit issues that could result in a "Could 
3279 not delete <file>" message during ASL compilation.
3281 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though 
3282 the actual signatures for these tables are "FACP" and "APIC", 
3283 respectively.
3285 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI 
3286 tables are allowed to have multiple instances.
3288 ----------------------------------------
3289 17 May 2013. Summary of changes for version 20130517:
3291 1) ACPICA kernel-resident subsystem:
3293 Fixed a regression introduced in version 20130328 for _INI methods. This 
3294 change fixes a problem introduced in 20130328 where _INI methods are no 
3295 longer executed properly because of a memory block that was not 
3296 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki 
3297 <tomasz.nowicki@linaro.org>.
3299 Fixed a possible problem with the new extended sleep registers in the 
3300 ACPI 
3301 5.0 FADT. Do not use these registers (even if populated) unless the HW-
3302 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ 
3303 1020. Lv Zheng.
3305 Implemented return value repair code for _CST predefined objects: Sort 
3306 the 
3307 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3309 Implemented a debug-only option to disable loading of SSDTs from the 
3310 RSDT/XSDT during ACPICA initialization. This can be useful for debugging 
3311 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in 
3312 acglobal.h - ACPICA BZ 1005. Lv Zheng.
3314 Fixed some issues in the ACPICA initialization and termination code: 
3315 Tomasz Nowicki <tomasz.nowicki@linaro.org>
3316 1) Clear events initialized flag upon event component termination. ACPICA 
3317 BZ 1013.
3318 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018. 
3319 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
3320 4) Clear debug buffer global on termination to prevent possible multiple 
3321 delete. ACPICA BZ 1010.
3323 Standardized all switch() blocks across the entire source base. After 
3324 many 
3325 years, different formatting for switch() had crept in. This change makes 
3326 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3328 Split some files to enhance ACPICA modularity and configurability:
3329 1) Split buffer dump routines into utilities/utbuffer.c
3330 2) Split internal error message routines into utilities/uterror.c
3331 3) Split table print utilities into tables/tbprint.c
3332 4) Split iASL command-line option processing into asloptions.c
3334 Makefile enhancements:
3335 1) Support for all new files above.
3336 2) Abort make on errors from any subcomponent. Chao Guan.
3337 3) Add build support for Apple Mac OS X. Liang Qi.
3339 Example Code and Data Size: These are the sizes for the OS-independent 
3340 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3341 debug version of the code includes the debug output trace mechanism and 
3342 has a much larger code and data size.
3344   Current Release:
3345     Non-Debug Version:  96.0K Code, 27.0K Data, 123.0K Total
3346     Debug Version:     184.1K Code, 76.8K Data, 260.9K Total
3347   Previous Release:
3348     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3349     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3352 2) iASL Compiler/Disassembler and Tools:
3354 New utility: Implemented an easily portable version of the acpidump 
3355 utility to extract ACPI tables from the system (or a file) in an ASCII 
3356 hex 
3357 dump format. The top-level code implements the various command line 
3358 options, file I/O, and table dump routines. To port to a new host, only 
3359 three functions need to be implemented to get tables -- since this 
3360 functionality is OS-dependent. See the tools/acpidump/apmain.c module and 
3361 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
3362 1) The Windows version obtains the ACPI tables from the Registry.
3363 2) The Linux version is under development.
3364 3) Other hosts - If an OS-dependent module is submitted, it will be 
3365 distributed with ACPICA.
3367 iASL: Fixed a regression for -D preprocessor option (define symbol). A 
3368 restructuring/change to the initialization sequence caused this option to 
3369 no longer work properly.
3371 iASL: Implemented a mechanism to disable specific warnings and remarks. 
3372 Adds a new command line option, "-vw <messageid> as well as "#pragma 
3373 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3375 iASL: Fix for too-strict package object validation. The package object 
3376 validation for return values from the predefined names is a bit too 
3377 strict, it does not allow names references within the package (which will 
3378 be resolved at runtime.) These types of references cannot be validated at 
3379 compile time. This change ignores named references within package objects 
3380 for names that return or define static packages.
3382 Debugger: Fixed the 80-character command line limitation for the History 
3383 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3385 iASL: Added control method and package support for the -so option 
3386 (generates AML offset table for BIOS support.)
3388 iASL: issue a remark if a non-serialized method creates named objects. If 
3389 a thread blocks within the method for any reason, and another thread 
3390 enters the method, the method will fail because an attempt will be made 
3391 to 
3392 create the same (named) object twice. In this case, issue a remark that 
3393 the method should be marked serialized. NOTE: may become a warning later. 
3394 ACPICA BZ 909.
3396 ----------------------------------------
3397 18 April 2013. Summary of changes for version 20130418:
3399 1) ACPICA kernel-resident subsystem:
3401 Fixed a possible buffer overrun during some rare but specific field unit 
3402 read operations. This overrun can only happen if the DSDT version is 1 -- 
3403 meaning that all AML integers are 32 bits -- and the field length is 
3404 between 33 and 55 bits long. During the read, an internal buffer object 
3405 is 
3406 created for the field unit because the field is larger than an integer 
3407 (32 
3408 bits). However, in this case, the buffer will be incorrectly written 
3409 beyond the end because the buffer length is less than the internal 
3410 minimum 
3411 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes 
3412 long, but a full 8 bytes will be written.
3414 Updated the Embedded Controller "orphan" _REG method support. This refers 
3415 to _REG methods under the EC device that have no corresponding operation 
3416 region. This is allowed by the ACPI specification. This update removes a 
3417 dependency on the existence an ECDT table. It will execute an orphan _REG 
3418 method as long as the operation region handler for the EC is installed at 
3419 the EC device node and not the namespace root. Rui Zhang (original 
3420 update), Bob Moore (update/integrate).
3422 Implemented run-time argument typechecking for all predefined ACPI names 
3423 (_STA, _BIF, etc.) This change performs object typechecking on all 
3424 incoming arguments for all predefined names executed via 
3425 AcpiEvaluateObject. This ensures that ACPI-related device drivers are 
3426 passing correct object types as well as the correct number of arguments 
3427 (therefore identifying any issues immediately). Also, the ASL/namespace 
3428 definition of the predefined name is checked against the ACPI 
3429 specification for the proper argument count. Adds one new file, 
3430 nsarguments.c
3432 Changed an exception code for the ASL UnLoad() operator. Changed the 
3433 exception code for the case where the input DdbHandle is invalid, from 
3434 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3436 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the 
3437 global makefile. The use of this flag causes compiler errors on earlier 
3438 versions of GCC, so it has been removed for compatibility.
3440 Miscellaneous cleanup:
3441 1) Removed some unused/obsolete macros
3442 2) Fixed a possible memory leak in the _OSI support
3443 3) Removed an unused variable in the predefined name support
3444 4) Windows OSL: remove obsolete reference to a memory list field
3446 Example Code and Data Size: These are the sizes for the OS-independent 
3447 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3448 debug version of the code includes the debug output trace mechanism and 
3449 has a much larger code and data size.
3451   Current Release:
3452     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3453     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3454   Previous Release:
3455     Non-Debug Version:  95.6K Code, 26.8K Data, 122.4K Total
3456     Debug Version:     183.5K Code, 76.6K Data, 260.1K Total
3459 2) iASL Compiler/Disassembler and Tools:
3461 AcpiExec: Added installation of a handler for the SystemCMOS address 
3462 space. This prevents control method abort if a method accesses this 
3463 space.
3465 AcpiExec: Added support for multiple EC devices, and now install EC 
3466 operation region handler(s) at the actual EC device instead of the 
3467 namespace root. This reflects the typical behavior of host operating 
3468 systems.
3470 AcpiExec: Updated to ensure that all operation region handlers are 
3471 installed before the _REG methods are executed. This prevents a _REG 
3472 method from aborting if it accesses an address space has no handler. 
3473 AcpiExec installs a handler for every possible address space.
3475 Debugger: Enhanced the "handlers" command to display non-root handlers. 
3476 This change enhances the handlers command to display handlers associated 
3477 with individual devices throughout the namespace, in addition to the 
3478 currently supported display of handlers associated with the root 
3479 namespace 
3480 node.
3482 ASL Test Suite: Several test suite errors have been identified and 
3483 resolved, reducing the total error count during execution. Chao Guan.
3485 ----------------------------------------
3486 28 March 2013. Summary of changes for version 20130328:
3488 1) ACPICA kernel-resident subsystem:
3490 Fixed several possible race conditions with the internal object reference 
3491 counting mechanism. Some of the external ACPICA interfaces update object 
3492 reference counts without holding the interpreter or namespace lock. This 
3493 change adds a spinlock to protect reference count updates on the internal 
3494 ACPICA objects. Reported by and with assistance from Andriy Gapon 
3495 (avg@FreeBSD.org).
3497 FADT support: Removed an extraneous warning for very large GPE register 
3498 sets. This change removes a size mismatch warning if the legacy length 
3499 field for a GPE register set is larger than the 64-bit GAS structure can 
3500 accommodate. GPE register sets can be larger than the 255-bit width 
3501 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3503 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error 
3504 return from this interface. Handles a possible timeout case if 
3505 ACPI_WAIT_FOREVER is modified by the host to be a value less than 
3506 "forever". Jung-uk Kim.
3508 Predefined name support: Add allowed/required argument type information 
3509 to 
3510 the master predefined info table. This change adds the infrastructure to 
3511 enable typechecking on incoming arguments for all predefined 
3512 methods/objects. It does not actually contain the code that will fully 
3513 utilize this information, this is still under development. Also condenses 
3514 some duplicate code for the predefined names into a new module, 
3515 utilities/utpredef.c
3517 Example Code and Data Size: These are the sizes for the OS-independent 
3518 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3519 debug version of the code includes the debug output trace mechanism and 
3520 has a much larger code and data size.
3522   Previous Release:
3523     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3524     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3525   Current Release:
3526     Non-Debug Version:  95.2K Code, 26.4K Data, 121.6K Total
3527     Debug Version:     183.0K Code, 76.0K Data, 259.0K Total
3530 2) iASL Compiler/Disassembler and Tools:
3532 iASL: Implemented a new option to simplify the development of ACPI-
3533 related 
3534 BIOS code. Adds support for a new "offset table" output file. The -so 
3535 option will create a C table containing the AML table offsets of various 
3536 named objects in the namespace so that BIOS code can modify them easily 
3537 at 
3538 boot time. This can simplify BIOS runtime code by eliminating expensive 
3539 searches for "magic values", enhancing boot times and adding greater 
3540 reliability. With assistance from Lee Hamel.
3542 iASL: Allow additional predefined names to return zero-length packages. 
3543 Now, all predefined names that are defined by the ACPI specification to 
3544 return a "variable-length package of packages" are allowed to return a 
3545 zero length top-level package. This allows the BIOS to tell the host that 
3546 the requested feature is not supported, and supports existing BIOS/ASL 
3547 code and practices.
3549 iASL: Changed the "result not used" warning to an error. This is the case 
3550 where an ASL operator is effectively a NOOP because the result of the 
3551 operation is not stored anywhere. For example:
3552     Add (4, Local0)
3553 There is no target (missing 3rd argument), nor is the function return 
3554 value used. This is potentially a very serious problem -- since the code 
3555 was probably intended to do something, but for whatever reason, the value 
3556 was not stored. Therefore, this issue has been upgraded from a warning to 
3557 an error.
3559 AcpiHelp: Added allowable/required argument types to the predefined names 
3560 info display. This feature utilizes the recent update to the predefined 
3561 names table (above).
3563 ----------------------------------------
3564 14 February 2013. Summary of changes for version 20130214:
3566 1) ACPICA Kernel-resident Subsystem:
3568 Fixed a possible regression on some hosts: Reinstated the safe return 
3569 macros (return_ACPI_STATUS, etc.) that ensure that the argument is 
3570 evaluated only once. Although these macros are not needed for the ACPICA 
3571 code itself, they are often used by ACPI-related host device drivers 
3572 where 
3573 the safe feature may be necessary.
3575 Fixed several issues related to the ACPI 5.0 reduced hardware support 
3576 (SOC): Now ensure that if the platform declares itself as hardware-
3577 reduced 
3578 via the FADT, the following functions become NOOPs (and always return 
3579 AE_OK) because ACPI is always enabled by definition on these machines:
3580   AcpiEnable
3581   AcpiDisable
3582   AcpiHwGetMode
3583   AcpiHwSetMode
3585 Dynamic Object Repair: Implemented additional runtime repairs for 
3586 predefined name return values. Both of these repairs can simplify code in 
3587 the related device drivers that invoke these methods:
3588 1) For the _STR and _MLS names, automatically repair/convert an ASCII 
3589 string to a Unicode buffer. 
3590 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with 
3592 lone end tag descriptor in the following cases: A Return(0) was executed, 
3593 a null buffer was returned, or no object at all was returned (non-slack 
3594 mode only). Adds a new file, nsconvert.c
3595 ACPICA BZ 998. Bob Moore, Lv Zheng.
3597 Resource Manager: Added additional code to prevent possible infinite 
3598 loops 
3599 while traversing corrupted or ill-formed resource template buffers. Check 
3600 for zero-length resource descriptors in all code that loops through 
3601 resource templates (the length field is used to index through the 
3602 template). This change also hardens the external AcpiWalkResources and 
3603 AcpiWalkResourceBuffer interfaces.
3605 Local Cache Manager: Enhanced the main data structure to eliminate an 
3606 unnecessary mechanism to access the next object in the list. Actually 
3607 provides a small performance enhancement for hosts that use the local 
3608 ACPICA cache manager. Jung-uk Kim.
3610 Example Code and Data Size: These are the sizes for the OS-independent 
3611 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3612 debug version of the code includes the debug output trace mechanism and 
3613 has a much larger code and data size.
3615   Previous Release:
3616     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3617     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3618   Current Release:
3619     Non-Debug Version:  95.0K Code, 25.9K Data, 120.9K Total
3620     Debug Version:     182.9K Code, 75.6K Data, 258.5K Total
3623 2) iASL Compiler/Disassembler and Tools:
3625 iASL/Disassembler: Fixed several issues with the definition of the ACPI 
3626 5.0 RASF table (RAS Feature Table). This change incorporates late changes 
3627 that were made to the ACPI 5.0 specification.
3629 iASL/Disassembler: Added full support for the following new ACPI tables:
3630   1) The MTMR table (MID Timer Table)
3631   2) The VRTC table (Virtual Real Time Clock Table).
3632 Includes header file, disassembler, table compiler, and template support 
3633 for both tables.
3635 iASL: Implemented compile-time validation of package objects returned by 
3636 predefined names. This new feature validates static package objects 
3637 returned by the various predefined names defined to return packages. Both 
3638 object types and package lengths are validated, for both parent packages 
3639 and sub-packages, if any. The code is similar in structure and behavior 
3640 to 
3641 the runtime repair mechanism within the AML interpreter and uses the 
3642 existing predefined name information table. Adds a new file, aslprepkg.c. 
3643 ACPICA BZ 938.
3645 iASL: Implemented auto-detection of binary ACPI tables for disassembly. 
3646 This feature detects a binary file with a valid ACPI table header and 
3647 invokes the disassembler automatically. Eliminates the need to 
3648 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3650 iASL/Disassembler: Added several warnings for the case where there are 
3651 unresolved control methods during the disassembly. This can potentially 
3652 cause errors when the output file is compiled, because the disassembler 
3653 assumes zero method arguments in these cases (it cannot determine the 
3654 actual number of arguments without resolution/definition of the method).
3656 Debugger: Added support to display all resources with a single command. 
3657 Invocation of the resources command with no arguments will now display 
3658 all 
3659 resources within the current namespace.
3661 AcpiHelp: Added descriptive text for each ACPICA exception code displayed 
3662 via the -e option.
3664 ----------------------------------------
3665 17 January 2013. Summary of changes for version 20130117:
3667 1) ACPICA Kernel-resident Subsystem:
3669 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to 
3670 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx 
3671 objects to return a package containing one integer, most BIOS code 
3672 returns 
3673 two integers and the previous code reflects that. However, we also need 
3674 to 
3675 support BIOS code that actually implements to the ACPI spec, and this 
3676 change reflects this.
3678 Fixed two issues with the ACPI_DEBUG_PRINT macros:
3679 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for 
3680 C compilers that require this support.
3681 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since 
3682 ACPI_DEBUG is already used by many of the various hosts.
3684 Updated all ACPICA copyrights and signons to 2013. Added the 2013 
3685 copyright to all module headers and signons, including the standard Linux 
3686 header. This affects virtually every file in the ACPICA core subsystem, 
3687 iASL compiler, all ACPICA utilities, and the test suites.
3689 Example Code and Data Size: These are the sizes for the OS-independent 
3690 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3691 debug version of the code includes the debug output trace mechanism and 
3692 has a much larger code and data size.
3694   Previous Release:
3695     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3696     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3697   Current Release:
3698     Non-Debug Version:  94.5K Code, 25.4K Data, 119.9K Total
3699     Debug Version:     182.3K Code, 75.0K Data, 257.3K Total
3702 2) iASL Compiler/Disassembler and Tools:
3704 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and 
3705 prevent a possible fault on some hosts. Some C libraries modify the arg 
3706 pointer parameter to vfprintf making it difficult to call it twice in the 
3707 AcpiOsVprintf function. Use a local buffer to workaround this issue. This 
3708 does not affect the Windows OSL since the Win C library does not modify 
3709 the arg pointer. Chao Guan, Bob Moore.
3711 iASL: Fixed a possible infinite loop when the maximum error count is 
3712 reached. If an output file other than the .AML file is specified (such as 
3713 a listing file), and the maximum number of errors is reached, do not 
3714 attempt to flush data to the output file(s) as the compiler is aborting. 
3715 This can cause an infinite loop as the max error count code essentially 
3716 keeps calling itself.
3718 iASL/Disassembler: Added an option (-in) to ignore NOOP 
3719 opcodes/operators. 
3720 Implemented for both the compiler and the disassembler. Often, the NOOP 
3721 opcode is used as padding for packages that are changed dynamically by 
3722 the 
3723 BIOS. When disassembled and recompiled, these NOOPs will cause syntax 
3724 errors. This option causes the disassembler to ignore all NOOP opcodes 
3725 (0xA3), and it also causes the compiler to ignore all ASL source code 
3726 NOOP 
3727 statements as well.
3729 Debugger: Enhanced the Sleep command to execute all sleep states. This 
3730 change allows Sleep to be invoked with no arguments and causes the 
3731 debugger to execute all of the sleep states, 0-5, automatically.
3733 ----------------------------------------
3734 20 December 2012. Summary of changes for version 20121220:
3736 1) ACPICA Kernel-resident Subsystem:
3738 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an 
3739 alternate entry point for AcpiWalkResources and improves the usability of 
3740 the resource manager by accepting as input a buffer containing the output 
3741 of either a _CRS, _PRS, or _AEI method. The key functionality is that the 
3742 input buffer is not deleted by this interface so that it can be used by 
3743 the host later. See the ACPICA reference for details.
3745 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table 
3746 (DSDT version < 2). The constant will be truncated and this warning 
3747 reflects that behavior.
3749 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ, 
3750 ExtendedInterrupt, and GpioInt descriptors. This change adds support to 
3751 both get and set the new wake bit in these descriptors, separately from 
3752 the existing share bit. Reported by Aaron Lu.
3754 Interpreter: Fix Store() when an implicit conversion is not possible. For 
3755 example, in the cases such as a store of a string to an existing package 
3756 object, implement the store as a CopyObject(). This is a small departure 
3757 from the ACPI specification which states that the control method should 
3758 be 
3759 aborted in this case. However, the ASLTS suite depends on this behavior.
3761 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT 
3762 macros: check if debug output is currently enabled as soon as possible to 
3763 minimize performance impact if debug is in fact not enabled.
3765 Source code restructuring: Cleanup to improve modularity. The following 
3766 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c, 
3767 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c. 
3768 Associated makefiles and project files have been updated.
3770 Changed an exception code for LoadTable operator. For the case where one 
3771 of the input strings is too long, change the returned exception code from 
3772 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3774 Fixed a possible memory leak in dispatcher error path. On error, delete 
3775 the mutex object created during method mutex creation. Reported by 
3776 tim.gardner@canonical.com.
3778 Example Code and Data Size: These are the sizes for the OS-independent 
3779 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3780 debug version of the code includes the debug output trace mechanism and 
3781 has a much larger code and data size.
3783   Previous Release:
3784     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3785     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3786   Current Release:
3787     Non-Debug Version:  94.5K Code, 25.5K Data, 120.0K Total
3788     Debug Version:     182.2K Code, 74.9K Data, 257.1K Total
3791 2) iASL Compiler/Disassembler and Tools:
3793 iASL: Disallow a method call as argument to the ObjectType ASL operator. 
3794 This change tracks an errata to the ACPI 5.0 document. The AML grammar 
3795 will not allow the interpreter to differentiate between a method and a 
3796 method invocation when these are used as an argument to the ObjectType 
3797 operator. The ACPI specification change is to disallow a method 
3798 invocation 
3799 (UserTerm) for the ObjectType operator.
3801 Finish support for the TPM2 and CSRT tables in the headers, table 
3802 compiler, and disassembler.
3804 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout 
3805 always expires immediately if the semaphore is not available. The 
3806 original 
3807 code was using a relative-time timeout, but sem_timedwait requires the 
3808 use 
3809 of an absolute time.
3811 iASL: Added a remark if the Timer() operator is used within a 32-bit 
3812 table. This operator returns a 64-bit time value that will be truncated 
3813 within a 32-bit table.
3815 iASL Source code restructuring: Cleanup to improve modularity. The 
3816 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c, 
3817 aslmethod.c, and aslfileio.c. Associated makefiles and project files have 
3818 been updated.
3821 ----------------------------------------
3822 14 November 2012. Summary of changes for version 20121114:
3824 1) ACPICA Kernel-resident Subsystem:
3826 Implemented a performance enhancement for ACPI/AML Package objects. This 
3827 change greatly increases the performance of Package objects within the 
3828 interpreter. It changes the processing of reference counts for packages 
3829 by 
3830 optimizing for the most common case where the package sub-objects are 
3831 either Integers, Strings, or Buffers. Increases the overall performance 
3832 of 
3833 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 
3834 2X.) 
3835 Chao Guan. ACPICA BZ 943.
3837 Implemented and deployed common macros to extract flag bits from resource 
3838 descriptors. Improves readability and maintainability of the code. Fixes 
3840 problem with the UART serial bus descriptor for the number of data bits 
3841 flags (was incorrectly 2 bits, should be 3).
3843 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation 
3844 of the macros and changed the SETx macros to the style of (destination, 
3845 source). Also added ACPI_CASTx companion macros. Lv Zheng.
3847 Example Code and Data Size: These are the sizes for the OS-independent 
3848 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3849 debug version of the code includes the debug output trace mechanism and 
3850 has a much larger code and data size.
3852   Previous Release:
3853     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3854     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3855   Current Release:
3856     Non-Debug Version:  94.3K Code, 25.3K Data, 119.6K Total
3857     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3860 2) iASL Compiler/Disassembler and Tools:
3862 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change 
3863 adds the ShareAndWake and ExclusiveAndWake flags which were added to the 
3864 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3866 Disassembler: Fixed a problem with external declaration generation. Fixes 
3867 a problem where an incorrect pathname could be generated for an external 
3868 declaration if the original reference to the object includes leading 
3869 carats (^). ACPICA BZ 984.
3871 Debugger: Completed a major update for the Disassemble<method> command. 
3872 This command was out-of-date and did not properly disassemble control 
3873 methods that had any reasonable complexity. This fix brings the command 
3874 up 
3875 to the same level as the rest of the disassembler. Adds one new file, 
3876 dmdeferred.c, which is existing code that is now common with the main 
3877 disassembler and the debugger disassemble command. ACPICA MZ 978.
3879 iASL: Moved the parser entry prototype to avoid a duplicate declaration. 
3880 Newer versions of Bison emit this prototype, so moved the prototype out 
3881 of 
3882 the iASL header to where it is actually used in order to avoid a 
3883 duplicate 
3884 declaration.
3886 iASL/Tools: Standardized use of the stream I/O functions:
3887   1) Ensure check for I/O error after every fopen/fread/fwrite
3888   2) Ensure proper order of size/count arguments for fread/fwrite
3889   3) Use test of (Actual != Requested) after all fwrite, and most fread
3890   4) Standardize I/O error messages
3891 Improves reliability and maintainability of the code. Bob Moore, Lv 
3892 Zheng. 
3893 ACPICA BZ 981.
3895 Disassembler: Prevent duplicate External() statements. During generation 
3896 of external statements, detect similar pathnames that are actually 
3897 duplicates such as these:
3898   External (\ABCD)
3899   External (ABCD)
3900 Remove all leading '\' characters from pathnames during the external 
3901 statement generation so that duplicates will be detected and tossed. 
3902 ACPICA BZ 985.
3904 Tools: Replace low-level I/O with stream I/O functions. Replace 
3905 open/read/write/close with the stream I/O equivalents 
3906 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob 
3907 Moore.
3909 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table 
3910 name header so that AcpiXtract recognizes the output file/table.
3912 iASL: Remove obsolete -2 option flag. Originally intended to force the 
3913 compiler/disassembler into an ACPI 2.0 mode, this was never implemented 
3914 and the entire concept is now obsolete.
3916 ----------------------------------------
3917 18 October 2012. Summary of changes for version 20121018:
3920 1) ACPICA Kernel-resident Subsystem:
3922 Updated support for the ACPI 5.0 MPST table. Fixes some problems 
3923 introduced by late changes to the table as it was added to the ACPI 5.0 
3924 specification. Includes header, disassembler, and data table compiler 
3925 support as well as a new version of the MPST template.
3927 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI 
3928 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID 
3929 methods: _HID, _CID, and _UID.
3931 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed 
3932 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent 
3933 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId) 
3934 names for their various drivers. Affects the AcpiGetObjectInfo external 
3935 interface, and other internal interfaces as well.
3937 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME. 
3938 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME 
3939 on machines that support non-aligned transfers. Optimizes for this case 
3940 rather than using a strncpy. With assistance from Zheng Lv.
3942 Resource Manager: Small fix for buffer size calculation. Fixed a one byte 
3943 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
3945 Added a new debug print message for AML mutex objects that are force-
3946 released. At control method termination, any currently acquired mutex 
3947 objects are force-released. Adds a new debug-only message for each one 
3948 that is released.
3950 Audited/updated all ACPICA return macros and the function debug depth 
3951 counter: 1) Ensure that all functions that use the various TRACE macros 
3952 also use the appropriate ACPICA return macros. 2) Ensure that all normal 
3953 return statements surround the return expression (value) with parens to 
3954 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng, 
3955 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
3957 Global source code changes/maintenance: All extra lines at the start and 
3958 end of each source file have been removed for consistency. Also, within 
3959 comments, all new sentences start with a single space instead of a double 
3960 space, again for consistency across the code base.
3962 Example Code and Data Size: These are the sizes for the OS-independent 
3963 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
3964 debug version of the code includes the debug output trace mechanism and 
3965 has a much larger code and data size.
3967   Previous Release:
3968     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
3969     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
3970   Current Release:
3971     Non-Debug Version:  93.9K Code, 25.2K Data, 119.1K Total
3972     Debug Version:     175.5K Code, 74.5K Data, 250.0K Total
3975 2) iASL Compiler/Disassembler and Tools:
3977 AcpiExec: Improved the algorithm used for memory leak/corruption 
3978 detection. Added some intelligence to the code that maintains the global 
3979 list of allocated memory. The list is now ordered by allocated memory 
3980 address, significantly improving performance. When running AcpiExec on 
3981 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending 
3982 on the platform and/or the environment. Note, this performance 
3983 enhancement affects the AcpiExec utility only, not the kernel-resident 
3984 ACPICA code.
3986 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For 
3987 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix 
3988 incorrect table offset reported for invalid opcodes. Report the original 
3989 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
3991 Disassembler: Enhanced the -vt option to emit the binary table data in 
3992 hex format to assist with debugging.
3994 Fixed a potential filename buffer overflow in osunixdir.c. Increased the 
3995 size of file structure. Colin Ian King.
3997 ----------------------------------------
3998 13 September 2012. Summary of changes for version 20120913:
4001 1) ACPICA Kernel-resident Subsystem:
4003 ACPI 5.0: Added two new notify types for the Hardware Error Notification 
4004 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5) 
4005 and 
4006 MCE(6).
4008 Table Manager: Merged/removed duplicate code in the root table resize 
4009 functions. One function is external, the other is internal. Lv Zheng, 
4010 ACPICA 
4011 BZ 846.
4013 Makefiles: Completely removed the obsolete "Linux" makefiles under 
4014 acpica/generate/linux. These makefiles are obsolete and have been 
4015 replaced 
4016 by 
4017 the generic unix makefiles under acpica/generate/unix.
4019 Makefiles: Ensure that binary files always copied properly. Minor rule 
4020 change 
4021 to ensure that the final binary output files are always copied up to the 
4022 appropriate binary directory (bin32 or bin64.)
4024 Example Code and Data Size: These are the sizes for the OS-independent 
4025 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4026 debug 
4027 version of the code includes the debug output trace mechanism and has a 
4028 much 
4029 larger code and data size.
4031   Previous Release:
4032     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4033     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4034   Current Release:
4035     Non-Debug Version:  93.7K Code, 25.3K Data, 119.0K Total
4036     Debug Version:     175.0K Code, 74.4K Data, 249.4K Total
4039 2) iASL Compiler/Disassembler and Tools:
4041 Disassembler: Fixed a possible fault during the disassembly of resource 
4042 descriptors when a second parse is required because of the invocation of 
4043 external control methods within the table. With assistance from 
4044 adq@lidskialf.net. ACPICA BZ 976.
4046 iASL: Fixed a namepath optimization problem. An error can occur if the 
4047 parse 
4048 node that contains the namepath to be optimized does not have a parent 
4049 node 
4050 that is a named object. This change fixes the problem.
4052 iASL: Fixed a regression where the AML file is not deleted on errors. The 
4053 AML 
4054 output file should be deleted if there are any errors during the 
4055 compiler. 
4056 The 
4057 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4059 iASL: Added a feature to automatically increase internal line buffer 
4060 sizes. 
4061 Via realloc(), automatically increase the internal line buffer sizes as 
4062 necessary to support very long source code lines. The current version of 
4063 the 
4064 preprocessor requires a buffer long enough to contain full source code 
4065 lines. 
4066 This change increases the line buffer(s) if the input lines go beyond the 
4067 current buffer size. This eliminates errors that occurred when a source 
4068 code 
4069 line was longer than the buffer.
4071 iASL: Fixed a problem with constant folding in method declarations. The 
4072 SyncLevel term is a ByteConstExpr, and incorrect code would be generated 
4073 if a 
4074 Type3 opcode was used.
4076 Debugger: Improved command help support. For incorrect argument count, 
4077 display 
4078 full help for the command. For help command itself, allow an argument to 
4079 specify a command.
4081 Test Suites: Several bug fixes for the ASLTS suite reduces the number of 
4082 errors during execution of the suite. Guan Chao.
4084 ----------------------------------------
4085 16 August 2012. Summary of changes for version 20120816:
4088 1) ACPICA Kernel-resident Subsystem:
4090 Removed all use of the deprecated _GTS and _BFS predefined methods. The 
4091 _GTS 
4092 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially 
4093 deprecated and will probably be removed from the ACPI specification. 
4094 Windows 
4095 does not invoke them, and reportedly never will. The final nail in the 
4096 coffin 
4097 is that the ACPI specification states that these methods must be run with 
4098 interrupts off, which is not going to happen in a kernel interpreter. 
4099 Note: 
4100 Linux has removed all use of the methods also. It was discovered that 
4101 invoking these functions caused failures on some machines, probably 
4102 because 
4103 they were never tested since Windows does not call them. Affects two 
4104 external 
4105 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng. 
4106 ACPICA BZ 969.
4108 Implemented support for complex bit-packed buffers returned from the _PLD 
4109 (Physical Location of Device) predefined method. Adds a new external 
4110 interface, AcpiDecodePldBuffer that parses the buffer into a more usable 
4112 structure. Note: C Bitfields cannot be used for this type of predefined 
4113 structure since the memory layout of individual bitfields is not defined 
4114 by 
4115 the C language. In addition, there are endian concerns where a compiler 
4116 will 
4117 change the bitfield ordering based on the machine type. The new ACPICA 
4118 interface eliminates these issues, and should be called after _PLD is 
4119 executed. ACPICA BZ 954.
4121 Implemented a change to allow a scope change to root (via "Scope (\)") 
4122 during 
4123 execution of module-level ASL code (code that is executed at table load 
4124 time.) Lin Ming.
4126 Added the Windows8/Server2012 string for the _OSI method. This change 
4127 adds 
4129 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server 
4130 2012.
4132 Added header support for the new ACPI tables DBG2 (Debug Port Table Type 
4133 2) 
4134 and CSRT (Core System Resource Table).
4136 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined 
4137 names. This simplifies access to the buffers returned by these predefined 
4138 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4140 GPE support: Removed an extraneous parameter from the various low-level 
4141 internal GPE functions. Tang Feng.
4143 Removed the linux makefiles from the unix packages. The generate/linux 
4144 makefiles are obsolete and have been removed from the unix tarball 
4145 release 
4146 packages. The replacement makefiles are under generate/unix, and there is 
4148 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4150 Updates for Unix makefiles:
4151 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4152 2) Update linker flags (move to end of command line) for AcpiExec 
4153 utility. 
4154 Guan Chao.
4156 Split ACPICA initialization functions to new file, utxfinit.c. Split from 
4157 utxface.c to improve modularity and reduce file size.
4159 Example Code and Data Size: These are the sizes for the OS-independent 
4160 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4161 debug version of the code includes the debug output trace mechanism and 
4162 has a 
4163 much larger code and data size.
4165   Previous Release:
4166     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4167     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4168   Current Release:
4169     Non-Debug Version:  93.8K Code, 25.3K Data, 119.1K Total
4170     Debug Version:     175.7K Code, 74.8K Data, 250.5K Total
4173 2) iASL Compiler/Disassembler and Tools:
4175 iASL: Fixed a problem with constant folding for fixed-length constant 
4176 expressions. The constant-folding code was not being invoked for constant 
4177 expressions that allow the use of type 3/4/5 opcodes to generate 
4178 constants 
4179 for expressions such as ByteConstExpr, WordConstExpr, etc. This could 
4180 result 
4181 in the generation of invalid AML bytecode. ACPICA BZ 970.
4183 iASL: Fixed a generation issue on newer versions of Bison. Newer versions 
4184 apparently automatically emit some of the necessary externals. This 
4185 change 
4186 handles these versions in order to eliminate generation warnings.
4188 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4190 Disassembler: Add support to decode _PLD buffers. The decoded buffer 
4191 appears 
4192 within comments in the output file.
4194 Debugger: Fixed a regression with the "Threads" command where 
4195 AE_BAD_PARAMETER was always returned.
4197 ----------------------------------------
4198 11 July 2012. Summary of changes for version 20120711:
4200 1) ACPICA Kernel-resident Subsystem:
4202 Fixed a possible fault in the return package object repair code. Fixes a 
4203 problem that can occur when a lone package object is wrapped with an 
4204 outer 
4205 package object in order to force conformance to the ACPI specification. 
4206 Can 
4207 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, 
4208 _DLM, 
4209 _CSD, _PSD, _TSD.
4211 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the 
4212 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the 
4213 ARB_DIS bit must be implemented in the host-dependent C3 processor power 
4214 state 
4215 support. Note, ARB_DIS is obsolete and only applies to older chipsets, 
4216 both 
4217 Intel and other vendors. (for Intel: ICH4-M and earlier)
4219 This change removes the code to disable/enable bus master arbitration 
4220 during 
4221 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register 
4222 causes 
4223 resume problems on some machines. The change has been in use for over 
4224 seven 
4225 years within Linux.
4227 Implemented two new external interfaces to support host-directed dynamic 
4228 ACPI 
4229 table load and unload. They are intended to simplify the host 
4230 implementation 
4231 of hot-plug support:
4232   AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4233   AcpiUnloadParentTable: Unload an SSDT via a named object owned by the 
4234 table.
4235 See the ACPICA reference for additional details. Adds one new file, 
4236 components/tables/tbxfload.c
4238 Implemented and deployed two new interfaces for errors and warnings that 
4239 are 
4240 known to be caused by BIOS/firmware issues:
4241   AcpiBiosError: Prints "ACPI Firmware Error" message.
4242   AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4243 Deployed these new interfaces in the ACPICA Table Manager code for ACPI 
4244 table 
4245 and FADT errors. Additional deployment to be completed as appropriate in 
4246 the 
4247 future. The associated conditional macros are ACPI_BIOS_ERROR and 
4248 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. 
4249 ACPICA 
4250 BZ 
4251 843.
4253 Implicit notify support: ensure that no memory allocation occurs within a 
4254 critical region. This fix moves a memory allocation outside of the time 
4255 that a 
4256 spinlock is held. Fixes issues on systems that do not allow this 
4257 behavior. 
4258 Jung-uk Kim.
4260 Split exception code utilities and tables into a new file, 
4261 utilities/utexcep.c
4263 Example Code and Data Size: These are the sizes for the OS-independent 
4264 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4265 debug 
4266 version of the code includes the debug output trace mechanism and has a 
4267 much 
4268 larger code and data size.
4270   Previous Release:
4271     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4272     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4273   Current Release:
4274     Non-Debug Version:  93.5K Code, 25.3K Data, 118.8K Total
4275     Debug Version:     173.7K Code, 74.0K Data, 247.7K Total
4278 2) iASL Compiler/Disassembler and Tools:
4280 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead 
4281 of 
4282 0. Jung-uk Kim.
4284 Debugger: Enhanced the "tables" command to emit additional information 
4285 about 
4286 the current set of ACPI tables, including the owner ID and flags decode.
4288 Debugger: Reimplemented the "unload" command to use the new 
4289 AcpiUnloadParentTable external interface. This command was disable 
4290 previously 
4291 due to need for an unload interface.
4293 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e 
4294 option 
4295 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4297 ----------------------------------------
4298 20 June 2012. Summary of changes for version 20120620:
4301 1) ACPICA Kernel-resident Subsystem:
4303 Implemented support to expand the "implicit notify" feature to allow 
4304 multiple 
4305 devices to be notified by a single GPE. This feature automatically 
4306 generates a 
4307 runtime device notification in the absence of a BIOS-provided GPE control 
4308 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit 
4309 notify is 
4310 provided by ACPICA for Windows compatibility, and is a workaround for 
4311 BIOS 
4312 AML 
4313 code errors. See the description of the AcpiSetupGpeForWake interface in 
4314 the 
4315 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4317 Changed some comments and internal function names to simplify and ensure 
4318 correctness of the Linux code translation. No functional changes.
4320 Example Code and Data Size: These are the sizes for the OS-independent 
4321 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4322 debug 
4323 version of the code includes the debug output trace mechanism and has a 
4324 much 
4325 larger code and data size.
4327   Previous Release:
4328     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4329     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4330   Current Release:
4331     Non-Debug Version:  93.1K Code, 25.1K Data, 118.2K Total
4332     Debug Version:     172.9K Code, 73.6K Data, 246.5K Total
4335 2) iASL Compiler/Disassembler and Tools:
4337 Disassembler: Added support to emit short, commented descriptions for the 
4338 ACPI 
4339 predefined names in order to improve the readability of the disassembled 
4340 output. ACPICA BZ 959. Changes include:
4341   1) Emit descriptions for all standard predefined names (_INI, _STA, 
4342 _PRW, 
4343 etc.)
4344   2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4345   3) Emit descriptions for the resource descriptor names (_MIN, _LEN, 
4346 etc.)
4348 AcpiSrc: Fixed several long-standing Linux code translation issues. 
4349 Argument 
4350 descriptions in function headers are now translated properly to lower 
4351 case 
4352 and 
4353 underscores. ACPICA BZ 961. Also fixes translation problems such as 
4354 these: 
4355 (old -> new)
4356   i_aSL -> iASL
4357   00-7_f -> 00-7F
4358   16_k -> 16K
4359   local_fADT -> local_FADT
4360   execute_oSI -> execute_OSI
4362 iASL: Fixed a problem where null bytes were inadvertently emitted into 
4363 some 
4364 listing files.
4366 iASL: Added the existing debug options to the standard help screen. There 
4367 are 
4368 no longer two different help screens. ACPICA BZ 957.
4370 AcpiHelp: Fixed some typos in the various predefined name descriptions. 
4371 Also 
4372 expand some of the descriptions where appropriate.
4374 iASL: Fixed the -ot option (display compile times/statistics). Was not 
4375 working 
4376 properly for standard output; only worked for the debug file case.
4378 ----------------------------------------
4379 18 May 2012. Summary of changes for version 20120518:
4382 1) ACPICA Core Subsystem:
4384 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is 
4385 defined 
4386 to block until asynchronous events such as notifies and GPEs have 
4387 completed. 
4388 Within ACPICA, it is only called before a notify or GPE handler is 
4389 removed/uninstalled. It also may be useful for the host OS within related 
4390 drivers such as the Embedded Controller driver. See the ACPICA reference 
4391 for 
4392 additional information. ACPICA BZ 868.
4394 ACPI Tables: Added a new error message for a possible overflow failure 
4395 during 
4396 the conversion of FADT 32-bit legacy register addresses to internal 
4397 common 
4399 bit GAS structure representation. The GAS has a one-byte "bit length" 
4400 field, 
4401 thus limiting the register length to 255 bits. ACPICA BZ 953.
4403 Example Code and Data Size: These are the sizes for the OS-independent 
4404 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4405 debug 
4406 version of the code includes the debug output trace mechanism and has a 
4407 much 
4408 larger code and data size.
4410   Previous Release:
4411     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4412     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4413   Current Release:
4414     Non-Debug Version:  93.0K Code, 25.1K Data, 118.1K Total
4415     Debug Version:     172.7K Code, 73.6K Data, 246.3K Total
4418 2) iASL Compiler/Disassembler and Tools:
4420 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL 
4421 macro. 
4422 This keyword was added late in the ACPI 5.0 release cycle and was not 
4423 implemented until now.
4425 Disassembler: Added support for Operation Region externals. Adds missing 
4426 support for operation regions that are defined in another table, and 
4427 referenced locally via a Field or BankField ASL operator. Now generates 
4428 the 
4429 correct External statement.
4431 Disassembler: Several additional fixes for the External() statement 
4432 generation 
4433 related to some ASL operators. Also, order the External() statements 
4434 alphabetically in the disassembler output. Fixes the External() 
4435 generation 
4436 for 
4437 the Create* field, Alias, and Scope operators:
4438  1) Create* buffer field operators - fix type mismatch warning on 
4439 disassembly
4440  2) Alias - implement missing External support
4441  3) Scope - fix to make sure all necessary externals are emitted.
4443 iASL: Improved pathname support. For include files, merge the prefix 
4444 pathname 
4445 with the file pathname and eliminate unnecessary components. Convert 
4446 backslashes in all pathnames to forward slashes, for readability. Include 
4447 file 
4448 pathname changes affect both #include and Include() type operators.
4450 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the 
4451 end 
4452 of a valid line by inserting a newline and then returning the EOF during 
4453 the 
4454 next call to GetNextLine. Prevents the line from being ignored due to EOF 
4455 condition.
4457 iASL: Implemented some changes to enhance the IDE support (-vi option.) 
4458 Error 
4459 and Warning messages are now correctly recognized for both the source 
4460 code 
4461 browser and the global error and warning counts.
4463 ----------------------------------------
4464 20 April 2012. Summary of changes for version 20120420:
4467 1) ACPICA Core Subsystem:
4469 Implemented support for multiple notify handlers. This change adds 
4470 support 
4471 to 
4472 allow multiple system and device notify handlers on Device, Thermal Zone, 
4473 and 
4474 Processor objects. This can simplify the host OS notification 
4475 implementation. 
4476 Also re-worked and restructured the entire notify support code to 
4477 simplify 
4478 handler installation, handler removal, notify event queuing, and notify 
4479 dispatch to handler(s). Note: there can still only be two global notify 
4480 handlers - one for system notifies and one for device notifies. There are 
4481 no 
4482 changes to the existing handler install/remove interfaces. Lin Ming, Bob 
4483 Moore, Rafael Wysocki.
4485 Fixed a regression in the package repair code where the object reference 
4486 count was calculated incorrectly. Regression was introduced in the commit 
4487 "Support to add Package wrappers".
4489 Fixed a couple possible memory leaks in the AML parser, in the error 
4490 recovery 
4491 path. Jesper Juhl, Lin Ming.
4493 Example Code and Data Size: These are the sizes for the OS-independent 
4494 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4495 debug version of the code includes the debug output trace mechanism and 
4496 has a 
4497 much larger code and data size.
4499   Previous Release:
4500     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4501     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4502   Current Release:
4503     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4504     Debug Version:     172.6K Code, 73.4K Data, 246.0K Total
4507 2) iASL Compiler/Disassembler and Tools:
4509 iASL: Fixed a problem with the resource descriptor support where the 
4510 length 
4511 of the StartDependentFn and StartDependentFnNoPrio descriptors were not 
4512 included in cumulative descriptor offset, resulting in incorrect values 
4513 for 
4514 resource tags within resource descriptors appearing after a 
4515 StartDependent* 
4516 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4518 iASL and Preprocessor: Implemented full support for the #line directive 
4519 to 
4520 correctly track original source file line numbers through the .i 
4521 preprocessor 
4522 output file - for error and warning messages.
4524 iASL: Expand the allowable byte constants for address space IDs. 
4525 Previously, 
4526 the allowable range was 0x80-0xFF (user-defined spaces), now the range is 
4527 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
4529 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4531 iASL: Add option to completely disable the preprocessor (-Pn).
4533 iASL: Now emit all error/warning messages to standard error (stderr) by 
4534 default (instead of the previous stdout).
4536 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch(). 
4537 Update 
4538 for resource descriptor offset fix above. Update/cleanup error output 
4539 routines. Enable and send iASL errors/warnings to an error logfile 
4540 (error.txt). Send all other iASL output to a logfile (compiler.txt). 
4541 Fixed 
4542 several extraneous "unrecognized operator" messages.
4544 ----------------------------------------
4545 20 March 2012. Summary of changes for version 20120320:
4548 1) ACPICA Core Subsystem:
4550 Enhanced the sleep/wake interfaces to optionally execute the _GTS method 
4551 (Going To Sleep) and the _BFS method (Back From Sleep). Windows 
4552 apparently 
4553 does not execute these methods, and therefore these methods are often 
4554 untested. It has been seen on some systems where the execution of these 
4555 methods causes errors and also prevents the machine from entering S5. It 
4556 is 
4557 therefore suggested that host operating systems do not execute these 
4558 methods 
4559 by default. In the future, perhaps these methods can be optionally 
4560 executed 
4561 based on the age of the system and/or what is the newest version of 
4562 Windows 
4563 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState 
4564 and 
4565 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin 
4566 Ming.
4568 Fixed a problem where the length of the local/common FADT was set too 
4569 early. 
4570 The local FADT table length cannot be set to the common length until the 
4571 original length has been examined. There is code that checks the table 
4572 length 
4573 and sets various fields appropriately. This can affect older machines 
4574 with 
4575 early FADT versions. For example, this can cause inadvertent writes to 
4576 the 
4577 CST_CNT register. Julian Anastasov.
4579 Fixed a mapping issue related to a physical table override. Use the 
4580 deferred 
4581 mapping mechanism for tables loaded via the physical override OSL 
4582 interface. 
4583 This allows for early mapping before the virtual memory manager is 
4584 available. 
4585 Thomas Renninger, Bob Moore.
4587 Enhanced the automatic return-object repair code: Repair a common problem 
4588 with 
4589 predefined methods that are defined to return a variable-length Package 
4590 of 
4591 sub-objects. If there is only one sub-object, some BIOS ASL code 
4592 mistakenly 
4593 simply returns the single object instead of a Package with one sub-
4594 object. 
4595 This new support will repair this error by wrapping a Package object 
4596 around 
4597 the original object, creating the correct and expected Package with one 
4598 sub-
4599 object. Names that can be repaired in this manner include: _ALR, _CSD, 
4600 _HPX, 
4601 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ 
4602 939.
4604 Changed the exception code returned for invalid ACPI paths passed as 
4605 parameters to external interfaces such as AcpiEvaluateObject. Was 
4606 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4608 Example Code and Data Size: These are the sizes for the OS-independent 
4609 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4610 debug 
4611 version of the code includes the debug output trace mechanism and has a 
4612 much 
4613 larger code and data size.
4615   Previous Release:
4616     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4617     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4618   Current Release:
4619     Non-Debug Version:  92.9K Code, 25.0K Data, 117.9K Total
4620     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4623 2) iASL Compiler/Disassembler and Tools:
4625 iASL: Added the infrastructure and initial implementation of a integrated 
4627 like preprocessor. This will simplify BIOS development process by 
4628 eliminating 
4629 the need for a separate preprocessing step during builds. On Windows, it 
4630 also 
4631 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some 
4632 features including full #define() macro support are still under 
4633 development. 
4634 These preprocessor directives are supported:
4635     #define
4636     #elif
4637     #else
4638     #endif
4639     #error
4640     #if
4641     #ifdef
4642     #ifndef
4643     #include
4644     #pragma message
4645     #undef
4646     #warning
4647 In addition, these new command line options are supported:
4648     -D <symbol> Define symbol for preprocessor use
4649     -li         Create preprocessed output file (*.i)
4650     -P          Preprocess only and create preprocessor output file (*.i)
4652 Table Compiler: Fixed a problem where the equals operator within an 
4653 expression 
4654 did not work properly.
4656 Updated iASL to use the current versions of Bison/Flex. Updated the 
4657 Windows 
4658 project file to invoke these tools from the standard location. ACPICA BZ 
4659 904. 
4660 Versions supported:
4661     Flex for Windows:  V2.5.4
4662     Bison for Windows: V2.4.1
4664 ----------------------------------------
4665 15 February 2012. Summary of changes for version 20120215:
4668 1) ACPICA Core Subsystem:
4670 There have been some major changes to the sleep/wake support code, as 
4671 described below (a - e).
4673 a) The AcpiLeaveSleepState has been split into two interfaces, similar to 
4674 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is 
4675 AcpiLeaveSleepStatePrep. This allows the host to perform actions between 
4676 the 
4677 time the _BFS method is called and the _WAK method is called. NOTE: all 
4678 hosts 
4679 must update their wake/resume code or else sleep/wake will not work 
4680 properly. 
4681 Rafael Wysocki.
4683 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the 
4684 _WAK 
4685 method. Some machines require that the GPEs are enabled before the _WAK 
4686 method 
4687 is executed. Thomas Renninger.
4689 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) 
4690 bit. 
4691 Some BIOS code assumes that WAK_STS will be cleared on resume and use it 
4692 to 
4693 determine whether the system is rebooting or resuming. Matthew Garrett.
4695 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From 
4696 Sleep) to 
4697 match the ACPI specification requirement. Rafael Wysocki.
4699 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl 
4700 registers within the V5 FADT. This support adds two new files: 
4701 hardware/hwesleep.c implements the support for the new registers. Moved 
4702 all 
4703 sleep/wake external interfaces to hardware/hwxfsleep.c.
4706 Added a new OSL interface for ACPI table overrides, 
4707 AcpiOsPhysicalTableOverride. This interface allows the host to override a 
4708 table via a physical address, instead of the logical address required by 
4709 AcpiOsTableOverride. This simplifies the host implementation. Initial 
4710 implementation by Thomas Renninger. The ACPICA implementation creates a 
4711 single 
4712 shared function for table overrides that attempts both a logical and a 
4713 physical override.
4715 Expanded the OSL memory read/write interfaces to 64-bit data 
4716 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory 
4717 transfer support for GAS register structures passed to AcpiRead and 
4718 AcpiWrite.
4720 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a 
4721 custom 
4722 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC) 
4723 model. 
4724 See the ACPICA reference for details. ACPICA BZ 942. This option removes 
4725 about 
4726 10% of the code and 5% of the static data, and the following hardware 
4727 ACPI 
4728 features become unavailable:
4729     PM Event and Control registers
4730     SCI interrupt (and handler)
4731     Fixed Events
4732     General Purpose Events (GPEs)
4733     Global Lock
4734     ACPI PM timer
4735     FACS table (Waking vectors and Global Lock)
4737 Updated the unix tarball directory structure to match the ACPICA git 
4738 source 
4739 tree. This ensures that the generic unix makefiles work properly (in 
4740 generate/unix).  Also updated the Linux makefiles to match. ACPICA BZ 
4741 867.
4743 Updated the return value of the _REV predefined method to integer value 5 
4744 to 
4745 reflect ACPI 5.0 support.
4747 Moved the external ACPI PM timer interface prototypes to the public 
4748 acpixf.h 
4749 file where they belong.
4751 Example Code and Data Size: These are the sizes for the OS-independent 
4752 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4753 debug 
4754 version of the code includes the debug output trace mechanism and has a 
4755 much 
4756 larger code and data size.
4758   Previous Release:
4759     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4760     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4761   Current Release:
4762     Non-Debug Version:  93.0K Code, 25.0K Data, 118.0K Total
4763     Debug Version:     172.5K Code, 73.2K Data, 245.7K Total
4766 2) iASL Compiler/Disassembler and Tools:
4768 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource 
4769 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was 
4770 incorrectly displayed.
4772 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI 
4773 specification.
4775 ----------------------------------------
4776 11 January 2012. Summary of changes for version 20120111:
4779 1) ACPICA Core Subsystem:
4781 Implemented a new mechanism to allow host device drivers to check for 
4782 address 
4783 range conflicts with ACPI Operation Regions. Both SystemMemory and 
4784 SystemIO 
4785 address spaces are supported. A new external interface, 
4786 AcpiCheckAddressRange, 
4787 allows drivers to check an address range against the ACPI namespace. See 
4788 the 
4789 ACPICA reference for additional details. Adds one new file, 
4790 utilities/utaddress.c. Lin Ming, Bob Moore.
4792 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep 
4793 Control 
4794 and 
4795 Status registers, update the ACPI 5.0 flags, and update internal data 
4796 structures to handle an FADT larger than 256 bytes. The size of the ACPI 
4797 5.0 
4798 FADT is 268 bytes.
4800 Updated all ACPICA copyrights and signons to 2012. Added the 2012 
4801 copyright to 
4802 all module headers and signons, including the standard Linux header. This 
4803 affects virtually every file in the ACPICA core subsystem, iASL compiler, 
4804 and 
4805 all ACPICA utilities.
4807 Example Code and Data Size: These are the sizes for the OS-independent 
4808 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
4809 debug 
4810 version of the code includes the debug output trace mechanism and has a 
4811 much 
4812 larger code and data size.
4814   Previous Release:
4815     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
4816     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
4817   Current Release:
4818     Non-Debug Version:  92.8K Code, 24.9K Data, 117.7K Total
4819     Debug Version:     171.7K Code, 72.9K Data, 244.5K Total
4822 2) iASL Compiler/Disassembler and Tools:
4824 Disassembler: fixed a problem with the automatic resource tag generation 
4825 support. Fixes a problem where the resource tags are inadvertently not 
4826 constructed if the table being disassembled contains external references 
4827 to 
4828 control methods. Moved the actual construction of the tags to after the 
4829 final 
4830 namespace is constructed (after 2nd parse is invoked due to external 
4831 control 
4832 method references.) ACPICA BZ 941.
4834 Table Compiler: Make all "generic" operators caseless. These are the 
4835 operators 
4836 like UINT8, String, etc. Making these caseless improves ease-of-use. 
4837 ACPICA BZ 
4838 934.
4840 ----------------------------------------
4841 23 November 2011. Summary of changes for version 20111123:
4843 0) ACPI 5.0 Support:
4845 This release contains full support for the ACPI 5.0 specification, as 
4846 summarized below.
4848 Reduced Hardware Support:
4849 -------------------------
4851 This support allows for ACPI systems without the usual ACPI hardware. 
4852 This 
4853 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA 
4854 will 
4855 not attempt to initialize or use any of the usual ACPI hardware. Note, 
4856 when 
4857 this flag is set, all of the following ACPI hardware is assumed to be not 
4858 present and is not initialized or accessed:
4860     General Purpose Events (GPEs)
4861     Fixed Events (PM1a/PM1b and PM Control)
4862     Power Management Timer and Console Buttons (power/sleep)
4863     Real-time Clock Alarm
4864     Global Lock
4865     System Control Interrupt (SCI)
4866     The FACS is assumed to be non-existent
4868 ACPI Tables:
4869 ------------
4871 All new tables and updates to existing tables are fully supported in the 
4872 ACPICA headers (for use by device drivers), the disassembler, and the 
4873 iASL 
4874 Data Table Compiler. ACPI 5.0 defines these new tables:
4876     BGRT        /* Boot Graphics Resource Table */
4877     DRTM        /* Dynamic Root of Trust for Measurement table */
4878     FPDT        /* Firmware Performance Data Table */
4879     GTDT        /* Generic Timer Description Table */
4880     MPST        /* Memory Power State Table */
4881     PCCT        /* Platform Communications Channel Table */
4882     PMTT        /* Platform Memory Topology Table */
4883     RASF        /* RAS Feature table */
4885 Operation Regions/SpaceIDs:
4886 ---------------------------
4888 All new operation regions are fully supported by the iASL compiler, the 
4889 disassembler, and the ACPICA runtime code (for dispatch to region 
4890 handlers.) 
4891 The new operation region Space IDs are:
4893     GeneralPurposeIo
4894     GenericSerialBus
4896 Resource Descriptors:
4897 ---------------------
4899 All new ASL resource descriptors are fully supported by the iASL 
4900 compiler, 
4901 the 
4902 ASL/AML disassembler, and the ACPICA runtime Resource Manager code 
4903 (including 
4904 all new predefined resource tags). New descriptors are:
4906     FixedDma
4907     GpioIo
4908     GpioInt
4909     I2cSerialBus
4910     SpiSerialBus
4911     UartSerialBus
4913 ASL/AML Operators, New and Modified:
4914 ------------------------------------
4916 One new operator is added, the Connection operator, which is used to 
4917 associate 
4918 a GeneralPurposeIo or GenericSerialBus resource descriptor with 
4919 individual 
4920 field objects within an operation region. Several new protocols are 
4921 associated 
4922 with the AccessAs operator. All are fully supported by the iASL compiler, 
4923 disassembler, and runtime ACPICA AML interpreter:
4925     Connection                      // Declare Field Connection 
4926 attributes
4927     AccessAs: AttribBytes (n)           // Read/Write N-Bytes Protocol
4928     AccessAs: AttribRawBytes (n)        // Raw Read/Write N-Bytes 
4929 Protocol
4930     AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
4931     RawDataBuffer                       // Data type for Vendor Data 
4932 fields
4934 Predefined ASL/AML Objects:
4935 ---------------------------
4937 All new predefined objects/control-methods are supported by the iASL 
4938 compiler 
4939 and the ACPICA runtime validation/repair (arguments and return values.) 
4940 New 
4941 predefined names include the following:
4943 Standard Predefined Names (Objects or Control Methods):
4944     _AEI, _CLS, _CPC, _CWS, _DEP,
4945     _DLM, _EVT, _GCP, _CRT, _GWS,
4946     _HRV, _PRE, _PSE, _SRT, _SUB.
4948 Resource Tags (Names used to access individual fields within resource 
4949 descriptors):
4950     _DBT, _DPL, _DRS, _END, _FLC,
4951     _IOR, _LIN, _MOD, _PAR, _PHA,
4952     _PIN, _PPI, _POL, _RXL, _SLV,
4953     _SPE, _STB, _TXL, _VEN.
4955 ACPICA External Interfaces:
4956 ---------------------------
4958 Several new interfaces have been defined for use by ACPI-related device 
4959 drivers and other host OS services:
4961 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS 
4962 to 
4963 acquire and release AML mutexes that are defined in the DSDT/SSDT tables 
4964 provided by the BIOS. They are intended to be used in conjunction with 
4965 the 
4966 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level 
4967 mutual exclusion with the AML code/interpreter.
4969 AcpiGetEventResources: Returns the (formatted) resource descriptors as 
4970 defined 
4971 by the ACPI 5.0 _AEI object (ACPI Event Information).  This object 
4972 provides 
4973 resource descriptors associated with hardware-reduced platform events, 
4974 similar 
4975 to the AcpiGetCurrentResources interface.
4977 Operation Region Handlers: For General Purpose IO and Generic Serial Bus 
4978 operation regions, information about the Connection() object and any 
4979 optional 
4980 length information is passed to the region handler within the Context 
4981 parameter.
4983 AcpiBufferToResource: This interface converts a raw AML buffer containing 
4985 resource template or resource descriptor to the ACPI_RESOURCE internal 
4986 format 
4987 suitable for use by device drivers. Can be used by an operation region 
4988 handler 
4989 to convert the Connection() buffer object into a ACPI_RESOURCE.
4991 Miscellaneous/Tools/TestSuites: 
4992 -------------------------------
4994 Support for extended _HID names (Four alpha characters instead of three).
4995 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
4996 Support for ACPI 5.0 features in the ASLTS test suite.
4997 Fully updated documentation (ACPICA and iASL reference documents.)
4999 ACPI Table Definition Language:
5000 -------------------------------
5002 Support for this language was implemented and released as a subsystem of 
5003 the 
5004 iASL compiler in 2010. (See the iASL compiler User Guide.)
5007 Non-ACPI 5.0 changes for this release:
5008 --------------------------------------
5010 1) ACPICA Core Subsystem:
5012 Fix a problem with operation region declarations where a failure can 
5013 occur 
5014 if 
5015 the region name and an argument that evaluates to an object (such as the 
5016 region address) are in different namespace scopes. Lin Ming, ACPICA BZ 
5017 937.
5019 Do not abort an ACPI table load if an invalid space ID is found within. 
5020 This 
5021 will be caught later if the offending method is executed. ACPICA BZ 925.
5023 Fixed an issue with the FFixedHW space ID where the ID was not always 
5024 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5026 Fixed a problem with the 32-bit generation of the unix-specific OSL 
5027 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5029 Several changes made to enable generation with the GCC 4.6 compiler. 
5030 ACPICA BZ 
5031 935.
5033 New error messages: Unsupported I/O requests (not 8/16/32 bit), and 
5034 Index/Bank 
5035 field registers out-of-range.
5037 2) iASL Compiler/Disassembler and Tools:
5039 iASL: Implemented the __PATH__ operator, which returns the full pathname 
5040 of 
5041 the current source file.
5043 AcpiHelp: Automatically display expanded keyword information for all ASL 
5044 operators.
5046 Debugger: Add "Template" command to disassemble/dump resource template 
5047 buffers.
5049 Added a new master script to generate and execute the ASLTS test suite. 
5050 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5052 iASL: Fix problem with listing generation during processing of the 
5053 Switch() 
5054 operator where AML listing was disabled until the entire Switch block was 
5055 completed.
5057 iASL: Improve support for semicolon statement terminators. Fix "invalid 
5058 character" message for some cases when the semicolon is used. Semicolons 
5059 are 
5060 now allowed after every <Term> grammar element. ACPICA BZ 927.
5062 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ 
5063 923.
5065 Disassembler: Fix problem with disassembly of the DataTableRegion 
5066 operator 
5067 where an inadvertent "Unhandled deferred opcode" message could be 
5068 generated.
5070 3) Example Code and Data Size
5072 These are the sizes for the OS-independent acpica.lib produced by the 
5073 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5074 includes the debug output trace mechanism and has a much larger code and 
5075 data 
5076 size.
5078   Previous Release:
5079     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5080     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5081   Current Release:
5082     Non-Debug Version:  92.3K Code, 24.9K Data, 117.2K Total
5083     Debug Version:     170.8K Code, 72.6K Data, 243.4K Total
5085 ----------------------------------------
5086 22 September 2011. Summary of changes for version 20110922:
5088 0) ACPI 5.0 News:
5090 Support for ACPI 5.0 in ACPICA has been underway for several months and 
5091 will 
5092 be released at the same time that ACPI 5.0 is officially released.
5094 The ACPI 5.0 specification is on track for release in the next few 
5095 months.
5097 1) ACPICA Core Subsystem:
5099 Fixed a problem where the maximum sleep time for the Sleep() operator was 
5100 intended to be limited to two seconds, but was inadvertently limited to 
5101 20 
5102 seconds instead.
5104 Linux and Unix makefiles: Added header file dependencies to ensure 
5105 correct 
5106 generation of ACPICA core code and utilities. Also simplified the 
5107 makefiles 
5108 considerably through the use of the vpath variable to specify search 
5109 paths. 
5110 ACPICA BZ 924.
5112 2) iASL Compiler/Disassembler and Tools:
5114 iASL: Implemented support to check the access length for all fields 
5115 created to 
5116 access named Resource Descriptor fields. For example, if a resource field 
5117 is 
5118 defined to be two bits, a warning is issued if a CreateXxxxField() is 
5119 used 
5120 with an incorrect bit length. This is implemented for all current 
5121 resource 
5122 descriptor names. ACPICA BZ 930.
5123   
5124 Disassembler: Fixed a byte ordering problem with the output of 24-bit and 
5126 bit integers.
5128 iASL: Fixed a couple of issues associated with variable-length package 
5129 objects. 1) properly handle constants like One, Ones, Zero -- do not make 
5131 VAR_PACKAGE when these are used as a package length. 2) Allow the 
5132 VAR_PACKAGE 
5133 opcode (in addition to PACKAGE) when validating object types for 
5134 predefined 
5135 names.
5137 iASL: Emit statistics for all output files (instead of just the ASL input 
5138 and 
5139 AML output). Includes listings, hex files, etc.
5141 iASL: Added -G option to the table compiler to allow the compilation of 
5142 custom 
5143 ACPI tables. The only part of a table that is required is the standard 
5145 byte 
5146 ACPI header.
5148 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA 
5149 headers), 
5150 which also adds correct 64-bit support. Also, now all output filenames 
5151 are 
5152 completely lower case.
5154 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when 
5155 loading table files. A warning is issued for any such tables. The only 
5156 exception is an FADT. This also fixes a possible fault when attempting to 
5157 load 
5158 non-AML tables. ACPICA BZ 932.
5160 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where 
5162 missing table terminator could cause a fault when using the -p option.
5164 AcpiSrc: Fixed a possible divide-by-zero fault when generating file 
5165 statistics.
5167 3) Example Code and Data Size
5169 These are the sizes for the OS-independent acpica.lib produced by the 
5170 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code 
5171 includes the debug output trace mechanism and has a much larger code and 
5172 data 
5173 size.
5175   Previous Release (VC 9.0):
5176     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5177     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5178   Current Release (VC 9.0):
5179     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5180     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5183 ----------------------------------------
5184 23 June 2011. Summary of changes for version 20110623:
5186 1) ACPI CA Core Subsystem:
5188 Updated the predefined name repair mechanism to not attempt repair of a 
5189 _TSS 
5190 return object if a _PSS object is present. We can only sort the _TSS 
5191 return 
5192 package if there is no _PSS within the same scope. This is because if 
5193 _PSS 
5194 is 
5195 present, the ACPI specification dictates that the _TSS Power Dissipation 
5196 field 
5197 is to be ignored, and therefore some BIOSs leave garbage values in the 
5198 _TSS 
5199 Power field(s). In this case, it is best to just return the _TSS package 
5201 is. Reported by, and fixed with assistance from Fenghua Yu.
5203 Added an option to globally disable the control method return value 
5204 validation 
5205 and repair. This runtime option can be used to disable return value 
5206 repair 
5207 if 
5208 this is causing a problem on a particular machine. Also added an option 
5209 to 
5210 AcpiExec (-dr) to set this disable flag.
5212 All makefiles and project files: Major changes to improve generation of 
5213 ACPICA 
5214 tools. ACPICA BZ 912:
5215     Reduce default optimization levels to improve compatibility
5216     For Linux, add strict-aliasing=0 for gcc 4
5217     Cleanup and simplify use of command line defines
5218     Cleanup multithread library support
5219     Improve usage messages
5221 Linux-specific header: update handling of THREAD_ID and pthread. For the 
5223 bit case, improve casting to eliminate possible warnings, especially with 
5224 the 
5225 acpica tools.
5227 Example Code and Data Size: These are the sizes for the OS-independent 
5228 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5229 debug 
5230 version of the code includes the debug output trace mechanism and has a 
5231 much 
5232 larger code and data size.
5234   Previous Release (VC 9.0):
5235     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5236     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5237   Current Release (VC 9.0):
5238     Non-Debug Version:  90.2K Code, 23.9K Data, 114.1K Total
5239     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5241 2) iASL Compiler/Disassembler and Tools:
5243 With this release, a new utility named "acpihelp" has been added to the 
5244 ACPICA 
5245 package. This utility summarizes the ACPI specification chapters for the 
5246 ASL 
5247 and AML languages. It generates under Linux/Unix as well as Windows, and 
5248 provides the following functionality:
5249     Find/display ASL operator(s) -- with description and syntax.
5250     Find/display ASL keyword(s) -- with exact spelling and descriptions.
5251     Find/display ACPI predefined name(s) -- with description, number
5252         of arguments, and the return value data type.
5253     Find/display AML opcode name(s) -- with opcode, arguments, and 
5254 grammar.
5255     Decode/display AML opcode -- with opcode name, arguments, and 
5256 grammar.
5258 Service Layers: Make multi-thread support configurable. Conditionally 
5259 compile 
5260 the multi-thread support so that threading libraries will not be linked 
5261 if 
5262 not 
5263 necessary. The only tool that requires multi-thread support is AcpiExec.
5265 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions 
5266 of 
5267 Bison appear to want the interface to yyerror to be a const char * (or at 
5268 least this is a problem when generating iASL on some systems.) ACPICA BZ 
5269 923 
5270 Pierre Lejeune.
5272 Tools: Fix for systems where O_BINARY is not defined. Only used for 
5273 Windows 
5274 versions of the tools.
5276 ----------------------------------------
5277 27 May 2011. Summary of changes for version 20110527:
5279 1) ACPI CA Core Subsystem:
5281 ASL Load() operator: Reinstate most restrictions on the incoming ACPI 
5282 table 
5283 signature. Now, only allow SSDT, OEMx, and a null signature. History:
5284     1) Originally, we checked the table signature for "SSDT" or "PSDT".
5285        (PSDT is now obsolete.)
5286     2) We added support for OEMx tables, signature "OEM" plus a fourth
5287        "don't care" character.
5288     3) Valid tables were encountered with a null signature, so we just
5289        gave up on validating the signature, (05/2008).
5290     4) We encountered non-AML tables such as the MADT, which caused
5291        interpreter errors and kernel faults. So now, we once again allow
5292        only SSDT, OEMx, and now, also a null signature. (05/2011).
5294 Added the missing _TDL predefined name to the global name list in order 
5295 to 
5296 enable validation. Affects both the core ACPICA code and the iASL 
5297 compiler.
5299 Example Code and Data Size: These are the sizes for the OS-independent 
5300 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5301 debug 
5302 version of the code includes the debug output trace mechanism and has a 
5303 much 
5304 larger code and data size.
5306   Previous Release (VC 9.0):
5307     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5308     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5309   Current Release (VC 9.0):
5310     Non-Debug Version:  90.1K Code, 23.9K Data, 114.0K Total
5311     Debug Version:     165.6K Code, 68.4K Data, 234.0K Total
5313 2) iASL Compiler/Disassembler and Tools:
5315 Debugger/AcpiExec: Implemented support for "complex" method arguments on 
5316 the 
5317 debugger command line. This adds support beyond simple integers -- 
5318 including 
5319 Strings, Buffers, and Packages. Includes support for nested packages. 
5320 Increased the default command line buffer size to accommodate these 
5321 arguments. 
5322 See the ACPICA reference for details and syntax. ACPICA BZ 917.
5324 Debugger/AcpiExec: Implemented support for "default" method arguments for 
5325 the 
5326 Execute/Debug command. Now, the debugger will always invoke a control 
5327 method 
5328 with the required number of arguments -- even if the command line 
5329 specifies 
5330 none or insufficient arguments. It uses default integer values for any 
5331 missing 
5332 arguments. Also fixes a bug where only six method arguments maximum were 
5333 supported instead of the required seven.
5335 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine 
5336 and 
5337 also return status in order to prevent buffer overruns. See the ACPICA 
5338 reference for details and syntax. ACPICA BZ 921
5340 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and 
5341 makefiles to simplify support for the two different but similar parser 
5342 generators, bison and yacc.
5344 Updated the generic unix makefile for gcc 4. The default gcc version is 
5345 now 
5346 expected to be 4 or greater, since options specific to gcc 4 are used.
5348 ----------------------------------------
5349 13 April 2011. Summary of changes for version 20110413:
5351 1) ACPI CA Core Subsystem:
5353 Implemented support to execute a so-called "orphan" _REG method under the 
5354 EC 
5355 device. This change will force the execution of a _REG method underneath 
5356 the 
5357 EC 
5358 device even if there is no corresponding operation region of type 
5359 EmbeddedControl. Fixes a problem seen on some machines and apparently is 
5360 compatible with Windows behavior. ACPICA BZ 875.
5362 Added more predefined methods that are eligible for automatic NULL 
5363 package 
5364 element removal. This change adds another group of predefined names to 
5365 the 
5366 list 
5367 of names that can be repaired by having NULL package elements dynamically 
5368 removed. This group are those methods that return a single variable-
5369 length 
5370 package containing simple data types such as integers, buffers, strings. 
5371 This 
5372 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx, 
5373 _PSL, 
5374 _Sx, 
5375 and _TZD. ACPICA BZ 914.
5377 Split and segregated all internal global lock functions to a new file, 
5378 evglock.c.
5380 Updated internal address SpaceID for DataTable regions. Moved this 
5381 internal 
5382 space 
5383 id in preparation for ACPI 5.0 changes that will include some new space 
5384 IDs. 
5385 This 
5386 change should not affect user/host code.
5388 Example Code and Data Size: These are the sizes for the OS-independent 
5389 acpica.lib 
5390 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5391 version of 
5392 the code includes the debug output trace mechanism and has a much larger 
5393 code 
5394 and 
5395 data size.
5397   Previous Release (VC 9.0):
5398     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5399     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5400   Current Release (VC 9.0):
5401     Non-Debug Version:  90.0K Code, 23.8K Data, 113.8K Total
5402     Debug Version:     164.5K Code, 68.0K Data, 232.5K Total
5404 2) iASL Compiler/Disassembler and Tools:
5406 iASL/DTC: Major update for new grammar features. Allow generic data types 
5407 in 
5408 custom ACPI tables. Field names are now optional. Any line can be split 
5409 to 
5410 multiple lines using the continuation char (\). Large buffers now use 
5411 line-
5412 continuation character(s) and no colon on the continuation lines. See the 
5413 grammar 
5414 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob 
5415 Moore.
5417 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return 
5418 statements. 
5419 Since the parser stuffs a "zero" as the return value for these statements 
5420 (due 
5421 to 
5422 the underlying AML grammar), they were seen as "return with value" by the 
5423 iASL 
5424 semantic checking. They are now seen correctly as "null" return 
5425 statements.
5427 iASL: Check if a_REG declaration has a corresponding Operation Region. 
5428 Adds a 
5429 check for each _REG to ensure that there is in fact a corresponding 
5430 operation 
5431 region declaration in the same scope. If not, the _REG method is not very 
5432 useful 
5433 since it probably won't be executed. ACPICA BZ 915.
5435 iASL/DTC: Finish support for expression evaluation. Added a new 
5436 expression 
5437 parser 
5438 that implements c-style operator precedence and parenthesization. ACPICA 
5439 bugzilla 
5440 908.
5442 Disassembler/DTC: Remove support for () and <> style comments in data 
5443 tables. 
5444 Now 
5445 that DTC has full expression support, we don't want to have comment 
5446 strings 
5447 that 
5448 start with a parentheses or a less-than symbol. Now, only the standard /* 
5449 and 
5450 // 
5451 comments are supported, as well as the bracket [] comments.
5453 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have 
5454 "unusual" 
5455 headers in the acpidump file. Update the header validation to support 
5456 these 
5457 tables. Problem introduced in previous AcpiXtract version in the change 
5458 to 
5459 support "wrong checksum" error messages emitted by acpidump utility.
5461 iASL: Add a * option to generate all template files (as a synonym for 
5462 ALL) 
5463 as 
5464 in 
5465 "iasl -T *" or "iasl -T ALL".
5467 iASL/DTC: Do not abort compiler on fatal errors. We do not want to 
5468 completely 
5469 abort the compiler on "fatal" errors, simply should abort the current 
5470 compile. 
5471 This allows multiple compiles with a single (possibly wildcard) compiler 
5472 invocation.
5474 ----------------------------------------
5475 16 March 2011. Summary of changes for version 20110316:
5477 1) ACPI CA Core Subsystem:
5479 Fixed a problem caused by a _PRW method appearing at the namespace root 
5480 scope 
5481 during the setup of wake GPEs. A fault could occur if a _PRW directly 
5482 under 
5483 the 
5484 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5486 Implemented support for "spurious" Global Lock interrupts. On some 
5487 systems, a 
5488 global lock interrupt can occur without the pending flag being set. Upon 
5490 GL 
5491 interrupt, we now ensure that a thread is actually waiting for the lock 
5492 before 
5493 signaling GL availability. Rafael Wysocki, Bob Moore.
5495 Example Code and Data Size: These are the sizes for the OS-independent 
5496 acpica.lib 
5497 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug 
5498 version of 
5499 the code includes the debug output trace mechanism and has a much larger 
5500 code 
5501 and 
5502 data size.
5504   Previous Release (VC 9.0):
5505     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5506     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5507   Current Release (VC 9.0):
5508     Non-Debug Version:  89.8K Code, 23.8K Data, 113.6K Total
5509     Debug Version:     164.2K Code, 67.9K Data, 232.1K Total
5511 2) iASL Compiler/Disassembler and Tools:
5513 Implemented full support for the "SLIC" ACPI table. Includes support in 
5514 the 
5515 header files, disassembler, table compiler, and template generator. Bob 
5516 Moore, 
5517 Lin Ming.
5519 AcpiXtract: Correctly handle embedded comments and messages from 
5520 AcpiDump. 
5521 Apparently some or all versions of acpidump will occasionally emit a 
5522 comment 
5523 like 
5524 "Wrong checksum", etc., into the dump file. This was causing problems for 
5525 AcpiXtract. ACPICA BZ 905.
5527 iASL: Fix the Linux makefile by removing an inadvertent double file 
5528 inclusion. 
5529 ACPICA BZ 913.
5531 AcpiExec: Update installation of operation region handlers. Install one 
5532 handler 
5533 for a user-defined address space. This is used by the ASL test suite 
5534 (ASLTS).
5536 ----------------------------------------
5537 11 February 2011. Summary of changes for version 20110211:
5539 1) ACPI CA Core Subsystem:
5541 Added a mechanism to defer _REG methods for some early-installed 
5542 handlers. 
5543 Most user handlers should be installed before call to 
5544 AcpiEnableSubsystem. 
5545 However, Event handlers and region handlers should be installed after 
5546 AcpiInitializeObjects. Override handlers for the "default" regions should 
5547 be 
5548 installed early, however. This change executes all _REG methods for the 
5549 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any 
5550 chicken/egg issues between them. ACPICA BZ 848.
5552 Implemented an optimization for GPE detection. This optimization will 
5553 simply 
5554 ignore GPE registers that contain no enabled GPEs -- there is no need to 
5555 read the register since this information is available internally. This 
5556 becomes more important on machines with a large GPE space. ACPICA 
5557 bugzilla 
5558 884. Lin Ming. Suggestion from Joe Liu.
5560 Removed all use of the highly unreliable FADT revision field. The 
5561 revision 
5562 number in the FADT has been found to be completely unreliable and cannot 
5563 be 
5564 trusted. Only the actual table length can be used to infer the version. 
5565 This 
5566 change updates the ACPICA core and the disassembler so that both no 
5567 longer 
5568 even look at the FADT version and instead depend solely upon the FADT 
5569 length.
5571 Fix an unresolved name issue for the no-debug and no-error-message source 
5572 generation cases. The _AcpiModuleName was left undefined in these cases, 
5573 but 
5574 it is actually needed as a parameter to some interfaces. Define 
5575 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5577 Split several large files (makefiles and project files updated)
5578   utglobal.c   -> utdecode.c
5579   dbcomds.c    -> dbmethod.c dbnames.c
5580   dsopcode.c   -> dsargs.c dscontrol.c
5581   dsload.c     -> dsload2.c
5582   aslanalyze.c -> aslbtypes.c aslwalks.c
5584 Example Code and Data Size: These are the sizes for the OS-independent 
5585 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5586 debug version of the code includes the debug output trace mechanism and 
5587 has 
5588 a much larger code and data size.
5590   Previous Release (VC 9.0):
5591     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5592     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5593   Current Release (VC 9.0):
5594     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5595     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5597 2) iASL Compiler/Disassembler and Tools:
5599 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__. 
5600 These are useful C-style macros with the standard definitions. ACPICA 
5601 bugzilla 898.
5603 iASL/DTC: Added support for integer expressions and labels. Support for 
5604 full 
5605 expressions for all integer fields in all ACPI tables. Support for labels 
5606 in 
5607 "generic" portions of tables such as UEFI. See the iASL reference manual.
5609 Debugger: Added a command to display the status of global handlers. The 
5610 "handlers" command will display op region, fixed event, and miscellaneous 
5611 global handlers. installation status -- and for op regions, whether 
5612 default 
5613 or user-installed handler will be used.
5615 iASL: Warn if reserved method incorrectly returns a value. Many 
5616 predefined 
5617 names are defined such that they do not return a value. If implemented as 
5619 method, issue a warning if such a name explicitly returns a value. ACPICA 
5620 Bugzilla 855.
5622 iASL: Added detection of GPE method name conflicts. Detects a conflict 
5623 where 
5624 there are two GPE methods of the form _Lxy and _Exy in the same scope. 
5625 (For 
5626 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5628 iASL/DTC: Fixed a couple input scanner issues with comments and line 
5629 numbers. Comment remover could get confused and miss a comment ending. 
5630 Fixed 
5631 a problem with line counter maintenance.
5633 iASL/DTC: Reduced the severity of some errors from fatal to error. There 
5634 is 
5635 no need to abort on simple errors within a field definition.
5637 Debugger: Simplified the output of the help command. All help output now 
5638 in 
5639 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5641 ----------------------------------------
5642 12 January 2011. Summary of changes for version 20110112:
5644 1) ACPI CA Core Subsystem:
5646 Fixed a race condition between method execution and namespace walks that 
5647 can 
5648 possibly cause a fault. The problem was apparently introduced in version 
5649 20100528 as a result of a performance optimization that reduces the 
5650 number 
5651 of 
5652 namespace walks upon method exit by using the delete_namespace_subtree 
5653 function instead of the delete_namespace_by_owner function used 
5654 previously. 
5655 Bug is a missing namespace lock in the delete_namespace_subtree function. 
5656 dana.myers@oracle.com
5658 Fixed several issues and a possible fault with the automatic "serialized" 
5659 method support. History: This support changes a method to "serialized" on 
5660 the 
5661 fly if the method generates an AE_ALREADY_EXISTS error, indicating the 
5662 possibility that it cannot handle reentrancy. This fix repairs a couple 
5663 of 
5664 issues seen in the field, especially on machines with many cores:
5666     1) Delete method children only upon the exit of the last thread,
5667        so as to not delete objects out from under other running threads
5668       (and possibly causing a fault.)
5669     2) Set the "serialized" bit for the method only upon the exit of the
5670        Last thread, so as to not cause deadlock when running threads
5671        attempt to exit.
5672     3) Cleanup the use of the AML "MethodFlags" and internal method flags
5673        so that there is no longer any confusion between the two.
5675     Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5677 Debugger: Now lock the namespace for duration of a namespace dump. 
5678 Prevents 
5679 issues if the namespace is changing dynamically underneath the debugger. 
5680 Especially affects temporary namespace nodes, since the debugger displays 
5681 these also.
5683 Updated the ordering of include files. The ACPICA headers should appear 
5684 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can 
5685 set 
5686 any necessary compiler-specific defines, etc. Affects the ACPI-related 
5687 tools 
5688 and utilities.
5690 Updated all ACPICA copyrights and signons to 2011. Added the 2011 
5691 copyright 
5692 to all module headers and signons, including the Linux header. This 
5693 affects 
5694 virtually every file in the ACPICA core subsystem, iASL compiler, and all 
5695 utilities.
5697 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original 
5698 project files for VC++ 6.0 are now obsolete. New project files can be 
5699 found 
5700 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for 
5701 details.
5703 Example Code and Data Size: These are the sizes for the OS-independent 
5704 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The 
5705 debug version of the code includes the debug output trace mechanism and 
5706 has a 
5707 much larger code and data size.
5709   Previous Release (VC 6.0):
5710     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5711     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5712   Current Release (VC 9.0):
5713     Non-Debug Version:  89.7K Code, 23.7K Data, 113.4K Total
5714     Debug Version:     163.9K Code, 67.5K Data, 231.4K Total
5716 2) iASL Compiler/Disassembler and Tools:
5718 iASL: Added generic data types to the Data Table compiler. Add "generic" 
5719 data 
5720 types such as UINT32, String, Unicode, etc., to simplify the generation 
5721 of 
5722 platform-defined tables such as UEFI. Lin Ming.
5724 iASL: Added listing support for the Data Table Compiler. Adds listing 
5725 support 
5726 (-l) to display actual binary output for each line of input code.
5728 ----------------------------------------
5729 09 December 2010. Summary of changes for version 20101209:
5731 1) ACPI CA Core Subsystem:
5733 Completed the major overhaul of the GPE support code that was begun in 
5734 July 
5735 2010. Major features include: removal of _PRW execution in ACPICA (host 
5736 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing, 
5737 changes to existing interfaces, simplification of GPE handler operation, 
5738 and 
5739 a handful of new interfaces:
5741     AcpiUpdateAllGpes
5742     AcpiFinishGpe
5743     AcpiSetupGpeForWake
5744     AcpiSetGpeWakeMask
5745     One new file, evxfgpe.c to consolidate all external GPE interfaces.
5747 See the ACPICA Programmer Reference for full details and programming 
5748 information. See the new section 4.4 "General Purpose Event (GPE) 
5749 Support" 
5750 for a full overview, and section 8.7 "ACPI General Purpose Event 
5751 Management" 
5752 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin 
5753 Ming, 
5754 Bob Moore, Rafael Wysocki.
5756 Implemented a new GPE feature for Windows compatibility, the "Implicit 
5757 Wake 
5758 GPE Notify". This feature will automatically issue a Notify(2) on a 
5759 device 
5760 when a Wake GPE is received if there is no corresponding GPE method or 
5761 handler. ACPICA BZ 870.
5763 Fixed a problem with the Scope() operator during table parse and load 
5764 phase. 
5765 During load phase (table load or method execution), the scope operator 
5766 should 
5767 not enter the target into the namespace. Instead, it should open a new 
5768 scope 
5769 at the target location. Linux BZ 19462, ACPICA BZ 882.
5771 Example Code and Data Size: These are the sizes for the OS-independent 
5772 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5773 debug version of the code includes the debug output trace mechanism and 
5774 has a 
5775 much larger code and data size.
5777   Previous Release:
5778     Non-Debug Version:  89.8K Code, 18.9K Data, 108.7K Total
5779     Debug Version:     166.6K Code, 52.1K Data, 218.7K Total
5780   Current Release:
5781     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5782     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5784 2) iASL Compiler/Disassembler and Tools:
5786 iASL: Relax the alphanumeric restriction on _CID strings. These strings 
5787 are 
5788 "bus-specific" per the ACPI specification, and therefore any characters 
5789 are 
5790 acceptable. The only checks that can be performed are for a null string 
5791 and 
5792 perhaps for a leading asterisk. ACPICA BZ 886.
5794 iASL: Fixed a problem where a syntax error that caused a premature EOF 
5795 condition on the source file emitted a very confusing error message. The 
5796 premature EOF is now detected correctly. ACPICA BZ 891.
5798 Disassembler: Decode the AccessSize within a Generic Address Structure 
5799 (byte 
5800 access, word access, etc.) Note, this field does not allow arbitrary bit 
5801 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5803 New: AcpiNames utility - Example namespace dump utility. Shows an example 
5804 of 
5805 ACPICA configuration for a minimal namespace dump utility. Uses table and 
5806 namespace managers, but no AML interpreter. Does not add any 
5807 functionality 
5808 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to 
5809 partition and configure ACPICA. ACPICA BZ 883.
5811 AML Debugger: Increased the debugger buffer size for method return 
5812 objects. 
5813 Was 4K, increased to 16K. Also enhanced error messages for debugger 
5814 method 
5815 execution, including the buffer overflow case.
5817 ----------------------------------------
5818 13 October 2010. Summary of changes for version 20101013:
5820 1) ACPI CA Core Subsystem:
5822 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events, 
5823 now 
5824 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via 
5825 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5827 Changed the type of the predefined namespace object _TZ from ThermalZone 
5828 to 
5829 Device. This was found to be confusing to the host software that 
5830 processes 
5831 the various thermal zones, since _TZ is not really a ThermalZone. 
5832 However, 
5834 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui 
5835 Zhang.
5837 Added Windows Vista SP2 to the list of supported _OSI strings. The actual 
5838 string is "Windows 2006 SP2".
5840 Eliminated duplicate code in AcpiUtExecute* functions. Now that the 
5841 nsrepair 
5842 code automatically repairs _HID-related strings, this type of code is no 
5843 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 
5844 878.
5846 Example Code and Data Size: These are the sizes for the OS-independent 
5847 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5848 debug version of the code includes the debug output trace mechanism and 
5849 has a 
5850 much larger code and data size.
5852   Previous Release:
5853     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5854     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5855   Current Release:
5856     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5857     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5859 2) iASL Compiler/Disassembler and Tools:
5861 iASL: Implemented additional compile-time validation for _HID strings. 
5862 The 
5863 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the 
5864 length 
5865 of 
5866 the string must be exactly seven or eight characters. For both _HID and 
5867 _CID 
5868 strings, all characters must be alphanumeric. ACPICA BZ 874.
5870 iASL: Allow certain "null" resource descriptors. Some BIOS code creates 
5871 descriptors that are mostly or all zeros, with the expectation that they 
5872 will 
5873 be filled in at runtime. iASL now allows this as long as there is a 
5874 "resource 
5875 tag" (name) associated with the descriptor, which gives the ASL a handle 
5876 needed to modify the descriptor. ACPICA BZ 873.
5878 Added single-thread support to the generic Unix application OSL. 
5879 Primarily 
5880 for iASL support, this change removes the use of semaphores in the 
5881 single-
5882 threaded ACPICA tools/applications - increasing performance. The 
5883 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED 
5884 option. ACPICA BZ 879.
5886 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and 
5887 support 
5888 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5890 iASL: Moved all compiler messages to a new file, aslmessages.h.
5892 ----------------------------------------
5893 15 September 2010. Summary of changes for version 20100915:
5895 1) ACPI CA Core Subsystem:
5897 Removed the AcpiOsDerivePciId OSL interface. The various host 
5898 implementations 
5899 of this function were not OS-dependent and are now obsolete and can be 
5900 removed from all host OSLs. This function has been replaced by 
5901 AcpiHwDerivePciId, which is now part of the ACPICA core code. 
5902 AcpiHwDerivePciId has been implemented without recursion. Adds one new 
5903 module, hwpci.c. ACPICA BZ 857.
5905 Implemented a dynamic repair for _HID and _CID strings. The following 
5906 problems are now repaired at runtime: 1) Remove a leading asterisk in the 
5907 string, and 2) the entire string is uppercased. Both repairs are in 
5908 accordance with the ACPI specification and will simplify host driver 
5909 code. 
5910 ACPICA BZ 871.
5912 The ACPI_THREAD_ID type is no longer configurable, internally it is now 
5913 always UINT64. This simplifies the ACPICA code, especially any printf 
5914 output. 
5915 UINT64 is the only common data type for all thread_id types across all 
5916 operating systems. It is now up to the host OSL to cast the native 
5917 thread_id 
5918 type to UINT64 before returning the value to ACPICA (via 
5919 AcpiOsGetThreadId). 
5920 Lin Ming, Bob Moore.
5922 Added the ACPI_INLINE type to enhance the ACPICA configuration. The 
5923 "inline" 
5924 keyword is not standard across compilers, and this type allows inline to 
5925 be 
5926 configured on a per-compiler basis. Lin Ming.
5928 Made the system global AcpiGbl_SystemAwakeAndRunning publically 
5929 available. 
5930 Added an extern for this boolean in acpixf.h. Some hosts utilize this 
5931 value 
5932 during suspend/restore operations. ACPICA BZ 869.
5934 All code that implements error/warning messages with the "ACPI:" prefix 
5935 has 
5936 been moved to a new module, utxferror.c.
5938 The UINT64_OVERLAY was moved to utmath.c, which is the only module where 
5939 it 
5940 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
5942 Example Code and Data Size: These are the sizes for the OS-independent 
5943 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
5944 debug version of the code includes the debug output trace mechanism and 
5945 has a 
5946 much larger code and data size.
5948   Previous Release:
5949     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
5950     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
5951   Current Release:
5952     Non-Debug Version:  89.9K Code, 19.0K Data, 108.9K Total
5953     Debug Version:     166.3K Code, 52.1K Data, 218.4K Total
5955 2) iASL Compiler/Disassembler and Tools:
5957 iASL/Disassembler: Write ACPI errors to stderr instead of the output 
5958 file. 
5959 This keeps the output files free of random error messages that may 
5960 originate 
5961 from within the namespace/interpreter code. Used this opportunity to 
5962 merge 
5963 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ 
5964 866. Lin Ming, Bob Moore.
5966 Tools: update some printfs for ansi warnings on size_t. Handle width 
5967 change 
5968 of size_t on 32-bit versus 64-bit generations. Lin Ming.
5970 ----------------------------------------
5971 06 August 2010. Summary of changes for version 20100806:
5973 1) ACPI CA Core Subsystem:
5975 Designed and implemented a new host interface to the _OSI support code. 
5976 This 
5977 will allow the host to dynamically add or remove multiple _OSI strings, 
5978 as 
5979 well as install an optional handler that is called for each _OSI 
5980 invocation. 
5981 Also added a new AML debugger command, 'osi' to display and modify the 
5982 global 
5983 _OSI string table, and test support in the AcpiExec utility. See the 
5984 ACPICA 
5985 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
5986 New Functions:
5987     AcpiInstallInterface - Add an _OSI string.
5988     AcpiRemoveInterface - Delete an _OSI string.
5989     AcpiInstallInterfaceHandler - Install optional _OSI handler.
5990 Obsolete Functions:
5991     AcpiOsValidateInterface - no longer used.
5992 New Files:
5993     source/components/utilities/utosi.c
5995 Re-introduced the support to enable multi-byte transfers for Embedded 
5996 Controller (EC) operation regions. A reported problem was found to be a 
5997 bug 
5998 in the host OS, not in the multi-byte support. Previously, the maximum 
5999 data 
6000 size passed to the EC operation region handler was a single byte. There 
6001 are 
6002 often EC Fields larger than one byte that need to be transferred, and it 
6003 is 
6004 useful for the EC driver to lock these as a single transaction. This 
6005 change 
6006 enables single transfers larger than 8 bits. This effectively changes the 
6007 access to the EC space from ByteAcc to AnyAcc, and will probably require 
6008 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6009 bit 
6010 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6012 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The 
6013 prototype in acpiosxf.h had the output value pointer as a (void *).
6014 It should be a (UINT64 *). This may affect some host OSL code.
6016 Fixed a couple problems with the recently modified Linux makefiles for 
6017 iASL 
6018 and AcpiExec. These new makefiles place the generated object files in the 
6019 local directory so that there can be no collisions between the files that 
6020 are 
6021 shared between them that are compiled with different options.
6023 Example Code and Data Size: These are the sizes for the OS-independent 
6024 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6025 debug version of the code includes the debug output trace mechanism and 
6026 has a 
6027 much larger code and data size.
6029   Previous Release:
6030     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6031     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6032   Current Release:
6033     Non-Debug Version:  89.1K Code, 19.0K Data, 108.1K Total
6034     Debug Version:     165.1K Code, 51.9K Data, 217.0K Total
6036 2) iASL Compiler/Disassembler and Tools:
6038 iASL/Disassembler: Added a new option (-da, "disassemble all") to load 
6039 the 
6040 namespace from and disassemble an entire group of AML files. Useful for 
6041 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn) 
6042 and 
6043 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6045 iASL: Allow multiple invocations of -e option. This change allows 
6046 multiple 
6047 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ 
6048 834. 
6049 Lin Ming.
6051 ----------------------------------------
6052 02 July 2010. Summary of changes for version 20100702:
6054 1) ACPI CA Core Subsystem:
6056 Implemented several updates to the recently added GPE reference count 
6057 support. The model for "wake" GPEs is changing to give the host OS 
6058 complete 
6059 control of these GPEs. Eventually, the ACPICA core will not execute any 
6060 _PRW 
6061 methods, since the host already must execute them. Also, additional 
6062 changes 
6063 were made to help ensure that the reference counts are kept in proper 
6064 synchronization with reality. Rafael J. Wysocki.
6066 1) Ensure that GPEs are not enabled twice during initialization.
6067 2) Ensure that GPE enable masks stay in sync with the reference count.
6068 3) Do not inadvertently enable GPEs when writing GPE registers.
6069 4) Remove the internal wake reference counter and add new AcpiGpeWakeup 
6070 interface. This interface will set or clear individual GPEs for wakeup.
6071 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These 
6072 interfaces 
6073 are now used for "runtime" GPEs only.
6075 Changed the behavior of the GPE install/remove handler interfaces. The 
6076 GPE 
6077 is 
6078 no longer disabled during this process, as it was found to cause problems 
6079 on 
6080 some machines. Rafael J. Wysocki.
6082 Reverted a change introduced in version 20100528 to enable Embedded 
6083 Controller multi-byte transfers. This change was found to cause problems 
6084 with 
6085 Index Fields and possibly Bank Fields. It will be reintroduced when these 
6086 problems have been resolved.
6088 Fixed a problem with references to Alias objects within Package Objects. 
6090 reference to an Alias within the definition of a Package was not always 
6091 resolved properly. Aliases to objects like Processors, Thermal zones, 
6092 etc. 
6093 were resolved to the actual object instead of a reference to the object 
6094 as 
6095 it 
6096 should be. Package objects are only allowed to contain integer, string, 
6097 buffer, package, and reference objects. Redhat bugzilla 608648.
6099 Example Code and Data Size: These are the sizes for the OS-independent 
6100 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6101 debug version of the code includes the debug output trace mechanism and 
6102 has a 
6103 much larger code and data size.
6105   Previous Release:
6106     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6107     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6108   Current Release:
6109     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6110     Debug Version:     164.0K Code, 51.5K Data, 215.5K Total
6112 2) iASL Compiler/Disassembler and Tools:
6114 iASL: Implemented a new compiler subsystem to allow definition and 
6115 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. 
6116 These 
6117 are called "ACPI Data Tables", and the new compiler is the "Data Table 
6118 Compiler". This compiler is intended to simplify the existing error-prone 
6119 process of creating these tables for the BIOS, as well as allowing the 
6120 disassembly, modification, recompilation, and override of existing ACPI 
6121 data 
6122 tables. See the iASL User Guide for detailed information.
6124 iASL: Implemented a new Template Generator option in support of the new 
6125 Data 
6126 Table Compiler. This option will create examples of all known ACPI tables 
6127 that can be used as the basis for table development. See the iASL 
6128 documentation and the -T option.
6130 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog 
6131 Descriptor Table).
6133 Updated the Linux makefiles for iASL and AcpiExec to place the generated 
6134 object files in the local directory so that there can be no collisions 
6135 between the shared files between them that are generated with different 
6136 options.
6138 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. 
6139 Use 
6140 the #define __APPLE__ to enable this support.
6142 ----------------------------------------
6143 28 May 2010. Summary of changes for version 20100528:
6145 Note: The ACPI 4.0a specification was released on April 5, 2010 and is 
6146 available at www.acpi.info. This is primarily an errata release.
6148 1) ACPI CA Core Subsystem:
6150 Undefined ACPI tables: We are looking for the definitions for the 
6151 following 
6152 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6154 Implemented support to enable multi-byte transfers for Embedded 
6155 Controller 
6156 (EC) operation regions. Previously, the maximum data size passed to the 
6157 EC 
6158 operation region handler was a single byte. There are often EC Fields 
6159 larger 
6160 than one byte that need to be transferred, and it is useful for the EC 
6161 driver 
6162 to lock these as a single transaction. This change enables single 
6163 transfers 
6164 larger than 8 bits. This effectively changes the access to the EC space 
6165 from 
6166 ByteAcc to AnyAcc, and will probably require changes to the host OS 
6167 Embedded 
6168 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6169 bit 
6170 transfers. Alexey Starikovskiy, Lin Ming
6172 Implemented a performance enhancement for namespace search and access. 
6173 This 
6174 change enhances the performance of namespace searches and walks by adding 
6176 backpointer to the parent in each namespace node. On large namespaces, 
6177 this 
6178 change can improve overall ACPI performance by up to 9X. Adding a pointer 
6179 to 
6180 each namespace node increases the overall size of the internal namespace 
6181 by 
6182 about 5%, since each namespace entry usually consists of both a namespace 
6183 node and an ACPI operand object. However, this is the first growth of the 
6184 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6186 Implemented a performance optimization that reduces the number of 
6187 namespace 
6188 walks. On control method exit, only walk the namespace if the method is 
6189 known 
6190 to have created namespace objects outside of its local scope. Previously, 
6191 the 
6192 entire namespace was traversed on each control method exit. This change 
6193 can 
6194 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob 
6195 Moore.
6197 Added support to truncate I/O addresses to 16 bits for Windows 
6198 compatibility. 
6199 Some ASL code has been seen in the field that inadvertently has bits set 
6200 above bit 15. This feature is optional and is enabled if the BIOS 
6201 requests 
6202 any Windows OSI strings. It can also be enabled by the host OS. Matthew 
6203 Garrett, Bob Moore.
6205 Added support to limit the maximum time for the ASL Sleep() operator. To 
6206 prevent accidental deep sleeps, limit the maximum time that Sleep() will 
6207 actually sleep. Configurable, the default maximum is two seconds. ACPICA 
6208 bugzilla 854.
6210 Added run-time validation support for the _WDG and_WED Microsoft 
6211 predefined 
6212 methods. These objects are defined by "Windows Instrumentation", and are 
6213 not 
6214 part of the ACPI spec. ACPICA BZ 860.
6216 Expanded all statistic counters used during namespace and device 
6217 initialization from 16 to 32 bits in order to support very large 
6218 namespaces.
6220 Replaced all instances of %d in printf format specifiers with %u since 
6221 nearly 
6222 all integers in ACPICA are unsigned.
6224 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly 
6225 returned 
6226 as AE_NO_HANDLER.
6228 Example Code and Data Size: These are the sizes for the OS-independent 
6229 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6230 debug version of the code includes the debug output trace mechanism and 
6231 has a 
6232 much larger code and data size.
6234   Previous Release:
6235     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6236     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6237   Current Release:
6238     Non-Debug Version:  88.3K Code, 18.8K Data, 107.1K Total
6239     Debug Version:     164.1K Code, 51.5K Data, 215.6K Total
6241 2) iASL Compiler/Disassembler and Tools:
6243 iASL: Added compiler support for the _WDG and_WED Microsoft predefined 
6244 methods. These objects are defined by "Windows Instrumentation", and are 
6245 not 
6246 part of the ACPI spec. ACPICA BZ 860.
6248 AcpiExec: added option to disable the memory tracking mechanism. The -dt 
6249 option will disable the tracking mechanism, which improves performance 
6250 considerably.
6252 AcpiExec: Restructured the command line options into -d (disable) and -e 
6253 (enable) options.
6255 ----------------------------------------
6256 28 April 2010. Summary of changes for version 20100428:
6258 1) ACPI CA Core Subsystem:
6260 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs, 
6261 including FADT-based and GPE Block Devices, execute any _PRW methods in 
6262 the 
6263 new table, and process any _Lxx/_Exx GPE methods in the new table. Any 
6264 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is 
6265 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block 
6266 Devices. Provides compatibility with other ACPI implementations. Two new 
6267 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob 
6268 Moore.
6270 Fixed a regression introduced in version 20100331 within the table 
6271 manager 
6272 where initial table loading could fail. This was introduced in the fix 
6273 for 
6274 AcpiReallocateRootTable. Also, renamed some of fields in the table 
6275 manager 
6276 data structures to clarify their meaning and use.
6278 Fixed a possible allocation overrun during internal object copy in 
6279 AcpiUtCopySimpleObject. The original code did not correctly handle the 
6280 case 
6281 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ 
6282 847.
6284 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a 
6285 possible access beyond end-of-allocation. Also, now fully validate 
6286 descriptor 
6287 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6289 Example Code and Data Size: These are the sizes for the OS-independent 
6290 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6291 debug version of the code includes the debug output trace mechanism and 
6292 has a 
6293 much larger code and data size.
6295   Previous Release:
6296     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6297     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6298   Current Release:
6299     Non-Debug Version:  88.4K Code, 18.8K Data, 107.2K Total
6300     Debug Version:     164.2K Code, 51.5K Data, 215.7K Total
6302 2) iASL Compiler/Disassembler and Tools:
6304 iASL: Implemented Min/Max/Len/Gran validation for address resource 
6305 descriptors. This change implements validation for the address fields 
6306 that 
6307 are common to all address-type resource descriptors. These checks are 
6308 implemented: Checks for valid Min/Max, length within the Min/Max window, 
6309 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as 
6310 per 
6311 table 6-40 in the ACPI 4.0a specification. Also split the large 
6312 aslrestype1.c 
6313 and aslrestype2.c files into five new files. ACPICA BZ 840.
6315 iASL: Added support for the _Wxx predefined names. This support was 
6316 missing 
6317 and these names were not recognized by the compiler as valid predefined 
6318 names. ACPICA BZ 851.
6320 iASL: Added an error for all predefined names that are defined to return 
6321 no 
6322 value and thus must be implemented as Control Methods. These include all 
6323 of 
6324 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous 
6325 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6327 iASL: Implemented the -ts option to emit hex AML data in ASL format, as 
6328 an 
6329 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to 
6330 be 
6331 dynamically loaded via the Load() operator. Also cleaned up output for 
6332 the 
6334 ta and -tc options. ACPICA BZ 853.
6336 Tests: Added a new file with examples of extended iASL error checking. 
6337 Demonstrates the advanced error checking ability of the iASL compiler. 
6338 Available at tests/misc/badcode.asl.
6340 ----------------------------------------
6341 31 March 2010. Summary of changes for version 20100331:
6343 1) ACPI CA Core Subsystem:
6345 Completed a major update for the GPE support in order to improve support 
6346 for 
6347 shared GPEs and to simplify both host OS and ACPICA code. Added a 
6348 reference 
6349 count mechanism to support shared GPEs that require multiple device 
6350 drivers. 
6351 Several external interfaces have changed. One external interface has been 
6352 removed. One new external interface was added. Most of the GPE external 
6353 interfaces now use the GPE spinlock instead of the events mutex (and the 
6354 Flags parameter for many GPE interfaces has been removed.) See the 
6355 updated 
6356 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore, 
6357 Rafael 
6358 Wysocki. ACPICA BZ 831.
6360 Changed:
6361     AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6362 Removed:
6363     AcpiSetGpeType
6364 New:
6365     AcpiSetGpe
6367 Implemented write support for DataTable operation regions. These regions 
6368 are 
6369 defined via the DataTableRegion() operator. Previously, only read support 
6370 was 
6371 implemented. The ACPI specification allows DataTableRegions to be 
6372 read/write, 
6373 however.
6375 Implemented a new subsystem option to force a copy of the DSDT to local 
6376 memory. Optionally copy the entire DSDT to local memory (instead of 
6377 simply 
6378 mapping it.) There are some (albeit very rare) BIOSs that corrupt or 
6379 replace 
6380 the original DSDT, creating the need for this option. Default is FALSE, 
6381 do 
6382 not copy the DSDT.
6384 Implemented detection of a corrupted or replaced DSDT. This change adds 
6385 support to detect a DSDT that has been corrupted and/or replaced from 
6386 outside 
6387 the OS (by firmware). This is typically catastrophic for the system, but 
6388 has 
6389 been seen on some machines. Once this problem has been detected, the DSDT 
6390 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6392 Fixed two problems with AcpiReallocateRootTable during the root table 
6393 copy. 
6394 When copying the root table to the new allocation, the length used was 
6395 incorrect. The new size was used instead of the current table size, 
6396 meaning 
6397 too much data was copied. Also, the count of available slots for ACPI 
6398 tables 
6399 was not set correctly. Alexey Starikovskiy, Bob Moore.
6401 Example Code and Data Size: These are the sizes for the OS-independent 
6402 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6403 debug version of the code includes the debug output trace mechanism and 
6404 has a 
6405 much larger code and data size.
6407   Previous Release:
6408     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6409     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6410   Current Release:
6411     Non-Debug Version:  87.9K Code, 18.6K Data, 106.5K Total
6412     Debug Version:     163.5K Code, 51.3K Data, 214.8K Total
6414 2) iASL Compiler/Disassembler and Tools:
6416 iASL: Implement limited typechecking for values returned from predefined 
6417 control methods. The type of any returned static (unnamed) object is now 
6418 validated. For example, Return(1). ACPICA BZ 786.
6420 iASL: Fixed a predefined name object verification regression. Fixes a 
6421 problem 
6422 introduced in version 20100304. An error is incorrectly generated if a 
6423 predefined name is declared as a static named object with a value defined 
6424 using the keywords "Zero", "One", or "Ones". Lin Ming.
6426 iASL: Added Windows 7 support for the -g option (get local ACPI tables) 
6427 by 
6428 reducing the requested registry access rights. ACPICA BZ 842.
6430 Disassembler: fixed a possible fault when generating External() 
6431 statements. 
6432 Introduced in commit ae7d6fd: Properly handle externals with parent-
6433 prefix 
6434 (carat). Fixes a string length allocation calculation. Lin Ming.
6436 ----------------------------------------
6437 04 March 2010. Summary of changes for version 20100304:
6439 1) ACPI CA Core Subsystem:
6441 Fixed a possible problem with the AML Mutex handling function 
6442 AcpiExReleaseMutex where the function could fault under the very rare 
6443 condition when the interpreter has blocked, the interpreter lock is 
6444 released, 
6445 the interpreter is then reentered via the same thread, and attempts to 
6446 acquire an AML mutex that was previously acquired. FreeBSD report 140979. 
6447 Lin 
6448 Ming.
6450 Implemented additional configuration support for the AML "Debug Object". 
6451 Output from the debug object can now be enabled via a global variable, 
6452 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine 
6453 debugging. 
6454 This debug output is now available in the release version of ACPICA 
6455 instead 
6456 of just the debug version. Also, the entire debug output module can now 
6457 be 
6458 configured out of the ACPICA build if desired. One new file added, 
6459 executer/exdebug.c. Lin Ming, Bob Moore.
6461 Added header support for the ACPI MCHI table (Management Controller Host 
6462 Interface Table). This table was added in ACPI 4.0, but the defining 
6463 document 
6464 has only recently become available.
6466 Standardized output of integer values for ACPICA warnings/errors. Always 
6467 use 
6468 0x prefix for hex output, always use %u for unsigned integer decimal 
6469 output. 
6470 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 
6471 400 
6472 invocations.) These invocations were converted from the original 
6473 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6475 Example Code and Data Size: These are the sizes for the OS-independent 
6476 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6477 debug version of the code includes the debug output trace mechanism and 
6478 has a 
6479 much larger code and data size.
6481   Previous Release:
6482     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6483     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6484   Current Release:
6485     Non-Debug Version:  87.5K Code, 18.4K Data, 105.9K Total
6486     Debug Version:     163.4K Code, 51.1K Data, 214.5K Total
6488 2) iASL Compiler/Disassembler and Tools:
6490 iASL: Implemented typechecking support for static (non-control method) 
6491 predefined named objects that are declared with the Name() operator. For 
6492 example, the type of this object is now validated to be of type Integer: 
6493 Name(_BBN, 1). This change migrates the compiler to using the core 
6494 predefined 
6495 name table instead of maintaining a local version. Added a new file, 
6496 aslpredef.c. ACPICA BZ 832.
6498 Disassembler: Added support for the ACPI 4.0 MCHI table.
6500 ----------------------------------------
6501 21 January 2010. Summary of changes for version 20100121:
6503 1) ACPI CA Core Subsystem:
6505 Added the 2010 copyright to all module headers and signons. This affects 
6506 virtually every file in the ACPICA core subsystem, the iASL compiler, the 
6507 tools/utilities, and the test suites.
6509 Implemented a change to the AcpiGetDevices interface to eliminate 
6510 unnecessary 
6511 invocations of the _STA method. In the case where a specific _HID is 
6512 requested, do not run _STA until a _HID match is found. This eliminates 
6513 potentially dozens of _STA calls during a search for a particular 
6514 device/HID, 
6515 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6517 Implemented an additional repair for predefined method return values. 
6518 Attempt 
6519 to repair unexpected NULL elements within returned Package objects. 
6520 Create 
6521 an 
6522 Integer of value zero, a NULL String, or a zero-length Buffer as 
6523 appropriate. 
6524 ACPICA BZ 818. Lin Ming, Bob Moore.
6526 Removed the obsolete ACPI_INTEGER data type. This type was introduced as 
6527 the 
6528 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0 
6529 (with 
6530 64-bit AML integers). It is now obsolete and this change removes it from 
6531 the 
6532 ACPICA code base, replaced by UINT64. The original typedef has been 
6533 retained 
6534 for now for compatibility with existing device driver code. ACPICA BZ 
6535 824.
6537 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field 
6538 in 
6539 the parse tree object.
6541 Added additional warning options for the gcc-4 generation. Updated the 
6542 source 
6543 accordingly. This includes some code restructuring to eliminate 
6544 unreachable 
6545 code, elimination of some gotos, elimination of unused return values, 
6546 some 
6547 additional casting, and removal of redundant declarations.
6549 Example Code and Data Size: These are the sizes for the OS-independent 
6550 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6551 debug version of the code includes the debug output trace mechanism and 
6552 has a 
6553 much larger code and data size.
6555   Previous Release:
6556     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6557     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6558   Current Release:
6559     Non-Debug Version:  87.1K Code, 18.0K Data, 105.1K Total
6560     Debug Version:     163.5K Code, 50.9K Data, 214.4K Total
6562 2) iASL Compiler/Disassembler and Tools:
6564 No functional changes for this release.
6566 ----------------------------------------
6567 14 December 2009. Summary of changes for version 20091214:
6569 1) ACPI CA Core Subsystem:
6571 Enhanced automatic data type conversions for predefined name repairs. 
6572 This 
6573 change expands the automatic repairs/conversions for predefined name 
6574 return 
6575 values to make Integers, Strings, and Buffers fully interchangeable. 
6576 Also, 
6578 Buffer can be converted to a Package of Integers if necessary. The 
6579 nsrepair.c 
6580 module was completely restructured. Lin Ming, Bob Moore.
6582 Implemented automatic removal of null package elements during predefined 
6583 name 
6584 repairs. This change will automatically remove embedded and trailing NULL 
6585 package elements from returned package objects that are defined to 
6586 contain 
6588 variable number of sub-packages. The driver is then presented with a 
6589 package 
6590 with no null elements to deal with. ACPICA BZ 819.
6592 Implemented a repair for the predefined _FDE and _GTM names. The expected 
6593 return value for both names is a Buffer of 5 DWORDs. This repair fixes 
6594 two 
6595 possible problems (both seen in the field), where a package of integers 
6596 is 
6597 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk 
6598 Kim.
6600 Implemented additional module-level code support. This change will 
6601 properly 
6602 execute module-level code that is not at the root of the namespace (under 
6604 Device object, etc.). Now executes the code within the current scope 
6605 instead 
6606 of the root. ACPICA BZ 762. Lin Ming.
6608 Fixed possible mutex acquisition errors when running _REG methods. Fixes 
6610 problem where mutex errors can occur when running a _REG method that is 
6611 in 
6612 the same scope as a method-defined operation region or an operation 
6613 region 
6614 under a module-level IF block. This type of code is rare, so the problem 
6615 has 
6616 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6618 Fixed a possible memory leak during module-level code execution. An 
6619 object 
6620 could be leaked for each block of executed module-level code if the 
6621 interpreter slack mode is enabled This change deletes any implicitly 
6622 returned 
6623 object from the module-level code block. Lin Ming.
6625 Removed messages for successful predefined repair(s). The repair 
6626 mechanism 
6627 was considered too wordy. Now, messages are only unconditionally emitted 
6628 if 
6629 the return object cannot be repaired. Existing messages for successful 
6630 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ 
6631 827.
6633 Example Code and Data Size: These are the sizes for the OS-independent 
6634 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6635 debug version of the code includes the debug output trace mechanism and 
6636 has a 
6637 much larger code and data size.
6639   Previous Release:
6640     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6641     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6642   Current Release:
6643     Non-Debug Version:  87.0K Code, 18.0K Data, 105.0K Total
6644     Debug Version:     163.4K Code, 50.8K Data, 214.2K Total
6646 2) iASL Compiler/Disassembler and Tools:
6648 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC 
6649 files 
6650 were no longer automatically removed at the termination of the compile.
6652 acpiexec: Implemented the -f option to specify default region fill value. 
6653 This option specifies the value used to initialize buffers that simulate 
6654 operation regions. Default value is zero. Useful for debugging problems 
6655 that 
6656 depend on a specific initial value for a region or field.
6658 ----------------------------------------
6659 12 November 2009. Summary of changes for version 20091112:
6661 1) ACPI CA Core Subsystem:
6663 Implemented a post-order callback to AcpiWalkNamespace. The existing 
6664 interface only has a pre-order callback. This change adds an additional 
6665 parameter for a post-order callback which will be more useful for bus 
6666 scans. 
6667 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6669 Modified the behavior of the operation region memory mapping cache for 
6670 SystemMemory. Ensure that the memory mappings created for operation 
6671 regions 
6672 do not cross 4K page boundaries. Crossing a page boundary while mapping 
6673 regions can cause kernel warnings on some hosts if the pages have 
6674 different 
6675 attributes. Such regions are probably BIOS bugs, and this is the 
6676 workaround. 
6677 Linux BZ 14445. Lin Ming.
6679 Implemented an automatic repair for predefined methods that must return 
6680 sorted lists. This change will repair (by sorting) packages returned by 
6681 _ALR, 
6682 _PSS, and _TSS. Drivers can now assume that the packages are correctly 
6683 sorted 
6684 and do not contain NULL package elements. Adds one new file, 
6685 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6687 Fixed a possible fault during predefined name validation if a return 
6688 Package 
6689 object contains NULL elements. Also adds a warning if a NULL element is 
6690 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement 
6691 may 
6692 include repair or removal of all such NULL elements where possible.
6694 Implemented additional module-level executable AML code support. This 
6695 change 
6696 will execute module-level code that is not at the root of the namespace 
6697 (under a Device object, etc.) at table load time. Module-level executable 
6698 AML 
6699 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6701 Implemented a new internal function to create Integer objects. This 
6702 function 
6703 simplifies miscellaneous object creation code. ACPICA BZ 823.
6705 Reduced the severity of predefined repair messages, Warning to Info. 
6706 Since 
6707 the object was successfully repaired, a warning is too severe. Reduced to 
6708 an 
6709 info message for now. These messages may eventually be changed to debug-
6710 only. 
6711 ACPICA BZ 812.
6713 Example Code and Data Size: These are the sizes for the OS-independent 
6714 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6715 debug version of the code includes the debug output trace mechanism and 
6716 has a 
6717 much larger code and data size.
6719   Previous Release:
6720     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6721     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6722   Current Release:
6723     Non-Debug Version:  86.6K Code, 18.2K Data, 104.8K Total
6724     Debug Version:     162.7K Code, 50.8K Data, 213.5K Total
6726 2) iASL Compiler/Disassembler and Tools:
6728 iASL: Implemented Switch() with While(1) so that Break works correctly. 
6729 This 
6730 change correctly implements the Switch operator with a surrounding 
6731 While(1) 
6732 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6734 iASL: Added a message if a package initializer list is shorter than 
6735 package 
6736 length. Adds a new remark for a Package() declaration if an initializer 
6737 list 
6738 exists, but is shorter than the declared length of the package. Although 
6739 technically legal, this is probably a coding error and it is seen in the 
6740 field. ACPICA BZ 815. Lin Ming, Bob Moore.
6742 iASL: Fixed a problem where the compiler could fault after the maximum 
6743 number 
6744 of errors was reached (200).
6746 acpixtract: Fixed a possible warning for pointer cast if the compiler 
6747 warning 
6748 level set very high.
6750 ----------------------------------------
6751 13 October 2009. Summary of changes for version 20091013:
6753 1) ACPI CA Core Subsystem:
6755 Fixed a problem where an Operation Region _REG method could be executed 
6756 more 
6757 than once. If a custom address space handler is installed by the host 
6758 before 
6759 the "initialize operation regions" phase of the ACPICA initialization, 
6760 any 
6761 _REG methods for that address space could be executed twice. This change 
6762 fixes the problem. ACPICA BZ 427. Lin Ming.
6764 Fixed a possible memory leak for the Scope() ASL operator. When the exact 
6765 invocation of "Scope(\)" is executed (change scope to root), one internal 
6766 operand object was leaked. Lin Ming.
6768 Implemented a run-time repair for the _MAT predefined method. If the _MAT 
6769 return value is defined as a Field object in the AML, and the field
6770 size is less than or equal to the default width of an integer (32 or 
6771 64),_MAT 
6772 can incorrectly return an Integer instead of a Buffer. ACPICA now 
6773 automatically repairs this problem. ACPICA BZ 810.
6775 Implemented a run-time repair for the _BIF and _BIX predefined methods. 
6776 The 
6777 "OEM Information" field is often incorrectly returned as an Integer with 
6778 value zero if the field is not supported by the platform. This is due to 
6779 an 
6780 ambiguity in the ACPI specification. The field should always be a string. 
6781 ACPICA now automatically repairs this problem by returning a NULL string 
6782 within the returned Package. ACPICA BZ 807.
6784 Example Code and Data Size: These are the sizes for the OS-independent 
6785 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6786 debug version of the code includes the debug output trace mechanism and 
6787 has a 
6788 much larger code and data size.
6790   Previous Release:
6791     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6792     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6793   Current Release:
6794     Non-Debug Version:  85.8K Code, 18.0K Data, 103.8K Total
6795     Debug Version:     161.8K Code, 50.6K Data, 212.4K Total
6797 2) iASL Compiler/Disassembler and Tools:
6799 Disassembler: Fixed a problem where references to external symbols that 
6800 contained one or more parent-prefixes (carats) were not handled 
6801 correctly, 
6802 possibly causing a fault. ACPICA BZ 806. Lin Ming.
6804 Disassembler: Restructured the code so that all functions that handle 
6805 external symbols are in a single module. One new file is added, 
6806 common/dmextern.c.
6808 AML Debugger: Added a max count argument for the Batch command (which 
6809 executes multiple predefined methods within the namespace.)
6811 iASL: Updated the compiler documentation (User Reference.) Available at 
6812 http://www.acpica.org/documentation/. ACPICA BZ 750.
6814 AcpiXtract: Updated for Lint and other formatting changes. Close all open 
6815 files.
6817 ----------------------------------------
6818 03 September 2009. Summary of changes for version 20090903:
6820 1) ACPI CA Core Subsystem:
6822 For Windows Vista compatibility, added the automatic execution of an _INI 
6823 method located at the namespace root (\_INI). This method is executed at 
6824 table load time. This support is in addition to the automatic execution 
6825 of 
6826 \_SB._INI. Lin Ming.
6828 Fixed a possible memory leak in the interpreter for AML package objects 
6829 if 
6830 the package initializer list is longer than the defined size of the 
6831 package. 
6832 This apparently can only happen if the BIOS changes the package size on 
6833 the 
6834 fly (seen in a _PSS object), as ASL compilers do not allow this. The 
6835 interpreter will truncate the package to the defined size (and issue an 
6836 error 
6837 message), but previously could leave the extra objects undeleted if they 
6838 were 
6839 pre-created during the argument processing (such is the case if the 
6840 package 
6841 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6843 Fixed a problem seen when a Buffer or String is stored to itself via ASL. 
6844 This has been reported in the field. Previously, ACPICA would zero out 
6845 the 
6846 buffer/string. Now, the operation is treated as a noop. Provides Windows 
6847 compatibility. ACPICA BZ 803. Lin Ming.
6849 Removed an extraneous error message for ASL constructs of the form 
6850 Store(LocalX,LocalX) when LocalX is uninitialized. These curious 
6851 statements 
6852 are seen in many BIOSs and are once again treated as NOOPs and no error 
6853 is 
6854 emitted when they are encountered. ACPICA BZ 785.
6856 Fixed an extraneous warning message if a _DSM reserved method returns a 
6857 Package object. _DSM can return any type of object, so validation on the 
6858 return type cannot be performed. ACPICA BZ 802.
6860 Example Code and Data Size: These are the sizes for the OS-independent 
6861 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6862 debug version of the code includes the debug output trace mechanism and 
6863 has a 
6864 much larger code and data size.
6866   Previous Release:
6867     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6868     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6869   Current Release:
6870     Non-Debug Version:  85.6K Code, 18.0K Data, 103.6K Total
6871     Debug Version:     161.7K Code, 50.9K Data, 212.6K Total
6873 2) iASL Compiler/Disassembler and Tools:
6875 iASL: Fixed a problem with the use of the Alias operator and Resource 
6876 Templates. The correct alias is now constructed and no error is emitted. 
6877 ACPICA BZ 738.
6879 iASL: Implemented the -I option to specify additional search directories 
6880 for 
6881 include files. Allows multiple additional search paths for include files. 
6882 Directories are searched in the order specified on the command line 
6883 (after 
6884 the local directory is searched.) ACPICA BZ 800.
6886 iASL: Fixed a problem where the full pathname for include files was not 
6887 emitted for warnings/errors. This caused the IDE support to not work 
6888 properly. ACPICA BZ 765.
6890 iASL: Implemented the -@ option to specify a Windows-style response file 
6891 containing additional command line options. ACPICA BZ 801.
6893 AcpiExec: Added support to load multiple AML files simultaneously (such 
6894 as 
6896 DSDT and multiple SSDTs). Also added support for wildcards within the AML 
6897 pathname. These features allow all machine tables to be easily loaded and 
6898 debugged together. ACPICA BZ 804.
6900 Disassembler: Added missing support for disassembly of HEST table Error 
6901 Bank 
6902 subtables. 
6904 ----------------------------------------
6905 30 July 2009. Summary of changes for version 20090730:
6907 The ACPI 4.0 implementation for ACPICA is complete with this release.
6909 1) ACPI CA Core Subsystem:
6911 ACPI 4.0: Added header file support for all new and changed ACPI tables. 
6912 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are 
6913 new 
6914 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP, 
6915 BERT, 
6916 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT. 
6917 There 
6918 have been some ACPI 4.0 changes to other existing tables. Split the large 
6919 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
6921 ACPI 4.0: Implemented predefined name validation for all new names. There 
6922 are 
6923 31 new names in ACPI 4.0. The predefined validation module was split into 
6924 two 
6925 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
6927 Implemented support for so-called "module-level executable code". This is 
6928 executable AML code that exists outside of any control method and is 
6929 intended 
6930 to be executed at table load time. Although illegal since ACPI 2.0, this 
6931 type 
6932 of code still exists and is apparently still being created. Blocks of 
6933 this 
6934 code are now detected and executed as intended. Currently, the code 
6935 blocks 
6936 must exist under either an If, Else, or While construct; these are the 
6937 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
6939 Implemented an automatic dynamic repair for predefined names that return 
6940 nested Package objects. This applies to predefined names that are defined 
6941 to 
6942 return a variable-length Package of sub-packages. If the number of sub-
6943 packages is one, BIOS code is occasionally seen that creates a simple 
6944 single 
6945 package with no sub-packages. This code attempts to fix the problem by 
6946 wrapping a new package object around the existing package. These methods 
6947 can 
6948 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA 
6949 BZ 
6950 790.
6952 Fixed a regression introduced in 20090625 for the AcpiGetDevices 
6953 interface. 
6954 The _HID/_CID matching was broken and no longer matched IDs correctly. 
6955 ACPICA 
6956 BZ 793.
6958 Fixed a problem with AcpiReset where the reset would silently fail if the 
6959 register was one of the protected I/O ports. AcpiReset now bypasses the 
6960 port 
6961 validation mechanism. This may eventually be driven into the 
6962 AcpiRead/Write 
6963 interfaces.
6965 Fixed a regression related to the recent update of the AcpiRead/Write 
6966 interfaces. A sleep/suspend could fail if the optional PM2 Control 
6967 register 
6968 does not exist during an attempt to write the Bus Master Arbitration bit. 
6969 (However, some hosts already delete the code that writes this bit, and 
6970 the 
6971 code may in fact be obsolete at this date.) ACPICA BZ 799.
6973 Fixed a problem where AcpiTerminate could fault if inadvertently called 
6974 twice 
6975 in succession. ACPICA BZ 795.
6977 Example Code and Data Size: These are the sizes for the OS-independent 
6978 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
6979 debug version of the code includes the debug output trace mechanism and 
6980 has a 
6981 much larger code and data size.
6983   Previous Release:
6984     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
6985     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
6986   Current Release:
6987     Non-Debug Version:  85.5K Code, 18.0K Data, 103.5K Total
6988     Debug Version:     161.6K Code, 50.9K Data, 212.5K Total
6990 2) iASL Compiler/Disassembler and Tools:
6992 ACPI 4.0: Implemented disassembler support for all new ACPI tables and 
6993 changes to existing tables. ACPICA BZ 775.
6995 ----------------------------------------
6996 25 June 2009. Summary of changes for version 20090625:
6998 The ACPI 4.0 Specification was released on June 16 and is available at 
6999 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will 
7000 continue for the next few releases.
7002 1) ACPI CA Core Subsystem:
7004 ACPI 4.0: Implemented interpreter support for the IPMI operation region 
7005 address space. Includes support for bi-directional data buffers and an 
7006 IPMI 
7007 address space handler (to be installed by an IPMI device driver.) ACPICA 
7008 BZ 
7009 773. Lin Ming.
7011 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. 
7012 Includes 
7013 support in both the header files and the disassembler.
7015 Completed a major update for the AcpiGetObjectInfo external interface. 
7016 Changes include:
7017  - Support for variable, unlimited length HID, UID, and CID strings.
7018  - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA, 
7019 etc.)
7020  - Call the _SxW power methods on behalf of a device object.
7021  - Determine if a device is a PCI root bridge.
7022  - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7023 These changes will require an update to all callers of this interface. 
7024 See 
7025 the updated ACPICA Programmer Reference for details. One new source file 
7026 has 
7027 been added - utilities/utids.c. ACPICA BZ 368, 780.
7029 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit 
7030 transfers. The Value parameter has been extended from 32 bits to 64 bits 
7031 in 
7032 order to support new ACPI 4.0 tables. These changes will require an 
7033 update 
7034 to 
7035 all callers of these interfaces. See the ACPICA Programmer Reference for 
7036 details. ACPICA BZ 768.
7038 Fixed several problems with AcpiAttachData. The handler was not invoked 
7039 when 
7040 the host node was deleted. The data sub-object was not automatically 
7041 deleted 
7042 when the host node was deleted. The interface to the handler had an 
7043 unused 
7044 parameter, this was removed. ACPICA BZ 778.
7046 Enhanced the function that dumps ACPI table headers. All non-printable 
7047 characters in the string fields are now replaced with '?' (Signature, 
7048 OemId, 
7049 OemTableId, and CompilerId.) ACPI tables with non-printable characters in 
7050 these fields are occasionally seen in the field. ACPICA BZ 788.
7052 Fixed a problem with predefined method repair code where the code that 
7053 attempts to repair/convert an object of incorrect type is only executed 
7054 on 
7055 the first time the predefined method is called. The mechanism that 
7056 disables 
7057 warnings on subsequent calls was interfering with the repair mechanism. 
7058 ACPICA BZ 781.
7060 Fixed a possible memory leak in the predefined validation/repair code 
7061 when 
7063 buffer is automatically converted to an expected string object.
7065 Removed obsolete 16-bit files from the distribution and from the current 
7066 git 
7067 tree head. ACPICA BZ 776.
7069 Example Code and Data Size: These are the sizes for the OS-independent 
7070 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7071 debug version of the code includes the debug output trace mechanism and 
7072 has a 
7073 much larger code and data size.
7075   Previous Release:
7076     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7077     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7078   Current Release:
7079     Non-Debug Version:  84.7K Code, 17.8K Data, 102.5K Total
7080     Debug Version:     160.5K Code, 50.6K Data, 211.1K Total
7082 2) iASL Compiler/Disassembler and Tools:
7084 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI 
7085 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7087 ACPI 4.0: iASL - implemented compile-time validation support for all new 
7088 predefined names and control methods (31 total). ACPICA BZ 769.
7090 ----------------------------------------
7091 21 May 2009. Summary of changes for version 20090521:
7093 1) ACPI CA Core Subsystem:
7095 Disabled the preservation of the SCI enable bit in the PM1 control 
7096 register. 
7097 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification 
7098 to 
7099 be 
7100 a "preserved" bit - "OSPM always preserves this bit position", section 
7101 4.7.3.2.1. However, some machines fail if this bit is in fact preserved 
7102 because the bit needs to be explicitly set by the OS as a workaround. No 
7103 machines fail if the bit is not preserved. Therefore, ACPICA no longer 
7104 attempts to preserve this bit.
7106 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or 
7107 incorrectly formed _PRT package could cause a fault. Added validation to 
7108 ensure that each package element is actually a sub-package.
7110 Implemented a new interface to install or override a single control 
7111 method, 
7112 AcpiInstallMethod. This interface is useful when debugging in order to 
7113 repair 
7114 an existing method or to install a missing method without having to 
7115 override 
7116 the entire ACPI table. See the ACPICA Programmer Reference for use and 
7117 examples. Lin Ming, Bob Moore.
7119 Fixed several reference count issues with the DdbHandle object that is 
7120 created from a Load or LoadTable operator. Prevent premature deletion of 
7121 the 
7122 object. Also, mark the object as invalid once the table has been 
7123 unloaded. 
7124 This is needed because the handle itself may not be deleted after the 
7125 table 
7126 unload, depending on whether it has been stored in a named object by the 
7127 caller. Lin Ming.
7129 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple 
7130 mutexes of the same sync level are acquired but then not released in 
7131 strict 
7132 opposite order, the internally maintained Current Sync Level becomes 
7133 confused 
7134 and can cause subsequent execution errors. ACPICA BZ 471.
7136 Changed the allowable release order for ASL mutex objects. The ACPI 4.0 
7137 specification has been changed to make the SyncLevel for mutex objects 
7138 more 
7139 useful. When releasing a mutex, the SyncLevel of the mutex must now be 
7140 the 
7141 same as the current sync level. This makes more sense than the previous 
7142 rule 
7143 (SyncLevel less than or equal). This change updates the code to match the 
7144 specification.
7146 Fixed a problem with the local version of the AcpiOsPurgeCache function. 
7147 The 
7148 (local) cache must be locked during all cache object deletions. Andrew 
7149 Baumann.
7151 Updated the Load operator to use operation region interfaces. This 
7152 replaces 
7153 direct memory mapping with region access calls. Now, all region accesses 
7154 go 
7155 through the installed region handler as they should.
7157 Simplified and optimized the NsGetNextNode function. Reduced parameter 
7158 count 
7159 and reduced code for this frequently used function.
7161 Example Code and Data Size: These are the sizes for the OS-independent 
7162 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7163 debug version of the code includes the debug output trace mechanism and 
7164 has a 
7165 much larger code and data size.
7167   Previous Release:
7168     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7169     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7170   Current Release:
7171     Non-Debug Version:  83.4K Code, 17.5K Data, 100.9K Total
7172     Debug Version:     158.9K Code, 50.0K Data, 208.9K Total
7174 2) iASL Compiler/Disassembler and Tools:
7176 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some 
7177 problems 
7178 with sub-table disassembly and handling invalid sub-tables. Attempt 
7179 recovery 
7180 after an invalid sub-table ID.
7182 ----------------------------------------
7183 22 April 2009. Summary of changes for version 20090422:
7185 1) ACPI CA Core Subsystem:
7187 Fixed a compatibility issue with the recently released I/O port 
7188 protection 
7189 mechanism. For windows compatibility, 1) On a port protection violation, 
7190 simply ignore the request and do not return an exception (allow the 
7191 control 
7192 method to continue execution.) 2) If only part of the request overlaps a 
7193 protected port, read/write the individual ports that are not protected. 
7194 Linux 
7195 BZ 13036. Lin Ming
7197 Enhanced the execution of the ASL/AML BreakPoint operator so that it 
7198 actually 
7199 breaks into the AML debugger if the debugger is present. This matches the 
7200 ACPI-defined behavior.
7202 Fixed several possible warnings related to the use of the configurable 
7203 ACPI_THREAD_ID. This type can now be configured as either an integer or a 
7204 pointer with no warnings. Also fixes several warnings in printf-like 
7205 statements for the 64-bit build when the type is configured as a pointer. 
7206 ACPICA BZ 766, 767.
7208 Fixed a number of possible warnings when compiling with gcc 4+ (depending 
7209 on 
7210 warning options.) Examples include printf formats, aliasing, unused 
7211 globals, 
7212 missing prototypes, missing switch default statements, use of non-ANSI 
7213 library functions, use of non-ANSI constructs. See generate/unix/Makefile 
7214 for 
7215 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7217 Example Code and Data Size: These are the sizes for the OS-independent 
7218 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7219 debug version of the code includes the debug output trace mechanism and 
7220 has a 
7221 much larger code and data size.
7223   Previous Release:
7224     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7225     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7226   Current Release:
7227     Non-Debug Version:  82.8K Code, 17.5K Data, 100.3K Total
7228     Debug Version:     158.0K Code, 49.9K Data, 207.9K Total
7230 2) iASL Compiler/Disassembler and Tools:
7232 iASL: Fixed a generation warning from Bison 2.3 and fixed several 
7233 warnings 
7234 on 
7235 the 64-bit build.
7237 iASL: Fixed a problem where the Unix/Linux versions of the compiler could 
7238 not 
7239 correctly digest Windows/DOS formatted files (with CR/LF).
7241 iASL: Added a new option for "quiet mode" (-va) that produces only the 
7242 compilation summary, not individual errors and warnings. Useful for large 
7243 batch compilations.
7245 AcpiExec: Implemented a new option (-z) to enable a forced 
7246 semaphore/mutex 
7247 timeout that can be used to detect hang conditions during execution of 
7248 AML 
7249 code (includes both internal semaphores and AML-defined mutexes and 
7250 events.)
7252 Added new makefiles for the generation of acpica in a generic unix-like 
7253 environment. These makefiles are intended to generate the acpica tools 
7254 and 
7255 utilities from the original acpica git source tree structure.
7257 Test Suites: Updated and cleaned up the documentation files. Updated the 
7258 copyrights to 2009, affecting all source files. Use the new version of 
7259 iASL 
7260 with quiet mode. Increased the number of available semaphores in the 
7261 Windows 
7262 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL, 
7263 added 
7264 an alternate implementation of the semaphore timeout to allow aslts to 
7265 execute fully on Cygwin.
7267 ----------------------------------------
7268 20 March 2009. Summary of changes for version 20090320:
7270 1) ACPI CA Core Subsystem:
7272 Fixed a possible race condition between AcpiWalkNamespace and dynamic 
7273 table 
7274 unloads. Added a reader/writer locking mechanism to allow multiple 
7275 concurrent 
7276 namespace walks (readers), but block a dynamic table unload until it can 
7277 gain 
7278 exclusive write access to the namespace. This fixes a problem where a 
7279 table 
7280 unload could (possibly catastrophically) delete the portion of the 
7281 namespace 
7282 that is currently being examined by a walk. Adds a new file, utlock.c, 
7283 that 
7284 implements the reader/writer lock mechanism. ACPICA BZ 749.
7286 Fixed a regression introduced in version 20090220 where a change to the 
7287 FADT 
7288 handling could cause the ACPICA subsystem to access non-existent I/O 
7289 ports.
7291 Modified the handling of FADT register and table (FACS/DSDT) addresses. 
7292 The 
7293 FADT can contain both 32-bit and 64-bit versions of these addresses. 
7294 Previously, the 64-bit versions were favored, meaning that if both 32 and 
7295 64 
7296 versions were valid, but not equal, the 64-bit version was used. This was 
7297 found to cause some machines to fail. Now, in this case, the 32-bit 
7298 version 
7299 is used instead. This now matches the Windows behavior.
7301 Implemented a new mechanism to protect certain I/O ports. Provides 
7302 Microsoft 
7303 compatibility and protects the standard PC I/O ports from access via AML 
7304 code. Adds a new file, hwvalid.c
7306 Fixed a possible extraneous warning message from the FADT support. The 
7307 message warns of a 32/64 length mismatch between the legacy and GAS 
7308 definitions for a register.
7310 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface 
7311 is 
7312 made obsolete by the port protection mechanism above. It was previously 
7313 used 
7314 to validate the entire address range of an operation region, which could 
7315 be 
7316 incorrect if the range included illegal ports, but fields within the 
7317 operation region did not actually access those ports. Validation is now 
7318 performed on a per-field basis instead of the entire region.
7320 Modified the handling of the PM1 Status Register ignored bit (bit 11.) 
7321 Ignored bits must be "preserved" according to the ACPI spec. Usually, 
7322 this 
7323 means a read/modify/write when writing to the register. However, for 
7324 status 
7325 registers, writing a one means clear the event. Writing a zero means 
7326 preserve 
7327 the event (do not clear.) This behavior is clarified in the ACPI 4.0 
7328 spec, 
7329 and the ACPICA code now simply always writes a zero to the ignored bit.
7331 Modified the handling of ignored bits for the PM1 A/B Control Registers. 
7332 As 
7333 per the ACPI specification, for the control registers, preserve 
7334 (read/modify/write) all bits that are defined as either reserved or 
7335 ignored.
7337 Updated the handling of write-only bits in the PM1 A/B Control Registers. 
7338 When reading the register, zero the write-only bits as per the ACPI spec. 
7339 ACPICA BZ 443. Lin Ming.
7341 Removed "Linux" from the list of supported _OSI strings. Linux no longer 
7342 wants to reply true to this request. The Windows strings are the only 
7343 paths 
7344 through the AML that are tested and known to work properly.
7346   Previous Release:
7347     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7348     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7349   Current Release:
7350     Non-Debug Version:  82.6K Code, 17.6K Data, 100.2K Total
7351     Debug Version:     157.7K Code, 49.9K Data, 207.6K Total
7353 2) iASL Compiler/Disassembler and Tools:
7355 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c 
7356 and 
7357 aetables.c
7359 ----------------------------------------
7360 20 February 2009. Summary of changes for version 20090220:
7362 1) ACPI CA Core Subsystem:
7364 Optimized the ACPI register locking. Removed locking for reads from the 
7365 ACPI 
7366 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock 
7367 is 
7368 not required when reading the single-bit registers. The 
7369 AcpiGetRegisterUnlocked function is no longer needed and has been 
7370 removed. 
7371 This will improve performance for reads on these registers. ACPICA BZ 
7372 760.
7374 Fixed the parameter validation for AcpiRead/Write. Now return 
7375 AE_BAD_PARAMETER if the input register pointer is null, and 
7376 AE_BAD_ADDRESS 
7377 if 
7378 the register has an address of zero. Previously, these cases simply 
7379 returned 
7380 AE_OK. For optional registers such as PM1B status/enable/control, the 
7381 caller 
7382 should check for a valid register address before calling. ACPICA BZ 748.
7384 Renamed the external ACPI bit register access functions. Renamed 
7385 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these 
7386 functions. The new names are AcpiReadBitRegister and 
7387 AcpiWriteBitRegister. 
7388 Also, restructured the code for these functions by simplifying the code 
7389 path 
7390 and condensing duplicate code to reduce code size.
7392 Added new functions to transparently handle the possibly split PM1 A/B 
7393 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two 
7394 functions 
7395 now handle the split registers for PM1 Status, Enable, and Control. 
7396 ACPICA 
7397 BZ 
7398 746.
7400 Added a function to handle the PM1 control registers, 
7401 AcpiHwWritePm1Control. 
7402 This function writes both of the PM1 control registers (A/B). These 
7403 registers 
7404 are different than the PM1 A/B status and enable registers in that 
7405 different 
7406 values can be written to the A/B registers. Most notably, the SLP_TYP 
7407 bits 
7408 can be different, as per the values returned from the _Sx predefined 
7409 methods.
7411 Removed an extra register write within AcpiHwClearAcpiStatus. This 
7412 function 
7413 was writing an optional PM1B status register twice. The existing call to 
7414 the 
7415 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1 
7416 A/B 
7417 register. ACPICA BZ 751.
7419 Split out the PM1 Status registers from the FADT. Added new globals for 
7420 these 
7421 registers (A/B), similar to the way the PM1 Enable registers are handled. 
7422 Instead of overloading the FADT Event Register blocks. This makes the 
7423 code 
7424 clearer and less prone to error.
7426 Fixed the warning message for when the platform contains too many ACPI 
7427 tables 
7428 for the default size of the global root table data structure. The 
7429 calculation 
7430 for the truncation value was incorrect.
7432 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this 
7433 obsolete macro, since it is now a simple reference to ->common.type. 
7434 There 
7435 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7437 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as 
7438 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to 
7439 simply SLEEP_TYPE. ACPICA BZ 754.
7441 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This 
7442 function is only needed on 64-bit host operating systems and is thus not 
7443 included for 32-bit hosts.
7445 Debug output: print the input and result for invocations of the _OSI 
7446 reserved 
7447 control method via the ACPI_LV_INFO debug level. Also, reduced some of 
7448 the 
7449 verbosity of this debug level. Len Brown.
7451 Example Code and Data Size: These are the sizes for the OS-independent 
7452 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7453 debug version of the code includes the debug output trace mechanism and 
7454 has a 
7455 much larger code and data size.
7457   Previous Release:
7458     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7459     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7460   Current Release:
7461     Non-Debug Version:  82.0K Code, 17.5K Data,  99.5K Total
7462     Debug Version:     156.9K Code, 49.8K Data, 206.7K Total
7464 2) iASL Compiler/Disassembler and Tools:
7466 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the 
7467 various legal performance profiles.
7469 ----------------------------------------
7470 23 January 2009. Summary of changes for version 20090123:
7472 1) ACPI CA Core Subsystem:
7474 Added the 2009 copyright to all module headers and signons. This affects 
7475 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
7476 the tools/utilities.
7478 Implemented a change to allow the host to override any ACPI table, 
7479 including 
7480 dynamically loaded tables. Previously, only the DSDT could be replaced by 
7481 the 
7482 host. With this change, the AcpiOsTableOverride interface is called for 
7483 each 
7484 table found in the RSDT/XSDT during ACPICA initialization, and also 
7485 whenever 
7486 a table is dynamically loaded via the AML Load operator.
7488 Updated FADT flag definitions, especially the Boot Architecture flags.
7490 Debugger: For the Find command, automatically pad the input ACPI name 
7491 with 
7492 underscores if the name is shorter than 4 characters. This enables a 
7493 match 
7494 with the actual namespace entry which is itself padded with underscores.
7496 Example Code and Data Size: These are the sizes for the OS-independent 
7497 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7498 debug version of the code includes the debug output trace mechanism and 
7499 has a 
7500 much larger code and data size.
7502   Previous Release:
7503     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7504     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7505   Current Release:
7506     Non-Debug Version:  82.3K Code, 17.5K Data,  99.8K Total
7507     Debug Version:     157.3K Code, 49.8K Data, 207.1K Total
7509 2) iASL Compiler/Disassembler and Tools:
7511 Fix build error under Bison-2.4.
7513 Dissasembler: Enhanced FADT support. Added decoding of the Boot 
7514 Architecture 
7515 flags. Now decode all flags, regardless of the FADT version. Flag output 
7516 includes the FADT version which first defined each flag.
7518 The iASL -g option now dumps the RSDT to a file (in addition to the FADT 
7519 and 
7520 DSDT). Windows only.
7522 ----------------------------------------
7523 04 December 2008. Summary of changes for version 20081204:
7525 1) ACPI CA Core Subsystem:
7527 The ACPICA Programmer Reference has been completely updated and revamped 
7528 for 
7529 this release. This includes updates to the external interfaces, OSL 
7530 interfaces, the overview sections, and the debugger reference.
7532 Several new ACPICA interfaces have been implemented and documented in the 
7533 programmer reference:
7534 AcpiReset - Writes the reset value to the FADT-defined reset register.
7535 AcpiDisableAllGpes - Disable all available GPEs.
7536 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7537 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7538 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7539 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7540 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7542 Most of the public ACPI hardware-related interfaces have been moved to a 
7543 new 
7544 file, components/hardware/hwxface.c
7546 Enhanced the FADT parsing and low-level ACPI register access: The ACPI 
7547 register lengths within the FADT are now used, and the low level ACPI 
7548 register access no longer hardcodes the ACPI register lengths. Given that 
7549 there may be some risk in actually trusting the FADT register lengths, a 
7550 run-
7551 time option was added to fall back to the default hardcoded lengths if 
7552 the 
7553 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This 
7554 option is set to true for now, and a warning is issued if a suspicious 
7555 FADT 
7556 register length is overridden with the default value.
7558 Fixed a reference count issue in NsRepairObject. This problem was 
7559 introduced 
7560 in version 20081031 as part of a fix to repair Buffer objects within 
7561 Packages. Lin Ming.
7563 Added semaphore support to the Linux/Unix application OS-services layer 
7564 (OSL). ACPICA BZ 448. Lin Ming.
7566 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes 
7567 will 
7568 be implemented in the OSL, or will binary semaphores be used instead.
7570 Example Code and Data Size: These are the sizes for the OS-independent 
7571 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7572 debug version of the code includes the debug output trace mechanism and 
7573 has a 
7574 much larger code and data size.
7576   Previous Release:
7577     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7578     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7579   Current Release:
7580     Non-Debug Version:  82.3K Code, 17.4K Data,  99.7K Total
7581     Debug Version:     157.1K Code, 49.7K Data, 206.8K Total
7583 2) iASL Compiler/Disassembler and Tools:
7585 iASL: Completed the '-e' option to include additional ACPI tables in 
7586 order 
7587 to 
7588 aid with disassembly and External statement generation. ACPICA BZ 742. 
7589 Lin 
7590 Ming.
7592 iASL: Removed the "named object in while loop" error. The compiler cannot 
7593 determine how many times a loop will execute. ACPICA BZ 730.
7595 Disassembler: Implemented support for FADT revision 2 (MS extension). 
7596 ACPICA 
7597 BZ 743.
7599 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and 
7600 MCFG).
7602 ----------------------------------------
7603 31 October 2008. Summary of changes for version 20081031:
7605 1) ACPI CA Core Subsystem:
7607 Restructured the ACPICA header files into public/private. acpi.h now 
7608 includes 
7609 only the "public" acpica headers. All other acpica headers are "private" 
7610 and 
7611 should not be included by acpica users. One new file, accommon.h is used 
7612 to 
7613 include the commonly used private headers for acpica code generation. 
7614 Future 
7615 plans include moving all private headers to a new subdirectory.
7617 Implemented an automatic Buffer->String return value conversion for 
7618 predefined ACPI methods. For these methods (such as _BIF), added 
7619 automatic 
7620 conversion for return objects that are required to be a String, but a 
7621 Buffer 
7622 was found instead. This can happen when reading string battery data from 
7623 an 
7624 operation region, because it used to be difficult to convert the data 
7625 from 
7626 buffer to string from within the ASL. Ensures that the host OS is 
7627 provided 
7628 with a valid null-terminated string. Linux BZ 11822.
7630 Updated the FACS waking vector interfaces. Split 
7631 AcpiSetFirmwareWakingVector 
7632 into two: one for the 32-bit vector, another for the 64-bit vector. This 
7633 is 
7634 required because the host OS must setup the wake much differently for 
7635 each 
7636 vector (real vs. protected mode, etc.) and the interface itself should 
7637 not 
7638 be 
7639 deciding which vector to use. Also, eliminated the 
7640 GetFirmwareWakingVector 
7641 interface, as it served no purpose (only the firmware reads the vector, 
7642 OS 
7643 only writes the vector.) ACPICA BZ 731.
7645 Implemented a mechanism to escape infinite AML While() loops. Added a 
7646 loop 
7647 counter to force exit from AML While loops if the count becomes too 
7648 large. 
7649 This can occur in poorly written AML when the hardware does not respond 
7650 within a while loop and the loop does not implement a timeout. The 
7651 maximum 
7652 loop count is configurable. A new exception code is returned when a loop 
7653 is 
7654 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7656 Optimized the execution of AML While loops. Previously, a control state 
7657 object was allocated and freed for each execution of the loop. The 
7658 optimization is to simply reuse the control state for each iteration. 
7659 This 
7660 speeds up the raw loop execution time by about 5%.
7662 Enhanced the implicit return mechanism. For Windows compatibility, return 
7663 an 
7664 implicit integer of value zero for methods that contain no executable 
7665 code. 
7666 Such methods are seen in the field as stubs (presumably), and can cause 
7667 drivers to fail if they expect a return value. Lin Ming.
7669 Allow multiple backslashes as root prefixes in namepaths. In a fully 
7670 qualified namepath, allow multiple backslash prefixes. This can happen 
7671 (and 
7672 is seen in the field) because of the use of a double-backslash in strings 
7673 (since backslash is the escape character) causing confusion. ACPICA BZ 
7674 739 
7675 Lin Ming.
7677 Emit a warning if two different FACS or DSDT tables are discovered in the 
7678 FADT. Checks if there are two valid but different addresses for the FACS 
7679 and 
7680 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7682 Consolidated the method argument count validation code. Merged the code 
7683 that 
7684 validates control method argument counts into the predefined validation 
7685 module. Eliminates possible multiple warnings for incorrect argument 
7686 counts.
7688 Implemented ACPICA example code. Includes code for ACPICA initialization, 
7689 handler installation, and calling a control method. Available at 
7690 source/tools/examples.
7692 Added a global pointer for FACS table to simplify internal FACS access. 
7693 Use 
7694 the global pointer instead of using AcpiGetTableByIndex for each FACS 
7695 access. 
7696 This simplifies the code for the Global Lock and the Firmware Waking 
7697 Vector(s).
7699 Example Code and Data Size: These are the sizes for the OS-independent 
7700 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7701 debug version of the code includes the debug output trace mechanism and 
7702 has a 
7703 much larger code and data size.
7705   Previous Release:
7706     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7707     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7708   Current Release:
7709     Non-Debug Version:  81.7K Code, 17.3K Data,  99.0K Total
7710     Debug Version:     156.4K Code, 49.4K Data, 205.8K Total
7712 2) iASL Compiler/Disassembler and Tools:
7714 iASL: Improved disassembly of external method calls. Added the -e option 
7715 to 
7716 allow the inclusion of additional ACPI tables to help with the 
7717 disassembly 
7718 of 
7719 method invocations and the generation of external declarations during the 
7720 disassembly. Certain external method invocations cannot be disassembled 
7721 properly without the actual declaration of the method. Use the -e option 
7722 to 
7723 include the table where the external method(s) are actually declared. 
7724 Most 
7725 useful for disassembling SSDTs that make method calls back to the master 
7726 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT:  iasl 
7727 -d 
7728 -e dsdt.aml ssdt1.aml
7730 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a 
7731 problem where the use of an alias within a namepath would result in a not 
7732 found error or cause the compiler to fault. Also now allows forward 
7733 references from the Alias operator itself. ACPICA BZ 738.
7735 ----------------------------------------
7736 26 September 2008. Summary of changes for version 20080926:
7738 1) ACPI CA Core Subsystem:
7740 Designed and implemented a mechanism to validate predefined ACPI methods 
7741 and 
7742 objects. This code validates the predefined ACPI objects (objects whose 
7743 names 
7744 start with underscore) that appear in the namespace, at the time they are 
7745 evaluated. The argument count and the type of the returned object are 
7746 validated against the ACPI specification. The purpose of this validation 
7747 is 
7748 to detect problems with the BIOS-implemented predefined ACPI objects 
7749 before 
7750 the results are returned to the ACPI-related drivers. Future enhancements 
7751 may 
7752 include actual repair of incorrect return objects where possible. Two new 
7753 files are nspredef.c and acpredef.h.
7755 Fixed a fault in the AML parser if a memory allocation fails during the 
7756 Op 
7757 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7759 Fixed an issue with implicit return compatibility. This change improves 
7760 the 
7761 implicit return mechanism to be more compatible with the MS interpreter. 
7762 Lin 
7763 Ming, ACPICA BZ 349.
7765 Implemented support for zero-length buffer-to-string conversions. Allow 
7766 zero 
7767 length strings during interpreter buffer-to-string conversions. For 
7768 example, 
7769 during the ToDecimalString and ToHexString operators, as well as implicit 
7770 conversions. Fiodor Suietov, ACPICA BZ 585.
7772 Fixed two possible memory leaks in the error exit paths of 
7773 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions 
7774 are 
7775 similar in that they use a stack of state objects in order to eliminate 
7776 recursion. The stack must be fully unwound and deallocated if an error 
7777 occurs. Lin Ming. ACPICA BZ 383.
7779 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the 
7780 global 
7781 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob 
7782 Moore ACPICA BZ 442.
7784 Removed the obsolete version number in module headers. Removed the 
7785 "$Revision" number that appeared in each module header. This version 
7786 number 
7787 was useful under SourceSafe and CVS, but has no meaning under git. It is 
7788 not 
7789 only incorrect, it could also be misleading.
7791 Example Code and Data Size: These are the sizes for the OS-independent 
7792 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7793 debug version of the code includes the debug output trace mechanism and 
7794 has a 
7795 much larger code and data size.
7797   Previous Release:
7798     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7799     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7800   Current Release:
7801     Non-Debug Version:  81.2K Code, 17.0K Data,  98.2K Total
7802     Debug Version:     155.8K Code, 49.1K Data, 204.9K Total
7804 ----------------------------------------
7805 29 August 2008. Summary of changes for version 20080829:
7807 1) ACPI CA Core Subsystem:
7809 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type 
7810 Reference. Changes include the elimination of cheating on the Object 
7811 field 
7812 for the DdbHandle subtype, addition of a reference class field to 
7813 differentiate the various reference types (instead of an AML opcode), and 
7814 the 
7815 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7817 Reduce an error to a warning for an incorrect method argument count. 
7818 Previously aborted with an error if too few arguments were passed to a 
7819 control method via the external ACPICA interface. Now issue a warning 
7820 instead 
7821 and continue. Handles the case where the method inadvertently declares 
7822 too 
7823 many arguments, but does not actually use the extra ones. Applies mainly 
7824 to 
7825 the predefined methods. Lin Ming. Linux BZ 11032.
7827 Disallow the evaluation of named object types with no intrinsic value. 
7828 Return 
7829 AE_TYPE for objects that have no value and therefore evaluation is 
7830 undefined: 
7831 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation 
7832 of 
7833 these types were allowed, but an exception would be generated at some 
7834 point 
7835 during the evaluation. Now, the error is generated up front.
7837 Fixed a possible memory leak in the AcpiNsGetExternalPathname function 
7838 (nsnames.c). Fixes a leak in the error exit path.
7840 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These 
7841 debug 
7842 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and 
7843 ACPI_EXCEPTION 
7844 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing 
7845 ACPI_LV_EVENTS.
7847 Removed obsolete and/or unused exception codes from the acexcep.h header. 
7848 There is the possibility that certain device drivers may be affected if 
7849 they 
7850 use any of these exceptions.
7852 The ACPICA documentation has been added to the public git source tree, 
7853 under 
7854 acpica/documents. Included are the ACPICA programmer reference, the iASL 
7855 compiler reference, and the changes.txt release logfile.
7857 Example Code and Data Size: These are the sizes for the OS-independent 
7858 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7859 debug version of the code includes the debug output trace mechanism and 
7860 has a 
7861 much larger code and data size.
7863   Previous Release:
7864     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7865     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7866   Current Release:
7867     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7868     Debug Version:     153.7K Code, 48.2K Data, 201.9K Total
7870 2) iASL Compiler/Disassembler and Tools:
7872 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0 
7873 defines _SCP with 3 arguments. Previous versions defined it with only 1 
7874 argument. iASL now allows both definitions.
7876 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for 
7877 zero-
7878 length subtables when disassembling ACPI tables. Also fixed a couple of 
7879 errors where a full 16-bit table type field was not extracted from the 
7880 input 
7881 properly.
7883 acpisrc: Improve comment counting mechanism for generating source code 
7884 statistics. Count first and last lines of multi-line comments as 
7885 whitespace, 
7886 not comment lines. Handle Linux legal header in addition to standard 
7887 acpica 
7888 header.
7890 ----------------------------------------
7892 29 July 2008. Summary of changes for version 20080729:
7894 1) ACPI CA Core Subsystem:
7896 Fix a possible deadlock in the GPE dispatch. Remove call to 
7897 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will 
7898 attempt 
7899 to acquire the GPE lock but can deadlock since the GPE lock is already 
7900 held 
7901 at dispatch time. This code was introduced in version 20060831 as a 
7902 response 
7903 to Linux BZ 6881 and has since been removed from Linux.
7905 Add a function to dereference returned reference objects. Examines the 
7906 return 
7907 object from a call to AcpiEvaluateObject. Any Index or RefOf references 
7908 are 
7909 automatically dereferenced in an attempt to return something useful 
7910 (these 
7911 reference types cannot be converted into an external ACPI_OBJECT.) 
7912 Provides 
7913 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
7915 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new 
7916 subtables for the MADT and one new subtable for the SRAT. Includes 
7917 disassembler and AcpiSrc support. Data from the Intel 64 Architecture 
7918 x2APIC 
7919 Specification, June 2008.
7921 Additional error checking for pathname utilities. Add error check after 
7922 all 
7923 calls to AcpiNsGetPathnameLength. Add status return from 
7924 AcpiNsBuildExternalPath and check after all calls. Add parameter 
7925 validation 
7926 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
7928 Return status from the global init function AcpiUtGlobalInitialize. This 
7929 is 
7930 used by both the kernel subsystem and the utilities such as iASL 
7931 compiler. 
7932 The function could possibly fail when the caches are initialized. Yang 
7935 Add a function to decode reference object types to strings. Created for 
7936 improved error messages. 
7938 Improve object conversion error messages. Better error messages during 
7939 object 
7940 conversion from internal to the external ACPI_OBJECT. Used for external 
7941 calls 
7942 to AcpiEvaluateObject.
7944 Example Code and Data Size: These are the sizes for the OS-independent 
7945 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
7946 debug version of the code includes the debug output trace mechanism and 
7947 has a 
7948 much larger code and data size.
7950   Previous Release:
7951     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
7952     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
7953   Current Release:
7954     Non-Debug Version:  79.7K Code, 16.4K Data,  96.1K Total
7955     Debug Version:     153.9K Code, 48.4K Data, 202.3K Total
7957 2) iASL Compiler/Disassembler and Tools:
7959 Debugger: fix a possible hang when evaluating non-methods. Fixes a 
7960 problem 
7961 introduced in version 20080701. If the object being evaluated (via 
7962 execute 
7963 command) is not a method, the debugger can hang while trying to obtain 
7964 non-
7965 existent parameters.
7967 iASL: relax error for using reserved "_T_x" identifiers. These names can 
7968 appear in a disassembled ASL file if they were emitted by the original 
7969 compiler. Instead of issuing an error or warning and forcing the user to 
7970 manually change these names, issue a remark instead.
7972 iASL: error if named object created in while loop. Emit an error if any 
7973 named 
7974 object is created within a While loop. If allowed, this code will 
7975 generate 
7977 run-time error on the second iteration of the loop when an attempt is 
7978 made 
7979 to 
7980 create the same named object twice. ACPICA bugzilla 730.
7982 iASL: Support absolute pathnames for include files. Add support for 
7983 absolute 
7984 pathnames within the Include operator. previously, only relative 
7985 pathnames 
7986 were supported.
7988 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource 
7989 Descriptor. 
7990 The ACPI spec requires one interrupt minimum. BZ 423
7992 iASL: Handle a missing ResourceSource arg, with a present SourceIndex. 
7993 Handles the case for the Interrupt Resource Descriptor where
7994 the ResourceSource argument is omitted but ResourceSourceIndex
7995 is present. Now leave room for the Index. BZ 426
7997 iASL: Prevent error message if CondRefOf target does not exist. Fixes 
7998 cases 
7999 where an error message is emitted if the target does not exist. BZ 516
8001 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option 
8002 (get ACPI tables on Windows). This was apparently broken in version 
8003 20070919.
8005 AcpiXtract: Handle EOF while extracting data. Correctly handle the case 
8006 where 
8007 the EOF happens immediately after the last table in the input file. Print 
8008 completion message. Previously, no message was displayed in this case.
8010 ----------------------------------------
8011 01 July 2008. Summary of changes for version 20080701:
8013 0) Git source tree / acpica.org
8015 Fixed a problem where a git-clone from http would not transfer the entire 
8016 source tree.
8018 1) ACPI CA Core Subsystem:
8020 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one 
8021 enable bit. Now performs a read-change-write of the enable register 
8022 instead 
8023 of simply writing out the cached enable mask. This will prevent 
8024 inadvertent 
8025 enabling of GPEs if a rogue GPE is received during initialization (before 
8026 GPE 
8027 handlers are installed.)
8029 Implemented a copy for dynamically loaded tables. Previously, dynamically 
8030 loaded tables were simply mapped - but on some machines this memory is 
8031 corrupted after suspend. Now copy the table to a local buffer. For the 
8032 OpRegion case, added checksum verify. Use the table length from the table 
8033 header, not the region length. For the Buffer case, use the table length 
8034 also. Dennis Noordsij, Bob Moore. BZ 10734
8036 Fixed a problem where the same ACPI table could not be dynamically loaded 
8037 and 
8038 unloaded more than once. Without this change, a table cannot be loaded 
8039 again 
8040 once it has been loaded/unloaded one time. The current mechanism does not 
8041 unregister a table upon an unload. During a load, if the same table is 
8042 found, 
8043 this no longer returns an exception. BZ 722
8045 Fixed a problem where the wrong descriptor length was calculated for the 
8046 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as 
8047 EndTag 
8048 are calculated as 12 bytes long, but the actual length in the internal 
8049 descriptor is 16 because of the round-up to 8 on the 64-bit build. 
8050 Reported 
8051 by Linn Crosetto. BZ 728
8053 Fixed a possible memory leak in the Unload operator. The DdbHandle 
8054 returned 
8055 by Load() did not have its reference count decremented during unload, 
8056 leading 
8057 to a memory leak. Lin Ming. BZ 727
8059 Fixed a possible memory leak when deleting thermal/processor objects. Any 
8060 associated notify handlers (and objects) were not being deleted. Fiodor 
8061 Suietov. BZ 506
8063 Fixed the ordering of the ASCII names in the global mutex table to match 
8064 the 
8065 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug 
8066 only. 
8067 Vegard Nossum. BZ 726
8069 Enhanced the AcpiGetObjectInfo interface to return the number of required 
8070 arguments if the object is a control method. Added this call to the 
8071 debugger 
8072 so the proper number of default arguments are passed to a method. This 
8073 prevents a warning when executing methods from AcpiExec.
8075 Added a check for an invalid handle in AcpiGetObjectInfo. Return 
8076 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8078 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8080 Example Code and Data Size: These are the sizes for the OS-independent 
8081 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8082 debug version of the code includes the debug output trace mechanism and 
8083 has a 
8084 much larger code and data size.
8086   Previous Release:
8087     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8088     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8089   Current Release:
8090     Non-Debug Version:  79.6K Code, 16.2K Data,  95.8K Total
8091     Debug Version:     153.5K Code, 48.2K Data, 201.7K Total
8093 2) iASL Compiler/Disassembler and Tools:
8095 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both 
8096 resource descriptor names.
8098 iASL: Detect invalid ASCII characters in input (windows version). Removed 
8099 the 
8100 "-CF" flag from the flex compile, enables correct detection of non-ASCII 
8101 characters in the input. BZ 441
8103 iASL: Eliminate warning when result of LoadTable is not used. Eliminate 
8104 the 
8105 "result of operation not used" warning when the DDB handle returned from 
8106 LoadTable is not used. The warning is not needed. BZ 590
8108 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG 
8109 method 
8110 to 
8111 pass address of table to the AML. Added option to disable OpRegion 
8112 simulation 
8113 to allow creation of an OpRegion with a real address that was passed to 
8114 _CFG. 
8115 All of this allows testing of the Load and Unload operators from 
8116 AcpiExec.
8118 Debugger: update tables command for unloaded tables. Handle unloaded 
8119 tables 
8120 and use the standard table header output routine.
8122 ----------------------------------------
8123 09 June 2008. Summary of changes for version 20080609:
8125 1) ACPI CA Core Subsystem:
8127 Implemented a workaround for reversed _PRT entries. A significant number 
8128 of 
8129 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This 
8130 change dynamically detects and repairs this problem. Provides 
8131 compatibility 
8132 with MS ACPI. BZ 6859
8134 Simplified the internal ACPI hardware interfaces to eliminate the locking 
8135 flag parameter from Register Read/Write. Added a new external interface, 
8136 AcpiGetRegisterUnlocked.
8138 Fixed a problem where the invocation of a GPE control method could hang. 
8139 This 
8140 was a regression introduced in 20080514. The new method argument count 
8141 validation mechanism can enter an infinite loop when a GPE method is 
8142 dispatched. Problem fixed by removing the obsolete code that passed GPE 
8143 block 
8144 information to the notify handler via the control method parameter 
8145 pointer.
8147 Fixed a problem where the _SST execution status was incorrectly returned 
8148 to 
8149 the caller of AcpiEnterSleepStatePrep. This was a regression introduced 
8150 in 
8151 20080514. _SST is optional and a NOT_FOUND exception should never be 
8152 returned. BZ 716
8154 Fixed a problem where a deleted object could be accessed from within the 
8155 AML 
8156 parser. This was a regression introduced in version 20080123 as a fix for 
8157 the 
8158 Unload operator. Lin Ming. BZ 10669
8160 Cleaned up the debug operand dump mechanism. Eliminated unnecessary 
8161 operands 
8162 and eliminated the use of a negative index in a loop. Operands are now 
8163 displayed in the correct order, not backwards. This also fixes a 
8164 regression 
8165 introduced in 20080514 on 64-bit systems where the elimination of 
8166 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ 
8169 Fixed a possible memory leak in EvPciConfigRegionSetup where the error 
8170 exit 
8171 path did not delete a locally allocated structure.
8173 Updated definitions for the DMAR and SRAT tables to synchronize with the 
8174 current specifications. Includes disassembler support.
8176 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect 
8177 loop termination value was used. Loop terminated on iteration early, 
8178 missing 
8179 one mutex. Linn Crosetto
8181 Example Code and Data Size: These are the sizes for the OS-independent 
8182 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8183 debug version of the code includes the debug output trace mechanism and 
8184 has a 
8185 much larger code and data size.
8187   Previous Release:
8188     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8189     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8190   Current Release:
8191     Non-Debug Version:  79.3K Code, 16.2K Data,  95.5K Total
8192     Debug Version:     153.0K Code, 48.2K Data, 201.2K Total
8194 2) iASL Compiler/Disassembler and Tools:
8196 Disassembler: Implemented support for EisaId() within _CID objects. Now 
8197 disassemble integer _CID objects back to EisaId invocations, including 
8198 multiple integers within _CID packages. Includes single-step support for 
8199 debugger also.
8201 Disassembler: Added support for DMAR and SRAT table definition changes.
8203 ----------------------------------------
8204 14 May 2008. Summary of changes for version 20080514:
8206 1) ACPI CA Core Subsystem:
8208 Fixed a problem where GPEs were enabled too early during the ACPICA 
8209 initialization. This could lead to "handler not installed" errors on some 
8210 machines. Moved GPE enable until after _REG/_STA/_INI methods are run. 
8211 This 
8212 ensures that all operation regions and devices throughout the namespace 
8213 have 
8214 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8216 Implemented a change to the enter sleep code. Moved execution of the _GTS 
8217 method to just before setting sleep enable bit. The execution was moved 
8218 from 
8219 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed 
8220 immediately before the SLP_EN bit is set, as per the ACPI specification. 
8221 Luming Yu, BZ 1653.
8223 Implemented a fix to disable unknown GPEs (2nd version). Now always 
8224 disable 
8225 the GPE, even if ACPICA thinks that that it is already disabled. It is 
8226 possible that the AML or some other code has enabled the GPE unbeknownst 
8227 to 
8228 the ACPICA code.
8230 Fixed a problem with the Field operator where zero-length fields would 
8231 return 
8232 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length 
8233 ASL 
8234 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8236 Implemented a fix for the Load operator, now load the table at the 
8237 namespace 
8238 root. This reverts a change introduced in version 20071019. The table is 
8239 now 
8240 loaded at the namespace root even though this goes against the ACPI 
8241 specification. This provides compatibility with other ACPI 
8242 implementations. 
8243 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin 
8244 Ming.
8246 Fixed a problem where ACPICA would not Load() tables with unusual 
8247 signatures. 
8248 Now ignore ACPI table signature for Load() operator. Only "SSDT" is 
8249 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs. 
8250 Therefore, signature validation is worthless. Apparently MS ACPI accepts 
8251 such 
8252 signatures, ACPICA must be compatible. BZ 10454.
8254 Fixed a possible negative array index in AcpiUtValidateException. Added 
8255 NULL 
8256 fields to the exception string arrays to eliminate a -1 subtraction on 
8257 the 
8258 SubStatus field.
8260 Updated the debug tracking macros to reduce overall code and data size. 
8261 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings 
8262 instead of pointers to static strings. Jan Beulich and Bob Moore.
8264 Implemented argument count checking in control method invocation via 
8265 AcpiEvaluateObject. Now emit an error if too few arguments, warning if 
8266 too 
8267 many. This applies only to extern programmatic control method execution, 
8268 not 
8269 method-to-method calls within the AML. Lin Ming.
8271 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is 
8272 no 
8273 longer needed, especially with the removal of 16-bit support. It was 
8274 replaced 
8275 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 
8276 bit 
8277 on 
8278 32/64-bit platforms is required.
8280 Added the C const qualifier for appropriate string constants -- mostly 
8281 MODULE_NAME and printf format strings. Jan Beulich.
8283 Example Code and Data Size: These are the sizes for the OS-independent 
8284 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8285 debug version of the code includes the debug output trace mechanism and 
8286 has a 
8287 much larger code and data size.
8289   Previous Release:
8290     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8291     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8292   Current Release:
8293     Non-Debug Version:  79.5K Code, 16.2K Data,  95.7K Total
8294     Debug Version:     153.3K Code, 48.3K Data, 201.6K Total
8296 2) iASL Compiler/Disassembler and Tools:
8298 Implemented ACPI table revision ID validation in the disassembler. Zero 
8299 is 
8300 always invalid. For DSDTs, the ID controls the interpreter integer width. 
8302 means 32-bit and this is unusual. 2 or greater is 64-bit.
8304 ----------------------------------------
8305 21 March 2008. Summary of changes for version 20080321:
8307 1) ACPI CA Core Subsystem:
8309 Implemented an additional change to the GPE support in order to suppress 
8310 spurious or stray GPEs. The AcpiEvDisableGpe function will now 
8311 permanently 
8312 disable incoming GPEs that are neither enabled nor disabled -- meaning 
8313 that 
8314 the GPE is unknown to the system. This should prevent future interrupt 
8315 floods 
8316 from that GPE. BZ 6217 (Zhang Rui)
8318 Fixed a problem where NULL package elements were not returned to the 
8319 AcpiEvaluateObject interface correctly. The element was simply ignored 
8320 instead of returning a NULL ACPI_OBJECT package element, potentially 
8321 causing 
8322 a buffer overflow and/or confusing the caller who expected a fixed number 
8323 of 
8324 elements. BZ 10132 (Lin Ming, Bob Moore)
8326 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word, 
8327 Dword, 
8328 Qword), Field, BankField, and IndexField operators when invoked from 
8329 inside 
8330 an executing control method. In this case, these operators created 
8331 namespace 
8332 nodes that were incorrectly left marked as permanent nodes instead of 
8333 temporary nodes. This could cause a problem if there is race condition 
8334 between an exiting control method and a running namespace walk. (Reported 
8335 by 
8336 Linn Crosetto)
8338 Fixed a problem where the CreateField and CreateXXXField operators would 
8339 incorrectly allow duplicate names (the name of the field) with no 
8340 exception 
8341 generated.
8343 Implemented several changes for Notify handling. Added support for new 
8344 Notify 
8345 values (ACPI 2.0+) and improved the Notify debug output. Notify on 
8346 PowerResource objects is no longer allowed, as per the ACPI 
8347 specification. 
8348 (Bob Moore, Zhang Rui)
8350 All Reference Objects returned via the AcpiEvaluateObject interface are 
8351 now 
8352 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved 
8353 for 
8354 NULL objects - either NULL package elements or unresolved named 
8355 references.
8357 Fixed a problem where an extraneous debug message was produced for 
8358 package 
8359 objects (when debugging enabled). The message "Package List length larger 
8360 than NumElements count" is now produced in the correct case, and is now 
8361 an 
8362 error message rather than a debug message. Added a debug message for the 
8363 opposite case, where NumElements is larger than the Package List (the 
8364 package 
8365 will be padded out with NULL elements as per the ACPI spec.)
8367 Implemented several improvements for the output of the ASL "Debug" object 
8368 to 
8369 clarify and keep all data for a given object on one output line.
8371 Fixed two size calculation issues with the variable-length Start 
8372 Dependent 
8373 resource descriptor.
8375 Example Code and Data Size: These are the sizes for the OS-independent 
8376 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8377 debug version of the code includes the debug output trace mechanism and 
8378 has 
8379 a much larger code and data size.
8381   Previous Release:
8382     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8383     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8384   Current Release:
8385     Non-Debug Version:  80.0K Code, 17.4K Data,  97.4K Total
8386     Debug Version:     159.4K Code, 64.4K Data, 223.8K Total
8388 2) iASL Compiler/Disassembler and Tools:
8390 Fixed a problem with the use of the Switch operator where execution of 
8391 the 
8392 containing method by multiple concurrent threads could cause an 
8393 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no 
8394 actual Switch opcode, it must be simulated with local named temporary 
8395 variables and if/else pairs. The solution chosen was to mark any method 
8396 that 
8397 uses Switch as Serialized, thus preventing multiple thread entries. BZ 
8398 469.
8400 ----------------------------------------
8401 13 February 2008. Summary of changes for version 20080213:
8403 1) ACPI CA Core Subsystem:
8405 Implemented another MS compatibility design change for GPE/Notify 
8406 handling. 
8407 GPEs are now cleared/enabled asynchronously to allow all pending notifies 
8408 to 
8409 complete first. It is expected that the OSL will queue the enable request 
8410 behind all pending notify requests (may require changes to the local host 
8411 OSL 
8412 in AcpiOsExecute). Alexey Starikovskiy.
8414 Fixed a problem where buffer and package objects passed as arguments to a 
8415 control method via the external AcpiEvaluateObject interface could cause 
8416 an 
8417 AE_AML_INTERNAL exception depending on the order and type of operators 
8418 executed by the target control method.
8420 Fixed a problem where resource descriptor size optimization could cause a 
8421 problem when a _CRS resource template is passed to a _SRS method. The 
8422 _SRS 
8423 resource template must use the same descriptors (with the same size) as 
8424 returned from _CRS. This change affects the following resource 
8425 descriptors: 
8426 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ 
8427 9487)
8429 Fixed a problem where a CopyObject to RegionField, BankField, and 
8430 IndexField 
8431 objects did not perform an implicit conversion as it should. These types 
8432 must 
8433 retain their initial type permanently as per the ACPI specification. 
8434 However, 
8435 a CopyObject to all other object types should not perform an implicit 
8436 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8438 Fixed a problem with the AcpiGetDevices interface where the mechanism to 
8439 match device CIDs did not examine the entire list of available CIDs, but 
8440 instead aborted on the first non-matching CID. Andrew Patterson.
8442 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro 
8443 was 
8444 inadvertently changed to return a 16-bit value instead of a 32-bit value, 
8445 truncating the upper dword of a 64-bit value. This macro is only used to 
8446 display debug output, so no incorrect calculations were made. Also, 
8447 reimplemented the macro so that a 64-bit shift is not performed by 
8448 inefficient compilers.
8450 Added missing va_end statements that should correspond with each va_start 
8451 statement.
8453 Example Code and Data Size: These are the sizes for the OS-independent 
8454 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8455 debug version of the code includes the debug output trace mechanism and 
8456 has 
8457 a much larger code and data size.
8459   Previous Release:
8460     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8461     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8462   Current Release:
8463     Non-Debug Version:  79.7K Code, 17.3K Data,  97.0K Total
8464     Debug Version:     158.9K Code, 64.0K Data, 222.9K Total
8466 2) iASL Compiler/Disassembler and Tools:
8468 Implemented full disassembler support for the following new ACPI tables: 
8469 BERT, EINJ, and ERST. Implemented partial disassembler support for the 
8470 complicated HEST table. These tables support the Windows Hardware Error 
8471 Architecture (WHEA).
8473 ----------------------------------------
8474 23 January 2008. Summary of changes for version 20080123:
8476 1) ACPI CA Core Subsystem:
8478 Added the 2008 copyright to all module headers and signons. This affects 
8479 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8480 the tools/utilities.
8482 Fixed a problem with the SizeOf operator when used with Package and 
8483 Buffer 
8484 objects. These objects have deferred execution for some arguments, and 
8485 the 
8486 execution is now completed before the SizeOf is executed. This problem 
8487 caused 
8488 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore) 
8489 BZ 
8490 9558
8492 Implemented an enhancement to the interpreter "slack mode". In the 
8493 absence 
8494 of 
8495 an explicit return or an implicitly returned object from the last 
8496 executed 
8497 opcode, a control method will now implicitly return an integer of value 0 
8498 for 
8499 Microsoft compatibility. (Lin Ming) BZ 392
8501 Fixed a problem with the Load operator where an exception was not 
8502 returned 
8503 in 
8504 the case where the table is already loaded. (Lin Ming) BZ 463
8506 Implemented support for the use of DDBHandles as an Indexed Reference, as 
8507 per 
8508 the ACPI spec. (Lin Ming) BZ 486
8510 Implemented support for UserTerm (Method invocation) for the Unload 
8511 operator 
8512 as per the ACPI spec. (Lin Ming) BZ 580
8514 Fixed a problem with the LoadTable operator where the OemId and 
8515 OemTableId 
8516 input strings could cause unexpected failures if they were shorter than 
8517 the 
8518 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8520 Implemented support for UserTerm (Method invocation) for the Unload 
8521 operator 
8522 as per the ACPI spec. (Lin Ming) BZ 580
8524 Implemented header file support for new ACPI tables - BERT, ERST, EINJ, 
8525 HEST, 
8526 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8528 Example Code and Data Size: These are the sizes for the OS-independent 
8529 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8530 debug version of the code includes the debug output trace mechanism and 
8531 has 
8532 a much larger code and data size.
8534   Previous Release:
8535     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8536     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8537   Current Release:
8538     Non-Debug Version:  79.5K Code, 17.2K Data,  96.7K Total
8539     Debug Version:     159.0K Code, 63.8K Data, 222.8K Total
8541 2) iASL Compiler/Disassembler and Tools:
8543 Implemented support in the disassembler for checksum validation on 
8544 incoming 
8545 binary DSDTs and SSDTs. If incorrect, a message is displayed within the 
8546 table 
8547 header dump at the start of the disassembly.
8549 Implemented additional debugging information in the namespace listing 
8550 file 
8551 created during compilation. In addition to the namespace hierarchy, the 
8552 full 
8553 pathname to each namespace object is displayed.
8555 Fixed a problem with the disassembler where invalid ACPI tables could 
8556 cause 
8557 faults or infinite loops.
8559 Fixed an unexpected parse error when using the optional "parameter types" 
8560 list in a control method declaration. (Lin Ming) BZ 397
8562 Fixed a problem where two External declarations with the same name did 
8563 not 
8564 cause an error (Lin Ming) BZ 509
8566 Implemented support for full TermArgs (adding Argx, Localx and method 
8567 invocation) for the ParameterData parameter to the LoadTable operator. 
8568 (Lin 
8569 Ming) BZ 583,587
8571 ----------------------------------------
8572 19 December 2007. Summary of changes for version 20071219:
8574 1) ACPI CA Core Subsystem:
8576 Implemented full support for deferred execution for the TermArg string 
8577 arguments for DataTableRegion. This enables forward references and full 
8578 operand resolution for the three string arguments. Similar to 
8579 OperationRegion 
8580 deferred argument execution.) Lin Ming. BZ 430
8582 Implemented full argument resolution support for the BankValue argument 
8583 to 
8584 BankField. Previously, only constants were supported, now any TermArg may 
8585 be 
8586 used. Lin Ming BZ 387, 393
8588 Fixed a problem with AcpiGetDevices where the search of a branch of the 
8589 device tree could be terminated prematurely. In accordance with the ACPI 
8590 specification, the search down the current branch is terminated if a 
8591 device 
8592 is both not present and not functional (instead of just not present.) 
8593 Yakui 
8594 Zhao.
8596 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly 
8597 if 
8598 the underlying AML code changed the GPE enable registers. Now, any 
8599 unknown 
8600 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately 
8601 disabled 
8602 instead of simply ignored. Rui Zhang.
8604 Fixed a problem with Index Fields where the Index register was 
8605 incorrectly 
8606 limited to a maximum of 32 bits. Now any size may be used.
8608 Fixed a couple memory leaks associated with "implicit return" objects 
8609 when 
8610 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8612 Example Code and Data Size: These are the sizes for the OS-independent 
8613 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8614 debug version of the code includes the debug output trace mechanism and 
8615 has 
8616 a much larger code and data size.
8618   Previous Release:
8619     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8620     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8621   Current Release:
8622     Non-Debug Version:  79.3K Code, 17.2K Data,  96.5K Total
8623     Debug Version:     158.6K Code, 63.8K Data, 222.4K Total
8625 ----------------------------------------
8626 14 November 2007. Summary of changes for version 20071114:
8628 1) ACPI CA Core Subsystem:
8630 Implemented event counters for each of the Fixed Events, the ACPI SCI 
8631 (interrupt) itself, and control methods executed. Named 
8632 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively. 
8633 These 
8634 should be useful for debugging and statistics.
8636 Implemented a new external interface, AcpiGetStatistics, to retrieve the 
8637 contents of the various event counters. Returns the current values for 
8638 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and 
8639 AcpiMethodCount. The interface can be expanded in the future if new 
8640 counters 
8641 are added. Device drivers should use this interface rather than access 
8642 the 
8643 counters directly.
8645 Fixed a problem with the FromBCD and ToBCD operators. With some 
8646 compilers, 
8647 the ShortDivide function worked incorrectly, causing problems with the 
8648 BCD 
8649 functions with large input values. A truncation from 64-bit to 32-bit 
8650 inadvertently occurred. Internal BZ 435. Lin Ming
8652 Fixed a problem with Index references passed as method arguments. 
8653 References 
8654 passed as arguments to control methods were dereferenced immediately 
8655 (before 
8656 control was passed to the called method). The references are now 
8657 correctly 
8658 passed directly to the called method. BZ 5389. Lin Ming
8660 Fixed a problem with CopyObject used in conjunction with the Index 
8661 operator. 
8662 The reference was incorrectly dereferenced before the copy. The reference 
8663 is 
8664 now correctly copied. BZ 5391. Lin Ming
8666 Fixed a problem with Control Method references within Package objects. 
8667 These 
8668 references are now correctly generated. This completes the package 
8669 construction overhaul that began in version 20071019.
8671 Example Code and Data Size: These are the sizes for the OS-independent 
8672 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8673 debug version of the code includes the debug output trace mechanism and 
8674 has 
8675 a much larger code and data size.
8677   Previous Release:
8678     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8679     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8680   Current Release:
8681     Non-Debug Version:  79.0K Code, 17.2K Data,  96.2K Total
8682     Debug Version:     157.9K Code, 63.6K Data, 221.5K Total
8685 2) iASL Compiler/Disassembler and Tools:
8687 The AcpiExec utility now installs handlers for all of the predefined 
8688 Operation Region types. New types supported are: PCI_Config, CMOS, and 
8689 PCIBARTarget.
8691 Fixed a problem with the 64-bit version of AcpiExec where the extended 
8692 (64-
8693 bit) address fields for the DSDT and FACS within the FADT were not being 
8694 used, causing truncation of the upper 32-bits of these addresses. Lin 
8695 Ming 
8696 and Bob Moore
8698 ----------------------------------------
8699 19 October 2007. Summary of changes for version 20071019:
8701 1) ACPI CA Core Subsystem:
8703 Fixed a problem with the Alias operator when the target of the alias is a 
8704 named ASL operator that opens a new scope -- Scope, Device, 
8705 PowerResource, 
8706 Processor, and ThermalZone. In these cases, any children of the original 
8707 operator could not be accessed via the alias, potentially causing 
8708 unexpected 
8709 AE_NOT_FOUND exceptions. (BZ 9067)
8711 Fixed a problem with the Package operator where all named references were 
8712 created as object references and left otherwise unresolved. According to 
8713 the 
8714 ACPI specification, a Package can only contain Data Objects or references 
8715 to 
8716 control methods. The implication is that named references to Data Objects 
8717 (Integer, Buffer, String, Package, BufferField, Field) should be resolved 
8718 immediately upon package creation. This is the approach taken with this 
8719 change. References to all other named objects (Methods, Devices, Scopes, 
8720 etc.) are all now properly created as reference objects. (BZ 5328)
8722 Reverted a change to Notify handling that was introduced in version 
8723 20070508. This version changed the Notify handling from asynchronous to 
8724 fully synchronous (Device driver Notify handling with respect to the 
8725 Notify 
8726 ASL operator). It was found that this change caused more problems than it 
8727 solved and was removed by most users.
8729 Fixed a problem with the Increment and Decrement operators where the type 
8730 of 
8731 the target object could be unexpectedly and incorrectly changed. (BZ 353) 
8732 Lin Ming.
8734 Fixed a problem with the Load and LoadTable operators where the table 
8735 location within the namespace was ignored. Instead, the table was always 
8736 loaded into the root or current scope. Lin Ming.
8738 Fixed a problem with the Load operator when loading a table from a buffer 
8739 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8741 Fixed a problem with the Debug object where a store of a DdbHandle 
8742 reference 
8743 object to the Debug object could cause a fault.
8745 Added a table checksum verification for the Load operator, in the case 
8746 where 
8747 the load is from a buffer. (BZ 578).
8749 Implemented additional parameter validation for the LoadTable operator. 
8750 The 
8751 length of the input strings SignatureString, OemIdString, and OemTableId 
8752 are 
8753 now checked for maximum lengths. (BZ 582) Lin Ming.
8755 Example Code and Data Size: These are the sizes for the OS-independent 
8756 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8757 debug version of the code includes the debug output trace mechanism and 
8758 has 
8759 a much larger code and data size.
8761   Previous Release:
8762     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8763     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8764   Current Release:
8765     Non-Debug Version:  78.8K Code, 17.2K Data,  96.0K Total
8766     Debug Version:     157.2K Code, 63.4K Data, 220.6K Total
8769 2) iASL Compiler/Disassembler:
8771 Fixed a problem where if a single file was specified and the file did not 
8772 exist, no error message was emitted. (Introduced with wildcard support in 
8773 version 20070917.)
8775 ----------------------------------------
8776 19 September 2007. Summary of changes for version 20070919:
8778 1) ACPI CA Core Subsystem:
8780 Designed and implemented new external interfaces to install and remove 
8781 handlers for ACPI table-related events. Current events that are defined 
8782 are 
8783 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as 
8784 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and 
8785 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8787 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag 
8788 (acpi_serialized option on Linux) could cause some systems to hang during 
8789 initialization. (Bob Moore) BZ 8171
8791 Fixed a problem where objects of certain types (Device, ThermalZone, 
8792 Processor, PowerResource) can be not found if they are declared and 
8793 referenced from within the same control method (Lin Ming) BZ 341
8795 Example Code and Data Size: These are the sizes for the OS-independent 
8796 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8797 debug version of the code includes the debug output trace mechanism and 
8798 has 
8799 a much larger code and data size.
8801   Previous Release:
8802     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8803     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8804   Current Release:
8805     Non-Debug Version:  78.5K Code, 17.1K Data,  95.6K Total
8806     Debug Version:     156.7K Code, 63.2K Data, 219.9K Total
8809 2) iASL Compiler/Disassembler:
8811 Implemented support to allow multiple files to be compiled/disassembled 
8812 in 
8814 single invocation. This includes command line wildcard support for both 
8815 the 
8816 Windows and Unix versions of the compiler. This feature simplifies the 
8817 disassembly and compilation of multiple ACPI tables in a single 
8818 directory.
8820 ----------------------------------------
8821 08 May 2007. Summary of changes for version 20070508:
8823 1) ACPI CA Core Subsystem:
8825 Implemented a Microsoft compatibility design change for the handling of 
8826 the 
8827 Notify AML operator. Previously, notify handlers were dispatched and 
8828 executed completely asynchronously in a deferred thread. The new design 
8829 still executes the notify handlers in a different thread, but the 
8830 original 
8831 thread that executed the Notify() now waits at a synchronization point 
8832 for 
8833 the notify handler to complete. Some machines depend on a synchronous 
8834 Notify 
8835 operator in order to operate correctly.
8837 Implemented support to allow Package objects to be passed as method 
8838 arguments to the external AcpiEvaluateObject interface. Previously, this 
8839 would return the AE_NOT_IMPLEMENTED exception. This feature had not been 
8840 implemented since there were no reserved control methods that required it 
8841 until recently.
8843 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs 
8844 that 
8845 contained invalid non-zero values in reserved fields could cause later 
8846 failures because these fields have meaning in later revisions of the 
8847 FADT. 
8848 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The 
8849 fields 
8850 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8852 Fixed a problem where the Global Lock handle was not properly updated if 
8854 thread that acquired the Global Lock via executing AML code then 
8855 attempted 
8856 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by 
8857 Joe 
8858 Liu.
8860 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list 
8861 could be corrupted if the interrupt being removed was at the head of the 
8862 list. Reported by Linn Crosetto.
8864 Example Code and Data Size: These are the sizes for the OS-independent 
8865 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8866 debug version of the code includes the debug output trace mechanism and 
8867 has 
8868 a much larger code and data size.
8870   Previous Release:
8871     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8872     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8873   Current Release:
8874     Non-Debug Version:  78.3K Code, 17.0K Data,  95.3K Total
8875     Debug Version:     156.3K Code, 63.1K Data, 219.4K Total
8877 ----------------------------------------
8878 20 March 2007. Summary of changes for version 20070320:
8880 1) ACPI CA Core Subsystem:
8882 Implemented a change to the order of interpretation and evaluation of AML 
8883 operand objects within the AML interpreter. The interpreter now evaluates 
8884 operands in the order that they appear in the AML stream (and the 
8885 corresponding ASL code), instead of in the reverse order (after the 
8886 entire 
8887 operand list has been parsed). The previous behavior caused several 
8888 subtle 
8889 incompatibilities with the Microsoft AML interpreter as well as being 
8890 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8892 Implemented a change to the ACPI Global Lock support. All interfaces to 
8893 the 
8894 global lock now allow the same thread to acquire the lock multiple times. 
8895 This affects the AcpiAcquireGlobalLock external interface to the global 
8896 lock 
8897 as well as the internal use of the global lock to support AML fields -- a 
8898 control method that is holding the global lock can now simultaneously 
8899 access 
8900 AML fields that require global lock protection. Previously, in both 
8901 cases, 
8902 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change 
8903 to 
8904 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded 
8905 Controller. There is no change to the behavior of the AML Acquire 
8906 operator, 
8907 as this can already be used to acquire a mutex multiple times by the same 
8908 thread. BZ 8066. With assistance from Alexey Starikovskiy.
8910 Fixed a problem where invalid objects could be referenced in the AML 
8911 Interpreter after error conditions. During operand evaluation, ensure 
8912 that 
8913 the internal "Return Object" field is cleared on error and only valid 
8914 pointers are stored there. Caused occasional access to deleted objects 
8915 that 
8916 resulted in "large reference count" warning messages. Valery Podrezov.
8918 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur 
8919 on 
8920 deeply nested control method invocations. BZ 7873, local BZ 487. Valery 
8921 Podrezov.
8923 Fixed an internal problem with the handling of result objects on the 
8924 interpreter result stack. BZ 7872. Valery Podrezov.
8926 Removed obsolete code that handled the case where AML_NAME_OP is the 
8927 target 
8928 of a reference (Reference.Opcode). This code was no longer necessary. BZ 
8929 7874. Valery Podrezov.
8931 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This 
8932 was 
8934 remnant from the previously discontinued 16-bit support.
8936 Example Code and Data Size: These are the sizes for the OS-independent 
8937 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8938 debug version of the code includes the debug output trace mechanism and 
8939 has 
8940 a much larger code and data size.
8942   Previous Release:
8943     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8944     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8945   Current Release:
8946     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8947     Debug Version:     155.9K Code, 63.1K Data, 219.0K Total
8949 ----------------------------------------
8950 26 January 2007. Summary of changes for version 20070126:
8952 1) ACPI CA Core Subsystem:
8954 Added the 2007 copyright to all module headers and signons. This affects 
8955 virtually every file in the ACPICA core subsystem, the iASL compiler, and 
8956 the utilities.
8958 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable 
8959 during a table load. A bad pointer was passed in the case where the DSDT 
8960 is 
8961 overridden, causing a fault in this case.
8963 Example Code and Data Size: These are the sizes for the OS-independent 
8964 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
8965 debug version of the code includes the debug output trace mechanism and 
8966 has 
8967 a much larger code and data size.
8969   Previous Release:
8970     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8971     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8972   Current Release:
8973     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
8974     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
8976 ----------------------------------------
8977 15 December 2006. Summary of changes for version 20061215:
8979 1) ACPI CA Core Subsystem:
8981 Support for 16-bit ACPICA has been completely removed since it is no 
8982 longer 
8983 necessary and it clutters the code. All 16-bit macros, types, and 
8984 conditional compiles have been removed, cleaning up and simplifying the 
8985 code 
8986 across the entire subsystem. DOS support is no longer needed since the 
8987 bootable Linux firmware kit is now available.
8989 The handler for the Global Lock is now removed during AcpiTerminate to 
8990 enable a clean subsystem restart, via the implementation of the 
8991 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz, 
8994 Implemented enhancements to the multithreading support within the 
8995 debugger 
8996 to enable improved multithreading debugging and evaluation of the 
8997 subsystem. 
8998 (Valery Podrezov)
9000 Debugger: Enhanced the Statistics/Memory command to emit the total 
9001 (maximum) 
9002 memory used during the execution, as well as the maximum memory consumed 
9003 by 
9004 each of the various object types. (Valery Podrezov)
9006 Example Code and Data Size: These are the sizes for the OS-independent 
9007 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9008 debug version of the code includes the debug output trace mechanism and 
9009 has 
9010 a much larger code and data size.
9012   Previous Release:
9013     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9014     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9015   Current Release:
9016     Non-Debug Version:  78.0K Code, 17.1K Data,  95.1K Total
9017     Debug Version:     155.8K Code, 63.3K Data, 219.1K Total
9020 2) iASL Compiler/Disassembler and Tools:
9022 AcpiExec: Implemented a new option (-m) to display full memory use 
9023 statistics upon subsystem/program termination. (Valery Podrezov)
9025 ----------------------------------------
9026 09 November 2006. Summary of changes for version 20061109:
9028 1) ACPI CA Core Subsystem:
9030 Optimized the Load ASL operator in the case where the source operand is 
9031 an 
9032 operation region. Simply map the operation region memory, instead of 
9033 performing a bytewise read. (Region must be of type SystemMemory, see 
9034 below.)
9036 Fixed the Load ASL operator for the case where the source operand is a 
9037 region field. A buffer object is also allowed as the source operand. BZ 
9040 Fixed a problem where the Load ASL operator allowed the source operand to 
9041 be 
9042 an operation region of any type. It is now restricted to regions of type 
9043 SystemMemory, as per the ACPI specification. BZ 481
9045 Additional cleanup and optimizations for the new Table Manager code.
9047 AcpiEnable will now fail if all of the required ACPI tables are not 
9048 loaded 
9049 (FADT, FACS, DSDT). BZ 477
9051 Added #pragma pack(8/4) to acobject.h to ensure that the structures in 
9052 this 
9053 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been 
9054 manually optimized to be aligned and will not work if it is byte-packed. 
9056 Example Code and Data Size: These are the sizes for the OS-independent 
9057 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9058 debug version of the code includes the debug output trace mechanism and 
9059 has 
9060 a much larger code and data size.
9062   Previous Release:
9063     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9064     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9065   Current Release:
9066     Non-Debug Version:  77.9K Code, 17.0K Data,  94.9K Total
9067     Debug Version:     155.2K Code, 63.1K Data, 218.3K Total
9070 2) iASL Compiler/Disassembler and Tools:
9072 Fixed a problem where the presence of the _OSI predefined control method 
9073 within complex expressions could cause an internal compiler error.
9075 AcpiExec: Implemented full region support for multiple address spaces. 
9076 SpaceId is now part of the REGION object. BZ 429
9078 ----------------------------------------
9079 11 October 2006. Summary of changes for version 20061011:
9081 1) ACPI CA Core Subsystem:
9083 Completed an AML interpreter performance enhancement for control method 
9084 execution. Previously a 2-pass parse/execution, control methods are now 
9085 completely parsed and executed in a single pass. This improves overall 
9086 interpreter performance by ~25%, reduces code size, and reduces CPU stack 
9087 use. (Valery Podrezov + interpreter changes in version 20051202 that 
9088 eliminated namespace loading during the pass one parse.)
9090 Implemented _CID support for PCI Root Bridge detection. If the _HID does 
9091 not 
9092 match the predefined PCI Root Bridge IDs, the _CID list (if present) is 
9093 now 
9094 obtained and also checked for an ID match.
9096 Implemented additional support for the PCI _ADR execution: upsearch until 
9098 device scope is found before executing _ADR. This allows PCI_Config 
9099 operation regions to be declared locally within control methods 
9100 underneath 
9101 PCI device objects.
9103 Fixed a problem with a possible race condition between threads executing 
9104 AcpiWalkNamespace and the AML interpreter. This condition was removed by 
9105 modifying AcpiWalkNamespace to (by default) ignore all temporary 
9106 namespace 
9107 entries created during any concurrent control method execution. An 
9108 additional namespace race condition is known to exist between 
9109 AcpiWalkNamespace and the Load/Unload ASL operators and is still under 
9110 investigation.
9112 Restructured the AML ParseLoop function, breaking it into several 
9113 subfunctions in order to reduce CPU stack use and improve 
9114 maintainability. 
9115 (Mikhail Kouzmich)
9117 AcpiGetHandle: Fix for parameter validation to detect invalid 
9118 combinations 
9119 of prefix handle and pathname. BZ 478
9121 Example Code and Data Size: These are the sizes for the OS-independent 
9122 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9123 debug version of the code includes the debug output trace mechanism and 
9124 has 
9125 a much larger code and data size.
9127   Previous Release:
9128     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9129     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9130   Current Release:
9131     Non-Debug Version:  78.1K Code, 17.1K Data,  95.2K Total
9132     Debug Version:     155.4K Code, 63.1K Data, 218.5K Total
9134 2) iASL Compiler/Disassembler and Tools:
9136 Ported the -g option (get local ACPI tables) to the new ACPICA Table 
9137 Manager 
9138 to restore original behavior.
9140 ----------------------------------------
9141 27 September 2006. Summary of changes for version 20060927:
9143 1) ACPI CA Core Subsystem:
9145 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister. 
9146 These functions now use a spinlock for mutual exclusion and the interrupt 
9147 level indication flag is not needed.
9149 Fixed a problem with the Global Lock where the lock could appear to be 
9150 obtained before it is actually obtained. The global lock semaphore was 
9151 inadvertently created with one unit instead of zero units. (BZ 464) 
9152 Fiodor 
9153 Suietov.
9155 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue 
9156 during 
9157 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9159 Example Code and Data Size: These are the sizes for the OS-independent 
9160 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9161 debug version of the code includes the debug output trace mechanism and 
9162 has 
9163 a much larger code and data size.
9165   Previous Release:
9166     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9167     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9168   Current Release:
9169     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9170     Debug Version:     154.6K Code, 63.0K Data, 217.6K Total
9173 2) iASL Compiler/Disassembler and Tools:
9175 Fixed a compilation problem with the pre-defined Resource Descriptor 
9176 field 
9177 names where an "object does not exist" error could be incorrectly 
9178 generated 
9179 if the parent ResourceTemplate pathname places the template within a 
9180 different namespace scope than the current scope. (BZ 7212)
9182 Fixed a problem where the compiler could hang after syntax errors 
9183 detected 
9184 in an ElseIf construct. (BZ 453)
9186 Fixed a problem with the AmlFilename parameter to the DefinitionBlock() 
9187 operator. An incorrect output filename was produced when this parameter 
9188 was 
9189 a null string (""). Now, the original input filename is used as the AML 
9190 output filename, with an ".aml" extension.
9192 Implemented a generic batch command mode for the AcpiExec utility 
9193 (execute 
9194 any AML debugger command) (Valery Podrezov).
9196 ----------------------------------------
9197 12 September 2006. Summary of changes for version 20060912:
9199 1) ACPI CA Core Subsystem:
9201 Enhanced the implementation of the "serialized mode" of the interpreter 
9202 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is 
9203 specified, instead of creating a serialization semaphore per control 
9204 method, 
9205 the interpreter lock is simply no longer released before a blocking 
9206 operation during control method execution. This effectively makes the AML 
9207 Interpreter single-threaded. The overhead of a semaphore per-method is 
9208 eliminated.
9210 Fixed a regression where an error was no longer emitted if a control 
9211 method 
9212 attempts to create 2 objects of the same name. This once again returns 
9213 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism 
9214 that 
9215 will dynamically serialize the control method to possible prevent future 
9216 errors. (BZ 440)
9218 Integrated a fix for a problem with PCI Express HID detection in the PCI 
9219 Config Space setup procedure. (BZ 7145)
9221 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the 
9222 AcpiHwInitialize function - the FADT registers are now validated when the 
9223 table is loaded.
9225 Added two new warnings during FADT verification - 1) if the FADT is 
9226 larger 
9227 than the largest known FADT version, and 2) if there is a mismatch 
9228 between 
9230 32-bit block address and the 64-bit X counterpart (when both are non-
9231 zero.)
9233 Example Code and Data Size: These are the sizes for the OS-independent 
9234 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9235 debug version of the code includes the debug output trace mechanism and 
9236 has 
9237 a much larger code and data size.
9239   Previous Release:
9240     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9241     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9242   Current Release:
9243     Non-Debug Version:  77.9K Code, 17.1K Data,  95.0K Total
9244     Debug Version:     154.7K Code, 63.0K Data, 217.7K Total
9247 2) iASL Compiler/Disassembler and Tools:
9249 Fixed a problem with the implementation of the Switch() operator where 
9250 the 
9251 temporary variable was declared too close to the actual Switch, instead 
9252 of 
9253 at method level. This could cause a problem if the Switch() operator is 
9254 within a while loop, causing an error on the second iteration. (BZ 460)
9256 Disassembler - fix for error emitted for unknown type for target of scope 
9257 operator. Now, ignore it and continue.
9259 Disassembly of an FADT now verifies the input FADT and reports any errors 
9260 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9262 Disassembly of raw data buffers with byte initialization data now 
9263 prefixes 
9264 each output line with the current buffer offset.
9266 Disassembly of ASF! table now includes all variable-length data fields at 
9267 the end of some of the subtables.
9269 The disassembler now emits a comment if a buffer appears to be a 
9270 ResourceTemplate, but cannot be disassembled as such because the EndTag 
9271 does 
9272 not appear at the very end of the buffer.
9274 AcpiExec - Added the "-t" command line option to enable the serialized 
9275 mode 
9276 of the AML interpreter.
9278 ----------------------------------------
9279 31 August 2006. Summary of changes for version 20060831:
9281 1) ACPI CA Core Subsystem:
9283 Miscellaneous fixes for the Table Manager:
9284 - Correctly initialize internal common FADT for all 64-bit "X" fields
9285 - Fixed a couple table mapping issues during table load
9286 - Fixed a couple alignment issues for IA64
9287 - Initialize input array to zero in AcpiInitializeTables
9288 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, 
9289 AcpiGetTableByIndex
9291 Change for GPE support: when a "wake" GPE is received, all wake GPEs are 
9292 now 
9293 immediately disabled to prevent the waking GPE from firing again and to 
9294 prevent other wake GPEs from interrupting the wake process.
9296 Added the AcpiGpeCount global that tracks the number of processed GPEs, 
9297 to 
9298 be used for debugging systems with a large number of ACPI interrupts.
9300 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in 
9301 both the ACPICA headers and the disassembler.
9303 Example Code and Data Size: These are the sizes for the OS-independent 
9304 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9305 debug version of the code includes the debug output trace mechanism and 
9306 has 
9307 a much larger code and data size.
9309   Previous Release:
9310     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9311     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9312   Current Release:
9313     Non-Debug Version:  77.9K Code, 16.7K Data,  94.6K Total
9314     Debug Version:     154.9K Code, 62.6K Data, 217.5K Total
9317 2) iASL Compiler/Disassembler and Tools:
9319 Disassembler support for the DMAR ACPI table.
9321 ----------------------------------------
9322 23 August 2006. Summary of changes for version 20060823:
9324 1) ACPI CA Core Subsystem:
9326 The Table Manager component has been completely redesigned and 
9327 reimplemented. The new design is much simpler, and reduces the overall 
9328 code 
9329 and data size of the kernel-resident ACPICA by approximately 5%. Also, it 
9330 is 
9331 now possible to obtain the ACPI tables very early during kernel 
9332 initialization, even before dynamic memory management is initialized. 
9333 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9335 Obsolete ACPICA interfaces:
9337 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel 
9338 init 
9339 time).
9340 - AcpiLoadTable: Not needed.
9341 - AcpiUnloadTable: Not needed.
9343 New ACPICA interfaces:
9345 - AcpiInitializeTables: Must be called before the table manager can be 
9346 used.
9347 - AcpiReallocateRootTable: Used to transfer the root table to dynamically 
9348 allocated memory after it becomes available.
9349 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI 
9350 tables 
9351 in the RSDT/XSDT.
9353 Other ACPICA changes:
9355 - AcpiGetTableHeader returns the actual mapped table header, not a copy. 
9356 Use 
9357 AcpiOsUnmapMemory to free this mapping.
9358 - AcpiGetTable returns the actual mapped table. The mapping is managed 
9359 internally and must not be deleted by the caller. Use of this interface 
9360 causes no additional dynamic memory allocation.
9361 - AcpiFindRootPointer: Support for physical addressing has been 
9362 eliminated, 
9363 it appeared to be unused.
9364 - The interface to AcpiOsMapMemory has changed to be consistent with the 
9365 other allocation interfaces.
9366 - The interface to AcpiOsGetRootPointer has changed to eliminate 
9367 unnecessary 
9368 parameters.
9369 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 
9371 bit platforms. Was previously 64 bits on all platforms.
9372 - The interface to the ACPI Global Lock acquire/release macros have 
9373 changed 
9374 slightly since ACPICA no longer keeps a local copy of the FACS with a 
9375 constructed pointer to the actual global lock.
9377 Porting to the new table manager:
9379 - AcpiInitializeTables: Must be called once, and can be called anytime 
9380 during the OS initialization process. It allows the host to specify an 
9381 area 
9382 of memory to be used to store the internal version of the RSDT/XSDT (root 
9383 table). This allows the host to access ACPI tables before memory 
9384 management 
9385 is initialized and running.
9386 - AcpiReallocateRootTable: Can be called after memory management is 
9387 running 
9388 to copy the root table to a dynamically allocated array, freeing up the 
9389 scratch memory specified in the call to AcpiInitializeTables.
9390 - AcpiSubsystemInitialize: This existing interface is independent of the 
9391 Table Manager, and does not have to be called before the Table Manager 
9392 can 
9393 be used, it only must be called before the rest of ACPICA can be used.
9394 - ACPI Tables: Some changes have been made to the names and structure of 
9395 the 
9396 actbl.h and actbl1.h header files and may require changes to existing 
9397 code. 
9398 For example, bitfields have been completely removed because of their lack 
9399 of 
9400 portability across C compilers.
9401 - Update interfaces to the Global Lock acquire/release macros if local 
9402 versions are used. (see acwin.h)
9404 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9406 New files: tbfind.c
9408 Example Code and Data Size: These are the sizes for the OS-independent 
9409 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9410 debug version of the code includes the debug output trace mechanism and 
9411 has 
9412 a much larger code and data size.
9414   Previous Release:
9415     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9416     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9417   Current Release:
9418     Non-Debug Version:  77.8K Code, 16.5K Data,  94.3K Total
9419     Debug Version:     154.6K Code, 62.3K Data, 216.9K Total
9422 2) iASL Compiler/Disassembler and Tools:
9424 No changes for this release.
9426 ----------------------------------------
9427 21 July 2006. Summary of changes for version 20060721:
9429 1) ACPI CA Core Subsystem:
9431 The full source code for the ASL test suite used to validate the iASL 
9432 compiler and the ACPICA core subsystem is being released with the ACPICA 
9433 source for the first time. The source is contained in a separate package 
9434 and 
9435 consists of over 1100 files that exercise all ASL/AML operators. The 
9436 package 
9437 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, 
9438 Fiodor 
9439 Suietov)
9441 Completed a new design and implementation for support of the ACPI Global 
9442 Lock. On the OS side, the global lock is now treated as a standard AML 
9443 mutex. Previously, multiple OS threads could "acquire" the global lock 
9444 simultaneously. However, this could cause the BIOS to be starved out of 
9445 the 
9446 lock - especially in cases such as the Embedded Controller driver where 
9447 there is a tight coupling between the OS and the BIOS.
9449 Implemented an optimization for the ACPI Global Lock interrupt mechanism. 
9450 The Global Lock interrupt handler no longer queues the execution of a 
9451 separate thread to signal the global lock semaphore. Instead, the 
9452 semaphore 
9453 is signaled directly from the interrupt handler.
9455 Implemented support within the AML interpreter for package objects that 
9456 contain a larger AML length (package list length) than the package 
9457 element 
9458 count. In this case, the length of the package is truncated to match the 
9459 package element count. Some BIOS code apparently modifies the package 
9460 length 
9461 on the fly, and this change supports this behavior. Provides 
9462 compatibility 
9463 with the MS AML interpreter. (With assistance from Fiodor Suietov)
9465 Implemented a temporary fix for the BankValue parameter of a Bank Field 
9466 to 
9467 support all constant values, now including the Zero and One opcodes. 
9468 Evaluation of this parameter must eventually be converted to a full 
9469 TermArg 
9470 evaluation. A not-implemented error is now returned (temporarily) for 
9471 non-
9472 constant values for this parameter.
9474 Fixed problem reports (Fiodor Suietov) integrated:
9475 - Fix for premature object deletion after CopyObject on Operation Region 
9476 (BZ 
9477 350)
9479 Example Code and Data Size: These are the sizes for the OS-independent 
9480 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9481 debug version of the code includes the debug output trace mechanism and 
9482 has 
9483 a much larger code and data size.
9485   Previous Release:
9486     Non-Debug Version:  80.7K Code, 18.0K Data,  98.7K Total
9487     Debug Version:     160.9K Code, 65.1K Data, 226.0K Total
9488   Current Release:
9489     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9490     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9493 2) iASL Compiler/Disassembler and Tools:
9495 No changes for this release.
9497 ----------------------------------------
9498 07 July 2006. Summary of changes for version 20060707:
9500 1) ACPI CA Core Subsystem:
9502 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers 
9503 that do not allow the initialization of address pointers within packed 
9504 structures - even though the hardware itself may support misaligned 
9505 transfers. Some of the debug data structures are packed by default to 
9506 minimize size.
9508 Added an error message for the case where AcpiOsGetThreadId() returns 
9509 zero. 
9510 A non-zero value is required by the core ACPICA code to ensure the proper 
9511 operation of AML mutexes and recursive control methods.
9513 The DSDT is now the only ACPI table that determines whether the AML 
9514 interpreter is in 32-bit or 64-bit mode. Not really a functional change, 
9515 but 
9516 the hooks for per-table 32/64 switching have been removed from the code. 
9518 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9520 Fixed a possible leak of an OwnerID in the error path of 
9521 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID 
9522 deletion to a single place in AcpiTbUninstallTable to correct possible 
9523 leaks 
9524 when using the AcpiTbDeleteTablesByType interface (with assistance from 
9525 Lance Ortiz.)
9527 Fixed a problem with Serialized control methods where the semaphore 
9528 associated with the method could be over-signaled after multiple method 
9529 invocations.
9531 Fixed two issues with the locking of the internal namespace data 
9532 structure. 
9533 Both the Unload() operator and AcpiUnloadTable interface now lock the 
9534 namespace during the namespace deletion associated with the table unload 
9535 (with assistance from Linn Crosetto.)
9537 Fixed problem reports (Valery Podrezov) integrated:
9538 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9540 Fixed problem reports (Fiodor Suietov) integrated:
9541 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9542 - On Address Space handler deletion, needless deactivation call (BZ 374)
9543 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 
9544 375)
9545 - Possible memory leak, Notify sub-objects of Processor, Power, 
9546 ThermalZone 
9547 (BZ 376)
9548 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9549 - Minimum Length of RSDT should be validated (BZ 379)
9550 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no 
9551 Handler (BZ (380)
9552 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type 
9553 loaded 
9554 (BZ 381)
9556 Example Code and Data Size: These are the sizes for the OS-independent 
9557 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9558 debug version of the code includes the debug output trace mechanism and 
9559 has 
9560 a much larger code and data size.
9562   Previous Release:
9563     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9564     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9565   Current Release:
9566     Non-Debug Version:  80.7K Code, 17.9K Data,  98.6K Total
9567     Debug Version:     161.0K Code, 65.1K Data, 226.1K Total
9570 2) iASL Compiler/Disassembler and Tools:
9572 Fixed problem reports:
9573 Compiler segfault when ASL contains a long (>1024) String declaration (BZ 
9574 436)
9576 ----------------------------------------
9577 23 June 2006. Summary of changes for version 20060623:
9579 1) ACPI CA Core Subsystem:
9581 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This 
9582 allows the type to be customized to the host OS for improved efficiency 
9583 (since a spinlock is usually a very small object.)
9585 Implemented support for "ignored" bits in the ACPI registers. According 
9586 to 
9587 the ACPI specification, these bits should be preserved when writing the 
9588 registers via a read/modify/write cycle. There are 3 bits preserved in 
9589 this 
9590 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9592 Implemented the initial deployment of new OSL mutex interfaces. Since 
9593 some 
9594 host operating systems have separate mutex and semaphore objects, this 
9595 feature was requested. The base code now uses mutexes (and the new mutex 
9596 interfaces) wherever a binary semaphore was used previously. However, for 
9597 the current release, the mutex interfaces are defined as macros to map 
9598 them 
9599 to the existing semaphore interfaces. Therefore, no OSL changes are 
9600 required 
9601 at this time. (See acpiosxf.h)
9603 Fixed several problems with the support for the control method SyncLevel 
9604 parameter. The SyncLevel now works according to the ACPI specification 
9605 and 
9606 in concert with the Mutex SyncLevel parameter, since the current 
9607 SyncLevel 
9608 is a property of the executing thread. Mutual exclusion for control 
9609 methods 
9610 is now implemented with a mutex instead of a semaphore.
9612 Fixed three instances of the use of the C shift operator in the bitfield 
9613 support code (exfldio.c) to avoid the use of a shift value larger than 
9614 the 
9615 target data width. The behavior of C compilers is undefined in this case 
9616 and 
9617 can cause unpredictable results, and therefore the case must be detected 
9618 and 
9619 avoided. (Fiodor Suietov)
9621 Added an info message whenever an SSDT or OEM table is loaded dynamically 
9622 via the Load() or LoadTable() ASL operators. This should improve 
9623 debugging 
9624 capability since it will show exactly what tables have been loaded 
9625 (beyond 
9626 the tables present in the RSDT/XSDT.)
9628 Example Code and Data Size: These are the sizes for the OS-independent 
9629 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9630 debug version of the code includes the debug output trace mechanism and 
9631 has 
9632 a much larger code and data size.
9634   Previous Release:
9635     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9636     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9637   Current Release:
9638     Non-Debug Version:  80.5K Code, 17.8K Data,  98.3K Total
9639     Debug Version:     160.8K Code, 64.8K Data, 225.6K Total
9642 2) iASL Compiler/Disassembler and Tools:
9644 No changes for this release.
9646 ----------------------------------------
9647 08 June 2006. Summary of changes for version 20060608:
9649 1) ACPI CA Core Subsystem:
9651 Converted the locking mutex used for the ACPI hardware to a spinlock. 
9652 This 
9653 change should eliminate all problems caused by attempting to acquire a 
9654 semaphore at interrupt level, and it means that all ACPICA external 
9655 interfaces that directly access the ACPI hardware can be safely called 
9656 from 
9657 interrupt level. OSL code that implements the semaphore interfaces should 
9658 be 
9659 able to eliminate any workarounds for being called at interrupt level.
9661 Fixed a regression introduced in 20060526 where the ACPI device 
9662 initialization could be prematurely aborted with an AE_NOT_FOUND if a 
9663 device 
9664 did not have an optional _INI method.
9666 Fixed an IndexField issue where a write to the Data Register should be 
9667 limited in size to the AccessSize (width) of the IndexField itself. (BZ 
9668 433, 
9669 Fiodor Suietov)
9671 Fixed problem reports (Valery Podrezov) integrated:
9672 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9674 Fixed problem reports (Fiodor Suietov) integrated:
9675 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9677 Removed four global mutexes that were obsolete and were no longer being 
9678 used.
9680 Example Code and Data Size: These are the sizes for the OS-independent 
9681 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9682 debug version of the code includes the debug output trace mechanism and 
9683 has 
9684 a much larger code and data size.
9686   Previous Release:
9687     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9688     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9689   Current Release:
9690     Non-Debug Version:  80.0K Code, 17.6K Data,  97.6K Total
9691     Debug Version:     160.2K Code, 64.7K Data, 224.9K Total
9694 2) iASL Compiler/Disassembler and Tools:
9696 Fixed a fault when using -g option (get tables from registry) on Windows 
9697 machines.
9699 Fixed problem reports integrated:
9700 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
9701 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor 
9702 Suietov)
9703 - Global table revision override (-r) is ignored (BZ 413)
9705 ----------------------------------------
9706 26 May 2006. Summary of changes for version 20060526:
9708 1) ACPI CA Core Subsystem:
9710 Restructured, flattened, and simplified the internal interfaces for 
9711 namespace object evaluation - resulting in smaller code, less CPU stack 
9712 use, 
9713 and fewer interfaces. (With assistance from Mikhail Kouzmich)
9715 Fixed a problem with the CopyObject operator where the first parameter 
9716 was 
9717 not typed correctly for the parser, interpreter, compiler, and 
9718 disassembler. 
9719 Caused various errors and unexpected behavior.
9721 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits 
9722 produced incorrect results with some C compilers. Since the behavior of C 
9723 compilers when the shift value is larger than the datatype width is 
9724 apparently not well defined, the interpreter now detects this condition 
9725 and 
9726 simply returns zero as expected in all such cases. (BZ 395)
9728 Fixed problem reports (Valery Podrezov) integrated:
9729 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9730 - Allow interpreter to handle nested method declarations (BZ 5361)
9732 Fixed problem reports (Fiodor Suietov) integrated:
9733 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 
9734 355)
9735 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ 
9736 356)
9737 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9738 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9739 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9740 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9741 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9742 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9743 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ 
9744 365)
9745 - Status of the Global Initialization Handler call not used (BZ 366)
9746 - Incorrect object parameter to Global Initialization Handler (BZ 367)
9748 Example Code and Data Size: These are the sizes for the OS-independent 
9749 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9750 debug version of the code includes the debug output trace mechanism and 
9751 has 
9752 a much larger code and data size.
9754   Previous Release:
9755     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9756     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9757   Current Release:
9758     Non-Debug Version:  80.0K Code, 17.7K Data,  97.7K Total
9759     Debug Version:     160.3K Code, 64.9K Data, 225.2K Total
9762 2) iASL Compiler/Disassembler and Tools:
9764 Modified the parser to allow the names IO, DMA, and IRQ to be used as 
9765 namespace identifiers with no collision with existing resource descriptor 
9766 macro names. This provides compatibility with other ASL compilers and is 
9767 most useful for disassembly/recompilation of existing tables without 
9768 parse 
9769 errors. (With assistance from Thomas Renninger)
9771 Disassembler: fixed an incorrect disassembly problem with the 
9772 DataTableRegion and CopyObject operators. Fixed a possible fault during 
9773 disassembly of some Alias operators.
9775 ----------------------------------------
9776 12 May 2006. Summary of changes for version 20060512:
9778 1) ACPI CA Core Subsystem:
9780 Replaced the AcpiOsQueueForExecution interface with a new interface named 
9781 AcpiOsExecute. The major difference is that the new interface does not 
9782 have 
9783 a Priority parameter, this appeared to be useless and has been replaced 
9784 by 
9786 Type parameter. The Type tells the host what type of execution is being 
9787 requested, such as global lock handler, notify handler, GPE handler, etc. 
9788 This allows the host to queue and execute the request as appropriate for 
9789 the 
9790 request type, possibly using different work queues and different 
9791 priorities 
9792 for the various request types. This enables fixes for multithreading 
9793 deadlock problems such as BZ #5534, and will require changes to all 
9794 existing 
9795 OS interface layers. (Alexey Starikovskiy and Bob Moore)
9797 Fixed a possible memory leak associated with the support for the so-
9798 called 
9799 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor 
9800 Suietov)
9802 Fixed a problem with the Load() operator where a table load from an 
9803 operation region could overwrite an internal table buffer by up to 7 
9804 bytes 
9805 and cause alignment faults on IPF systems. (With assistance from Luming 
9808 Example Code and Data Size: These are the sizes for the OS-independent 
9809 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9810 debug version of the code includes the debug output trace mechanism and 
9811 has 
9812 a much larger code and data size.
9814   Previous Release:
9815     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
9816     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9817   Current Release:
9818     Non-Debug Version:  79.8K Code, 17.7K Data,  97.5K Total
9819     Debug Version:     160.5K Code, 65.1K Data, 225.6K Total
9823 2) iASL Compiler/Disassembler and Tools:
9825 Disassembler: Implemented support to cross reference the internal 
9826 namespace 
9827 and automatically generate ASL External() statements for symbols not 
9828 defined 
9829 within the current table being disassembled. This will simplify the 
9830 disassembly and recompilation of interdependent tables such as SSDTs 
9831 since 
9832 these statements will no longer have to be added manually.
9834 Disassembler: Implemented experimental support to automatically detect 
9835 invocations of external control methods and generate appropriate 
9836 External() 
9837 statements. This is problematic because the AML cannot be correctly 
9838 parsed 
9839 until the number of arguments for each control method is known. 
9840 Currently, 
9841 standalone method invocations and invocations as the source operand of a 
9842 Store() statement are supported.
9844 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual, 
9845 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()), 
9846 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code 
9847 more readable and likely closer to the original ASL source.
9849 ----------------------------------------
9850 21 April 2006. Summary of changes for version 20060421:
9852 1) ACPI CA Core Subsystem:
9854 Removed a device initialization optimization introduced in 20051216 where 
9855 the _STA method was not run unless an _INI was also present for the same 
9856 device. This optimization could cause problems because it could allow 
9857 _INI 
9858 methods to be run within a not-present device subtree. (If a not-present 
9859 device had no _INI, _STA would not be run, the not-present status would 
9860 not 
9861 be discovered, and the children of the device would be incorrectly 
9862 traversed.)
9864 Implemented a new _STA optimization where namespace subtrees that do not 
9865 contain _INI are identified and ignored during device initialization. 
9866 Selectively running _STA can significantly improve boot time on large 
9867 machines (with assistance from Len Brown.)
9869 Implemented support for the device initialization case where the returned 
9870 _STA flags indicate a device not-present but functioning. In this case, 
9871 _INI 
9872 is not run, but the device children are examined for presence, as per the 
9873 ACPI specification.
9875 Implemented an additional change to the IndexField support in order to 
9876 conform to MS behavior. The value written to the Index Register is not 
9877 simply a byte offset, it is a byte offset in units of the access width of 
9878 the parent Index Field. (Fiodor Suietov)
9880 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This 
9881 interface is called during the creation of all AML operation regions, and 
9882 allows the host OS to exert control over what addresses it will allow the 
9883 AML code to access. Operation Regions whose addresses are disallowed will 
9884 cause a runtime exception when they are actually accessed (will not 
9885 affect 
9886 or abort table loading.) See oswinxf or osunixxf for an example 
9887 implementation.
9889 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This 
9890 interface allows the host OS to match the various "optional" 
9891 interface/behavior strings for the _OSI predefined control method as 
9892 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf 
9893 for an example implementation.
9895 Restructured and corrected various problems in the exception handling 
9896 code 
9897 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod 
9898 (with assistance from Takayoshi Kochi.)
9900 Modified the Linux source converter to ignore quoted string literals 
9901 while 
9902 converting identifiers from mixed to lower case. This will correct 
9903 problems 
9904 with the disassembler and other areas where such strings must not be 
9905 modified.
9907 The ACPI_FUNCTION_* macros no longer require quotes around the function 
9908 name. This allows the Linux source converter to convert the names, now 
9909 that 
9910 the converter ignores quoted strings.
9912 Example Code and Data Size: These are the sizes for the OS-independent 
9913 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
9914 debug version of the code includes the debug output trace mechanism and 
9915 has 
9916 a much larger code and data size.
9918   Previous Release:
9920     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
9921     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
9922   Current Release:
9923     Non-Debug Version:  79.7K Code, 17.7K Data,  97.4K Total
9924     Debug Version:     160.1K Code, 65.2K Data, 225.3K Total
9927 2) iASL Compiler/Disassembler and Tools:
9929 Implemented 3 new warnings for iASL, and implemented multiple warning 
9930 levels 
9931 (w2 flag).
9933 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is 
9934 not 
9935 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to 
9936 check for the possible timeout, a warning is issued.
9938 2) Useless operators: If an ASL operator does not specify an optional 
9939 target 
9940 operand and it also does not use the function return value from the 
9941 operator, a warning is issued since the operator effectively does 
9942 nothing.
9944 3) Unreferenced objects: If a namespace object is created, but never 
9945 referenced, a warning is issued. This is a warning level 2 since there 
9946 are 
9947 cases where this is ok, such as when a secondary table is loaded that 
9948 uses 
9949 the unreferenced objects. Even so, care is taken to only flag objects 
9950 that 
9951 don't look like they will ever be used. For example, the reserved methods 
9952 (starting with an underscore) are usually not referenced because it is 
9953 expected that the OS will invoke them.
9955 ----------------------------------------
9956 31 March 2006. Summary of changes for version 20060331:
9958 1) ACPI CA Core Subsystem:
9960 Implemented header file support for the following additional ACPI tables: 
9961 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this 
9962 support, 
9963 all current and known ACPI tables are now defined in the ACPICA headers 
9964 and 
9965 are available for use by device drivers and other software.
9967 Implemented support to allow tables that contain ACPI names with invalid 
9968 characters to be loaded. Previously, this would cause the table load to 
9969 fail, but since there are several known cases of such tables on existing 
9970 machines, this change was made to enable ACPI support for them. Also, 
9971 this 
9972 matches the behavior of the Microsoft ACPI implementation.
9974 Fixed a couple regressions introduced during the memory optimization in 
9975 the 
9976 20060317 release. The namespace node definition required additional 
9977 reorganization and an internal datatype that had been changed to 8-bit 
9978 was 
9979 restored to 32-bit. (Valery Podrezov)
9981 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState 
9982 could be passed through to AcpiOsReleaseObject which is unexpected. Such 
9983 null pointers are now trapped and ignored, matching the behavior of the 
9984 previous implementation before the deployment of AcpiOsReleaseObject.
9985 (Valery Podrezov, Fiodor Suietov)
9987 Fixed a memory mapping leak during the deletion of a SystemMemory 
9988 operation 
9989 region where a cached memory mapping was not deleted. This became a 
9990 noticeable problem for operation regions that are defined within 
9991 frequently 
9992 used control methods. (Dana Meyers)
9994 Reorganized the ACPI table header files into two main files: one for the 
9995 ACPI tables consumed by the ACPICA core, and another for the 
9996 miscellaneous 
9997 ACPI tables that are consumed by the drivers and other software. The 
9998 various 
9999 FADT definitions were merged into one common section and three different 
10000 tables (ACPI 1.0, 1.0+, and 2.0)
10002 Example Code and Data Size: These are the sizes for the OS-independent 
10003 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The 
10004 debug version of the code includes the debug output trace mechanism and 
10005 has 
10006 a much larger code and data size.
10008   Previous Release:
10009     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10010     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10011   Current Release:
10012     Non-Debug Version:  81.1K Code, 17.7K Data,  98.8K Total
10013     Debug Version:     158.9K Code, 64.9K Data, 223.8K Total
10016 2) iASL Compiler/Disassembler and Tools:
10018 Disassembler: Implemented support to decode and format all non-AML ACPI 
10019 tables (tables other than DSDTs and SSDTs.) This includes the new tables 
10020 added to the ACPICA headers, therefore all current and known ACPI tables 
10021 are 
10022 supported.
10024 Disassembler: The change to allow ACPI names with invalid characters also 
10025 enables the disassembly of such tables. Invalid characters within names 
10026 are 
10027 changed to '*' to make the name printable; the iASL compiler will still 
10028 generate an error for such names, however, since this is an invalid ACPI 
10029 character.
10031 Implemented an option for AcpiXtract (-a) to extract all tables found in 
10032 the 
10033 input file. The default invocation extracts only the DSDTs and SSDTs.
10035 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a 
10036 makefile for the AcpiXtract utility.
10038 ----------------------------------------
10039 17 March 2006. Summary of changes for version 20060317:
10041 1) ACPI CA Core Subsystem:
10043 Implemented the use of a cache object for all internal namespace nodes. 
10044 Since there are about 1000 static nodes in a typical system, this will 
10045 decrease memory use for cache implementations that minimize per-
10046 allocation 
10047 overhead (such as a slab allocator.)
10049 Removed the reference count mechanism for internal namespace nodes, since 
10050 it 
10051 was deemed unnecessary. This reduces the size of each namespace node by 
10052 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit 
10053 case, 
10054 and 32 bytes for the 64-bit case.
10056 Optimized several internal data structures to reduce object size on 64-
10057 bit 
10058 platforms by packing data within the 64-bit alignment. This includes the 
10059 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static 
10060 instances corresponding to the namespace objects.
10062 Added two new strings for the predefined _OSI method: "Windows 2001.1 
10063 SP1" 
10064 and "Windows 2006".
10066 Split the allocation tracking mechanism out to a separate file, from 
10067 utalloc.c to uttrack.c. This mechanism appears to be only useful for 
10068 application-level code. Kernels may wish to not include uttrack.c in 
10069 distributions.
10071 Removed all remnants of the obsolete ACPI_REPORT_* macros and the 
10072 associated 
10073 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING 
10074 macros.)
10076 Code and Data Size: These are the sizes for the acpica.lib produced by 
10077 the 
10078 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10079 ACPI 
10080 driver or OSPM code. The debug version of the code includes the debug 
10081 output 
10082 trace mechanism and has a much larger code and data size. Note that these 
10083 values will vary depending on the efficiency of the compiler and the 
10084 compiler options used during generation.
10086   Previous Release:
10087     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10088     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10089   Current Release:
10090     Non-Debug Version:  80.9K Code, 17.7K Data,  98.6K Total
10091     Debug Version:     158.7K Code, 64.8K Data, 223.5K Total
10094 2) iASL Compiler/Disassembler and Tools:
10096 Implemented an ANSI C version of the acpixtract utility. This version 
10097 will 
10098 automatically extract the DSDT and all SSDTs from the input acpidump text 
10099 file and dump the binary output to separate files. It can also display a 
10100 summary of the input file including the headers for each table found and 
10101 will extract any single ACPI table, with any signature. (See 
10102 source/tools/acpixtract)
10104 ----------------------------------------
10105 10 March 2006. Summary of changes for version 20060310:
10107 1) ACPI CA Core Subsystem:
10109 Tagged all external interfaces to the subsystem with the new 
10110 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to 
10111 assist 
10112 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL 
10113 macro. The default definition is NULL.
10115 Added the ACPI_THREAD_ID type for the return value from 
10116 AcpiOsGetThreadId. 
10117 This allows the host to define this as necessary to simplify kernel 
10118 integration. The default definition is ACPI_NATIVE_UINT.
10120 Fixed two interpreter problems related to error processing, the deletion 
10121 of 
10122 objects, and placing invalid pointers onto the internal operator result 
10123 stack. BZ 6028, 6151 (Valery Podrezov)
10125 Increased the reference count threshold where a warning is emitted for 
10126 large 
10127 reference counts in order to eliminate unnecessary warnings on systems 
10128 with 
10129 large namespaces (especially 64-bit.) Increased the value from 0x400 to 
10130 0x800.
10132 Due to universal disagreement as to the meaning of the 'c' in the 
10133 calloc() 
10134 function, the ACPI_MEM_CALLOCATE macro has been renamed to 
10135 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'. 
10136 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and 
10137 ACPI_FREE.
10139 Code and Data Size: These are the sizes for the acpica.lib produced by 
10140 the 
10141 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10142 ACPI 
10143 driver or OSPM code. The debug version of the code includes the debug 
10144 output 
10145 trace mechanism and has a much larger code and data size. Note that these 
10146 values will vary depending on the efficiency of the compiler and the 
10147 compiler options used during generation.
10149   Previous Release:
10150     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10151     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10152   Current Release:
10153     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10154     Debug Version:     161.6K Code, 65.7K Data, 227.3K Total
10157 2) iASL Compiler/Disassembler:
10159 Disassembler: implemented support for symbolic resource descriptor 
10160 references. If a CreateXxxxField operator references a fixed offset 
10161 within 
10163 resource descriptor, a name is assigned to the descriptor and the offset 
10164 is 
10165 translated to the appropriate resource tag and pathname. The addition of 
10166 this support brings the disassembled code very close to the original ASL 
10167 source code and helps eliminate run-time errors when the disassembled 
10168 code 
10169 is modified (and recompiled) in such a way as to invalidate the original 
10170 fixed offsets.
10172 Implemented support for a Descriptor Name as the last parameter to the 
10173 ASL 
10174 Register() macro. This parameter was inadvertently left out of the ACPI 
10175 specification, and will be added for ACPI 3.0b.
10177 Fixed a problem where the use of the "_OSI" string (versus the full path 
10178 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10180 Fixed a problem with the error message that occurs when an invalid string 
10181 is 
10182 used for a _HID object (such as one with an embedded asterisk: 
10183 "*PNP010A".) 
10184 The correct message is now displayed.
10186 ----------------------------------------
10187 17 February 2006. Summary of changes for version 20060217:
10189 1) ACPI CA Core Subsystem:
10191 Implemented a change to the IndexField support to match the behavior of 
10192 the 
10193 Microsoft AML interpreter. The value written to the Index register is now 
10195 byte offset, no longer an index based upon the width of the Data 
10196 register. 
10197 This should fix IndexField problems seen on some machines where the Data 
10198 register is not exactly one byte wide. The ACPI specification will be 
10199 clarified on this point.
10201 Fixed a problem where several resource descriptor types could overrun the 
10202 internal descriptor buffer due to size miscalculation: VendorShort, 
10203 VendorLong, and Interrupt. This was noticed on IA64 machines, but could 
10204 affect all platforms.
10206 Fixed a problem where individual resource descriptors were misaligned 
10207 within 
10208 the internal buffer, causing alignment faults on IA64 platforms.
10210 Code and Data Size: These are the sizes for the acpica.lib produced by 
10211 the 
10212 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any 
10213 ACPI 
10214 driver or OSPM code. The debug version of the code includes the debug 
10215 output 
10216 trace mechanism and has a much larger code and data size. Note that these 
10217 values will vary depending on the efficiency of the compiler and the 
10218 compiler options used during generation.
10220   Previous Release:
10221     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10222     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10223   Current Release:
10224     Non-Debug Version:  81.0K Code, 17.8K Data,  98.8K Total
10225     Debug Version:     161.4K Code, 65.7K Data, 227.1K Total
10228 2) iASL Compiler/Disassembler:
10230 Implemented support for new reserved names: _WDG and _WED are Microsoft 
10231 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10232 defined method (Throttling Depth Limit.)
10234 Fixed a problem where a zero-length VendorShort or VendorLong resource 
10235 descriptor was incorrectly emitted as a descriptor of length one.
10237 ----------------------------------------
10238 10 February 2006. Summary of changes for version 20060210:
10240 1) ACPI CA Core Subsystem:
10242 Removed a couple of extraneous ACPI_ERROR messages that appeared during 
10243 normal execution. These became apparent after the conversion from 
10244 ACPI_DEBUG_PRINT.
10246 Fixed a problem where the CreateField operator could hang if the BitIndex 
10247 or 
10248 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10250 Fixed a problem where a DeRefOf operation on a buffer object incorrectly 
10251 failed with an exception. This also fixes a couple of related RefOf and 
10252 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10254 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead 
10255 of 
10256 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov, 
10257 BZ 
10258 5480)
10260 Implemented a memory cleanup at the end of the execution of each 
10261 iteration 
10262 of an AML While() loop, preventing the accumulation of outstanding 
10263 objects. 
10264 (Valery Podrezov, BZ 5427)
10266 Eliminated a chunk of duplicate code in the object resolution code. 
10267 (Valery 
10268 Podrezov, BZ 5336)
10270 Fixed several warnings during the 64-bit code generation.
10272 The AcpiSrc source code conversion tool now inserts one line of 
10273 whitespace 
10274 after an if() statement that is followed immediately by a comment, 
10275 improving 
10276 readability of the Linux code.
10278 Code and Data Size: The current and previous library sizes for the core 
10279 subsystem are shown below. These are the code and data sizes for the 
10280 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10281 These 
10282 values do not include any ACPI driver or OSPM code. The debug version of 
10283 the 
10284 code includes the debug output trace mechanism and has a much larger code 
10285 and data size. Note that these values will vary depending on the 
10286 efficiency 
10287 of the compiler and the compiler options used during generation.
10289   Previous Release:
10290     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10291     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10292   Current Release:
10293     Non-Debug Version:  81.1K Code, 17.8K Data,  98.9K Total
10294     Debug Version:     161.3K Code, 65.6K Data, 226.9K Total
10297 2) iASL Compiler/Disassembler:
10299 Fixed a problem with the disassembly of a BankField operator with a 
10300 complex 
10301 expression for the BankValue parameter.
10303 ----------------------------------------
10304 27 January 2006. Summary of changes for version 20060127:
10306 1) ACPI CA Core Subsystem:
10308 Implemented support in the Resource Manager to allow unresolved 
10309 namestring 
10310 references within resource package objects for the _PRT method. This 
10311 support 
10312 is in addition to the previously implemented unresolved reference support 
10313 within the AML parser. If the interpreter slack mode is enabled, these 
10314 unresolved references will be passed through to the caller as a NULL 
10315 package 
10316 entry.
10318 Implemented and deployed new macros and functions for error and warning 
10319 messages across the subsystem. These macros are simpler and generate less 
10320 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION, 
10321 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older 
10322 macros remain defined to allow ACPI drivers time to migrate to the new 
10323 macros.
10325 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of 
10326 the 
10327 Acquire/Release Lock OSL interfaces.
10329 Fixed a problem where Alias ASL operators are sometimes not correctly 
10330 resolved, in both the interpreter and the iASL compiler.
10332 Fixed several problems with the implementation of the 
10333 ConcatenateResTemplate 
10334 ASL operator. As per the ACPI specification, zero length buffers are now 
10335 treated as a single EndTag. One-length buffers always cause a fatal 
10336 exception. Non-zero length buffers that do not end with a full 2-byte 
10337 EndTag 
10338 cause a fatal exception.
10340 Fixed a possible structure overwrite in the AcpiGetObjectInfo external 
10341 interface. (With assistance from Thomas Renninger)
10343 Code and Data Size: The current and previous library sizes for the core 
10344 subsystem are shown below. These are the code and data sizes for the 
10345 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10346 These 
10347 values do not include any ACPI driver or OSPM code. The debug version of 
10348 the 
10349 code includes the debug output trace mechanism and has a much larger code 
10350 and data size. Note that these values will vary depending on the 
10351 efficiency 
10352 of the compiler and the compiler options used during generation.
10354   Previous Release:
10355     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10356     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10357   Current Release:
10358     Non-Debug Version:  81.0K Code, 17.9K Data,  98.9K Total
10359     Debug Version:     161.3K Code, 65.7K Data, 227.0K Total
10362 2) iASL Compiler/Disassembler:
10364 Fixed an internal error that was generated for any forward references to 
10365 ASL 
10366 Alias objects.
10368 ----------------------------------------
10369 13 January 2006. Summary of changes for version 20060113:
10371 1) ACPI CA Core Subsystem:
10373 Added 2006 copyright to all module headers and signons. This affects 
10374 virtually every file in the ACPICA core subsystem, iASL compiler, and the 
10375 utilities.
10377 Enhanced the ACPICA error reporting in order to simplify user migration 
10378 to 
10379 the non-debug version of ACPICA. Replaced all instances of the 
10380 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN 
10381 debug 
10382 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros, 
10383 respectively. This preserves all error and warning messages in the non-
10384 debug 
10385 version of the ACPICA code (this has been referred to as the "debug lite" 
10386 option.) Over 200 cases were converted to create a total of over 380 
10387 error/warning messages across the ACPICA code. This increases the code 
10388 and 
10389 data size of the default non-debug version of the code somewhat (about 
10390 13K), 
10391 but all error/warning reporting may be disabled if desired (and code 
10392 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time 
10393 configuration option. The size of the debug version of ACPICA remains 
10394 about 
10395 the same.
10397 Fixed a memory leak within the AML Debugger "Set" command. One object was 
10398 not properly deleted for every successful invocation of the command.
10400 Code and Data Size: The current and previous library sizes for the core 
10401 subsystem are shown below. These are the code and data sizes for the 
10402 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10403 These 
10404 values do not include any ACPI driver or OSPM code. The debug version of 
10405 the 
10406 code includes the debug output trace mechanism and has a much larger code 
10407 and data size. Note that these values will vary depending on the 
10408 efficiency 
10409 of the compiler and the compiler options used during generation.
10411   Previous Release:
10412     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10413     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10414   Current Release:
10415     Non-Debug Version:  83.1K Code, 18.4K Data, 101.5K Total
10416     Debug Version:     163.2K Code, 66.2K Data, 229.4K Total
10419 2) iASL Compiler/Disassembler:
10421 The compiler now officially supports the ACPI 3.0a specification that was 
10422 released on December 30, 2005. (Specification is available at 
10423 www.acpi.info)
10425 ----------------------------------------
10426 16 December 2005. Summary of changes for version 20051216:
10428 1) ACPI CA Core Subsystem:
10430 Implemented optional support to allow unresolved names within ASL Package 
10431 objects. A null object is inserted in the package when a named reference 
10432 cannot be located in the current namespace. Enabled via the interpreter 
10433 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on 
10434 machines 
10435 that contain such code.
10437 Implemented an optimization to the initialization sequence that can 
10438 improve 
10439 boot time. During ACPI device initialization, the _STA method is now run 
10440 if 
10441 and only if the _INI method exists. The _STA method is used to determine 
10442 if 
10443 the device is present; An _INI can only be run if _STA returns present, 
10444 but 
10445 it is a waste of time to run the _STA method if the _INI does not exist. 
10446 (Prototype and assistance from Dong Wei)
10448 Implemented use of the C99 uintptr_t for the pointer casting macros if it 
10449 is 
10450 available in the current compiler. Otherwise, the default (void *) cast 
10451 is 
10452 used as before.
10454 Fixed some possible memory leaks found within the execution path of the 
10455 Break, Continue, If, and CreateField operators. (Valery Podrezov)
10457 Fixed a problem introduced in the 20051202 release where an exception is 
10458 generated during method execution if a control method attempts to declare 
10459 another method.
10461 Moved resource descriptor string constants that are used by both the AML 
10462 disassembler and AML debugger to the common utilities directory so that 
10463 these components are independent.
10465 Implemented support in the AcpiExec utility (-e switch) to globally 
10466 ignore 
10467 exceptions during control method execution (method is not aborted.)
10469 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix 
10470 generation.
10472 Code and Data Size: The current and previous library sizes for the core 
10473 subsystem are shown below. These are the code and data sizes for the 
10474 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10475 These 
10476 values do not include any ACPI driver or OSPM code. The debug version of 
10477 the 
10478 code includes the debug output trace mechanism and has a much larger code 
10479 and data size. Note that these values will vary depending on the 
10480 efficiency 
10481 of the compiler and the compiler options used during generation.
10483   Previous Release:
10484     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10485     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10486   Current Release:
10487     Non-Debug Version:  76.6K Code, 12.3K Data,  88.9K Total
10488     Debug Version:     163.7K Code, 67.5K Data, 231.2K Total
10491 2) iASL Compiler/Disassembler:
10493 Fixed a problem where a CPU stack overflow fault could occur if a 
10494 recursive 
10495 method call was made from within a Return statement.
10497 ----------------------------------------
10498 02 December 2005. Summary of changes for version 20051202:
10500 1) ACPI CA Core Subsystem:
10502 Modified the parsing of control methods to no longer create namespace 
10503 objects during the first pass of the parse. Objects are now created only 
10504 during the execute phase, at the moment the namespace creation operator 
10505 is 
10506 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) 
10507 This 
10508 should eliminate ALREADY_EXISTS exceptions seen on some machines where 
10509 reentrant control methods are protected by an AML mutex. The mutex will 
10510 now 
10511 correctly block multiple threads from attempting to create the same 
10512 object 
10513 more than once.
10515 Increased the number of available Owner Ids for namespace object tracking 
10516 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen 
10517 on 
10518 some machines with a large number of ACPI tables (either static or 
10519 dynamic).
10521 Fixed a problem with the AcpiExec utility where a fault could occur when 
10522 the 
10523 -b switch (batch mode) is used.
10525 Enhanced the namespace dump routine to output the owner ID for each 
10526 namespace object.
10528 Code and Data Size: The current and previous library sizes for the core 
10529 subsystem are shown below. These are the code and data sizes for the 
10530 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10531 These 
10532 values do not include any ACPI driver or OSPM code. The debug version of 
10533 the 
10534 code includes the debug output trace mechanism and has a much larger code 
10535 and data size. Note that these values will vary depending on the 
10536 efficiency 
10537 of the compiler and the compiler options used during generation.
10539   Previous Release:
10540     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10541     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10542   Current Release:
10543     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10544     Debug Version:     163.2K Code, 67.4K Data, 230.6K Total
10547 2) iASL Compiler/Disassembler:
10549 Fixed a parse error during compilation of certain Switch/Case constructs. 
10550 To 
10551 simplify the parse, the grammar now allows for multiple Default 
10552 statements 
10553 and this error is now detected and flagged during the analysis phase.
10555 Disassembler: The disassembly now includes the contents of the original 
10556 table header within a comment at the start of the file. This includes the 
10557 name and version of the original ASL compiler.
10559 ----------------------------------------
10560 17 November 2005. Summary of changes for version 20051117:
10562 1) ACPI CA Core Subsystem:
10564 Fixed a problem in the AML parser where the method thread count could be 
10565 decremented below zero if any errors occurred during the method parse 
10566 phase. 
10567 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some 
10568 machines. 
10569 This also fixed a related regression with the mechanism that detects and 
10570 corrects methods that cannot properly handle reentrancy (related to the 
10571 deployment of the new OwnerId mechanism.)
10573 Eliminated the pre-parsing of control methods (to detect errors) during 
10574 table load. Related to the problem above, this was causing unwind issues 
10575 if 
10576 any errors occurred during the parse, and it seemed to be overkill. A 
10577 table 
10578 load should not be aborted if there are problems with any single control 
10579 method, thus rendering this feature rather pointless.
10581 Fixed a problem with the new table-driven resource manager where an 
10582 internal 
10583 buffer overflow could occur for small resource templates.
10585 Implemented a new external interface, AcpiGetVendorResource. This 
10586 interface 
10587 will find and return a vendor-defined resource descriptor within a _CRS 
10588 or 
10589 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn 
10590 Helgaas.
10592 Removed the length limit (200) on string objects as per the upcoming ACPI 
10593 3.0A specification. This affects the following areas of the interpreter: 
10594 1) 
10595 any implicit conversion of a Buffer to a String, 2) a String object 
10596 result 
10597 of the ASL Concatentate operator, 3) the String object result of the ASL 
10598 ToString operator.
10600 Fixed a problem in the Windows OS interface layer (OSL) where a 
10601 WAIT_FOREVER 
10602 on a semaphore object would incorrectly timeout. This allows the 
10603 multithreading features of the AcpiExec utility to work properly under 
10604 Windows.
10606 Updated the Linux makefiles for the iASL compiler and AcpiExec to include 
10607 the recently added file named "utresrc.c".
10609 Code and Data Size: The current and previous library sizes for the core 
10610 subsystem are shown below. These are the code and data sizes for the 
10611 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10612 These 
10613 values do not include any ACPI driver or OSPM code. The debug version of 
10614 the 
10615 code includes the debug output trace mechanism and has a much larger code 
10616 and data size. Note that these values will vary depending on the 
10617 efficiency 
10618 of the compiler and the compiler options used during generation.
10620   Previous Release:
10621     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10622     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10623   Current Release:
10624     Non-Debug Version:  76.3K Code, 12.3K Data,  88.6K Total
10625     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10628 2) iASL Compiler/Disassembler:
10630 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A 
10631 specification. For the iASL compiler, this means that string literals 
10632 within 
10633 the source ASL can be of any length. 
10635 Enhanced the listing output to dump the AML code for resource descriptors 
10636 immediately after the ASL code for each descriptor, instead of in a block 
10637 at 
10638 the end of the entire resource template.
10640 Enhanced the compiler debug output to dump the entire original parse tree 
10641 constructed during the parse phase, before any transforms are applied to 
10642 the 
10643 tree. The transformed tree is dumped also.
10645 ----------------------------------------
10646 02 November 2005. Summary of changes for version 20051102:
10648 1) ACPI CA Core Subsystem:
10650 Modified the subsystem initialization sequence to improve GPE support. 
10651 The 
10652 GPE initialization has been split into two parts in order to defer 
10653 execution 
10654 of the _PRW methods (Power Resources for Wake) until after the hardware 
10655 is 
10656 fully initialized and the SCI handler is installed. This allows the _PRW 
10657 methods to access fields protected by the Global Lock. This will fix 
10658 systems 
10659 where a NO_GLOBAL_LOCK exception has been seen during initialization.
10661 Converted the ACPI internal object disassemble and display code within 
10662 the 
10663 AML debugger to fully table-driven operation, reducing code size and 
10664 increasing maintainability.
10666 Fixed a regression with the ConcatenateResTemplate() ASL operator 
10667 introduced 
10668 in the 20051021 release.
10670 Implemented support for "local" internal ACPI object types within the 
10671 debugger "Object" command and the AcpiWalkNamespace external interfaces. 
10672 These local types include RegionFields, BankFields, IndexFields, Alias, 
10673 and 
10674 reference objects.
10676 Moved common AML resource handling code into a new file, "utresrc.c". 
10677 This 
10678 code is shared by both the Resource Manager and the AML Debugger.
10680 Code and Data Size: The current and previous library sizes for the core 
10681 subsystem are shown below. These are the code and data sizes for the 
10682 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10683 These 
10684 values do not include any ACPI driver or OSPM code. The debug version of 
10685 the 
10686 code includes the debug output trace mechanism and has a much larger code 
10687 and data size. Note that these values will vary depending on the 
10688 efficiency 
10689 of the compiler and the compiler options used during generation.
10691   Previous Release:
10692     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10693     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10694   Current Release:
10695     Non-Debug Version:  76.2K Code, 12.3K Data,  88.5K Total
10696     Debug Version:     163.0K Code, 67.4K Data, 230.4K Total
10699 2) iASL Compiler/Disassembler:
10701 Fixed a problem with very large initializer lists (more than 4000 
10702 elements) 
10703 for both Buffer and Package objects where the parse stack could overflow.
10705 Enhanced the pre-compile source code scan for non-ASCII characters to 
10706 ignore 
10707 characters within comment fields. The scan is now always performed and is 
10708 no 
10709 longer optional, detecting invalid characters within a source file 
10710 immediately rather than during the parse phase or later.
10712 Enhanced the ASL grammar definition to force early reductions on all 
10713 list-
10714 style grammar elements so that the overall parse stack usage is greatly 
10715 reduced. This should improve performance and reduce the possibility of 
10716 parse 
10717 stack overflow.
10719 Eliminated all reduce/reduce conflicts in the iASL parser generation. 
10720 Also, 
10721 with the addition of a %expected statement, the compiler generates from 
10722 source with no warnings.
10724 Fixed a possible segment fault in the disassembler if the input filename 
10725 does not contain a "dot" extension (Thomas Renninger).
10727 ----------------------------------------
10728 21 October 2005. Summary of changes for version 20051021:
10730 1) ACPI CA Core Subsystem:
10732 Implemented support for the EM64T and other x86-64 processors. This 
10733 essentially entails recognizing that these processors support non-aligned 
10734 memory transfers. Previously, all 64-bit processors were assumed to lack 
10735 hardware support for non-aligned transfers.
10737 Completed conversion of the Resource Manager to nearly full table-driven 
10738 operation. Specifically, the resource conversion code (convert AML to 
10739 internal format and the reverse) and the debug code to dump internal 
10740 resource descriptors are fully table-driven, reducing code and data size 
10741 and 
10742 improving maintainability.
10744 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag 
10745 word 
10746 on 64-bit processors instead of a fixed 32-bit word. (With assistance 
10747 from 
10748 Alexey Starikovskiy)
10750 Implemented support within the resource conversion code for the Type-
10751 Specific byte within the various ACPI 3.0 *WordSpace macros.
10753 Fixed some issues within the resource conversion code for the type-
10754 specific 
10755 flags for both Memory and I/O address resource descriptors. For Memory, 
10756 implemented support for the MTP and TTP flags. For I/O, split the TRS and 
10757 TTP flags into two separate fields.
10759 Code and Data Size: The current and previous library sizes for the core 
10760 subsystem are shown below. These are the code and data sizes for the 
10761 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10762 These 
10763 values do not include any ACPI driver or OSPM code. The debug version of 
10764 the 
10765 code includes the debug output trace mechanism and has a much larger code 
10766 and data size. Note that these values will vary depending on the 
10767 efficiency 
10768 of the compiler and the compiler options used during generation.
10770   Previous Release:
10771     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10772     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10773   Current Release:
10774     Non-Debug Version:  76.1K Code, 12.2K Data,  88.3K Total
10775     Debug Version:     163.5K Code, 67.0K Data, 230.5K Total
10779 2) iASL Compiler/Disassembler:
10781 Relaxed a compiler restriction that disallowed a ResourceIndex byte if 
10782 the 
10783 corresponding ResourceSource string was not also present in a resource 
10784 descriptor declaration. This restriction caused problems with existing 
10785 AML/ASL code that includes the Index byte without the string. When such 
10786 AML 
10787 was disassembled, it could not be compiled without modification. Further, 
10788 the modified code created a resource template with a different size than 
10789 the 
10790 original, breaking code that used fixed offsets into the resource 
10791 template 
10792 buffer.
10794 Removed a recent feature of the disassembler to ignore a lone 
10795 ResourceIndex 
10796 byte. This byte is now emitted if present so that the exact AML can be 
10797 reproduced when the disassembled code is recompiled.
10799 Improved comments and text alignment for the resource descriptor code 
10800 emitted by the disassembler.
10802 Implemented disassembler support for the ACPI 3.0 AccessSize field within 
10804 Register() resource descriptor.
10806 ----------------------------------------
10807 30 September 2005. Summary of changes for version 20050930:
10809 1) ACPI CA Core Subsystem:
10811 Completed a major overhaul of the Resource Manager code - specifically, 
10812 optimizations in the area of the AML/internal resource conversion code. 
10813 The 
10814 code has been optimized to simplify and eliminate duplicated code, CPU 
10815 stack 
10816 use has been decreased by optimizing function parameters and local 
10817 variables, and naming conventions across the manager have been 
10818 standardized 
10819 for clarity and ease of maintenance (this includes function, parameter, 
10820 variable, and struct/typedef names.) The update may force changes in some 
10821 driver code, depending on how resources are handled by the host OS.
10823 All Resource Manager dispatch and information tables have been moved to a 
10824 single location for clarity and ease of maintenance. One new file was 
10825 created, named "rsinfo.c".
10827 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to 
10828 guarantee that the argument is not evaluated twice, making them less 
10829 prone 
10830 to macro side-effects. However, since there exists the possibility of 
10831 additional stack use if a particular compiler cannot optimize them (such 
10832 as 
10833 in the debug generation case), the original macros are optionally 
10834 available.  
10835 Note that some invocations of the return_VALUE macro may now cause size 
10836 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided 
10837 to 
10838 eliminate these. (From Randy Dunlap)
10840 Implemented a new mechanism to enable debug tracing for individual 
10841 control 
10842 methods. A new external interface, AcpiDebugTrace, is provided to enable 
10843 this mechanism. The intent is to allow the host OS to easily enable and 
10844 disable tracing for problematic control methods. This interface can be 
10845 easily exposed to a user or debugger interface if desired. See the file 
10846 psxface.c for details.
10848 AcpiUtCallocate will now return a valid pointer if a length of zero is 
10849 specified - a length of one is used and a warning is issued. This matches 
10850 the behavior of AcpiUtAllocate.
10852 Code and Data Size: The current and previous library sizes for the core 
10853 subsystem are shown below. These are the code and data sizes for the 
10854 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10855 These 
10856 values do not include any ACPI driver or OSPM code. The debug version of 
10857 the 
10858 code includes the debug output trace mechanism and has a much larger code 
10859 and data size. Note that these values will vary depending on the 
10860 efficiency 
10861 of the compiler and the compiler options used during generation.
10863   Previous Release:
10864     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10865     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10866   Current Release:
10867     Non-Debug Version:  77.1K Code, 12.1K Data,  89.2K Total
10868     Debug Version:     168.0K Code, 68.3K Data, 236.3K Total
10871 2) iASL Compiler/Disassembler:
10873 A remark is issued if the effective compile-time length of a package or 
10874 buffer is zero. Previously, this was a warning.
10876 ----------------------------------------
10877 16 September 2005. Summary of changes for version 20050916:
10879 1) ACPI CA Core Subsystem:
10881 Fixed a problem within the Resource Manager where support for the Generic 
10882 Register descriptor was not fully implemented. This descriptor is now 
10883 fully 
10884 recognized, parsed, disassembled, and displayed.
10886 Completely restructured the Resource Manager code to utilize table-driven 
10887 dispatch and lookup, eliminating many of the large switch() statements. 
10888 This 
10889 reduces overall subsystem code size and code complexity. Affects the 
10890 resource parsing and construction, disassembly, and debug dump output.
10892 Cleaned up and restructured the debug dump output for all resource 
10893 descriptors. Improved readability of the output and reduced code size.
10895 Fixed a problem where changes to internal data structures caused the 
10896 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10898 Code and Data Size: The current and previous library sizes for the core 
10899 subsystem are shown below. These are the code and data sizes for the 
10900 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. 
10901 These 
10902 values do not include any ACPI driver or OSPM code. The debug version of 
10903 the 
10904 code includes the debug output trace mechanism and has a much larger code 
10905 and data size. Note that these values will vary depending on the 
10906 efficiency 
10907 of the compiler and the compiler options used during generation.
10909   Previous Release:
10910     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
10911     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
10912   Current Release:
10913     Non-Debug Version:  77.5K Code, 12.0K Data,  89.5K Total
10914     Debug Version:     168.1K Code, 68.4K Data, 236.5K Total
10917 2) iASL Compiler/Disassembler:
10919 Updated the disassembler to automatically insert an EndDependentFn() 
10920 macro 
10921 into the ASL stream if this macro is missing in the original AML code, 
10922 simplifying compilation of the resulting ASL module.
10924 Fixed a problem in the disassembler where a disassembled ResourceSource 
10925 string (within a large resource descriptor) was not surrounded by quotes 
10926 and 
10927 not followed by a comma, causing errors when the resulting ASL module was 
10928 compiled. Also, escape sequences within a ResourceSource string are now 
10929 handled correctly (especially "\\")
10931 ----------------------------------------
10932 02 September 2005. Summary of changes for version 20050902:
10934 1) ACPI CA Core Subsystem:
10936 Fixed a problem with the internal Owner ID allocation and deallocation 
10937 mechanisms for control method execution and recursive method invocation. 
10938 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId" 
10939 messages seen on some systems. Recursive method invocation depth is 
10940 currently limited to 255. (Alexey Starikovskiy)
10942 Completely eliminated all vestiges of support for the "module-level 
10943 executable code" until this support is fully implemented and debugged. 
10944 This 
10945 should eliminate the NO_RETURN_VALUE exceptions seen during table load on 
10946 some systems that invoke this support.
10948 Fixed a problem within the resource manager code where the transaction 
10949 flags 
10950 for a 64-bit address descriptor were handled incorrectly in the type-
10951 specific flag byte.
10953 Consolidated duplicate code within the address descriptor resource 
10954 manager 
10955 code, reducing overall subsystem code size.
10957 Fixed a fault when using the AML debugger "disassemble" command to 
10958 disassemble individual control methods.
10960 Removed references to the "release_current" directory within the Unix 
10961 release package.
10963 Code and Data Size: The current and previous core subsystem library sizes 
10964 are shown below. These are the code and data sizes for the acpica.lib 
10965 produced by the Microsoft Visual C++ 6.0 compiler. These values do not 
10966 include any ACPI driver or OSPM code. The debug version of the code 
10967 includes 
10968 the debug output trace mechanism and has a much larger code and data 
10969 size. 
10970 Note that these values will vary depending on the efficiency of the 
10971 compiler 
10972 and the compiler options used during generation.
10974   Previous Release:
10975     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
10976     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
10977   Current Release:
10978     Non-Debug Version:  78.4K Code, 11.8K Data,  90.2K Total
10979     Debug Version:     169.6K Code, 69.9K Data, 239.5K Total
10982 2) iASL Compiler/Disassembler:
10984 Implemented an error check for illegal duplicate values in the interrupt 
10985 and 
10986 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and 
10987 Interrupt().
10989 Implemented error checking for the Irq() and IrqNoFlags() macros to 
10990 detect 
10991 too many values in the interrupt list (16 max) and invalid values in the 
10992 list (range 0 - 15)
10994 The maximum length string literal within an ASL file is now restricted to 
10995 200 characters as per the ACPI specification.
10997 Fixed a fault when using the -ln option (generate namespace listing).
10999 Implemented an error check to determine if a DescriptorName within a 
11000 resource descriptor has already been used within the current scope.
11002 ----------------------------------------
11003 15 August 2005.  Summary of changes for version 20050815:
11005 1) ACPI CA Core Subsystem:
11007 Implemented a full bytewise compare to determine if a table load request 
11008 is 
11009 attempting to load a duplicate table. The compare is performed if the 
11010 table 
11011 signatures and table lengths match. This will allow different tables with 
11012 the same OEM Table ID and revision to be loaded - probably against the 
11013 ACPI 
11014 specification, but discovered in the field nonetheless.
11016 Added the changes.txt logfile to each of the zipped release packages.
11018 Code and Data Size: Current and previous core subsystem library sizes are 
11019 shown below. These are the code and data sizes for the acpica.lib 
11020 produced 
11021 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11022 any ACPI driver or OSPM code. The debug version of the code includes the 
11023 debug output trace mechanism and has a much larger code and data size. 
11024 Note 
11025 that these values will vary depending on the efficiency of the compiler 
11026 and 
11027 the compiler options used during generation.
11029   Previous Release:
11030     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11031     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11032   Current Release:
11033     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11034     Debug Version:     170.0K Code, 69.9K Data, 239.9K Total
11037 2) iASL Compiler/Disassembler:
11039 Fixed a problem where incorrect AML code could be generated for Package 
11040 objects if optimization is disabled (via the -oa switch).
11042 Fixed a problem with where incorrect AML code is generated for variable-
11043 length packages when the package length is not specified and the number 
11044 of 
11045 initializer values is greater than 255.
11048 ----------------------------------------
11049 29 July 2005.  Summary of changes for version 20050729:
11051 1) ACPI CA Core Subsystem:
11053 Implemented support to ignore an attempt to install/load a particular 
11054 ACPI 
11055 table more than once. Apparently there exists BIOS code that repeatedly 
11056 attempts to load the same SSDT upon certain events. With assistance from 
11057 Venkatesh Pallipadi.
11059 Restructured the main interface to the AML parser in order to correctly 
11060 handle all exceptional conditions. This will prevent leakage of the 
11061 OwnerId 
11062 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on 
11063 some 
11064 machines. With assistance from Alexey Starikovskiy.
11066 Support for "module level code" has been disabled in this version due to 
11068 number of issues that have appeared on various machines. The support can 
11069 be 
11070 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem 
11071 compilation. When the issues are fully resolved, the code will be enabled 
11072 by 
11073 default again.
11075 Modified the internal functions for debug print support to define the 
11076 FunctionName parameter as a (const char *) for compatibility with 
11077 compiler 
11078 built-in macros such as __FUNCTION__, etc.
11080 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11082 Implemented support to display an object count summary for the AML 
11083 Debugger 
11084 commands Object and Methods.
11086 Code and Data Size: Current and previous core subsystem library sizes are 
11087 shown below. These are the code and data sizes for the acpica.lib 
11088 produced 
11089 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11090 any ACPI driver or OSPM code. The debug version of the code includes the 
11091 debug output trace mechanism and has a much larger code and data size. 
11092 Note 
11093 that these values will vary depending on the efficiency of the compiler 
11094 and 
11095 the compiler options used during generation.
11097   Previous Release:
11098     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11099     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11100   Current Release:
11101     Non-Debug Version:  78.6K Code, 11.7K Data,  90.3K Total
11102     Debug Version:     167.0K Code, 69.9K Data, 236.9K Total
11105 2) iASL Compiler/Disassembler:
11107 Fixed a regression that appeared in the 20050708 version of the compiler 
11108 where an error message was inadvertently emitted for invocations of the 
11109 _OSI 
11110 reserved control method.
11112 ----------------------------------------
11113 08 July 2005.  Summary of changes for version 20050708:
11115 1) ACPI CA Core Subsystem:
11117 The use of the CPU stack in the debug version of the subsystem has been 
11118 considerably reduced. Previously, a debug structure was declared in every 
11119 function that used the debug macros. This structure has been removed in 
11120 favor of declaring the individual elements as parameters to the debug 
11121 functions. This reduces the cumulative stack use during nested execution 
11122 of 
11123 ACPI function calls at the cost of a small increase in the code size of 
11124 the 
11125 debug version of the subsystem. With assistance from Alexey Starikovskiy 
11126 and 
11127 Len Brown.
11129 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent 
11130 headers to define a macro that will return the current function name at 
11131 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used 
11132 by 
11133 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the 
11134 compiler-dependent header, the function name is saved on the CPU stack 
11135 (one 
11136 pointer per function.) This mechanism is used because apparently there 
11137 exists no standard ANSI-C defined macro that that returns the function 
11138 name.
11140 Redesigned and reimplemented the "Owner ID" mechanism used to track 
11141 namespace objects created/deleted by ACPI tables and control method 
11142 execution. A bitmap is now used to allocate and free the IDs, thus 
11143 solving 
11144 the wraparound problem present in the previous implementation. The size 
11145 of 
11146 the namespace node descriptor was reduced by 2 bytes as a result (Alexey 
11147 Starikovskiy).
11149 Removed the UINT32_BIT and UINT16_BIT types that were used for the 
11150 bitfield 
11151 flag definitions within the headers for the predefined ACPI tables. These 
11152 have been replaced by UINT8_BIT in order to increase the code portability 
11153 of 
11154 the subsystem. If the use of UINT8 remains a problem, we may be forced to 
11155 eliminate bitfields entirely because of a lack of portability.
11157 Enhanced the performance of the AcpiUtUpdateObjectReference procedure. 
11158 This 
11159 is a frequently used function and this improvement increases the 
11160 performance 
11161 of the entire subsystem (Alexey Starikovskiy).
11163 Fixed several possible memory leaks and the inverse - premature object 
11164 deletion (Alexey Starikovskiy).
11166 Code and Data Size: Current and previous core subsystem library sizes are 
11167 shown below. These are the code and data sizes for the acpica.lib 
11168 produced 
11169 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11170 any ACPI driver or OSPM code. The debug version of the code includes the 
11171 debug output trace mechanism and has a much larger code and data size. 
11172 Note 
11173 that these values will vary depending on the efficiency of the compiler 
11174 and 
11175 the compiler options used during generation.
11177   Previous Release:
11178     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11179     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11180   Current Release:
11181     Non-Debug Version:  78.6K Code, 11.6K Data,  90.2K Total
11182     Debug Version:     170.0K Code, 69.7K Data, 239.7K Total
11184 ----------------------------------------
11185 24 June 2005.  Summary of changes for version 20050624:
11187 1) ACPI CA Core Subsystem:
11189 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for 
11190 the host-defined cache object. This allows the OSL implementation to 
11191 define 
11192 and type this object in any manner desired, simplifying the OSL 
11193 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for 
11194 Linux, and should be defined in the OS-specific header file for other 
11195 operating systems as required.
11197 Changed the interface to AcpiOsAcquireObject to directly return the 
11198 requested object as the function return (instead of ACPI_STATUS.) This 
11199 change was made for performance reasons, since this is the purpose of the 
11200 interface in the first place. AcpiOsAcquireObject is now similar to the 
11201 AcpiOsAllocate interface.
11203 Implemented a new AML debugger command named Businfo. This command 
11204 displays 
11205 information about all devices that have an associate _PRT object. The 
11206 _ADR, 
11207 _HID, _UID, and _CID are displayed for these devices.
11209 Modified the initialization sequence in AcpiInitializeSubsystem to call 
11210 the 
11211 OSL interface AcpiOslInitialize first, before any local initialization. 
11212 This 
11213 change was required because the global initialization now calls OSL 
11214 interfaces.
11216 Enhanced the Dump command to display the entire contents of Package 
11217 objects 
11218 (including all sub-objects and their values.) 
11220 Restructured the code base to split some files because of size and/or 
11221 because the code logically belonged in a separate file. New files are 
11222 listed 
11223 below. All makefiles and project files included in the ACPI CA release 
11224 have 
11225 been updated.
11226     utilities/utcache.c           /* Local cache interfaces */
11227     utilities/utmutex.c           /* Local mutex support */
11228     utilities/utstate.c           /* State object support */
11229     interpreter/parser/psloop.c   /* Main AML parse loop */
11231 Code and Data Size: Current and previous core subsystem library sizes are 
11232 shown below. These are the code and data sizes for the acpica.lib 
11233 produced 
11234 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11235 any ACPI driver or OSPM code. The debug version of the code includes the 
11236 debug output trace mechanism and has a much larger code and data size. 
11237 Note 
11238 that these values will vary depending on the efficiency of the compiler 
11239 and 
11240 the compiler options used during generation.
11242   Previous Release:
11243     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11244     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11245   Current Release:
11246     Non-Debug Version:  78.6K Code, 11.5K Data,  90.1K Total
11247     Debug Version:     165.2K Code, 69.6K Data, 234.8K Total
11250 2) iASL Compiler/Disassembler:
11252 Fixed a regression introduced in version 20050513 where the use of a 
11253 Package 
11254 object within a Case() statement caused a compile time exception. The 
11255 original behavior has been restored (a Match() operator is emitted.)
11257 ----------------------------------------
11258 17 June 2005.  Summary of changes for version 20050617:
11260 1) ACPI CA Core Subsystem:
11262 Moved the object cache operations into the OS interface layer (OSL) to 
11263 allow 
11264 the host OS to handle these operations if desired (for example, the Linux 
11265 OSL will invoke the slab allocator). This support is optional; the 
11266 compile 
11267 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original 
11268 cache 
11269 code in the ACPI CA core. The new OSL interfaces are shown below. See 
11270 utalloc.c for an example implementation, and acpiosxf.h for the exact 
11271 interface definitions. With assistance from Alexey Starikovskiy.
11272     AcpiOsCreateCache
11273     AcpiOsDeleteCache
11274     AcpiOsPurgeCache
11275     AcpiOsAcquireObject
11276     AcpiOsReleaseObject
11278 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to 
11279 return 
11280 and restore a flags parameter. This fits better with many OS lock models. 
11281 Note: the current execution state (interrupt handler or not) is no longer 
11282 passed to these interfaces. If necessary, the OSL must determine this 
11283 state 
11284 by itself, a simple and fast operation. With assistance from Alexey 
11285 Starikovskiy.
11287 Fixed a problem in the ACPI table handling where a valid XSDT was assumed 
11288 present if the revision of the RSDP was 2 or greater. According to the 
11289 ACPI 
11290 specification, the XSDT is optional in all cases, and the table manager 
11291 therefore now checks for both an RSDP >=2 and a valid XSDT pointer. 
11292 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs 
11293 contain 
11294 only the RSDT.
11296 Fixed an interpreter problem with the Mid() operator in the case of an 
11297 input 
11298 string where the resulting output string is of zero length. It now 
11299 correctly 
11300 returns a valid, null terminated string object instead of a string object 
11301 with a null pointer.
11303 Fixed a problem with the control method argument handling to allow a 
11304 store 
11305 to an Arg object that already contains an object of type Device. The 
11306 Device 
11307 object is now correctly overwritten. Previously, an error was returned.
11310 Enhanced the debugger Find command to emit object values in addition to 
11311 the 
11312 found object pathnames. The output format is the same as the dump 
11313 namespace 
11314 command.
11316 Enhanced the debugger Set command. It now has the ability to set the 
11317 value 
11318 of any Named integer object in the namespace (Previously, only method 
11319 locals 
11320 and args could be set.)
11322 Code and Data Size: Current and previous core subsystem library sizes are 
11323 shown below. These are the code and data sizes for the acpica.lib 
11324 produced 
11325 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11326 any ACPI driver or OSPM code. The debug version of the code includes the 
11327 debug output trace mechanism and has a much larger code and data size. 
11328 Note 
11329 that these values will vary depending on the efficiency of the compiler 
11330 and 
11331 the compiler options used during generation.
11333   Previous Release:
11334     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11335     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11336   Current Release:
11337     Non-Debug Version:  78.3K Code, 11.6K Data,  89.9K Total
11338     Debug Version:     164.0K Code, 69.1K Data, 233.1K Total
11341 2) iASL Compiler/Disassembler:
11343 Fixed a regression in the disassembler where if/else/while constructs 
11344 were 
11345 output incorrectly. This problem was introduced in the previous release 
11346 (20050526). This problem also affected the single-step disassembly in the 
11347 debugger.
11349 Fixed a problem where compiling the reserved _OSI method would randomly 
11350 (but 
11351 rarely) produce compile errors.
11353 Enhanced the disassembler to emit compilable code in the face of 
11354 incorrect 
11355 AML resource descriptors. If the optional ResourceSourceIndex is present, 
11356 but the ResourceSource is not, do not emit the ResourceSourceIndex in the 
11357 disassembly. Otherwise, the resulting code cannot be compiled without 
11358 errors.
11360 ----------------------------------------
11361 26 May 2005.  Summary of changes for version 20050526:
11363 1) ACPI CA Core Subsystem:
11365 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at 
11366 the module level (not within a control method.) These opcodes are 
11367 executed 
11368 exactly once at the time the table is loaded. This type of code was legal 
11369 up 
11370 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA 
11371 in 
11372 order to provide backwards compatibility with earlier BIOS 
11373 implementations. 
11374 This eliminates the "Encountered executable code at module level" warning 
11375 that was previously generated upon detection of such code.
11377 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could 
11378 inadvertently be generated during the lookup of namespace objects in the 
11379 second pass parse of ACPI tables and control methods. It appears that 
11380 this 
11381 problem could occur during the resolution of forward references to 
11382 namespace 
11383 objects.
11385 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function, 
11386 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This 
11387 allows the deadlock detection debug code to be compiled out in the normal 
11388 case, improving mutex performance (and overall subsystem performance) 
11389 considerably.
11391 Implemented a handful of miscellaneous fixes for possible memory leaks on 
11392 error conditions and error handling control paths. These fixes were 
11393 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11395 Added a check for a null RSDT pointer in AcpiGetFirmwareTable 
11396 (tbxfroot.c) 
11397 to prevent a fault in this error case.
11399 Code and Data Size: Current and previous core subsystem library sizes are 
11400 shown below. These are the code and data sizes for the acpica.lib 
11401 produced 
11402 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11403 any ACPI driver or OSPM code. The debug version of the code includes the 
11404 debug output trace mechanism and has a much larger code and data size. 
11405 Note 
11406 that these values will vary depending on the efficiency of the compiler 
11407 and 
11408 the compiler options used during generation.
11410   Previous Release:
11411     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11412     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11413   Current Release:
11414     Non-Debug Version:  78.1K Code, 11.6K Data,  89.7K Total
11415     Debug Version:     164.0K Code, 69.3K Data, 233.3K Total
11418 2) iASL Compiler/Disassembler:
11420 Implemented support to allow Type 1 and Type 2 ASL operators to appear at 
11421 the module level (not within a control method.) These operators will be 
11422 executed once at the time the table is loaded. This type of code was 
11423 legal 
11424 up until the release of ACPI 2.0B (2002) and is now supported by the iASL 
11425 compiler in order to provide backwards compatibility with earlier BIOS 
11426 ASL 
11427 code.
11429 The ACPI integer width (specified via the table revision ID or the -r 
11430 override, 32 or 64 bits) is now used internally during compile-time 
11431 constant 
11432 folding to ensure that constants are truncated to 32 bits if necessary. 
11433 Previously, the revision ID value was only emitted in the AML table 
11434 header.
11436 An error message is now generated for the Mutex and Method operators if 
11437 the 
11438 SyncLevel parameter is outside the legal range of 0 through 15.
11440 Fixed a problem with the Method operator ParameterTypes list handling 
11441 (ACPI 
11442 3.0). Previously, more than 2 types or 2 arguments generated a syntax 
11443 error.  
11444 The actual underlying implementation of method argument typechecking is 
11445 still under development, however.
11447 ----------------------------------------
11448 13 May 2005.  Summary of changes for version 20050513:
11450 1) ACPI CA Core Subsystem:
11452 Implemented support for PCI Express root bridges -- added support for 
11453 device 
11454 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11456 The interpreter now automatically truncates incoming 64-bit constants to 
11457 32 
11458 bits if currently executing out of a 32-bit ACPI table (Revision < 2). 
11459 This 
11460 also affects the iASL compiler constant folding. (Note: as per below, the 
11461 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11463 Fixed a problem where string and buffer objects with "static" pointers 
11464 (pointers to initialization data within an ACPI table) were not handled 
11465 consistently. The internal object copy operation now always copies the 
11466 data 
11467 to a newly allocated buffer, regardless of whether the source object is 
11468 static or not.
11470 Fixed a problem with the FromBCD operator where an implicit result 
11471 conversion was improperly performed while storing the result to the 
11472 target 
11473 operand. Since this is an "explicit conversion" operator, the implicit 
11474 conversion should never be performed on the output.
11476 Fixed a problem with the CopyObject operator where a copy to an existing 
11477 named object did not always completely overwrite the existing object 
11478 stored 
11479 at name. Specifically, a buffer-to-buffer copy did not delete the 
11480 existing 
11481 buffer.
11483 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces 
11484 and 
11485 structs for consistency.
11487 Code and Data Size: Current and previous core subsystem library sizes are 
11488 shown below. These are the code and data sizes for the acpica.lib 
11489 produced 
11490 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11491 any ACPI driver or OSPM code. The debug version of the code includes the 
11492 debug output trace mechanism and has a much larger code and data size. 
11493 Note 
11494 that these values will vary depending on the efficiency of the compiler 
11495 and 
11496 the compiler options used during generation.
11498   Previous Release:
11499     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11500     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11501   Current Release: (Same sizes)
11502     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11503     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11506 2) iASL Compiler/Disassembler:
11508 The compiler now emits a warning if an attempt is made to generate a 64-
11509 bit 
11510 integer constant from within a 32-bit ACPI table (Revision < 2). The 
11511 integer 
11512 is truncated to 32 bits.
11514 Fixed a problem with large package objects: if the static length of the 
11515 package is greater than 255, the "variable length package" opcode is 
11516 emitted. Previously, this caused an error. This requires an update to the 
11517 ACPI spec, since it currently (incorrectly) states that packages larger 
11518 than 
11519 255 elements are not allowed.
11521 The disassembler now correctly handles variable length packages and 
11522 packages 
11523 larger than 255 elements.
11525 ----------------------------------------
11526 08 April 2005.  Summary of changes for version 20050408:
11528 1) ACPI CA Core Subsystem:
11530 Fixed three cases in the interpreter where an "index" argument to an ASL 
11531 function was still (internally) 32 bits instead of the required 64 bits. 
11532 This was the Index argument to the Index, Mid, and Match operators.
11534 The "strupr" function is now permanently local (AcpiUtStrupr), since this 
11535 is 
11536 not a POSIX-defined function and not present in most kernel-level C 
11537 libraries. All references to the C library strupr function have been 
11538 removed 
11539 from the headers.
11541 Completed the deployment of static functions/prototypes. All prototypes 
11542 with 
11543 the static attribute have been moved from the headers to the owning C 
11544 file.
11546 Implemented an extract option (-e) for the AcpiBin utility (AML binary 
11547 utility). This option allows the utility to extract individual ACPI 
11548 tables 
11549 from the output of AcpiDmp. It provides the same functionality of the 
11550 acpixtract.pl perl script without the worry of setting the correct perl 
11551 options. AcpiBin runs on Windows and has not yet been generated/validated 
11552 in 
11553 the Linux/Unix environment (but should be soon).
11555 Updated and fixed the table dump option for AcpiBin (-d). This option 
11556 converts a single ACPI table to a hex/ascii file, similar to the output 
11557 of 
11558 AcpiDmp.
11560 Code and Data Size: Current and previous core subsystem library sizes are 
11561 shown below. These are the code and data sizes for the acpica.lib 
11562 produced 
11563 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11564 any ACPI driver or OSPM code. The debug version of the code includes the 
11565 debug output trace mechanism and has a much larger code and data size. 
11566 Note 
11567 that these values will vary depending on the efficiency of the compiler 
11568 and 
11569 the compiler options used during generation.
11571   Previous Release:
11572     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11573     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11574   Current Release:
11575     Non-Debug Version:  78.2K Code, 11.6K Data,  89.8K Total
11576     Debug Version:     163.7K Code, 69.3K Data, 233.0K Total
11579 2) iASL Compiler/Disassembler:
11581 Disassembler fix: Added a check to ensure that the table length found in 
11582 the 
11583 ACPI table header within the input file is not longer than the actual 
11584 input 
11585 file size. This indicates some kind of file or table corruption.
11587 ----------------------------------------
11588 29 March 2005.  Summary of changes for version 20050329:
11590 1) ACPI CA Core Subsystem:
11592 An error is now generated if an attempt is made to create a Buffer Field 
11593 of 
11594 length zero (A CreateField with a length operand of zero.)
11596 The interpreter now issues a warning whenever executable code at the 
11597 module 
11598 level is detected during ACPI table load. This will give some idea of the 
11599 prevalence of this type of code.
11601 Implemented support for references to named objects (other than control 
11602 methods) within package objects.
11604 Enhanced package object output for the debug object. Package objects are 
11605 now 
11606 completely dumped, showing all elements.
11608 Enhanced miscellaneous object output for the debug object. Any object can 
11609 now be written to the debug object (for example, a device object can be 
11610 written, and the type of the object will be displayed.)
11612 The "static" qualifier has been added to all local functions across both 
11613 the 
11614 core subsystem and the iASL compiler.
11616 The number of "long" lines (> 80 chars) within the source has been 
11617 significantly reduced, by about 1/3.
11619 Cleaned up all header files to ensure that all CA/iASL functions are 
11620 prototyped (even static functions) and the formatting is consistent.
11622 Two new header files have been added, acopcode.h and acnames.h.
11624 Removed several obsolete functions that were no longer used.
11626 Code and Data Size: Current and previous core subsystem library sizes are 
11627 shown below. These are the code and data sizes for the acpica.lib 
11628 produced 
11629 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11630 any ACPI driver or OSPM code. The debug version of the code includes the 
11631 debug output trace mechanism and has a much larger code and data size. 
11632 Note 
11633 that these values will vary depending on the efficiency of the compiler 
11634 and 
11635 the compiler options used during generation.
11637   Previous Release:
11638     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11639     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11640   Current Release:
11641     Non-Debug Version:  78.0K Code, 11.6K Data,  89.6K Total
11642     Debug Version:     163.5K Code, 69.3K Data, 232.8K Total
11646 2) iASL Compiler/Disassembler:
11648 Fixed a problem with the resource descriptor generation/support. For the 
11649 ResourceSourceIndex and the ResourceSource fields, both must be present, 
11650 or 
11651 both must be not present - can't have one without the other.
11653 The compiler now returns non-zero from the main procedure if any errors 
11654 have 
11655 occurred during the compilation.
11658 ----------------------------------------
11659 09 March 2005.  Summary of changes for version 20050309:
11661 1) ACPI CA Core Subsystem:
11663 The string-to-buffer implicit conversion code has been modified again 
11664 after 
11665 a change to the ACPI specification.  In order to match the behavior of 
11666 the 
11667 other major ACPI implementation, the target buffer is no longer truncated 
11668 if 
11669 the source string is smaller than an existing target buffer. This change 
11670 requires an update to the ACPI spec, and should eliminate the recent 
11671 AE_AML_BUFFER_LIMIT issues.
11673 The "implicit return" support was rewritten to a new algorithm that 
11674 solves 
11675 the general case. Rather than attempt to determine when a method is about 
11676 to 
11677 exit, the result of every ASL operator is saved momentarily until the 
11678 very 
11679 next ASL operator is executed. Therefore, no matter how the method exits, 
11680 there will always be a saved implicit return value. This feature is only 
11681 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should 
11682 eliminate 
11683 AE_AML_NO_RETURN_VALUE errors when enabled.
11685 Implemented implicit conversion support for the predicate (operand) of 
11686 the 
11687 If, Else, and While operators. String and Buffer arguments are 
11688 automatically 
11689 converted to Integers.
11691 Changed the string-to-integer conversion behavior to match the new ACPI 
11692 errata: "If no integer object exists, a new integer is created. The ASCII 
11693 string is interpreted as a hexadecimal constant. Each string character is 
11694 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting 
11695 with the first character as the most significant digit, and ending with 
11696 the 
11697 first non-hexadecimal character or end-of-string." This means that the 
11698 first 
11699 non-hex character terminates the conversion and this is the code that was 
11700 changed.
11702 Fixed a problem where the ObjectType operator would fail (fault) when 
11703 used 
11704 on an Index of a Package which pointed to a null package element. The 
11705 operator now properly returns zero (Uninitialized) in this case.
11707 Fixed a problem where the While operator used excessive memory by not 
11708 properly popping the result stack during execution. There was no memory 
11709 leak 
11710 after execution, however. (Code provided by Valery Podrezov.)
11712 Fixed a problem where references to control methods within Package 
11713 objects 
11714 caused the method to be invoked, instead of producing a reference object 
11715 pointing to the method.
11717 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) 
11718 to 
11719 improve performance and reduce code size. (Code provided by Alexey 
11720 Starikovskiy.)
11722 Code and Data Size: Current and previous core subsystem library sizes are 
11723 shown below. These are the code and data sizes for the acpica.lib 
11724 produced 
11725 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11726 any ACPI driver or OSPM code. The debug version of the code includes the 
11727 debug output trace mechanism and has a much larger code and data size. 
11728 Note 
11729 that these values will vary depending on the efficiency of the compiler 
11730 and 
11731 the compiler options used during generation.
11733   Previous Release:
11734     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11735     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11736   Current Release:
11737     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11738     Debug Version:     165.4K Code, 69.7K Data, 236.1K Total
11741 2) iASL Compiler/Disassembler:
11743 Fixed a problem with the Return operator with no arguments. Since the AML 
11744 grammar for the byte encoding requires an operand for the Return opcode, 
11745 the 
11746 compiler now emits a Return(Zero) for this case.  An ACPI specification 
11747 update has been written for this case.
11749 For tables other than the DSDT, namepath optimization is automatically 
11750 disabled. This is because SSDTs can be loaded anywhere in the namespace, 
11751 the 
11752 compiler has no knowledge of where, and thus cannot optimize namepaths.
11754 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was 
11755 inadvertently omitted from the ACPI specification, and will require an 
11756 update to the spec.
11758 The source file scan for ASCII characters is now optional (-a). This 
11759 change 
11760 was made because some vendors place non-ascii characters within comments. 
11761 However, the scan is simply a brute-force byte compare to ensure all 
11762 characters in the file are in the range 0x00 to 0x7F.
11764 Fixed a problem with the CondRefOf operator where the compiler was 
11765 inappropriately checking for the existence of the target. Since the point 
11766 of 
11767 the operator is to check for the existence of the target at run-time, the 
11768 compiler no longer checks for the target existence.
11770 Fixed a problem where errors generated from the internal AML interpreter 
11771 during constant folding were not handled properly, causing a fault.
11773 Fixed a problem with overly aggressive range checking for the Stall 
11774 operator. The valid range (max 255) is now only checked if the operand is 
11775 of 
11776 type Integer. All other operand types cannot be statically checked.
11778 Fixed a problem where control method references within the RefOf, 
11779 DeRefOf, 
11780 and ObjectType operators were not treated properly. They are now treated 
11781 as 
11782 actual references, not method invocations.
11784 Fixed and enhanced the "list namespace" option (-ln). This option was 
11785 broken 
11786 a number of releases ago.
11788 Improved error handling for the Field, IndexField, and BankField 
11789 operators. 
11790 The compiler now cleanly reports and recovers from errors in the field 
11791 component (FieldUnit) list.
11793 Fixed a disassembler problem where the optional ResourceDescriptor fields 
11794 TRS and TTP were not always handled correctly.
11796 Disassembler - Comments in output now use "//" instead of "/*"
11798 ----------------------------------------
11799 28 February 2005.  Summary of changes for version 20050228:
11801 1) ACPI CA Core Subsystem:
11803 Fixed a problem where the result of an Index() operator (an object 
11804 reference) must increment the reference count on the target object for 
11805 the 
11806 life of the object reference.
11808 Implemented AML Interpreter and Debugger support for the new ACPI 3.0 
11809 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and 
11810 WordSpace 
11811 resource descriptors.
11813 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address 
11814 Space Descriptor" string, indicating interpreter support for the 
11815 descriptors 
11816 above.
11818 Implemented header support for the new ACPI 3.0 FADT flag bits.
11820 Implemented header support for the new ACPI 3.0 PCI Express bits for the 
11821 PM1 
11822 status/enable registers.
11824 Updated header support for the MADT processor local Apic struct and MADT 
11825 platform interrupt source struct for new ACPI 3.0 fields.
11827 Implemented header support for the SRAT and SLIT ACPI tables.
11829 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack" 
11830 flag 
11831 at runtime.
11833 Code and Data Size: Current and previous core subsystem library sizes are 
11834 shown below. These are the code and data sizes for the acpica.lib 
11835 produced 
11836 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11837 any ACPI driver or OSPM code. The debug version of the code includes the 
11838 debug output trace mechanism and has a much larger code and data size. 
11839 Note 
11840 that these values will vary depending on the efficiency of the compiler 
11841 and 
11842 the compiler options used during generation.
11844   Previous Release:
11845     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11846     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11847   Current Release:
11848     Non-Debug Version:  78.3K Code, 11.5K Data,  89.8K Total
11849     Debug Version:     165.4K Code, 69.6K Data, 236.0K Total
11852 2) iASL Compiler/Disassembler:
11854 Fixed a problem with the internal 64-bit String-to-integer conversion 
11855 with 
11856 strings less than two characters long.
11858 Fixed a problem with constant folding where the result of the Index() 
11859 operator can not be considered a constant. This means that Index() cannot 
11860 be 
11861 a type3 opcode and this will require an update to the ACPI specification.
11863 Disassembler: Implemented support for the TTP, MTP, and TRS resource 
11864 descriptor fields. These fields were inadvertently ignored and not output 
11865 in 
11866 the disassembly of the resource descriptor.
11869  ----------------------------------------
11870 11 February 2005.  Summary of changes for version 20050211:
11872 1) ACPI CA Core Subsystem:
11874 Implemented ACPI 3.0 support for implicit conversion within the Match() 
11875 operator. MatchObjects can now be of type integer, buffer, or string 
11876 instead 
11877 of just type integer.  Package elements are implicitly converted to the 
11878 type 
11879 of the MatchObject. This change aligns the behavior of Match() with the 
11880 behavior of the other logical operators (LLess(), etc.) It also requires 
11881 an 
11882 errata change to the ACPI specification as this support was intended for 
11883 ACPI 3.0, but was inadvertently omitted.
11885 Fixed a problem with the internal implicit "to buffer" conversion. 
11886 Strings 
11887 that are converted to buffers will cause buffer truncation if the string 
11888 is 
11889 smaller than the target buffer. Integers that are converted to buffers 
11890 will 
11891 not cause buffer truncation, only zero extension (both as per the ACPI 
11892 spec.) The problem was introduced when code was added to truncate the 
11893 buffer, but this should not be performed in all cases, only the string 
11894 case.
11896 Fixed a problem with the Buffer and Package operators where the 
11897 interpreter 
11898 would get confused if two such operators were used as operands to an ASL 
11899 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result 
11900 stack was not being popped after the execution of these operators, 
11901 resulting 
11902 in an AE_NO_RETURN_VALUE exception.
11904 Fixed a problem with constructs of the form Store(Index(...),...). The 
11905 reference object returned from Index was inadvertently resolved to an 
11906 actual 
11907 value. This problem was introduced in version 20050114 when the behavior 
11908 of 
11909 Store() was modified to restrict the object types that can be used as the 
11910 source operand (to match the ACPI specification.)
11912 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
11914 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
11916 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
11918 Code and Data Size: Current and previous core subsystem library sizes are 
11919 shown below. These are the code and data sizes for the acpica.lib 
11920 produced 
11921 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11922 any ACPI driver or OSPM code. The debug version of the code includes the 
11923 debug output trace mechanism and has a much larger code and data size. 
11924 Note 
11925 that these values will vary depending on the efficiency of the compiler 
11926 and 
11927 the compiler options used during generation.
11929   Previous Release:
11930     Non-Debug Version:  78.1K Code, 11.5K Data,  89.6K Total
11931     Debug Version:     164.8K Code, 69.2K Data, 234.0K Total
11932   Current Release:
11933     Non-Debug Version:  78.2K Code, 11.5K Data,  89.7K Total
11934     Debug Version:     164.9K Code, 69.2K Data, 234.1K Total
11937 2) iASL Compiler/Disassembler:
11939 Fixed a code generation problem in the constant folding optimization code 
11940 where incorrect code was generated if a constant was reduced to a buffer 
11941 object (i.e., a reduced type 5 opcode.)
11943 Fixed a typechecking problem for the ToBuffer operator. Caused by an 
11944 incorrect return type in the internal opcode information table.
11946 ----------------------------------------
11947 25 January 2005.  Summary of changes for version 20050125:
11949 1) ACPI CA Core Subsystem:
11951 Fixed a recently introduced problem with the Global Lock where the 
11952 underlying semaphore was not created.  This problem was introduced in 
11953 version 20050114, and caused an AE_AML_NO_OPERAND exception during an 
11954 Acquire() operation on _GL.
11956 The local object cache is now optional, and is disabled by default. Both 
11957 AcpiExec and the iASL compiler enable the cache because they run in user 
11958 mode and this enhances their performance. #define 
11959 ACPI_ENABLE_OBJECT_CACHE 
11960 to enable the local cache.
11962 Fixed an issue in the internal function AcpiUtEvaluateObject concerning 
11963 the 
11964 optional "implicit return" support where an error was returned if no 
11965 return 
11966 object was expected, but one was implicitly returned. AE_OK is now 
11967 returned 
11968 in this case and the implicitly returned object is deleted. 
11969 AcpiUtEvaluateObject is only occasionally used, and only to execute 
11970 reserved 
11971 methods such as _STA and _INI where the return type is known up front.
11973 Fixed a few issues with the internal convert-to-integer code. It now 
11974 returns 
11975 an error if an attempt is made to convert a null string, a string of only 
11976 blanks/tabs, or a zero-length buffer. This affects both implicit 
11977 conversion 
11978 and explicit conversion via the ToInteger() operator.
11980 The internal debug code in AcpiUtAcquireMutex has been commented out. It 
11981 is 
11982 not needed for normal operation and should increase the performance of 
11983 the 
11984 entire subsystem. The code remains in case it is needed for debug 
11985 purposes 
11986 again.
11988 The AcpiExec source and makefile are included in the Unix/Linux package 
11989 for 
11990 the first time.
11992 Code and Data Size: Current and previous core subsystem library sizes are 
11993 shown below. These are the code and data sizes for the acpica.lib 
11994 produced 
11995 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
11996 any ACPI driver or OSPM code. The debug version of the code includes the 
11997 debug output trace mechanism and has a much larger code and data size. 
11998 Note 
11999 that these values will vary depending on the efficiency of the compiler 
12000 and 
12001 the compiler options used during generation.
12003   Previous Release:
12004     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12005     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12006   Current Release:
12007     Non-Debug Version:  78.1K Code,  11.5K Data,   89.6K Total
12008     Debug Version:     164.8K Code,  69.2K Data,  234.0K Total
12010 2) iASL Compiler/Disassembler:
12012 Switch/Case support: A warning is now issued if the type of the Switch 
12013 value 
12014 cannot be determined at compile time. For example, Switch(Arg0) will 
12015 generate the warning, and the type is assumed to be an integer. As per 
12016 the 
12017 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate 
12018 the 
12019 warning.
12021 Switch/Case support: Implemented support for buffer and string objects as 
12022 the switch value.  This is an ACPI 3.0 feature, now that LEqual supports 
12023 buffers and strings.
12025 Switch/Case support: The emitted code for the LEqual() comparisons now 
12026 uses 
12027 the switch value as the first operand, not the second. The case value is 
12028 now 
12029 the second operand, and this allows the case value to be implicitly 
12030 converted to the type of the switch value, not the other way around.
12032 Switch/Case support: Temporary variables are now emitted immediately 
12033 within 
12034 the control method, not at the global level. This means that there are 
12035 now 
12036 36 temps available per-method, not 36 temps per-module as was the case 
12037 with 
12038 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12040 ----------------------------------------
12041 14 January 2005.  Summary of changes for version 20050114:
12043 Added 2005 copyright to all module headers.  This affects every module in 
12044 the core subsystem, iASL compiler, and the utilities.
12046 1) ACPI CA Core Subsystem:
12048 Fixed an issue with the String-to-Buffer conversion code where the string 
12049 null terminator was not included in the buffer after conversion, but 
12050 there 
12051 is existing ASL that assumes the string null terminator is included. This 
12052 is 
12053 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was 
12054 introduced in the previous version when the code was updated to correctly 
12055 set the converted buffer size as per the ACPI specification. The ACPI 
12056 spec 
12057 is ambiguous and will be updated to specify that the null terminator must 
12058 be 
12059 included in the converted buffer. This also affects the ToBuffer() ASL 
12060 operator.
12062 Fixed a problem with the Mid() ASL/AML operator where it did not work 
12063 correctly on Buffer objects. Newly created sub-buffers were not being 
12064 marked 
12065 as initialized.
12068 Fixed a problem in AcpiTbFindTable where incorrect string compares were 
12069 performed on the OemId and OemTableId table header fields.  These fields 
12070 are 
12071 not null terminated, so strncmp is now used instead of strcmp.
12073 Implemented a restriction on the Store() ASL/AML operator to align the 
12074 behavior with the ACPI specification.  Previously, any object could be 
12075 used 
12076 as the source operand.  Now, the only objects that may be used are 
12077 Integers, 
12078 Buffers, Strings, Packages, Object References, and DDB Handles.  If 
12079 necessary, the original behavior can be restored by enabling the 
12080 EnableInterpreterSlack flag.
12082 Enhanced the optional "implicit return" support to allow an implicit 
12083 return 
12084 value from methods that are invoked externally via the AcpiEvaluateObject 
12085 interface.  This enables implicit returns from the _STA and _INI methods, 
12086 for example.
12088 Changed the Revision() ASL/AML operator to return the current version of 
12089 the 
12090 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly 
12091 returned 
12092 the supported ACPI version (This is the function of the _REV method).
12094 Updated the _REV predefined method to return the currently supported 
12095 version 
12096 of ACPI, now 3.
12098 Implemented batch mode option for the AcpiExec utility (-b).
12100 Code and Data Size: Current and previous core subsystem library sizes are 
12101 shown below. These are the code and data sizes for the acpica.lib 
12102 produced 
12103 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12104 any ACPI driver or OSPM code. The debug version of the code includes the 
12105 debug output trace mechanism and has a much larger code and data size. 
12106 Note 
12107 that these values will vary depending on the efficiency of the compiler 
12108 and 
12109 the compiler options used during generation.
12111   Previous Release:
12112     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12113     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12114   Current Release:
12115     Non-Debug Version:  78.4K Code,  11.5K Data,   89.9K Total
12116     Debug Version:     165.4K Code,  69.4K Data,  234.8K Total
12118 ----------------------------------------
12119 10 December 2004.  Summary of changes for version 20041210:
12121 ACPI 3.0 support is nearing completion in both the iASL compiler and the 
12122 ACPI CA core subsystem.
12124 1) ACPI CA Core Subsystem:
12126 Fixed a problem in the ToDecimalString operator where the resulting 
12127 string 
12128 length was incorrectly calculated. The length is now calculated exactly, 
12129 eliminating incorrect AE_STRING_LIMIT exceptions.
12131 Fixed a problem in the ToHexString operator to allow a maximum 200 
12132 character 
12133 string to be produced.
12135 Fixed a problem in the internal string-to-buffer and buffer-to-buffer 
12136 copy 
12137 routine where the length of the resulting buffer was not truncated to the 
12138 new size (if the target buffer already existed).
12140 Code and Data Size: Current and previous core subsystem library sizes are 
12141 shown below. These are the code and data sizes for the acpica.lib 
12142 produced 
12143 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12144 any ACPI driver or OSPM code. The debug version of the code includes the 
12145 debug output trace mechanism and has a much larger code and data size. 
12146 Note 
12147 that these values will vary depending on the efficiency of the compiler 
12148 and 
12149 the compiler options used during generation.
12151   Previous Release:
12152     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12153     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12154   Current Release:
12155     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12156     Debug Version:     165.3K Code,  69.4K Data,  234.7K Total
12159 2) iASL Compiler/Disassembler:
12161 Implemented the new ACPI 3.0 resource template macros - DWordSpace, 
12162 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace. 
12163 Includes support in the disassembler.
12165 Implemented support for the new (ACPI 3.0) parameter to the Register 
12166 macro, 
12167 AccessSize.
12169 Fixed a problem where the _HE resource name for the Interrupt macro was 
12170 referencing bit 0 instead of bit 1.
12172 Implemented check for maximum 255 interrupts in the Interrupt macro.
12174 Fixed a problem with the predefined resource descriptor names where 
12175 incorrect AML code was generated if the offset within the resource buffer 
12176 was 0 or 1.  The optimizer shortened the AML code to a single byte opcode 
12177 but did not update the surrounding package lengths.
12179 Changes to the Dma macro:  All channels within the channel list must be 
12180 in 
12181 the range 0-7.  Maximum 8 channels can be specified. BusMaster operand is 
12182 optional (default is BusMaster).
12184 Implemented check for maximum 7 data bytes for the VendorShort macro.
12186 The ReadWrite parameter is now optional for the Memory32 and similar 
12187 macros.
12189 ----------------------------------------
12190 03 December 2004.  Summary of changes for version 20041203:
12192 1) ACPI CA Core Subsystem:
12194 The low-level field insertion/extraction code (exfldio) has been 
12195 completely 
12196 rewritten to eliminate unnecessary complexity, bugs, and boundary 
12197 conditions.
12199 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and 
12200 ToDecimalString 
12201 operators where the input operand could be inadvertently deleted if no 
12202 conversion was necessary (e.g., if the input to ToInteger was an Integer 
12203 object.)
12205 Fixed a problem with the ToDecimalString and ToHexString where an 
12206 incorrect 
12207 exception code was returned if the resulting string would be > 200 chars.  
12208 AE_STRING_LIMIT is now returned.
12210 Fixed a problem with the Concatenate operator where AE_OK was always 
12211 returned, even if the operation failed.
12213 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128 
12214 semaphores to be allocated.
12216 Code and Data Size: Current and previous core subsystem library sizes are 
12217 shown below. These are the code and data sizes for the acpica.lib 
12218 produced 
12219 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12220 any ACPI driver or OSPM code. The debug version of the code includes the 
12221 debug output trace mechanism and has a much larger code and data size. 
12222 Note 
12223 that these values will vary depending on the efficiency of the compiler 
12224 and 
12225 the compiler options used during generation.
12227   Previous Release:
12228     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12229     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12230   Current Release:
12231     Non-Debug Version:  78.3K Code,  11.5K Data,   89.8K Total
12232     Debug Version:     164.7K Code,  68.5K Data,  233.2K Total
12235 2) iASL Compiler/Disassembler:
12237 Fixed typechecking for the ObjectType and SizeOf operators.  Problem was 
12238 recently introduced in 20041119.
12240 Fixed a problem with the ToUUID macro where the upper nybble of each 
12241 buffer 
12242 byte was inadvertently set to zero.
12244 ----------------------------------------
12245 19 November 2004.  Summary of changes for version 20041119:
12247 1) ACPI CA Core Subsystem:
12249 Fixed a problem in the internal ConvertToInteger routine where new 
12250 integers 
12251 were not truncated to 32 bits for 32-bit ACPI tables. This routine 
12252 converts 
12253 buffers and strings to integers.
12255 Implemented support to store a value to an Index() on a String object. 
12256 This 
12257 is an ACPI 2.0 feature that had not yet been implemented.
12259 Implemented new behavior for storing objects to individual package 
12260 elements 
12261 (via the Index() operator). The previous behavior was to invoke the 
12262 implicit 
12263 conversion rules if an object was already present at the index.  The new 
12264 behavior is to simply delete any existing object and directly store the 
12265 new 
12266 object. Although the ACPI specification seems unclear on this subject, 
12267 other 
12268 ACPI implementations behave in this manner.  (This is the root of the 
12269 AE_BAD_HEX_CONSTANT issue.)
12271 Modified the RSDP memory scan mechanism to support the extended checksum 
12272 for 
12273 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid 
12274 RSDP signature is found with a valid checksum.
12276 Code and Data Size: Current and previous core subsystem library sizes are 
12277 shown below. These are the code and data sizes for the acpica.lib 
12278 produced 
12279 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12280 any ACPI driver or OSPM code. The debug version of the code includes the 
12281 debug output trace mechanism and has a much larger code and data size. 
12282 Note 
12283 that these values will vary depending on the efficiency of the compiler 
12284 and 
12285 the compiler options used during generation.
12287   Previous Release:
12288     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12289     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12290   Current Release:
12291     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12292     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12295 2) iASL Compiler/Disassembler:
12297 Fixed a missing semicolon in the aslcompiler.y file.
12299 ----------------------------------------
12300 05 November 2004.  Summary of changes for version 20041105:
12302 1) ACPI CA Core Subsystem:
12304 Implemented support for FADT revision 2.  This was an interim table 
12305 (between 
12306 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12308 Implemented optional support to allow uninitialized LocalX and ArgX 
12309 variables in a control method.  The variables are initialized to an 
12310 Integer 
12311 object with a value of zero.  This support is enabled by setting the 
12312 AcpiGbl_EnableInterpreterSlack flag to TRUE.
12314 Implemented support for Integer objects for the SizeOf operator.  Either 
12316 or 8 is returned, depending on the current integer size (32-bit or 64-
12317 bit, 
12318 depending on the parent table revision).
12320 Fixed a problem in the implementation of the SizeOf and ObjectType 
12321 operators 
12322 where the operand was resolved to a value too early, causing incorrect 
12323 return values for some objects.
12325 Fixed some possible memory leaks during exceptional conditions.
12327 Code and Data Size: Current and previous core subsystem library sizes are 
12328 shown below. These are the code and data sizes for the acpica.lib 
12329 produced 
12330 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12331 any ACPI driver or OSPM code. The debug version of the code includes the 
12332 debug output trace mechanism and has a much larger code and data size. 
12333 Note 
12334 that these values will vary depending on the efficiency of the compiler 
12335 and 
12336 the compiler options used during generation.
12338   Previous Release:
12339     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12340     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12341   Current Release:
12342     Non-Debug Version:  78.5K Code,  11.5K Data,   90.0K Total
12343     Debug Version:     165.2K Code,  68.6K Data,  233.8K Total
12346 2) iASL Compiler/Disassembler:
12348 Implemented support for all ACPI 3.0 reserved names and methods.
12350 Implemented all ACPI 3.0 grammar elements in the front-end, including 
12351 support for semicolons.
12353 Implemented the ACPI 3.0 Function() and ToUUID() macros
12355 Fixed a problem in the disassembler where a Scope() operator would not be 
12356 emitted properly if the target of the scope was in another table.
12358 ----------------------------------------
12359 15 October 2004.  Summary of changes for version 20041015:
12361 Note:  ACPI CA is currently undergoing an in-depth and complete formal 
12362 evaluation to test/verify the following areas. Other suggestions are 
12363 welcome. This will result in an increase in the frequency of releases and 
12364 the number of bug fixes in the next few months.
12365   - Functional tests for all ASL/AML operators
12366   - All implicit/explicit type conversions
12367   - Bit fields and operation regions
12368   - 64-bit math support and 32-bit-only "truncated" math support
12369   - Exceptional conditions, both compiler and interpreter
12370   - Dynamic object deletion and memory leaks
12371   - ACPI 3.0 support when implemented
12372   - External interfaces to the ACPI subsystem
12375 1) ACPI CA Core Subsystem:
12377 Fixed two alignment issues on 64-bit platforms - within debug statements 
12378 in 
12379 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the 
12380 Address 
12381 field within the non-aligned ACPI generic address structure.
12383 Fixed a problem in the Increment and Decrement operators where incorrect 
12384 operand resolution could result in the inadvertent modification of the 
12385 original integer when the integer is passed into another method as an 
12386 argument and the arg is then incremented/decremented.
12388 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12389 bit 
12390 BCD number were truncated during conversion.
12392 Fixed a problem in the ToDecimal operator where the length of the 
12393 resulting 
12394 string could be set incorrectly too long if the input operand was a 
12395 Buffer 
12396 object.
12398 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte 
12399 (0) 
12400 within a buffer would prematurely terminate a compare between buffer 
12401 objects.
12403 Added a check for string overflow (>200 characters as per the ACPI 
12404 specification) during the Concatenate operator with two string operands.
12406 Code and Data Size: Current and previous core subsystem library sizes are 
12407 shown below. These are the code and data sizes for the acpica.lib 
12408 produced 
12409 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12410 any ACPI driver or OSPM code. The debug version of the code includes the 
12411 debug output trace mechanism and has a much larger code and data size. 
12412 Note 
12413 that these values will vary depending on the efficiency of the compiler 
12414 and 
12415 the compiler options used during generation.
12417   Previous Release:
12418     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12419     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12420   Current Release:
12421     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12422     Debug Version:     164.8K Code,  68.6K Data,  233.4K Total
12426 2) iASL Compiler/Disassembler:
12428 Allow the use of the ObjectType operator on uninitialized Locals and Args 
12429 (returns 0 as per the ACPI specification).
12431 Fixed a problem where the compiler would fault if there was a syntax 
12432 error 
12433 in the FieldName of all of the various CreateXXXField operators.
12435 Disallow the use of lower case letters within the EISAID macro, as per 
12436 the 
12437 ACPI specification.  All EISAID strings must be of the form "UUUNNNN" 
12438 Where 
12439 U is an uppercase letter and N is a hex digit.
12442 ----------------------------------------
12443 06 October 2004.  Summary of changes for version 20041006:
12445 1) ACPI CA Core Subsystem:
12447 Implemented support for the ACPI 3.0 Timer operator. This ASL function 
12448 implements a 64-bit timer with 100 nanosecond granularity.
12450 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to 
12451 implement the ACPI 3.0 Timer operator.  This allows the host OS to 
12452 implement 
12453 the timer with the best clock available. Also, it keeps the core 
12454 subsystem 
12455 out of the clock handling business, since the host OS (usually) performs 
12456 this function.
12458 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write) 
12459 functions use a 64-bit address which is part of the packed ACPI Generic 
12460 Address Structure. Since the structure is non-aligned, the alignment 
12461 macros 
12462 are now used to extract the address to a local variable before use.
12464 Fixed a problem where the ToInteger operator assumed all input strings 
12465 were 
12466 hexadecimal. The operator now handles both decimal strings and hex 
12467 strings 
12468 (prefixed with "0x").
12470 Fixed a problem where the string length in the string object created as a 
12471 result of the internal ConvertToString procedure could be incorrect. This 
12472 potentially affected all implicit conversions and also the 
12473 ToDecimalString 
12474 and ToHexString operators.
12476 Fixed two problems in the ToString operator. If the length parameter was 
12477 zero, an incorrect string object was created and the value of the input 
12478 length parameter was inadvertently changed from zero to Ones.
12480 Fixed a problem where the optional ResourceSource string in the 
12481 ExtendedIRQ 
12482 resource macro was ignored.
12484 Simplified the interfaces to the internal division functions, reducing 
12485 code 
12486 size and complexity.
12488 Code and Data Size: Current and previous core subsystem library sizes are 
12489 shown below. These are the code and data sizes for the acpica.lib 
12490 produced 
12491 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12492 any ACPI driver or OSPM code. The debug version of the code includes the 
12493 debug output trace mechanism and has a much larger code and data size. 
12494 Note 
12495 that these values will vary depending on the efficiency of the compiler 
12496 and 
12497 the compiler options used during generation.
12499   Previous Release:
12500     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12501     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12502   Current Release:
12503     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12504     Debug Version:     164.6K Code,  68.5K Data,  233.1K Total
12507 2) iASL Compiler/Disassembler:
12509 Implemented support for the ACPI 3.0 Timer operator.
12511 Fixed a problem where the Default() operator was inadvertently ignored in 
12513 Switch/Case block.  This was a problem in the translation of the Switch 
12514 statement to If...Else pairs.
12516 Added support to allow a standalone Return operator, with no parentheses 
12517 (or 
12518 operands).
12520 Fixed a problem with code generation for the ElseIf operator where the 
12521 translated Else...If parse tree was improperly constructed leading to the 
12522 loss of some code.
12524 ----------------------------------------
12525 22 September 2004.  Summary of changes for version 20040922:
12527 1) ACPI CA Core Subsystem:
12529 Fixed a problem with the implementation of the LNot() operator where 
12530 "Ones" 
12531 was not returned for the TRUE case. Changed the code to return Ones 
12532 instead 
12533 of (!Arg) which was usually 1. This change affects iASL constant folding 
12534 for 
12535 this operator also.
12537 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was 
12538 not 
12539 initialized properly -- Now zero the entire buffer in this case where the 
12540 buffer already exists.
12542 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32 
12543 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all 
12544 related code considerably. This will require changes/updates to all OS 
12545 interface layers (OSLs.)
12547 Implemented a new external interface, AcpiInstallExceptionHandler, to 
12548 allow 
12549 a system exception handler to be installed. This handler is invoked upon 
12550 any 
12551 run-time exception that occurs during control method execution.
12553 Added support for the DSDT in AcpiTbFindTable. This allows the 
12554 DataTableRegion() operator to access the local copy of the DSDT.
12556 Code and Data Size: Current and previous core subsystem library sizes are 
12557 shown below. These are the code and data sizes for the acpica.lib 
12558 produced 
12559 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12560 any ACPI driver or OSPM code. The debug version of the code includes the 
12561 debug output trace mechanism and has a much larger code and data size. 
12562 Note 
12563 that these values will vary depending on the efficiency of the compiler 
12564 and 
12565 the compiler options used during generation.
12567   Previous Release:
12568     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12569     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12570   Current Release:
12571     Non-Debug Version:  77.9K Code,  11.4K Data,   89.3K Total
12572     Debug Version:     164.5K Code,  68.3K Data,  232.8K Total
12575 2) iASL Compiler/Disassembler:
12577 Fixed a problem with constant folding and the LNot operator. LNot was 
12578 returning 1 in the TRUE case, not Ones as per the ACPI specification. 
12579 This 
12580 could result in the generation of an incorrect folded/reduced constant.
12582 End-Of-File is now allowed within a "//"-style comment.  A parse error no 
12583 longer occurs if such a comment is at the very end of the input ASL 
12584 source 
12585 file.
12587 Implemented the "-r" option to override the Revision in the table header. 
12588 The initial use of this option will be to simplify the evaluation of the 
12589 AML 
12590 interpreter by allowing a single ASL source module to be compiled for 
12591 either 
12592 32-bit or 64-bit integers.
12595 ----------------------------------------
12596 27 August 2004.  Summary of changes for version 20040827:
12598 1) ACPI CA Core Subsystem:
12600 - Implemented support for implicit object conversion in the non-numeric 
12601 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, 
12602 and 
12603 LNotEqual.)  Any combination of Integers/Strings/Buffers may now be used; 
12604 the second operand is implicitly converted on the fly to match the type 
12605 of 
12606 the first operand.  For example:
12608     LEqual (Source1, Source2)
12610 Source1 and Source2 must each evaluate to an integer, a string, or a 
12611 buffer. 
12612 The data type of Source1 dictates the required type of Source2. Source2 
12613 is 
12614 implicitly converted if necessary to match the type of Source1.
12616 - Updated and corrected the behavior of the string conversion support.  
12617 The 
12618 rules concerning conversion of buffers to strings (according to the ACPI 
12619 specification) are as follows:
12621 ToDecimalString - explicit byte-wise conversion of buffer to string of 
12622 decimal values (0-255) separated by commas. ToHexString - explicit byte-
12623 wise 
12624 conversion of buffer to string of hex values (0-FF) separated by commas. 
12625 ToString - explicit byte-wise conversion of buffer to string.  Byte-by-
12626 byte 
12627 copy with no transform except NULL terminated. Any other implicit buffer-
12629 string conversion - byte-wise conversion of buffer to string of hex 
12630 values 
12631 (0-FF) separated by spaces.
12633 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12635 - Fixed a problem in AcpiNsGetPathnameLength where the returned length 
12636 was 
12637 one byte too short in the case of a node in the root scope.  This could 
12638 cause a fault during debug output.
12640 - Code and Data Size: Current and previous core subsystem library sizes 
12641 are 
12642 shown below.  These are the code and data sizes for the acpica.lib 
12643 produced 
12644 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12645 any ACPI driver or OSPM code.  The debug version of the code includes the 
12646 debug output trace mechanism and has a much larger code and data size.  
12647 Note 
12648 that these values will vary depending on the efficiency of the compiler 
12649 and 
12650 the compiler options used during generation.
12652   Previous Release:
12653     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12654     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12655   Current Release:
12656     Non-Debug Version:  77.8K Code,  11.4K Data,   89.2K Total
12657     Debug Version:     164.2K Code,  68.2K Data,  232.4K Total
12660 2) iASL Compiler/Disassembler:
12662 - Fixed a Linux generation error.
12665 ----------------------------------------
12666 16 August 2004.  Summary of changes for version 20040816:
12668 1) ACPI CA Core Subsystem:
12670 Designed and implemented support within the AML interpreter for the so-
12671 called "implicit return".  This support returns the result of the last 
12672 ASL 
12673 operation within a control method, in the absence of an explicit Return() 
12674 operator.  A few machines depend on this behavior, even though it is not 
12675 explicitly supported by the ASL language.  It is optional support that 
12676 can 
12677 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12679 Removed support for the PCI_Config address space from the internal low 
12680 level 
12681 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite).  This 
12682 support was not used internally, and would not work correctly anyway 
12683 because 
12684 the PCI bus number and segment number were not supported.  There are 
12685 separate interfaces for PCI configuration space access because of the 
12686 unique 
12687 interface.
12689 Code and Data Size: Current and previous core subsystem library sizes are 
12690 shown below.  These are the code and data sizes for the acpica.lib 
12691 produced 
12692 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12693 any ACPI driver or OSPM code.  The debug version of the code includes the 
12694 debug output trace mechanism and has a much larger code and data size.  
12695 Note 
12696 that these values will vary depending on the efficiency of the compiler 
12697 and 
12698 the compiler options used during generation.
12700   Previous Release:
12701     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12702     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12703   Current Release:
12704     Non-Debug Version:  77.9K Code,  11.5K Data,   89.4K Total
12705     Debug Version:     164.1K Code,  68.3K Data,  232.4K Total
12708 2) iASL Compiler/Disassembler:
12710 Fixed a problem where constants in ASL expressions at the root level (not 
12711 within a control method) could be inadvertently truncated during code 
12712 generation.  This problem was introduced in the 20040715 release.
12715 ----------------------------------------
12716 15 July 2004.  Summary of changes for version 20040715:
12718 1) ACPI CA Core Subsystem:
12720 Restructured the internal HW GPE interfaces to pass/track the current 
12721 state 
12722 of interrupts (enabled/disabled) in order to avoid possible deadlock and 
12723 increase flexibility of the interfaces.
12725 Implemented a "lexicographical compare" for String and Buffer objects 
12726 within 
12727 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12729 as per further clarification to the ACPI specification.  Behavior is 
12730 similar 
12731 to C library "strcmp".
12733 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable 
12734 external function.  In the 32-bit non-debug case, the stack use has been 
12735 reduced from 168 bytes to 32 bytes.
12737 Deployed a new run-time configuration flag, 
12738 AcpiGbl_EnableInterpreterSlack, 
12739 whose purpose is to allow the AML interpreter to forgive certain bad AML 
12740 constructs.  Default setting is FALSE.
12742 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field 
12743 IO 
12744 support code.  If enabled, it allows field access to go beyond the end of 
12746 region definition if the field is within the region length rounded up to 
12747 the 
12748 next access width boundary (a common coding error.)
12750 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to 
12751 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols.  Also, 
12752 these 
12753 symbols are lowercased by the latest version of the AcpiSrc tool.
12755 The prototypes for the PCI interfaces in acpiosxf.h have been updated to 
12756 rename "Register" to simply "Reg" to prevent certain compilers from 
12757 complaining.
12759 Code and Data Size: Current and previous core subsystem library sizes are 
12760 shown below.  These are the code and data sizes for the acpica.lib 
12761 produced 
12762 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12763 any ACPI driver or OSPM code.  The debug version of the code includes the 
12764 debug output trace mechanism and has a much larger code and data size.  
12765 Note 
12766 that these values will vary depending on the efficiency of the compiler 
12767 and 
12768 the compiler options used during generation.
12770   Previous Release:
12771     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12772     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12773   Current Release:
12774     Non-Debug Version:  78.0K Code,  11.5K Data,   89.5K Total
12775     Debug Version:     164.1K Code,  68.2K Data,  232.3K Total
12778 2) iASL Compiler/Disassembler:
12780 Implemented full support for Package objects within the Case() operator.  
12781 Note: The Break() operator is currently not supported within Case blocks 
12782 (TermLists) as there is some question about backward compatibility with 
12783 ACPI 
12784 1.0 interpreters.
12787 Fixed a problem where complex terms were not supported properly within 
12788 the 
12789 Switch() operator.
12791 Eliminated extraneous warning for compiler-emitted reserved names of the 
12792 form "_T_x".  (Used in Switch/Case operators.)
12794 Eliminated optimization messages for "_T_x" objects and small constants 
12795 within the DefinitionBlock operator.
12798 ----------------------------------------
12799 15 June 2004.  Summary of changes for version 20040615:
12801 1) ACPI CA Core Subsystem:
12803 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
12804 the 
12805 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
12806 LLessEqual.
12808 All directory names in the entire source package are lower case, as they 
12809 were in earlier releases.
12811 Implemented "Disassemble" command in the AML debugger that will 
12812 disassemble 
12813 a single control method.
12815 Code and Data Size: Current and previous core subsystem library sizes are 
12816 shown below.  These are the code and data sizes for the acpica.lib 
12817 produced 
12818 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12819 any ACPI driver or OSPM code.  The debug version of the code includes the 
12820 debug output trace mechanism and has a much larger code and data size.  
12821 Note 
12822 that these values will vary depending on the efficiency of the compiler 
12823 and 
12824 the compiler options used during generation.
12826   Previous Release:
12827     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12828     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12830   Current Release:
12831     Non-Debug Version:  77.8K Code,  11.5K Data,   89.3K Total
12832     Debug Version:     163.8K Code,  68.2K Data,  232.0K Total
12835 2) iASL Compiler/Disassembler:
12837 Implemented support for Buffer and String objects (as per ACPI 2.0) for 
12838 the 
12839 following ASL operators:  LEqual, LGreater, LLess, LGreaterEqual, and 
12840 LLessEqual.
12842 All directory names in the entire source package are lower case, as they 
12843 were in earlier releases.
12845 Fixed a fault when using the -g or -d<nofilename> options if the FADT was 
12846 not found.
12848 Fixed an issue with the Windows version of the compiler where later 
12849 versions 
12850 of Windows place the FADT in the registry under the name "FADT" and not 
12851 "FACP" as earlier versions did.  This applies when using the -g or -
12852 d<nofilename> options.  The compiler now looks for both strings as 
12853 necessary.
12855 Fixed a problem with compiler namepath optimization where a namepath 
12856 within 
12857 the Scope() operator could not be optimized if the namepath was a subpath 
12858 of 
12859 the current scope path.
12861 ----------------------------------------
12862 27 May 2004.  Summary of changes for version 20040527:
12864 1) ACPI CA Core Subsystem:
12866 Completed a new design and implementation for EBDA (Extended BIOS Data 
12867 Area) 
12868 support in the RSDP scan code.  The original code improperly scanned for 
12869 the 
12870 EBDA by simply scanning from memory location 0 to 0x400.  The correct 
12871 method 
12872 is to first obtain the EBDA pointer from within the BIOS data area, then 
12873 scan 1K of memory starting at the EBDA pointer.  There appear to be few 
12874 if 
12875 any machines that place the RSDP in the EBDA, however.
12877 Integrated a fix for a possible fault during evaluation of BufferField 
12878 arguments.  Obsolete code that was causing the problem was removed.
12880 Found and fixed a problem in the Field Support Code where data could be 
12881 corrupted on a bit field read that starts on an aligned boundary but does 
12882 not end on an aligned boundary.  Merged the read/write "datum length" 
12883 calculation code into a common procedure.
12885 Rolled in a couple of changes to the FreeBSD-specific header.
12888 Code and Data Size: Current and previous core subsystem library sizes are 
12889 shown below.  These are the code and data sizes for the acpica.lib 
12890 produced 
12891 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12892 any ACPI driver or OSPM code.  The debug version of the code includes the 
12893 debug output trace mechanism and has a much larger code and data size.  
12894 Note 
12895 that these values will vary depending on the efficiency of the compiler 
12896 and 
12897 the compiler options used during generation.
12899   Previous Release:
12900     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12901     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
12902   Current Release:
12903     Non-Debug Version:  77.7K Code,  11.5K Data,   89.2K Total
12904     Debug Version:     163.3K Code,  67.2K Data,  230.5K Total
12907 2) iASL Compiler/Disassembler:
12909 Fixed a generation warning produced by some overly-verbose compilers for 
12911 64-bit constant.
12913 ----------------------------------------
12914 14 May 2004.  Summary of changes for version 20040514:
12916 1) ACPI CA Core Subsystem:
12918 Fixed a problem where hardware GPE enable bits sometimes not set properly 
12919 during and after GPE method execution.  Result of 04/27 changes.
12921 Removed extra "clear all GPEs" when sleeping/waking.
12923 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single 
12924 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above 
12925 to 
12926 the new AcpiEv* calls as appropriate.
12928 ACPI_OS_NAME was removed from the OS-specific headers.  The default name 
12929 is 
12930 now "Microsoft Windows NT" for maximum compatibility.  However this can 
12931 be 
12932 changed by modifying the acconfig.h file.
12934 Allow a single invocation of AcpiInstallNotifyHandler for a handler that 
12935 traps both types of notifies (System, Device).  Use ACPI_ALL_NOTIFY flag. 
12937 Run _INI methods on ThermalZone objects.  This is against the ACPI 
12938 specification, but there is apparently ASL code in the field that has 
12939 these 
12940 _INI methods, and apparently "other" AML interpreters execute them.
12942 Performed a full 16/32/64 bit lint that resulted in some small changes.
12944 Added a sleep simulation command to the AML debugger to test sleep code. 
12946 Code and Data Size: Current and previous core subsystem library sizes are 
12947 shown below.  These are the code and data sizes for the acpica.lib 
12948 produced 
12949 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
12950 any ACPI driver or OSPM code.  The debug version of the code includes the 
12951 debug output trace mechanism and has a much larger code and data size.  
12952 Note 
12953 that these values will vary depending on the efficiency of the compiler 
12954 and 
12955 the compiler options used during generation.
12957   Previous Release:
12958     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12959     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
12960   Current Release:
12961     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
12962     Debug Version:     163.2K Code,  67.2K Data,  230.4K Total
12964 ----------------------------------------
12965 27 April 2004.  Summary of changes for version 20040427:
12967 1) ACPI CA Core Subsystem:
12969 Completed a major overhaul of the GPE handling within ACPI CA.  There are 
12970 now three types of GPEs:  wake-only, runtime-only, and combination 
12971 wake/run.  
12972 The only GPEs allowed to be combination wake/run are for button-style 
12973 devices such as a control-method power button, control-method sleep 
12974 button, 
12975 or a notebook lid switch.  GPEs that have an _Lxx or _Exx method and are 
12976 not 
12977 referenced by any _PRW methods are marked for "runtime" and hardware 
12978 enabled.  Any GPE that is referenced by a _PRW method is marked for 
12979 "wake" 
12980 (and disabled at runtime).  However, at sleep time, only those GPEs that 
12981 have been specifically enabled for wake via the AcpiEnableGpe interface 
12982 will 
12983 actually be hardware enabled.
12985 A new external interface has been added, AcpiSetGpeType(), that is meant 
12986 to 
12987 be used by device drivers to force a GPE to a particular type.  It will 
12988 be 
12989 especially useful for the drivers for the button devices mentioned above.
12991 Completed restructuring of the ACPI CA initialization sequence so that 
12992 default operation region handlers are installed before GPEs are 
12993 initialized 
12994 and the _PRW methods are executed.  This will prevent errors when the 
12995 _PRW 
12996 methods attempt to access system memory or I/O space.
12998 GPE enable/disable no longer reads the GPE enable register.  We now keep 
12999 the 
13000 enable info for runtime and wake separate and in the GPE_EVENT_INFO.  We 
13001 thus no longer depend on the hardware to maintain these bits.
13003 Always clear the wake status and fixed/GPE status bits before sleep, even 
13004 for state S5.
13006 Improved the AML debugger output for displaying the GPE blocks and their 
13007 current status.
13009 Added new strings for the _OSI method, of the form "Windows 2001 SPx" 
13010 where 
13011 x = 0,1,2,3,4.
13013 Fixed a problem where the physical address was incorrectly calculated 
13014 when 
13015 the Load() operator was used to directly load from an Operation Region 
13016 (vs. 
13017 loading from a Field object.)  Also added check for minimum table length 
13018 for 
13019 this case.
13021 Fix for multiple mutex acquisition.  Restore original thread SyncLevel on 
13022 mutex release.
13024 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for 
13025 consistency with the other fields returned.
13027 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%.  There is one such 
13028 structure for each GPE in the system, so the size of this structure is 
13029 important.
13031 CPU stack requirement reduction:  Cleaned up the method execution and 
13032 object 
13033 evaluation paths so that now a parameter structure is passed, instead of 
13034 copying the various method parameters over and over again.
13036 In evregion.c:  Correctly exit and reenter the interpreter region if and 
13037 only if dispatching an operation region request to a user-installed 
13038 handler.  
13039 Do not exit/reenter when dispatching to a default handler (e.g., default 
13040 system memory or I/O handlers)
13043 Notes for updating drivers for the new GPE support.  The following 
13044 changes 
13045 must be made to ACPI-related device drivers that are attached to one or 
13046 more 
13047 GPEs: (This information will be added to the ACPI CA Programmer 
13048 Reference.)
13050 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you 
13051 must 
13052 explicitly call AcpiEnableGpe.
13053 2) There is a new interface called AcpiSetGpeType. This should be called 
13054 before enabling the GPE.  Also, this interface will automatically disable 
13055 the GPE if it is currently enabled.
13056 3) AcpiEnableGpe no longer supports a GPE type flag.
13058 Specific drivers that must be changed:
13059 1) EC driver:
13060     AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED, 
13061 AeGpeHandler, NULL);
13062     AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13063     AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13065 2) Button Drivers (Power, Lid, Sleep):
13066 Run _PRW method under parent device
13067 If _PRW exists: /* This is a control-method button */
13068     Extract GPE number and possibly GpeDevice
13069     AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13070     AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13072 For all other devices that have _PRWs, we automatically set the GPE type 
13073 to 
13074 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.  
13075 This 
13076 must be done on a selective basis, usually requiring some kind of user 
13077 app 
13078 to allow the user to pick the wake devices.
13081 Code and Data Size: Current and previous core subsystem library sizes are 
13082 shown below.  These are the code and data sizes for the acpica.lib 
13083 produced 
13084 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13085 any ACPI driver or OSPM code.  The debug version of the code includes the 
13086 debug output trace mechanism and has a much larger code and data size.  
13087 Note 
13088 that these values will vary depending on the efficiency of the compiler 
13089 and 
13090 the compiler options used during generation.
13092   Previous Release:
13093     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13094     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13095   Current Release:
13097     Non-Debug Version:  77.6K Code,  11.5K Data,   89.1K Total
13098     Debug Version:     162.9K Code,  67.0K Data,  229.9K Total
13102 ----------------------------------------
13103 02 April 2004.  Summary of changes for version 20040402:
13105 1) ACPI CA Core Subsystem:
13107 Fixed an interpreter problem where an indirect store through an ArgX 
13108 parameter was incorrectly applying the "implicit conversion rules" during 
13109 the store.  From the ACPI specification: "If the target is a method local 
13110 or 
13111 argument (LocalX or ArgX), no conversion is performed and the result is 
13112 stored directly to the target".  The new behavior is to disable implicit 
13113 conversion during ALL stores to an ArgX.
13115 Changed the behavior of the _PRW method scan to ignore any and all errors 
13116 returned by a given _PRW.  This prevents the scan from aborting from the 
13117 failure of any single _PRW.
13119 Moved the runtime configuration parameters from the global init procedure 
13120 to 
13121 static variables in acglobal.h.  This will allow the host to override the 
13122 default values easily.
13124 Code and Data Size: Current and previous core subsystem library sizes are 
13125 shown below.  These are the code and data sizes for the acpica.lib 
13126 produced 
13127 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13128 any ACPI driver or OSPM code.  The debug version of the code includes the 
13129 debug output trace mechanism and has a much larger code and data size.  
13130 Note 
13131 that these values will vary depending on the efficiency of the compiler 
13132 and 
13133 the compiler options used during generation.
13135   Previous Release:
13136     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13137     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13138   Current Release:
13139     Non-Debug Version:  77.0K Code,  11.4K Data,   88.4K Total
13140     Debug Version:     161.0K Code,  66.3K Data,  227.3K Total
13143 2) iASL Compiler/Disassembler:
13145 iASL now fully disassembles SSDTs.  However, External() statements are 
13146 not 
13147 generated automatically for unresolved symbols at this time.  This is a 
13148 planned feature for future implementation.
13150 Fixed a scoping problem in the disassembler that occurs when the type of 
13151 the 
13152 target of a Scope() operator is overridden.  This problem caused an 
13153 incorrectly nested internal namespace to be constructed.
13155 Any warnings or errors that are emitted during disassembly are now 
13156 commented 
13157 out automatically so that the resulting file can be recompiled without 
13158 any 
13159 hand editing.
13161 ----------------------------------------
13162 26 March 2004.  Summary of changes for version 20040326:
13164 1) ACPI CA Core Subsystem:
13166 Implemented support for "wake" GPEs via interaction between GPEs and the 
13167 _PRW methods.  Every GPE that is pointed to by one or more _PRWs is 
13168 identified as a WAKE GPE and by default will no longer be enabled at 
13169 runtime.  Previously, we were blindly enabling all GPEs with a 
13170 corresponding 
13171 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.  
13172 We 
13173 believe this has been the cause of thousands of "spurious" GPEs on some 
13174 systems.
13176 This new GPE behavior is can be reverted to the original behavior (enable 
13177 ALL GPEs at runtime) via a runtime flag.
13179 Fixed a problem where aliased control methods could not access objects 
13180 properly.  The proper scope within the namespace was not initialized 
13181 (transferred to the target of the aliased method) before executing the 
13182 target method.
13184 Fixed a potential race condition on internal object deletion on the 
13185 return 
13186 object in AcpiEvaluateObject. 
13188 Integrated a fix for resource descriptors where both _MEM and _MTP were 
13189 being extracted instead of just _MEM.  (i.e. bitmask was incorrectly too 
13190 wide, 0x0F instead of 0x03.)
13192 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, 
13193 preventing 
13195 fault in some cases.
13197 Updated Notify() values for debug statements in evmisc.c
13199 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13201 Code and Data Size: Current and previous core subsystem library sizes are 
13202 shown below.  These are the code and data sizes for the acpica.lib 
13203 produced 
13204 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13205 any ACPI driver or OSPM code.  The debug version of the code includes the 
13206 debug output trace mechanism and has a much larger code and data size.  
13207 Note 
13208 that these values will vary depending on the efficiency of the compiler 
13209 and 
13210 the compiler options used during generation.
13212   Previous Release:
13214     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13215     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13216   Current Release:
13217     Non-Debug Version:  76.9K Code,  11.4K Data,   88.3K Total
13218     Debug Version:     160.8K Code,  66.1K Data,  226.9K Total
13220 ----------------------------------------
13221 11 March 2004.  Summary of changes for version 20040311:
13223 1) ACPI CA Core Subsystem:
13225 Fixed a problem where errors occurring during the parse phase of control 
13226 method execution did not abort cleanly.  For example, objects created and 
13227 installed in the namespace were not deleted.  This caused all subsequent 
13228 invocations of the method to return the AE_ALREADY_EXISTS exception.
13230 Implemented a mechanism to force a control method to "Serialized" 
13231 execution 
13232 if the method attempts to create namespace objects. (The root of the 
13233 AE_ALREADY_EXISTS problem.)
13235 Implemented support for the predefined _OSI "internal" control method.  
13236 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", 
13237 and 
13238 "Windows 2001.1", and can be easily upgraded for new strings as 
13239 necessary.  
13240 This feature will allow "other" operating systems to execute the fully 
13241 tested, "Windows" code path through the ASL code
13243 Global Lock Support:  Now allows multiple acquires and releases with any 
13244 internal thread.  Removed concept of "owning thread" for this special 
13245 mutex.
13247 Fixed two functions that were inappropriately declaring large objects on 
13248 the 
13249 CPU stack:  PsParseLoop, NsEvaluateRelative.  Reduces the stack usage 
13250 during 
13251 method execution considerably.
13253 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the 
13254 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13256 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs 
13257 defined on the machine.
13259 Implemented two runtime options:  One to force all control method 
13260 execution 
13261 to "Serialized" to mimic Windows behavior, another to disable _OSI 
13262 support 
13263 if it causes problems on a given machine.
13265 Code and Data Size: Current and previous core subsystem library sizes are 
13266 shown below.  These are the code and data sizes for the acpica.lib 
13267 produced 
13268 by the Microsoft Visual C++ 6.0 compiler, and these values do not include 
13269 any ACPI driver or OSPM code.  The debug version of the code includes the 
13270 debug output trace mechanism and has a much larger code and data size.  
13271 Note 
13272 that these values will vary depending on the efficiency of the compiler 
13273 and 
13274 the compiler options used during generation.
13276   Previous Release:
13277     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13278     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13279   Current Release:
13280     Non-Debug Version:  76.5K Code,  11.3K Data,   87.8K Total
13281     Debug Version:     160.3K Code,  66.0K Data,  226.3K Total
13283 2) iASL Compiler/Disassembler:
13285 Fixed an array size problem for FreeBSD that would cause the compiler to 
13286 fault.
13288 ----------------------------------------
13289 20 February 2004.  Summary of changes for version 20040220:
13292 1) ACPI CA Core Subsystem:
13294 Implemented execution of _SxD methods for Device objects in the 
13295 GetObjectInfo interface.
13297 Fixed calls to _SST method to pass the correct arguments.
13299 Added a call to _SST on wake to restore to "working" state.
13301 Check for End-Of-Buffer failure case in the WalkResources interface.
13303 Integrated fix for 64-bit alignment issue in acglobal.h by moving two 
13304 structures to the beginning of the file.
13306 After wake, clear GPE status register(s) before enabling GPEs.
13308 After wake, clear/enable power button.  (Perhaps we should clear/enable 
13309 all 
13310 fixed events upon wake.)
13312 Fixed a couple of possible memory leaks in the Namespace manager.
13314 Integrated latest acnetbsd.h file.
13316 ----------------------------------------
13317 11 February 2004.  Summary of changes for version 20040211:
13320 1) ACPI CA Core Subsystem:
13322 Completed investigation and implementation of the call-by-reference 
13323 mechanism for control method arguments.
13325 Fixed a problem where a store of an object into an indexed package could 
13326 fail if the store occurs within a different method than the method that 
13327 created the package.
13329 Fixed a problem where the ToDecimal operator could return incorrect 
13330 results.
13332 Fixed a problem where the CopyObject operator could fail on some of the 
13333 more 
13334 obscure objects (e.g., Reference objects.)
13336 Improved the output of the Debug object to display buffer, package, and 
13337 index objects.
13339 Fixed a problem where constructs of the form "RefOf (ArgX)" did not 
13340 return 
13341 the expected result.
13343 Added permanent ACPI_REPORT_ERROR macros for all instances of the 
13344 ACPI_AML_INTERNAL exception.
13346 Integrated latest version of acfreebsd.h
13348 ----------------------------------------
13349 16 January 2004.  Summary of changes for version 20040116:
13351 The purpose of this release is primarily to update the copyright years in 
13352 each module, thus causing a huge number of diffs.  There are a few small 
13353 functional changes, however.
13355 1) ACPI CA Core Subsystem:
13357 Improved error messages when there is a problem finding one or more of 
13358 the 
13359 required base ACPI tables
13361 Reintroduced the definition of APIC_HEADER in actbl.h
13363 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13365 Removed extraneous reference to NewObj in dsmthdat.c
13367 2) iASL compiler
13369 Fixed a problem introduced in December that disabled the correct 
13370 disassembly 
13371 of Resource Templates
13374 ----------------------------------------
13375 03 December 2003.  Summary of changes for version 20031203:
13377 1) ACPI CA Core Subsystem:
13379 Changed the initialization of Operation Regions during subsystem
13380 init to perform two entire walks of the ACPI namespace; The first
13381 to initialize the regions themselves, the second to execute the
13382 _REG methods.  This fixed some interdependencies across _REG
13383 methods found on some machines.
13385 Fixed a problem where a Store(Local0, Local1) could simply update
13386 the object reference count, and not create a new copy of the
13387 object if the Local1 is uninitialized.
13389 Implemented support for the _SST reserved method during sleep
13390 transitions.
13392 Implemented support to clear the SLP_TYP and SLP_EN bits when
13393 waking up, this is apparently required by some machines.
13395 When sleeping, clear the wake status only if SleepState is not S5.
13397 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13398 pointer arithmetic advanced a string pointer too far.
13400 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13401 could be returned if the requested table has not been loaded.
13403 Within the support for IRQ resources, restructured the handling of
13404 the active and edge/level bits.
13406 Fixed a few problems in AcpiPsxExecute() where memory could be
13407 leaked under certain error conditions.
13409 Improved error messages for the cases where the ACPI mode could
13410 not be entered.
13412 Code and Data Size: Current and previous core subsystem library
13413 sizes are shown below.  These are the code and data sizes for the
13414 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13415 these values do not include any ACPI driver or OSPM code.  The
13416 debug version of the code includes the debug output trace
13417 mechanism and has a much larger code and data size.  Note that
13418 these values will vary depending on the efficiency of the compiler
13419 and the compiler options used during generation.
13421   Previous Release (20031029):
13422     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13423     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13424   Current Release:
13425     Non-Debug Version:  74.8K Code,  10.1K Data,   84.9K Total
13426     Debug Version:     158.7K Code,  65.1K Data,  223.8K Total
13428 2) iASL Compiler/Disassembler:
13430 Implemented a fix for the iASL disassembler where a bad index was
13431 generated.  This was most noticeable on 64-bit platforms
13434 ----------------------------------------
13435 29 October 2003.  Summary of changes for version 20031029:
13437 1) ACPI CA Core Subsystem:
13440 Fixed a problem where a level-triggered GPE with an associated
13441 _Lxx control method was incorrectly cleared twice.
13443 Fixed a problem with the Field support code where an access can
13444 occur beyond the end-of-region if the field is non-aligned but
13445 extends to the very end of the parent region (resulted in an
13446 AE_AML_REGION_LIMIT exception.)
13448 Fixed a problem with ACPI Fixed Events where an RT Clock handler
13449 would not get invoked on an RTC event.  The RTC event bitmasks for
13450 the PM1 registers were not being initialized properly.
13452 Implemented support for executing _STA and _INI methods for
13453 Processor objects.  Although this is currently not part of the
13454 ACPI specification, there is existing ASL code that depends on the
13455 init-time execution of these methods.
13457 Implemented and deployed a GetDescriptorName function to decode
13458 the various types of internal descriptors.  Guards against null
13459 descriptors during debug output also.
13461 Implemented and deployed a GetNodeName function to extract the 4-
13462 character namespace node name.  This function simplifies the debug
13463 and error output, as well as guarding against null pointers during
13464 output.
13466 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13467 simplify the debug and error output of 64-bit integers.  This
13468 macro replaces the HIDWORD and LODWORD macros for dumping these
13469 integers.
13471 Updated the implementation of the Stall() operator to only call
13472 AcpiOsStall(), and also return an error if the operand is larger
13473 than 255.  This preserves the required behavior of not
13474 relinquishing the processor, as would happen if AcpiOsSleep() was
13475 called for "long stalls".
13477 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13478 initialized are now treated as NOOPs.
13480 Cleaned up a handful of warnings during 64-bit generation.
13482 Fixed a reported error where and incorrect GPE number was passed
13483 to the GPE dispatch handler.  This value is only used for error
13484 output, however.  Used this opportunity to clean up and streamline
13485 the GPE dispatch code.
13487 Code and Data Size: Current and previous core subsystem library
13488 sizes are shown below.  These are the code and data sizes for the
13489 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13490 these values do not include any ACPI driver or OSPM code.  The
13492 debug version of the code includes the debug output trace
13493 mechanism and has a much larger code and data size.  Note that
13494 these values will vary depending on the efficiency of the compiler
13495 and the compiler options used during generation.
13497   Previous Release (20031002):
13498     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13499     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13500   Current Release:
13501     Non-Debug Version:  74.4K Code,  10.1K Data,   84.5K Total
13502     Debug Version:     158.3K Code,  65.0K Data,  223.3K Total
13505 2) iASL Compiler/Disassembler:
13507 Updated the iASL compiler to return an error if the operand to the
13508 Stall() operator is larger than 255.
13511 ----------------------------------------
13512 02 October 2003.  Summary of changes for version 20031002:
13515 1) ACPI CA Core Subsystem:
13517 Fixed a problem with Index Fields where the index was not
13518 incremented for fields that require multiple writes to the
13519 index/data registers (Fields that are wider than the data
13520 register.)
13522 Fixed a problem with all Field objects where a write could go
13523 beyond the end-of-field if the field was larger than the access
13524 granularity and therefore required multiple writes to complete the
13525 request.  An extra write beyond the end of the field could happen
13526 inadvertently.
13528 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13529 would incorrectly be returned if the width of the Data Register
13530 was larger than the specified field access width.
13532 Completed fixes for LoadTable() and Unload() and verified their
13533 operation.  Implemented full support for the "DdbHandle" object
13534 throughout the ACPI CA subsystem.
13536 Implemented full support for the MADT and ECDT tables in the ACPI
13537 CA header files.  Even though these tables are not directly
13538 consumed by ACPI CA, the header definitions are useful for ACPI
13539 device drivers.
13541 Integrated resource descriptor fixes posted to the Linux ACPI
13542 list.  This included checks for minimum descriptor length, and
13543 support for trailing NULL strings within descriptors that have
13544 optional string elements.
13546 Code and Data Size: Current and previous core subsystem library
13547 sizes are shown below.  These are the code and data sizes for the
13548 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13549 these values do not include any ACPI driver or OSPM code.  The
13550 debug version of the code includes the debug output trace
13551 mechanism and has a much larger code and data size.  Note that
13552 these values will vary depending on the efficiency of the compiler
13553 and the compiler options used during generation.
13555   Previous Release (20030918):
13556     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13557     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13558   Current Release:
13559     Non-Debug Version:  74.1K Code,   9.7K Data,   83.8K Total
13560     Debug Version:     157.9K Code,  64.8K Data,  222.7K Total
13563 2) iASL Compiler:
13565 Implemented detection of non-ASCII characters within the input
13566 source ASL file.  This catches attempts to compile binary (AML)
13567 files early in the compile, with an informative error message.
13569 Fixed a problem where the disassembler would fault if the output
13570 filename could not be generated or if the output file could not be
13571 opened.
13573 ----------------------------------------
13574 18 September 2003.  Summary of changes for version 20030918:
13577 1) ACPI CA Core Subsystem:
13579 Found and fixed a longstanding problem with the late execution of
13580 the various deferred AML opcodes (such as Operation Regions,
13581 Buffer Fields, Buffers, and Packages).  If the name string
13582 specified for the name of the new object placed the object in a
13583 scope other than the current scope, the initialization/execution
13584 of the opcode failed.  The solution to this problem was to
13585 implement a mechanism where the late execution of such opcodes
13586 does not attempt to lookup/create the name a second time in an
13587 incorrect scope.  This fixes the "region size computed
13588 incorrectly" problem.
13590 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13591 Global Lock AE_BAD_PARAMETER error.
13593 Fixed several 64-bit issues with prototypes, casting and data
13594 types.
13596 Removed duplicate prototype from acdisasm.h
13598 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13600 Code and Data Size: Current and previous core subsystem library
13601 sizes are shown below.  These are the code and data sizes for the
13602 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13603 these values do not include any ACPI driver or OSPM code.  The
13604 debug version of the code includes the debug output trace
13605 mechanism and has a much larger code and data size.  Note that
13606 these values will vary depending on the efficiency of the compiler
13607 and the compiler options used during generation.
13609   Previous Release:
13611     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13612     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13613   Current Release:
13614     Non-Debug Version:  73.9K Code,   9.7K Data,   83.6K Total
13615     Debug Version:     157.3K Code,  64.5K Data,  221.8K Total
13618 2) Linux:
13620 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13621 correct sleep time in seconds.
13623 ----------------------------------------
13624 14 July 2003.  Summary of changes for version 20030619:
13626 1) ACPI CA Core Subsystem:
13628 Parse SSDTs in order discovered, as opposed to reverse order
13629 (Hrvoje Habjanic)
13631 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13632 Klausner,
13633    Nate Lawson)
13636 2) Linux:
13638 Dynamically allocate SDT list (suggested by Andi Kleen)
13640 proc function return value cleanups (Andi Kleen)
13642 Correctly handle NMI watchdog during long stalls (Andrew Morton)
13644 Make it so acpismp=force works (reported by Andrew Morton)
13647 ----------------------------------------
13648 19 June 2003.  Summary of changes for version 20030619:
13650 1) ACPI CA Core Subsystem:
13652 Fix To/FromBCD, eliminating the need for an arch-specific #define.
13654 Do not acquire a semaphore in the S5 shutdown path.
13656 Fix ex_digits_needed for 0. (Takayoshi Kochi)
13658 Fix sleep/stall code reversal. (Andi Kleen)
13660 Revert a change having to do with control method calling
13661 semantics.
13663 2) Linux:
13665 acpiphp update (Takayoshi Kochi)
13667 Export acpi_disabled for sonypi (Stelian Pop)
13669 Mention acpismp=force in config help
13671 Re-add acpitable.c and acpismp=force. This improves backwards
13673 compatibility and also cleans up the code to a significant degree.
13675 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13677 ----------------------------------------
13678 22 May 2003.  Summary of changes for version 20030522:
13680 1) ACPI CA Core Subsystem:
13682 Found and fixed a reported problem where an AE_NOT_FOUND error
13683 occurred occasionally during _BST evaluation.  This turned out to
13684 be an Owner ID allocation issue where a called method did not get
13685 a new ID assigned to it.  Eventually, (after 64k calls), the Owner
13686 ID UINT16 would wraparound so that the ID would be the same as the
13687 caller's and the called method would delete the caller's
13688 namespace.
13690 Implemented extended error reporting for control methods that are
13691 aborted due to a run-time exception.  Output includes the exact
13692 AML instruction that caused the method abort, a dump of the method
13693 locals and arguments at the time of the abort, and a trace of all
13694 nested control method calls.
13696 Modified the interpreter to allow the creation of buffers of zero
13697 length from the AML code. Implemented new code to ensure that no
13698 attempt is made to actually allocate a memory buffer (of length
13699 zero) - instead, a simple buffer object with a NULL buffer pointer
13700 and length zero is created.  A warning is no longer issued when
13701 the AML attempts to create a zero-length buffer.
13703 Implemented a workaround for the "leading asterisk issue" in
13704 _HIDs, _UIDs, and _CIDs in the AML interpreter.  One leading
13705 asterisk is automatically removed if present in any HID, UID, or
13706 CID strings.  The iASL compiler will still flag this asterisk as
13707 an error, however.
13709 Implemented full support for _CID methods that return a package of
13710 multiple CIDs (Compatible IDs).  The AcpiGetObjectInfo() interface
13711 now additionally returns a device _CID list if present.  This
13712 required a change to the external interface in order to pass an
13713 ACPI_BUFFER object as a parameter since the _CID list is of
13714 variable length.
13716 Fixed a problem with the new AE_SAME_HANDLER exception where
13717 handler initialization code did not know about this exception.
13719 Code and Data Size: Current and previous core subsystem library
13720 sizes are shown below.  These are the code and data sizes for the
13721 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13722 these values do not include any ACPI driver or OSPM code.  The
13723 debug version of the code includes the debug output trace
13724 mechanism and has a much larger code and data size.  Note that
13725 these values will vary depending on the efficiency of the compiler
13726 and the compiler options used during generation.
13728   Previous Release (20030509):
13729     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13730     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13731   Current Release:
13732     Non-Debug Version:  73.7K Code,   9.7K Data,   83.4K Total
13733     Debug Version:     156.9K Code,  64.2K Data,  221.1K Total
13736 2) Linux:
13738 Fixed a bug in which we would reinitialize the ACPI interrupt
13739 after it was already working, thus disabling all ACPI and the IRQs
13740 for any other device sharing the interrupt. (Thanks to Stian
13741 Jordet)
13743 Toshiba driver update (John Belmonte)
13745 Return only 0 or 1 for our interrupt handler status (Andrew
13746 Morton)
13749 3) iASL Compiler:
13751 Fixed a reported problem where multiple (nested) ElseIf()
13752 statements were not handled correctly by the compiler, resulting
13753 in incorrect warnings and incorrect AML code.  This was a problem
13754 in both the ASL parser and the code generator.
13757 4) Documentation:
13759 Added changes to existing interfaces, new exception codes, and new
13760 text concerning reference count object management versus garbage
13761 collection.
13763 ----------------------------------------
13764 09 May 2003.  Summary of changes for version 20030509.
13767 1) ACPI CA Core Subsystem:
13769 Changed the subsystem initialization sequence to hold off
13770 installation of address space handlers until the hardware has been
13771 initialized and the system has entered ACPI mode.  This is because
13772 the installation of space handlers can cause _REG methods to be
13773 run.  Previously, the _REG methods could potentially be run before
13774 ACPI mode was enabled.
13776 Fixed some memory leak issues related to address space handler and
13777 notify handler installation.  There were some problems with the
13778 reference count mechanism caused by the fact that the handler
13779 objects are shared across several namespace objects.
13781 Fixed a reported problem where reference counts within the
13782 namespace were not properly updated when named objects created by
13783 method execution were deleted.
13785 Fixed a reported problem where multiple SSDTs caused a deletion
13786 issue during subsystem termination.  Restructured the table data
13787 structures to simplify the linked lists and the related code.
13789 Fixed a problem where the table ID associated with secondary
13790 tables (SSDTs) was not being propagated into the namespace objects
13791 created by those tables.  This would only present a problem for
13792 tables that are unloaded at run-time, however.
13794 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13795 type as the length parameter (instead of UINT32).
13797 Solved a long-standing problem where an ALREADY_EXISTS error
13798 appears on various systems.  This problem could happen when there
13799 are multiple PCI_Config operation regions under a single PCI root
13800 bus.  This doesn't happen very frequently, but there are some
13801 systems that do this in the ASL.
13803 Fixed a reported problem where the internal DeleteNode function
13804 was incorrectly handling the case where a namespace node was the
13805 first in the parent's child list, and had additional peers (not
13806 the only child, but first in the list of children.)
13808 Code and Data Size: Current core subsystem library sizes are shown
13809 below.  These are the code and data sizes for the acpica.lib
13810 produced by the Microsoft Visual C++ 6.0 compiler, and these
13811 values do not include any ACPI driver or OSPM code.  The debug
13812 version of the code includes the debug output trace mechanism and
13813 has a much larger code and data size.  Note that these values will
13814 vary depending on the efficiency of the compiler and the compiler
13815 options used during generation.
13817   Previous Release
13818     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13819     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13820   Current Release:
13821     Non-Debug Version:  73.4K Code,   9.7K Data,   83.1K Total
13822     Debug Version:     156.1K Code,  63.9K Data,  220.0K Total
13825 2) Linux:
13827 Allow ":" in OS override string (Ducrot Bruno)
13829 Kobject fix (Greg KH)
13832 3 iASL Compiler/Disassembler:
13834 Fixed a problem in the generation of the C source code files (AML
13835 is emitted in C source statements for BIOS inclusion) where the
13836 Ascii dump that appears within a C comment at the end of each line
13837 could cause a compile time error if the AML sequence happens to
13838 have an open comment or close comment sequence embedded.
13841 ----------------------------------------
13842 24 April 2003.  Summary of changes for version 20030424.
13845 1) ACPI CA Core Subsystem:
13847 Support for big-endian systems has been implemented.  Most of the
13848 support has been invisibly added behind big-endian versions of the
13849 ACPI_MOVE_* macros.
13851 Fixed a problem in AcpiHwDisableGpeBlock() and
13852 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13853 low level hardware write routine.  The offset parameter was
13854 actually eliminated from the low level read/write routines because
13855 they had become obsolete.
13857 Fixed a problem where a handler object was deleted twice during
13858 the removal of a fixed event handler.
13861 2) Linux:
13863 A fix for SMP systems with link devices was contributed by
13865 Compaq's Dan Zink.
13867 (2.5) Return whether we handled the interrupt in our IRQ handler.
13868 (Linux ISRs no longer return void, so we can propagate the handler
13869 return value from the ACPI CA core back to the OS.)
13873 3) Documentation:
13875 The ACPI CA Programmer Reference has been updated to reflect new
13876 interfaces and changes to existing interfaces.
13878 ----------------------------------------
13879 28 March 2003.  Summary of changes for version 20030328.
13881 1) ACPI CA Core Subsystem:
13883 The GPE Block Device support has been completed.  New interfaces
13884 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock.  The Event
13885 interfaces (enable, disable, clear, getstatus) have been split
13886 into separate interfaces for Fixed Events and General Purpose
13887 Events (GPEs) in order to support GPE Block Devices properly.
13889 Fixed a problem where the error message "Failed to acquire
13890 semaphore" would appear during operations on the embedded
13891 controller (EC).
13893 Code and Data Size: Current core subsystem library sizes are shown
13894 below.  These are the code and data sizes for the acpica.lib
13895 produced by the Microsoft Visual C++ 6.0 compiler, and these
13896 values do not include any ACPI driver or OSPM code.  The debug
13897 version of the code includes the debug output trace mechanism and
13898 has a much larger code and data size.  Note that these values will
13899 vary depending on the efficiency of the compiler and the compiler
13900 options used during generation.
13902   Previous Release
13903     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
13904     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
13905   Current Release:
13906     Non-Debug Version:  73.7K Code,   9.5K Data,   83.2K Total
13907     Debug Version:     156.1K Code,  63.6K Data,  219.7K Total
13910 ----------------------------------------
13911 28 February 2003.  Summary of changes for version 20030228.
13914 1) ACPI CA Core Subsystem:
13916 The GPE handling and dispatch code has been completely overhauled
13917 in preparation for support of GPE Block Devices (ID ACPI0006).
13918 This affects internal data structures and code only; there should
13919 be no differences visible externally.  One new file has been
13920 added, evgpeblk.c
13922 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
13923 fields that are used to determine the GPE block lengths.  The
13924 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
13925 structures are ignored.  This is per the ACPI specification but it
13926 isn't very clear.  The full 256 Block 0/1 GPEs are now supported
13927 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
13929 In the SCI interrupt handler, removed the read of the PM1_CONTROL
13930 register to look at the SCI_EN bit.  On some machines, this read
13931 causes an SMI event and greatly slows down SCI events.  (This may
13932 in fact be the cause of slow battery status response on some
13933 systems.)
13935 Fixed a problem where a store of a NULL string to a package object
13936 could cause the premature deletion of the object.  This was seen
13937 during execution of the battery _BIF method on some systems,
13938 resulting in no battery data being returned.
13940 Added AcpiWalkResources interface to simplify parsing of resource
13941 lists.
13943 Code and Data Size: Current core subsystem library sizes are shown
13944 below.  These are the code and data sizes for the acpica.lib
13945 produced by the Microsoft Visual C++ 6.0 compiler, and these
13946 values do not include any ACPI driver or OSPM code.  The debug
13947 version of the code includes the debug output trace mechanism and
13948 has a much larger code and data size.  Note that these values will
13949 vary depending on the efficiency of the compiler and the compiler
13950 options used during generation.
13952   Previous Release
13953     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
13954     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
13955   Current Release:
13956     Non-Debug Version:  72.3K Code,   9.5K Data,   81.8K Total
13957     Debug Version:     154.0K Code,  63.4K Data,  217.4K Total
13960 2) Linux
13962 S3 fixes (Ole Rohne)
13964 Update ACPI PHP driver with to use new acpi_walk_resource API
13965 (Bjorn Helgaas)
13967 Add S4BIOS support (Pavel Machek)
13969 Map in entire table before performing checksum (John Stultz)
13971 Expand the mem= cmdline to allow the specification of reserved and
13972 ACPI DATA blocks (Pavel Machek)
13974 Never use ACPI on VISWS
13976 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
13978 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
13979 causing us to think that some systems support C2 when they really
13980 don't.
13982 Do not count processor objects for non-present CPUs (Thanks to
13983 Dominik Brodowski)
13986 3) iASL Compiler:
13988 Fixed a problem where ASL include files could not be found and
13989 opened.
13991 Added support for the _PDC reserved name.
13994 ----------------------------------------
13995 22 January 2003.  Summary of changes for version 20030122.
13998 1) ACPI CA Core Subsystem:
14000 Added a check for constructs of the form:  Store (Local0, Local0)
14001 where Local0 is not initialized.  Apparently, some BIOS
14002 programmers believe that this is a NOOP.  Since this store doesn't
14003 do anything anyway, the new prototype behavior will ignore this
14004 error.  This is a case where we can relax the strict checking in
14005 the interpreter in the name of compatibility.
14008 2) Linux
14010 The AcpiSrc Source Conversion Utility has been released with the
14011 Linux package for the first time.  This is the utility that is
14012 used to convert the ACPI CA base source code to the Linux version.
14014 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14016 (Both) Move more headers to include/acpi, and delete an unused
14017 header.
14019 (Both) Move drivers/acpi/include directory to include/acpi
14021 (Both) Boot functions don't use cmdline, so don't pass it around
14023 (Both) Remove include of unused header (Adrian Bunk)
14025 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14027 former now also includes the latter, acpiphp.h only needs the one,
14028 now.
14030 (2.5) Make it possible to select method of bios restoring after S3
14031 resume. [=> no more ugly ifdefs] (Pavel Machek)
14033 (2.5) Make proc write interfaces work (Pavel Machek)
14035 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14037 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14038 (Dominik Brodowski)
14040 (2.4) S4BIOS support (Ducrot Bruno)
14042 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14043 Visinoni)
14046 3) iASL Compiler:
14048 Added support to disassemble SSDT and PSDTs.
14050 Implemented support to obtain SSDTs from the Windows registry if
14051 available.
14054 ----------------------------------------
14055 09 January 2003.  Summary of changes for version 20030109.
14057 1) ACPI CA Core Subsystem:
14059 Changed the behavior of the internal Buffer-to-String conversion
14060 function.  The current ACPI specification states that the contents
14061 of the buffer are "converted to a string of two-character
14062 hexadecimal numbers, each separated by a space".  Unfortunately,
14063 this definition is not backwards compatible with existing ACPI 1.0
14064 implementations (although the behavior was not defined in the ACPI
14065 1.0 specification).  The new behavior simply copies data from the
14066 buffer to the string until a null character is found or the end of
14067 the buffer is reached.  The new String object is always null
14068 terminated.  This problem was seen during the generation of _BIF
14069 battery data where incorrect strings were returned for battery
14070 type, etc.  This will also require an errata to the ACPI
14071 specification.
14073 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14074 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14076 Copyright in all module headers (both Linux and non-Linux) has be
14077 updated to 2003.
14079 Code and Data Size: Current core subsystem library sizes are shown
14080 below.  These are the code and data sizes for the acpica.lib
14081 produced by the Microsoft Visual C++ 6.0 compiler, and these
14082 values do not include any ACPI driver or OSPM code.  The debug
14083 version of the code includes the debug output trace mechanism and
14084 has a much larger code and data size.  Note that these values will
14085 vary depending on the efficiency of the compiler and the compiler
14086 options used during generation.
14088   Previous Release
14089     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14090     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14091   Current Release:
14092     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14093     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14096 2) Linux
14098 Fixed an oops on module insertion/removal (Matthew Tippett)
14100 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14102 (2.5) Replace pr_debug (Randy Dunlap)
14104 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14106 (Both) Eliminate spawning of thread from timer callback, in favor
14107 of schedule_work()
14109 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14111 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14113 (Both) Add missing statics to button.c (Pavel Machek)
14115 Several changes have been made to the source code translation
14116 utility that generates the Linux Code in order to make the code
14117 more "Linux-like":
14119 All typedefs on structs and unions have been removed in keeping
14120 with the Linux coding style.
14122 Removed the non-Linux SourceSafe module revision number from each
14123 module header.
14125 Completed major overhaul of symbols to be lowercased for linux.
14126 Doubled the number of symbols that are lowercased.
14128 Fixed a problem where identifiers within procedure headers and
14129 within quotes were not fully lower cased (they were left with a
14130 starting capital.)
14132 Some C macros whose only purpose is to allow the generation of 16-
14133 bit code are now completely removed in the Linux code, increasing
14134 readability and maintainability.
14136 ----------------------------------------
14138 12 December 2002.  Summary of changes for version 20021212.
14141 1) ACPI CA Core Subsystem:
14143 Fixed a problem where the creation of a zero-length AML Buffer
14144 would cause a fault.
14146 Fixed a problem where a Buffer object that pointed to a static AML
14147 buffer (in an ACPI table) could inadvertently be deleted, causing
14148 memory corruption.
14150 Fixed a problem where a user buffer (passed in to the external
14151 ACPI CA interfaces) could be overwritten if the buffer was too
14152 small to complete the operation, causing memory corruption.
14154 Fixed a problem in the Buffer-to-String conversion code where a
14155 string of length one was always returned, regardless of the size
14156 of the input Buffer object.
14158 Removed the NATIVE_CHAR data type across the entire source due to
14159 lack of need and lack of consistent use.
14161 Code and Data Size: Current core subsystem library sizes are shown
14162 below.  These are the code and data sizes for the acpica.lib
14163 produced by the Microsoft Visual C++ 6.0 compiler, and these
14164 values do not include any ACPI driver or OSPM code.  The debug
14165 version of the code includes the debug output trace mechanism and
14166 has a much larger code and data size.  Note that these values will
14167 vary depending on the efficiency of the compiler and the compiler
14168 options used during generation.
14170   Previous Release
14171     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14172     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14173   Current Release:
14174     Non-Debug Version:  72.0K Code,   9.5K Data,   81.5K Total
14175     Debug Version:     153.0K Code,  62.9K Data,  215.9K Total
14178 ----------------------------------------
14179 05 December 2002.  Summary of changes for version 20021205.
14181 1) ACPI CA Core Subsystem:
14183 Fixed a problem where a store to a String or Buffer object could
14184 cause corruption of the DSDT if the object type being stored was
14185 the same as the target object type and the length of the object
14186 being stored was equal to or smaller than the original (existing)
14187 target object.  This was seen to cause corruption of battery _BIF
14188 buffers if the _BIF method modified the buffer on the fly.
14190 Fixed a problem where an internal error was generated if a control
14191 method invocation was used in an OperationRegion, Buffer, or
14192 Package declaration.  This was caused by the deferred parsing of
14193 the control method and thus the deferred creation of the internal
14194 method object.  The solution to this problem was to create the
14195 internal method object at the moment the method is encountered in
14196 the first pass - so that subsequent references to the method will
14197 able to obtain the required parameter count and thus properly
14198 parse the method invocation.  This problem presented itself as an
14199 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14201 Fixed a problem where the internal String object copy routine did
14202 not always allocate sufficient memory for the target String object
14203 and caused memory corruption.  This problem was seen to cause
14204 "Allocation already present in list!" errors as memory allocation
14205 became corrupted.
14207 Implemented a new function for the evaluation of namespace objects
14208 that allows the specification of the allowable return object
14209 types.  This simplifies a lot of code that checks for a return
14210 object of one or more specific objects returned from the
14211 evaluation (such as _STA, etc.)  This may become and external
14212 function if it would be useful to ACPI-related drivers.
14214 Completed another round of prefixing #defines with "ACPI_" for
14215 clarity.
14217 Completed additional code restructuring to allow more modular
14218 linking for iASL compiler and AcpiExec.  Several files were split
14219 creating new files.  New files:  nsparse.c dsinit.c evgpe.c
14221 Implemented an abort mechanism to terminate an executing control
14222 method via the AML debugger.  This feature is useful for debugging
14223 control methods that depend (wait) for specific hardware
14224 responses.
14226 Code and Data Size: Current core subsystem library sizes are shown
14227 below.  These are the code and data sizes for the acpica.lib
14228 produced by the Microsoft Visual C++ 6.0 compiler, and these
14229 values do not include any ACPI driver or OSPM code.  The debug
14230 version of the code includes the debug output trace mechanism and
14231 has a much larger code and data size.  Note that these values will
14232 vary depending on the efficiency of the compiler and the compiler
14233 options used during generation.
14235   Previous Release
14236     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14237     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14238   Current Release:
14239     Non-Debug Version:  72.1K Code,   9.5K Data,   81.6K Total
14240     Debug Version:     152.7K Code,  62.7K Data,  215.4K Total
14243 2) iASL Compiler/Disassembler
14245 Fixed a compiler code generation problem for "Interrupt" Resource
14246 Descriptors.  If specified in the ASL, the optional "Resource
14247 Source Index" and "Resource Source" fields were not inserted into
14248 the correct location within the AML resource descriptor, creating
14249 an invalid descriptor.
14251 Fixed a disassembler problem for "Interrupt" resource descriptors.
14252 The optional "Resource Source Index" and "Resource Source" fields
14253 were ignored.
14256 ----------------------------------------
14257 22 November 2002.  Summary of changes for version 20021122.
14260 1) ACPI CA Core Subsystem:
14262 Fixed a reported problem where an object stored to a Method Local
14263 or Arg was not copied to a new object during the store - the
14264 object pointer was simply copied to the Local/Arg.  This caused
14265 all subsequent operations on the Local/Arg to also affect the
14266 original source of the store operation.
14268 Fixed a problem where a store operation to a Method Local or Arg
14269 was not completed properly if the Local/Arg contained a reference
14270 (from RefOf) to a named field.  The general-purpose store-to-
14271 namespace-node code is now used so that this case is handled
14272 automatically.
14274 Fixed a problem where the internal object copy routine would cause
14275 a protection fault if the object being copied was a Package and
14276 contained either 1) a NULL package element or 2) a nested sub-
14277 package.
14279 Fixed a problem with the GPE initialization that resulted from an
14280 ambiguity in the ACPI specification.  One section of the
14281 specification states that both the address and length of the GPE
14282 block must be zero if the block is not supported.  Another section
14283 implies that only the address need be zero if the block is not
14284 supported.  The code has been changed so that both the address and
14285 the length must be non-zero to indicate a valid GPE block (i.e.,
14286 if either the address or the length is zero, the GPE block is
14287 invalid.)
14289 Code and Data Size: Current core subsystem library sizes are shown
14290 below.  These are the code and data sizes for the acpica.lib
14291 produced by the Microsoft Visual C++ 6.0 compiler, and these
14292 values do not include any ACPI driver or OSPM code.  The debug
14293 version of the code includes the debug output trace mechanism and
14294 has a much larger code and data size.  Note that these values will
14295 vary depending on the efficiency of the compiler and the compiler
14296 options used during generation.
14298   Previous Release
14299     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14300     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14301   Current Release:
14302     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14303     Debug Version:     152.9K Code,  63.3K Data,  216.2K Total
14306 2) Linux
14308 Cleaned up EC driver. Exported an external EC read/write
14309 interface. By going through this, other drivers (most notably
14310 sonypi) will be able to serialize access to the EC.
14313 3) iASL Compiler/Disassembler
14315 Implemented support to optionally generate include files for both
14316 ASM and C (the -i switch).  This simplifies BIOS development by
14317 automatically creating include files that contain external
14318 declarations for the symbols that are created within the
14320 (optionally generated) ASM and C AML source files.
14323 ----------------------------------------
14324 15 November 2002.  Summary of changes for version 20021115.
14326 1) ACPI CA Core Subsystem:
14328 Fixed a memory leak problem where an error during resolution of
14330 method arguments during a method invocation from another method
14331 failed to cleanup properly by deleting all successfully resolved
14332 argument objects.
14334 Fixed a problem where the target of the Index() operator was not
14335 correctly constructed if the source object was a package.  This
14336 problem has not been detected because the use of a target operand
14337 with Index() is very rare.
14339 Fixed a problem with the Index() operator where an attempt was
14340 made to delete the operand objects twice.
14342 Fixed a problem where an attempt was made to delete an operand
14343 twice during execution of the CondRefOf() operator if the target
14344 did not exist.
14346 Implemented the first of perhaps several internal create object
14347 functions that create and initialize a specific object type.  This
14348 consolidates duplicated code wherever the object is created, thus
14349 shrinking the size of the subsystem.
14351 Implemented improved debug/error messages for errors that occur
14352 during nested method invocations.  All executing method pathnames
14353 are displayed (with the error) as the call stack is unwound - thus
14354 simplifying debug.
14356 Fixed a problem introduced in the 10/02 release that caused
14357 premature deletion of a buffer object if a buffer was used as an
14358 ASL operand where an integer operand is required (Thus causing an
14359 implicit object conversion from Buffer to Integer.)  The change in
14360 the 10/02 release was attempting to fix a memory leak (albeit
14361 incorrectly.)
14363 Code and Data Size: Current core subsystem library sizes are shown
14364 below.  These are the code and data sizes for the acpica.lib
14365 produced by the Microsoft Visual C++ 6.0 compiler, and these
14366 values do not include any ACPI driver or OSPM code.  The debug
14367 version of the code includes the debug output trace mechanism and
14368 has a much larger code and data size.  Note that these values will
14369 vary depending on the efficiency of the compiler and the compiler
14370 options used during generation.
14372   Previous Release
14373     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14374     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14375   Current Release:
14376     Non-Debug Version:  71.3K Code,   9.0K Data,   80.3K Total
14377     Debug Version:     152.7K Code,  63.2K Data,  215.5K Total
14380 2) Linux
14382 Changed the implementation of the ACPI semaphores to use down()
14383 instead of down_interruptable().  It is important that the
14384 execution of ACPI control methods not be interrupted by signals.
14385 Methods must run to completion, or the system may be left in an
14386 unknown/unstable state.
14388 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14389 (Shawn Starr)
14392 3) iASL Compiler/Disassembler
14395 Changed the default location of output files.  All output files
14396 are now placed in the current directory by default instead of in
14397 the directory of the source file.  This change may affect some
14398 existing makefiles, but it brings the behavior of the compiler in
14399 line with other similar tools.  The location of the output files
14400 can be overridden with the -p command line switch.
14403 ----------------------------------------
14404 11 November 2002.  Summary of changes for version 20021111.
14407 0) ACPI Specification 2.0B is released and is now available at:
14408 http://www.acpi.info/index.html
14411 1) ACPI CA Core Subsystem:
14413 Implemented support for the ACPI 2.0 SMBus Operation Regions.
14414 This includes the early detection and handoff of the request to
14415 the SMBus region handler (avoiding all of the complex field
14416 support code), and support for the bidirectional return packet
14417 from an SMBus write operation.  This paves the way for the
14418 development of SMBus drivers in each host operating system.
14420 Fixed a problem where the semaphore WAIT_FOREVER constant was
14421 defined as 32 bits, but must be 16 bits according to the ACPI
14422 specification.  This had the side effect of causing ASL
14423 Mutex/Event timeouts even though the ASL code requested a wait
14424 forever.  Changed all internal references to the ACPI timeout
14425 parameter to 16 bits to prevent future problems.  Changed the name
14426 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14428 Code and Data Size: Current core subsystem library sizes are shown
14429 below.  These are the code and data sizes for the acpica.lib
14430 produced by the Microsoft Visual C++ 6.0 compiler, and these
14431 values do not include any ACPI driver or OSPM code.  The debug
14432 version of the code includes the debug output trace mechanism and
14433 has a much larger code and data size.  Note that these values will
14434 vary depending on the efficiency of the compiler and the compiler
14435 options used during generation.
14437   Previous Release
14438     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14439     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14440   Current Release:
14441     Non-Debug Version:  71.9K Code,   9.1K Data,   81.0K Total
14442     Debug Version:     153.1K Code,  63.3K Data,  216.4K Total
14445 2) Linux
14447 Module loading/unloading fixes (John Cagle)
14450 3) iASL Compiler/Disassembler
14452 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14454 Implemented support for the disassembly of all SMBus protocol
14455 keywords (SMBQuick, SMBWord, etc.)
14457 ----------------------------------------
14458 01 November 2002.  Summary of changes for version 20021101.
14461 1) ACPI CA Core Subsystem:
14463 Fixed a problem where platforms that have a GPE1 block but no GPE0
14464 block were not handled correctly.  This resulted in a "GPE
14465 overlap" error message.  GPE0 is no longer required.
14467 Removed code added in the previous release that inserted nodes
14468 into the namespace in alphabetical order.  This caused some side-
14469 effects on various machines.  The root cause of the problem is
14470 still under investigation since in theory, the internal ordering
14471 of the namespace nodes should not matter.
14474 Enhanced error reporting for the case where a named object is not
14475 found during control method execution.  The full ACPI namepath
14476 (name reference) of the object that was not found is displayed in
14477 this case.
14479 Note: as a result of the overhaul of the namespace object types in
14480 the previous release, the namespace nodes for the predefined
14481 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14482 instead of ACPI_TYPE_ANY.  This simplifies the namespace
14483 management code but may affect code that walks the namespace tree
14484 looking for specific object types.
14486 Code and Data Size: Current core subsystem library sizes are shown
14487 below.  These are the code and data sizes for the acpica.lib
14488 produced by the Microsoft Visual C++ 6.0 compiler, and these
14489 values do not include any ACPI driver or OSPM code.  The debug
14490 version of the code includes the debug output trace mechanism and
14491 has a much larger code and data size.  Note that these values will
14492 vary depending on the efficiency of the compiler and the compiler
14493 options used during generation.
14495   Previous Release
14496     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14497     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14498   Current Release:
14499     Non-Debug Version:  71.4K Code,   9.0K Data,   80.4K Total
14500     Debug Version:     152.3K Code,  63.0K Data,  215.3K Total
14503 2) Linux
14505 Fixed a problem introduced in the previous release where the
14506 Processor and Thermal objects were not recognized and installed in
14507 /proc.  This was related to the scope type change described above.
14510 3) iASL Compiler/Disassembler
14512 Implemented the -g option to get all of the required ACPI tables
14513 from the registry and save them to files (Windows version of the
14514 compiler only.)  The required tables are the FADT, FACS, and DSDT.
14516 Added ACPI table checksum validation during table disassembly in
14517 order to catch corrupted tables.
14520 ----------------------------------------
14521 22 October 2002.  Summary of changes for version 20021022.
14523 1) ACPI CA Core Subsystem:
14525 Implemented a restriction on the Scope operator that the target
14526 must already exist in the namespace at the time the operator is
14527 encountered (during table load or method execution).  In other
14528 words, forward references are not allowed and Scope() cannot
14529 create a new object. This changes the previous behavior where the
14530 interpreter would create the name if not found.  This new behavior
14531 correctly enables the search-to-root algorithm during namespace
14532 lookup of the target name.  Because of this upsearch, this fixes
14533 the known Compaq _SB_.OKEC problem and makes both the AML
14534 interpreter and iASL compiler compatible with other ACPI
14535 implementations.
14537 Completed a major overhaul of the internal ACPI object types for
14538 the ACPI Namespace and the associated operand objects.  Many of
14539 these types had become obsolete with the introduction of the two-
14540 pass namespace load.  This cleanup simplifies the code and makes
14541 the entire namespace load mechanism much clearer and easier to
14542 understand.
14544 Improved debug output for tracking scope opening/closing to help
14545 diagnose scoping issues.  The old scope name as well as the new
14546 scope name are displayed.  Also improved error messages for
14547 problems with ASL Mutex objects and error messages for GPE
14548 problems.
14550 Cleaned up the namespace dump code, removed obsolete code.
14552 All string output (for all namespace/object dumps) now uses the
14553 common ACPI string output procedure which handles escapes properly
14554 and does not emit non-printable characters.
14556 Fixed some issues with constants in the 64-bit version of the
14557 local C library (utclib.c)
14560 2) Linux
14562 EC Driver:  No longer attempts to acquire the Global Lock at
14563 interrupt level.
14566 3) iASL Compiler/Disassembler
14568 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
14569 2 opcodes outside of a control method.  This means that the
14570 "executable" operators (versus the "namespace" operators) cannot
14571 be used at the table level; they can only be used within a control
14572 method.
14574 Implemented the restriction on the Scope() operator where the
14575 target must already exist in the namespace at the time the
14576 operator is encountered (during ASL compilation). In other words,
14577 forward references are not allowed and Scope() cannot create a new
14578 object.  This makes the iASL compiler compatible with other ACPI
14579 implementations and makes the Scope() implementation adhere to the
14580 ACPI specification.
14582 Fixed a problem where namepath optimization for the Alias operator
14583 was optimizing the wrong path (of the two namepaths.)  This caused
14584 a "Missing alias link" error message.
14586 Fixed a problem where an "unknown reserved name" warning could be
14587 incorrectly generated for names like "_SB" when the trailing
14588 underscore is not used in the original ASL.
14590 Fixed a problem where the reserved name check did not handle
14591 NamePaths with multiple NameSegs correctly.  The first nameseg of
14592 the NamePath was examined instead of the last NameSeg.
14595 ----------------------------------------
14597 02 October 2002.  Summary of changes for this release.
14600 1) ACPI CA Core Subsystem version 20021002:
14602 Fixed a problem where a store/copy of a string to an existing
14603 string did not always set the string length properly in the String
14604 object.
14606 Fixed a reported problem with the ToString operator where the
14607 behavior was identical to the ToHexString operator instead of just
14608 simply converting a raw buffer to a string data type.
14610 Fixed a problem where CopyObject and the other "explicit"
14611 conversion operators were not updating the internal namespace node
14612 type as part of the store operation.
14614 Fixed a memory leak during implicit source operand conversion
14615 where the original object was not deleted if it was converted to a
14616 new object of a different type.
14618 Enhanced error messages for all problems associated with namespace
14619 lookups.  Common procedure generates and prints the lookup name as
14620 well as the formatted status.
14622 Completed implementation of a new design for the Alias support
14623 within the namespace.  The existing design did not handle the case
14624 where a new object was assigned to one of the two names due to the
14625 use of an explicit conversion operator, resulting in the two names
14626 pointing to two different objects.  The new design simply points
14627 the Alias name to the original name node - not to the object.
14628 This results in a level of indirection that must be handled in the
14629 name resolution mechanism.
14631 Code and Data Size: Current core subsystem library sizes are shown
14632 below.  These are the code and data sizes for the acpica.lib
14633 produced by the Microsoft Visual C++ 6.0 compiler, and these
14634 values do not include any ACPI driver or OSPM code.  The debug
14635 version of the code includes the debug output trace mechanism and
14636 has a larger code and data size.  Note that these values will vary
14637 depending on the efficiency of the compiler and the compiler
14638 options used during generation.
14640   Previous Release
14641     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14642     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14643   Current Release:
14644     Non-Debug Version:  70.7K Code,   8.6K Data,   79.3K Total
14645     Debug Version:     151.7K Code,  62.4K Data,  214.1K Total
14648 2) Linux
14650 Initialize thermal driver's timer before it is used. (Knut
14651 Neumann)
14653 Allow handling negative celsius values. (Kochi Takayoshi)
14655 Fix thermal management and make trip points. R/W (Pavel Machek)
14657 Fix /proc/acpi/sleep. (P. Christeas)
14659 IA64 fixes. (David Mosberger)
14661 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14663 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14664 Brodowski)
14667 3) iASL Compiler/Disassembler
14669 Clarified some warning/error messages.
14672 ----------------------------------------
14673 18 September 2002.  Summary of changes for this release.
14676 1) ACPI CA Core Subsystem version 20020918:
14678 Fixed a reported problem with reference chaining (via the Index()
14679 and RefOf() operators) in the ObjectType() and SizeOf() operators.
14680 The definition of these operators includes the dereferencing of
14681 all chained references to return information on the base object.
14683 Fixed a problem with stores to indexed package elements - the
14684 existing code would not complete the store if an "implicit
14685 conversion" was not performed.  In other words, if the existing
14686 object (package element) was to be replaced completely, the code
14687 didn't handle this case.
14689 Relaxed typechecking on the ASL "Scope" operator to allow the
14690 target name to refer to an object of type Integer, String, or
14691 Buffer, in addition to the scoping object types (Device,
14692 predefined Scopes, Processor, PowerResource, and ThermalZone.)
14693 This allows existing AML code that has workarounds for a bug in
14694 Windows to function properly.  A warning is issued, however.  This
14695 affects both the AML interpreter and the iASL compiler. Below is
14696 an example of this type of ASL code:
14698       Name(DEB,0x00)
14699       Scope(DEB)
14700       {
14702 Fixed some reported problems with 64-bit integer support in the
14703 local implementation of C library functions (clib.c)
14706 2) Linux
14708 Use ACPI fix map region instead of IOAPIC region, since it is
14709 undefined in non-SMP.
14711 Ensure that the SCI has the proper polarity and trigger, even on
14712 systems that do not have an interrupt override entry in the MADT.
14714 2.5 big driver reorganization (Pat Mochel)
14716 Use early table mapping code from acpitable.c (Andi Kleen)
14718 New blacklist entries (Andi Kleen)
14720 Blacklist improvements. Split blacklist code out into a separate
14721 file. Move checking the blacklist to very early. Previously, we
14722 would use ACPI tables, and then halfway through init, check the
14723 blacklist -- too late. Now, it's early enough to completely fall-
14724 back to non-ACPI.
14727 3) iASL Compiler/Disassembler version 20020918:
14729 Fixed a problem where the typechecking code didn't know that an
14730 alias could point to a method.  In other words, aliases were not
14731 being dereferenced during typechecking.
14734 ----------------------------------------
14735 29 August 2002.  Summary of changes for this release.
14737 1) ACPI CA Core Subsystem Version 20020829:
14739 If the target of a Scope() operator already exists, it must be an
14740 object type that actually opens a scope -- such as a Device,
14741 Method, Scope, etc.  This is a fatal runtime error.  Similar error
14742 check has been added to the iASL compiler also.
14744 Tightened up the namespace load to disallow multiple names in the
14745 same scope.  This previously was allowed if both objects were of
14746 the same type.  (i.e., a lookup was the same as entering a new
14747 name).
14750 2) Linux
14752 Ensure that the ACPI interrupt has the proper trigger and
14753 polarity.
14755 local_irq_disable is extraneous. (Matthew Wilcox)
14757 Make "acpi=off" actually do what it says, and not use the ACPI
14758 interpreter *or* the tables.
14760 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14761 Takayoshi)
14764 3) iASL Compiler/Disassembler  Version 20020829:
14766 Implemented namepath optimization for name declarations.  For
14767 example, a declaration like "Method (\_SB_.ABCD)" would get
14768 optimized to "Method (ABCD)" if the declaration is within the
14769 \_SB_ scope.  This optimization is in addition to the named
14770 reference path optimization first released in the previous
14771 version. This would seem to complete all possible optimizations
14772 for namepaths within the ASL/AML.
14774 If the target of a Scope() operator already exists, it must be an
14775 object type that actually opens a scope -- such as a Device,
14776 Method, Scope, etc.
14778 Implemented a check and warning for unreachable code in the same
14779 block below a Return() statement.
14781 Fixed a problem where the listing file was not generated if the
14782 compiler aborted if the maximum error count was exceeded (200).
14784 Fixed a problem where the typechecking of method return values was
14785 broken.  This includes the check for a return value when the
14786 method is invoked as a TermArg (a return value is expected.)
14788 Fixed a reported problem where EOF conditions during a quoted
14789 string or comment caused a fault.
14792 ----------------------------------------
14793 15 August 2002.  Summary of changes for this release.
14795 1) ACPI CA Core Subsystem Version 20020815:
14797 Fixed a reported problem where a Store to a method argument that
14798 contains a reference did not perform the indirect store correctly.
14799 This problem was created during the conversion to the new
14800 reference object model - the indirect store to a method argument
14801 code was not updated to reflect the new model.
14803 Reworked the ACPI mode change code to better conform to ACPI 2.0,
14804 handle corner cases, and improve code legibility (Kochi Takayoshi)
14806 Fixed a problem with the pathname parsing for the carat (^)
14807 prefix.  The heavy use of the carat operator by the new namepath
14808 optimization in the iASL compiler uncovered a problem with the AML
14809 interpreter handling of this prefix.  In the case where one or
14810 more carats precede a single nameseg, the nameseg was treated as
14811 standalone and the search rule (to root) was inadvertently
14812 applied.  This could cause both the iASL compiler and the
14813 interpreter to find the wrong object or to miss the error that
14814 should occur if the object does not exist at that exact pathname.
14816 Found and fixed the problem where the HP Pavilion DSDT would not
14817 load.  This was a relatively minor tweak to the table loading code
14818 (a problem caused by the unexpected encounter with a method
14819 invocation not within a control method), but it does not solve the
14820 overall issue of the execution of AML code at the table level.
14821 This investigation is still ongoing.
14823 Code and Data Size: Current core subsystem library sizes are shown
14824 below.  These are the code and data sizes for the acpica.lib
14825 produced by the Microsoft Visual C++ 6.0 compiler, and these
14826 values do not include any ACPI driver or OSPM code.  The debug
14827 version of the code includes the debug output trace mechanism and
14828 has a larger code and data size.  Note that these values will vary
14829 depending on the efficiency of the compiler and the compiler
14830 options used during generation.
14832   Previous Release
14833     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14834     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14835   Current Release:
14836     Non-Debug Version:  69.6K Code,   8.3K Data,   77.9K Total
14837     Debug Version:     150.0K Code,  61.7K Data,  211.7K Total
14840 2) Linux
14842 Remove redundant slab.h include (Brad Hards)
14844 Fix several bugs in thermal.c (Herbert Nachtnebel)
14846 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14848 Change acpi_system_suspend to use updated irq functions (Pavel
14849 Machek)
14851 Export acpi_get_firmware_table (Matthew Wilcox)
14853 Use proper root proc entry for ACPI (Kochi Takayoshi)
14855 Fix early-boot table parsing (Bjorn Helgaas)
14858 3) iASL Compiler/Disassembler
14860 Reworked the compiler options to make them more consistent and to
14861 use two-letter options where appropriate.  We were running out of
14862 sensible letters.   This may break some makefiles, so check the
14863 current options list by invoking the compiler with no parameters.
14865 Completed the design and implementation of the ASL namepath
14866 optimization option for the compiler.  This option optimizes all
14867 references to named objects to the shortest possible path.  The
14868 first attempt tries to utilize a single nameseg (4 characters) and
14869 the "search-to-root" algorithm used by the interpreter.  If that
14870 cannot be used (because either the name is not in the search path
14871 or there is a conflict with another object with the same name),
14872 the pathname is optimized using the carat prefix (usually a
14873 shorter string than specifying the entire path from the root.)
14875 Implemented support to obtain the DSDT from the Windows registry
14876 (when the disassembly option is specified with no input file).
14877 Added this code as the implementation for AcpiOsTableOverride in
14878 the Windows OSL.  Migrated the 16-bit code (used in the AcpiDump
14879 utility) to scan memory for the DSDT to the AcpiOsTableOverride
14880 function in the DOS OSL to make the disassembler truly OS
14881 independent.
14883 Implemented a new option to disassemble and compile in one step.
14884 When used without an input filename, this option will grab the
14885 DSDT from the local machine, disassemble it, and compile it in one
14886 step.
14888 Added a warning message for invalid escapes (a backslash followed
14889 by any character other than the allowable escapes).  This catches
14890 the quoted string error "\_SB_" (which should be "\\_SB_" ).
14892 Also, there are numerous instances in the ACPI specification where
14893 this error occurs.
14895 Added a compiler option to disable all optimizations.  This is
14896 basically the "compatibility mode" because by using this option,
14897 the AML code will come out exactly the same as other ASL
14898 compilers.
14900 Added error messages for incorrectly ordered dependent resource
14901 functions.  This includes: missing EndDependentFn macro at end of
14902 dependent resource list, nested dependent function macros (both
14903 start and end), and missing StartDependentFn macro.  These are
14904 common errors that should be caught at compile time.
14906 Implemented _OSI support for the disassembler and compiler.  _OSI
14907 must be included in the namespace for proper disassembly (because
14908 the disassembler must know the number of arguments.)
14910 Added an "optimization" message type that is optional (off by
14911 default).  This message is used for all optimizations - including
14912 constant folding, integer optimization, and namepath optimization.
14914 ----------------------------------------
14915 25 July 2002.  Summary of changes for this release.
14918 1) ACPI CA Core Subsystem Version 20020725:
14920 The AML Disassembler has been enhanced to produce compilable ASL
14921 code and has been integrated into the iASL compiler (see below) as
14922 well as the single-step disassembly for the AML debugger and the
14923 disassembler for the AcpiDump utility.  All ACPI 2.0A opcodes,
14924 resource templates and macros are fully supported.  The
14925 disassembler has been tested on over 30 different AML files,
14926 producing identical AML when the resulting disassembled ASL file
14927 is recompiled with the same ASL compiler.
14929 Modified the Resource Manager to allow zero interrupts and zero
14930 dma channels during the GetCurrentResources call.  This was
14931 causing problems on some platforms.
14933 Added the AcpiOsRedirectOutput interface to the OSL to simplify
14934 output redirection for the AcpiOsPrintf and AcpiOsVprintf
14935 interfaces.
14937 Code and Data Size: Current core subsystem library sizes are shown
14938 below.  These are the code and data sizes for the acpica.lib
14939 produced by the Microsoft Visual C++ 6.0 compiler, and these
14940 values do not include any ACPI driver or OSPM code.  The debug
14941 version of the code includes the debug output trace mechanism and
14942 has a larger code and data size.  Note that these values will vary
14943 depending on the efficiency of the compiler and the compiler
14944 options used during generation.
14946   Previous Release
14947     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
14948     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
14949   Current Release:
14950     Non-Debug Version:  69.1K Code,   8.2K Data,   77.3K Total
14951     Debug Version:     149.4K Code,  61.6K Data,  211.0K Total
14954 2) Linux
14956 Fixed a panic in the EC driver (Dominik Brodowski)
14958 Implemented checksum of the R/XSDT itself during Linux table scan
14959 (Richard Schaal)
14962 3) iASL compiler
14964 The AML disassembler is integrated into the compiler.  The "-d"
14965 option invokes the disassembler  to completely disassemble an
14966 input AML file, producing as output a text ASL file with the
14967 extension ".dsl" (to avoid name collisions with existing .asl
14968 source files.)  A future enhancement will allow the disassembler
14969 to obtain the BIOS DSDT from the registry under Windows.
14971 Fixed a problem with the VendorShort and VendorLong resource
14972 descriptors where an invalid AML sequence was created.
14974 Implemented a fix for BufferData term in the ASL parser.  It was
14975 inadvertently defined twice, allowing invalid syntax to pass and
14976 causing reduction conflicts.
14978 Fixed a problem where the Ones opcode could get converted to a
14979 value of zero if "Ones" was used where a byte, word or dword value
14980 was expected.  The 64-bit value is now truncated to the correct
14981 size with the correct value.
14985 ----------------------------------------
14986 02 July 2002.  Summary of changes for this release.
14989 1) ACPI CA Core Subsystem Version 20020702:
14991 The Table Manager code has been restructured to add several new
14992 features.  Tables that are not required by the core subsystem
14993 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
14994 validated in any way and are returned from AcpiGetFirmwareTable if
14995 requested.  The AcpiOsTableOverride interface is now called for
14996 each table that is loaded by the subsystem in order to allow the
14997 host to override any table it chooses.  Previously, only the DSDT
14998 could be overridden.  Added one new files, tbrsdt.c and
14999 tbgetall.c.
15001 Fixed a problem with the conversion of internal package objects to
15002 external objects (when a package is returned from a control
15003 method.)  The return buffer length was set to zero instead of the
15004 proper length of the package object.
15006 Fixed a reported problem with the use of the RefOf and DeRefOf
15007 operators when passing reference arguments to control methods.  A
15008 new type of Reference object is used internally for references
15009 produced by the RefOf operator.
15011 Added additional error messages in the Resource Manager to explain
15012 AE_BAD_DATA errors when they occur during resource parsing.
15014 Split the AcpiEnableSubsystem into two primitives to enable a
15015 finer granularity initialization sequence.  These two calls should
15016 be called in this order: AcpiEnableSubsystem (flags),
15017 AcpiInitializeObjects (flags).  The flags parameter remains the
15018 same.
15021 2) Linux
15023 Updated the ACPI utilities module to understand the new style of
15024 fully resolved package objects that are now returned from the core
15025 subsystem.  This eliminates errors of the form:
15027     ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15028     acpi_utils-0430 [145] acpi_evaluate_reference:
15029         Invalid element in package (not a device reference)
15031 The method evaluation utility uses the new buffer allocation
15032 scheme instead of calling AcpiEvaluate Object twice.
15034 Added support for ECDT. This allows the use of the Embedded
15036 Controller before the namespace has been fully initialized, which
15037 is necessary for ACPI 2.0 support, and for some laptops to
15038 initialize properly. (Laptops using ECDT are still rare, so only
15039 limited testing was performed of the added functionality.)
15041 Fixed memory leaks in the EC driver.
15043 Eliminated a brittle code structure in acpi_bus_init().
15045 Eliminated the acpi_evaluate() helper function in utils.c. It is
15046 no longer needed since acpi_evaluate_object can optionally
15047 allocate memory for the return object.
15049 Implemented fix for keyboard hang when getting battery readings on
15050 some systems (Stephen White)
15052 PCI IRQ routing update (Dominik Brodowski)
15054 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15055 support
15057 ----------------------------------------
15058 11 June 2002.  Summary of changes for this release.
15061 1) ACPI CA Core Subsystem Version 20020611:
15063 Fixed a reported problem where constants such as Zero and One
15064 appearing within _PRT packages were not handled correctly within
15065 the resource manager code.  Originally reported against the ASL
15066 compiler because the code generator now optimizes integers to
15067 their minimal AML representation (i.e. AML constants if possible.)
15068 The _PRT code now handles all AML constant opcodes correctly
15069 (Zero, One, Ones, Revision).
15071 Fixed a problem with the Concatenate operator in the AML
15072 interpreter where a buffer result object was incorrectly marked as
15073 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15075 All package sub-objects are now fully resolved before they are
15076 returned from the external ACPI interfaces.  This means that name
15077 strings are resolved to object handles, and constant operators
15078 (Zero, One, Ones, Revision) are resolved to Integers.
15080 Implemented immediate resolution of the AML Constant opcodes
15081 (Zero, One, Ones, Revision) to Integer objects upon detection
15082 within the AML stream. This has simplified and reduced the
15083 generated code size of the subsystem by eliminating about 10
15084 switch statements for these constants (which previously were
15085 contained in Reference objects.)  The complicating issues are that
15086 the Zero opcode is used as a "placeholder" for unspecified
15087 optional target operands and stores to constants are defined to be
15088 no-ops.
15090 Code and Data Size: Current core subsystem library sizes are shown
15091 below. These are the code and data sizes for the acpica.lib
15092 produced by the Microsoft Visual C++ 6.0 compiler, and these
15093 values do not include any ACPI driver or OSPM code.  The debug
15094 version of the code includes the debug output trace mechanism and
15095 has a larger code and data size.  Note that these values will vary
15096 depending on the efficiency of the compiler and the compiler
15097 options used during generation.
15099   Previous Release
15100     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15101     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15102   Current Release:
15103     Non-Debug Version:  68.7K Code,   7.4K Data,   76.1K Total
15104     Debug Version:     142.9K Code,  58.7K Data,  201.6K Total
15107 2) Linux
15110 Added preliminary support for obtaining _TRA data for PCI root
15111 bridges (Bjorn Helgaas).
15114 3) iASL Compiler Version X2046:
15116 Fixed a problem where the "_DDN" reserved name was defined to be a
15117 control method with one argument.  There are no arguments, and
15118 _DDN does not have to be a control method.
15120 Fixed a problem with the Linux version of the compiler where the
15121 source lines printed with error messages were the wrong lines.
15122 This turned out to be the "LF versus CR/LF" difference between
15123 Windows and Unix.  This appears to be the longstanding issue
15124 concerning listing output and error messages.
15126 Fixed a problem with the Linux version of compiler where opcode
15127 names within error messages were wrong.  This was caused by a
15128 slight difference in the output of the Flex tool on Linux versus
15129 Windows.
15131 Fixed a problem with the Linux compiler where the hex output files
15132 contained some garbage data caused by an internal buffer overrun.
15135 ----------------------------------------
15136 17 May 2002.  Summary of changes for this release.
15139 1) ACPI CA Core Subsystem Version 20020517:
15141 Implemented a workaround to an BIOS bug discovered on the HP
15142 OmniBook where the FADT revision number and the table size are
15143 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size).  The new
15144 behavior is to fallback to using only the ACPI 1.0 fields of the
15145 FADT if the table is too small to be a ACPI 2.0 table as claimed
15146 by the revision number.  Although this is a BIOS bug, this is a
15147 case where the workaround is simple enough and with no side
15148 effects, so it seemed prudent to add it.  A warning message is
15149 issued, however.
15151 Implemented minimum size checks for the fixed-length ACPI tables -
15152 - the FADT and FACS, as well as consistency checks between the
15153 revision number and the table size.
15155 Fixed a reported problem in the table override support where the
15156 new table pointer was incorrectly treated as a physical address
15157 instead of a logical address.
15159 Eliminated the use of the AE_AML_ERROR exception and replaced it
15160 with more descriptive codes.
15162 Fixed a problem where an exception would occur if an ASL Field was
15163 defined with no named Field Units underneath it (used by some
15164 index fields).
15166 Code and Data Size: Current core subsystem library sizes are shown
15167 below.  These are the code and data sizes for the acpica.lib
15168 produced by the Microsoft Visual C++ 6.0 compiler, and these
15169 values do not include any ACPI driver or OSPM code.  The debug
15170 version of the code includes the debug output trace mechanism and
15171 has a larger code and data size.  Note that these values will vary
15172 depending on the efficiency of the compiler and the compiler
15173 options used during generation.
15175   Previous Release
15176     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15177     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15178   Current Release:
15179     Non-Debug Version:  69.3K Code,   7.4K Data,   76.7K Total
15180     Debug Version:     143.8K Code,  58.8K Data,  202.6K Total
15184 2) Linux
15186 Much work done on ACPI init (MADT and PCI IRQ routing support).
15187 (Paul D. and Dominik Brodowski)
15189 Fix PCI IRQ-related panic on boot (Sam Revitch)
15191 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15193 Fix "MHz" typo (Dominik Brodowski)
15195 Fix RTC year 2000 issue (Dominik Brodowski)
15197 Preclude multiple button proc entries (Eric Brunet)
15199 Moved arch-specific code out of include/platform/aclinux.h
15201 3) iASL Compiler Version X2044:
15203 Implemented error checking for the string used in the EISAID macro
15204 (Usually used in the definition of the _HID object.)  The code now
15205 strictly enforces the PnP format - exactly 7 characters, 3
15206 uppercase letters and 4 hex digits.
15208 If a raw string is used in the definition of the _HID object
15209 (instead of the EISAID macro), the string must contain all
15210 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15211 of the asterisk.)
15213 Implemented checking for invalid use of ACPI reserved names for
15214 most of the name creation operators (Name, Device, Event, Mutex,
15215 OperationRegion, PowerResource, Processor, and ThermalZone.)
15216 Previously, this check was only performed for control methods.
15218 Implemented an additional check on the Name operator to emit an
15219 error if a reserved name that must be implemented in ASL as a
15220 control method is used.  We know that a reserved name must be a
15221 method if it is defined with input arguments.
15223 The warning emitted when a namespace object reference is not found
15224 during the cross reference phase has been changed into an error.
15225 The "External" directive should be used for names defined in other
15226 modules.
15229 4) Tools and Utilities
15231 The 16-bit tools (adump16 and aexec16) have been regenerated and
15232 tested.
15234 Fixed a problem with the output of both acpidump and adump16 where
15235 the indentation of closing parentheses and brackets was not
15237 aligned properly with the parent block.
15240 ----------------------------------------
15241 03 May 2002.  Summary of changes for this release.
15244 1) ACPI CA Core Subsystem Version 20020503:
15246 Added support a new OSL interface that allows the host operating
15248 system software to override the DSDT found in the firmware -
15249 AcpiOsTableOverride.  With this interface, the OSL can examine the
15250 version of the firmware DSDT and replace it with a different one
15251 if desired.
15253 Added new external interfaces for accessing ACPI registers from
15254 device drivers and other system software - AcpiGetRegister and
15255 AcpiSetRegister.  This was simply an externalization of the
15256 existing AcpiHwBitRegister interfaces.
15258 Fixed a regression introduced in the previous build where the
15259 ASL/AML CreateField operator always returned an error,
15260 "destination must be a NS Node".
15262 Extended the maximum time (before failure) to successfully enable
15263 ACPI mode to 3 seconds.
15265 Code and Data Size: Current core subsystem library sizes are shown
15266 below.  These are the code and data sizes for the acpica.lib
15267 produced by the Microsoft Visual C++ 6.0 compiler, and these
15268 values do not include any ACPI driver or OSPM code.  The debug
15269 version of the code includes the debug output trace mechanism and
15270 has a larger code and data size.  Note that these values will vary
15271 depending on the efficiency of the compiler and the compiler
15272 options used during generation.
15274   Previous Release
15275     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15276     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15277   Current Release:
15278     Non-Debug Version:  68.8K Code,   7.1K Data,   75.9K Total
15279     Debug Version:     142.9K Code,  58.4K Data,  201.3K Total
15282 2) Linux
15284 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15285 free. While 3 out of 4 of our in-house systems work fine, the last
15286 one still hangs when testing the LAPIC timer.
15288 Renamed many files in 2.5 kernel release to omit "acpi_" from the
15289 name.
15291 Added warning on boot for Presario 711FR.
15293 Sleep improvements (Pavel Machek)
15295 ACPI can now be built without CONFIG_PCI enabled.
15297 IA64: Fixed memory map functions (JI Lee)
15300 3) iASL Compiler Version X2043:
15302 Added support to allow the compiler to be integrated into the MS
15303 VC++ development environment for one-button compilation of single
15304 files or entire projects -- with error-to-source-line mapping.
15306 Implemented support for compile-time constant folding for the
15307 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15308 specification.  This allows the ASL writer to use expressions
15309 instead of Integer/Buffer/String constants in terms that must
15310 evaluate to constants at compile time and will also simplify the
15311 emitted AML in any such sub-expressions that can be folded
15312 (evaluated at compile-time.)  This increases the size of the
15313 compiler significantly because a portion of the ACPI CA AML
15314 interpreter is included within the compiler in order to pre-
15315 evaluate constant expressions.
15318 Fixed a problem with the "Unicode" ASL macro that caused the
15319 compiler to fault.  (This macro is used in conjunction with the
15320 _STR reserved name.)
15322 Implemented an AML opcode optimization to use the Zero, One, and
15323 Ones opcodes where possible to further reduce the size of integer
15324 constants and thus reduce the overall size of the generated AML
15325 code.
15327 Implemented error checking for new reserved terms for ACPI version
15328 2.0A.
15330 Implemented the -qr option to display the current list of ACPI
15331 reserved names known to the compiler.
15333 Implemented the -qc option to display the current list of ASL
15334 operators that are allowed within constant expressions and can
15335 therefore be folded at compile time if the operands are constants.
15338 4) Documentation
15340 Updated the Programmer's Reference for new interfaces, data types,
15341 and memory allocation model options.
15343 Updated the iASL Compiler User Reference to apply new format and
15344 add information about new features and options.
15346 ----------------------------------------
15347 19 April 2002.  Summary of changes for this release.
15349 1) ACPI CA Core Subsystem Version 20020419:
15351 The source code base for the Core Subsystem has been completely
15352 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15353 versions.  The Lint option files used are included in the
15354 /acpi/generate/lint directory.
15356 Implemented enhanced status/error checking across the entire
15357 Hardware manager subsystem.  Any hardware errors (reported from
15358 the OSL) are now bubbled up and will abort a running control
15359 method.
15362 Fixed a problem where the per-ACPI-table integer width (32 or 64)
15363 was stored only with control method nodes, causing a fault when
15364 non-control method code was executed during table loading.  The
15365 solution implemented uses a global variable to indicate table
15366 width across the entire ACPI subsystem.  Therefore, ACPI CA does
15367 not support mixed integer widths across different ACPI tables
15368 (DSDT, SSDT).
15370 Fixed a problem where NULL extended fields (X fields) in an ACPI
15371 2.0 ACPI FADT caused the table load to fail.  Although the
15372 existing ACPI specification is a bit fuzzy on this topic, the new
15373 behavior is to fall back on a ACPI 1.0 field if the corresponding
15374 ACPI 2.0 X field is zero (even though the table revision indicates
15375 a full ACPI 2.0 table.)  The ACPI specification will be updated to
15376 clarify this issue.
15378 Fixed a problem with the SystemMemory operation region handler
15379 where memory was always accessed byte-wise even if the AML-
15380 specified access width was larger than a byte.  This caused
15381 problems on systems with memory-mapped I/O.  Memory is now
15382 accessed with the width specified.  On systems that do not support
15383 non-aligned transfers, a check is made to guarantee proper address
15384 alignment before proceeding in order to avoid an AML-caused
15385 alignment fault within the kernel.
15388 Fixed a problem with the ExtendedIrq resource where only one byte
15389 of the 4-byte Irq field was extracted.
15391 Fixed the AcpiExDigitsNeeded() procedure to support _UID.  This
15392 function was out of date and required a rewrite.
15394 Code and Data Size: Current core subsystem library sizes are shown
15395 below.  These are the code and data sizes for the acpica.lib
15396 produced by the Microsoft Visual C++ 6.0 compiler, and these
15397 values do not include any ACPI driver or OSPM code.  The debug
15398 version of the code includes the debug output trace mechanism and
15399 has a larger code and data size.  Note that these values will vary
15400 depending on the efficiency of the compiler and the compiler
15401 options used during generation.
15403   Previous Release
15404     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15405     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15406   Current Release:
15407     Non-Debug Version:  68.5K Code,   7.0K Data,   75.5K Total
15408     Debug Version:     142.4K Code,  58.3K Data,  200.7K Total
15411 2) Linux
15413 PCI IRQ routing fixes (Dominik Brodowski)
15416 3) iASL Compiler Version X2042:
15418 Implemented an additional compile-time error check for a field
15419 unit whose size + minimum access width would cause a run-time
15420 access beyond the end-of-region.  Previously, only the field size
15421 itself was checked.
15423 The Core subsystem and iASL compiler now share a common parse
15424 object in preparation for compile-time evaluation of the type
15425 3/4/5 ASL operators.
15428 ----------------------------------------
15429 Summary of changes for this release: 03_29_02
15431 1) ACPI CA Core Subsystem Version 20020329:
15433 Implemented support for late evaluation of TermArg operands to
15434 Buffer and Package objects.  This allows complex expressions to be
15435 used in the declarations of these object types.
15437 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
15438 1.0, if the field was larger than 32 bits, it was returned as a
15439 buffer - otherwise it was returned as an integer.  In ACPI 2.0,
15440 the field is returned as a buffer only if the field is larger than
15441 64 bits.  The TableRevision is now considered when making this
15442 conversion to avoid incompatibility with existing ASL code.
15444 Implemented logical addressing for AcpiOsGetRootPointer.  This
15445 allows an RSDP with either a logical or physical address.  With
15446 this support, the host OS can now override all ACPI tables with
15447 one logical RSDP.  Includes implementation of  "typed" pointer
15448 support to allow a common data type for both physical and logical
15449 pointers internally.  This required a change to the
15450 AcpiOsGetRootPointer interface.
15452 Implemented the use of ACPI 2.0 Generic Address Structures for all
15453 GPE, Fixed Event, and PM Timer I/O.  This allows the use of memory
15454 mapped I/O for these ACPI features.
15456 Initialization now ignores not only non-required tables (All
15457 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15458 not validate the table headers of unrecognized tables.
15460 Fixed a problem where a notify handler could only be
15461 installed/removed on an object of type Device.  All "notify"
15463 objects are now supported -- Devices, Processor, Power, and
15464 Thermal.
15466 Removed most verbosity from the ACPI_DB_INFO debug level.  Only
15467 critical information is returned when this debug level is enabled.
15469 Code and Data Size: Current core subsystem library sizes are shown
15470 below.  These are the code and data sizes for the acpica.lib
15471 produced by the Microsoft Visual C++ 6.0 compiler, and these
15472 values do not include any ACPI driver or OSPM code.  The debug
15473 version of the code includes the debug output trace mechanism and
15474 has a larger code and data size.  Note that these values will vary
15475 depending on the efficiency of the compiler and the compiler
15476 options used during generation.
15478   Previous Release
15479     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15480     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15481   Current Release:
15482     Non-Debug Version:  66.6K Code,   6.5K Data,   73.1K Total
15483     Debug Version:     139.8K Code,  57.4K Data,  197.2K Total
15486 2) Linux:
15488 The processor driver (acpi_processor.c) now fully supports ACPI
15489 2.0-based processor performance control (e.g. Intel(R)
15490 SpeedStep(TM) technology) Note that older laptops that only have
15491 the Intel "applet" interface are not supported through this.  The
15492 'limit' and 'performance' interface (/proc) are fully functional.
15493 [Note that basic policy for controlling performance state
15494 transitions will be included in the next version of ospmd.]  The
15495 idle handler was modified to more aggressively use C2, and PIIX4
15496 errata handling underwent a complete overhaul (big thanks to
15497 Dominik Brodowski).
15499 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15500 based devices in the ACPI namespace are now dynamically bound
15501 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15502 This allows, among other things, ACPI to resolve bus numbers for
15503 subordinate PCI bridges.
15505 Enhanced PCI IRQ routing to get the proper bus number for _PRT
15506 entries defined underneath PCI bridges.
15508 Added IBM 600E to bad bios list due to invalid _ADR value for
15509 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15511 In the process of adding full MADT support (e.g. IOAPIC) for IA32
15512 (acpi.c, mpparse.c) -- stay tuned.
15514 Added back visual differentiation between fixed-feature and
15515 control-method buttons in dmesg.  Buttons are also subtyped (e.g.
15516 button/power/PWRF) to simplify button identification.
15518 We no longer use -Wno-unused when compiling debug. Please ignore
15519 any "_THIS_MODULE defined but not used" messages.
15521 Can now shut down the system using "magic sysrq" key.
15524 3) iASL Compiler version 2041:
15526 Fixed a problem where conversion errors for hex/octal/decimal
15527 constants were not reported.
15529 Implemented a fix for the General Register template Address field.
15530 This field was 8 bits when it should be 64.
15532 Fixed a problem where errors/warnings were no longer being emitted
15533 within the listing output file.
15535 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15536 exactly 4 characters, alphanumeric only.
15541 ----------------------------------------
15542 Summary of changes for this release: 03_08_02
15545 1) ACPI CA Core Subsystem Version 20020308:
15547 Fixed a problem with AML Fields where the use of the "AccessAny"
15548 keyword could cause an interpreter error due to attempting to read
15549 or write beyond the end of the parent Operation Region.
15551 Fixed a problem in the SystemMemory Operation Region handler where
15552 an attempt was made to map memory beyond the end of the region.
15553 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15554 errors on some Linux systems.
15556 Fixed a problem where the interpreter/namespace "search to root"
15557 algorithm was not functioning for some object types.  Relaxed the
15558 internal restriction on the search to allow upsearches for all
15559 external object types as well as most internal types.
15562 2) Linux:
15564 We now use safe_halt() macro versus individual calls to sti | hlt.
15566 Writing to the processor limit interface should now work. "echo 1"
15567 will increase the limit, 2 will decrease, and 0 will reset to the
15569 default.
15572 3) ASL compiler:
15574 Fixed segfault on Linux version.
15577 ----------------------------------------
15578 Summary of changes for this release: 02_25_02
15580 1) ACPI CA Core Subsystem:
15583 Fixed a problem where the GPE bit masks were not initialized
15584 properly, causing erratic GPE behavior.
15586 Implemented limited support for multiple calling conventions.  The
15587 code can be generated with either the VPL (variable parameter
15588 list, or "C") convention, or the FPL (fixed parameter list, or
15589 "Pascal") convention.  The core subsystem is about 3.4% smaller
15590 when generated with FPL.
15593 2) Linux
15595 Re-add some /proc/acpi/event functionality that was lost during
15596 the rewrite
15598 Resolved issue with /proc events for fixed-feature buttons showing
15599 up as the system device.
15601 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15603 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15605 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15607 Fixed limit interface & usage to fix bugs with passive cooling
15608 hysterisis.
15610 Restructured PRT support.
15613 ----------------------------------------
15614 Summary of changes for this label: 02_14_02
15617 1) ACPI CA Core Subsystem:
15619 Implemented support in AcpiLoadTable to allow loading of FACS and
15620 FADT tables.
15622 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15623 been removed.  All 64-bit platforms should be migrated to the ACPI
15624 2.0 tables.  The actbl71.h header has been removed from the source
15625 tree.
15627 All C macros defined within the subsystem have been prefixed with
15628 "ACPI_" to avoid collision with other system include files.
15630 Removed the return value for the two AcpiOsPrint interfaces, since
15631 it is never used and causes lint warnings for ignoring the return
15632 value.
15634 Added error checking to all internal mutex acquire and release
15635 calls.  Although a failure from one of these interfaces is
15636 probably a fatal system error, these checks will cause the
15637 immediate abort of the currently executing method or interface.
15639 Fixed a problem where the AcpiSetCurrentResources interface could
15640 fault.  This was a side effect of the deployment of the new memory
15641 allocation model.
15643 Fixed a couple of problems with the Global Lock support introduced
15644 in the last major build.  The "common" (1.0/2.0) internal FACS was
15645 being overwritten with the FACS signature and clobbering the
15646 Global Lock pointer.  Also, the actual firmware FACS was being
15647 unmapped after construction of the "common" FACS, preventing
15648 access to the actual Global Lock field within it.  The "common"
15649 internal FACS is no longer installed as an actual ACPI table; it
15650 is used simply as a global.
15652 Code and Data Size: Current core subsystem library sizes are shown
15653 below.  These are the code and data sizes for the acpica.lib
15654 produced by the Microsoft Visual C++ 6.0 compiler, and these
15655 values do not include any ACPI driver or OSPM code.  The debug
15656 version of the code includes the debug output trace mechanism and
15657 has a larger code and data size.  Note that these values will vary
15658 depending on the efficiency of the compiler and the compiler
15659 options used during generation.
15661   Previous Release (02_07_01)
15662     Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15663     Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15664   Current Release:
15665     Non-Debug Version:  65.4K Code,   6.2K Data,   71.6K Total
15666     Debug Version:     138.0K Code,  56.6K Data,  194.6K Total
15669 2) Linux
15671 Updated Linux-specific code for core macro and OSL interface
15672 changes described above.
15674 Improved /proc/acpi/event. It now can be opened only once and has
15675 proper poll functionality.
15677 Fixed and restructured power management (acpi_bus).
15679 Only create /proc "view by type" when devices of that class exist.
15681 Fixed "charging/discharging" bug (and others) in acpi_battery.
15683 Improved thermal zone code.
15686 3) ASL Compiler, version X2039:
15689 Implemented the new compiler restriction on ASL String hex/octal
15690 escapes to non-null, ASCII values.  An error results if an invalid
15691 value is used.  (This will require an ACPI 2.0 specification
15692 change.)
15694 AML object labels that are output to the optional C and ASM source
15695 are now prefixed with both the ACPI table signature and table ID
15696 to help guarantee uniqueness within a large BIOS project.
15699 ----------------------------------------
15700 Summary of changes for this label: 02_01_02
15702 1) ACPI CA Core Subsystem:
15704 ACPI 2.0 support is complete in the entire Core Subsystem and the
15705 ASL compiler. All new ACPI 2.0 operators are implemented and all
15706 other changes for ACPI 2.0 support are complete.  With
15707 simultaneous code and data optimizations throughout the subsystem,
15708 ACPI 2.0 support has been implemented with almost no additional
15709 cost in terms of code and data size.
15711 Implemented a new mechanism for allocation of return buffers.  If
15712 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15713 be allocated on behalf of the caller.  Consolidated all return
15714 buffer validation and allocation to a common procedure.  Return
15715 buffers will be allocated via the primary OSL allocation interface
15716 since it appears that a separate pool is not needed by most users.
15717 If a separate pool is required for these buffers, the caller can
15718 still use the original mechanism and pre-allocate the buffer(s).
15720 Implemented support for string operands within the DerefOf
15721 operator.
15723 Restructured the Hardware and Event managers to be table driven,
15724 simplifying the source code and reducing the amount of generated
15725 code.
15727 Split the common read/write low-level ACPI register bitfield
15728 procedure into a separate read and write, simplifying the code
15729 considerably.
15731 Obsoleted the AcpiOsCallocate OSL interface.  This interface was
15732 used only a handful of times and didn't have enough critical mass
15733 for a separate interface.  Replaced with a common calloc procedure
15734 in the core.
15736 Fixed a reported problem with the GPE number mapping mechanism
15737 that allows GPE1 numbers to be non-contiguous with GPE0.
15738 Reorganized the GPE information and shrunk a large array that was
15739 originally large enough to hold info for all possible GPEs (256)
15740 to simply large enough to hold all GPEs up to the largest GPE
15741 number on the machine.
15743 Fixed a reported problem with resource structure alignment on 64-
15744 bit platforms.
15746 Changed the AcpiEnableEvent and AcpiDisableEvent external
15747 interfaces to not require any flags for the common case of
15748 enabling/disabling a GPE.
15750 Implemented support to allow a "Notify" on a Processor object.
15752 Most TBDs in comments within the source code have been resolved
15753 and eliminated.
15756 Fixed a problem in the interpreter where a standalone parent
15757 prefix (^) was not handled correctly in the interpreter and
15758 debugger.
15760 Removed obsolete and unnecessary GPE save/restore code.
15762 Implemented Field support in the ASL Load operator.  This allows a
15763 table to be loaded from a named field, in addition to loading a
15764 table directly from an Operation Region.
15766 Implemented timeout and handle support in the external Global Lock
15767 interfaces.
15769 Fixed a problem in the AcpiDump utility where pathnames were no
15770 longer being generated correctly during the dump of named objects.
15772 Modified the AML debugger to give a full display of if/while
15773 predicates instead of just one AML opcode at a time.  (The
15774 predicate can have several nested ASL statements.)  The old method
15775 was confusing during single stepping.
15777 Code and Data Size: Current core subsystem library sizes are shown
15778 below. These are the code and data sizes for the acpica.lib
15779 produced by the Microsoft Visual C++ 6.0 compiler, and these
15780 values do not include any ACPI driver or OSPM code.  The debug
15781 version of the code includes the debug output trace mechanism and
15782 has a larger code and data size.  Note that these values will vary
15783 depending on the efficiency of the compiler and the compiler
15784 options used during generation.
15786   Previous Release (12_18_01)
15787      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15788      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15789    Current Release:
15790      Non-Debug Version:  65.2K Code,   6.2K Data,   71.4K Total
15791      Debug Version:     136.9K Code,  56.4K Data,  193.3K Total
15793 2) Linux
15795  Implemented fix for PIIX reverse throttling errata (Processor
15796 driver)
15798 Added new Limit interface (Processor and Thermal drivers)
15800 New thermal policy (Thermal driver)
15802 Many updates to /proc
15804 Battery "low" event support (Battery driver)
15806 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15808 IA32 - IA64 initialization unification, no longer experimental
15810 Menuconfig options redesigned
15812 3) ASL Compiler, version X2037:
15814 Implemented several new output features to simplify integration of
15815 AML code into  firmware: 1) Output the AML in C source code with
15816 labels for each named ASL object.  The    original ASL source code
15817 is interleaved as C comments. 2) Output the AML in ASM source code
15818 with labels and interleaved ASL    source. 3) Output the AML in
15819 raw hex table form, in either C or ASM.
15821 Implemented support for optional string parameters to the
15822 LoadTable operator.
15824 Completed support for embedded escape sequences within string
15825 literals.  The compiler now supports all single character escapes
15826 as well as the Octal and Hex escapes.  Note: the insertion of a
15827 null byte into a string literal (via the hex/octal escape) causes
15828 the string to be immediately terminated.  A warning is issued.
15830 Fixed a problem where incorrect AML was generated for the case
15831 where an ASL namepath consists of a single parent prefix (
15833 ) with no trailing name segments.
15835 The compiler has been successfully generated with a 64-bit C
15836 compiler.
15841 ----------------------------------------
15842 Summary of changes for this label: 12_18_01
15844 1) Linux
15846 Enhanced blacklist with reason and severity fields. Any table's
15847 signature may now be used to identify a blacklisted system.
15849 Call _PIC control method to inform the firmware which interrupt
15850 model the OS is using. Turn on any disabled link devices.
15852 Cleaned up busmgr /proc error handling (Andreas Dilger)
15854  2) ACPI CA Core Subsystem:
15856 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15857 while loop)
15859 Completed implementation of the ACPI 2.0 "Continue",
15860 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15861 operators.  All new ACPI 2.0 operators are now implemented in both
15862 the ASL compiler and the AML interpreter.  The only remaining ACPI
15863 2.0 task is support for the String data type in the DerefOf
15864 operator.  Fixed a problem with AcquireMutex where the status code
15865 was lost if the caller had to actually wait for the mutex.
15867 Increased the maximum ASL Field size from 64K bits to 4G bits.
15869 Completed implementation of the external Global Lock interfaces --
15870 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock.  The Timeout and
15871 Handler parameters were added.
15873 Completed another pass at removing warnings and issues when
15874 compiling with 64-bit compilers.  The code now compiles cleanly
15875 with the Intel 64-bit C/C++ compiler.  Most notably, the pointer
15876 add and subtract (diff) macros have changed considerably.
15879 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
15880 64-bit platforms, 32-bits on all others.  This type is used
15881 wherever memory allocation and/or the C sizeof() operator is used,
15882 and affects the OSL memory allocation interfaces AcpiOsAllocate
15883 and AcpiOsCallocate.
15885 Implemented sticky user breakpoints in the AML debugger.
15887 Code and Data Size: Current core subsystem library sizes are shown
15888 below. These are the code and data sizes for the acpica.lib
15889 produced by the Microsoft Visual C++ 6.0 compiler, and these
15890 values do not include any ACPI driver or OSPM code.  The debug
15891 version of the code includes the debug output trace mechanism and
15892 has a larger code and data size. Note that these values will vary
15893 depending on the efficiency of the compiler and the compiler
15894 options used during generation.
15896   Previous Release (12_05_01)
15897      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15898      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15899    Current Release:
15900      Non-Debug Version:  66.1K Code,   5.5K Data,   71.6K Total
15901      Debug Version:     138.3K Code,  55.9K Data,  194.2K Total
15903  3) ASL Compiler, version X2034:
15905 Now checks for (and generates an error if detected) the use of a
15906 Break or Continue statement without an enclosing While statement.
15909 Successfully generated the compiler with the Intel 64-bit C
15910 compiler.
15912  ----------------------------------------
15913 Summary of changes for this label: 12_05_01
15915  1) ACPI CA Core Subsystem:
15917 The ACPI 2.0 CopyObject operator is fully implemented.  This
15918 operator creates a new copy of an object (and is also used to
15919 bypass the "implicit conversion" mechanism of the Store operator.)
15921 The ACPI 2.0 semantics for the SizeOf operator are fully
15922 implemented.  The change is that performing a SizeOf on a
15923 reference object causes an automatic dereference of the object to
15924 tha actual value before the size is evaluated. This behavior was
15925 undefined in ACPI 1.0.
15927 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
15928 have been implemented.  The interrupt polarity and mode are now
15929 independently set.
15931 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
15932 appearing in Package objects were not properly converted to
15933 integers when the internal Package was converted to an external
15934 object (via the AcpiEvaluateObject interface.)
15936 Fixed a problem with the namespace object deletion mechanism for
15937 objects created by control methods.  There were two parts to this
15938 problem: 1) Objects created during the initialization phase method
15939 parse were not being deleted, and 2) The object owner ID mechanism
15940 to track objects was broken.
15942 Fixed a problem where the use of the ASL Scope operator within a
15943 control method would result in an invalid opcode exception.
15945 Fixed a problem introduced in the previous label where the buffer
15946 length required for the _PRT structure was not being returned
15947 correctly.
15949 Code and Data Size: Current core subsystem library sizes are shown
15950 below. These are the code and data sizes for the acpica.lib
15951 produced by the Microsoft Visual C++ 6.0 compiler, and these
15952 values do not include any ACPI driver or OSPM code.  The debug
15953 version of the code includes the debug output trace mechanism and
15954 has a larger code and data size.  Note that these values will vary
15955 depending on the efficiency of the compiler and the compiler
15956 options used during generation.
15958   Previous Release (11_20_01)
15959      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
15960      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
15962   Current Release:
15963      Non-Debug Version:  64.7K Code,   5.3K Data,   70.0K Total
15964      Debug Version:     136.2K Code,  55.6K Data,  191.8K Total
15966  2) Linux:
15968 Updated all files to apply cleanly against 2.4.16.
15970 Added basic PCI Interrupt Routing Table (PRT) support for IA32
15971 (acpi_pci.c), and unified the PRT code for IA32 and IA64.  This
15972 version supports both static and dyanmic PRT entries, but dynamic
15973 entries are treated as if they were static (not yet
15974 reconfigurable).  Architecture- specific code to use this data is
15975 absent on IA32 but should be available shortly.
15977 Changed the initialization sequence to start the ACPI interpreter
15978 (acpi_init) prior to initialization of the PCI driver (pci_init)
15979 in init/main.c.  This ordering is required to support PRT and
15980 facilitate other (future) enhancement.  A side effect is that the
15981 ACPI bus driver and certain device drivers can no longer be loaded
15982 as modules.
15984 Modified the 'make menuconfig' options to allow PCI Interrupt
15985 Routing support to be included without the ACPI Bus and other
15986 device drivers.
15988  3) ASL Compiler, version X2033:
15990 Fixed some issues with the use of the new CopyObject and
15991 DataTableRegion operators.  Both are fully functional.
15993  ----------------------------------------
15994 Summary of changes for this label: 11_20_01
15996  20 November 2001.  Summary of changes for this release.
15998  1) ACPI CA Core Subsystem:
16000 Updated Index support to match ACPI 2.0 semantics.  Storing a
16001 Integer, String, or Buffer to an Index of a Buffer will store only
16002 the least-significant byte of the source to the Indexed buffer
16003 byte.  Multiple writes are not performed.
16005 Fixed a problem where the access type used in an AccessAs ASL
16006 operator was not recorded correctly into the field object.
16008 Fixed a problem where ASL Event objects were created in a
16009 signalled state. Events are now created in an unsignalled state.
16011 The internal object cache is now purged after table loading and
16012 initialization to reduce the use of dynamic kernel memory -- on
16013 the assumption that object use is greatest during the parse phase
16014 of the entire table (versus the run-time use of individual control
16015 methods.)
16017 ACPI 2.0 variable-length packages are now fully operational.
16019 Code and Data Size: Code and Data optimizations have permitted new
16020 feature development with an actual reduction in the library size.
16021 Current core subsystem library sizes are shown below.  These are
16022 the code and data sizes for the acpica.lib produced by the
16023 Microsoft Visual C++ 6.0 compiler, and these values do not include
16024 any ACPI driver or OSPM code.  The debug version of the code
16025 includes the debug output trace mechanism and has a larger code
16026 and data size.  Note that these values will vary depending on the
16027 efficiency of the compiler and the compiler options used during
16028 generation.
16030   Previous Release (11_09_01):
16031      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16032      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16034   Current Release:
16035      Non-Debug Version:  64.1K Code,   5.3K Data,   69.4K Total
16036      Debug Version:     135.1K Code,  55.4K Data,  190.5K Total
16038  2) Linux:
16040 Enhanced the ACPI boot-time initialization code to allow the use
16041 of Local APIC tables for processor enumeration on IA-32, and to
16042 pave the way for a fully MPS-free boot (on SMP systems) in the
16043 near future.  This functionality replaces
16044 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16045 2.4.15-preX release.  To enable this feature you must add
16046 "acpi_boot=on" to the kernel command line -- see the help entry
16047 for CONFIG_ACPI_BOOT for more information.  An IA-64 release is in
16048 the works...
16050 Restructured the configuration options to allow boot-time table
16051 parsing support without inclusion of the ACPI Interpreter (and
16052 other) code.
16054 NOTE: This release does not include fixes for the reported events,
16055 power-down, and thermal passive cooling issues (coming soon).
16057  3) ASL Compiler:
16059 Added additional typechecking for Fields within restricted access
16060 Operation Regions.  All fields within EC and CMOS regions must be
16061 declared with ByteAcc. All fields withing SMBus regions must be
16062 declared with the BufferAcc access type.
16064 Fixed a problem where the listing file output of control methods
16065 no longer interleaved the actual AML code with the ASL source
16066 code.
16071 ----------------------------------------
16072 Summary of changes for this label: 11_09_01
16074 1) ACPI CA Core Subsystem:
16076 Implemented ACPI 2.0-defined support for writes to fields with a
16077 Buffer, String, or Integer source operand that is smaller than the
16078 target field. In these cases, the source operand is zero-extended
16079 to fill the target field.
16081 Fixed a problem where a Field starting bit offset (within the
16082 parent operation region) was calculated incorrectly if the
16084 alignment of the field differed from the access width.  This
16085 affected CreateWordField, CreateDwordField, CreateQwordField, and
16086 possibly other fields that use the "AccessAny" keyword.
16088 Fixed a problem introduced in the 11_02_01 release where indirect
16089 stores through method arguments did not operate correctly.
16091 2) Linux:
16093 Implemented boot-time ACPI table parsing support
16094 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems.  This code
16095 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16096 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16097 processors, memory, and interrupts during setup_arch().  Note that
16098 this patch does not include the required architecture-specific
16099 changes required to apply this information -- subsequent patches
16100 will be posted for both IA32 and IA64 to achieve this.
16102 Added low-level sleep support for IA32 platforms, courtesy of Pat
16103 Mochel. This allows IA32 systems to transition to/from various
16104 sleeping states (e.g. S1, S3), although the lack of a centralized
16105 driver model and power-manageable drivers will prevent its
16106 (successful) use on most systems.
16108 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16109 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16110 tables" option, etc.
16112 Increased the default timeout for the EC driver from 1ms to 10ms
16113 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16114 transactions.
16116  ----------------------------------------
16117 Summary of changes for this label: 11_02_01
16119 1) ACPI CA Core Subsystem:
16121 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16122 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16123 implemented.
16125 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16126 changes to support ACPI 2.0 Qword field access.  Read/Write
16127 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16128 accept an ACPI_INTEGER (64 bits) as the value parameter.  Also,
16129 the value parameter for the address space handler interface is now
16130 an ACPI_INTEGER.  OSL implementations of these interfaces must now
16131 handle the case where the Width parameter is 64.
16133 Index Fields: Fixed a problem where unaligned bit assembly and
16134 disassembly for IndexFields was not supported correctly.
16136 Index and Bank Fields:  Nested Index and Bank Fields are now
16137 supported. During field access, a check is performed to ensure
16138 that the value written to an Index or Bank register is not out of
16139 the range of the register.  The Index (or Bank) register is
16140 written before each access to the field data. Future support will
16141 include allowing individual IndexFields to be wider than the
16142 DataRegister width.
16144 Fields: Fixed a problem where the AML interpreter was incorrectly
16145 attempting to write beyond the end of a Field/OpRegion.  This was
16146 a boundary case that occurred when a DWORD field was written to a
16147 BYTE access OpRegion, forcing multiple writes and causing the
16148 interpreter to write one datum too many.
16150 Fields: Fixed a problem with Field/OpRegion access where the
16151 starting bit address of a field was incorrectly calculated if the
16152 current access type was wider than a byte (WordAcc, DwordAcc, or
16153 QwordAcc).
16155 Fields: Fixed a problem where forward references to individual
16156 FieldUnits (individual Field names within a Field definition) were
16157 not resolved during the AML table load.
16159 Fields: Fixed a problem where forward references from a Field
16160 definition to the parent Operation Region definition were not
16161 resolved during the AML table load.
16163 Fields: Duplicate FieldUnit names within a scope are now detected
16164 during AML table load.
16166 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16167 returned an incorrect name for the root node.
16169 Code and Data Size: Code and Data optimizations have permitted new
16170 feature development with an actual reduction in the library size.
16171 Current core subsystem library sizes are shown below.  These are
16172 the code and data sizes for the acpica.lib produced by the
16173 Microsoft Visual C++ 6.0 compiler, and these values do not include
16174 any ACPI driver or OSPM code.  The debug version of the code
16175 includes the debug output trace mechanism and has a larger code
16176 and data size.  Note that these values will vary depending on the
16177 efficiency of the compiler and the compiler options used during
16178 generation.
16180   Previous Release (10_18_01):
16181      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16182      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16184   Current Release:
16185      Non-Debug Version:  63.7K Code,   5.2K Data,   68.9K Total
16186      Debug Version:     134.5K Code,  55.4K Data,  189.9K Total
16188  2) Linux:
16190 Improved /proc processor output (Pavel Machek) Re-added
16191 MODULE_LICENSE("GPL") to all modules.
16193  3) ASL Compiler version X2030:
16195 Duplicate FieldUnit names within a scope are now detected and
16196 flagged as errors.
16198  4) Documentation:
16200 Programmer Reference updated to reflect OSL and address space
16201 handler interface changes described above.
16203 ----------------------------------------
16204 Summary of changes for this label: 10_18_01
16206 ACPI CA Core Subsystem:
16208 Fixed a problem with the internal object reference count mechanism
16209 that occasionally caused premature object deletion. This resolves
16210 all of the outstanding problem reports where an object is deleted
16211 in the middle of an interpreter evaluation.  Although this problem
16212 only showed up in rather obscure cases, the solution to the
16213 problem involved an adjustment of all reference counts involving
16214 objects attached to namespace nodes.
16216 Fixed a problem with Field support in the interpreter where
16217 writing to an aligned field whose length is an exact multiple (2
16218 or greater) of the field access granularity would cause an attempt
16219 to write beyond the end of the field.
16221 The top level AML opcode execution functions within the
16222 interpreter have been renamed with a more meaningful and
16223 consistent naming convention.  The modules exmonad.c and
16224 exdyadic.c were eliminated.  New modules are exoparg1.c,
16225 exoparg2.c, exoparg3.c, and exoparg6.c.
16227 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16229 Fixed a problem where the AML debugger was causing some internal
16230 objects to not be deleted during subsystem termination.
16232 Fixed a problem with the external AcpiEvaluateObject interface
16233 where the subsystem would fault if the named object to be
16234 evaluated refered to a constant such as Zero, Ones, etc.
16236 Fixed a problem with IndexFields and BankFields where the
16237 subsystem would fault if the index, data, or bank registers were
16238 not defined in the same scope as the field itself.
16240 Added printf format string checking for compilers that support
16241 this feature.  Corrected more than 50 instances of issues with
16242 format specifiers within invocations of ACPI_DEBUG_PRINT
16243 throughout the core subsystem code.
16245 The ASL "Revision" operator now returns the ACPI support level
16246 implemented in the core - the value "2" since the ACPI 2.0 support
16247 is more than 50% implemented.
16249 Enhanced the output of the AML debugger "dump namespace" command
16250 to output in a more human-readable form.
16252 Current core subsystem library code sizes are shown below.  These
16254 are the code and data sizes for the acpica.lib produced by the
16255 Microsoft Visual C++ 6.0 compiler, and these values do not include
16256 any ACPI driver or OSPM code.  The debug version of the code
16257 includes the full debug trace mechanism -- leading to a much
16259 larger code and data size.  Note that these values will vary
16260 depending on the efficiency of the compiler and the compiler
16261 options used during generation.
16263      Previous Label (09_20_01):
16264      Non-Debug Version:    65K Code,     5K Data,     70K Total
16265      Debug Version:       138K Code,    58K Data,    196K Total
16267      This Label:
16269      Non-Debug Version:  63.9K Code,   5.1K Data,   69.0K Total
16270      Debug Version:     136.7K Code,  57.4K Data,  194.2K Total
16272 Linux:
16274 Implemented a "Bad BIOS Blacklist" to track machines that have
16275 known ASL/AML problems.
16277 Enhanced the /proc interface for the thermal zone driver and added
16278 support for _HOT (the critical suspend trip point).  The 'info'
16279 file now includes threshold/policy information, and allows setting
16280 of _SCP (cooling preference) and _TZP (polling frequency) values
16281 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16282 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16283 preference to the passive/quiet mode (if supported by the ASL).
16285 Implemented a workaround for a gcc bug that resuted in an OOPs
16286 when loading the control method battery driver.
16288  ----------------------------------------
16289 Summary of changes for this label: 09_20_01
16291  ACPI CA Core Subsystem:
16293 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16294 modified to allow individual GPE levels to be flagged as wake-
16295 enabled (i.e., these GPEs are to remain enabled when the platform
16296 sleeps.)
16298 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16299 support wake-enabled GPEs.  This means that upon entering the
16300 sleep state, all GPEs that are not wake-enabled are disabled.
16301 When leaving the sleep state, these GPEs are reenabled.
16303 A local double-precision divide/modulo module has been added to
16304 enhance portability to OS kernels where a 64-bit math library is
16305 not available.  The new module is "utmath.c".
16307 Several optimizations have been made to reduce the use of CPU
16308 stack.  Originally over 2K, the maximum stack usage is now below
16309 2K at 1860  bytes (1.82k)
16311 Fixed a problem with the AcpiGetFirmwareTable interface where the
16312 root table pointer was not mapped into a logical address properly.
16314 Fixed a problem where a NULL pointer was being dereferenced in the
16315 interpreter code for the ASL Notify operator.
16317 Fixed a problem where the use of the ASL Revision operator
16318 returned an error. This operator now returns the current version
16319 of the ACPI CA core subsystem.
16321 Fixed a problem where objects passed as control method parameters
16322 to AcpiEvaluateObject were always deleted at method termination.
16323 However, these objects may end up being stored into the namespace
16324 by the called method.  The object reference count mechanism was
16325 applied to these objects instead of a force delete.
16327 Fixed a problem where static strings or buffers (contained in the
16328 AML code) that are declared as package elements within the ASL
16329 code could cause a fault because the interpreter would attempt to
16330 delete them.  These objects are now marked with the "static
16331 object" flag to prevent any attempt to delete them.
16333 Implemented an interpreter optimization to use operands directly
16334 from the state object instead of extracting the operands to local
16335 variables.  This reduces stack use and code size, and improves
16336 performance.
16338 The module exxface.c was eliminated as it was an unnecessary extra
16339 layer of code.
16341 Current core subsystem library code sizes are shown below.  These
16342 are the code and data sizes for the acpica.lib produced by the
16343 Microsoft Visual C++ 6.0 compiler, and these values do not include
16344 any ACPI driver or OSPM code.  The debug version of the code
16345 includes the full debug trace mechanism -- leading to a much
16346 larger code and data size.  Note that these values will vary
16347 depending on the efficiency of the compiler and the compiler
16348 options used during generation.
16350   Non-Debug Version:  65K Code,   5K Data,   70K Total
16351 (Previously 69K)   Debug Version:     138K Code,  58K Data,  196K
16352 Total  (Previously 195K)
16354 Linux:
16356 Support for ACPI 2.0 64-bit integers has been added.   All ACPI
16357 Integer objects are now 64 bits wide
16359 All Acpi data types and structures are now in lower case.  Only
16360 Acpi macros are upper case for differentiation.
16362  Documentation:
16364 Changes to the external interfaces as described above.
16366  ----------------------------------------
16367 Summary of changes for this label: 08_31_01
16369  ACPI CA Core Subsystem:
16371 A bug with interpreter implementation of the ASL Divide operator
16372 was found and fixed.  The implicit function return value (not the
16373 explicit store operands) was returning the remainder instead of
16374 the quotient.  This was a longstanding bug and it fixes several
16375 known outstanding issues on various platforms.
16377 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16378 been further optimized for size.  There are 700 invocations of the
16379 DEBUG_PRINT macro alone, so each optimization reduces the size of
16380 the debug version of the subsystem significantly.
16382 A stack trace mechanism has been implemented.  The maximum stack
16383 usage is about 2K on 32-bit platforms.  The debugger command "stat
16384 stack" will display the current maximum stack usage.
16386 All public symbols and global variables within the subsystem are
16387 now prefixed with the string "Acpi".  This keeps all of the
16388 symbols grouped together in a kernel map, and avoids conflicts
16389 with other kernel subsystems.
16391 Most of the internal fixed lookup tables have been moved into the
16392 code segment via the const operator.
16394 Several enhancements have been made to the interpreter to both
16395 reduce the code size and improve performance.
16397 Current core subsystem library code sizes are shown below.  These
16398 are the code and data sizes for the acpica.lib produced by the
16399 Microsoft Visual C++ 6.0 compiler, and these values do not include
16400 any ACPI driver or OSPM code.  The debug version of the code
16401 includes the full debug trace mechanism which contains over 700
16402 invocations of the DEBUG_PRINT macro, 500 function entry macro
16403 invocations, and over 900 function exit macro invocations --
16404 leading to a much larger code and data size.  Note that these
16405 values will vary depending on the efficiency of the compiler and
16406 the compiler options used during generation.
16408         Non-Debug Version:  64K Code,   5K Data,   69K Total
16409 Debug Version:     137K Code,  58K Data,  195K Total
16411  Linux:
16413 Implemented wbinvd() macro, pending a kernel-wide definition.
16415 Fixed /proc/acpi/event to handle poll() and short reads.
16417  ASL Compiler, version X2026:
16419 Fixed a problem introduced in the previous label where the AML
16421 code emitted for package objects produced packages with zero
16422 length.
16424  ----------------------------------------
16425 Summary of changes for this label: 08_16_01
16427 ACPI CA Core Subsystem:
16429 The following ACPI 2.0 ASL operators have been implemented in the
16430 AML interpreter (These are already supported by the Intel ASL
16431 compiler):  ToDecimalString, ToHexString, ToString, ToInteger, and
16432 ToBuffer.  Support for 64-bit AML constants is implemented in the
16433 AML parser, debugger, and disassembler.
16435 The internal memory tracking mechanism (leak detection code) has
16436 been upgraded to reduce the memory overhead (a separate tracking
16437 block is no longer allocated for each memory allocation), and now
16438 supports all of the internal object caches.
16440 The data structures and code for the internal object caches have
16441 been coelesced and optimized so that there is a single cache and
16442 memory list data structure and a single group of functions that
16443 implement generic cache management.  This has reduced the code
16444 size in both the debug and release versions of the subsystem.
16446 The DEBUG_PRINT macro(s) have been optimized for size and replaced
16447 by ACPI_DEBUG_PRINT.  The syntax for this macro is slightly
16448 different, because it generates a single call to an internal
16449 function.  This results in a savings of about 90 bytes per
16450 invocation, resulting in an overall code and data savings of about
16451 16% in the debug version of the subsystem.
16453  Linux:
16455 Fixed C3 disk corruption problems and re-enabled C3 on supporting
16456 machines.
16458 Integrated low-level sleep code by Patrick Mochel.
16460 Further tweaked source code Linuxization.
16462 Other minor fixes.
16464  ASL Compiler:
16466 Support for ACPI 2.0 variable length packages is fixed/completed.
16468 Fixed a problem where the optional length parameter for the ACPI
16469 2.0 ToString operator.
16471 Fixed multiple extraneous error messages when a syntax error is
16472 detected within the declaration line of a control method.
16474  ----------------------------------------
16475 Summary of changes for this label: 07_17_01
16477 ACPI CA Core Subsystem:
16479 Added a new interface named AcpiGetFirmwareTable to obtain any
16480 ACPI table via the ACPI signature.  The interface can be called at
16481 any time during kernel initialization, even before the kernel
16482 virtual memory manager is initialized and paging is enabled.  This
16483 allows kernel subsystems to obtain ACPI tables very early, even
16484 before the ACPI CA subsystem is initialized.
16486 Fixed a problem where Fields defined with the AnyAcc attribute
16487 could be resolved to the incorrect address under the following
16488 conditions: 1) the field width is larger than 8 bits and 2) the
16489 parent operation region is not defined on a DWORD boundary.
16491 Fixed a problem where the interpreter is not being locked during
16492 namespace initialization (during execution of the _INI control
16493 methods), causing an error when an attempt is made to release it
16494 later.
16496 ACPI 2.0 support in the AML Interpreter has begun and will be
16497 ongoing throughout the rest of this year.  In this label, The Mod
16498 operator is implemented.
16500 Added a new data type to contain full PCI addresses named
16501 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16502 and Function values.
16504  Linux:
16506 Enhanced the Linux version of the source code to change most
16507 capitalized ACPI type names to lowercase. For example, all
16508 instances of ACPI_STATUS are changed to acpi_status.  This will
16509 result in a large diff, but the change is strictly cosmetic and
16510 aligns the CA code closer to the Linux coding standard.
16512 OSL Interfaces:
16514 The interfaces to the PCI configuration space have been changed to
16515 add the PCI Segment number and to split the single 32-bit combined
16516 DeviceFunction field into two 16-bit fields.  This was
16517 accomplished by moving the four values that define an address in
16518 PCI configuration space (segment, bus, device, and function) to
16519 the new ACPI_PCI_ID structure.
16521 The changes to the PCI configuration space interfaces led to a
16522 reexamination of the complete set of address space access
16523 interfaces for PCI, I/O, and Memory.  The previously existing 18
16524 interfaces have proven difficult to maintain (any small change
16525 must be propagated across at least 6 interfaces) and do not easily
16526 allow for future expansion to 64 bits if necessary.  Also, on some
16527 systems, it would not be appropriate to demultiplex the access
16528 width (8, 16, 32,or 64) before calling the OSL if the
16529 corresponding native OS interfaces contain a similar access width
16530 parameter.  For these reasons, the 18 address space interfaces
16531 have been replaced by these 6 new ones:
16533 AcpiOsReadPciConfiguration
16534 AcpiOsWritePciConfiguration
16535 AcpiOsReadMemory
16536 AcpiOsWriteMemory
16537 AcpiOsReadPort
16538 AcpiOsWritePort
16540 Added a new interface named AcpiOsGetRootPointer to allow the OSL
16541 to perform the platform and/or OS-specific actions necessary to
16542 obtain the ACPI RSDP table pointer.  On IA-32 platforms, this
16543 interface will simply call down to the CA core to perform the low-
16544 memory search for the table.  On IA-64, the RSDP is obtained from
16545 EFI.  Migrating this interface to the OSL allows the CA core to
16547 remain OS and platform independent.
16549 Added a new interface named AcpiOsSignal to provide a generic
16550 "function code and pointer" interface for various miscellaneous
16551 signals and notifications that must be made to the host OS.   The
16552 first such signals are intended to support the ASL Fatal and
16553 Breakpoint operators.  In the latter case, the AcpiOsBreakpoint
16554 interface has been obsoleted.
16556 The definition of the AcpiFormatException interface has been
16557 changed to simplify its use.  The caller no longer must supply a
16558 buffer to the call; A pointer to a const string is now returned
16559 directly.  This allows the call to be easily used in printf
16560 statements, etc. since the caller does not have to manage a local
16561 buffer.
16564  ASL Compiler, Version X2025:
16566 The ACPI 2.0 Switch/Case/Default operators have been implemented
16567 and are fully functional.  They will work with all ACPI 1.0
16568 interpreters, since the operators are simply translated to If/Else
16569 pairs.
16571 The ACPI 2.0 ElseIf operator is implemented and will also work
16572 with 1.0 interpreters, for the same reason.
16574 Implemented support for ACPI 2.0 variable-length packages.  These
16575 packages have a separate opcode, and their size is determined by
16576 the interpreter at run-time.
16578 Documentation The ACPI CA Programmer Reference has been updated to
16579 reflect the new interfaces and changes to existing interfaces.
16581  ------------------------------------------
16582 Summary of changes for this label: 06_15_01
16584  ACPI CA Core Subsystem:
16586 Fixed a problem where a DWORD-accessed field within a Buffer
16587 object would get its byte address inadvertently rounded down to
16588 the nearest DWORD.  Buffers are always Byte-accessible.
16590  ASL Compiler, version X2024:
16592 Fixed a problem where the Switch() operator would either fault or
16593 hang the compiler.  Note however, that the AML code for this ACPI
16594 2.0 operator is not yet implemented.
16596 Compiler uses the new AcpiOsGetTimer interface to obtain compile
16597 timings.
16599 Implementation of the CreateField operator automatically converts
16600 a reference to a named field within a resource descriptor from a
16601 byte offset to a bit offset if required.
16603 Added some missing named fields from the resource descriptor
16604 support. These are the names that are automatically created by the
16605 compiler to reference fields within a descriptor.  They are only
16606 valid at compile time and are not passed through to the AML
16607 interpreter.
16609 Resource descriptor named fields are now typed as Integers and
16610 subject to compile-time typechecking when used in expressions.
16612  ------------------------------------------
16613 Summary of changes for this label: 05_18_01
16615  ACPI CA Core Subsystem:
16617 Fixed a couple of problems in the Field support code where bits
16618 from adjacent fields could be returned along with the proper field
16619 bits. Restructured the field support code to improve performance,
16620 readability and maintainability.
16622 New DEBUG_PRINTP macro automatically inserts the procedure name
16623 into the output, saving hundreds of copies of procedure name
16624 strings within the source, shrinking the memory footprint of the
16625 debug version of the core subsystem.
16627  Source Code Structure:
16629 The source code directory tree was restructured to reflect the
16630 current organization of the component architecture.  Some files
16631 and directories have been moved and/or renamed.
16633  Linux:
16635 Fixed leaking kacpidpc processes.
16637 Fixed queueing event data even when /proc/acpi/event is not
16638 opened.
16640  ASL Compiler, version X2020:
16642 Memory allocation performance enhancement - over 24X compile time
16643 improvement on large ASL files.  Parse nodes and namestring
16644 buffers are now allocated from a large internal compiler buffer.
16646 The temporary .SRC file is deleted unless the "-s" option is
16647 specified
16649 The "-d" debug output option now sends all output to the .DBG file
16650 instead of the console.
16652 "External" second parameter is now optional
16654 "ElseIf" syntax now properly allows the predicate
16656 Last operand to "Load" now recognized as a Target operand
16658 Debug object can now be used anywhere as a normal object.
16660 ResourceTemplate now returns an object of type BUFFER
16662 EISAID now returns an object of type INTEGER
16664 "Index" now works with a STRING operand
16666 "LoadTable" now accepts optional parameters
16668 "ToString" length parameter is now optional
16670 "Interrupt (ResourceType," parse error fixed.
16672 "Register" with a user-defined region space parse error fixed
16674 Escaped backslash at the end of a string ("\\") scan/parse error
16675 fixed
16677 "Revision" is now an object of type INTEGER.
16681 ------------------------------------------
16682 Summary of changes for this label: 05_02_01
16684 Linux:
16686 /proc/acpi/event now blocks properly.
16688 Removed /proc/sys/acpi. You can still dump your DSDT from
16689 /proc/acpi/dsdt.
16691  ACPI CA Core Subsystem:
16693 Fixed a problem introduced in the previous label where some of the
16694 "small" resource descriptor types were not recognized.
16696 Improved error messages for the case where an ASL Field is outside
16697 the range of the parent operation region.
16699  ASL Compiler, version X2018:
16702 Added error detection for ASL Fields that extend beyond the length
16703 of the parent operation region (only if the length of the region
16704 is known at compile time.)  This includes fields that have a
16705 minimum access width that is smaller than the parent region, and
16706 individual field units that are partially or entirely beyond the
16707 extent of the parent.
16711 ------------------------------------------
16712 Summary of changes for this label: 04_27_01
16714  ACPI CA Core Subsystem:
16716 Fixed a problem where the namespace mutex could be released at the
16717 wrong time during execution of AcpiRemoveAddressSpaceHandler.
16719 Added optional thread ID output for debug traces, to simplify
16720 debugging of multiple threads.  Added context switch notification
16721 when the debug code realizes that a different thread is now
16722 executing ACPI code.
16724 Some additional external data types have been prefixed with the
16725 string "ACPI_" for consistency.  This may effect existing code.
16726 The data types affected are the external callback typedefs - e.g.,
16728 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16730  Linux:
16732 Fixed an issue with the OSL semaphore implementation where a
16733 thread was waking up with an error from receiving a SIGCHLD
16734 signal.
16736 Linux version of ACPI CA now uses the system C library for string
16737 manipulation routines instead of a local implementation.
16739 Cleaned up comments and removed TBDs.
16741  ASL Compiler, version X2017:
16743 Enhanced error detection and reporting for all file I/O
16744 operations.
16746  Documentation:
16748 Programmer Reference updated to version 1.06.
16752 ------------------------------------------
16753 Summary of changes for this label: 04_13_01
16755  ACPI CA Core Subsystem:
16757 Restructured support for BufferFields and RegionFields.
16758 BankFields support is now fully operational.  All known 32-bit
16759 limitations on field sizes have been removed.  Both BufferFields
16760 and (Operation) RegionFields are now supported by the same field
16761 management code.
16763 Resource support now supports QWORD address and IO resources. The
16764 16/32/64 bit address structures and the Extended IRQ structure
16765 have been changed to properly handle Source Resource strings.
16767 A ThreadId of -1 is now used to indicate a "mutex not acquired"
16768 condition internally and must never be returned by AcpiOsThreadId.
16769 This reserved value was changed from 0 since Unix systems allow a
16770 thread ID of 0.
16772 Linux:
16774 Driver code reorganized to enhance portability
16776 Added a kernel configuration option to control ACPI_DEBUG
16778 Fixed the EC driver to honor _GLK.
16780 ASL Compiler, version X2016:
16782 Fixed support for the "FixedHw" keyword.  Previously, the FixedHw
16783 address space was set to 0, not 0x7f as it should be.
16785  ------------------------------------------
16786 Summary of changes for this label: 03_13_01
16788  ACPI CA Core Subsystem:
16790 During ACPI initialization, the _SB_._INI method is now run if
16791 present.
16793 Notify handler fix - notifies are deferred until the parent method
16794 completes execution.  This fixes the "mutex already acquired"
16795 issue seen occasionally.
16797 Part of the "implicit conversion" rules in ACPI 2.0 have been
16798 found to cause compatibility problems with existing ASL/AML.  The
16799 convert "result-to-target-type" implementation has been removed
16800 for stores to method Args and Locals.  Source operand conversion
16801 is still fully implemented.  Possible changes to ACPI 2.0
16802 specification pending.
16804 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16805 length.
16807 Fix for compiler warnings for 64-bit compiles.
16809  Linux:
16811 /proc output aligned for easier parsing.
16813 Release-version compile problem fixed.
16815 New kernel configuration options documented in Configure.help.
16817 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16818 context" message.
16820  OSPM:
16822 Power resource driver integrated with bus manager.
16824 Fixed kernel fault during active cooling for thermal zones.
16826 Source Code:
16828 The source code tree has been restructured.
16832 ------------------------------------------
16833 Summary of changes for this label: 03_02_01
16835  Linux OS Services Layer (OSL):
16837 Major revision of all Linux-specific code.
16839 Modularized all ACPI-specific drivers.
16841 Added new thermal zone and power resource drivers.
16843 Revamped /proc interface (new functionality is under /proc/acpi).
16845 New kernel configuration options.
16847  Linux known issues:
16849 New kernel configuration options not documented in Configure.help
16850 yet.
16853 Module dependencies not currently implemented. If used, they
16854 should be loaded in this order: busmgr, power, ec, system,
16855 processor, battery, ac_adapter, button, thermal.
16857 Modules will not load if CONFIG_MODVERSION is set.
16859 IBM 600E - entering S5 may reboot instead of shutting down.
16861 IBM 600E - Sleep button may generate "Invalid <NULL> context"
16862 message.
16864 Some systems may fail with "execution mutex already acquired"
16865 message.
16867  ACPI CA Core Subsystem:
16869 Added a new OSL Interface, AcpiOsGetThreadId.  This was required
16870 for the  deadlock detection code. Defined to return a non-zero, 32-
16871 bit thread ID for the currently executing thread.  May be a non-
16872 zero constant integer on single-thread systems.
16874 Implemented deadlock detection for internal subsystem mutexes.  We
16875 may add conditional compilation for this code (debug only) later.
16877 ASL/AML Mutex object semantics are now fully supported.  This
16878 includes multiple acquires/releases by owner and support for the
16880 Mutex SyncLevel parameter.
16882 A new "Force Release" mechanism automatically frees all ASL
16883 Mutexes that have been acquired but not released when a thread
16884 exits the interpreter.  This forces conformance to the ACPI spec
16885 ("All mutexes must be released when an invocation exits") and
16886 prevents deadlocked ASL threads.  This mechanism can be expanded
16887 (later) to monitor other resource acquisitions if OEM ASL code
16888 continues to misbehave (which it will).
16890 Several new ACPI exception codes have been added for the Mutex
16891 support.
16893 Recursive method calls are now allowed and supported (the ACPI
16894 spec does in fact allow recursive method calls.)  The number of
16895 recursive calls is subject to the restrictions imposed by the
16896 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16897 parameter.
16899 Implemented support for the SyncLevel parameter for control
16900 methods (ACPI 2.0 feature)
16902 Fixed a deadlock problem when multiple threads attempted to use
16903 the interpreter.
16905 Fixed a problem where the string length of a String package
16906 element was not always set in a package returned from
16907 AcpiEvaluateObject.
16909 Fixed a problem where the length of a String package element was
16910 not always included in the length of the overall package returned
16911 from AcpiEvaluateObject.
16913 Added external interfaces (Acpi*) to the ACPI debug memory
16914 manager.  This manager keeps a list of all outstanding
16915 allocations, and can therefore detect memory leaks and attempts to
16916 free memory blocks more than once. Useful for code such as the
16917 power manager, etc.  May not be appropriate for device drivers.
16918 Performance with the debug code enabled is slow.
16920 The ACPI Global Lock is now an optional hardware element.
16922  ASL Compiler Version X2015:
16924 Integrated changes to allow the compiler to be generated on
16925 multiple platforms.
16927 Linux makefile added to generate the compiler on Linux
16929  Source Code:
16931 All platform-specific headers have been moved to their own
16932 subdirectory, Include/Platform.
16934 New source file added, Interpreter/ammutex.c
16936 New header file, Include/acstruct.h
16938  Documentation:
16940 The programmer reference has been updated for the following new
16941 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
16943  ------------------------------------------
16944 Summary of changes for this label: 02_08_01
16946 Core ACPI CA Subsystem: Fixed a problem where an error was
16947 incorrectly returned if the return resource buffer was larger than
16948 the actual data (in the resource interfaces).
16950 References to named objects within packages are resolved to the
16952 full pathname string before packages are returned directly (via
16953 the AcpiEvaluateObject interface) or indirectly via the resource
16954 interfaces.
16956 Linux OS Services Layer (OSL):
16958 Improved /proc battery interface.
16961 Added C-state debugging output and other miscellaneous fixes.
16963 ASL Compiler Version X2014:
16965 All defined method arguments can now be used as local variables,
16966 including the ones that are not actually passed in as parameters.
16967 The compiler tracks initialization of the arguments and issues an
16968 exception if they are used without prior assignment (just like
16969 locals).
16971 The -o option now specifies a filename prefix that is used for all
16972 output files, including the AML output file.  Otherwise, the
16973 default behavior is as follows:  1) the AML goes to the file
16974 specified in the DSDT.  2) all other output files use the input
16975 source filename as the base.
16977  ------------------------------------------
16978 Summary of changes for this label: 01_25_01
16980 Core ACPI CA Subsystem: Restructured the implementation of object
16981 store support within the  interpreter.  This includes support for
16982 the Store operator as well  as any ASL operators that include a
16983 target operand.
16985 Partially implemented support for Implicit Result-to-Target
16986 conversion. This is when a result object is converted on the fly
16987 to the type of  an existing target object.  Completion of this
16988 support is pending  further analysis of the ACPI specification
16989 concerning this matter.
16991 CPU-specific code has been removed from the subsystem (hardware
16992 directory).
16994 New Power Management Timer functions added
16996 Linux OS Services Layer (OSL): Moved system state transition code
16997 to the core, fixed it, and modified  Linux OSL accordingly.
16999 Fixed C2 and C3 latency calculations.
17002 We no longer use the compilation date for the version message on
17003 initialization, but retrieve the version from AcpiGetSystemInfo().
17005 Incorporated for fix Sony VAIO machines.
17007 Documentation:  The Programmer Reference has been updated and
17008 reformatted.
17011 ASL Compiler:  Version X2013: Fixed a problem where the line
17012 numbering and error reporting could get out  of sync in the
17013 presence of multiple include files.
17015  ------------------------------------------
17016 Summary of changes for this label: 01_15_01
17018 Core ACPI CA Subsystem:
17020 Implemented support for type conversions in the execution of the
17021 ASL  Concatenate operator (The second operand is converted to
17022 match the type  of the first operand before concatenation.)
17024 Support for implicit source operand conversion is partially
17025 implemented.   The ASL source operand types Integer, Buffer, and
17026 String are freely  interchangeable for most ASL operators and are
17027 converted by the interpreter  on the fly as required.  Implicit
17028 Target operand conversion (where the  result is converted to the
17029 target type before storing) is not yet implemented.
17031 Support for 32-bit and 64-bit BCD integers is implemented.
17033 Problem fixed where a field read on an aligned field could cause a
17034 read  past the end of the field.
17036 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17037 does not return a value, but the caller expects one.  (The ASL
17038 compiler flags this as a warning.)
17040 ASL Compiler:
17042 Version X2011:
17043 1. Static typechecking of all operands is implemented. This
17044 prevents the use of invalid objects (such as using a Package where
17045 an Integer is required) at compile time instead of at interpreter
17046 run-time.
17047 2. The ASL source line is printed with ALL errors and warnings.
17048 3. Bug fix for source EOF without final linefeed.
17049 4. Debug option is split into a parse trace and a namespace trace.
17050 5. Namespace output option (-n) includes initial values for
17051 integers and strings.
17052 6. Parse-only option added for quick syntax checking.
17053 7. Compiler checks for duplicate ACPI name declarations
17055 Version X2012:
17056 1. Relaxed typechecking to allow interchangeability between
17057 strings, integers, and buffers.  These types are now converted by
17058 the interpreter at runtime.
17059 2. Compiler reports time taken by each internal subsystem in the
17060 debug         output file.
17063  ------------------------------------------
17064 Summary of changes for this label: 12_14_00
17066 ASL Compiler:
17068 This is the first official release of the compiler. Since the
17069 compiler requires elements of the Core Subsystem, this label
17070 synchronizes everything.
17072 ------------------------------------------
17073 Summary of changes for this label: 12_08_00
17076 Fixed a problem where named references within the ASL definition
17077 of both OperationRegions and CreateXXXFields did not work
17078 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17079 initialization of the region/field. This is similar (but not
17080 related internally) to the problem that was fixed in the last
17081 label.
17083 Implemented both 32-bit and 64-bit support for the BCD ASL
17084 functions ToBCD and FromBCD.
17086 Updated all legal headers to include "2000" in the copyright
17087 years.
17089  ------------------------------------------
17090 Summary of changes for this label: 12_01_00
17092 Fixed a problem where method invocations within the ASL definition
17093 of both OperationRegions and CreateXXXFields did not work
17094 properly.  The symptom was an AE_AML_OPERAND_TYPE during
17095 initialization of the region/field:
17097   nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17098 [DEBG]   ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17099 (0x3005)
17101 Fixed a problem where operators with more than one nested
17102 subexpression would fail.  The symptoms were varied, by mostly
17103 AE_AML_OPERAND_TYPE errors.  This was actually a rather serious
17104 problem that has gone unnoticed until now.
17106   Subtract (Add (1,2), Multiply (3,4))
17108 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17109 previous build (The prefix part of a relative path was handled
17110 incorrectly).
17112 Fixed a problem where Operation Region initialization failed if
17113 the operation region name was a "namepath" instead of a simple
17114 "nameseg". Symptom was an AE_NO_OPERAND error.
17116 Fixed a problem where an assignment to a local variable via the
17117 indirect RefOf mechanism only worked for the first such
17118 assignment.  Subsequent assignments were ignored.
17120  ------------------------------------------
17121 Summary of changes for this label: 11_15_00
17123 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17124 0.71 extensions.  Note: although we can read ACPI 2.0 BIOS tables,
17125 the AML  interpreter does NOT have support for the new 2.0 ASL
17126 grammar terms at this time.
17128 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17129 FADT.
17131 All physical memory addresses across all platforms are now 64 bits
17132 wide. Logical address width remains dependent on the platform
17133 (i.e., "void *").
17135 AcpiOsMapMemory interface changed to a 64-bit physical address.
17137 The AML interpreter integer size is now 64 bits, as per the ACPI
17138 2.0 specification.
17140 For backwards compatibility with ACPI 1.0, ACPI tables with a
17141 revision number less than 2 use 32-bit integers only.
17143 Fixed a problem where the evaluation of OpRegion operands did not
17144 always resolve them to numbers properly.
17146 ------------------------------------------
17147 Summary of changes for this label: 10_20_00
17149 Fix for CBN_._STA issue.  This fix will allow correct access to
17150 CBN_ OpRegions when the _STA returns 0x8.
17152 Support to convert ACPI constants (Ones, Zeros, One) to actual
17153 values before a package object is returned
17155 Fix for method call as predicate to if/while construct causing
17156 incorrect if/while behavior
17158 Fix for Else block package lengths sometimes calculated wrong (if
17159 block > 63 bytes)
17161 Fix for Processor object length field, was always zero
17163 Table load abort if FACP sanity check fails
17165 Fix for problem with Scope(name) if name already exists
17167 Warning emitted if a named object referenced cannot be found
17168 (resolved) during method execution.
17174 ------------------------------------------
17175 Summary of changes for this label: 9_29_00
17177 New table initialization interfaces: AcpiInitializeSubsystem no
17178 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17179 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17180 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17181 AcpiLoadTables
17183 Note: These interface changes require changes to all existing OSDs
17185 The PCI_Config default address space handler is always installed
17186 at the root namespace object.
17188 -------------------------------------------
17189 Summary of changes for this label: 09_15_00
17191 The new initialization architecture is implemented.  New
17192 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17193 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17195 (Namespace is automatically loaded when a table is loaded)
17197 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17198 52 bytes to 32 bytes.  There is usually one of these for every
17199 namespace object, so the memory savings is significant.
17201 Implemented just-in-time evaluation of the CreateField operators.
17203 Bug fixes for IA-64 support have been integrated.
17205 Additional code review comments have been implemented
17207 The so-called "third pass parse" has been replaced by a final walk
17208 through the namespace to initialize all operation regions (address
17209 spaces) and fields that have not yet been initialized during the
17210 execution of the various _INI and REG methods.
17212 New file - namespace/nsinit.c
17214 -------------------------------------------
17215 Summary of changes for this label: 09_01_00
17217 Namespace manager data structures have been reworked to change the
17218 primary  object from a table to a single object.  This has
17219 resulted in dynamic memory  savings of 3X within the namespace and
17220 2X overall in the ACPI CA subsystem.
17222 Fixed problem where the call to AcpiEvFindPciRootBuses was
17223 inadvertently left  commented out.
17225 Reduced the warning count when generating the source with the GCC
17226 compiler.
17228 Revision numbers added to each module header showing the
17229 SourceSafe version of the file.  Please refer to this version
17230 number when giving us feedback or comments on individual modules.
17232 The main object types within the subsystem have been renamed to
17233 clarify their  purpose:
17235 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17236 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17237 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17239 NOTE: no changes to the initialization sequence are included in
17240 this label.
17242 -------------------------------------------
17243 Summary of changes for this label: 08_23_00
17245 Fixed problem where TerminateControlMethod was being called
17246 multiple times per  method
17248 Fixed debugger problem where single stepping caused a semaphore to
17249 be  oversignalled
17251 Improved performance through additional parse object caching -
17252 added  ACPI_EXTENDED_OP type
17254 -------------------------------------------
17255 Summary of changes for this label: 08_10_00
17257 Parser/Interpreter integration:  Eliminated the creation of
17258 complete parse trees  for ACPI tables and control methods.
17259 Instead, parse subtrees are created and  then deleted as soon as
17260 they are processed (Either entered into the namespace or  executed
17261 by the interpreter).  This reduces the use of dynamic kernel
17262 memory  significantly. (about 10X)
17264 Exception codes broken into classes and renumbered.  Be sure to
17265 recompile all  code that includes acexcep.h.  Hopefully we won't
17266 have to renumber the codes  again now that they are split into
17267 classes (environment, programmer, AML code,  ACPI table, and
17268 internal).
17270 Fixed some additional alignment issues in the Resource Manager
17271 subcomponent
17273 Implemented semaphore tracking in the AcpiExec utility, and fixed
17274 several places  where mutexes/semaphores were being unlocked
17275 without a corresponding lock  operation.  There are no known
17276 semaphore or mutex "leaks" at this time.
17278 Fixed the case where an ASL Return operator is used to return an
17279 unnamed  package.
17281 -------------------------------------------
17282 Summary of changes for this label: 07_28_00
17284 Fixed a problem with the way addresses were calculated in
17285 AcpiAmlReadFieldData()  and AcpiAmlWriteFieldData(). This problem
17286 manifested itself when a Field was  created with WordAccess or
17287 DwordAccess, but the field unit defined within the  Field was less
17289 than a Word or Dword.
17291 Fixed a problem in AmlDumpOperands() module's loop to pull
17292 operands off of the  operand stack to display information. The
17293 problem manifested itself as a TLB  error on 64-bit systems when
17294 accessing an operand stack with two or more  operands.
17296 Fixed a problem with the PCI configuration space handlers where
17297 context was  getting confused between accesses. This required a
17298 change to the generic address  space handler and address space
17299 setup definitions. Handlers now get both a  global handler context
17300 (this is the one passed in by the user when executing
17301 AcpiInstallAddressSpaceHandler() and a specific region context
17302 that is unique to  each region (For example, the _ADR, _SEG and
17303 _BBN values associated with a  specific region). The generic
17304 function definitions have changed to the  following:
17306 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17307 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17308 *HandlerContext, // This used to be void *Context void
17309 *RegionContext); // This is an additional parameter
17311 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17312 RegionHandle, UINT32 Function, void *HandlerContext,  void
17313 **RegionContext); // This used to be **ReturnContext
17315 -------------------------------------------
17316 Summary of changes for this label: 07_21_00
17318 Major file consolidation and rename.  All files within the
17319 interpreter have been  renamed as well as most header files.  This
17320 was done to prevent collisions with  existing files in the host
17321 OSs -- filenames such as "config.h" and "global.h"  seem to be
17322 quite common.  The VC project files have been updated.  All
17323 makefiles  will require modification.
17325 The parser/interpreter integration continues in Phase 5 with the
17326 implementation  of a complete 2-pass parse (the AML is parsed
17327 twice) for each table;  This  avoids the construction of a huge
17328 parse tree and therefore reduces the amount of  dynamic memory
17329 required by the subsystem.  Greater use of the parse object cache
17330 means that performance is unaffected.
17332 Many comments from the two code reviews have been rolled in.
17334 The 64-bit alignment support is complete.
17336 -------------------------------------------
17337 Summary of changes for this label: 06_30_00
17339 With a nod and a tip of the hat to the technology of yesteryear,
17340 we've added  support in the source code for 80 column output
17341 devices.  The code is now mostly  constrained to 80 columns or
17342 less to support environments and editors that 1)  cannot display
17343 or print more than 80 characters on a single line, and 2) cannot
17344 disable line wrapping.
17346 A major restructuring of the namespace data structure has been
17347 completed.  The  result is 1) cleaner and more
17348 understandable/maintainable code, and 2) a  significant reduction
17349 in the dynamic memory requirement for each named ACPI  object
17350 (almost half).
17352 -------------------------------------------
17353 Summary of changes for this label: 06_23_00
17355 Linux support has been added.  In order to obtain approval to get
17356 the ACPI CA  subsystem into the Linux kernel, we've had to make
17357 quite a few changes to the  base subsystem that will affect all
17358 users (all the changes are generic and OS- independent).  The
17359 effects of these global changes have been somewhat far  reaching.
17360 Files have been merged and/or renamed and interfaces have been
17361 renamed.   The major changes are described below.
17363 Osd* interfaces renamed to AcpiOs* to eliminate namespace
17364 pollution/confusion  within our target kernels.  All OSD
17365 interfaces must be modified to match the new  naming convention.
17367 Files merged across the subsystem.  A number of the smaller source
17368 and header  files have been merged to reduce the file count and
17369 increase the density of the  existing files.  There are too many
17370 to list here.  In general, makefiles that  call out individual
17371 files will require rebuilding.
17373 Interpreter files renamed.  All interpreter files now have the
17374 prefix am*  instead of ie* and is*.
17376 Header files renamed:  The acapi.h file is now acpixf.h.  The
17377 acpiosd.h file is  now acpiosxf.h.  We are removing references to
17378 the acronym "API" since it is  somewhat windowsy. The new name is
17379 "external interface" or xface or xf in the  filenames.j
17382 All manifest constants have been forced to upper case (some were
17383 mixed case.)   Also, the string "ACPI_" has been prepended to many
17384 (not all) of the constants,  typedefs, and structs.
17386 The globals "DebugLevel" and "DebugLayer" have been renamed
17387 "AcpiDbgLevel" and  "AcpiDbgLayer" respectively.
17389 All other globals within the subsystem are now prefixed with
17390 "AcpiGbl_" Internal procedures within the subsystem are now
17391 prefixed with "Acpi" (with only  a few exceptions).  The original
17392 two-letter abbreviation for the subcomponent  remains after "Acpi"
17393 - for example, CmCallocate became AcpiCmCallocate.
17395 Added a source code translation/conversion utility.  Used to
17396 generate the Linux  source code, it can be modified to generate
17397 other types of source as well. Can  also be used to cleanup
17398 existing source by removing extraneous spaces and blank  lines.
17399 Found in tools/acpisrc/*
17401 OsdUnMapMemory was renamed to OsdUnmapMemory and then
17402 AcpiOsUnmapMemory.  (UnMap  became Unmap).
17404 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17405 When set to  one, this indicates that the caller wants to use the
17407 semaphore as a mutex, not a  counting semaphore.  ACPI CA uses
17408 both types.  However, implementers of this  call may want to use
17409 different OS primitives depending on the type of semaphore
17410 requested.  For example, some operating systems provide separate
17412 "mutex" and  "semaphore" interfaces - where the mutex interface is
17413 much faster because it  doesn't have all the overhead of a full
17414 semaphore implementation.
17416 Fixed a deadlock problem where a method that accesses the PCI
17417 address space can  block forever if it is the first access to the
17418 space.
17420 -------------------------------------------
17421 Summary of changes for this label: 06_02_00
17423 Support for environments that cannot handle unaligned data
17424 accesses (e.g.  firmware and OS environments devoid of alignment
17425 handler technology namely  SAL/EFI and the IA-64 Linux kernel) has
17426 been added (via configurable macros) in  these three areas: -
17427 Transfer of data from the raw AML byte stream is done via byte
17428 moves instead of    word/dword/qword moves. - External objects are
17429 aligned within the user buffer, including package   elements (sub-
17430 objects). - Conversion of name strings to UINT32 Acpi Names is now
17431 done byte-wise.
17433 The Store operator was modified to mimic Microsoft's
17434 implementation when storing  to a Buffer Field.
17436 Added a check of the BM_STS bit before entering C3.
17438 The methods subdirectory has been obsoleted and removed.  A new
17439 file, cmeval.c  subsumes the functionality.
17441 A 16-bit (DOS) version of AcpiExec has been developed.  The
17442 makefile is under  the acpiexec directory.