1 ----------------------------------------
2 29 September 2017. Summary of changes for version 20170929:
5 1) ACPICA kernel-resident subsystem:
7 Redesigned and implemented an improved ASL While() loop timeout
8 mechanism. This mechanism is used to prevent infinite loops in the kernel
9 AML interpreter caused by either non-responsive hardware or incorrect AML
10 code. The new implementation uses AcpiOsGetTimer instead of a simple
11 maximum loop count, and is thus more accurate and constant across
12 different machines. The default timeout is currently 30 seconds, but this
13 may be adjusted later.
15 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to
16 better reflect the new implementation of the loop timeout mechanism.
18 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support
19 and to fix an off-by-one error. Jung-uk Kim.
21 Fixed an EFI build problem by updating the makefiles to for a new file
22 that was added, utstrsuppt.c
25 2) iASL Compiler/Disassembler and Tools:
27 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This
28 includes support in the table disassembler, compiler, and template
31 iASL: Added an exception for an illegal type of recursive method
32 invocation. If a method creates named objects, the first recursive call
33 will fail at runtime. This change adds an error detection at compile time
34 to catch the problem up front. Note: Marking such a method as
35 "serialized" will not help with this problem, because the same thread can
36 acquire the method mutex more than once. Example compiler and runtime
46 Error 6152 - ^ Illegal recursive call to method
47 that creates named objects (MTH1)
49 Previous runtime exception:
50 ACPI Error: [INT1] Namespace lookup failure,
51 AE_ALREADY_EXISTS (20170831/dswload2-465)
53 iASL: Updated support for External() opcodes to improve namespace
54 management and error detection. These changes are related to issues seen
55 with multiple-segment namespace pathnames within External declarations,
58 External(\_SB.PCI0.GFX0, DeviceObj)
59 External(\_SB.PCI0.GFX0.ALSI)
61 iASL: Implemented support for multi-line error/warning messages. This
62 enables more detailed and helpful error messages as below, from the
63 initial deployment for the duplicate names error:
65 DSDT.iiii 1692: Device(PEG2) {
66 Error 6074 - ^ Name already exists in scope
69 Original name creation/declaration below:
70 DSDT.iiii 93: External(\_SB.PCI0.PEG2, DeviceObj)
72 AcpiXtract: Added additional flexibility to support differing input hex
73 dump formats. Specifically, hex dumps that contain partial disassembly
74 and/or comments within the ACPI table data definition. There exist some
75 dump utilities seen in the field that create this type of hex dump (such
76 as Simics). For example:
78 DSDT @ 0xdfffd0c0 (10999 bytes)
87 Creator_revision 537399345
88 0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
90 2af0: 5f 4c 30 46 00 a4 01
92 Test suite: Miscellaneous changes/fixes:
93 More cleanup and simplification of makefiles
94 Continue compilation of test cases after a compile failure
95 Do not perform binary compare unless both files actually exist
97 iASL: Performed some code/module restructuring. Moved all memory
98 allocation functions to new modules. Two new files, aslallocate.c and
101 ----------------------------------------
102 31 August 2017. Summary of changes for version 20170831:
105 1) ACPICA kernel-resident subsystem:
107 Implemented internal support for full 64-bit addresses that appear in all
108 Generic Address Structure (GAS) structures. Previously, only the lower 32
109 bits were used. Affects the use of GAS structures in the FADT and other
110 tables, as well as the GAS structures passed to the AcpiRead and
111 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
113 Added header support for the PDTT ACPI table (Processor Debug Trigger
114 Table). Full support in the iASL Data Table Compiler and disassembler is
118 2) iASL Compiler/Disassembler and Tools:
120 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
121 Properties Topology Table) where a flag bit was specified in the wrong
122 bit position ("Line Size Valid", bit 6).
124 iASL: Implemented support for Octal integer constants as defined by the
125 ASL language grammar, per the ACPI specification. Any integer constant
126 that starts with a zero is an octal constant. For example,
127 Store (037777, Local0) /* Octal constant */
128 Store (0x3FFF, Local0) /* Hex equivalent */
129 Store (16383, Local0) /* Decimal equivalent */
131 iASL: Improved overflow detection for 64-bit string conversions during
132 compilation of integer constants. "Overflow" in this case means a string
133 that represents an integer that is too large to fit into a 64-bit value.
134 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
135 the low-order 32 bits with a warning, as previously implemented. Several
136 new exceptions are defined that indicate a 64-bit overflow, as well as
137 the base (radix) that was used during the attempted conversion. Examples:
138 Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF // AE_HEX_OVERFLOW
139 Local0 = 01111222233334444555566667777 // AE_OCTAL_OVERFLOW
140 Local0 = 11112222333344445555666677778888 // AE_DECIMAL_OVERFLOW
142 iASL: Added a warning for the case where a ResourceTemplate is declared
143 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
144 this case, the resulting template is created with a single END_TAG
145 descriptor, which is essentially useless.
147 iASL: Expanded the -vw option (ignore specific warnings/remarks) to
148 include compilation error codes as well.
150 ----------------------------------------
151 28 July 2017. Summary of changes for version 20170728:
154 1) ACPICA kernel-resident subsystem:
156 Fixed a regression seen with small resource descriptors that could cause
157 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
159 AML interpreter: Implemented a new feature that allows forward references
160 from individual named references within package objects that are
161 contained within blocks of "module-level code". This provides
162 compatibility with other ACPI implementations and supports existing
163 firmware that depends on this feature. Example:
166 If (ABCD) /* An If() at module-level */
168 Name (PKG1, Package()
170 INT1 /* Forward reference to object INT1
176 AML Interpreter: Fixed a problem with the Alias() operator where aliases
177 to some ASL objects were not handled properly. Objects affected are:
178 Mutex, Event, and OperationRegion.
180 AML Debugger: Enhanced to properly handle AML Alias objects. These
181 objects have one level of indirection which was not fully supported by
184 Table Manager: Added support to detect and ignore duplicate SSDTs within
185 the XSDT/RSDT. This error in the XSDT has been seen in the field.
187 EFI and EDK2 support:
188 Enabled /WX flag for MSVC builds
189 Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
190 Added local support for 64-bit multiply and shift operations
191 Added support to compile acpidump.efi on Windows
192 Added OSL function stubs for interfaces not used under EFI
194 Added additional support for the _DMA predefined name. _DMA returns a
195 buffer containing a resource template. This change add support within the
196 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
197 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
200 2) iASL Compiler/Disassembler and Tools:
202 iASL: Fixed a problem where the internal input line buffer(s) could
203 overflow if there are very long lines in the input ASL source code file.
204 Implemented buffer management that automatically increases the size of
205 the buffers as necessary.
207 iASL: Added an option (-vx) to "expect" particular remarks, warnings and
208 errors. If the specified exception is not raised during compilation, the
209 compiler emits an error. This is intended to support the ASL test suite,
210 but may be useful in other contexts.
212 iASL: Implemented a new predefined macro, __METHOD__, which returns a
213 string containing the name of the current control method that is being
216 iASL: Implemented debugger and table compiler support for the SDEI ACPI
217 table (Software Delegated Exception Interface). James Morse
218 <james.morse@arm.com>
220 Unix/Linux makefiles: Added an option to disable compile optimizations.
221 The disable occurs when the NOOPT flag is set to TRUE.
222 theracermaster@gmail.com
224 Acpidump: Added support for multiple DSDT and FACS tables. This can occur
225 when there are different tables for 32-bit versus 64-bit.
227 Enhanced error reporting for the ASL test suite (ASLTS) by removing
228 unnecessary/verbose text, and emit the actual line number where an error
229 has occurred. These changes are intended to improve the usefulness of the
232 ----------------------------------------
233 29 June 2017. Summary of changes for version 20170629:
236 1) ACPICA kernel-resident subsystem:
238 Tables: Implemented a deferred ACPI table verification. This is useful
239 for operating systems where the tables cannot be verified in the early
240 initialization stage due to early memory mapping limitations on some
241 architectures. Lv Zheng.
243 Tables: Removed the signature validation for dynamically loaded tables.
244 Provides compatibility with other ACPI implementations. Previously, only
245 SSDT tables were allowed, as per the ACPI specification. Now, any table
246 signature can be used via the Load() operator. Lv Zheng.
248 Tables: Fixed several mutex issues that could cause errors during table
249 acquisition. Lv Zheng.
251 Tables: Fixed a problem where an ACPI warning could be generated if a
252 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
254 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
255 AcpiPutTable interfaces. This applies to the "late stage" table loading
256 when the use of AcpiPutTable is no longer required (since the system
257 memory manager is fully running and available). Lv Zheng.
259 Fixed/Reverted a regression during processing of resource descriptors
260 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
261 exception in this case.
263 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
264 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
266 Interpreter: Fixed a possible fault if an Alias operator with an invalid
267 or duplicate target is encountered during Alias creation in
268 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
270 Added an option to use designated initializers for function pointers.
271 Kees Cook <keescook@google.com>
274 2) iASL Compiler/Disassembler and Tools:
276 iASL: Allow compilation of External declarations with target pathnames
277 that refer to existing named objects within the table. Erik Schmauss.
279 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
280 FieldUnit name also is declared via External in the same table. Erik
283 iASL: Allow existing scope names within pathnames used in External
284 statements. For example:
285 External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
288 iASL: IORT ACPI table: Implemented changes required to decode the new
289 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
290 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
292 Disassembler: Don't abort disassembly on errors from External()
293 statements. Erik Schmauss.
295 Disassembler: fixed a possible fault when one of the Create*Field
296 operators references a Resource Template. ACPICA Bugzilla 1396.
298 iASL: In the source code, resolved some naming inconsistences across the
299 parsing support. Fixes confusion between "Parse Op" and "Parse Node".
300 Adds a new file, aslparseop.c
302 ----------------------------------------
303 31 May 2017. Summary of changes for version 20170531:
308 The ACPI specification version 6.2 has been released and is available at
309 http://uefi.org/specifications
311 This version of ACPICA fully supports the ACPI 6.2 specification. Changes
312 are summarized below.
314 New ACPI tables (Table Compiler/Disassembler/Templates):
315 HMAT (Heterogeneous Memory Attributes Table)
316 WSMT (Windows SMM Security Mitigation Table)
317 PPTT (Processor Properties Topology Table)
319 New subtables for existing ACPI tables:
320 HEST (New subtable, Arch-deferred machine check)
321 SRAT (New subtable, Arch-specific affinity structure)
322 PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
324 Simple updates for existing ACPI tables:
325 BGRT (two new flag bits)
326 HEST (New bit defined for several subtables, GHES_ASSIST)
328 New Resource Descriptors and Resource macros (Compiler/Disassembler):
334 New type for hardware error notification (section 18.3.2.9)
336 New predefined names/methods (Compiler/Interpreter):
337 _HMA (Heterogeneous Memory Attributes)
338 _LSI (Label Storage Information)
339 _LSR (Label Storage Read)
340 _LSW (Label Storage Write)
342 ASL grammar/macro changes (Compiler):
343 For() ASL macro, implemented with the AML while operator
344 Extensions to Concatenate operator
345 Support for multiple definition blocks in same ASL file
346 Clarification for Buffer operator
347 Allow executable AML code underneath all scopes (Devices, etc.)
348 Clarification/change for the _OSI return value
349 ASL grammar update for reference operators
350 Allow a zero-length string for AML filename in DefinitionBlock
353 New device object notification value
354 Remove a notify value (0x0C) for graceful shutdown
355 New UUIDs for processor/cache properties and
356 physical package property
357 New _HID, ACPI0014 (Wireless Power Calibration Device)
360 1) ACPICA kernel-resident subsystem:
362 Added support to disable ACPI events on hardware-reduced platforms.
363 Eliminates error messages of the form "Could not enable fixed event". Lv
366 Fixed a problem using Device/Thermal objects with the ObjectType and
367 DerefOf ASL operators. This support had not been fully/properly
370 Fixed a problem where if a Buffer object containing a resource template
371 was longer than the actual resource template, an error was generated --
372 even though the AML is legal. This case has been seen in the field.
374 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
375 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
377 Added header file changes for the TPM2 ACPI table. Update to new version
378 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
380 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
381 These interfaces are intended to be used only in conjunction with the
382 predefined _DLM method (Device Lock Method). "This object appears in a
383 device scope when AML access to the device must be synchronized with the
386 Example Code and Data Size: These are the sizes for the OS-independent
387 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
388 debug version of the code includes the debug output trace mechanism and
389 has a much larger code and data size.
392 Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
393 Debug Version: 204.0K Code, 84.3K Data, 288.3K Total
395 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
396 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
399 2) iASL Compiler/Disassembler and Tools:
401 iASL: Fixed a problem where an External() declaration could not refer to
402 a Field Unit. Erik Schmauss.
404 Disassembler: Improved support for the Switch/Case operators. This
405 feature will disassemble AML code back to the original Switch operators
406 when possible, instead of an If..Else sequence. David Box
408 iASL and disassembler: Improved the handling of multiple extraneous
409 parentheses for both ASL input and disassembled ASL output.
411 Improved the behavior of the iASL compiler and disassembler to detect
412 improper use of external declarations
414 Disassembler: Now aborts immediately upon detection of an unknown AML
415 opcode. The AML parser has no real way to recover from this, and can
416 result in the creation of an ill-formed parse tree that causes errors
417 later during the disassembly.
419 All tools: Fixed a problem where the Unix application OSL did not handle
420 control-c correctly. For example, a control-c could incorrectly wake the
423 AcpiExec: Improved the Control-C handling and added a handler for
424 segmentation faults (SIGSEGV). Supports both Windows and Unix-like
427 Reduced the verbosity of the generic unix makefiles. Previously, each
428 compilation displayed the full set of compiler options. This has been
429 eliminated as the options are easily inspected within the makefiles. Each
430 compilation now results in a single line of output.
432 ----------------------------------------
433 03 March 2017. Summary of changes for version 20170303:
438 The licensing information at the start of each source code module has
439 been updated. In addition to the Intel license, the dual GPLv2/BSD
440 license has been added for completeness. Now, a single version of the
441 source code should be suitable for all ACPICA customers. This is the
442 major change for this release since it affects all source code modules.
445 1) ACPICA kernel-resident subsystem:
447 Fixed two issues with the common asltypes.h header that could cause
448 problems in some environments: (Kim Jung-uk)
449 Removed typedef for YY_BUFFER_STATE ?
450 Fixes an error with earlier versions of Flex.
451 Removed use of FILE typedef (which is only defined in stdio.h)
454 2) iASL Compiler/Disassembler and Tools:
456 Disassembler: fixed a regression introduced in 20170224. A fix for a
457 memory leak related to resource descriptor tags (names) could fault when
458 the disassembler was generated with 64-bit compilers.
460 The ASLTS test suite has been updated to implement a new testing
461 architecture. During generation of the suite from ASL source, both the
462 ASL and ASL+ compilers are now validated, as well as the disassembler
463 itself (Erik Schmauss). The architecture executes as follows:
465 For every ASL source module:
466 Compile (legacy ASL compilation)
467 Disassemble the resulting AML to ASL+ source code
468 Compile the new ASL+ module
469 Perform a binary compare on the legacy AML and the new ASL+ AML
470 The ASLTS suite then executes normally using the AML binaries.
472 ----------------------------------------
473 24 February 2017. Summary of changes for version 20170224:
476 1) ACPICA kernel-resident subsystem:
478 Interpreter: Fixed two issues with the control method return value auto-
479 repair feature, where an attempt to double-delete an internal object
480 could result in an ACPICA warning (for _CID repair and others). No fault
481 occurs, however, because the attempted deletion (actually a release to an
482 internal cache) is detected and ignored via object poisoning.
484 Debugger: Fixed an AML interpreter mutex issue during the single stepping
485 of control methods. If certain debugger commands are executed during
486 stepping, a mutex aquire/release error could occur. Lv Zheng.
488 Fixed some issues generating ACPICA with the Intel C compiler by
489 restoring the original behavior and compiler-specific include file in
492 Example Code and Data Size: These are the sizes for the OS-independent
493 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
494 debug version of the code includes the debug output trace mechanism and
495 has a much larger code and data size.
498 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
499 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
501 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
502 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
505 2) iASL Compiler/Disassembler and Tools:
507 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
508 tool has been designed, implemented, and included in this release. The
509 key feature of this utility is that the original comments within the
510 input ASL file are preserved during the conversion process, and included
511 within the converted ASL+ file -- thus creating a transparent conversion
512 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
514 Usage: iasl -ca <ASL-filename> // Output is a .dsl file with
517 iASL/Disassembler: Improved the detection and correct disassembly of
518 Switch/Case operators. This feature detects sequences of if/elseif/else
519 operators that originated from ASL Switch/Case/Default operators and
520 emits the original operators. David Box.
522 iASL: Improved the IORT ACPI table support in the following areas. Lv
524 Clear MappingOffset if the MappingCount is zero.
525 Fix the disassembly of the SMMU GSU interrupt offset.
526 Update the template file for the IORT table.
528 Disassembler: Enhanced the detection and disassembly of resource
529 template/descriptor within a Buffer object. An EndTag descriptor is now
530 required to have a zero second byte, since all known ASL compilers emit
531 this. This helps eliminate incorrect decisions when a buffer is
532 disassembled (false positives on resource templates).
534 ----------------------------------------
535 19 January 2017. Summary of changes for version 20170119:
538 1) General ACPICA software:
540 Entire source code base: Added the 2017 copyright to all source code
541 legal/licensing module headers and utility/tool signons. This includes
542 the standard Linux dual-license header. This affects virtually every file
543 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
544 the ACPICA test suite.
547 2) iASL Compiler/Disassembler and Tools:
549 iASL: Removed/fixed an inadvertent remark when a method argument
550 containing a reference is used as a target operand within the method (and
551 never used as a simple argument), as in the example below. Jeffrey Hugo.
553 dsdt.asl 1507: Store(0x1, Arg0)
554 Remark 2146 - ^ Method Argument is never used (Arg0)
556 All tools: Removed the bit width of the compiler that generated the tool
557 from the common signon for all user space tools. This proved to be
558 confusing and unnecessary. This includes similar removal of HARDWARE_NAME
559 from the generic makefiles (Thomas Petazzoni). Example below.
562 ASL+ Optimizing Compiler version 20170119-32
563 ASL+ Optimizing Compiler version 20170119-64
566 ASL+ Optimizing Compiler version 20170119
568 ----------------------------------------
569 22 December 2016. Summary of changes for version 20161222:
572 1) ACPICA kernel-resident subsystem:
574 AML Debugger: Implemented a new mechanism to simplify and enhance
575 debugger integration into all environments, including kernel debuggers
576 and user-space utilities, as well as remote debug services. This
577 mechanism essentially consists of new OSL interfaces to support debugger
578 initialization/termination, as well as wait/notify interfaces to perform
579 the debugger handshake with the host. Lv Zheng.
582 AcpiOsInitializeDebugger (void)
583 AcpiOsTerminateDebugger (void)
584 AcpiOsWaitCommandReady (void)
585 AcpiOsNotifyCommandComplete (void)
587 New OS services layer:
588 osgendbg.c -- Example implementation, and used for AcpiExec
590 Update for Generic Address Space (GAS) support: Although the AccessWidth
591 and/or BitOffset fields of the GAS are not often used, this change now
592 fully supports these fields. This affects the internal support for FADT
593 registers, registers in other ACPI data tables, and the AcpiRead and
594 AcpiWrite public interfaces. Lv Zheng.
596 Sleep support: In order to simplify integration of ACPI sleep for the
597 various host operating systems, a new OSL interface has been introduced.
598 AcpiOsEnterSleep allows the host to perform any required operations
599 before the final write to the sleep control register(s) is performed by
603 AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
605 Called from these internal interfaces:
609 EFI support: Added a very small EFI/ACPICA example application. Provides
610 a simple demo for EFI integration, as well as assisting with resolution
611 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
613 source/tools/efihello/efihello.c
615 Local C library: Implemented several new functions to enhance ACPICA
616 portability, for environments where these clib functions are not
617 available (such as EFI). Lv Zheng:
624 Fixed a regression where occasionally a valid resource descriptor was
625 incorrectly detected as invalid at runtime, and a
626 AE_AML_NO_RESOURCE_END_TAG was returned.
628 Fixed a problem with the recently implemented support that enables
629 control method invocations as Target operands to many ASL operators.
630 Warnings of this form: "Needed type [Reference], found [Processor]" were
631 seen at runtime for some method invocations.
633 Example Code and Data Size: These are the sizes for the OS-independent
634 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
635 debug version of the code includes the debug output trace mechanism and
636 has a much larger code and data size.
639 Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
640 Debug Version: 201.7K Code, 82.7K Data, 284.4K Total
642 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
643 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
646 2) iASL Compiler/Disassembler and Tools:
648 Disassembler: Enhanced output by adding the capability to detect and
649 disassemble ASL Switch/Case statements back to the original ASL source
650 code instead of if/else blocks. David Box.
652 AcpiHelp: Split a large file into separate files based upon
653 functionality/purpose. New files are:
657 ----------------------------------------
658 17 November 2016. Summary of changes for version 20161117:
661 1) ACPICA kernel-resident subsystem:
663 Table Manager: Fixed a regression introduced in 20160729, "FADT support
664 cleanup". This was an attempt to remove all references in the source to
665 the FADT version 2, which never was a legal version number. It was
666 skipped because it was an early version of 64-bit support that was
667 eventually abandoned for the current 64-bit support.
669 Interpreter: Fixed a problem where runtime implicit conversion was
670 incorrectly disabled for the ASL operators below. This brings the
671 behavior into compliance with the ACPI specification:
679 Table Manager: Added a new public interface, AcpiPutTable, used to
680 release and free an ACPI table returned by AcpiGetTable and related
681 interfaces. Lv Zheng.
683 Example Code and Data Size: These are the sizes for the OS-independent
684 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
685 debug version of the code includes the debug output trace mechanism and
686 has a much larger code and data size.
689 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
690 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
692 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
693 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
696 2) iASL Compiler/Disassembler and Tools:
698 Disassembler: Fixed a regression for disassembly of Resource Template.
699 Detection of templates in the AML stream missed some types of templates.
701 iASL: Fixed a problem where an Access Size error was returned for the PCC
702 address space when the AccessSize of the GAS register is greater than a
705 iASL: Implemented several grammar changes for the operators below. These
706 changes are slated for the next version of the ACPI specification:
707 RefOf - Disallow method invocation as an operand
708 CondRefOf - Disallow method invocation as an operand
709 DerefOf - Disallow operands that use the result from operators
711 do not return a reference (Changed TermArg to
714 iASL: Control method invocations are now allowed for Target operands, as
715 per the ACPI specification. Removed error for using a control method
716 invocation as a Target operand.
718 Disassembler: Improved detection of Resource Templates, Unicode, and
719 Strings within Buffer objects. These subtypes do not contain a specific
720 opcode to indicate the originating ASL code, and they must be detected by
721 other means within the disassembler.
723 iASL: Implemented an optimization improvement for 32-bit ACPI tables
724 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
725 only after 64-bit to 32-bit truncation. A truncation warning message is
726 still emitted, however.
728 AcpiXtract: Implemented handling for both types of line terminators (LF
729 or CR/LF) so that it can accept AcpiDump output files from any system.
732 AcpiBin: Added two new options for comparing AML files:
733 -a: compare and display ALL mismatches
734 -o: start compare at this offset into the second file
736 ----------------------------------------
737 30 September 2016. Summary of changes for version 20160930:
740 1) ACPICA kernel-resident subsystem:
742 Fixed a regression in the internal AcpiTbFindTable function where a non
743 AE_OK exception could inadvertently be returned even if the function did
744 not fail. This problem affects the following operators:
748 Fixed a regression in the LoadTable operator where a load to any
749 namespace location other than the root no longer worked properly.
751 Increased the maximum loop count value that will result in the
752 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
753 prevent infinite loops within the AML interpreter and thus the host OS
754 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
757 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
758 acpixf.h file. This allows hosts to easily configure the maximum loop
761 Removed an illegal character in the strtoul64.c file. This character
762 caused errors with some C compilers.
764 Example Code and Data Size: These are the sizes for the OS-independent
765 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
766 debug version of the code includes the debug output trace mechanism and
767 has a much larger code and data size.
770 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
771 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
773 Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
774 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
777 2) iASL Compiler/Disassembler and Tools:
779 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
780 the simpler ASL ElseIf keyword. During the conversion, a trailing If
781 block could be lost and missing from the disassembled output.
783 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
784 the missing rule caused a parse error when using the Index operator as an
785 operand to ObjectType. This construct now compiles properly. Example:
788 iASL: Correctly handle unresolved symbols in the hardware map file (-lm
789 option). Previously, unresolved symbols could cause a protection fault.
790 Such symbols are now marked as unresolved in the map file.
792 iASL: Implemented support to allow control method invocations as an
793 operand to the ASL DeRefOf operator. Example:
794 DeRefOf(MTH1(Local0))
796 Disassembler: Improved support for the ToPLD ASL macro. Detection of a
797 possible _PLD buffer now includes examination of both the normal buffer
798 length (16 or 20) as well as the surrounding AML package length.
800 Disassembler: Fixed a problem with the decoding of complex expressions
801 within the Divide operator for ASL+. For the case where both the quotient
802 and remainder targets are specified, the entire statement cannot be
803 disassembled. Previously, the output incorrectly contained a mix of ASL-
804 and ASL+ operators. This mixed statement causes a syntax error when
806 Divide (Add (INT1, 6), 128, RSLT, QUOT) // was incorrectly
808 Divide (INT1 + 6, 128, RSLT, QUOT)
810 iASL/Tools: Added support to process AML and non-AML ACPI tables
811 consistently. For the disassembler and AcpiExec, allow all types of ACPI
812 tables (AML and data tables). For the iASL -e option, allow only AML
815 ----------------------------------------
816 31 August 2016. Summary of changes for version 20160831:
819 1) ACPICA kernel-resident subsystem:
821 Improve support for the so-called "module-level code", which is defined
822 to be math, logical and control AML opcodes that appear outside of any
823 control method. This change improves the support by adding more opcodes
824 that can be executed in the manner. Some other issues have been solved,
825 and the ASL grammar changes to support such code under all scope
826 operators (Device, etc.) are complete. Lv Zheng.
828 UEFI support: these OSL functions have been implemented. This is an
829 additional step toward supporting the AcpiExec utility natively (with
830 full hardware access) under UEFI. Marcelo Ferreira.
831 AcpiOsReadPciConfiguration
832 AcpiOsWritePciConfiguration
834 Fixed a possible mutex error during control method auto-serialization. Lv
837 Updated support for the Generic Address Structure by fully implementing
838 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
841 Updated the return value for the internal _OSI method. Instead of
842 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
843 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
844 implementations, and will be reflected and clarified in the next version
845 of the ACPI specification.
847 Implemented two new table events that can be passed to an ACPICA table
848 handler. These events are used to indicate a table installation or
849 uninstallation. These events are used in addition to existed table load
850 and unload events. Lv Zheng.
852 Implemented a cleanup for all internal string-to-integer conversions.
853 Consolidate multiple versions of this functionality and limit possible
854 bases to either 10 or 16 to simplify the code. Adds a new file,
857 Cleanup the inclusion order of the various compiler-specific headers.
858 This simplifies build configuration management. The compiler-specific
859 headers are now split out from the host-specific headers. Lv Zheng.
861 Example Code and Data Size: These are the sizes for the OS-independent
862 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
863 debug version of the code includes the debug output trace mechanism and
864 has a much larger code and data size.
867 Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
868 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
871 2) iASL Compiler/Disassembler and Tools:
873 iASL/AcpiExec: Added a command line option to display the build date/time
874 of the tool (-vd). This can be useful to verify that the correct version
875 of the tools are being used.
877 AML Debugger: Implemented a new subcommand ("execute predef") to execute
878 all predefined control methods and names within the current namespace.
879 This can be useful for debugging problems with ACPI tables and the ACPI
882 ----------------------------------------
883 29 July 2016. Summary of changes for version 20160729:
886 1) ACPICA kernel-resident subsystem:
888 Implemented basic UEFI support for the various ACPICA tools. This
890 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
891 2) Support to obtain the ACPI tables on UEFI.
892 3) Local implementation of required C library functions not available on
894 4) A front-end (main) function for the tools for UEFI-related
897 The initial deployment of this support is the AcpiDump utility executing
898 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
899 Current environments supported are Linux/Unix. MSVC generation is not
900 supported at this time. See the generate/efi/README file for build
901 instructions. Lv Zheng.
903 Future plans include porting the AcpiExec utility to execute natively on
904 the platform with I/O and memory access. This will allow viewing/dump of
905 the platform namespace and native execution of ACPI control methods that
906 access the actual hardware. To fully implement this support, the OSL
907 functions below must be implemented with UEFI interfaces. Any community
908 help in the implementation of these functions would be appreciated:
913 AcpiOsReadPciConfiguration
914 AcpiOsWritePciConfiguration
916 Restructured and standardized the C library configuration for ACPICA,
917 resulting in the various configuration options below. This includes a
918 global restructuring of the compiler-dependent and platform-dependent
919 include files. These changes may affect the existing platform-dependent
920 configuration files on some hosts. Lv Zheng.
922 The current C library configuration options appear below. For any issues,
923 it may be helpful to examine the existing compiler-dependent and
924 platform-dependent files as examples. Lv Zheng.
927 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
929 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
930 2) Unix/Windows/BSD applications:
931 ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
933 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
934 3) UEFI applications:
935 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
937 ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
938 4) UEFI applications (EDK2/StdLib):
939 ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
940 ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
943 AML interpreter: "module-level code" support. Allows for execution of so-
944 called "executable" AML code (math/logical operations, etc.) outside of
945 control methods not just at the module level (top level) but also within
946 any scope declared outside of a control method - Scope{}, Device{},
947 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
949 Simplified the configuration of the "maximum AML loops" global option by
950 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
954 Example Code and Data Size: These are the sizes for the OS-independent
955 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
956 debug version of the code includes the debug output trace mechanism and
957 has a much larger code and data size.
960 Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
961 Debug Version: 199.0K Code, 81.8K Data, 280.8K Total
964 2) iASL Compiler/Disassembler and Tools:
966 iASL: Add full support for the RASF ACPI table (RAS Features Table).
967 Includes disassembler, data table compiler, and header support.
969 iASL Expand "module-level code" support. Allows for
970 compilation/disassembly of so-called "executable" AML code (math/logical
971 operations, etc.) outside of control methods not just at the module level
972 (top level) but also within any scope declared outside of a control
973 method - Scope{}, Device{}, Processor{}, PowerResource{}, and
976 AcpiDump: Added support for dumping all SSDTs on newer versions of
977 Windows. These tables are now easily available -- SSDTs are not available
978 through the registry on older versions.
980 ----------------------------------------
981 27 May 2016. Summary of changes for version 20160527:
984 1) ACPICA kernel-resident subsystem:
986 Temporarily reverted the new arbitrary bit length/alignment support in
987 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
988 a number of regressions with the new code that need to be fully resolved
989 and tested before this support can be finally integrated into ACPICA.
990 Apologies for any inconveniences these issues may have caused.
992 The ACPI message macros are not configurable (ACPI_MSG_ERROR,
993 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
994 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
996 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
997 option. Adds a new return macro, return_STR. Junk-uk Kim.
999 Example Code and Data Size: These are the sizes for the OS-independent
1000 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1001 debug version of the code includes the debug output trace mechanism and
1002 has a much larger code and data size.
1005 Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1006 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
1008 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1009 Debug Version: 200.9K Code, 82.2K Data, 283.1K Total
1011 ----------------------------------------
1012 22 April 2016. Summary of changes for version 20160422:
1014 1) ACPICA kernel-resident subsystem:
1016 Fixed a regression in the GAS (generic address structure) arbitrary bit
1017 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
1018 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1020 ACPI 6.0: Added support for new/renamed resource macros. One new argument
1021 was added to each of these macros, and the original name has been
1022 deprecated. The AML disassembler will always disassemble to the new
1023 names. Support for the new macros was added to iASL, disassembler,
1024 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1026 I2cSerialBus -> I2cSerialBusV2
1027 SpiSerialBus -> SpiSerialBusV2
1028 UartSerialBus -> UartSerialBusV2
1030 ACPI 6.0: Added support for a new integer field that was appended to the
1031 package object returned by the _BIX method. This adds iASL compile-time
1032 and AML runtime error checking. ACPICA BZ 1273.
1034 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
1035 Subspace Type2" (Headers, Disassembler, and data table compiler).
1037 Example Code and Data Size: These are the sizes for the OS-independent
1038 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1039 debug version of the code includes the debug output trace mechanism and
1040 has a much larger code and data size.
1043 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1044 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
1046 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1047 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
1050 2) iASL Compiler/Disassembler and Tools:
1052 iASL: Implemented an ASL grammar extension to allow/enable executable
1053 "module-level code" to be created and executed under the various
1054 operators that create new scopes. This type of AML code is already
1055 supported in all known AML interpreters, and the grammar change will
1056 appear in the next version of the ACPI specification. Simplifies the
1057 conditional runtime creation of named objects under these object types:
1065 iASL: Implemented a new ASL extension, a "For" loop macro to add greater
1066 ease-of-use to the ASL language. The syntax is similar to the
1067 corresponding C operator, and is implemented with the existing AML While
1068 opcode -- thus requiring no changes to existing AML interpreters.
1070 For (Initialize, Predicate, Update) {TermList}
1075 Initializer // Nothing | TermArg => ComputationalData
1076 Predicate // Nothing | TermArg => ComputationalData
1077 Update // Nothing | TermArg => ComputationalData
1081 iASL: The _HID/_ADR detection and validation has been enhanced to search
1082 under conditionals in order to allow these objects to be conditionally
1085 iASL: Fixed several issues with the constant folding feature. The
1086 improvement allows better detection and resolution of statements that can
1087 be folded at compile time. ACPICA BZ 1266.
1089 iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
1090 conversion to the ASL ElseIf operator where incorrect ASL code could be
1093 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
1094 sometimes an extra (and extraneous) set of parentheses were emitted for
1095 some combinations of operators. Although this did not cause any problems
1096 with recompilation of the disassembled code, it made the code more
1097 difficult to read. David Box. ACPICA BZ 1231.
1099 iASL: Changed to ignore the unreferenced detection for predefined names
1100 of resource descriptor elements, when the resource descriptor is
1101 created/defined within a control method.
1103 iASL: Disassembler: Fix a possible fault with externally declared Buffer
1106 ----------------------------------------
1107 18 March 2016. Summary of changes for version 20160318:
1109 1) ACPICA kernel-resident subsystem:
1111 Added support for arbitrary bit lengths and bit offsets for registers
1112 defined by the Generic Address Structure. Previously, only aligned bit
1113 lengths of 8/16/32/64 were supported. This was sufficient for many years,
1114 but recently some machines have been seen that require arbitrary bit-
1115 level support. ACPICA BZ 1240. Lv Zheng.
1117 Fixed an issue where the \_SB._INI method sometimes must be evaluated
1118 before any _REG methods are evaluated. Lv Zheng.
1120 Implemented several changes related to ACPI table support
1121 (Headers/Disassembler/TableCompiler):
1122 NFIT: For ACPI 6.1, updated to add some additional new fields and
1124 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
1126 DMAR: Added new constants per the 10/2014 DMAR spec.
1127 IORT: Added new subtable per the 10/2015 IORT spec.
1128 HEST: For ACPI 6.1, added new constants and new subtable.
1129 DBG2: Added new constants per the 12/2015 DBG2 spec.
1130 FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
1132 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1134 Updated header support for the DMAR table to match the current version of
1137 Added extensions to the ASL Concatenate operator to allow any ACPI object
1138 to be passed as an operand. Any object other than Integer/String/Buffer
1139 simply returns a string containing the object type. This extends the
1140 usefulness of the Printf macros. Previously, Concatenate would abort the
1141 control method if a non-data object was encountered.
1143 ACPICA source code: Deployed the C "const" keyword across the source code
1144 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1146 Example Code and Data Size: These are the sizes for the OS-independent
1147 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1148 debug version of the code includes the debug output trace mechanism and
1149 has a much larger code and data size.
1152 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1153 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
1155 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1156 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
1159 2) iASL Compiler/Disassembler and Tools:
1161 iASL/Disassembler: Improved the heuristic used to determine the number of
1162 arguments for an externally defined control method (a method in another
1163 table). Although this is an improvement, there is no deterministic way to
1164 "guess" the number of method arguments. Only the ACPI 6.0 External opcode
1165 will completely solve this problem as it is deployed (automatically) in
1168 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
1169 statements that could cause errors when the disassembled file is
1170 compiled. ACPICA BZ 1243. David Box.
1172 iASL: Fixed a regression caused by the merger of the two versions of the
1173 local strtoul64. Because of a dependency on a global variable, strtoul64
1174 could return an error for integers greater than a 32-bit value. ACPICA BZ
1177 iASL: Fixed a regression where a fault could occur for an ASL Return
1178 statement if it invokes a control method that is not resolved. ACPICA BZ
1181 AcpiXtract: Improved input file validation: detection of binary files and
1182 non-acpidump text files.
1184 ----------------------------------------
1185 12 February 2016. Summary of changes for version 20160212:
1187 1) ACPICA kernel-resident subsystem:
1189 Implemented full support for the ACPI 6.1 specification (released in
1190 January). This version of the specification is available at:
1191 http://www.uefi.org/specifications
1193 Only a relatively small number of changes were required in ACPICA to
1194 support ACPI 6.1, in these areas:
1195 - New predefined names
1197 - A new subtable for HEST
1198 - A few other header changes for new values
1200 Ensure \_SB_._INI is executed before any _REG methods are executed. There
1201 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
1203 Reverted a change made in version 20151218 which enabled method
1204 invocations to be targets of various ASL operators (SuperName and Target
1205 grammar elements). While the new behavior is supported by the ACPI
1206 specification, other AML interpreters do not support this behavior and
1207 never will. The ACPI specification will be updated for ACPI 6.2 to remove
1208 this support. Therefore, the change was reverted to the original ACPICA
1211 ACPICA now supports the GCC 6 compiler.
1213 Current Release: (Note: build changes increased sizes)
1214 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1215 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
1217 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1218 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
1221 2) iASL Compiler/Disassembler and Tools:
1223 Completed full support for the ACPI 6.0 External() AML opcode. The
1224 compiler emits an external AML opcode for each ASL External statement.
1225 This opcode is used by the disassembler to assist with the disassembly of
1226 external control methods by specifying the required number of arguments
1227 for the method. AML interpreters do not use this opcode. To ensure that
1228 interpreters do not even see the opcode, a block of one or more external
1229 opcodes is surrounded by an "If(0)" construct. As this feature becomes
1230 commonly deployed in BIOS code, the ability of disassemblers to correctly
1231 disassemble AML code will be greatly improved. David Box.
1233 iASL: Implemented support for an optional cross-reference output file.
1234 The -lx option will create a the cross-reference file with the suffix
1235 "xrf". Three different types of cross-reference are created in this file:
1236 - List of object references made from within each control method
1237 - Invocation (caller) list for each user-defined control method
1238 - List of references to each non-method object in the namespace
1240 iASL: Method invocations as ASL Target operands are now disallowed and
1241 flagged as errors in preparation for ACPI 6.2 (see the description of the
1244 ----------------------------------------
1245 8 January 2016. Summary of changes for version 20160108:
1247 1) ACPICA kernel-resident subsystem:
1249 Updated all ACPICA copyrights and signons to 2016: Added the 2016
1250 copyright to all source code module headers and utility/tool signons.
1251 This includes the standard Linux dual-license header. This affects
1252 virtually every file in the ACPICA core subsystem, iASL compiler, all
1253 ACPICA utilities, and the ACPICA test suite.
1255 Fixed a regression introduced in version 20151218 concerning the
1256 execution of so-called module-level ASL/AML code. Namespace objects
1257 created under a module-level If() construct were not properly/fully
1258 entered into the namespace and could cause an interpreter fault when
1261 Example Code and Data Size: These are the sizes for the OS-independent
1262 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1263 debug version of the code includes the debug output trace mechanism and
1264 has a much larger code and data size.
1267 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1268 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
1270 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1271 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
1274 2) iASL Compiler/Disassembler and Tools:
1276 Fixed a problem with the compilation of the GpioIo and GpioInt resource
1277 descriptors. The _PIN field name was incorrectly defined to be an array
1278 of 32-bit values, but the _PIN values are in fact 16 bits each. This
1279 would cause incorrect bit width warnings when using Word (16-bit) fields
1280 to access the descriptors.
1283 ----------------------------------------
1284 18 December 2015. Summary of changes for version 20151218:
1286 1) ACPICA kernel-resident subsystem:
1288 Implemented per-AML-table execution of "module-level code" as individual
1289 ACPI tables are loaded into the namespace during ACPICA initialization.
1290 In other words, any module-level code within an AML table is executed
1291 immediately after the table is loaded, instead of batched and executed
1292 after all of the tables have been loaded. This provides compatibility
1293 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
1296 To fully support the feature above, the default operation region handlers
1297 for the SystemMemory, SystemIO, and PCI_Config address spaces are now
1298 installed before any ACPI tables are loaded. This enables module-level
1299 code to access these address spaces during the table load and module-
1300 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
1303 Implemented several changes to the internal _REG support in conjunction
1304 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
1305 utilities for the changes above. Although these tools were changed, host
1306 operating systems that simply use the default handlers for SystemMemory,
1307 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1309 For example, in the code below, DEV1 is conditionally added to the
1310 namespace by the DSDT via module-level code that accesses an operation
1311 region. The SSDT references DEV1 via the Scope operator. DEV1 must be
1312 created immediately after the DSDT is loaded in order for the SSDT to
1313 successfully reference DEV1. Previously, this code would cause an
1314 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
1315 fully supported by ACPICA.
1317 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1319 OperationRegion (OPR1, SystemMemory, 0x400, 32)
1320 Field (OPR1, AnyAcc, NoLock, Preserve)
1331 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1333 External (\DEV1, DeviceObj)
1339 Fixed an AML interpreter problem where control method invocations were
1340 not handled correctly when the invocation was itself a SuperName argument
1341 to another ASL operator. In these cases, the method was not invoked.
1342 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
1347 Decrement, Increment
1350 Signal, Release, Reset
1353 Implemented automatic String-to-ObjectReference conversion support for
1354 packages returned by predefined names (such as _DEP). A common BIOS error
1355 is to add double quotes around an ObjectReference namepath, which turns
1356 the reference into an unexpected string object. This support detects the
1357 problem and corrects it before the package is returned to the caller that
1358 invoked the method. Lv Zheng.
1360 Implemented extensions to the Concatenate operator. Concatenate now
1361 accepts any type of object, it is not restricted to simply
1362 Integer/String/Buffer. For objects other than these 3 basic data types,
1363 the argument is treated as a string containing the name of the object
1364 type. This expands the utility of Concatenate and the Printf/Fprintf
1365 macros. ACPICA BZ 1222.
1367 Cleaned up the output of the ASL Debug object. The timer() value is now
1368 optional and no longer emitted by default. Also, the basic data types of
1369 Integer/String/Buffer are simply emitted as their values, without a data
1370 type string -- since the data type is obvious from the output. ACPICA BZ
1373 Example Code and Data Size: These are the sizes for the OS-independent
1374 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1375 debug version of the code includes the debug output trace mechanism and
1376 has a much larger code and data size.
1379 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1380 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
1382 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1383 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
1386 2) iASL Compiler/Disassembler and Tools:
1388 iASL: Fixed some issues with the ASL Include() operator. This operator
1389 was incorrectly defined in the iASL parser rules, causing a new scope to
1390 be opened for the code within the include file. This could lead to
1391 several issues, including allowing ASL code that is technically illegal
1392 and not supported by AML interpreters. Note, this does not affect the
1393 related #include preprocessor operator. ACPICA BZ 1212.
1395 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
1396 operator is essentially an ASL macro since there is no AML opcode
1397 associated with it. The code emitted by the iASL compiler for ElseIf is
1398 an Else opcode followed immediately by an If opcode. The disassembler
1399 will now emit an ElseIf if it finds an Else immediately followed by an
1400 If. This simplifies the decoded ASL, especially for deeply nested
1401 If..Else and large Switch constructs. Thus, the disassembled code more
1402 closely follows the original source ASL. ACPICA BZ 1211. Example:
1414 ElseIf (Arg0 == 0x02)
1419 AcpiExec: Added support for the new module level code behavior and the
1420 early region installation. This required a small change to the
1421 initialization, since AcpiExec must install its own operation region
1424 AcpiExec: Added support to make the debug object timer optional. Default
1425 is timer disabled. This cleans up the debug object output -- the timer
1426 data is rarely used.
1428 AcpiExec: Multiple ACPI tables are now loaded in the order that they
1429 appear on the command line. This can be important when there are
1430 interdependencies/references between the tables.
1432 iASL/Templates. Add support to generate template files with multiple
1433 SSDTs within a single output file. Also added ommand line support to
1434 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
1438 ----------------------------------------
1439 24 November 2015. Summary of changes for version 20151124:
1441 1) ACPICA kernel-resident subsystem:
1443 Fixed a possible regression for a previous update to FADT handling. The
1444 FADT no longer has a fixed table ID, causing some issues with code that
1445 was hardwired to a specific ID. Lv Zheng.
1447 Fixed a problem where the method auto-serialization could interfere with
1448 the current SyncLevel. This change makes the auto-serialization support
1449 transparent to the SyncLevel support and management.
1451 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
1452 interface is intended for early access to the namespace during the
1453 initial namespace device discovery walk. The _SUB method has been seen to
1454 access operation regions in some cases, causing errors because the
1455 operation regions are not fully initialized.
1457 AML Debugger: Fixed some issues with the terminate/quit/exit commands
1458 that can cause faults. Lv Zheng.
1460 AML Debugger: Add thread ID support so that single-step mode only applies
1461 to the AML Debugger thread. This prevents runtime errors within some
1464 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
1465 methods that are invoked by this interface are optional, removed warnings
1466 emitted for the case where one or more of these methods do not exist.
1467 ACPICA BZ 1208, original change by Prarit Bhargava.
1469 Made a major pass through the entire ACPICA source code base to
1470 standardize formatting that has diverged a bit over time. There are no
1471 functional changes, but this will of course cause quite a few code
1472 differences from the previous ACPICA release.
1474 Example Code and Data Size: These are the sizes for the OS-independent
1475 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1476 debug version of the code includes the debug output trace mechanism and
1477 has a much larger code and data size.
1480 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1481 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
1483 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1484 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
1487 2) iASL Compiler/Disassembler and Tools:
1489 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
1490 definition blocks within a single ASL file and the resulting AML file.
1491 Support for this type of file was also added to the various tools that
1492 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
1493 example code below shows two definition blocks within the same file:
1495 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
1499 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1503 iASL: Enhanced typechecking for the Name() operator. All expressions for
1504 the value of the named object must be reduced/folded to a single constant
1505 at compile time, as per the ACPI specification (the AML definition of
1508 iASL: Fixed some code indentation issues for the -ic and -ia options (C
1509 and assembly headers). Now all emitted code correctly begins in column 1.
1511 iASL: Added an error message for an attempt to open a Scope() on an
1512 object defined in an SSDT. The DSDT is always loaded into the namespace
1513 first, so any attempt to open a Scope on an SSDT object will fail at
1517 ----------------------------------------
1518 30 September 2015. Summary of changes for version 20150930:
1520 1) ACPICA kernel-resident subsystem:
1522 Debugger: Implemented several changes and bug fixes to assist support for
1523 the in-kernel version of the AML debugger. Lv Zheng.
1524 - Fix the "predefined" command for in-kernel debugger.
1525 - Do not enter debug command loop for the help and version commands.
1526 - Disallow "execute" command during execution/single-step of a method.
1528 Interpreter: Updated runtime typechecking for all operators that have
1529 target operands. The operand is resolved and validated that it is legal.
1530 For example, the target cannot be a non-data object such as a Device,
1531 Mutex, ThermalZone, etc., as per the ACPI specification.
1533 Debugger: Fixed the double-mutex user I/O handshake to work when local
1534 deadlock detection is enabled.
1536 Debugger: limited display of method locals and arguments (LocalX and
1537 ArgX) to only those that have actually been initialized. This prevents
1538 lines of extraneous output.
1540 Updated the definition of the NFIT table to correct the bit polarity of
1541 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1543 Example Code and Data Size: These are the sizes for the OS-independent
1544 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1545 debug version of the code includes the debug output trace mechanism and
1546 has a much larger code and data size.
1549 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1550 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
1552 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1553 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
1556 2) iASL Compiler/Disassembler and Tools:
1558 iASL: Improved the compile-time typechecking for operands of many of the
1561 -- Added an option to disable compiler operand/operator typechecking (-
1564 -- For the following operators, the TermArg operands are now validated
1565 when possible to be Integer data objects: BankField, OperationRegion,
1566 DataTableRegion, Buffer, and Package.
1568 -- Store (Source, Target): Both the source and target operands are
1569 resolved and checked that the operands are both legal. For example,
1570 neither operand can be a non-data object such as a Device, Mutex,
1571 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
1572 operator can be used to store an object to any type of target object.
1574 -- Store (Source, Target): If the source is a Package object, the target
1575 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
1576 is a Package, the source must also be a Package.
1578 -- Store (Source, Target): A warning is issued if the source and target
1579 resolve to the identical named object.
1581 -- Store (Source, <method invocation>): An error is generated for the
1582 target method invocation, as this construct is not supported by the AML
1585 -- For all ASL math and logic operators, the target operand must be a
1586 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
1587 includes the function return value also.
1589 -- External declarations are also included in the typechecking where
1590 possible. External objects defined using the UnknownObj keyword cannot be
1591 typechecked, however.
1593 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
1595 - Legacy code: Index(PKG1, 3)
1596 - New ASL+ code: PKG1[3]
1597 This completes the ACPI 6.0 ASL+ support as it was the only operator not
1600 iASL: Fixed the file suffix for the preprocessor output file (.i). Two
1601 spaces were inadvertently appended to the filename, causing file access
1602 and deletion problems on some systems.
1604 ASL Test Suite (ASLTS): Updated the master makefile to generate all
1605 possible compiler output files when building the test suite -- thus
1606 exercising these features of the compiler. These files are automatically
1607 deleted when the test suite exits.
1610 ----------------------------------------
1611 18 August 2015. Summary of changes for version 20150818:
1613 1) ACPICA kernel-resident subsystem:
1615 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
1616 Zheng. ACPICA BZ 1186.
1618 Completed development to ensure that the ACPICA Disassembler and Debugger
1619 are fully standalone components of ACPICA. Removed cross-component
1620 dependences. Lv Zheng.
1622 The max-number-of-AML-loops is now runtime configurable (previously was
1623 compile-time only). This is essentially a loop timeout to force-abort
1624 infinite AML loops. ACPCIA BZ 1192.
1626 Debugger: Cleanup output to dump ACPI names and namepaths without any
1627 trailing underscores. Lv Zheng. ACPICA BZ 1135.
1629 Removed unnecessary conditional compilations across the Debugger and
1630 Disassembler components where entire modules could be left uncompiled.
1632 The aapits test is deprecated and has been removed from the ACPICA git
1633 tree. The test has never been completed and has not been maintained, thus
1634 becoming rather useless. ACPICA BZ 1015, 794.
1636 A batch of small changes to close bugzilla and other reports:
1637 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1638 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1639 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1640 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob
1642 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
1644 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
1646 - Debugger: Split debugger initialization/termination interfaces. Lv
1648 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table
1650 - AcpiExec: Add debug message during _REG method phase during table
1652 - AcpiNames: Fix a regression where some output was missing and no longer
1654 - Debugger: General cleanup and simplification. Lv Zheng.
1655 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
1657 Example Code and Data Size: These are the sizes for the OS-independent
1658 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1659 debug version of the code includes the debug output trace mechanism and
1660 has a much larger code and data size.
1663 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1664 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
1666 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1667 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
1670 2) iASL Compiler/Disassembler and Tools:
1672 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
1673 were not handled properly and caused load errors. Now, properly invoke
1674 and use the ACPICA auto-reallocate mechanism for ACPI table data
1675 structures. ACPICA BZ 1188
1677 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
1680 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
1681 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
1682 executed during initialization. ACPICA BZ 1187, 1189.
1684 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
1685 that corresponds to each disassembled ASL statement, to simplify
1686 debugging. ACPICA BZ 1191.
1688 Debugger: Add option to the "objects" command to display a summary of the
1689 current namespace objects (Object type and count). This is displayed if
1690 the command is entered with no arguments.
1692 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1695 ----------------------------------------
1696 17 July 2015. Summary of changes for version 20150717:
1698 1) ACPICA kernel-resident subsystem:
1700 Improved the partitioning between the Debugger and Disassembler
1701 components. This allows the Debugger to be used standalone within kernel
1702 code without the Disassembler (which is used for single stepping also).
1703 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1705 Debugger: Implemented a new command to trace the execution of control
1706 methods (Trace). This is especially useful for the in-kernel version of
1707 the debugger when file I/O may not be available for method trace output.
1708 See the ACPICA reference for more information. Lv Zheng.
1710 Moved all C library prototypes (used for the local versions of these
1711 functions when requested) to a new header, acclib.h
1712 Cleaned up the use of non-ANSI C library functions. These functions are
1713 implemented locally in ACPICA. Moved all such functions to a common
1714 source file, utnonansi.c
1716 Debugger: Fixed a problem with the "!!" command (get last command
1717 executed) where the debugger could enter an infinite loop and eventually
1720 Removed the use of local macros that were used for some of the standard C
1721 library functions to automatically cast input parameters. This mostly
1722 affected the is* functions where the input parameter is defined to be an
1723 int. This required a few modifications to the main ACPICA source code to
1724 provide casting for these functions and eliminate possible compiler
1725 warnings for these parameters.
1727 Across the source code, added additional status/error checking to resolve
1728 issues discovered by static source code analysis tools such as Coverity.
1730 Example Code and Data Size: These are the sizes for the OS-independent
1731 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1732 debug version of the code includes the debug output trace mechanism and
1733 has a much larger code and data size.
1736 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1737 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
1739 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1740 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
1743 2) iASL Compiler/Disassembler and Tools:
1745 iASL: Fixed a regression where the device map file feature no longer
1746 worked properly when used in conjunction with the disassembler. It only
1747 worked properly with the compiler itself.
1749 iASL: Implemented a new warning for method LocalX variables that are set
1750 but never used (similar to a C compiler such as gcc). This also applies
1751 to ArgX variables that are not defined by the parent method, and are
1752 instead (legally) used as local variables.
1754 iASL/Preprocessor: Finished the pass-through of line numbers from the
1755 preprocessor to the compiler. This ensures that compiler errors/warnings
1756 have the correct original line numbers and filenames, regardless of any
1759 iASL/Preprocessor: Fixed a couple of issues with comment handling and the
1760 pass-through of comments to the preprocessor output file (which becomes
1761 the compiler input file). Also fixed a problem with // comments that
1762 appear after a math expression.
1764 iASL: Added support for the TCPA server table to the table compiler and
1765 template generator. (The client table was already previously supported)
1767 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
1768 identify the iASL compiler.
1770 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
1771 multiple times. The new names are ACPI_SIGN_NEGATIVE and
1774 AcpiHelp: Update to expand help messages for the iASL preprocessor
1778 ----------------------------------------
1779 19 June 2015. Summary of changes for version 20150619:
1781 Two regressions in version 20150616 have been addressed:
1783 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
1784 etc.) This update changes ACPICA to only use the standard headers for
1785 functions, or the prototypes for the local versions of the C library
1786 functions. Across the source code, this required some additional casts
1787 for some Clib invocations for portability. Moved all local prototypes to
1788 a new file, acclib.h
1790 Fixes several problems with recent changes to the handling of the FACS
1791 table that could cause some systems not to boot.
1794 ----------------------------------------
1795 16 June 2015. Summary of changes for version 20150616:
1798 1) ACPICA kernel-resident subsystem:
1800 Across the entire ACPICA source code base, the various macros for the C
1801 library functions (such as ACPI_STRLEN, etc.) have been removed and
1802 replaced by the standard C library names (strlen, etc.) The original
1803 purpose for these macros is no longer applicable. This simplification
1804 reduces the number of macros used in the ACPICA source code
1805 significantly, improving readability and maintainability.
1807 Implemented support for a new ACPI table, the OSDT. This table, the
1808 "override" SDT, can be loaded directly by the host OS at boot time. It
1809 enables the replacement of existing namespace objects that were installed
1810 via the DSDT and/or SSDTs. The primary purpose for this is to replace
1811 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
1812 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
1815 Added support for systems with (improperly) two FACS tables -- a "32-bit"
1816 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
1817 X field). This change will support both automatically. There continues to
1818 be systems found with this issue. This support requires a change to the
1819 AcpiSetFirmwareWakingVector interface. Also, a public global variable has
1820 been added to allow the host to select which FACS is desired
1821 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
1824 Added a new feature to allow for systems that do not contain an FACS.
1825 Although this is already supported on hardware-reduced platforms, the
1826 feature has been extended for all platforms. The reasoning is that we do
1827 not want to abort the entire ACPICA initialization just because the
1828 system is seriously buggy and has no FACS.
1830 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
1831 not correctly transcribed from the ACPI specification in ACPICA version
1834 Implemented support for the _CLS object in the AcpiGetObjectInfo external
1837 Updated the definitions of the TCPA and TPM2 ACPI tables to the more
1838 recent TCG ACPI Specification, December 14, 2014. Table disassembler and
1839 compiler also updated. Note: The TCPA "server" table is not supported by
1840 the disassembler/table-compiler at this time.
1842 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1844 Example Code and Data Size: These are the sizes for the OS-independent
1845 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1846 debug version of the code includes the debug output trace mechanism and
1847 has a much larger code and data size.
1850 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1851 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
1853 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
1854 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
1857 2) iASL Compiler/Disassembler and Tools:
1859 Disassembler: Fixed a problem with the new symbolic operator disassembler
1860 where incorrect ASL code could be emitted in some cases for the "non-
1861 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
1862 ShiftRight. The actual problem cases seem to be rather unusual in common
1863 ASL code, however. David Box.
1865 Modified the linux version of acpidump to obtain ACPI tables from not
1866 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
1869 iASL: Fixed a problem where the user preprocessor output file (.i)
1870 contained extra data that was not expected. The compiler was using this
1871 file as a temporary file and passed through #line directives in order to
1872 keep compiler error messages in sync with the input file and line number
1873 across multiple include files. The (.i) is no longer a temporary file as
1874 the compiler uses a new, different file for the original purpose.
1876 iASL: Fixed a problem where comments within the original ASL source code
1877 file were not passed through to the preprocessor output file, nor any
1880 iASL: Fixed some issues for the handling of the "#include" preprocessor
1881 directive and the similar (but not the same) "Include" ASL operator.
1883 iASL: Add support for the new OSDT in both the disassembler and compiler.
1885 iASL: Fixed a problem with the constant folding support where a Buffer
1886 object could be incorrectly generated (incorrectly formed) during a
1887 conversion to a Store() operator.
1889 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
1890 description text for the _REV predefined name. _REV now permanently
1891 returns 2, as per the ACPI 6.0 specification.
1893 Debugger: Enhanced the output of the Debug ASL object for references
1894 produced by the Index operator. For Buffers and strings, only output the
1895 actual byte pointed to by the index. For packages, only print the single
1896 package element decoded by the index. Previously, the entire
1897 buffer/string/package was emitted.
1899 iASL/Table-compiler: Fixed a regression where the "generic" data types
1900 were no longer recognized, causing errors.
1903 ----------------------------------------
1904 15 May 2015. Summary of changes for version 20150515:
1906 This release implements most of ACPI 6.0 as described below.
1908 1) ACPICA kernel-resident subsystem:
1910 Implemented runtime argument checking and return value checking for all
1911 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
1912 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1914 Example Code and Data Size: These are the sizes for the OS-independent
1915 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1916 debug version of the code includes the debug output trace mechanism and
1917 has a much larger code and data size.
1920 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
1921 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
1923 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
1924 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
1927 2) iASL Compiler/Disassembler and Tools:
1929 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
1930 names (argument count validation and return value typechecking.)
1932 iASL disassembler and table compiler: implemented support for all new
1933 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
1935 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
1938 iASL preprocessor: Added a new directive to enable inclusion of binary
1939 blobs into ASL code. The new directive is #includebuffer. It takes a
1940 binary file as input and emits a named ascii buffer object into the ASL
1943 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1945 AcpiHelp: Added a new option, -d, to display all iASL preprocessor
1948 AcpiHelp: Added a new option, -t, to display all known/supported ACPI
1952 ----------------------------------------
1953 10 April 2015. Summary of changes for version 20150410:
1955 Reverted a change introduced in version 20150408 that caused
1956 a regression in the disassembler where incorrect operator
1957 symbols could be emitted.
1960 ----------------------------------------
1961 08 April 2015. Summary of changes for version 20150408:
1964 1) ACPICA kernel-resident subsystem:
1966 Permanently set the return value for the _REV predefined name. It now
1967 returns 2 (was 5). This matches other ACPI implementations. _REV will be
1968 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
1969 for ACPI 2.0 and later. It should never be used to differentiate or
1970 identify operating systems.
1972 Added the "Windows 2015" string to the _OSI support. ACPICA will now
1973 return TRUE to a query with this string.
1975 Fixed several issues with the local version of the printf function.
1977 Added the C99 compiler option (-std=c99) to the Unix makefiles.
1980 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
1981 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
1983 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1984 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1987 2) iASL Compiler/Disassembler and Tools:
1989 iASL: Implemented an enhancement to the constant folding feature to
1990 transform the parse tree to a simple Store operation whenever possible:
1991 Add (2, 3, X) ==> is converted to: Store (5, X)
1992 X = 2 + 3 ==> is converted to: Store (5, X)
1994 Updated support for the SLIC table (Software Licensing Description Table)
1995 in both the Data Table compiler and the disassembler. The SLIC table
1996 support now conforms to "Microsoft Software Licensing Tables (SLIC and
1997 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
1998 following the ACPI header is now defined to be "Proprietary Data", and as
1999 such, can only be entered or displayed as a hex data block.
2001 Implemented full support for the MSDM table as described in the document
2002 above. Note: The format of MSDM is similar to SLIC. Any MSDM data
2003 following the ACPI header is defined to be "Proprietary Data", and can
2004 only be entered or displayed as a hex data block.
2006 Implemented the -Pn option for the iASL Table Compiler (was only
2007 implemented for the ASL compiler). This option disables the iASL
2010 Disassembler: For disassembly of Data Tables, added a comment field
2011 around the Ascii equivalent data that is emitted as part of the "Raw
2012 Table Data" block. This prevents the iASL Preprocessor from possible
2013 confusion if/when the table is compiled.
2015 Disassembler: Added an option (-df) to force the disassembler to assume
2016 that the table being disassembled contains valid AML. This feature is
2017 useful for disassembling AML files that contain ACPI signatures other
2018 than DSDT or SSDT (such as OEMx or other signatures).
2020 Changes for the EFI version of the tools:
2021 1) Fixed a build error/issue
2022 2) Fixed a cast warning
2024 iASL: Fixed a path issue with the __FILE__ operator by making the
2025 directory prefix optional within the internal SplitInputFilename
2028 Debugger: Removed some unused global variables.
2030 Tests: Updated the makefile for proper generation of the AAPITS suite.
2033 ----------------------------------------
2034 04 February 2015. Summary of changes for version 20150204:
2036 ACPICA kernel-resident subsystem:
2038 Updated all ACPICA copyrights and signons to 2014. Added the 2014
2039 copyright to all module headers and signons, including the standard Linux
2040 header. This affects virtually every file in the ACPICA core subsystem,
2041 iASL compiler, all ACPICA utilities, and the test suites.
2043 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2044 A raw gpe handling mechanism was created to allow better handling of GPE
2045 storms that aren't easily managed by the normal handler. The raw handler
2046 allows disabling/renabling of the the GPE so that interrupt storms can be
2047 avoided in cases where events cannot be timely serviced. In this
2048 scenario, handlers should use the AcpiSetGpe() API to disable/enable the
2049 GPE. This API will leave the reference counts undisturbed, thereby
2050 preventing unintentional clearing of the GPE when the intent in only to
2051 temporarily disable it. Raw handlers allow enabling and disabling of a
2052 GPE by removing GPE register locking. As such, raw handlers much provide
2053 their own locks while using GPE API's to protect access to GPE data
2057 Events: Always modify GPE registers under the GPE lock.
2058 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2059 values. Reported as bug by joe.liu@apple.com.
2061 Unix makefiles: Separate option to disable optimizations and
2062 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
2063 NOOPT disable option and creates a separate flag (NOFORTIFY) for this
2064 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
2065 errors when building ACPICA. This allows disabling the option without
2066 also having to disable optimazations.
2070 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2071 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
2074 --------------------------------------
2075 07 November 2014. Summary of changes for version 20141107:
2077 This release is available at https://acpica.org/downloads
2079 This release introduces and implements language extensions to ASL that
2080 provide support for symbolic ("C-style") operators and expressions. These
2081 language extensions are known collectively as ASL+.
2084 1) iASL Compiler/Disassembler and Tools:
2086 Disassembler: Fixed a problem with disassembly of the UartSerialBus
2087 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
2090 Disassembler: Fixed the Unicode macro support to add escape sequences.
2091 All non-printable ASCII values are emitted as escape sequences, as well
2092 as the standard escapes for quote and backslash. Ensures that the
2093 disassembled macro can be correctly recompiled.
2095 iASL: Added Printf/Fprintf macros for formatted output. These macros are
2096 translated to existing AML Concatenate and Store operations. Printf
2097 writes to the ASL Debug object. Fprintf allows the specification of an
2098 ASL name as the target. Only a single format specifier is required, %o,
2099 since the AML interpreter dynamically converts objects to the required
2102 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
2103 (Concatenate (Concatenate (Concatenate ("", Arg0),
2104 ": Unexpected value for "), Arg1), ", "), Arg2),
2105 " at line "), Arg3), Debug)
2107 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
2108 Arg0, Arg1, Arg2, Arg3)
2110 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
2111 ("", Arg1), ": "), Arg0), " Successful"), STR1)
2113 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2115 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
2116 ASL parse tree before the AML code is generated. This allows blocks of
2117 ASL code to be removed in order to help locate and identify problem
2118 devices and/or code. David E. Box.
2120 AcpiExec: Added support (-fi) for an optional namespace object
2121 initialization file. This file specifies initial values for namespace
2122 objects as necessary for debugging and testing different ASL code paths
2123 that may be taken as a result of BIOS options.
2126 2) Overview of symbolic operator support for ASL (ASL+)
2127 -------------------------------------------------------
2129 As an extension to the ASL language, iASL implements support for symbolic
2130 (C-style) operators for math and logical expressions. This can greatly
2131 simplify ASL code as well as improve both readability and
2132 maintainability. These language extensions can exist concurrently with
2133 all legacy ASL code and expressions.
2135 The symbolic extensions are 100% compatible with existing AML
2136 interpreters, since no new AML opcodes are created. To implement the
2137 extensions, the iASL compiler transforms the symbolic expressions into
2138 the legacy ASL/AML equivalents at compile time.
2140 Full symbolic expressions are supported, along with the standard C
2141 precedence and associativity rules.
2143 Full disassembler support for the symbolic expressions is provided, and
2144 creates an automatic migration path for existing ASL code to ASL+ code
2145 via the disassembly process. By default, the disassembler now emits ASL+
2146 code with symbolic expressions. An option (-dl) is provided to force the
2147 disassembler to emit legacy ASL code if desired.
2149 Below is the complete list of the currently supported symbolic operators
2150 with examples. See the iASL User Guide for additional information.
2153 ASL+ Syntax Legacy ASL Equivalent
2154 ----------- ---------------------
2158 Z = X + Y Add (X, Y, Z)
2159 Z = X - Y Subtract (X, Y, Z)
2160 Z = X * Y Multiply (X, Y, Z)
2161 Z = X / Y Divide (X, Y, , Z)
2162 Z = X % Y Mod (X, Y, Z)
2163 Z = X << Y ShiftLeft (X, Y, Z)
2164 Z = X >> Y ShiftRight (X, Y, Z)
2165 Z = X & Y And (X, Y, Z)
2166 Z = X | Y Or (X, Y, Z)
2167 Z = X ^ Y Xor (X, Y, Z)
2172 // Logical operators
2174 (X == Y) LEqual (X, Y)
2175 (X != Y) LNotEqual (X, Y)
2176 (X < Y) LLess (X, Y)
2177 (X > Y) LGreater (X, Y)
2178 (X <= Y) LLessEqual (X, Y)
2179 (X >= Y) LGreaterEqual (X, Y)
2180 (X && Y) LAnd (X, Y)
2184 // Assignment and compound assignment operations
2187 X += Y Add (X, Y, X)
2188 X -= Y Subtract (X, Y, X)
2189 X *= Y Multiply (X, Y, X)
2190 X /= Y Divide (X, Y, , X)
2191 X %= Y Mod (X, Y, X)
2192 X <<= Y ShiftLeft (X, Y, X)
2193 X >>= Y ShiftRight (X, Y, X)
2194 X &= Y And (X, Y, X)
2196 X ^= Y Xor (X, Y, X)
2203 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
2204 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
2206 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
2208 And (MEMB, 0xFFFFFFF0, SRMB)
2209 Store (MEMB, Local2)
2210 Store (PDBM, Local1)
2211 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
2213 Or (PDBM, 0x02, PDBM)
2217 If (((R510 & 0x03FB) == 0x02E0) ||
2218 ((R520 & 0x03FB) == 0x02E0) ||
2219 ((R530 & 0x03FB) == 0x02E0) ||
2220 ((R540 & 0x03FB) == 0x02E0))
2222 SRMB = (MEMB & 0xFFFFFFF0)
2225 PDBM &= 0xFFFFFFFFFFFFFFF9
2231 Store (0x1234, Local1)
2232 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2233 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2234 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2235 Store (Index (PKG1, 0x03), Local6)
2236 Store (Add (Local3, Local2), Debug)
2237 Add (Local1, 0x0F, Local2)
2238 Add (Local1, Multiply (Local2, Local3), Local2)
2239 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2243 Local3 = (((Local1 + TEST) + 0x20) * Local2)
2244 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2245 Local3 = (Local1 + (TEST + (0x20 * Local2)))
2246 Local6 = Index (PKG1, 0x03)
2247 Debug = (Local3 + Local2)
2248 Local2 = (Local1 + 0x0F)
2249 Local2 = (Local1 + (Local2 * Local3))
2250 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2253 ----------------------------------------
2254 26 September 2014. Summary of changes for version 20140926:
2256 1) ACPICA kernel-resident subsystem:
2258 Updated the GPIO operation region handler interface (GeneralPurposeIo).
2259 In order to support GPIO Connection objects with multiple pins, along
2260 with the related Field objects, the following changes to the interface
2261 have been made: The Address is now defined to be the offset in bits of
2262 the field unit from the previous invocation of a Connection. It can be
2263 viewed as a "Pin Number Index" into the connection resource descriptor.
2264 The BitWidth is the exact bit width of the field. It is usually one bit,
2265 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
2266 additional information and examples.
2268 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
2269 corresponding _Lxx/_Exx methods are disabled (they may have been enabled
2270 by the firmware), so that they cannot fire until they are enabled via
2271 AcpiUpdateAllGpes. Rafael J. Wysocki.
2273 Added a new return flag for the Event/GPE status interfaces --
2274 AcpiGetEventStatus and AcpiGetGpeStatus. The new
2275 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
2276 GPE currently has a handler associated with it, and can thus actually
2277 affect the system. Lv Zheng.
2279 Example Code and Data Size: These are the sizes for the OS-independent
2280 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2281 debug version of the code includes the debug output trace mechanism and
2282 has a much larger code and data size.
2285 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
2286 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
2288 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
2289 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
2291 2) iASL Compiler/Disassembler and Tools:
2293 iASL: Fixed a memory allocation/free regression introduced in 20140828
2294 that could cause the compiler to crash. This was introduced inadvertently
2295 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
2298 iASL: Removed two error messages that have been found to create false
2299 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2300 1) Illegal forward reference within a method
2301 2) Illegal reference across two methods
2303 iASL: Implemented a new option (-lm) to create a hardware mapping file
2304 that summarizes all GPIO, I2C, SPI, and UART connections. This option
2305 works for both the compiler and disassembler. See the iASL compiler user
2306 guide for additional information and examples (section 6.4.6).
2308 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
2309 version 2. This corrects the AE_BAD_HEADER exception seen on systems with
2310 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2312 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
2313 unless STDIN is actually a terminal. Assists with batch-mode processing.
2316 Disassembler/AcpiHelp: Added another large group of recognized _HID
2320 ----------------------------------------
2321 28 August 2014. Summary of changes for version 20140828:
2323 1) ACPICA kernel-resident subsystem:
2325 Fixed a problem related to the internal use of the Timer() operator where
2326 a 64-bit divide could cause an attempted link to a double-precision math
2327 library. This divide is not actually necessary, so the code was
2328 restructured to eliminate it. Lv Zheng.
2330 ACPI 5.1: Added support for the runtime validation of the _DSD package
2331 (similar to the iASL support).
2333 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
2334 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2336 Example Code and Data Size: These are the sizes for the OS-independent
2337 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2338 debug version of the code includes the debug output trace mechanism and
2339 has a much larger code and data size.
2342 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
2343 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
2345 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
2346 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
2348 2) iASL Compiler/Disassembler and Tools:
2350 AcpiExec: Fixed a problem on unix systems where the original terminal
2351 state was not always properly restored upon exit. Seen when using the -v
2352 option. ACPICA BZ 1104.
2354 iASL: Fixed a problem with the validation of the ranges/length within the
2355 Memory24 resource descriptor. There was a boundary condition when the
2356 range was equal to the (length -1) caused by the fact that these values
2357 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2359 Disassembler: Fixed a problem with the GpioInt descriptor interrupt
2361 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
2363 now supported properly.
2365 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
2366 in the disassembler, data table compiler, and table template generator.
2368 iASL: Added a requirement for Device() objects that one of either a _HID
2369 or _ADR must exist within the scope of a Device, as per the ACPI
2370 specification. Remove a similar requirement that was incorrectly in place
2371 for the _DSD object.
2373 iASL: Added error detection for illegal named references within control
2374 methods that would cause runtime failures. Now trapped as errors are: 1)
2375 References to objects within a non-parent control method. 2) Forward
2376 references (within a method) -- for control methods, AML interpreters use
2377 a one-pass parse of control methods. ACPICA BZ 1008.
2379 iASL: Added error checking for dependencies related to the _PSx power
2380 methods. ACPICA BZ 1029.
2381 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
2383 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
2386 iASL and table compiler: Cleanup miscellaneous memory leaks by fully
2387 deploying the existing object and string caches and adding new caches for
2390 iASL: Split the huge parser source file into multiple subfiles to improve
2391 manageability. Generation now requires the M4 macro preprocessor, which
2392 is part of the Bison distribution on both unix and windows platforms.
2394 AcpiSrc: Fixed and removed all extraneous warnings generated during
2395 entire ACPICA source code scan and/or conversion.
2398 ----------------------------------------
2400 24 July 2014. Summary of changes for version 20140724:
2402 The ACPI 5.1 specification has been released and is available at:
2403 http://uefi.org/specs/access
2406 0) ACPI 5.1 support in ACPICA:
2408 ACPI 5.1 is fully supported in ACPICA as of this release.
2410 New predefined names. Support includes iASL and runtime ACPICA
2412 _CCA (Cache Coherency Attribute).
2413 _DSD (Device-Specific Data). David Box.
2415 Modifications to existing ACPI tables. Support includes headers, iASL
2416 Data Table compiler, disassembler, and the template generator.
2417 FADT - New fields and flags. Graeme Gregory.
2418 GTDT - One new subtable and new fields. Tomasz Nowicki.
2419 MADT - Two new subtables. Tomasz Nowicki.
2420 PCCT - One new subtable.
2423 New notification type for System Resource Affinity change events.
2426 1) ACPICA kernel-resident subsystem:
2428 Fixed a regression introduced in 20140627 where a fault can happen during
2429 the deletion of Alias AML namespace objects. The problem affected both
2430 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2432 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
2433 simple mechanism to enable wake GPEs that have no associated handler or
2434 control method. Rafael Wysocki.
2436 Updated the AcpiEnableGpe interface to disallow the enable if there is no
2437 handler or control method associated with the particular GPE. This will
2438 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2440 Updated GPE handling and dispatch by disabling the GPE before clearing
2441 the status bit for edge-triggered GPEs. Lv Zheng.
2443 Added Timer() support to the AML Debug object. The current timer value is
2444 now displayed with each invocation of (Store to) the debug object to
2445 enable simple generation of execution times for AML code (method
2446 execution for example.) ACPICA BZ 1093.
2448 Example Code and Data Size: These are the sizes for the OS-independent
2449 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2450 debug version of the code includes the debug output trace mechanism and
2451 has a much larger code and data size.
2454 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
2455 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
2457 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
2458 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
2461 2) iASL Compiler/Disassembler and Tools:
2463 Fixed an issue with the recently added local printf implementation,
2464 concerning width/precision specifiers that could cause incorrect output.
2465 Lv Zheng. ACPICA BZ 1094.
2467 Disassembler: Added support to detect buffers that contain UUIDs and
2468 disassemble them to an invocation of the ToUUID operator. Also emit
2469 commented descriptions of known ACPI-related UUIDs.
2471 AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
2472 -u. Adds three new files.
2474 iASL: Update table compiler and disassembler for DMAR table changes that
2475 were introduced in September 2013. With assistance by David Woodhouse.
2477 ----------------------------------------
2478 27 June 2014. Summary of changes for version 20140627:
2480 1) ACPICA kernel-resident subsystem:
2482 Formatted Output: Implemented local versions of standard formatted output
2483 utilities such as printf, etc. Over time, it has been discovered that
2484 there are in fact many portability issues with printf, and the addition
2485 of this feature will fix/prevent these issues once and for all. Some
2486 known issues are summarized below:
2488 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
2489 for the Linux kernel and is %uI64 for some MSVC versions.
2490 2) Invoking printf consistently in a manner that is portable across both
2491 32-bit and 64-bit platforms is difficult at best in many situations.
2492 3) The output format for pointers varies from system to system (leading
2493 zeros especially), and leads to inconsistent output from ACPICA across
2495 4) Certain platform-specific printf formats may conflict with ACPICA use.
2496 5) If there is no local C library available, ACPICA now has local support
2499 -- To address these printf issues in a complete manner, ACPICA now
2500 directly implements a small subset of printf format specifiers, only
2501 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2503 Implemented support for ACPICA generation within the EFI environment.
2504 Initially, the AcpiDump utility is supported in the UEFI shell
2505 environment. Lv Zheng.
2507 Added a new external interface, AcpiLogError, to improve ACPICA
2508 portability. This allows the host to redirect error messages from the
2509 ACPICA utilities. Lv Zheng.
2511 Added and deployed new OSL file I/O interfaces to improve ACPICA
2519 There are C library implementations of these functions in the new file
2520 service_layers/oslibcfs.c -- however, the functions can be implemented by
2521 the local host in any way necessary. Lv Zheng.
2523 Implemented a mechanism to disable/enable ACPI table checksum validation
2524 at runtime. This can be useful when loading tables very early during OS
2525 initialization when it may not be possible to map the entire table in
2526 order to compute the checksum. Lv Zheng.
2528 Fixed a buffer allocation issue for the Generic Serial Bus support.
2529 Originally, a fixed buffer length was used. This change allows for
2530 variable-length buffers based upon the protocol indicated by the field
2531 access attributes. Reported by Lan Tianyu. Lv Zheng.
2533 Fixed a problem where an object detached from a namespace node was not
2534 properly terminated/cleared and could cause a circular list problem if
2535 reattached. ACPICA BZ 1063. David Box.
2537 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2539 Fixed a possible memory leak in an error return path within the function
2540 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2542 Example Code and Data Size: These are the sizes for the OS-independent
2543 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2544 debug version of the code includes the debug output trace mechanism and
2545 has a much larger code and data size.
2548 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
2549 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
2551 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
2552 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
2555 2) iASL Compiler/Disassembler and Tools:
2557 Disassembler: Add dump of ASCII equivalent text within a comment at the
2558 end of each line of the output for the Buffer() ASL operator.
2560 AcpiDump: Miscellaneous changes:
2561 Fixed repetitive table dump in -n mode.
2562 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
2563 the ACPI 2.0 GUID fails.
2565 iASL: Fixed a problem where the compiler could fault if incorrectly given
2566 an acpidump output file as input. ACPICA BZ 1088. David Box.
2568 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
2569 they are invoked without any arguments.
2571 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
2572 1086. Colin Ian King.
2574 Disassembler: Cleaned up a block of code that extracts a parent Op
2575 object. Added a comment that explains that the parent is guaranteed to be
2576 valid in this case. ACPICA BZ 1069.
2579 ----------------------------------------
2580 24 April 2014. Summary of changes for version 20140424:
2582 1) ACPICA kernel-resident subsystem:
2584 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
2585 Some of these tables are known to contain a trailing NULL entry. Lv
2588 Removed an extraneous error message for the case where there are a large
2589 number of system GPEs (> 124). This was the "32-bit FADT register is too
2590 long to convert to GAS struct" message, which is irrelevant for GPEs
2591 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
2592 (limited capacity) GAS bit length. Also, several changes to ensure proper
2593 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
2596 Implemented and deployed additional configuration support for the public
2597 ACPICA external interfaces. Entire classes of interfaces can now be
2598 easily modified or configured out, replaced by stubbed inline functions
2599 by default. Lv Zheng.
2601 Moved all public ACPICA runtime configuration globals to the public
2602 ACPICA external interface file for convenience. Also, removed some
2603 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2605 Documentation: Added a new section to the ACPICA reference describing the
2606 maximum number of GPEs that can be supported by the FADT-defined GPEs in
2607 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
2610 Example Code and Data Size: These are the sizes for the OS-independent
2611 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2612 debug version of the code includes the debug output trace mechanism and
2613 has a much larger code and data size.
2616 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
2617 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
2619 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
2620 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
2623 2) iASL Compiler/Disassembler and Tools:
2625 iASL and disassembler: Add full support for the LPIT table (Low Power
2626 Idle Table). Includes support in the disassembler, data table compiler,
2627 and template generator.
2630 1) Add option to force the use of the RSDT (over the XSDT).
2631 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
2633 iASL: Add check for predefined packages that are too large. For
2634 predefined names that contain subpackages, check if each subpackage is
2635 too large. (Check for too small already exists.)
2637 Debugger: Updated the GPE command (which simulates a GPE by executing the
2638 GPE code paths in ACPICA). The GPE device is now optional, and defaults
2639 to the GPE 0/1 FADT-defined blocks.
2641 Unix application OSL: Update line-editing support. Add additional error
2642 checking and take care not to reset terminal attributes on exit if they
2643 were never set. This should help guarantee that the terminal is always
2644 left in the previous state on program exit.
2647 ----------------------------------------
2648 25 March 2014. Summary of changes for version 20140325:
2650 1) ACPICA kernel-resident subsystem:
2652 Updated the auto-serialize feature for control methods. This feature
2653 automatically serializes all methods that create named objects in order
2654 to prevent runtime errors. The update adds support to ignore the
2655 currently executing AML SyncLevel when invoking such a method, in order
2656 to prevent disruption of any existing SyncLevel priorities that may exist
2657 in the AML code. Although the use of SyncLevels is relatively rare, this
2658 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
2659 appear on some machines starting with the 20140214 release.
2661 Added a new external interface to allow the host to install ACPI tables
2662 very early, before the namespace is even created. AcpiInstallTable gives
2663 the host additional flexibility for ACPI table management. Tables can be
2664 installed directly by the host as if they had originally appeared in the
2665 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
2666 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
2667 with additional internal restructuring and cleanup. See the ACPICA
2668 Reference for interface details. Lv Zheng.
2670 Added validation of the checksum for all incoming dynamically loaded
2671 tables (via external interfaces or via AML Load/LoadTable operators). Lv
2674 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
2675 and GPE handler removal. Restructured calls to eliminate possible race
2676 conditions. Lv Zheng.
2678 Added a warning for the use/execution of the ASL/AML Unload (table)
2679 operator. This will help detect and identify machines that use this
2680 operator if and when it is ever used. This operator has never been seen
2681 in the field and the usage model and possible side-effects of the drastic
2682 runtime action of a full table removal are unknown.
2684 Reverted the use of #pragma push/pop which was introduced in the 20140214
2685 release. It appears that push and pop are not implemented by enough
2686 compilers to make the use of this feature feasible for ACPICA at this
2687 time. However, these operators may be deployed in a future ACPICA
2690 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
2693 Source code generation:
2694 1) Disabled the use of the "strchr" macro for the gcc-specific
2695 generation. For some versions of gcc, this macro can periodically expose
2696 a compiler bug which in turn causes compile-time error(s).
2697 2) Added support for PPC64 compilation. Colin Ian King.
2699 Example Code and Data Size: These are the sizes for the OS-independent
2700 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2701 debug version of the code includes the debug output trace mechanism and
2702 has a much larger code and data size.
2705 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
2706 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
2708 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
2709 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
2712 2) iASL Compiler/Disassembler and Tools:
2714 Disassembler: Added several new features to improve the readability of
2715 the resulting ASL code. Extra information is emitted within comment
2716 fields in the ASL code:
2717 1) Known _HID/_CID values are decoded to descriptive text.
2718 2) Standard values for the Notify() operator are decoded to descriptive
2720 3) Target operands are expanded to full pathnames (in a comment) when
2723 Disassembler: Miscellaneous updates for extern() handling:
2724 1) Abort compiler if file specified by -fe option does not exist.
2725 2) Silence unnecessary warnings about argument count mismatches.
2726 3) Update warning messages concerning unresolved method externals.
2727 4) Emit "UnknownObj" keyword for externals whose type cannot be
2731 1) Added the -a option to display both the ASL syntax and the AML
2732 encoding for an input ASL operator. This effectively displays all known
2733 information about an ASL operator with one AcpiHelp invocation.
2734 2) Added substring match support (similar to a wildcard) for the -i
2735 (_HID/PNP IDs) option.
2737 iASL/Disassembler: Since this tool does not yet support execution on big-
2738 endian machines, added detection of endianness and an error message if
2739 execution is attempted on big-endian. Support for big-endian within iASL
2740 is a feature that is on the ACPICA to-be-done list.
2743 1) Remove option to extract binary files from an acpidump; this function
2744 is made obsolete by the AcpiXtract utility.
2745 2) General cleanup of open files and allocated buffers.
2748 ----------------------------------------
2749 14 February 2014. Summary of changes for version 20140214:
2751 1) ACPICA kernel-resident subsystem:
2753 Implemented a new mechanism to proactively prevent problems with ill-
2754 behaved reentrant control methods that create named ACPI objects. This
2755 behavior is illegal as per the ACPI specification, but is nonetheless
2756 frequently seen in the field. Previously, this could lead to an
2757 AE_ALREADY_EXISTS exception if the method was actually entered by more
2758 than one thread. This new mechanism detects such methods at table load
2759 time and marks them "serialized" to prevent reentrancy. A new global
2760 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
2761 feature if desired. This mechanism and global option obsoletes and
2762 supersedes the previous AcpiGbl_SerializeAllMethods option.
2764 Added the "Windows 2013" string to the _OSI support. ACPICA will now
2765 respond TRUE to _OSI queries with this string. It is the stated policy of
2766 ACPICA to add new strings to the _OSI support as soon as possible after
2767 they are defined. See the full ACPICA _OSI policy which has been added to
2768 the utilities/utosi.c file.
2770 Hardened/updated the _PRT return value auto-repair code:
2771 1) Do not abort the repair on a single subpackage failure, continue to
2772 check all subpackages.
2773 2) Add check for the minimum subpackage length (4).
2774 3) Properly handle extraneous NULL package elements.
2776 Added support to avoid the possibility of infinite loops when traversing
2777 object linked lists. Never allow an infinite loop, even in the face of
2778 corrupted object lists.
2780 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
2781 pack(pop) directives to ensure that the ACPICA headers are independent of
2782 compiler settings or other host headers.
2784 Example Code and Data Size: These are the sizes for the OS-independent
2785 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2786 debug version of the code includes the debug output trace mechanism and
2787 has a much larger code and data size.
2790 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
2791 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
2793 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
2794 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
2797 2) iASL Compiler/Disassembler and Tools:
2799 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
2800 first reserved field was incorrectly forced to have a value of zero. This
2801 change correctly forces the field to have a value of one. ACPICA BZ 1081.
2803 Debugger: Added missing support for the "Extra" and "Data" subobjects
2804 when displaying object data.
2806 Debugger: Added support to display entire object linked lists when
2807 displaying object data.
2809 iASL: Removed the obsolete -g option to obtain ACPI tables from the
2810 Windows registry. This feature has been superseded by the acpidump
2814 ----------------------------------------
2815 14 January 2014. Summary of changes for version 20140114:
2817 1) ACPICA kernel-resident subsystem:
2819 Updated all ACPICA copyrights and signons to 2014. Added the 2014
2820 copyright to all module headers and signons, including the standard Linux
2821 header. This affects virtually every file in the ACPICA core subsystem,
2822 iASL compiler, all ACPICA utilities, and the test suites.
2824 Improved parameter validation for AcpiInstallGpeBlock. Added the
2826 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
2827 2) There is not already a GPE block attached to the device.
2828 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
2831 Correctly support "references" in the ACPI_OBJECT. This change fixes the
2832 support to allow references (namespace nodes) to be passed as arguments
2833 to control methods via the evaluate object interface. This is probably
2834 most useful for testing purposes, however.
2836 Improved support for 32/64 bit physical addresses in printf()-like
2837 output. This change improves the support for physical addresses in printf
2838 debug statements and other output on both 32-bit and 64-bit hosts. It
2839 consistently outputs the appropriate number of bytes for each host. The
2840 %p specifier is unsatisfactory since it does not emit uniform output on
2841 all hosts/clib implementations (on some, leading zeros are not supported,
2842 leading to difficult-to-read output).
2844 Example Code and Data Size: These are the sizes for the OS-independent
2845 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2846 debug version of the code includes the debug output trace mechanism and
2847 has a much larger code and data size.
2850 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
2851 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
2853 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
2854 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
2857 2) iASL Compiler/Disassembler and Tools:
2859 iASL: Fix a possible fault when using the Connection() operator. Fixes a
2860 problem if the parent Field definition for the Connection operator refers
2861 to an operation region that does not exist. ACPICA BZ 1064.
2863 AcpiExec: Load of local test tables is now optional. The utility has the
2864 capability to load some various tables to test features of ACPICA.
2865 However, there are enough of them that the output of the utility became
2866 confusing. With this change, only the required local tables are displayed
2867 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
2868 line specification. This makes the default output simler and easier to
2869 understand. The -el command line option restores the original behavior
2870 for testing purposes.
2872 AcpiExec: Added support for overlapping operation regions. This change
2873 expands the simulation of operation regions by supporting regions that
2874 overlap within the given address space. Supports SystemMemory and
2875 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2877 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
2878 allows AcpiExec to simulate these address spaces, similar to the current
2879 support for SystemMemory and SystemIO.
2881 Debugger: Added new command to read/write/compare all namespace objects.
2882 The command "test objects" will exercise the entire namespace by writing
2883 new values to each data object, and ensuring that the write was
2884 successful. The original value is then restored and verified.
2886 Debugger: Added the "test predefined" command. This change makes this
2887 test public and puts it under the new "test" command. The test executes
2888 each and every predefined name within the current namespace.
2891 ----------------------------------------
2892 18 December 2013. Summary of changes for version 20131218:
2894 Global note: The ACPI 5.0A specification was released this month. There
2895 are no changes needed for ACPICA since this release of ACPI is an
2896 errata/clarification release. The specification is available at
2900 1) ACPICA kernel-resident subsystem:
2902 Added validation of the XSDT root table if it is present. Some older
2903 platforms contain an XSDT that is ill-formed or otherwise invalid (such
2904 as containing some or all entries that are NULL pointers). This change
2905 adds a new function to validate the XSDT before actually using it. If the
2906 XSDT is found to be invalid, ACPICA will now automatically fall back to
2907 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
2908 ACPICA and enhanced by Lv Zheng and Bob Moore.
2910 Added a runtime option to ignore the XSDT and force the use of the RSDT.
2911 This change adds a runtime option that will force ACPICA to use the RSDT
2912 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
2913 requires that an XSDT be used instead of the RSDT, the XSDT has been
2914 found to be corrupt or ill-formed on some machines. Lv Zheng.
2916 Added a runtime option to favor 32-bit FADT register addresses over the
2917 64-bit addresses. This change adds an option to favor 32-bit FADT
2918 addresses when there is a conflict between the 32-bit and 64-bit versions
2919 of the same register. The default behavior is to use the 64-bit version
2920 in accordance with the ACPI specification. This can now be overridden via
2921 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2923 During the change above, the internal "Convert FADT" and "Verify FADT"
2924 functions have been merged to simplify the code, making it easier to
2925 understand and maintain. ACPICA BZ 933.
2927 Improve exception reporting and handling for GPE block installation.
2928 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
2929 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2931 Added helper macros to extract bus/segment numbers from the HEST table.
2932 This change adds two macros to extract the encoded bus and segment
2933 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
2934 Betty Dall <betty.dall@hp.com>
2936 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
2937 by ACPICA. It is not a public macro, so it should have no effect on
2938 existing OSV code. Lv Zheng.
2940 Example Code and Data Size: These are the sizes for the OS-independent
2941 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2942 debug version of the code includes the debug output trace mechanism and
2943 has a much larger code and data size.
2946 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
2947 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
2949 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
2950 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
2953 2) iASL Compiler/Disassembler and Tools:
2955 Disassembler: Improved pathname support for emitted External()
2956 statements. This change adds full pathname support for external names
2957 that have been resolved internally by the inclusion of additional ACPI
2958 tables (via the iASL -e option). Without this change, the disassembler
2959 can emit multiple externals for the same object, or it become confused
2960 when the Scope() operator is used on an external object. Overall, greatly
2961 improves the ability to actually recompile the emitted ASL code when
2962 objects a referenced across multiple ACPI tables. Reported by Michael
2963 Tsirkin (mst@redhat.com).
2965 Tests/ASLTS: Updated functional control suite to execute with no errors.
2966 David Box. Fixed several errors related to the testing of the interpreter
2967 slack mode. Lv Zheng.
2969 iASL: Added support to detect names that are declared within a control
2970 method, but are unused (these are temporary names that are only valid
2971 during the time the method is executing). A remark is issued for these
2972 cases. ACPICA BZ 1022.
2974 iASL: Added full support for the DBG2 table. Adds full disassembler,
2975 table compiler, and template generator support for the DBG2 table (Debug
2978 iASL: Added full support for the PCCT table, update the table definition.
2979 Updates the PCCT table definition in the actbl3.h header and adds table
2980 compiler and template generator support.
2982 iASL: Added an option to emit only error messages (no warnings/remarks).
2983 The -ve option will enable only error messages, warnings and remarks are
2984 suppressed. This can simplify debugging when only the errors are
2985 important, such as when an ACPI table is disassembled and there are many
2986 warnings and remarks -- but only the actual errors are of real interest.
2988 Example ACPICA code (source/tools/examples): Updated the example code so
2989 that it builds to an actual working program, not just example code. Added
2990 ACPI tables and execution of an example control method in the DSDT. Added
2991 makefile support for Unix generation.
2994 ----------------------------------------
2995 15 November 2013. Summary of changes for version 20131115:
2997 This release is available at https://acpica.org/downloads
3000 1) ACPICA kernel-resident subsystem:
3002 Resource Manager: Fixed loop termination for the "get AML length"
3003 function. The loop previously had an error termination on a NULL resource
3004 pointer, which can never happen since the loop simply increments a valid
3005 resource pointer. This fix changes the loop to terminate with an error on
3006 an invalid end-of-buffer condition. The problem can be seen as an
3007 infinite loop by callers to AcpiSetCurrentResources with an invalid or
3008 corrupted resource descriptor, or a resource descriptor that is missing
3009 an END_TAG descriptor. Reported by Dan Carpenter
3010 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3012 Table unload and ACPICA termination: Delete all attached data objects
3013 during namespace node deletion. This fix updates namespace node deletion
3014 to delete the entire list of attached objects (attached via
3015 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
3016 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3018 ACPICA termination: Added support to delete all objects attached to the
3019 root namespace node. This fix deletes any and all objects that have been
3020 attached to the root node via AcpiAttachData. Previously, none of these
3021 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3023 Debug output: Do not emit the function nesting level for the in-kernel
3024 build. The nesting level is really only useful during a single-thread
3025 execution. Therefore, only enable this output for the AcpiExec utility.
3026 Also, only emit the thread ID when executing under AcpiExec (Context
3027 switches are still always detected and a message is emitted). ACPICA BZ
3030 Example Code and Data Size: These are the sizes for the OS-independent
3031 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3032 debug version of the code includes the debug output trace mechanism and
3033 has a much larger code and data size.
3036 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
3037 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
3039 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
3040 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
3043 2) iASL Compiler/Disassembler and Tools:
3045 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
3046 correct portable POSIX header for terminal control functions.
3048 Disassembler: Fixed control method invocation issues related to the use
3049 of the CondRefOf() operator. The problem is seen in the disassembly where
3050 control method invocations may not be disassembled properly if the
3051 control method name has been used previously as an argument to CondRefOf.
3052 The solution is to not attempt to emit an external declaration for the
3053 CondRefOf target (it is not necessary in the first place). This prevents
3054 disassembler object type confusion. ACPICA BZ 988.
3056 Unix Makefiles: Added an option to disable compiler optimizations and the
3057 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
3058 with optimizations (reportedly, gcc 4.4 for example). This change adds a
3059 command line option for make (NOOPT) that disables all compiler
3060 optimizations and the _FORTIFY_SOURCE compiler flag. The default
3061 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
3062 1034. Lv Zheng, Bob Moore.
3064 Tests/ASLTS: Added options to specify individual test cases and modes.
3065 This allows testers running aslts.sh to optionally specify individual
3066 test modes and test cases. Also added an option to disable the forced
3067 generation of the ACPICA tools from source if desired. Lv Zheng.
3069 ----------------------------------------
3070 27 September 2013. Summary of changes for version 20130927:
3072 This release is available at https://acpica.org/downloads
3075 1) ACPICA kernel-resident subsystem:
3077 Fixed a problem with store operations to reference objects. This change
3078 fixes a problem where a Store operation to an ArgX object that contained
3080 reference to a field object did not complete the automatic dereference
3082 then write to the actual field object. Instead, the object type of the
3083 field object was inadvertently changed to match the type of the source
3084 operand. The new behavior will actually write to the field object (buffer
3085 field or field unit), thus matching the correct ACPI-defined behavior.
3087 Implemented support to allow the host to redefine individual OSL
3088 prototypes. This change enables the host to redefine OSL prototypes found
3089 in the acpiosxf.h file. This allows the host to implement OSL interfaces
3090 with a macro or inlined function. Further, it allows the host to add any
3091 additional required modifiers such as __iomem, __init, __exit, etc., as
3092 necessary on a per-interface basis. Enables maximum flexibility for the
3093 OSL interfaces. Lv Zheng.
3095 Hardcoded the access width for the FADT-defined reset register. The ACPI
3096 specification requires the reset register width to be 8 bits. ACPICA now
3097 hardcodes the width to 8 and ignores the FADT width value. This provides
3098 compatibility with other ACPI implementations that have allowed BIOS code
3099 with bad register width values to go unnoticed. Matthew Garett, Bob
3103 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
3105 in the OSL header (acpiosxf). The change modifies the position of this
3106 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
3107 build issues if the OSL defines the implementation of the interface to be
3108 an inline stub function. Lv Zheng.
3110 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
3111 initialization interfaces. This change adds a new macro for the main init
3112 and terminate external interfaces in order to support hosts that require
3113 additional or different processing for these functions. Changed from
3114 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
3117 Cleaned up the memory allocation macros for configurability. In the
3119 case, the ACPI_ALLOCATE and related macros now resolve directly to their
3120 respective AcpiOs* OSL interfaces. Two options:
3121 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
3122 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3123 2) For AcpiExec (and for debugging), the macros can optionally be
3125 to the local ACPICA interfaces that track each allocation (local tracking
3126 is used to immediately detect memory leaks).
3129 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
3130 to predefine this macro to either TRUE or FALSE during the system build.
3132 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3134 Example Code and Data Size: These are the sizes for the OS-independent
3135 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3136 debug version of the code includes the debug output trace mechanism and
3137 has a much larger code and data size.
3140 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
3141 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
3143 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
3144 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
3147 2) iASL Compiler/Disassembler and Tools:
3149 iASL: Implemented wildcard support for the -e option. This simplifies use
3150 when there are many SSDTs that must be included to resolve external
3152 declarations. ACPICA BZ 1041. Example:
3153 iasl -e ssdt*.dat -d dsdt.dat
3155 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
3156 adds a portable module that implements full history and limited line
3157 editing for Unix and Linux systems. It does not use readline() due to
3158 portability issues. Instead it uses the POSIX termio interface to put the
3159 terminal in raw input mode so that the various special keys can be
3161 (such as up/down-arrow for history support and left/right-arrow for line
3162 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3164 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
3165 one or more spaces. This provides compatible with early or different
3166 versions of the AcpiDump utility. ACPICA BZ 1044.
3168 AcpiDump: Do not ignore tables that contain only an ACPI table header.
3169 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
3170 no other data. This change adds support to dump these tables. Any tables
3171 shorter than the length of an ACPI table header remain in error (an error
3172 message is emitted). Reported by Yi Li.
3174 Debugger: Echo actual command along with the "unknown command" message.
3176 ----------------------------------------
3177 23 August 2013. Summary of changes for version 20130823:
3179 1) ACPICA kernel-resident subsystem:
3181 Implemented support for host-installed System Control Interrupt (SCI)
3182 handlers. Certain ACPI functionality requires the host to handle raw
3183 SCIs. For example, the "SCI Doorbell" that is defined for memory power
3184 state support requires the host device driver to handle SCIs to examine
3185 if the doorbell has been activated. Multiple SCI handlers can be
3186 installed to allow for future expansion. New external interfaces are
3187 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
3188 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
3190 Operation region support: Never locally free the handler "context"
3191 pointer. This change removes some dangerous code that attempts to free
3192 the handler context pointer in some (rare) circumstances. The owner of
3193 the handler owns this pointer and the ACPICA code should never touch it.
3194 Although not seen to be an issue in any kernel, it did show up as a
3195 problem (fault) under AcpiExec. Also, set the internal storage field for
3196 the context pointer to zero when the region is deactivated, simply for
3197 sanity. David Box. ACPICA BZ 1039.
3199 AcpiRead: On error, do not modify the return value target location. If an
3200 error happens in the middle of a split 32/32 64-bit I/O operation, do not
3201 modify the target of the return value pointer. Makes the code consistent
3202 with the rest of ACPICA. Bjorn Helgaas.
3204 Example Code and Data Size: These are the sizes for the OS-independent
3205 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3206 debug version of the code includes the debug output trace mechanism and
3207 has a much larger code and data size.
3210 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
3211 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
3213 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
3214 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
3217 2) iASL Compiler/Disassembler and Tools:
3219 AcpiDump: Implemented several new features and fixed some problems:
3220 1) Added support to dump the RSDP, RSDT, and XSDT tables.
3221 2) Added support for multiple table instances (SSDT, UEFI).
3222 3) Added option to dump "customized" (overridden) tables (-c).
3223 4) Fixed a problem where some table filenames were improperly
3225 5) Improved some error messages, removed some unnecessary messages.
3227 iASL: Implemented additional support for disassembly of ACPI tables that
3228 contain invocations of external control methods. The -fe<file> option
3229 allows the import of a file that specifies the external methods along
3230 with the required number of arguments for each -- allowing for the
3231 correct disassembly of the table. This is a workaround for a limitation
3232 of AML code where the disassembler often cannot determine the number of
3233 arguments required for an external control method and generates incorrect
3234 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3236 Debugger: Implemented a new command (paths) that displays the full
3237 pathnames (namepaths) and object types of all objects in the namespace.
3238 This is an alternative to the namespace command.
3240 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
3241 mechanism and any installed handlers.
3243 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
3244 This can occur if there are too many parent prefixes in a namepath (for
3245 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3247 Application OSLs: Set the return value for the PCI read functions. These
3248 functions simply return AE_OK, but should set the return value to zero
3249 also. This change implements this. ACPICA BZ 1038.
3251 Debugger: Prevent possible command line buffer overflow. Increase the
3252 size of a couple of the debugger line buffers, and ensure that overflow
3253 cannot happen. ACPICA BZ 1037.
3255 iASL: Changed to abort immediately on serious errors during the parsing
3256 phase. Due to the nature of ASL, there is no point in attempting to
3257 compile these types of errors, and they typically end up causing a
3258 cascade of hundreds of errors which obscure the original problem.
3260 ----------------------------------------
3261 25 July 2013. Summary of changes for version 20130725:
3263 1) ACPICA kernel-resident subsystem:
3265 Fixed a problem with the DerefOf operator where references to FieldUnits
3266 and BufferFields incorrectly returned the parent object, not the actual
3267 value of the object. After this change, a dereference of a FieldUnit
3268 reference results in a read operation on the field to get the value, and
3269 likewise, the appropriate BufferField value is extracted from the target
3272 Fixed a problem where the _WAK method could cause a fault under these
3273 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
3274 method returned no value. The problem is rarely seen because most kernels
3275 run ACPICA in slack mode.
3277 For the DerefOf operator, a fatal error now results if an attempt is made
3278 to dereference a reference (created by the Index operator) to a NULL
3279 package element. Provides compatibility with other ACPI implementations,
3280 and this behavior will be added to a future version of the ACPI
3283 The ACPI Power Management Timer (defined in the FADT) is now optional.
3284 This provides compatibility with other ACPI implementations and will
3285 appear in the next version of the ACPI specification. If there is no PM
3286 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
3287 zero in the FADT indicates no PM timer.
3289 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
3290 allows the host to globally enable/disable all vendor strings, all
3291 feature strings, or both. Intended to be primarily used for debugging
3292 purposes only. Lv Zheng.
3294 Expose the collected _OSI data to the host via a global variable. This
3295 data tracks the highest level vendor ID that has been invoked by the BIOS
3296 so that the host (and potentially ACPICA itself) can change behaviors
3297 based upon the age of the BIOS.
3299 Example Code and Data Size: These are the sizes for the OS-independent
3300 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3301 debug version of the code includes the debug output trace mechanism and
3302 has a much larger code and data size.
3305 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
3306 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
3308 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
3309 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
3312 2) iASL Compiler/Disassembler and Tools:
3314 iASL: Created the following enhancements for the -so option (create
3316 1)Add offsets for the last nameseg in each namepath for every supported
3318 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3319 3)Add the actual AML opcode for the parent object of every supported
3321 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3323 Disassembler: Emit all unresolved external symbols in a single block.
3324 These are external references to control methods that could not be
3325 resolved, and thus, the disassembler had to make a guess at the number of
3328 iASL: The argument to the -T option (create table template) is now
3329 optional. If not specified, the default table is a DSDT, typically the
3332 ----------------------------------------
3333 26 June 2013. Summary of changes for version 20130626:
3335 1) ACPICA kernel-resident subsystem:
3337 Fixed an issue with runtime repair of the _CST object. Null or invalid
3338 elements were not always removed properly. Lv Zheng.
3340 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
3341 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
3342 the maximum number of GPEs is 1016. Use of multiple GPE block devices
3343 makes the system-wide number of GPEs essentially unlimited.
3345 Example Code and Data Size: These are the sizes for the OS-independent
3346 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3347 debug version of the code includes the debug output trace mechanism and
3348 has a much larger code and data size.
3351 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
3352 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
3354 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
3355 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
3358 2) iASL Compiler/Disassembler and Tools:
3360 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
3361 hosts. Now supports Linux, FreeBSD, and Windows.
3363 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
3364 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3366 iASL/Preprocessor: Implemented full support for nested
3367 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3369 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
3370 max. The original purpose of this constraint was to limit the amount of
3371 debug output. However, the string function in question (UtPrintString) is
3372 now used for the disassembler also, where 256 bytes is insufficient.
3373 Reported by RehabMan@GitHub.
3375 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
3376 tables. ACPICA BZ 999. Lv Zheng.
3378 iASL: Fixed a couple of error exit issues that could result in a "Could
3379 not delete <file>" message during ASL compilation.
3381 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
3382 the actual signatures for these tables are "FACP" and "APIC",
3385 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
3386 tables are allowed to have multiple instances.
3388 ----------------------------------------
3389 17 May 2013. Summary of changes for version 20130517:
3391 1) ACPICA kernel-resident subsystem:
3393 Fixed a regression introduced in version 20130328 for _INI methods. This
3394 change fixes a problem introduced in 20130328 where _INI methods are no
3395 longer executed properly because of a memory block that was not
3396 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
3397 <tomasz.nowicki@linaro.org>.
3399 Fixed a possible problem with the new extended sleep registers in the
3401 5.0 FADT. Do not use these registers (even if populated) unless the HW-
3402 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
3405 Implemented return value repair code for _CST predefined objects: Sort
3407 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3409 Implemented a debug-only option to disable loading of SSDTs from the
3410 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
3411 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
3412 acglobal.h - ACPICA BZ 1005. Lv Zheng.
3414 Fixed some issues in the ACPICA initialization and termination code:
3415 Tomasz Nowicki <tomasz.nowicki@linaro.org>
3416 1) Clear events initialized flag upon event component termination. ACPICA
3418 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
3419 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
3420 4) Clear debug buffer global on termination to prevent possible multiple
3421 delete. ACPICA BZ 1010.
3423 Standardized all switch() blocks across the entire source base. After
3425 years, different formatting for switch() had crept in. This change makes
3426 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3428 Split some files to enhance ACPICA modularity and configurability:
3429 1) Split buffer dump routines into utilities/utbuffer.c
3430 2) Split internal error message routines into utilities/uterror.c
3431 3) Split table print utilities into tables/tbprint.c
3432 4) Split iASL command-line option processing into asloptions.c
3434 Makefile enhancements:
3435 1) Support for all new files above.
3436 2) Abort make on errors from any subcomponent. Chao Guan.
3437 3) Add build support for Apple Mac OS X. Liang Qi.
3439 Example Code and Data Size: These are the sizes for the OS-independent
3440 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3441 debug version of the code includes the debug output trace mechanism and
3442 has a much larger code and data size.
3445 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
3446 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
3448 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
3449 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
3452 2) iASL Compiler/Disassembler and Tools:
3454 New utility: Implemented an easily portable version of the acpidump
3455 utility to extract ACPI tables from the system (or a file) in an ASCII
3457 dump format. The top-level code implements the various command line
3458 options, file I/O, and table dump routines. To port to a new host, only
3459 three functions need to be implemented to get tables -- since this
3460 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
3461 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
3462 1) The Windows version obtains the ACPI tables from the Registry.
3463 2) The Linux version is under development.
3464 3) Other hosts - If an OS-dependent module is submitted, it will be
3465 distributed with ACPICA.
3467 iASL: Fixed a regression for -D preprocessor option (define symbol). A
3468 restructuring/change to the initialization sequence caused this option to
3469 no longer work properly.
3471 iASL: Implemented a mechanism to disable specific warnings and remarks.
3472 Adds a new command line option, "-vw <messageid> as well as "#pragma
3473 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3475 iASL: Fix for too-strict package object validation. The package object
3476 validation for return values from the predefined names is a bit too
3477 strict, it does not allow names references within the package (which will
3478 be resolved at runtime.) These types of references cannot be validated at
3479 compile time. This change ignores named references within package objects
3480 for names that return or define static packages.
3482 Debugger: Fixed the 80-character command line limitation for the History
3483 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3485 iASL: Added control method and package support for the -so option
3486 (generates AML offset table for BIOS support.)
3488 iASL: issue a remark if a non-serialized method creates named objects. If
3489 a thread blocks within the method for any reason, and another thread
3490 enters the method, the method will fail because an attempt will be made
3492 create the same (named) object twice. In this case, issue a remark that
3493 the method should be marked serialized. NOTE: may become a warning later.
3496 ----------------------------------------
3497 18 April 2013. Summary of changes for version 20130418:
3499 1) ACPICA kernel-resident subsystem:
3501 Fixed a possible buffer overrun during some rare but specific field unit
3502 read operations. This overrun can only happen if the DSDT version is 1 --
3503 meaning that all AML integers are 32 bits -- and the field length is
3504 between 33 and 55 bits long. During the read, an internal buffer object
3506 created for the field unit because the field is larger than an integer
3508 bits). However, in this case, the buffer will be incorrectly written
3509 beyond the end because the buffer length is less than the internal
3511 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
3512 long, but a full 8 bytes will be written.
3514 Updated the Embedded Controller "orphan" _REG method support. This refers
3515 to _REG methods under the EC device that have no corresponding operation
3516 region. This is allowed by the ACPI specification. This update removes a
3517 dependency on the existence an ECDT table. It will execute an orphan _REG
3518 method as long as the operation region handler for the EC is installed at
3519 the EC device node and not the namespace root. Rui Zhang (original
3520 update), Bob Moore (update/integrate).
3522 Implemented run-time argument typechecking for all predefined ACPI names
3523 (_STA, _BIF, etc.) This change performs object typechecking on all
3524 incoming arguments for all predefined names executed via
3525 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
3526 passing correct object types as well as the correct number of arguments
3527 (therefore identifying any issues immediately). Also, the ASL/namespace
3528 definition of the predefined name is checked against the ACPI
3529 specification for the proper argument count. Adds one new file,
3532 Changed an exception code for the ASL UnLoad() operator. Changed the
3533 exception code for the case where the input DdbHandle is invalid, from
3534 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3536 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
3537 global makefile. The use of this flag causes compiler errors on earlier
3538 versions of GCC, so it has been removed for compatibility.
3540 Miscellaneous cleanup:
3541 1) Removed some unused/obsolete macros
3542 2) Fixed a possible memory leak in the _OSI support
3543 3) Removed an unused variable in the predefined name support
3544 4) Windows OSL: remove obsolete reference to a memory list field
3546 Example Code and Data Size: These are the sizes for the OS-independent
3547 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3548 debug version of the code includes the debug output trace mechanism and
3549 has a much larger code and data size.
3552 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
3553 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
3555 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
3556 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
3559 2) iASL Compiler/Disassembler and Tools:
3561 AcpiExec: Added installation of a handler for the SystemCMOS address
3562 space. This prevents control method abort if a method accesses this
3565 AcpiExec: Added support for multiple EC devices, and now install EC
3566 operation region handler(s) at the actual EC device instead of the
3567 namespace root. This reflects the typical behavior of host operating
3570 AcpiExec: Updated to ensure that all operation region handlers are
3571 installed before the _REG methods are executed. This prevents a _REG
3572 method from aborting if it accesses an address space has no handler.
3573 AcpiExec installs a handler for every possible address space.
3575 Debugger: Enhanced the "handlers" command to display non-root handlers.
3576 This change enhances the handlers command to display handlers associated
3577 with individual devices throughout the namespace, in addition to the
3578 currently supported display of handlers associated with the root
3582 ASL Test Suite: Several test suite errors have been identified and
3583 resolved, reducing the total error count during execution. Chao Guan.
3585 ----------------------------------------
3586 28 March 2013. Summary of changes for version 20130328:
3588 1) ACPICA kernel-resident subsystem:
3590 Fixed several possible race conditions with the internal object reference
3591 counting mechanism. Some of the external ACPICA interfaces update object
3592 reference counts without holding the interpreter or namespace lock. This
3593 change adds a spinlock to protect reference count updates on the internal
3594 ACPICA objects. Reported by and with assistance from Andriy Gapon
3597 FADT support: Removed an extraneous warning for very large GPE register
3598 sets. This change removes a size mismatch warning if the legacy length
3599 field for a GPE register set is larger than the 64-bit GAS structure can
3600 accommodate. GPE register sets can be larger than the 255-bit width
3601 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3603 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
3604 return from this interface. Handles a possible timeout case if
3605 ACPI_WAIT_FOREVER is modified by the host to be a value less than
3606 "forever". Jung-uk Kim.
3608 Predefined name support: Add allowed/required argument type information
3610 the master predefined info table. This change adds the infrastructure to
3611 enable typechecking on incoming arguments for all predefined
3612 methods/objects. It does not actually contain the code that will fully
3613 utilize this information, this is still under development. Also condenses
3614 some duplicate code for the predefined names into a new module,
3615 utilities/utpredef.c
3617 Example Code and Data Size: These are the sizes for the OS-independent
3618 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3619 debug version of the code includes the debug output trace mechanism and
3620 has a much larger code and data size.
3623 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
3624 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
3626 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
3627 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
3630 2) iASL Compiler/Disassembler and Tools:
3632 iASL: Implemented a new option to simplify the development of ACPI-
3634 BIOS code. Adds support for a new "offset table" output file. The -so
3635 option will create a C table containing the AML table offsets of various
3636 named objects in the namespace so that BIOS code can modify them easily
3638 boot time. This can simplify BIOS runtime code by eliminating expensive
3639 searches for "magic values", enhancing boot times and adding greater
3640 reliability. With assistance from Lee Hamel.
3642 iASL: Allow additional predefined names to return zero-length packages.
3643 Now, all predefined names that are defined by the ACPI specification to
3644 return a "variable-length package of packages" are allowed to return a
3645 zero length top-level package. This allows the BIOS to tell the host that
3646 the requested feature is not supported, and supports existing BIOS/ASL
3649 iASL: Changed the "result not used" warning to an error. This is the case
3650 where an ASL operator is effectively a NOOP because the result of the
3651 operation is not stored anywhere. For example:
3653 There is no target (missing 3rd argument), nor is the function return
3654 value used. This is potentially a very serious problem -- since the code
3655 was probably intended to do something, but for whatever reason, the value
3656 was not stored. Therefore, this issue has been upgraded from a warning to
3659 AcpiHelp: Added allowable/required argument types to the predefined names
3660 info display. This feature utilizes the recent update to the predefined
3661 names table (above).
3663 ----------------------------------------
3664 14 February 2013. Summary of changes for version 20130214:
3666 1) ACPICA Kernel-resident Subsystem:
3668 Fixed a possible regression on some hosts: Reinstated the safe return
3669 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
3670 evaluated only once. Although these macros are not needed for the ACPICA
3671 code itself, they are often used by ACPI-related host device drivers
3673 the safe feature may be necessary.
3675 Fixed several issues related to the ACPI 5.0 reduced hardware support
3676 (SOC): Now ensure that if the platform declares itself as hardware-
3678 via the FADT, the following functions become NOOPs (and always return
3679 AE_OK) because ACPI is always enabled by definition on these machines:
3685 Dynamic Object Repair: Implemented additional runtime repairs for
3686 predefined name return values. Both of these repairs can simplify code in
3687 the related device drivers that invoke these methods:
3688 1) For the _STR and _MLS names, automatically repair/convert an ASCII
3689 string to a Unicode buffer.
3690 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
3692 lone end tag descriptor in the following cases: A Return(0) was executed,
3693 a null buffer was returned, or no object at all was returned (non-slack
3694 mode only). Adds a new file, nsconvert.c
3695 ACPICA BZ 998. Bob Moore, Lv Zheng.
3697 Resource Manager: Added additional code to prevent possible infinite
3699 while traversing corrupted or ill-formed resource template buffers. Check
3700 for zero-length resource descriptors in all code that loops through
3701 resource templates (the length field is used to index through the
3702 template). This change also hardens the external AcpiWalkResources and
3703 AcpiWalkResourceBuffer interfaces.
3705 Local Cache Manager: Enhanced the main data structure to eliminate an
3706 unnecessary mechanism to access the next object in the list. Actually
3707 provides a small performance enhancement for hosts that use the local
3708 ACPICA cache manager. Jung-uk Kim.
3710 Example Code and Data Size: These are the sizes for the OS-independent
3711 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3712 debug version of the code includes the debug output trace mechanism and
3713 has a much larger code and data size.
3716 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
3717 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
3719 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
3720 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
3723 2) iASL Compiler/Disassembler and Tools:
3725 iASL/Disassembler: Fixed several issues with the definition of the ACPI
3726 5.0 RASF table (RAS Feature Table). This change incorporates late changes
3727 that were made to the ACPI 5.0 specification.
3729 iASL/Disassembler: Added full support for the following new ACPI tables:
3730 1) The MTMR table (MID Timer Table)
3731 2) The VRTC table (Virtual Real Time Clock Table).
3732 Includes header file, disassembler, table compiler, and template support
3735 iASL: Implemented compile-time validation of package objects returned by
3736 predefined names. This new feature validates static package objects
3737 returned by the various predefined names defined to return packages. Both
3738 object types and package lengths are validated, for both parent packages
3739 and sub-packages, if any. The code is similar in structure and behavior
3741 the runtime repair mechanism within the AML interpreter and uses the
3742 existing predefined name information table. Adds a new file, aslprepkg.c.
3745 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
3746 This feature detects a binary file with a valid ACPI table header and
3747 invokes the disassembler automatically. Eliminates the need to
3748 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3750 iASL/Disassembler: Added several warnings for the case where there are
3751 unresolved control methods during the disassembly. This can potentially
3752 cause errors when the output file is compiled, because the disassembler
3753 assumes zero method arguments in these cases (it cannot determine the
3754 actual number of arguments without resolution/definition of the method).
3756 Debugger: Added support to display all resources with a single command.
3757 Invocation of the resources command with no arguments will now display
3759 resources within the current namespace.
3761 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
3764 ----------------------------------------
3765 17 January 2013. Summary of changes for version 20130117:
3767 1) ACPICA Kernel-resident Subsystem:
3769 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
3770 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
3771 objects to return a package containing one integer, most BIOS code
3773 two integers and the previous code reflects that. However, we also need
3775 support BIOS code that actually implements to the ACPI spec, and this
3776 change reflects this.
3778 Fixed two issues with the ACPI_DEBUG_PRINT macros:
3779 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
3780 C compilers that require this support.
3781 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
3782 ACPI_DEBUG is already used by many of the various hosts.
3784 Updated all ACPICA copyrights and signons to 2013. Added the 2013
3785 copyright to all module headers and signons, including the standard Linux
3786 header. This affects virtually every file in the ACPICA core subsystem,
3787 iASL compiler, all ACPICA utilities, and the test suites.
3789 Example Code and Data Size: These are the sizes for the OS-independent
3790 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3791 debug version of the code includes the debug output trace mechanism and
3792 has a much larger code and data size.
3795 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
3796 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
3798 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
3799 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
3802 2) iASL Compiler/Disassembler and Tools:
3804 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
3805 prevent a possible fault on some hosts. Some C libraries modify the arg
3806 pointer parameter to vfprintf making it difficult to call it twice in the
3807 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
3808 does not affect the Windows OSL since the Win C library does not modify
3809 the arg pointer. Chao Guan, Bob Moore.
3811 iASL: Fixed a possible infinite loop when the maximum error count is
3812 reached. If an output file other than the .AML file is specified (such as
3813 a listing file), and the maximum number of errors is reached, do not
3814 attempt to flush data to the output file(s) as the compiler is aborting.
3815 This can cause an infinite loop as the max error count code essentially
3816 keeps calling itself.
3818 iASL/Disassembler: Added an option (-in) to ignore NOOP
3820 Implemented for both the compiler and the disassembler. Often, the NOOP
3821 opcode is used as padding for packages that are changed dynamically by
3823 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
3824 errors. This option causes the disassembler to ignore all NOOP opcodes
3825 (0xA3), and it also causes the compiler to ignore all ASL source code
3829 Debugger: Enhanced the Sleep command to execute all sleep states. This
3830 change allows Sleep to be invoked with no arguments and causes the
3831 debugger to execute all of the sleep states, 0-5, automatically.
3833 ----------------------------------------
3834 20 December 2012. Summary of changes for version 20121220:
3836 1) ACPICA Kernel-resident Subsystem:
3838 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
3839 alternate entry point for AcpiWalkResources and improves the usability of
3840 the resource manager by accepting as input a buffer containing the output
3841 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
3842 input buffer is not deleted by this interface so that it can be used by
3843 the host later. See the ACPICA reference for details.
3845 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
3846 (DSDT version < 2). The constant will be truncated and this warning
3847 reflects that behavior.
3849 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
3850 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
3851 both get and set the new wake bit in these descriptors, separately from
3852 the existing share bit. Reported by Aaron Lu.
3854 Interpreter: Fix Store() when an implicit conversion is not possible. For
3855 example, in the cases such as a store of a string to an existing package
3856 object, implement the store as a CopyObject(). This is a small departure
3857 from the ACPI specification which states that the control method should
3859 aborted in this case. However, the ASLTS suite depends on this behavior.
3861 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
3862 macros: check if debug output is currently enabled as soon as possible to
3863 minimize performance impact if debug is in fact not enabled.
3865 Source code restructuring: Cleanup to improve modularity. The following
3866 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
3867 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
3868 Associated makefiles and project files have been updated.
3870 Changed an exception code for LoadTable operator. For the case where one
3871 of the input strings is too long, change the returned exception code from
3872 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3874 Fixed a possible memory leak in dispatcher error path. On error, delete
3875 the mutex object created during method mutex creation. Reported by
3876 tim.gardner@canonical.com.
3878 Example Code and Data Size: These are the sizes for the OS-independent
3879 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3880 debug version of the code includes the debug output trace mechanism and
3881 has a much larger code and data size.
3884 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
3885 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3887 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
3888 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
3891 2) iASL Compiler/Disassembler and Tools:
3893 iASL: Disallow a method call as argument to the ObjectType ASL operator.
3894 This change tracks an errata to the ACPI 5.0 document. The AML grammar
3895 will not allow the interpreter to differentiate between a method and a
3896 method invocation when these are used as an argument to the ObjectType
3897 operator. The ACPI specification change is to disallow a method
3899 (UserTerm) for the ObjectType operator.
3901 Finish support for the TPM2 and CSRT tables in the headers, table
3902 compiler, and disassembler.
3904 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
3905 always expires immediately if the semaphore is not available. The
3907 code was using a relative-time timeout, but sem_timedwait requires the
3909 of an absolute time.
3911 iASL: Added a remark if the Timer() operator is used within a 32-bit
3912 table. This operator returns a 64-bit time value that will be truncated
3913 within a 32-bit table.
3915 iASL Source code restructuring: Cleanup to improve modularity. The
3916 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
3917 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
3921 ----------------------------------------
3922 14 November 2012. Summary of changes for version 20121114:
3924 1) ACPICA Kernel-resident Subsystem:
3926 Implemented a performance enhancement for ACPI/AML Package objects. This
3927 change greatly increases the performance of Package objects within the
3928 interpreter. It changes the processing of reference counts for packages
3930 optimizing for the most common case where the package sub-objects are
3931 either Integers, Strings, or Buffers. Increases the overall performance
3933 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
3935 Chao Guan. ACPICA BZ 943.
3937 Implemented and deployed common macros to extract flag bits from resource
3938 descriptors. Improves readability and maintainability of the code. Fixes
3940 problem with the UART serial bus descriptor for the number of data bits
3941 flags (was incorrectly 2 bits, should be 3).
3943 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
3944 of the macros and changed the SETx macros to the style of (destination,
3945 source). Also added ACPI_CASTx companion macros. Lv Zheng.
3947 Example Code and Data Size: These are the sizes for the OS-independent
3948 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3949 debug version of the code includes the debug output trace mechanism and
3950 has a much larger code and data size.
3953 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
3954 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3956 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
3957 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3960 2) iASL Compiler/Disassembler and Tools:
3962 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
3963 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
3964 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3966 Disassembler: Fixed a problem with external declaration generation. Fixes
3967 a problem where an incorrect pathname could be generated for an external
3968 declaration if the original reference to the object includes leading
3969 carats (^). ACPICA BZ 984.
3971 Debugger: Completed a major update for the Disassemble<method> command.
3972 This command was out-of-date and did not properly disassemble control
3973 methods that had any reasonable complexity. This fix brings the command
3975 to the same level as the rest of the disassembler. Adds one new file,
3976 dmdeferred.c, which is existing code that is now common with the main
3977 disassembler and the debugger disassemble command. ACPICA MZ 978.
3979 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
3980 Newer versions of Bison emit this prototype, so moved the prototype out
3982 the iASL header to where it is actually used in order to avoid a
3986 iASL/Tools: Standardized use of the stream I/O functions:
3987 1) Ensure check for I/O error after every fopen/fread/fwrite
3988 2) Ensure proper order of size/count arguments for fread/fwrite
3989 3) Use test of (Actual != Requested) after all fwrite, and most fread
3990 4) Standardize I/O error messages
3991 Improves reliability and maintainability of the code. Bob Moore, Lv
3995 Disassembler: Prevent duplicate External() statements. During generation
3996 of external statements, detect similar pathnames that are actually
3997 duplicates such as these:
4000 Remove all leading '\' characters from pathnames during the external
4001 statement generation so that duplicates will be detected and tossed.
4004 Tools: Replace low-level I/O with stream I/O functions. Replace
4005 open/read/write/close with the stream I/O equivalents
4006 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
4009 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
4010 name header so that AcpiXtract recognizes the output file/table.
4012 iASL: Remove obsolete -2 option flag. Originally intended to force the
4013 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
4014 and the entire concept is now obsolete.
4016 ----------------------------------------
4017 18 October 2012. Summary of changes for version 20121018:
4020 1) ACPICA Kernel-resident Subsystem:
4022 Updated support for the ACPI 5.0 MPST table. Fixes some problems
4023 introduced by late changes to the table as it was added to the ACPI 5.0
4024 specification. Includes header, disassembler, and data table compiler
4025 support as well as a new version of the MPST template.
4027 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
4028 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
4029 methods: _HID, _CID, and _UID.
4031 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
4032 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
4033 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
4034 names for their various drivers. Affects the AcpiGetObjectInfo external
4035 interface, and other internal interfaces as well.
4037 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
4038 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
4039 on machines that support non-aligned transfers. Optimizes for this case
4040 rather than using a strncpy. With assistance from Zheng Lv.
4042 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
4043 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4045 Added a new debug print message for AML mutex objects that are force-
4046 released. At control method termination, any currently acquired mutex
4047 objects are force-released. Adds a new debug-only message for each one
4050 Audited/updated all ACPICA return macros and the function debug depth
4051 counter: 1) Ensure that all functions that use the various TRACE macros
4052 also use the appropriate ACPICA return macros. 2) Ensure that all normal
4053 return statements surround the return expression (value) with parens to
4054 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
4055 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4057 Global source code changes/maintenance: All extra lines at the start and
4058 end of each source file have been removed for consistency. Also, within
4059 comments, all new sentences start with a single space instead of a double
4060 space, again for consistency across the code base.
4062 Example Code and Data Size: These are the sizes for the OS-independent
4063 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4064 debug version of the code includes the debug output trace mechanism and
4065 has a much larger code and data size.
4068 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
4069 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
4071 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
4072 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
4075 2) iASL Compiler/Disassembler and Tools:
4077 AcpiExec: Improved the algorithm used for memory leak/corruption
4078 detection. Added some intelligence to the code that maintains the global
4079 list of allocated memory. The list is now ordered by allocated memory
4080 address, significantly improving performance. When running AcpiExec on
4081 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
4082 on the platform and/or the environment. Note, this performance
4083 enhancement affects the AcpiExec utility only, not the kernel-resident
4086 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
4087 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
4088 incorrect table offset reported for invalid opcodes. Report the original
4089 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4091 Disassembler: Enhanced the -vt option to emit the binary table data in
4092 hex format to assist with debugging.
4094 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
4095 size of file structure. Colin Ian King.
4097 ----------------------------------------
4098 13 September 2012. Summary of changes for version 20120913:
4101 1) ACPICA Kernel-resident Subsystem:
4103 ACPI 5.0: Added two new notify types for the Hardware Error Notification
4104 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
4108 Table Manager: Merged/removed duplicate code in the root table resize
4109 functions. One function is external, the other is internal. Lv Zheng,
4113 Makefiles: Completely removed the obsolete "Linux" makefiles under
4114 acpica/generate/linux. These makefiles are obsolete and have been
4117 the generic unix makefiles under acpica/generate/unix.
4119 Makefiles: Ensure that binary files always copied properly. Minor rule
4121 to ensure that the final binary output files are always copied up to the
4122 appropriate binary directory (bin32 or bin64.)
4124 Example Code and Data Size: These are the sizes for the OS-independent
4125 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4127 version of the code includes the debug output trace mechanism and has a
4129 larger code and data size.
4132 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
4133 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
4135 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
4136 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
4139 2) iASL Compiler/Disassembler and Tools:
4141 Disassembler: Fixed a possible fault during the disassembly of resource
4142 descriptors when a second parse is required because of the invocation of
4143 external control methods within the table. With assistance from
4144 adq@lidskialf.net. ACPICA BZ 976.
4146 iASL: Fixed a namepath optimization problem. An error can occur if the
4148 node that contains the namepath to be optimized does not have a parent
4150 that is a named object. This change fixes the problem.
4152 iASL: Fixed a regression where the AML file is not deleted on errors. The
4154 output file should be deleted if there are any errors during the
4157 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4159 iASL: Added a feature to automatically increase internal line buffer
4161 Via realloc(), automatically increase the internal line buffer sizes as
4162 necessary to support very long source code lines. The current version of
4164 preprocessor requires a buffer long enough to contain full source code
4166 This change increases the line buffer(s) if the input lines go beyond the
4167 current buffer size. This eliminates errors that occurred when a source
4169 line was longer than the buffer.
4171 iASL: Fixed a problem with constant folding in method declarations. The
4172 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
4174 Type3 opcode was used.
4176 Debugger: Improved command help support. For incorrect argument count,
4178 full help for the command. For help command itself, allow an argument to
4181 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
4182 errors during execution of the suite. Guan Chao.
4184 ----------------------------------------
4185 16 August 2012. Summary of changes for version 20120816:
4188 1) ACPICA Kernel-resident Subsystem:
4190 Removed all use of the deprecated _GTS and _BFS predefined methods. The
4192 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
4193 deprecated and will probably be removed from the ACPI specification.
4195 does not invoke them, and reportedly never will. The final nail in the
4197 is that the ACPI specification states that these methods must be run with
4198 interrupts off, which is not going to happen in a kernel interpreter.
4200 Linux has removed all use of the methods also. It was discovered that
4201 invoking these functions caused failures on some machines, probably
4203 they were never tested since Windows does not call them. Affects two
4205 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
4208 Implemented support for complex bit-packed buffers returned from the _PLD
4209 (Physical Location of Device) predefined method. Adds a new external
4210 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
4212 structure. Note: C Bitfields cannot be used for this type of predefined
4213 structure since the memory layout of individual bitfields is not defined
4215 the C language. In addition, there are endian concerns where a compiler
4217 change the bitfield ordering based on the machine type. The new ACPICA
4218 interface eliminates these issues, and should be called after _PLD is
4219 executed. ACPICA BZ 954.
4221 Implemented a change to allow a scope change to root (via "Scope (\)")
4223 execution of module-level ASL code (code that is executed at table load
4226 Added the Windows8/Server2012 string for the _OSI method. This change
4229 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
4232 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
4234 and CSRT (Core System Resource Table).
4236 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
4237 names. This simplifies access to the buffers returned by these predefined
4238 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4240 GPE support: Removed an extraneous parameter from the various low-level
4241 internal GPE functions. Tang Feng.
4243 Removed the linux makefiles from the unix packages. The generate/linux
4244 makefiles are obsolete and have been removed from the unix tarball
4246 packages. The replacement makefiles are under generate/unix, and there is
4248 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4250 Updates for Unix makefiles:
4251 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4252 2) Update linker flags (move to end of command line) for AcpiExec
4256 Split ACPICA initialization functions to new file, utxfinit.c. Split from
4257 utxface.c to improve modularity and reduce file size.
4259 Example Code and Data Size: These are the sizes for the OS-independent
4260 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4261 debug version of the code includes the debug output trace mechanism and
4263 much larger code and data size.
4266 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
4267 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
4269 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
4270 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
4273 2) iASL Compiler/Disassembler and Tools:
4275 iASL: Fixed a problem with constant folding for fixed-length constant
4276 expressions. The constant-folding code was not being invoked for constant
4277 expressions that allow the use of type 3/4/5 opcodes to generate
4279 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
4281 in the generation of invalid AML bytecode. ACPICA BZ 970.
4283 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
4284 apparently automatically emit some of the necessary externals. This
4286 handles these versions in order to eliminate generation warnings.
4288 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4290 Disassembler: Add support to decode _PLD buffers. The decoded buffer
4292 within comments in the output file.
4294 Debugger: Fixed a regression with the "Threads" command where
4295 AE_BAD_PARAMETER was always returned.
4297 ----------------------------------------
4298 11 July 2012. Summary of changes for version 20120711:
4300 1) ACPICA Kernel-resident Subsystem:
4302 Fixed a possible fault in the return package object repair code. Fixes a
4303 problem that can occur when a lone package object is wrapped with an
4305 package object in order to force conformance to the ACPI specification.
4307 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
4311 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
4312 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
4313 ARB_DIS bit must be implemented in the host-dependent C3 processor power
4315 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
4317 Intel and other vendors. (for Intel: ICH4-M and earlier)
4319 This change removes the code to disable/enable bus master arbitration
4321 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
4323 resume problems on some machines. The change has been in use for over
4327 Implemented two new external interfaces to support host-directed dynamic
4329 table load and unload. They are intended to simplify the host
4331 of hot-plug support:
4332 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4333 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
4335 See the ACPICA reference for additional details. Adds one new file,
4336 components/tables/tbxfload.c
4338 Implemented and deployed two new interfaces for errors and warnings that
4340 known to be caused by BIOS/firmware issues:
4341 AcpiBiosError: Prints "ACPI Firmware Error" message.
4342 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4343 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
4345 and FADT errors. Additional deployment to be completed as appropriate in
4347 future. The associated conditional macros are ACPI_BIOS_ERROR and
4348 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
4353 Implicit notify support: ensure that no memory allocation occurs within a
4354 critical region. This fix moves a memory allocation outside of the time
4356 spinlock is held. Fixes issues on systems that do not allow this
4360 Split exception code utilities and tables into a new file,
4363 Example Code and Data Size: These are the sizes for the OS-independent
4364 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4366 version of the code includes the debug output trace mechanism and has a
4368 larger code and data size.
4371 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
4372 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
4374 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
4375 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
4378 2) iASL Compiler/Disassembler and Tools:
4380 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
4384 Debugger: Enhanced the "tables" command to emit additional information
4386 the current set of ACPI tables, including the owner ID and flags decode.
4388 Debugger: Reimplemented the "unload" command to use the new
4389 AcpiUnloadParentTable external interface. This command was disable
4391 due to need for an unload interface.
4393 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
4395 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4397 ----------------------------------------
4398 20 June 2012. Summary of changes for version 20120620:
4401 1) ACPICA Kernel-resident Subsystem:
4403 Implemented support to expand the "implicit notify" feature to allow
4405 devices to be notified by a single GPE. This feature automatically
4407 runtime device notification in the absence of a BIOS-provided GPE control
4408 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
4410 provided by ACPICA for Windows compatibility, and is a workaround for
4413 code errors. See the description of the AcpiSetupGpeForWake interface in
4415 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4417 Changed some comments and internal function names to simplify and ensure
4418 correctness of the Linux code translation. No functional changes.
4420 Example Code and Data Size: These are the sizes for the OS-independent
4421 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4423 version of the code includes the debug output trace mechanism and has a
4425 larger code and data size.
4428 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
4429 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
4431 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
4432 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
4435 2) iASL Compiler/Disassembler and Tools:
4437 Disassembler: Added support to emit short, commented descriptions for the
4439 predefined names in order to improve the readability of the disassembled
4440 output. ACPICA BZ 959. Changes include:
4441 1) Emit descriptions for all standard predefined names (_INI, _STA,
4444 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4445 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
4448 AcpiSrc: Fixed several long-standing Linux code translation issues.
4450 descriptions in function headers are now translated properly to lower
4453 underscores. ACPICA BZ 961. Also fixes translation problems such as
4459 local_fADT -> local_FADT
4460 execute_oSI -> execute_OSI
4462 iASL: Fixed a problem where null bytes were inadvertently emitted into
4466 iASL: Added the existing debug options to the standard help screen. There
4468 no longer two different help screens. ACPICA BZ 957.
4470 AcpiHelp: Fixed some typos in the various predefined name descriptions.
4472 expand some of the descriptions where appropriate.
4474 iASL: Fixed the -ot option (display compile times/statistics). Was not
4476 properly for standard output; only worked for the debug file case.
4478 ----------------------------------------
4479 18 May 2012. Summary of changes for version 20120518:
4482 1) ACPICA Core Subsystem:
4484 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
4486 to block until asynchronous events such as notifies and GPEs have
4488 Within ACPICA, it is only called before a notify or GPE handler is
4489 removed/uninstalled. It also may be useful for the host OS within related
4490 drivers such as the Embedded Controller driver. See the ACPICA reference
4492 additional information. ACPICA BZ 868.
4494 ACPI Tables: Added a new error message for a possible overflow failure
4496 the conversion of FADT 32-bit legacy register addresses to internal
4499 bit GAS structure representation. The GAS has a one-byte "bit length"
4501 thus limiting the register length to 255 bits. ACPICA BZ 953.
4503 Example Code and Data Size: These are the sizes for the OS-independent
4504 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4506 version of the code includes the debug output trace mechanism and has a
4508 larger code and data size.
4511 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4512 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
4514 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
4515 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
4518 2) iASL Compiler/Disassembler and Tools:
4520 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
4522 This keyword was added late in the ACPI 5.0 release cycle and was not
4523 implemented until now.
4525 Disassembler: Added support for Operation Region externals. Adds missing
4526 support for operation regions that are defined in another table, and
4527 referenced locally via a Field or BankField ASL operator. Now generates
4529 correct External statement.
4531 Disassembler: Several additional fixes for the External() statement
4533 related to some ASL operators. Also, order the External() statements
4534 alphabetically in the disassembler output. Fixes the External()
4537 the Create* field, Alias, and Scope operators:
4538 1) Create* buffer field operators - fix type mismatch warning on
4540 2) Alias - implement missing External support
4541 3) Scope - fix to make sure all necessary externals are emitted.
4543 iASL: Improved pathname support. For include files, merge the prefix
4545 with the file pathname and eliminate unnecessary components. Convert
4546 backslashes in all pathnames to forward slashes, for readability. Include
4548 pathname changes affect both #include and Include() type operators.
4550 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
4552 of a valid line by inserting a newline and then returning the EOF during
4554 next call to GetNextLine. Prevents the line from being ignored due to EOF
4557 iASL: Implemented some changes to enhance the IDE support (-vi option.)
4559 and Warning messages are now correctly recognized for both the source
4561 browser and the global error and warning counts.
4563 ----------------------------------------
4564 20 April 2012. Summary of changes for version 20120420:
4567 1) ACPICA Core Subsystem:
4569 Implemented support for multiple notify handlers. This change adds
4572 allow multiple system and device notify handlers on Device, Thermal Zone,
4574 Processor objects. This can simplify the host OS notification
4576 Also re-worked and restructured the entire notify support code to
4578 handler installation, handler removal, notify event queuing, and notify
4579 dispatch to handler(s). Note: there can still only be two global notify
4580 handlers - one for system notifies and one for device notifies. There are
4582 changes to the existing handler install/remove interfaces. Lin Ming, Bob
4583 Moore, Rafael Wysocki.
4585 Fixed a regression in the package repair code where the object reference
4586 count was calculated incorrectly. Regression was introduced in the commit
4587 "Support to add Package wrappers".
4589 Fixed a couple possible memory leaks in the AML parser, in the error
4591 path. Jesper Juhl, Lin Ming.
4593 Example Code and Data Size: These are the sizes for the OS-independent
4594 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4595 debug version of the code includes the debug output trace mechanism and
4597 much larger code and data size.
4600 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4601 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4603 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4604 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
4607 2) iASL Compiler/Disassembler and Tools:
4609 iASL: Fixed a problem with the resource descriptor support where the
4611 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
4612 included in cumulative descriptor offset, resulting in incorrect values
4614 resource tags within resource descriptors appearing after a
4616 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4618 iASL and Preprocessor: Implemented full support for the #line directive
4620 correctly track original source file line numbers through the .i
4622 output file - for error and warning messages.
4624 iASL: Expand the allowable byte constants for address space IDs.
4626 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
4627 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
4629 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4631 iASL: Add option to completely disable the preprocessor (-Pn).
4633 iASL: Now emit all error/warning messages to standard error (stderr) by
4634 default (instead of the previous stdout).
4636 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
4638 for resource descriptor offset fix above. Update/cleanup error output
4639 routines. Enable and send iASL errors/warnings to an error logfile
4640 (error.txt). Send all other iASL output to a logfile (compiler.txt).
4642 several extraneous "unrecognized operator" messages.
4644 ----------------------------------------
4645 20 March 2012. Summary of changes for version 20120320:
4648 1) ACPICA Core Subsystem:
4650 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
4651 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
4653 does not execute these methods, and therefore these methods are often
4654 untested. It has been seen on some systems where the execution of these
4655 methods causes errors and also prevents the machine from entering S5. It
4657 therefore suggested that host operating systems do not execute these
4659 by default. In the future, perhaps these methods can be optionally
4661 based on the age of the system and/or what is the newest version of
4663 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
4665 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
4668 Fixed a problem where the length of the local/common FADT was set too
4670 The local FADT table length cannot be set to the common length until the
4671 original length has been examined. There is code that checks the table
4673 and sets various fields appropriately. This can affect older machines
4675 early FADT versions. For example, this can cause inadvertent writes to
4677 CST_CNT register. Julian Anastasov.
4679 Fixed a mapping issue related to a physical table override. Use the
4681 mapping mechanism for tables loaded via the physical override OSL
4683 This allows for early mapping before the virtual memory manager is
4685 Thomas Renninger, Bob Moore.
4687 Enhanced the automatic return-object repair code: Repair a common problem
4689 predefined methods that are defined to return a variable-length Package
4691 sub-objects. If there is only one sub-object, some BIOS ASL code
4693 simply returns the single object instead of a Package with one sub-
4695 This new support will repair this error by wrapping a Package object
4697 the original object, creating the correct and expected Package with one
4699 object. Names that can be repaired in this manner include: _ALR, _CSD,
4701 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
4704 Changed the exception code returned for invalid ACPI paths passed as
4705 parameters to external interfaces such as AcpiEvaluateObject. Was
4706 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4708 Example Code and Data Size: These are the sizes for the OS-independent
4709 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4711 version of the code includes the debug output trace mechanism and has a
4713 larger code and data size.
4716 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
4717 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4719 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4720 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4723 2) iASL Compiler/Disassembler and Tools:
4725 iASL: Added the infrastructure and initial implementation of a integrated
4727 like preprocessor. This will simplify BIOS development process by
4729 the need for a separate preprocessing step during builds. On Windows, it
4731 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
4732 features including full #define() macro support are still under
4734 These preprocessor directives are supported:
4747 In addition, these new command line options are supported:
4748 -D <symbol> Define symbol for preprocessor use
4749 -li Create preprocessed output file (*.i)
4750 -P Preprocess only and create preprocessor output file (*.i)
4752 Table Compiler: Fixed a problem where the equals operator within an
4754 did not work properly.
4756 Updated iASL to use the current versions of Bison/Flex. Updated the
4758 project file to invoke these tools from the standard location. ACPICA BZ
4761 Flex for Windows: V2.5.4
4762 Bison for Windows: V2.4.1
4764 ----------------------------------------
4765 15 February 2012. Summary of changes for version 20120215:
4768 1) ACPICA Core Subsystem:
4770 There have been some major changes to the sleep/wake support code, as
4771 described below (a - e).
4773 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
4774 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
4775 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
4777 time the _BFS method is called and the _WAK method is called. NOTE: all
4779 must update their wake/resume code or else sleep/wake will not work
4783 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
4785 method. Some machines require that the GPEs are enabled before the _WAK
4787 is executed. Thomas Renninger.
4789 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
4791 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
4793 determine whether the system is rebooting or resuming. Matthew Garrett.
4795 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
4797 match the ACPI specification requirement. Rafael Wysocki.
4799 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
4800 registers within the V5 FADT. This support adds two new files:
4801 hardware/hwesleep.c implements the support for the new registers. Moved
4803 sleep/wake external interfaces to hardware/hwxfsleep.c.
4806 Added a new OSL interface for ACPI table overrides,
4807 AcpiOsPhysicalTableOverride. This interface allows the host to override a
4808 table via a physical address, instead of the logical address required by
4809 AcpiOsTableOverride. This simplifies the host implementation. Initial
4810 implementation by Thomas Renninger. The ACPICA implementation creates a
4812 shared function for table overrides that attempts both a logical and a
4815 Expanded the OSL memory read/write interfaces to 64-bit data
4816 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
4817 transfer support for GAS register structures passed to AcpiRead and
4820 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
4822 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
4824 See the ACPICA reference for details. ACPICA BZ 942. This option removes
4826 10% of the code and 5% of the static data, and the following hardware
4828 features become unavailable:
4829 PM Event and Control registers
4830 SCI interrupt (and handler)
4832 General Purpose Events (GPEs)
4835 FACS table (Waking vectors and Global Lock)
4837 Updated the unix tarball directory structure to match the ACPICA git
4839 tree. This ensures that the generic unix makefiles work properly (in
4840 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
4843 Updated the return value of the _REV predefined method to integer value 5
4845 reflect ACPI 5.0 support.
4847 Moved the external ACPI PM timer interface prototypes to the public
4849 file where they belong.
4851 Example Code and Data Size: These are the sizes for the OS-independent
4852 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4854 version of the code includes the debug output trace mechanism and has a
4856 larger code and data size.
4859 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
4860 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
4862 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
4863 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4866 2) iASL Compiler/Disassembler and Tools:
4868 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
4869 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
4870 incorrectly displayed.
4872 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
4875 ----------------------------------------
4876 11 January 2012. Summary of changes for version 20120111:
4879 1) ACPICA Core Subsystem:
4881 Implemented a new mechanism to allow host device drivers to check for
4883 range conflicts with ACPI Operation Regions. Both SystemMemory and
4885 address spaces are supported. A new external interface,
4886 AcpiCheckAddressRange,
4887 allows drivers to check an address range against the ACPI namespace. See
4889 ACPICA reference for additional details. Adds one new file,
4890 utilities/utaddress.c. Lin Ming, Bob Moore.
4892 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
4895 Status registers, update the ACPI 5.0 flags, and update internal data
4896 structures to handle an FADT larger than 256 bytes. The size of the ACPI
4900 Updated all ACPICA copyrights and signons to 2012. Added the 2012
4902 all module headers and signons, including the standard Linux header. This
4903 affects virtually every file in the ACPICA core subsystem, iASL compiler,
4905 all ACPICA utilities.
4907 Example Code and Data Size: These are the sizes for the OS-independent
4908 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4910 version of the code includes the debug output trace mechanism and has a
4912 larger code and data size.
4915 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
4916 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
4918 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
4919 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
4922 2) iASL Compiler/Disassembler and Tools:
4924 Disassembler: fixed a problem with the automatic resource tag generation
4925 support. Fixes a problem where the resource tags are inadvertently not
4926 constructed if the table being disassembled contains external references
4928 control methods. Moved the actual construction of the tags to after the
4930 namespace is constructed (after 2nd parse is invoked due to external
4932 method references.) ACPICA BZ 941.
4934 Table Compiler: Make all "generic" operators caseless. These are the
4936 like UINT8, String, etc. Making these caseless improves ease-of-use.
4940 ----------------------------------------
4941 23 November 2011. Summary of changes for version 20111123:
4943 0) ACPI 5.0 Support:
4945 This release contains full support for the ACPI 5.0 specification, as
4948 Reduced Hardware Support:
4949 -------------------------
4951 This support allows for ACPI systems without the usual ACPI hardware.
4953 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
4955 not attempt to initialize or use any of the usual ACPI hardware. Note,
4957 this flag is set, all of the following ACPI hardware is assumed to be not
4958 present and is not initialized or accessed:
4960 General Purpose Events (GPEs)
4961 Fixed Events (PM1a/PM1b and PM Control)
4962 Power Management Timer and Console Buttons (power/sleep)
4963 Real-time Clock Alarm
4965 System Control Interrupt (SCI)
4966 The FACS is assumed to be non-existent
4971 All new tables and updates to existing tables are fully supported in the
4972 ACPICA headers (for use by device drivers), the disassembler, and the
4974 Data Table Compiler. ACPI 5.0 defines these new tables:
4976 BGRT /* Boot Graphics Resource Table */
4977 DRTM /* Dynamic Root of Trust for Measurement table */
4978 FPDT /* Firmware Performance Data Table */
4979 GTDT /* Generic Timer Description Table */
4980 MPST /* Memory Power State Table */
4981 PCCT /* Platform Communications Channel Table */
4982 PMTT /* Platform Memory Topology Table */
4983 RASF /* RAS Feature table */
4985 Operation Regions/SpaceIDs:
4986 ---------------------------
4988 All new operation regions are fully supported by the iASL compiler, the
4989 disassembler, and the ACPICA runtime code (for dispatch to region
4991 The new operation region Space IDs are:
4996 Resource Descriptors:
4997 ---------------------
4999 All new ASL resource descriptors are fully supported by the iASL
5002 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
5004 all new predefined resource tags). New descriptors are:
5013 ASL/AML Operators, New and Modified:
5014 ------------------------------------
5016 One new operator is added, the Connection operator, which is used to
5018 a GeneralPurposeIo or GenericSerialBus resource descriptor with
5020 field objects within an operation region. Several new protocols are
5022 with the AccessAs operator. All are fully supported by the iASL compiler,
5023 disassembler, and runtime ACPICA AML interpreter:
5025 Connection // Declare Field Connection
5027 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
5028 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
5030 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5031 RawDataBuffer // Data type for Vendor Data
5034 Predefined ASL/AML Objects:
5035 ---------------------------
5037 All new predefined objects/control-methods are supported by the iASL
5039 and the ACPICA runtime validation/repair (arguments and return values.)
5041 predefined names include the following:
5043 Standard Predefined Names (Objects or Control Methods):
5044 _AEI, _CLS, _CPC, _CWS, _DEP,
5045 _DLM, _EVT, _GCP, _CRT, _GWS,
5046 _HRV, _PRE, _PSE, _SRT, _SUB.
5048 Resource Tags (Names used to access individual fields within resource
5050 _DBT, _DPL, _DRS, _END, _FLC,
5051 _IOR, _LIN, _MOD, _PAR, _PHA,
5052 _PIN, _PPI, _POL, _RXL, _SLV,
5053 _SPE, _STB, _TXL, _VEN.
5055 ACPICA External Interfaces:
5056 ---------------------------
5058 Several new interfaces have been defined for use by ACPI-related device
5059 drivers and other host OS services:
5061 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
5063 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
5064 provided by the BIOS. They are intended to be used in conjunction with
5066 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
5067 mutual exclusion with the AML code/interpreter.
5069 AcpiGetEventResources: Returns the (formatted) resource descriptors as
5071 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
5073 resource descriptors associated with hardware-reduced platform events,
5075 to the AcpiGetCurrentResources interface.
5077 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
5078 operation regions, information about the Connection() object and any
5080 length information is passed to the region handler within the Context
5083 AcpiBufferToResource: This interface converts a raw AML buffer containing
5085 resource template or resource descriptor to the ACPI_RESOURCE internal
5087 suitable for use by device drivers. Can be used by an operation region
5089 to convert the Connection() buffer object into a ACPI_RESOURCE.
5091 Miscellaneous/Tools/TestSuites:
5092 -------------------------------
5094 Support for extended _HID names (Four alpha characters instead of three).
5095 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5096 Support for ACPI 5.0 features in the ASLTS test suite.
5097 Fully updated documentation (ACPICA and iASL reference documents.)
5099 ACPI Table Definition Language:
5100 -------------------------------
5102 Support for this language was implemented and released as a subsystem of
5104 iASL compiler in 2010. (See the iASL compiler User Guide.)
5107 Non-ACPI 5.0 changes for this release:
5108 --------------------------------------
5110 1) ACPICA Core Subsystem:
5112 Fix a problem with operation region declarations where a failure can
5115 the region name and an argument that evaluates to an object (such as the
5116 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
5119 Do not abort an ACPI table load if an invalid space ID is found within.
5121 will be caught later if the offending method is executed. ACPICA BZ 925.
5123 Fixed an issue with the FFixedHW space ID where the ID was not always
5124 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5126 Fixed a problem with the 32-bit generation of the unix-specific OSL
5127 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5129 Several changes made to enable generation with the GCC 4.6 compiler.
5133 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
5135 field registers out-of-range.
5137 2) iASL Compiler/Disassembler and Tools:
5139 iASL: Implemented the __PATH__ operator, which returns the full pathname
5141 the current source file.
5143 AcpiHelp: Automatically display expanded keyword information for all ASL
5146 Debugger: Add "Template" command to disassemble/dump resource template
5149 Added a new master script to generate and execute the ASLTS test suite.
5150 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5152 iASL: Fix problem with listing generation during processing of the
5154 operator where AML listing was disabled until the entire Switch block was
5157 iASL: Improve support for semicolon statement terminators. Fix "invalid
5158 character" message for some cases when the semicolon is used. Semicolons
5160 now allowed after every <Term> grammar element. ACPICA BZ 927.
5162 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
5165 Disassembler: Fix problem with disassembly of the DataTableRegion
5167 where an inadvertent "Unhandled deferred opcode" message could be
5170 3) Example Code and Data Size
5172 These are the sizes for the OS-independent acpica.lib produced by the
5173 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5174 includes the debug output trace mechanism and has a much larger code and
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
5182 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
5183 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
5185 ----------------------------------------
5186 22 September 2011. Summary of changes for version 20110922:
5190 Support for ACPI 5.0 in ACPICA has been underway for several months and
5192 be released at the same time that ACPI 5.0 is officially released.
5194 The ACPI 5.0 specification is on track for release in the next few
5197 1) ACPICA Core Subsystem:
5199 Fixed a problem where the maximum sleep time for the Sleep() operator was
5200 intended to be limited to two seconds, but was inadvertently limited to
5204 Linux and Unix makefiles: Added header file dependencies to ensure
5206 generation of ACPICA core code and utilities. Also simplified the
5208 considerably through the use of the vpath variable to specify search
5212 2) iASL Compiler/Disassembler and Tools:
5214 iASL: Implemented support to check the access length for all fields
5216 access named Resource Descriptor fields. For example, if a resource field
5218 defined to be two bits, a warning is issued if a CreateXxxxField() is
5220 with an incorrect bit length. This is implemented for all current
5222 descriptor names. ACPICA BZ 930.
5224 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
5228 iASL: Fixed a couple of issues associated with variable-length package
5229 objects. 1) properly handle constants like One, Ones, Zero -- do not make
5231 VAR_PACKAGE when these are used as a package length. 2) Allow the
5233 opcode (in addition to PACKAGE) when validating object types for
5237 iASL: Emit statistics for all output files (instead of just the ASL input
5239 AML output). Includes listings, hex files, etc.
5241 iASL: Added -G option to the table compiler to allow the compilation of
5243 ACPI tables. The only part of a table that is required is the standard
5248 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
5250 which also adds correct 64-bit support. Also, now all output filenames
5252 completely lower case.
5254 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
5255 loading table files. A warning is issued for any such tables. The only
5256 exception is an FADT. This also fixes a possible fault when attempting to
5258 non-AML tables. ACPICA BZ 932.
5260 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
5262 missing table terminator could cause a fault when using the -p option.
5264 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
5267 3) Example Code and Data Size
5269 These are the sizes for the OS-independent acpica.lib produced by the
5270 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5271 includes the debug output trace mechanism and has a much larger code and
5275 Previous Release (VC 9.0):
5276 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
5277 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5278 Current Release (VC 9.0):
5279 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
5280 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5283 ----------------------------------------
5284 23 June 2011. Summary of changes for version 20110623:
5286 1) ACPI CA Core Subsystem:
5288 Updated the predefined name repair mechanism to not attempt repair of a
5290 return object if a _PSS object is present. We can only sort the _TSS
5292 package if there is no _PSS within the same scope. This is because if
5295 present, the ACPI specification dictates that the _TSS Power Dissipation
5297 is to be ignored, and therefore some BIOSs leave garbage values in the
5299 Power field(s). In this case, it is best to just return the _TSS package
5301 is. Reported by, and fixed with assistance from Fenghua Yu.
5303 Added an option to globally disable the control method return value
5305 and repair. This runtime option can be used to disable return value
5308 this is causing a problem on a particular machine. Also added an option
5310 AcpiExec (-dr) to set this disable flag.
5312 All makefiles and project files: Major changes to improve generation of
5314 tools. ACPICA BZ 912:
5315 Reduce default optimization levels to improve compatibility
5316 For Linux, add strict-aliasing=0 for gcc 4
5317 Cleanup and simplify use of command line defines
5318 Cleanup multithread library support
5319 Improve usage messages
5321 Linux-specific header: update handling of THREAD_ID and pthread. For the
5323 bit case, improve casting to eliminate possible warnings, especially with
5327 Example Code and Data Size: These are the sizes for the OS-independent
5328 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5330 version of the code includes the debug output trace mechanism and has a
5332 larger code and data size.
5334 Previous Release (VC 9.0):
5335 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
5336 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5337 Current Release (VC 9.0):
5338 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
5339 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5341 2) iASL Compiler/Disassembler and Tools:
5343 With this release, a new utility named "acpihelp" has been added to the
5345 package. This utility summarizes the ACPI specification chapters for the
5347 and AML languages. It generates under Linux/Unix as well as Windows, and
5348 provides the following functionality:
5349 Find/display ASL operator(s) -- with description and syntax.
5350 Find/display ASL keyword(s) -- with exact spelling and descriptions.
5351 Find/display ACPI predefined name(s) -- with description, number
5352 of arguments, and the return value data type.
5353 Find/display AML opcode name(s) -- with opcode, arguments, and
5355 Decode/display AML opcode -- with opcode name, arguments, and
5358 Service Layers: Make multi-thread support configurable. Conditionally
5360 the multi-thread support so that threading libraries will not be linked
5363 necessary. The only tool that requires multi-thread support is AcpiExec.
5365 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
5367 Bison appear to want the interface to yyerror to be a const char * (or at
5368 least this is a problem when generating iASL on some systems.) ACPICA BZ
5372 Tools: Fix for systems where O_BINARY is not defined. Only used for
5374 versions of the tools.
5376 ----------------------------------------
5377 27 May 2011. Summary of changes for version 20110527:
5379 1) ACPI CA Core Subsystem:
5381 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
5383 signature. Now, only allow SSDT, OEMx, and a null signature. History:
5384 1) Originally, we checked the table signature for "SSDT" or "PSDT".
5385 (PSDT is now obsolete.)
5386 2) We added support for OEMx tables, signature "OEM" plus a fourth
5387 "don't care" character.
5388 3) Valid tables were encountered with a null signature, so we just
5389 gave up on validating the signature, (05/2008).
5390 4) We encountered non-AML tables such as the MADT, which caused
5391 interpreter errors and kernel faults. So now, we once again allow
5392 only SSDT, OEMx, and now, also a null signature. (05/2011).
5394 Added the missing _TDL predefined name to the global name list in order
5396 enable validation. Affects both the core ACPICA code and the iASL
5399 Example Code and Data Size: These are the sizes for the OS-independent
5400 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5402 version of the code includes the debug output trace mechanism and has a
5404 larger code and data size.
5406 Previous Release (VC 9.0):
5407 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
5408 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
5409 Current Release (VC 9.0):
5410 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
5411 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5413 2) iASL Compiler/Disassembler and Tools:
5415 Debugger/AcpiExec: Implemented support for "complex" method arguments on
5417 debugger command line. This adds support beyond simple integers --
5419 Strings, Buffers, and Packages. Includes support for nested packages.
5420 Increased the default command line buffer size to accommodate these
5422 See the ACPICA reference for details and syntax. ACPICA BZ 917.
5424 Debugger/AcpiExec: Implemented support for "default" method arguments for
5426 Execute/Debug command. Now, the debugger will always invoke a control
5428 with the required number of arguments -- even if the command line
5430 none or insufficient arguments. It uses default integer values for any
5432 arguments. Also fixes a bug where only six method arguments maximum were
5433 supported instead of the required seven.
5435 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
5437 also return status in order to prevent buffer overruns. See the ACPICA
5438 reference for details and syntax. ACPICA BZ 921
5440 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
5441 makefiles to simplify support for the two different but similar parser
5442 generators, bison and yacc.
5444 Updated the generic unix makefile for gcc 4. The default gcc version is
5446 expected to be 4 or greater, since options specific to gcc 4 are used.
5448 ----------------------------------------
5449 13 April 2011. Summary of changes for version 20110413:
5451 1) ACPI CA Core Subsystem:
5453 Implemented support to execute a so-called "orphan" _REG method under the
5455 device. This change will force the execution of a _REG method underneath
5458 device even if there is no corresponding operation region of type
5459 EmbeddedControl. Fixes a problem seen on some machines and apparently is
5460 compatible with Windows behavior. ACPICA BZ 875.
5462 Added more predefined methods that are eligible for automatic NULL
5464 element removal. This change adds another group of predefined names to
5467 of names that can be repaired by having NULL package elements dynamically
5468 removed. This group are those methods that return a single variable-
5470 package containing simple data types such as integers, buffers, strings.
5472 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
5475 and _TZD. ACPICA BZ 914.
5477 Split and segregated all internal global lock functions to a new file,
5480 Updated internal address SpaceID for DataTable regions. Moved this
5483 id in preparation for ACPI 5.0 changes that will include some new space
5486 change should not affect user/host code.
5488 Example Code and Data Size: These are the sizes for the OS-independent
5490 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5492 the code includes the debug output trace mechanism and has a much larger
5497 Previous Release (VC 9.0):
5498 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
5499 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
5500 Current Release (VC 9.0):
5501 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
5502 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
5504 2) iASL Compiler/Disassembler and Tools:
5506 iASL/DTC: Major update for new grammar features. Allow generic data types
5508 custom ACPI tables. Field names are now optional. Any line can be split
5510 multiple lines using the continuation char (\). Large buffers now use
5512 continuation character(s) and no colon on the continuation lines. See the
5514 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
5517 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
5519 Since the parser stuffs a "zero" as the return value for these statements
5522 the underlying AML grammar), they were seen as "return with value" by the
5524 semantic checking. They are now seen correctly as "null" return
5527 iASL: Check if a_REG declaration has a corresponding Operation Region.
5529 check for each _REG to ensure that there is in fact a corresponding
5531 region declaration in the same scope. If not, the _REG method is not very
5533 since it probably won't be executed. ACPICA BZ 915.
5535 iASL/DTC: Finish support for expression evaluation. Added a new
5538 that implements c-style operator precedence and parenthesization. ACPICA
5542 Disassembler/DTC: Remove support for () and <> style comments in data
5545 that DTC has full expression support, we don't want to have comment
5548 start with a parentheses or a less-than symbol. Now, only the standard /*
5551 comments are supported, as well as the bracket [] comments.
5553 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
5555 headers in the acpidump file. Update the header validation to support
5557 tables. Problem introduced in previous AcpiXtract version in the change
5559 support "wrong checksum" error messages emitted by acpidump utility.
5561 iASL: Add a * option to generate all template files (as a synonym for
5565 "iasl -T *" or "iasl -T ALL".
5567 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
5569 abort the compiler on "fatal" errors, simply should abort the current
5571 This allows multiple compiles with a single (possibly wildcard) compiler
5574 ----------------------------------------
5575 16 March 2011. Summary of changes for version 20110316:
5577 1) ACPI CA Core Subsystem:
5579 Fixed a problem caused by a _PRW method appearing at the namespace root
5581 during the setup of wake GPEs. A fault could occur if a _PRW directly
5584 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5586 Implemented support for "spurious" Global Lock interrupts. On some
5588 global lock interrupt can occur without the pending flag being set. Upon
5591 interrupt, we now ensure that a thread is actually waiting for the lock
5593 signaling GL availability. Rafael Wysocki, Bob Moore.
5595 Example Code and Data Size: These are the sizes for the OS-independent
5597 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5599 the code includes the debug output trace mechanism and has a much larger
5604 Previous Release (VC 9.0):
5605 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5606 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5607 Current Release (VC 9.0):
5608 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
5609 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
5611 2) iASL Compiler/Disassembler and Tools:
5613 Implemented full support for the "SLIC" ACPI table. Includes support in
5615 header files, disassembler, table compiler, and template generator. Bob
5619 AcpiXtract: Correctly handle embedded comments and messages from
5621 Apparently some or all versions of acpidump will occasionally emit a
5624 "Wrong checksum", etc., into the dump file. This was causing problems for
5625 AcpiXtract. ACPICA BZ 905.
5627 iASL: Fix the Linux makefile by removing an inadvertent double file
5631 AcpiExec: Update installation of operation region handlers. Install one
5633 for a user-defined address space. This is used by the ASL test suite
5636 ----------------------------------------
5637 11 February 2011. Summary of changes for version 20110211:
5639 1) ACPI CA Core Subsystem:
5641 Added a mechanism to defer _REG methods for some early-installed
5643 Most user handlers should be installed before call to
5644 AcpiEnableSubsystem.
5645 However, Event handlers and region handlers should be installed after
5646 AcpiInitializeObjects. Override handlers for the "default" regions should
5648 installed early, however. This change executes all _REG methods for the
5649 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
5650 chicken/egg issues between them. ACPICA BZ 848.
5652 Implemented an optimization for GPE detection. This optimization will
5654 ignore GPE registers that contain no enabled GPEs -- there is no need to
5655 read the register since this information is available internally. This
5656 becomes more important on machines with a large GPE space. ACPICA
5658 884. Lin Ming. Suggestion from Joe Liu.
5660 Removed all use of the highly unreliable FADT revision field. The
5662 number in the FADT has been found to be completely unreliable and cannot
5664 trusted. Only the actual table length can be used to infer the version.
5666 change updates the ACPICA core and the disassembler so that both no
5668 even look at the FADT version and instead depend solely upon the FADT
5671 Fix an unresolved name issue for the no-debug and no-error-message source
5672 generation cases. The _AcpiModuleName was left undefined in these cases,
5674 it is actually needed as a parameter to some interfaces. Define
5675 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5677 Split several large files (makefiles and project files updated)
5678 utglobal.c -> utdecode.c
5679 dbcomds.c -> dbmethod.c dbnames.c
5680 dsopcode.c -> dsargs.c dscontrol.c
5681 dsload.c -> dsload2.c
5682 aslanalyze.c -> aslbtypes.c aslwalks.c
5684 Example Code and Data Size: These are the sizes for the OS-independent
5685 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5686 debug version of the code includes the debug output trace mechanism and
5688 a much larger code and data size.
5690 Previous Release (VC 9.0):
5691 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5692 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5693 Current Release (VC 9.0):
5694 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5695 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5697 2) iASL Compiler/Disassembler and Tools:
5699 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
5700 These are useful C-style macros with the standard definitions. ACPICA
5703 iASL/DTC: Added support for integer expressions and labels. Support for
5705 expressions for all integer fields in all ACPI tables. Support for labels
5707 "generic" portions of tables such as UEFI. See the iASL reference manual.
5709 Debugger: Added a command to display the status of global handlers. The
5710 "handlers" command will display op region, fixed event, and miscellaneous
5711 global handlers. installation status -- and for op regions, whether
5713 or user-installed handler will be used.
5715 iASL: Warn if reserved method incorrectly returns a value. Many
5717 names are defined such that they do not return a value. If implemented as
5719 method, issue a warning if such a name explicitly returns a value. ACPICA
5722 iASL: Added detection of GPE method name conflicts. Detects a conflict
5724 there are two GPE methods of the form _Lxy and _Exy in the same scope.
5726 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5728 iASL/DTC: Fixed a couple input scanner issues with comments and line
5729 numbers. Comment remover could get confused and miss a comment ending.
5731 a problem with line counter maintenance.
5733 iASL/DTC: Reduced the severity of some errors from fatal to error. There
5735 no need to abort on simple errors within a field definition.
5737 Debugger: Simplified the output of the help command. All help output now
5739 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5741 ----------------------------------------
5742 12 January 2011. Summary of changes for version 20110112:
5744 1) ACPI CA Core Subsystem:
5746 Fixed a race condition between method execution and namespace walks that
5748 possibly cause a fault. The problem was apparently introduced in version
5749 20100528 as a result of a performance optimization that reduces the
5752 namespace walks upon method exit by using the delete_namespace_subtree
5753 function instead of the delete_namespace_by_owner function used
5755 Bug is a missing namespace lock in the delete_namespace_subtree function.
5756 dana.myers@oracle.com
5758 Fixed several issues and a possible fault with the automatic "serialized"
5759 method support. History: This support changes a method to "serialized" on
5761 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
5762 possibility that it cannot handle reentrancy. This fix repairs a couple
5764 issues seen in the field, especially on machines with many cores:
5766 1) Delete method children only upon the exit of the last thread,
5767 so as to not delete objects out from under other running threads
5768 (and possibly causing a fault.)
5769 2) Set the "serialized" bit for the method only upon the exit of the
5770 Last thread, so as to not cause deadlock when running threads
5772 3) Cleanup the use of the AML "MethodFlags" and internal method flags
5773 so that there is no longer any confusion between the two.
5775 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5777 Debugger: Now lock the namespace for duration of a namespace dump.
5779 issues if the namespace is changing dynamically underneath the debugger.
5780 Especially affects temporary namespace nodes, since the debugger displays
5783 Updated the ordering of include files. The ACPICA headers should appear
5784 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
5786 any necessary compiler-specific defines, etc. Affects the ACPI-related
5790 Updated all ACPICA copyrights and signons to 2011. Added the 2011
5792 to all module headers and signons, including the Linux header. This
5794 virtually every file in the ACPICA core subsystem, iASL compiler, and all
5797 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
5798 project files for VC++ 6.0 are now obsolete. New project files can be
5800 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
5803 Example Code and Data Size: These are the sizes for the OS-independent
5804 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5805 debug version of the code includes the debug output trace mechanism and
5807 much larger code and data size.
5809 Previous Release (VC 6.0):
5810 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
5811 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
5812 Current Release (VC 9.0):
5813 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5814 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5816 2) iASL Compiler/Disassembler and Tools:
5818 iASL: Added generic data types to the Data Table compiler. Add "generic"
5820 types such as UINT32, String, Unicode, etc., to simplify the generation
5822 platform-defined tables such as UEFI. Lin Ming.
5824 iASL: Added listing support for the Data Table Compiler. Adds listing
5826 (-l) to display actual binary output for each line of input code.
5828 ----------------------------------------
5829 09 December 2010. Summary of changes for version 20101209:
5831 1) ACPI CA Core Subsystem:
5833 Completed the major overhaul of the GPE support code that was begun in
5835 2010. Major features include: removal of _PRW execution in ACPICA (host
5836 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
5837 changes to existing interfaces, simplification of GPE handler operation,
5839 a handful of new interfaces:
5845 One new file, evxfgpe.c to consolidate all external GPE interfaces.
5847 See the ACPICA Programmer Reference for full details and programming
5848 information. See the new section 4.4 "General Purpose Event (GPE)
5850 for a full overview, and section 8.7 "ACPI General Purpose Event
5852 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
5854 Bob Moore, Rafael Wysocki.
5856 Implemented a new GPE feature for Windows compatibility, the "Implicit
5858 GPE Notify". This feature will automatically issue a Notify(2) on a
5860 when a Wake GPE is received if there is no corresponding GPE method or
5861 handler. ACPICA BZ 870.
5863 Fixed a problem with the Scope() operator during table parse and load
5865 During load phase (table load or method execution), the scope operator
5867 not enter the target into the namespace. Instead, it should open a new
5869 at the target location. Linux BZ 19462, ACPICA BZ 882.
5871 Example Code and Data Size: These are the sizes for the OS-independent
5872 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5873 debug version of the code includes the debug output trace mechanism and
5875 much larger code and data size.
5878 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
5879 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
5881 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5882 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5884 2) iASL Compiler/Disassembler and Tools:
5886 iASL: Relax the alphanumeric restriction on _CID strings. These strings
5888 "bus-specific" per the ACPI specification, and therefore any characters
5890 acceptable. The only checks that can be performed are for a null string
5892 perhaps for a leading asterisk. ACPICA BZ 886.
5894 iASL: Fixed a problem where a syntax error that caused a premature EOF
5895 condition on the source file emitted a very confusing error message. The
5896 premature EOF is now detected correctly. ACPICA BZ 891.
5898 Disassembler: Decode the AccessSize within a Generic Address Structure
5900 access, word access, etc.) Note, this field does not allow arbitrary bit
5901 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5903 New: AcpiNames utility - Example namespace dump utility. Shows an example
5905 ACPICA configuration for a minimal namespace dump utility. Uses table and
5906 namespace managers, but no AML interpreter. Does not add any
5908 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
5909 partition and configure ACPICA. ACPICA BZ 883.
5911 AML Debugger: Increased the debugger buffer size for method return
5913 Was 4K, increased to 16K. Also enhanced error messages for debugger
5915 execution, including the buffer overflow case.
5917 ----------------------------------------
5918 13 October 2010. Summary of changes for version 20101013:
5920 1) ACPI CA Core Subsystem:
5922 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
5924 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
5925 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5927 Changed the type of the predefined namespace object _TZ from ThermalZone
5929 Device. This was found to be confusing to the host software that
5931 the various thermal zones, since _TZ is not really a ThermalZone.
5934 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
5937 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
5938 string is "Windows 2006 SP2".
5940 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
5942 code automatically repairs _HID-related strings, this type of code is no
5943 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
5946 Example Code and Data Size: These are the sizes for the OS-independent
5947 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5948 debug version of the code includes the debug output trace mechanism and
5950 much larger code and data size.
5953 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5954 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5956 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5957 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5959 2) iASL Compiler/Disassembler and Tools:
5961 iASL: Implemented additional compile-time validation for _HID strings.
5963 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
5966 the string must be exactly seven or eight characters. For both _HID and
5968 strings, all characters must be alphanumeric. ACPICA BZ 874.
5970 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
5971 descriptors that are mostly or all zeros, with the expectation that they
5973 be filled in at runtime. iASL now allows this as long as there is a
5975 tag" (name) associated with the descriptor, which gives the ASL a handle
5976 needed to modify the descriptor. ACPICA BZ 873.
5978 Added single-thread support to the generic Unix application OSL.
5980 for iASL support, this change removes the use of semaphores in the
5982 threaded ACPICA tools/applications - increasing performance. The
5983 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
5984 option. ACPICA BZ 879.
5986 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
5988 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5990 iASL: Moved all compiler messages to a new file, aslmessages.h.
5992 ----------------------------------------
5993 15 September 2010. Summary of changes for version 20100915:
5995 1) ACPI CA Core Subsystem:
5997 Removed the AcpiOsDerivePciId OSL interface. The various host
5999 of this function were not OS-dependent and are now obsolete and can be
6000 removed from all host OSLs. This function has been replaced by
6001 AcpiHwDerivePciId, which is now part of the ACPICA core code.
6002 AcpiHwDerivePciId has been implemented without recursion. Adds one new
6003 module, hwpci.c. ACPICA BZ 857.
6005 Implemented a dynamic repair for _HID and _CID strings. The following
6006 problems are now repaired at runtime: 1) Remove a leading asterisk in the
6007 string, and 2) the entire string is uppercased. Both repairs are in
6008 accordance with the ACPI specification and will simplify host driver
6012 The ACPI_THREAD_ID type is no longer configurable, internally it is now
6013 always UINT64. This simplifies the ACPICA code, especially any printf
6015 UINT64 is the only common data type for all thread_id types across all
6016 operating systems. It is now up to the host OSL to cast the native
6018 type to UINT64 before returning the value to ACPICA (via
6020 Lin Ming, Bob Moore.
6022 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
6024 keyword is not standard across compilers, and this type allows inline to
6026 configured on a per-compiler basis. Lin Ming.
6028 Made the system global AcpiGbl_SystemAwakeAndRunning publically
6030 Added an extern for this boolean in acpixf.h. Some hosts utilize this
6032 during suspend/restore operations. ACPICA BZ 869.
6034 All code that implements error/warning messages with the "ACPI:" prefix
6036 been moved to a new module, utxferror.c.
6038 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
6040 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6042 Example Code and Data Size: These are the sizes for the OS-independent
6043 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6044 debug version of the code includes the debug output trace mechanism and
6046 much larger code and data size.
6049 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
6050 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
6052 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
6053 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
6055 2) iASL Compiler/Disassembler and Tools:
6057 iASL/Disassembler: Write ACPI errors to stderr instead of the output
6059 This keeps the output files free of random error messages that may
6061 from within the namespace/interpreter code. Used this opportunity to
6063 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
6064 866. Lin Ming, Bob Moore.
6066 Tools: update some printfs for ansi warnings on size_t. Handle width
6068 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6070 ----------------------------------------
6071 06 August 2010. Summary of changes for version 20100806:
6073 1) ACPI CA Core Subsystem:
6075 Designed and implemented a new host interface to the _OSI support code.
6077 will allow the host to dynamically add or remove multiple _OSI strings,
6079 well as install an optional handler that is called for each _OSI
6081 Also added a new AML debugger command, 'osi' to display and modify the
6083 _OSI string table, and test support in the AcpiExec utility. See the
6085 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6087 AcpiInstallInterface - Add an _OSI string.
6088 AcpiRemoveInterface - Delete an _OSI string.
6089 AcpiInstallInterfaceHandler - Install optional _OSI handler.
6091 AcpiOsValidateInterface - no longer used.
6093 source/components/utilities/utosi.c
6095 Re-introduced the support to enable multi-byte transfers for Embedded
6096 Controller (EC) operation regions. A reported problem was found to be a
6098 in the host OS, not in the multi-byte support. Previously, the maximum
6100 size passed to the EC operation region handler was a single byte. There
6102 often EC Fields larger than one byte that need to be transferred, and it
6104 useful for the EC driver to lock these as a single transaction. This
6106 enables single transfers larger than 8 bits. This effectively changes the
6107 access to the EC space from ByteAcc to AnyAcc, and will probably require
6108 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6110 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6112 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
6113 prototype in acpiosxf.h had the output value pointer as a (void *).
6114 It should be a (UINT64 *). This may affect some host OSL code.
6116 Fixed a couple problems with the recently modified Linux makefiles for
6118 and AcpiExec. These new makefiles place the generated object files in the
6119 local directory so that there can be no collisions between the files that
6121 shared between them that are compiled with different options.
6123 Example Code and Data Size: These are the sizes for the OS-independent
6124 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6125 debug version of the code includes the debug output trace mechanism and
6127 much larger code and data size.
6130 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
6131 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
6133 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
6134 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
6136 2) iASL Compiler/Disassembler and Tools:
6138 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
6140 namespace from and disassemble an entire group of AML files. Useful for
6141 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
6143 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6145 iASL: Allow multiple invocations of -e option. This change allows
6147 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
6151 ----------------------------------------
6152 02 July 2010. Summary of changes for version 20100702:
6154 1) ACPI CA Core Subsystem:
6156 Implemented several updates to the recently added GPE reference count
6157 support. The model for "wake" GPEs is changing to give the host OS
6159 control of these GPEs. Eventually, the ACPICA core will not execute any
6161 methods, since the host already must execute them. Also, additional
6163 were made to help ensure that the reference counts are kept in proper
6164 synchronization with reality. Rafael J. Wysocki.
6166 1) Ensure that GPEs are not enabled twice during initialization.
6167 2) Ensure that GPE enable masks stay in sync with the reference count.
6168 3) Do not inadvertently enable GPEs when writing GPE registers.
6169 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
6170 interface. This interface will set or clear individual GPEs for wakeup.
6171 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
6173 are now used for "runtime" GPEs only.
6175 Changed the behavior of the GPE install/remove handler interfaces. The
6178 no longer disabled during this process, as it was found to cause problems
6180 some machines. Rafael J. Wysocki.
6182 Reverted a change introduced in version 20100528 to enable Embedded
6183 Controller multi-byte transfers. This change was found to cause problems
6185 Index Fields and possibly Bank Fields. It will be reintroduced when these
6186 problems have been resolved.
6188 Fixed a problem with references to Alias objects within Package Objects.
6190 reference to an Alias within the definition of a Package was not always
6191 resolved properly. Aliases to objects like Processors, Thermal zones,
6193 were resolved to the actual object instead of a reference to the object
6196 should be. Package objects are only allowed to contain integer, string,
6197 buffer, package, and reference objects. Redhat bugzilla 608648.
6199 Example Code and Data Size: These are the sizes for the OS-independent
6200 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6201 debug version of the code includes the debug output trace mechanism and
6203 much larger code and data size.
6206 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
6207 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
6209 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
6210 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
6212 2) iASL Compiler/Disassembler and Tools:
6214 iASL: Implemented a new compiler subsystem to allow definition and
6215 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
6217 are called "ACPI Data Tables", and the new compiler is the "Data Table
6218 Compiler". This compiler is intended to simplify the existing error-prone
6219 process of creating these tables for the BIOS, as well as allowing the
6220 disassembly, modification, recompilation, and override of existing ACPI
6222 tables. See the iASL User Guide for detailed information.
6224 iASL: Implemented a new Template Generator option in support of the new
6226 Table Compiler. This option will create examples of all known ACPI tables
6227 that can be used as the basis for table development. See the iASL
6228 documentation and the -T option.
6230 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
6233 Updated the Linux makefiles for iASL and AcpiExec to place the generated
6234 object files in the local directory so that there can be no collisions
6235 between the shared files between them that are generated with different
6238 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
6240 the #define __APPLE__ to enable this support.
6242 ----------------------------------------
6243 28 May 2010. Summary of changes for version 20100528:
6245 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
6246 available at www.acpi.info. This is primarily an errata release.
6248 1) ACPI CA Core Subsystem:
6250 Undefined ACPI tables: We are looking for the definitions for the
6252 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6254 Implemented support to enable multi-byte transfers for Embedded
6256 (EC) operation regions. Previously, the maximum data size passed to the
6258 operation region handler was a single byte. There are often EC Fields
6260 than one byte that need to be transferred, and it is useful for the EC
6262 to lock these as a single transaction. This change enables single
6264 larger than 8 bits. This effectively changes the access to the EC space
6266 ByteAcc to AnyAcc, and will probably require changes to the host OS
6268 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6270 transfers. Alexey Starikovskiy, Lin Ming
6272 Implemented a performance enhancement for namespace search and access.
6274 change enhances the performance of namespace searches and walks by adding
6276 backpointer to the parent in each namespace node. On large namespaces,
6278 change can improve overall ACPI performance by up to 9X. Adding a pointer
6280 each namespace node increases the overall size of the internal namespace
6282 about 5%, since each namespace entry usually consists of both a namespace
6283 node and an ACPI operand object. However, this is the first growth of the
6284 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6286 Implemented a performance optimization that reduces the number of
6288 walks. On control method exit, only walk the namespace if the method is
6290 to have created namespace objects outside of its local scope. Previously,
6292 entire namespace was traversed on each control method exit. This change
6294 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
6297 Added support to truncate I/O addresses to 16 bits for Windows
6299 Some ASL code has been seen in the field that inadvertently has bits set
6300 above bit 15. This feature is optional and is enabled if the BIOS
6302 any Windows OSI strings. It can also be enabled by the host OS. Matthew
6305 Added support to limit the maximum time for the ASL Sleep() operator. To
6306 prevent accidental deep sleeps, limit the maximum time that Sleep() will
6307 actually sleep. Configurable, the default maximum is two seconds. ACPICA
6310 Added run-time validation support for the _WDG and_WED Microsoft
6312 methods. These objects are defined by "Windows Instrumentation", and are
6314 part of the ACPI spec. ACPICA BZ 860.
6316 Expanded all statistic counters used during namespace and device
6317 initialization from 16 to 32 bits in order to support very large
6320 Replaced all instances of %d in printf format specifiers with %u since
6322 all integers in ACPICA are unsigned.
6324 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
6328 Example Code and Data Size: These are the sizes for the OS-independent
6329 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6330 debug version of the code includes the debug output trace mechanism and
6332 much larger code and data size.
6335 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
6336 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
6338 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
6339 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
6341 2) iASL Compiler/Disassembler and Tools:
6343 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
6344 methods. These objects are defined by "Windows Instrumentation", and are
6346 part of the ACPI spec. ACPICA BZ 860.
6348 AcpiExec: added option to disable the memory tracking mechanism. The -dt
6349 option will disable the tracking mechanism, which improves performance
6352 AcpiExec: Restructured the command line options into -d (disable) and -e
6355 ----------------------------------------
6356 28 April 2010. Summary of changes for version 20100428:
6358 1) ACPI CA Core Subsystem:
6360 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
6361 including FADT-based and GPE Block Devices, execute any _PRW methods in
6363 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
6364 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
6365 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
6366 Devices. Provides compatibility with other ACPI implementations. Two new
6367 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
6370 Fixed a regression introduced in version 20100331 within the table
6372 where initial table loading could fail. This was introduced in the fix
6374 AcpiReallocateRootTable. Also, renamed some of fields in the table
6376 data structures to clarify their meaning and use.
6378 Fixed a possible allocation overrun during internal object copy in
6379 AcpiUtCopySimpleObject. The original code did not correctly handle the
6381 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
6384 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
6385 possible access beyond end-of-allocation. Also, now fully validate
6387 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6389 Example Code and Data Size: These are the sizes for the OS-independent
6390 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6391 debug version of the code includes the debug output trace mechanism and
6393 much larger code and data size.
6396 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
6397 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
6399 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
6400 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
6402 2) iASL Compiler/Disassembler and Tools:
6404 iASL: Implemented Min/Max/Len/Gran validation for address resource
6405 descriptors. This change implements validation for the address fields
6407 are common to all address-type resource descriptors. These checks are
6408 implemented: Checks for valid Min/Max, length within the Min/Max window,
6409 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
6411 table 6-40 in the ACPI 4.0a specification. Also split the large
6413 and aslrestype2.c files into five new files. ACPICA BZ 840.
6415 iASL: Added support for the _Wxx predefined names. This support was
6417 and these names were not recognized by the compiler as valid predefined
6418 names. ACPICA BZ 851.
6420 iASL: Added an error for all predefined names that are defined to return
6422 value and thus must be implemented as Control Methods. These include all
6424 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
6425 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6427 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
6429 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
6431 dynamically loaded via the Load() operator. Also cleaned up output for
6434 ta and -tc options. ACPICA BZ 853.
6436 Tests: Added a new file with examples of extended iASL error checking.
6437 Demonstrates the advanced error checking ability of the iASL compiler.
6438 Available at tests/misc/badcode.asl.
6440 ----------------------------------------
6441 31 March 2010. Summary of changes for version 20100331:
6443 1) ACPI CA Core Subsystem:
6445 Completed a major update for the GPE support in order to improve support
6447 shared GPEs and to simplify both host OS and ACPICA code. Added a
6449 count mechanism to support shared GPEs that require multiple device
6451 Several external interfaces have changed. One external interface has been
6452 removed. One new external interface was added. Most of the GPE external
6453 interfaces now use the GPE spinlock instead of the events mutex (and the
6454 Flags parameter for many GPE interfaces has been removed.) See the
6456 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
6458 Wysocki. ACPICA BZ 831.
6461 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6467 Implemented write support for DataTable operation regions. These regions
6469 defined via the DataTableRegion() operator. Previously, only read support
6471 implemented. The ACPI specification allows DataTableRegions to be
6475 Implemented a new subsystem option to force a copy of the DSDT to local
6476 memory. Optionally copy the entire DSDT to local memory (instead of
6478 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
6480 the original DSDT, creating the need for this option. Default is FALSE,
6484 Implemented detection of a corrupted or replaced DSDT. This change adds
6485 support to detect a DSDT that has been corrupted and/or replaced from
6487 the OS (by firmware). This is typically catastrophic for the system, but
6489 been seen on some machines. Once this problem has been detected, the DSDT
6490 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6492 Fixed two problems with AcpiReallocateRootTable during the root table
6494 When copying the root table to the new allocation, the length used was
6495 incorrect. The new size was used instead of the current table size,
6497 too much data was copied. Also, the count of available slots for ACPI
6499 was not set correctly. Alexey Starikovskiy, Bob Moore.
6501 Example Code and Data Size: These are the sizes for the OS-independent
6502 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6503 debug version of the code includes the debug output trace mechanism and
6505 much larger code and data size.
6508 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
6509 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
6511 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
6512 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
6514 2) iASL Compiler/Disassembler and Tools:
6516 iASL: Implement limited typechecking for values returned from predefined
6517 control methods. The type of any returned static (unnamed) object is now
6518 validated. For example, Return(1). ACPICA BZ 786.
6520 iASL: Fixed a predefined name object verification regression. Fixes a
6522 introduced in version 20100304. An error is incorrectly generated if a
6523 predefined name is declared as a static named object with a value defined
6524 using the keywords "Zero", "One", or "Ones". Lin Ming.
6526 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
6528 reducing the requested registry access rights. ACPICA BZ 842.
6530 Disassembler: fixed a possible fault when generating External()
6532 Introduced in commit ae7d6fd: Properly handle externals with parent-
6534 (carat). Fixes a string length allocation calculation. Lin Ming.
6536 ----------------------------------------
6537 04 March 2010. Summary of changes for version 20100304:
6539 1) ACPI CA Core Subsystem:
6541 Fixed a possible problem with the AML Mutex handling function
6542 AcpiExReleaseMutex where the function could fault under the very rare
6543 condition when the interpreter has blocked, the interpreter lock is
6545 the interpreter is then reentered via the same thread, and attempts to
6546 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
6550 Implemented additional configuration support for the AML "Debug Object".
6551 Output from the debug object can now be enabled via a global variable,
6552 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
6554 This debug output is now available in the release version of ACPICA
6556 of just the debug version. Also, the entire debug output module can now
6558 configured out of the ACPICA build if desired. One new file added,
6559 executer/exdebug.c. Lin Ming, Bob Moore.
6561 Added header support for the ACPI MCHI table (Management Controller Host
6562 Interface Table). This table was added in ACPI 4.0, but the defining
6564 has only recently become available.
6566 Standardized output of integer values for ACPICA warnings/errors. Always
6568 0x prefix for hex output, always use %u for unsigned integer decimal
6570 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
6572 invocations.) These invocations were converted from the original
6573 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6575 Example Code and Data Size: These are the sizes for the OS-independent
6576 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6577 debug version of the code includes the debug output trace mechanism and
6579 much larger code and data size.
6582 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
6583 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
6585 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
6586 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
6588 2) iASL Compiler/Disassembler and Tools:
6590 iASL: Implemented typechecking support for static (non-control method)
6591 predefined named objects that are declared with the Name() operator. For
6592 example, the type of this object is now validated to be of type Integer:
6593 Name(_BBN, 1). This change migrates the compiler to using the core
6595 name table instead of maintaining a local version. Added a new file,
6596 aslpredef.c. ACPICA BZ 832.
6598 Disassembler: Added support for the ACPI 4.0 MCHI table.
6600 ----------------------------------------
6601 21 January 2010. Summary of changes for version 20100121:
6603 1) ACPI CA Core Subsystem:
6605 Added the 2010 copyright to all module headers and signons. This affects
6606 virtually every file in the ACPICA core subsystem, the iASL compiler, the
6607 tools/utilities, and the test suites.
6609 Implemented a change to the AcpiGetDevices interface to eliminate
6611 invocations of the _STA method. In the case where a specific _HID is
6612 requested, do not run _STA until a _HID match is found. This eliminates
6613 potentially dozens of _STA calls during a search for a particular
6615 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6617 Implemented an additional repair for predefined method return values.
6619 to repair unexpected NULL elements within returned Package objects.
6622 Integer of value zero, a NULL String, or a zero-length Buffer as
6624 ACPICA BZ 818. Lin Ming, Bob Moore.
6626 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
6628 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
6630 64-bit AML integers). It is now obsolete and this change removes it from
6632 ACPICA code base, replaced by UINT64. The original typedef has been
6634 for now for compatibility with existing device driver code. ACPICA BZ
6637 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
6639 the parse tree object.
6641 Added additional warning options for the gcc-4 generation. Updated the
6643 accordingly. This includes some code restructuring to eliminate
6645 code, elimination of some gotos, elimination of unused return values,
6647 additional casting, and removal of redundant declarations.
6649 Example Code and Data Size: These are the sizes for the OS-independent
6650 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6651 debug version of the code includes the debug output trace mechanism and
6653 much larger code and data size.
6656 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
6657 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
6659 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
6660 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
6662 2) iASL Compiler/Disassembler and Tools:
6664 No functional changes for this release.
6666 ----------------------------------------
6667 14 December 2009. Summary of changes for version 20091214:
6669 1) ACPI CA Core Subsystem:
6671 Enhanced automatic data type conversions for predefined name repairs.
6673 change expands the automatic repairs/conversions for predefined name
6675 values to make Integers, Strings, and Buffers fully interchangeable.
6678 Buffer can be converted to a Package of Integers if necessary. The
6680 module was completely restructured. Lin Ming, Bob Moore.
6682 Implemented automatic removal of null package elements during predefined
6684 repairs. This change will automatically remove embedded and trailing NULL
6685 package elements from returned package objects that are defined to
6688 variable number of sub-packages. The driver is then presented with a
6690 with no null elements to deal with. ACPICA BZ 819.
6692 Implemented a repair for the predefined _FDE and _GTM names. The expected
6693 return value for both names is a Buffer of 5 DWORDs. This repair fixes
6695 possible problems (both seen in the field), where a package of integers
6697 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
6700 Implemented additional module-level code support. This change will
6702 execute module-level code that is not at the root of the namespace (under
6704 Device object, etc.). Now executes the code within the current scope
6706 of the root. ACPICA BZ 762. Lin Ming.
6708 Fixed possible mutex acquisition errors when running _REG methods. Fixes
6710 problem where mutex errors can occur when running a _REG method that is
6712 the same scope as a method-defined operation region or an operation
6714 under a module-level IF block. This type of code is rare, so the problem
6716 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6718 Fixed a possible memory leak during module-level code execution. An
6720 could be leaked for each block of executed module-level code if the
6721 interpreter slack mode is enabled This change deletes any implicitly
6723 object from the module-level code block. Lin Ming.
6725 Removed messages for successful predefined repair(s). The repair
6727 was considered too wordy. Now, messages are only unconditionally emitted
6729 the return object cannot be repaired. Existing messages for successful
6730 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
6733 Example Code and Data Size: These are the sizes for the OS-independent
6734 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6735 debug version of the code includes the debug output trace mechanism and
6737 much larger code and data size.
6740 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
6741 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
6743 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
6744 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
6746 2) iASL Compiler/Disassembler and Tools:
6748 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
6750 were no longer automatically removed at the termination of the compile.
6752 acpiexec: Implemented the -f option to specify default region fill value.
6753 This option specifies the value used to initialize buffers that simulate
6754 operation regions. Default value is zero. Useful for debugging problems
6756 depend on a specific initial value for a region or field.
6758 ----------------------------------------
6759 12 November 2009. Summary of changes for version 20091112:
6761 1) ACPI CA Core Subsystem:
6763 Implemented a post-order callback to AcpiWalkNamespace. The existing
6764 interface only has a pre-order callback. This change adds an additional
6765 parameter for a post-order callback which will be more useful for bus
6767 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6769 Modified the behavior of the operation region memory mapping cache for
6770 SystemMemory. Ensure that the memory mappings created for operation
6772 do not cross 4K page boundaries. Crossing a page boundary while mapping
6773 regions can cause kernel warnings on some hosts if the pages have
6775 attributes. Such regions are probably BIOS bugs, and this is the
6777 Linux BZ 14445. Lin Ming.
6779 Implemented an automatic repair for predefined methods that must return
6780 sorted lists. This change will repair (by sorting) packages returned by
6782 _PSS, and _TSS. Drivers can now assume that the packages are correctly
6784 and do not contain NULL package elements. Adds one new file,
6785 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6787 Fixed a possible fault during predefined name validation if a return
6789 object contains NULL elements. Also adds a warning if a NULL element is
6790 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
6792 include repair or removal of all such NULL elements where possible.
6794 Implemented additional module-level executable AML code support. This
6796 will execute module-level code that is not at the root of the namespace
6797 (under a Device object, etc.) at table load time. Module-level executable
6799 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6801 Implemented a new internal function to create Integer objects. This
6803 simplifies miscellaneous object creation code. ACPICA BZ 823.
6805 Reduced the severity of predefined repair messages, Warning to Info.
6807 the object was successfully repaired, a warning is too severe. Reduced to
6809 info message for now. These messages may eventually be changed to debug-
6813 Example Code and Data Size: These are the sizes for the OS-independent
6814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6815 debug version of the code includes the debug output trace mechanism and
6817 much larger code and data size.
6820 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
6821 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
6823 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
6824 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
6826 2) iASL Compiler/Disassembler and Tools:
6828 iASL: Implemented Switch() with While(1) so that Break works correctly.
6830 change correctly implements the Switch operator with a surrounding
6832 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6834 iASL: Added a message if a package initializer list is shorter than
6836 length. Adds a new remark for a Package() declaration if an initializer
6838 exists, but is shorter than the declared length of the package. Although
6839 technically legal, this is probably a coding error and it is seen in the
6840 field. ACPICA BZ 815. Lin Ming, Bob Moore.
6842 iASL: Fixed a problem where the compiler could fault after the maximum
6844 of errors was reached (200).
6846 acpixtract: Fixed a possible warning for pointer cast if the compiler
6848 level set very high.
6850 ----------------------------------------
6851 13 October 2009. Summary of changes for version 20091013:
6853 1) ACPI CA Core Subsystem:
6855 Fixed a problem where an Operation Region _REG method could be executed
6857 than once. If a custom address space handler is installed by the host
6859 the "initialize operation regions" phase of the ACPICA initialization,
6861 _REG methods for that address space could be executed twice. This change
6862 fixes the problem. ACPICA BZ 427. Lin Ming.
6864 Fixed a possible memory leak for the Scope() ASL operator. When the exact
6865 invocation of "Scope(\)" is executed (change scope to root), one internal
6866 operand object was leaked. Lin Ming.
6868 Implemented a run-time repair for the _MAT predefined method. If the _MAT
6869 return value is defined as a Field object in the AML, and the field
6870 size is less than or equal to the default width of an integer (32 or
6872 can incorrectly return an Integer instead of a Buffer. ACPICA now
6873 automatically repairs this problem. ACPICA BZ 810.
6875 Implemented a run-time repair for the _BIF and _BIX predefined methods.
6877 "OEM Information" field is often incorrectly returned as an Integer with
6878 value zero if the field is not supported by the platform. This is due to
6880 ambiguity in the ACPI specification. The field should always be a string.
6881 ACPICA now automatically repairs this problem by returning a NULL string
6882 within the returned Package. ACPICA BZ 807.
6884 Example Code and Data Size: These are the sizes for the OS-independent
6885 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6886 debug version of the code includes the debug output trace mechanism and
6888 much larger code and data size.
6891 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
6892 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
6894 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
6895 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
6897 2) iASL Compiler/Disassembler and Tools:
6899 Disassembler: Fixed a problem where references to external symbols that
6900 contained one or more parent-prefixes (carats) were not handled
6902 possibly causing a fault. ACPICA BZ 806. Lin Ming.
6904 Disassembler: Restructured the code so that all functions that handle
6905 external symbols are in a single module. One new file is added,
6908 AML Debugger: Added a max count argument for the Batch command (which
6909 executes multiple predefined methods within the namespace.)
6911 iASL: Updated the compiler documentation (User Reference.) Available at
6912 http://www.acpica.org/documentation/. ACPICA BZ 750.
6914 AcpiXtract: Updated for Lint and other formatting changes. Close all open
6917 ----------------------------------------
6918 03 September 2009. Summary of changes for version 20090903:
6920 1) ACPI CA Core Subsystem:
6922 For Windows Vista compatibility, added the automatic execution of an _INI
6923 method located at the namespace root (\_INI). This method is executed at
6924 table load time. This support is in addition to the automatic execution
6926 \_SB._INI. Lin Ming.
6928 Fixed a possible memory leak in the interpreter for AML package objects
6930 the package initializer list is longer than the defined size of the
6932 This apparently can only happen if the BIOS changes the package size on
6934 fly (seen in a _PSS object), as ASL compilers do not allow this. The
6935 interpreter will truncate the package to the defined size (and issue an
6937 message), but previously could leave the extra objects undeleted if they
6939 pre-created during the argument processing (such is the case if the
6941 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6943 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
6944 This has been reported in the field. Previously, ACPICA would zero out
6946 buffer/string. Now, the operation is treated as a noop. Provides Windows
6947 compatibility. ACPICA BZ 803. Lin Ming.
6949 Removed an extraneous error message for ASL constructs of the form
6950 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
6952 are seen in many BIOSs and are once again treated as NOOPs and no error
6954 emitted when they are encountered. ACPICA BZ 785.
6956 Fixed an extraneous warning message if a _DSM reserved method returns a
6957 Package object. _DSM can return any type of object, so validation on the
6958 return type cannot be performed. ACPICA BZ 802.
6960 Example Code and Data Size: These are the sizes for the OS-independent
6961 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6962 debug version of the code includes the debug output trace mechanism and
6964 much larger code and data size.
6967 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
6968 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
6970 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
6971 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
6973 2) iASL Compiler/Disassembler and Tools:
6975 iASL: Fixed a problem with the use of the Alias operator and Resource
6976 Templates. The correct alias is now constructed and no error is emitted.
6979 iASL: Implemented the -I option to specify additional search directories
6981 include files. Allows multiple additional search paths for include files.
6982 Directories are searched in the order specified on the command line
6984 the local directory is searched.) ACPICA BZ 800.
6986 iASL: Fixed a problem where the full pathname for include files was not
6987 emitted for warnings/errors. This caused the IDE support to not work
6988 properly. ACPICA BZ 765.
6990 iASL: Implemented the -@ option to specify a Windows-style response file
6991 containing additional command line options. ACPICA BZ 801.
6993 AcpiExec: Added support to load multiple AML files simultaneously (such
6996 DSDT and multiple SSDTs). Also added support for wildcards within the AML
6997 pathname. These features allow all machine tables to be easily loaded and
6998 debugged together. ACPICA BZ 804.
7000 Disassembler: Added missing support for disassembly of HEST table Error
7004 ----------------------------------------
7005 30 July 2009. Summary of changes for version 20090730:
7007 The ACPI 4.0 implementation for ACPICA is complete with this release.
7009 1) ACPI CA Core Subsystem:
7011 ACPI 4.0: Added header file support for all new and changed ACPI tables.
7012 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
7014 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
7016 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
7018 have been some ACPI 4.0 changes to other existing tables. Split the large
7019 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7021 ACPI 4.0: Implemented predefined name validation for all new names. There
7023 31 new names in ACPI 4.0. The predefined validation module was split into
7025 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7027 Implemented support for so-called "module-level executable code". This is
7028 executable AML code that exists outside of any control method and is
7030 to be executed at table load time. Although illegal since ACPI 2.0, this
7032 of code still exists and is apparently still being created. Blocks of
7034 code are now detected and executed as intended. Currently, the code
7036 must exist under either an If, Else, or While construct; these are the
7037 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7039 Implemented an automatic dynamic repair for predefined names that return
7040 nested Package objects. This applies to predefined names that are defined
7042 return a variable-length Package of sub-packages. If the number of sub-
7043 packages is one, BIOS code is occasionally seen that creates a simple
7045 package with no sub-packages. This code attempts to fix the problem by
7046 wrapping a new package object around the existing package. These methods
7048 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
7052 Fixed a regression introduced in 20090625 for the AcpiGetDevices
7054 The _HID/_CID matching was broken and no longer matched IDs correctly.
7058 Fixed a problem with AcpiReset where the reset would silently fail if the
7059 register was one of the protected I/O ports. AcpiReset now bypasses the
7061 validation mechanism. This may eventually be driven into the
7065 Fixed a regression related to the recent update of the AcpiRead/Write
7066 interfaces. A sleep/suspend could fail if the optional PM2 Control
7068 does not exist during an attempt to write the Bus Master Arbitration bit.
7069 (However, some hosts already delete the code that writes this bit, and
7071 code may in fact be obsolete at this date.) ACPICA BZ 799.
7073 Fixed a problem where AcpiTerminate could fault if inadvertently called
7075 in succession. ACPICA BZ 795.
7077 Example Code and Data Size: These are the sizes for the OS-independent
7078 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7079 debug version of the code includes the debug output trace mechanism and
7081 much larger code and data size.
7084 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
7085 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
7087 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
7088 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
7090 2) iASL Compiler/Disassembler and Tools:
7092 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
7093 changes to existing tables. ACPICA BZ 775.
7095 ----------------------------------------
7096 25 June 2009. Summary of changes for version 20090625:
7098 The ACPI 4.0 Specification was released on June 16 and is available at
7099 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
7100 continue for the next few releases.
7102 1) ACPI CA Core Subsystem:
7104 ACPI 4.0: Implemented interpreter support for the IPMI operation region
7105 address space. Includes support for bi-directional data buffers and an
7107 address space handler (to be installed by an IPMI device driver.) ACPICA
7111 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
7113 support in both the header files and the disassembler.
7115 Completed a major update for the AcpiGetObjectInfo external interface.
7117 - Support for variable, unlimited length HID, UID, and CID strings.
7118 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
7120 - Call the _SxW power methods on behalf of a device object.
7121 - Determine if a device is a PCI root bridge.
7122 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7123 These changes will require an update to all callers of this interface.
7125 the updated ACPICA Programmer Reference for details. One new source file
7127 been added - utilities/utids.c. ACPICA BZ 368, 780.
7129 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
7130 transfers. The Value parameter has been extended from 32 bits to 64 bits
7132 order to support new ACPI 4.0 tables. These changes will require an
7135 all callers of these interfaces. See the ACPICA Programmer Reference for
7136 details. ACPICA BZ 768.
7138 Fixed several problems with AcpiAttachData. The handler was not invoked
7140 the host node was deleted. The data sub-object was not automatically
7142 when the host node was deleted. The interface to the handler had an
7144 parameter, this was removed. ACPICA BZ 778.
7146 Enhanced the function that dumps ACPI table headers. All non-printable
7147 characters in the string fields are now replaced with '?' (Signature,
7149 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
7150 these fields are occasionally seen in the field. ACPICA BZ 788.
7152 Fixed a problem with predefined method repair code where the code that
7153 attempts to repair/convert an object of incorrect type is only executed
7155 the first time the predefined method is called. The mechanism that
7157 warnings on subsequent calls was interfering with the repair mechanism.
7160 Fixed a possible memory leak in the predefined validation/repair code
7163 buffer is automatically converted to an expected string object.
7165 Removed obsolete 16-bit files from the distribution and from the current
7167 tree head. ACPICA BZ 776.
7169 Example Code and Data Size: These are the sizes for the OS-independent
7170 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7171 debug version of the code includes the debug output trace mechanism and
7173 much larger code and data size.
7176 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
7177 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
7179 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
7180 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
7182 2) iASL Compiler/Disassembler and Tools:
7184 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
7185 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
7187 ACPI 4.0: iASL - implemented compile-time validation support for all new
7188 predefined names and control methods (31 total). ACPICA BZ 769.
7190 ----------------------------------------
7191 21 May 2009. Summary of changes for version 20090521:
7193 1) ACPI CA Core Subsystem:
7195 Disabled the preservation of the SCI enable bit in the PM1 control
7197 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
7200 a "preserved" bit - "OSPM always preserves this bit position", section
7201 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
7202 because the bit needs to be explicitly set by the OS as a workaround. No
7203 machines fail if the bit is not preserved. Therefore, ACPICA no longer
7204 attempts to preserve this bit.
7206 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
7207 incorrectly formed _PRT package could cause a fault. Added validation to
7208 ensure that each package element is actually a sub-package.
7210 Implemented a new interface to install or override a single control
7212 AcpiInstallMethod. This interface is useful when debugging in order to
7214 an existing method or to install a missing method without having to
7216 the entire ACPI table. See the ACPICA Programmer Reference for use and
7217 examples. Lin Ming, Bob Moore.
7219 Fixed several reference count issues with the DdbHandle object that is
7220 created from a Load or LoadTable operator. Prevent premature deletion of
7222 object. Also, mark the object as invalid once the table has been
7224 This is needed because the handle itself may not be deleted after the
7226 unload, depending on whether it has been stored in a named object by the
7229 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
7230 mutexes of the same sync level are acquired but then not released in
7232 opposite order, the internally maintained Current Sync Level becomes
7234 and can cause subsequent execution errors. ACPICA BZ 471.
7236 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
7237 specification has been changed to make the SyncLevel for mutex objects
7239 useful. When releasing a mutex, the SyncLevel of the mutex must now be
7241 same as the current sync level. This makes more sense than the previous
7243 (SyncLevel less than or equal). This change updates the code to match the
7246 Fixed a problem with the local version of the AcpiOsPurgeCache function.
7248 (local) cache must be locked during all cache object deletions. Andrew
7251 Updated the Load operator to use operation region interfaces. This
7253 direct memory mapping with region access calls. Now, all region accesses
7255 through the installed region handler as they should.
7257 Simplified and optimized the NsGetNextNode function. Reduced parameter
7259 and reduced code for this frequently used function.
7261 Example Code and Data Size: These are the sizes for the OS-independent
7262 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7263 debug version of the code includes the debug output trace mechanism and
7265 much larger code and data size.
7268 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
7269 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
7271 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
7272 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
7274 2) iASL Compiler/Disassembler and Tools:
7276 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
7278 with sub-table disassembly and handling invalid sub-tables. Attempt
7280 after an invalid sub-table ID.
7282 ----------------------------------------
7283 22 April 2009. Summary of changes for version 20090422:
7285 1) ACPI CA Core Subsystem:
7287 Fixed a compatibility issue with the recently released I/O port
7289 mechanism. For windows compatibility, 1) On a port protection violation,
7290 simply ignore the request and do not return an exception (allow the
7292 method to continue execution.) 2) If only part of the request overlaps a
7293 protected port, read/write the individual ports that are not protected.
7297 Enhanced the execution of the ASL/AML BreakPoint operator so that it
7299 breaks into the AML debugger if the debugger is present. This matches the
7300 ACPI-defined behavior.
7302 Fixed several possible warnings related to the use of the configurable
7303 ACPI_THREAD_ID. This type can now be configured as either an integer or a
7304 pointer with no warnings. Also fixes several warnings in printf-like
7305 statements for the 64-bit build when the type is configured as a pointer.
7308 Fixed a number of possible warnings when compiling with gcc 4+ (depending
7310 warning options.) Examples include printf formats, aliasing, unused
7312 missing prototypes, missing switch default statements, use of non-ANSI
7313 library functions, use of non-ANSI constructs. See generate/unix/Makefile
7315 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7317 Example Code and Data Size: These are the sizes for the OS-independent
7318 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7319 debug version of the code includes the debug output trace mechanism and
7321 much larger code and data size.
7324 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
7325 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
7327 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
7328 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
7330 2) iASL Compiler/Disassembler and Tools:
7332 iASL: Fixed a generation warning from Bison 2.3 and fixed several
7337 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
7339 correctly digest Windows/DOS formatted files (with CR/LF).
7341 iASL: Added a new option for "quiet mode" (-va) that produces only the
7342 compilation summary, not individual errors and warnings. Useful for large
7345 AcpiExec: Implemented a new option (-z) to enable a forced
7347 timeout that can be used to detect hang conditions during execution of
7349 code (includes both internal semaphores and AML-defined mutexes and
7352 Added new makefiles for the generation of acpica in a generic unix-like
7353 environment. These makefiles are intended to generate the acpica tools
7355 utilities from the original acpica git source tree structure.
7357 Test Suites: Updated and cleaned up the documentation files. Updated the
7358 copyrights to 2009, affecting all source files. Use the new version of
7360 with quiet mode. Increased the number of available semaphores in the
7362 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
7364 an alternate implementation of the semaphore timeout to allow aslts to
7365 execute fully on Cygwin.
7367 ----------------------------------------
7368 20 March 2009. Summary of changes for version 20090320:
7370 1) ACPI CA Core Subsystem:
7372 Fixed a possible race condition between AcpiWalkNamespace and dynamic
7374 unloads. Added a reader/writer locking mechanism to allow multiple
7376 namespace walks (readers), but block a dynamic table unload until it can
7378 exclusive write access to the namespace. This fixes a problem where a
7380 unload could (possibly catastrophically) delete the portion of the
7382 that is currently being examined by a walk. Adds a new file, utlock.c,
7384 implements the reader/writer lock mechanism. ACPICA BZ 749.
7386 Fixed a regression introduced in version 20090220 where a change to the
7388 handling could cause the ACPICA subsystem to access non-existent I/O
7391 Modified the handling of FADT register and table (FACS/DSDT) addresses.
7393 FADT can contain both 32-bit and 64-bit versions of these addresses.
7394 Previously, the 64-bit versions were favored, meaning that if both 32 and
7396 versions were valid, but not equal, the 64-bit version was used. This was
7397 found to cause some machines to fail. Now, in this case, the 32-bit
7399 is used instead. This now matches the Windows behavior.
7401 Implemented a new mechanism to protect certain I/O ports. Provides
7403 compatibility and protects the standard PC I/O ports from access via AML
7404 code. Adds a new file, hwvalid.c
7406 Fixed a possible extraneous warning message from the FADT support. The
7407 message warns of a 32/64 length mismatch between the legacy and GAS
7408 definitions for a register.
7410 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
7412 made obsolete by the port protection mechanism above. It was previously
7414 to validate the entire address range of an operation region, which could
7416 incorrect if the range included illegal ports, but fields within the
7417 operation region did not actually access those ports. Validation is now
7418 performed on a per-field basis instead of the entire region.
7420 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
7421 Ignored bits must be "preserved" according to the ACPI spec. Usually,
7423 means a read/modify/write when writing to the register. However, for
7425 registers, writing a one means clear the event. Writing a zero means
7427 the event (do not clear.) This behavior is clarified in the ACPI 4.0
7429 and the ACPICA code now simply always writes a zero to the ignored bit.
7431 Modified the handling of ignored bits for the PM1 A/B Control Registers.
7433 per the ACPI specification, for the control registers, preserve
7434 (read/modify/write) all bits that are defined as either reserved or
7437 Updated the handling of write-only bits in the PM1 A/B Control Registers.
7438 When reading the register, zero the write-only bits as per the ACPI spec.
7439 ACPICA BZ 443. Lin Ming.
7441 Removed "Linux" from the list of supported _OSI strings. Linux no longer
7442 wants to reply true to this request. The Windows strings are the only
7444 through the AML that are tested and known to work properly.
7447 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
7448 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
7450 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
7451 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
7453 2) iASL Compiler/Disassembler and Tools:
7455 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
7459 ----------------------------------------
7460 20 February 2009. Summary of changes for version 20090220:
7462 1) ACPI CA Core Subsystem:
7464 Optimized the ACPI register locking. Removed locking for reads from the
7466 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
7468 not required when reading the single-bit registers. The
7469 AcpiGetRegisterUnlocked function is no longer needed and has been
7471 This will improve performance for reads on these registers. ACPICA BZ
7474 Fixed the parameter validation for AcpiRead/Write. Now return
7475 AE_BAD_PARAMETER if the input register pointer is null, and
7478 the register has an address of zero. Previously, these cases simply
7480 AE_OK. For optional registers such as PM1B status/enable/control, the
7482 should check for a valid register address before calling. ACPICA BZ 748.
7484 Renamed the external ACPI bit register access functions. Renamed
7485 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
7486 functions. The new names are AcpiReadBitRegister and
7487 AcpiWriteBitRegister.
7488 Also, restructured the code for these functions by simplifying the code
7490 and condensing duplicate code to reduce code size.
7492 Added new functions to transparently handle the possibly split PM1 A/B
7493 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
7495 now handle the split registers for PM1 Status, Enable, and Control.
7500 Added a function to handle the PM1 control registers,
7501 AcpiHwWritePm1Control.
7502 This function writes both of the PM1 control registers (A/B). These
7504 are different than the PM1 A/B status and enable registers in that
7506 values can be written to the A/B registers. Most notably, the SLP_TYP
7508 can be different, as per the values returned from the _Sx predefined
7511 Removed an extra register write within AcpiHwClearAcpiStatus. This
7513 was writing an optional PM1B status register twice. The existing call to
7515 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
7517 register. ACPICA BZ 751.
7519 Split out the PM1 Status registers from the FADT. Added new globals for
7521 registers (A/B), similar to the way the PM1 Enable registers are handled.
7522 Instead of overloading the FADT Event Register blocks. This makes the
7524 clearer and less prone to error.
7526 Fixed the warning message for when the platform contains too many ACPI
7528 for the default size of the global root table data structure. The
7530 for the truncation value was incorrect.
7532 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
7533 obsolete macro, since it is now a simple reference to ->common.type.
7535 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7537 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
7538 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
7539 simply SLEEP_TYPE. ACPICA BZ 754.
7541 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
7542 function is only needed on 64-bit host operating systems and is thus not
7543 included for 32-bit hosts.
7545 Debug output: print the input and result for invocations of the _OSI
7547 control method via the ACPI_LV_INFO debug level. Also, reduced some of
7549 verbosity of this debug level. Len Brown.
7551 Example Code and Data Size: These are the sizes for the OS-independent
7552 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7553 debug version of the code includes the debug output trace mechanism and
7555 much larger code and data size.
7558 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
7559 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
7561 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
7562 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
7564 2) iASL Compiler/Disassembler and Tools:
7566 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
7567 various legal performance profiles.
7569 ----------------------------------------
7570 23 January 2009. Summary of changes for version 20090123:
7572 1) ACPI CA Core Subsystem:
7574 Added the 2009 copyright to all module headers and signons. This affects
7575 virtually every file in the ACPICA core subsystem, the iASL compiler, and
7576 the tools/utilities.
7578 Implemented a change to allow the host to override any ACPI table,
7580 dynamically loaded tables. Previously, only the DSDT could be replaced by
7582 host. With this change, the AcpiOsTableOverride interface is called for
7584 table found in the RSDT/XSDT during ACPICA initialization, and also
7586 a table is dynamically loaded via the AML Load operator.
7588 Updated FADT flag definitions, especially the Boot Architecture flags.
7590 Debugger: For the Find command, automatically pad the input ACPI name
7592 underscores if the name is shorter than 4 characters. This enables a
7594 with the actual namespace entry which is itself padded with underscores.
7596 Example Code and Data Size: These are the sizes for the OS-independent
7597 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7598 debug version of the code includes the debug output trace mechanism and
7600 much larger code and data size.
7603 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
7604 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
7606 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
7607 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
7609 2) iASL Compiler/Disassembler and Tools:
7611 Fix build error under Bison-2.4.
7613 Dissasembler: Enhanced FADT support. Added decoding of the Boot
7615 flags. Now decode all flags, regardless of the FADT version. Flag output
7616 includes the FADT version which first defined each flag.
7618 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
7620 DSDT). Windows only.
7622 ----------------------------------------
7623 04 December 2008. Summary of changes for version 20081204:
7625 1) ACPI CA Core Subsystem:
7627 The ACPICA Programmer Reference has been completely updated and revamped
7629 this release. This includes updates to the external interfaces, OSL
7630 interfaces, the overview sections, and the debugger reference.
7632 Several new ACPICA interfaces have been implemented and documented in the
7633 programmer reference:
7634 AcpiReset - Writes the reset value to the FADT-defined reset register.
7635 AcpiDisableAllGpes - Disable all available GPEs.
7636 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7637 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7638 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7639 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7640 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7642 Most of the public ACPI hardware-related interfaces have been moved to a
7644 file, components/hardware/hwxface.c
7646 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
7647 register lengths within the FADT are now used, and the low level ACPI
7648 register access no longer hardcodes the ACPI register lengths. Given that
7649 there may be some risk in actually trusting the FADT register lengths, a
7651 time option was added to fall back to the default hardcoded lengths if
7653 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
7654 option is set to true for now, and a warning is issued if a suspicious
7656 register length is overridden with the default value.
7658 Fixed a reference count issue in NsRepairObject. This problem was
7660 in version 20081031 as part of a fix to repair Buffer objects within
7663 Added semaphore support to the Linux/Unix application OS-services layer
7664 (OSL). ACPICA BZ 448. Lin Ming.
7666 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
7668 be implemented in the OSL, or will binary semaphores be used instead.
7670 Example Code and Data Size: These are the sizes for the OS-independent
7671 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7672 debug version of the code includes the debug output trace mechanism and
7674 much larger code and data size.
7677 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
7678 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
7680 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
7681 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
7683 2) iASL Compiler/Disassembler and Tools:
7685 iASL: Completed the '-e' option to include additional ACPI tables in
7688 aid with disassembly and External statement generation. ACPICA BZ 742.
7692 iASL: Removed the "named object in while loop" error. The compiler cannot
7693 determine how many times a loop will execute. ACPICA BZ 730.
7695 Disassembler: Implemented support for FADT revision 2 (MS extension).
7699 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
7702 ----------------------------------------
7703 31 October 2008. Summary of changes for version 20081031:
7705 1) ACPI CA Core Subsystem:
7707 Restructured the ACPICA header files into public/private. acpi.h now
7709 only the "public" acpica headers. All other acpica headers are "private"
7711 should not be included by acpica users. One new file, accommon.h is used
7713 include the commonly used private headers for acpica code generation.
7715 plans include moving all private headers to a new subdirectory.
7717 Implemented an automatic Buffer->String return value conversion for
7718 predefined ACPI methods. For these methods (such as _BIF), added
7720 conversion for return objects that are required to be a String, but a
7722 was found instead. This can happen when reading string battery data from
7724 operation region, because it used to be difficult to convert the data
7726 buffer to string from within the ASL. Ensures that the host OS is
7728 with a valid null-terminated string. Linux BZ 11822.
7730 Updated the FACS waking vector interfaces. Split
7731 AcpiSetFirmwareWakingVector
7732 into two: one for the 32-bit vector, another for the 64-bit vector. This
7734 required because the host OS must setup the wake much differently for
7736 vector (real vs. protected mode, etc.) and the interface itself should
7739 deciding which vector to use. Also, eliminated the
7740 GetFirmwareWakingVector
7741 interface, as it served no purpose (only the firmware reads the vector,
7743 only writes the vector.) ACPICA BZ 731.
7745 Implemented a mechanism to escape infinite AML While() loops. Added a
7747 counter to force exit from AML While loops if the count becomes too
7749 This can occur in poorly written AML when the hardware does not respond
7750 within a while loop and the loop does not implement a timeout. The
7752 loop count is configurable. A new exception code is returned when a loop
7754 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7756 Optimized the execution of AML While loops. Previously, a control state
7757 object was allocated and freed for each execution of the loop. The
7758 optimization is to simply reuse the control state for each iteration.
7760 speeds up the raw loop execution time by about 5%.
7762 Enhanced the implicit return mechanism. For Windows compatibility, return
7764 implicit integer of value zero for methods that contain no executable
7766 Such methods are seen in the field as stubs (presumably), and can cause
7767 drivers to fail if they expect a return value. Lin Ming.
7769 Allow multiple backslashes as root prefixes in namepaths. In a fully
7770 qualified namepath, allow multiple backslash prefixes. This can happen
7772 is seen in the field) because of the use of a double-backslash in strings
7773 (since backslash is the escape character) causing confusion. ACPICA BZ
7777 Emit a warning if two different FACS or DSDT tables are discovered in the
7778 FADT. Checks if there are two valid but different addresses for the FACS
7780 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7782 Consolidated the method argument count validation code. Merged the code
7784 validates control method argument counts into the predefined validation
7785 module. Eliminates possible multiple warnings for incorrect argument
7788 Implemented ACPICA example code. Includes code for ACPICA initialization,
7789 handler installation, and calling a control method. Available at
7790 source/tools/examples.
7792 Added a global pointer for FACS table to simplify internal FACS access.
7794 the global pointer instead of using AcpiGetTableByIndex for each FACS
7796 This simplifies the code for the Global Lock and the Firmware Waking
7799 Example Code and Data Size: These are the sizes for the OS-independent
7800 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7801 debug version of the code includes the debug output trace mechanism and
7803 much larger code and data size.
7806 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
7807 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
7809 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
7810 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
7812 2) iASL Compiler/Disassembler and Tools:
7814 iASL: Improved disassembly of external method calls. Added the -e option
7816 allow the inclusion of additional ACPI tables to help with the
7819 method invocations and the generation of external declarations during the
7820 disassembly. Certain external method invocations cannot be disassembled
7821 properly without the actual declaration of the method. Use the -e option
7823 include the table where the external method(s) are actually declared.
7825 useful for disassembling SSDTs that make method calls back to the master
7826 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
7828 -e dsdt.aml ssdt1.aml
7830 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
7831 problem where the use of an alias within a namepath would result in a not
7832 found error or cause the compiler to fault. Also now allows forward
7833 references from the Alias operator itself. ACPICA BZ 738.
7835 ----------------------------------------
7836 26 September 2008. Summary of changes for version 20080926:
7838 1) ACPI CA Core Subsystem:
7840 Designed and implemented a mechanism to validate predefined ACPI methods
7842 objects. This code validates the predefined ACPI objects (objects whose
7844 start with underscore) that appear in the namespace, at the time they are
7845 evaluated. The argument count and the type of the returned object are
7846 validated against the ACPI specification. The purpose of this validation
7848 to detect problems with the BIOS-implemented predefined ACPI objects
7850 the results are returned to the ACPI-related drivers. Future enhancements
7852 include actual repair of incorrect return objects where possible. Two new
7853 files are nspredef.c and acpredef.h.
7855 Fixed a fault in the AML parser if a memory allocation fails during the
7857 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7859 Fixed an issue with implicit return compatibility. This change improves
7861 implicit return mechanism to be more compatible with the MS interpreter.
7863 Ming, ACPICA BZ 349.
7865 Implemented support for zero-length buffer-to-string conversions. Allow
7867 length strings during interpreter buffer-to-string conversions. For
7869 during the ToDecimalString and ToHexString operators, as well as implicit
7870 conversions. Fiodor Suietov, ACPICA BZ 585.
7872 Fixed two possible memory leaks in the error exit paths of
7873 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
7875 similar in that they use a stack of state objects in order to eliminate
7876 recursion. The stack must be fully unwound and deallocated if an error
7877 occurs. Lin Ming. ACPICA BZ 383.
7879 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
7881 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
7882 Moore ACPICA BZ 442.
7884 Removed the obsolete version number in module headers. Removed the
7885 "$Revision" number that appeared in each module header. This version
7887 was useful under SourceSafe and CVS, but has no meaning under git. It is
7889 only incorrect, it could also be misleading.
7891 Example Code and Data Size: These are the sizes for the OS-independent
7892 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7893 debug version of the code includes the debug output trace mechanism and
7895 much larger code and data size.
7898 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7899 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
7901 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
7902 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
7904 ----------------------------------------
7905 29 August 2008. Summary of changes for version 20080829:
7907 1) ACPI CA Core Subsystem:
7909 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
7910 Reference. Changes include the elimination of cheating on the Object
7912 for the DdbHandle subtype, addition of a reference class field to
7913 differentiate the various reference types (instead of an AML opcode), and
7915 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7917 Reduce an error to a warning for an incorrect method argument count.
7918 Previously aborted with an error if too few arguments were passed to a
7919 control method via the external ACPICA interface. Now issue a warning
7921 and continue. Handles the case where the method inadvertently declares
7923 many arguments, but does not actually use the extra ones. Applies mainly
7925 the predefined methods. Lin Ming. Linux BZ 11032.
7927 Disallow the evaluation of named object types with no intrinsic value.
7929 AE_TYPE for objects that have no value and therefore evaluation is
7931 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
7933 these types were allowed, but an exception would be generated at some
7935 during the evaluation. Now, the error is generated up front.
7937 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
7938 (nsnames.c). Fixes a leak in the error exit path.
7940 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
7942 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
7944 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
7947 Removed obsolete and/or unused exception codes from the acexcep.h header.
7948 There is the possibility that certain device drivers may be affected if
7950 use any of these exceptions.
7952 The ACPICA documentation has been added to the public git source tree,
7954 acpica/documents. Included are the ACPICA programmer reference, the iASL
7955 compiler reference, and the changes.txt release logfile.
7957 Example Code and Data Size: These are the sizes for the OS-independent
7958 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7959 debug version of the code includes the debug output trace mechanism and
7961 much larger code and data size.
7964 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7965 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
7967 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7968 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
7970 2) iASL Compiler/Disassembler and Tools:
7972 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
7973 defines _SCP with 3 arguments. Previous versions defined it with only 1
7974 argument. iASL now allows both definitions.
7976 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
7978 length subtables when disassembling ACPI tables. Also fixed a couple of
7979 errors where a full 16-bit table type field was not extracted from the
7983 acpisrc: Improve comment counting mechanism for generating source code
7984 statistics. Count first and last lines of multi-line comments as
7986 not comment lines. Handle Linux legal header in addition to standard
7990 ----------------------------------------
7992 29 July 2008. Summary of changes for version 20080729:
7994 1) ACPI CA Core Subsystem:
7996 Fix a possible deadlock in the GPE dispatch. Remove call to
7997 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
7999 to acquire the GPE lock but can deadlock since the GPE lock is already
8001 at dispatch time. This code was introduced in version 20060831 as a
8003 to Linux BZ 6881 and has since been removed from Linux.
8005 Add a function to dereference returned reference objects. Examines the
8007 object from a call to AcpiEvaluateObject. Any Index or RefOf references
8009 automatically dereferenced in an attempt to return something useful
8011 reference types cannot be converted into an external ACPI_OBJECT.)
8013 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8015 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
8016 subtables for the MADT and one new subtable for the SRAT. Includes
8017 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
8019 Specification, June 2008.
8021 Additional error checking for pathname utilities. Add error check after
8023 calls to AcpiNsGetPathnameLength. Add status return from
8024 AcpiNsBuildExternalPath and check after all calls. Add parameter
8026 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8028 Return status from the global init function AcpiUtGlobalInitialize. This
8030 used by both the kernel subsystem and the utilities such as iASL
8032 The function could possibly fail when the caches are initialized. Yang
8035 Add a function to decode reference object types to strings. Created for
8036 improved error messages.
8038 Improve object conversion error messages. Better error messages during
8040 conversion from internal to the external ACPI_OBJECT. Used for external
8042 to AcpiEvaluateObject.
8044 Example Code and Data Size: These are the sizes for the OS-independent
8045 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8046 debug version of the code includes the debug output trace mechanism and
8048 much larger code and data size.
8051 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
8052 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
8054 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
8055 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
8057 2) iASL Compiler/Disassembler and Tools:
8059 Debugger: fix a possible hang when evaluating non-methods. Fixes a
8061 introduced in version 20080701. If the object being evaluated (via
8063 command) is not a method, the debugger can hang while trying to obtain
8065 existent parameters.
8067 iASL: relax error for using reserved "_T_x" identifiers. These names can
8068 appear in a disassembled ASL file if they were emitted by the original
8069 compiler. Instead of issuing an error or warning and forcing the user to
8070 manually change these names, issue a remark instead.
8072 iASL: error if named object created in while loop. Emit an error if any
8074 object is created within a While loop. If allowed, this code will
8077 run-time error on the second iteration of the loop when an attempt is
8080 create the same named object twice. ACPICA bugzilla 730.
8082 iASL: Support absolute pathnames for include files. Add support for
8084 pathnames within the Include operator. previously, only relative
8088 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
8090 The ACPI spec requires one interrupt minimum. BZ 423
8092 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
8093 Handles the case for the Interrupt Resource Descriptor where
8094 the ResourceSource argument is omitted but ResourceSourceIndex
8095 is present. Now leave room for the Index. BZ 426
8097 iASL: Prevent error message if CondRefOf target does not exist. Fixes
8099 where an error message is emitted if the target does not exist. BZ 516
8101 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
8102 (get ACPI tables on Windows). This was apparently broken in version
8105 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
8107 the EOF happens immediately after the last table in the input file. Print
8108 completion message. Previously, no message was displayed in this case.
8110 ----------------------------------------
8111 01 July 2008. Summary of changes for version 20080701:
8113 0) Git source tree / acpica.org
8115 Fixed a problem where a git-clone from http would not transfer the entire
8118 1) ACPI CA Core Subsystem:
8120 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
8121 enable bit. Now performs a read-change-write of the enable register
8123 of simply writing out the cached enable mask. This will prevent
8125 enabling of GPEs if a rogue GPE is received during initialization (before
8127 handlers are installed.)
8129 Implemented a copy for dynamically loaded tables. Previously, dynamically
8130 loaded tables were simply mapped - but on some machines this memory is
8131 corrupted after suspend. Now copy the table to a local buffer. For the
8132 OpRegion case, added checksum verify. Use the table length from the table
8133 header, not the region length. For the Buffer case, use the table length
8134 also. Dennis Noordsij, Bob Moore. BZ 10734
8136 Fixed a problem where the same ACPI table could not be dynamically loaded
8138 unloaded more than once. Without this change, a table cannot be loaded
8140 once it has been loaded/unloaded one time. The current mechanism does not
8141 unregister a table upon an unload. During a load, if the same table is
8143 this no longer returns an exception. BZ 722
8145 Fixed a problem where the wrong descriptor length was calculated for the
8146 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
8148 are calculated as 12 bytes long, but the actual length in the internal
8149 descriptor is 16 because of the round-up to 8 on the 64-bit build.
8151 by Linn Crosetto. BZ 728
8153 Fixed a possible memory leak in the Unload operator. The DdbHandle
8155 by Load() did not have its reference count decremented during unload,
8157 to a memory leak. Lin Ming. BZ 727
8159 Fixed a possible memory leak when deleting thermal/processor objects. Any
8160 associated notify handlers (and objects) were not being deleted. Fiodor
8163 Fixed the ordering of the ASCII names in the global mutex table to match
8165 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
8167 Vegard Nossum. BZ 726
8169 Enhanced the AcpiGetObjectInfo interface to return the number of required
8170 arguments if the object is a control method. Added this call to the
8172 so the proper number of default arguments are passed to a method. This
8173 prevents a warning when executing methods from AcpiExec.
8175 Added a check for an invalid handle in AcpiGetObjectInfo. Return
8176 AE_BAD_PARAMETER if input handle is invalid. BZ 474
8178 Fixed an extraneous warning from exconfig.c on the 64-bit build.
8180 Example Code and Data Size: These are the sizes for the OS-independent
8181 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8182 debug version of the code includes the debug output trace mechanism and
8184 much larger code and data size.
8187 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
8188 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
8190 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
8191 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
8193 2) iASL Compiler/Disassembler and Tools:
8195 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
8196 resource descriptor names.
8198 iASL: Detect invalid ASCII characters in input (windows version). Removed
8200 "-CF" flag from the flex compile, enables correct detection of non-ASCII
8201 characters in the input. BZ 441
8203 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
8205 "result of operation not used" warning when the DDB handle returned from
8206 LoadTable is not used. The warning is not needed. BZ 590
8208 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
8211 pass address of table to the AML. Added option to disable OpRegion
8213 to allow creation of an OpRegion with a real address that was passed to
8215 All of this allows testing of the Load and Unload operators from
8218 Debugger: update tables command for unloaded tables. Handle unloaded
8220 and use the standard table header output routine.
8222 ----------------------------------------
8223 09 June 2008. Summary of changes for version 20080609:
8225 1) ACPI CA Core Subsystem:
8227 Implemented a workaround for reversed _PRT entries. A significant number
8229 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
8230 change dynamically detects and repairs this problem. Provides
8232 with MS ACPI. BZ 6859
8234 Simplified the internal ACPI hardware interfaces to eliminate the locking
8235 flag parameter from Register Read/Write. Added a new external interface,
8236 AcpiGetRegisterUnlocked.
8238 Fixed a problem where the invocation of a GPE control method could hang.
8240 was a regression introduced in 20080514. The new method argument count
8241 validation mechanism can enter an infinite loop when a GPE method is
8242 dispatched. Problem fixed by removing the obsolete code that passed GPE
8244 information to the notify handler via the control method parameter
8247 Fixed a problem where the _SST execution status was incorrectly returned
8249 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
8251 20080514. _SST is optional and a NOT_FOUND exception should never be
8254 Fixed a problem where a deleted object could be accessed from within the
8256 parser. This was a regression introduced in version 20080123 as a fix for
8258 Unload operator. Lin Ming. BZ 10669
8260 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
8262 and eliminated the use of a negative index in a loop. Operands are now
8263 displayed in the correct order, not backwards. This also fixes a
8265 introduced in 20080514 on 64-bit systems where the elimination of
8266 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
8269 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
8271 path did not delete a locally allocated structure.
8273 Updated definitions for the DMAR and SRAT tables to synchronize with the
8274 current specifications. Includes disassembler support.
8276 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
8277 loop termination value was used. Loop terminated on iteration early,
8279 one mutex. Linn Crosetto
8281 Example Code and Data Size: These are the sizes for the OS-independent
8282 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8283 debug version of the code includes the debug output trace mechanism and
8285 much larger code and data size.
8288 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
8289 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
8291 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
8292 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
8294 2) iASL Compiler/Disassembler and Tools:
8296 Disassembler: Implemented support for EisaId() within _CID objects. Now
8297 disassemble integer _CID objects back to EisaId invocations, including
8298 multiple integers within _CID packages. Includes single-step support for
8301 Disassembler: Added support for DMAR and SRAT table definition changes.
8303 ----------------------------------------
8304 14 May 2008. Summary of changes for version 20080514:
8306 1) ACPI CA Core Subsystem:
8308 Fixed a problem where GPEs were enabled too early during the ACPICA
8309 initialization. This could lead to "handler not installed" errors on some
8310 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
8312 ensures that all operation regions and devices throughout the namespace
8314 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8316 Implemented a change to the enter sleep code. Moved execution of the _GTS
8317 method to just before setting sleep enable bit. The execution was moved
8319 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
8320 immediately before the SLP_EN bit is set, as per the ACPI specification.
8323 Implemented a fix to disable unknown GPEs (2nd version). Now always
8325 the GPE, even if ACPICA thinks that that it is already disabled. It is
8326 possible that the AML or some other code has enabled the GPE unbeknownst
8330 Fixed a problem with the Field operator where zero-length fields would
8332 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
8334 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8336 Implemented a fix for the Load operator, now load the table at the
8338 root. This reverts a change introduced in version 20071019. The table is
8340 loaded at the namespace root even though this goes against the ACPI
8341 specification. This provides compatibility with other ACPI
8343 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
8346 Fixed a problem where ACPICA would not Load() tables with unusual
8348 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
8349 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
8350 Therefore, signature validation is worthless. Apparently MS ACPI accepts
8352 signatures, ACPICA must be compatible. BZ 10454.
8354 Fixed a possible negative array index in AcpiUtValidateException. Added
8356 fields to the exception string arrays to eliminate a -1 subtraction on
8360 Updated the debug tracking macros to reduce overall code and data size.
8361 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
8362 instead of pointers to static strings. Jan Beulich and Bob Moore.
8364 Implemented argument count checking in control method invocation via
8365 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
8367 many. This applies only to extern programmatic control method execution,
8369 method-to-method calls within the AML. Lin Ming.
8371 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
8373 longer needed, especially with the removal of 16-bit support. It was
8375 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
8378 32/64-bit platforms is required.
8380 Added the C const qualifier for appropriate string constants -- mostly
8381 MODULE_NAME and printf format strings. Jan Beulich.
8383 Example Code and Data Size: These are the sizes for the OS-independent
8384 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8385 debug version of the code includes the debug output trace mechanism and
8387 much larger code and data size.
8390 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
8391 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
8393 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
8394 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
8396 2) iASL Compiler/Disassembler and Tools:
8398 Implemented ACPI table revision ID validation in the disassembler. Zero
8400 always invalid. For DSDTs, the ID controls the interpreter integer width.
8402 means 32-bit and this is unusual. 2 or greater is 64-bit.
8404 ----------------------------------------
8405 21 March 2008. Summary of changes for version 20080321:
8407 1) ACPI CA Core Subsystem:
8409 Implemented an additional change to the GPE support in order to suppress
8410 spurious or stray GPEs. The AcpiEvDisableGpe function will now
8412 disable incoming GPEs that are neither enabled nor disabled -- meaning
8414 the GPE is unknown to the system. This should prevent future interrupt
8416 from that GPE. BZ 6217 (Zhang Rui)
8418 Fixed a problem where NULL package elements were not returned to the
8419 AcpiEvaluateObject interface correctly. The element was simply ignored
8420 instead of returning a NULL ACPI_OBJECT package element, potentially
8422 a buffer overflow and/or confusing the caller who expected a fixed number
8424 elements. BZ 10132 (Lin Ming, Bob Moore)
8426 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
8428 Qword), Field, BankField, and IndexField operators when invoked from
8430 an executing control method. In this case, these operators created
8432 nodes that were incorrectly left marked as permanent nodes instead of
8433 temporary nodes. This could cause a problem if there is race condition
8434 between an exiting control method and a running namespace walk. (Reported
8438 Fixed a problem where the CreateField and CreateXXXField operators would
8439 incorrectly allow duplicate names (the name of the field) with no
8443 Implemented several changes for Notify handling. Added support for new
8445 values (ACPI 2.0+) and improved the Notify debug output. Notify on
8446 PowerResource objects is no longer allowed, as per the ACPI
8448 (Bob Moore, Zhang Rui)
8450 All Reference Objects returned via the AcpiEvaluateObject interface are
8452 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
8454 NULL objects - either NULL package elements or unresolved named
8457 Fixed a problem where an extraneous debug message was produced for
8459 objects (when debugging enabled). The message "Package List length larger
8460 than NumElements count" is now produced in the correct case, and is now
8462 error message rather than a debug message. Added a debug message for the
8463 opposite case, where NumElements is larger than the Package List (the
8465 will be padded out with NULL elements as per the ACPI spec.)
8467 Implemented several improvements for the output of the ASL "Debug" object
8469 clarify and keep all data for a given object on one output line.
8471 Fixed two size calculation issues with the variable-length Start
8473 resource descriptor.
8475 Example Code and Data Size: These are the sizes for the OS-independent
8476 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8477 debug version of the code includes the debug output trace mechanism and
8479 a much larger code and data size.
8482 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
8483 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
8485 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
8486 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
8488 2) iASL Compiler/Disassembler and Tools:
8490 Fixed a problem with the use of the Switch operator where execution of
8492 containing method by multiple concurrent threads could cause an
8493 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
8494 actual Switch opcode, it must be simulated with local named temporary
8495 variables and if/else pairs. The solution chosen was to mark any method
8497 uses Switch as Serialized, thus preventing multiple thread entries. BZ
8500 ----------------------------------------
8501 13 February 2008. Summary of changes for version 20080213:
8503 1) ACPI CA Core Subsystem:
8505 Implemented another MS compatibility design change for GPE/Notify
8507 GPEs are now cleared/enabled asynchronously to allow all pending notifies
8509 complete first. It is expected that the OSL will queue the enable request
8510 behind all pending notify requests (may require changes to the local host
8512 in AcpiOsExecute). Alexey Starikovskiy.
8514 Fixed a problem where buffer and package objects passed as arguments to a
8515 control method via the external AcpiEvaluateObject interface could cause
8517 AE_AML_INTERNAL exception depending on the order and type of operators
8518 executed by the target control method.
8520 Fixed a problem where resource descriptor size optimization could cause a
8521 problem when a _CRS resource template is passed to a _SRS method. The
8523 resource template must use the same descriptors (with the same size) as
8524 returned from _CRS. This change affects the following resource
8526 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
8529 Fixed a problem where a CopyObject to RegionField, BankField, and
8531 objects did not perform an implicit conversion as it should. These types
8533 retain their initial type permanently as per the ACPI specification.
8535 a CopyObject to all other object types should not perform an implicit
8536 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8538 Fixed a problem with the AcpiGetDevices interface where the mechanism to
8539 match device CIDs did not examine the entire list of available CIDs, but
8540 instead aborted on the first non-matching CID. Andrew Patterson.
8542 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
8544 inadvertently changed to return a 16-bit value instead of a 32-bit value,
8545 truncating the upper dword of a 64-bit value. This macro is only used to
8546 display debug output, so no incorrect calculations were made. Also,
8547 reimplemented the macro so that a 64-bit shift is not performed by
8548 inefficient compilers.
8550 Added missing va_end statements that should correspond with each va_start
8553 Example Code and Data Size: These are the sizes for the OS-independent
8554 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8555 debug version of the code includes the debug output trace mechanism and
8557 a much larger code and data size.
8560 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
8561 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
8563 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
8564 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
8566 2) iASL Compiler/Disassembler and Tools:
8568 Implemented full disassembler support for the following new ACPI tables:
8569 BERT, EINJ, and ERST. Implemented partial disassembler support for the
8570 complicated HEST table. These tables support the Windows Hardware Error
8571 Architecture (WHEA).
8573 ----------------------------------------
8574 23 January 2008. Summary of changes for version 20080123:
8576 1) ACPI CA Core Subsystem:
8578 Added the 2008 copyright to all module headers and signons. This affects
8579 virtually every file in the ACPICA core subsystem, the iASL compiler, and
8580 the tools/utilities.
8582 Fixed a problem with the SizeOf operator when used with Package and
8584 objects. These objects have deferred execution for some arguments, and
8586 execution is now completed before the SizeOf is executed. This problem
8588 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
8592 Implemented an enhancement to the interpreter "slack mode". In the
8595 an explicit return or an implicitly returned object from the last
8597 opcode, a control method will now implicitly return an integer of value 0
8599 Microsoft compatibility. (Lin Ming) BZ 392
8601 Fixed a problem with the Load operator where an exception was not
8604 the case where the table is already loaded. (Lin Ming) BZ 463
8606 Implemented support for the use of DDBHandles as an Indexed Reference, as
8608 the ACPI spec. (Lin Ming) BZ 486
8610 Implemented support for UserTerm (Method invocation) for the Unload
8612 as per the ACPI spec. (Lin Ming) BZ 580
8614 Fixed a problem with the LoadTable operator where the OemId and
8616 input strings could cause unexpected failures if they were shorter than
8618 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8620 Implemented support for UserTerm (Method invocation) for the Unload
8622 as per the ACPI spec. (Lin Ming) BZ 580
8624 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
8626 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8628 Example Code and Data Size: These are the sizes for the OS-independent
8629 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8630 debug version of the code includes the debug output trace mechanism and
8632 a much larger code and data size.
8635 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
8636 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
8638 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
8639 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
8641 2) iASL Compiler/Disassembler and Tools:
8643 Implemented support in the disassembler for checksum validation on
8645 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
8647 header dump at the start of the disassembly.
8649 Implemented additional debugging information in the namespace listing
8651 created during compilation. In addition to the namespace hierarchy, the
8653 pathname to each namespace object is displayed.
8655 Fixed a problem with the disassembler where invalid ACPI tables could
8657 faults or infinite loops.
8659 Fixed an unexpected parse error when using the optional "parameter types"
8660 list in a control method declaration. (Lin Ming) BZ 397
8662 Fixed a problem where two External declarations with the same name did
8664 cause an error (Lin Ming) BZ 509
8666 Implemented support for full TermArgs (adding Argx, Localx and method
8667 invocation) for the ParameterData parameter to the LoadTable operator.
8671 ----------------------------------------
8672 19 December 2007. Summary of changes for version 20071219:
8674 1) ACPI CA Core Subsystem:
8676 Implemented full support for deferred execution for the TermArg string
8677 arguments for DataTableRegion. This enables forward references and full
8678 operand resolution for the three string arguments. Similar to
8680 deferred argument execution.) Lin Ming. BZ 430
8682 Implemented full argument resolution support for the BankValue argument
8684 BankField. Previously, only constants were supported, now any TermArg may
8686 used. Lin Ming BZ 387, 393
8688 Fixed a problem with AcpiGetDevices where the search of a branch of the
8689 device tree could be terminated prematurely. In accordance with the ACPI
8690 specification, the search down the current branch is terminated if a
8692 is both not present and not functional (instead of just not present.)
8696 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
8698 the underlying AML code changed the GPE enable registers. Now, any
8700 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
8702 instead of simply ignored. Rui Zhang.
8704 Fixed a problem with Index Fields where the Index register was
8706 limited to a maximum of 32 bits. Now any size may be used.
8708 Fixed a couple memory leaks associated with "implicit return" objects
8710 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8712 Example Code and Data Size: These are the sizes for the OS-independent
8713 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8714 debug version of the code includes the debug output trace mechanism and
8716 a much larger code and data size.
8719 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
8720 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
8722 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
8723 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
8725 ----------------------------------------
8726 14 November 2007. Summary of changes for version 20071114:
8728 1) ACPI CA Core Subsystem:
8730 Implemented event counters for each of the Fixed Events, the ACPI SCI
8731 (interrupt) itself, and control methods executed. Named
8732 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
8734 should be useful for debugging and statistics.
8736 Implemented a new external interface, AcpiGetStatistics, to retrieve the
8737 contents of the various event counters. Returns the current values for
8738 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
8739 AcpiMethodCount. The interface can be expanded in the future if new
8741 are added. Device drivers should use this interface rather than access
8745 Fixed a problem with the FromBCD and ToBCD operators. With some
8747 the ShortDivide function worked incorrectly, causing problems with the
8749 functions with large input values. A truncation from 64-bit to 32-bit
8750 inadvertently occurred. Internal BZ 435. Lin Ming
8752 Fixed a problem with Index references passed as method arguments.
8754 passed as arguments to control methods were dereferenced immediately
8756 control was passed to the called method). The references are now
8758 passed directly to the called method. BZ 5389. Lin Ming
8760 Fixed a problem with CopyObject used in conjunction with the Index
8762 The reference was incorrectly dereferenced before the copy. The reference
8764 now correctly copied. BZ 5391. Lin Ming
8766 Fixed a problem with Control Method references within Package objects.
8768 references are now correctly generated. This completes the package
8769 construction overhaul that began in version 20071019.
8771 Example Code and Data Size: These are the sizes for the OS-independent
8772 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8773 debug version of the code includes the debug output trace mechanism and
8775 a much larger code and data size.
8778 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
8779 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
8781 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
8782 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
8785 2) iASL Compiler/Disassembler and Tools:
8787 The AcpiExec utility now installs handlers for all of the predefined
8788 Operation Region types. New types supported are: PCI_Config, CMOS, and
8791 Fixed a problem with the 64-bit version of AcpiExec where the extended
8793 bit) address fields for the DSDT and FACS within the FADT were not being
8794 used, causing truncation of the upper 32-bits of these addresses. Lin
8798 ----------------------------------------
8799 19 October 2007. Summary of changes for version 20071019:
8801 1) ACPI CA Core Subsystem:
8803 Fixed a problem with the Alias operator when the target of the alias is a
8804 named ASL operator that opens a new scope -- Scope, Device,
8806 Processor, and ThermalZone. In these cases, any children of the original
8807 operator could not be accessed via the alias, potentially causing
8809 AE_NOT_FOUND exceptions. (BZ 9067)
8811 Fixed a problem with the Package operator where all named references were
8812 created as object references and left otherwise unresolved. According to
8814 ACPI specification, a Package can only contain Data Objects or references
8816 control methods. The implication is that named references to Data Objects
8817 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
8818 immediately upon package creation. This is the approach taken with this
8819 change. References to all other named objects (Methods, Devices, Scopes,
8820 etc.) are all now properly created as reference objects. (BZ 5328)
8822 Reverted a change to Notify handling that was introduced in version
8823 20070508. This version changed the Notify handling from asynchronous to
8824 fully synchronous (Device driver Notify handling with respect to the
8826 ASL operator). It was found that this change caused more problems than it
8827 solved and was removed by most users.
8829 Fixed a problem with the Increment and Decrement operators where the type
8831 the target object could be unexpectedly and incorrectly changed. (BZ 353)
8834 Fixed a problem with the Load and LoadTable operators where the table
8835 location within the namespace was ignored. Instead, the table was always
8836 loaded into the root or current scope. Lin Ming.
8838 Fixed a problem with the Load operator when loading a table from a buffer
8839 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8841 Fixed a problem with the Debug object where a store of a DdbHandle
8843 object to the Debug object could cause a fault.
8845 Added a table checksum verification for the Load operator, in the case
8847 the load is from a buffer. (BZ 578).
8849 Implemented additional parameter validation for the LoadTable operator.
8851 length of the input strings SignatureString, OemIdString, and OemTableId
8853 now checked for maximum lengths. (BZ 582) Lin Ming.
8855 Example Code and Data Size: These are the sizes for the OS-independent
8856 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8857 debug version of the code includes the debug output trace mechanism and
8859 a much larger code and data size.
8862 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
8863 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
8865 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
8866 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
8869 2) iASL Compiler/Disassembler:
8871 Fixed a problem where if a single file was specified and the file did not
8872 exist, no error message was emitted. (Introduced with wildcard support in
8875 ----------------------------------------
8876 19 September 2007. Summary of changes for version 20070919:
8878 1) ACPI CA Core Subsystem:
8880 Designed and implemented new external interfaces to install and remove
8881 handlers for ACPI table-related events. Current events that are defined
8883 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
8884 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
8885 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8887 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
8888 (acpi_serialized option on Linux) could cause some systems to hang during
8889 initialization. (Bob Moore) BZ 8171
8891 Fixed a problem where objects of certain types (Device, ThermalZone,
8892 Processor, PowerResource) can be not found if they are declared and
8893 referenced from within the same control method (Lin Ming) BZ 341
8895 Example Code and Data Size: These are the sizes for the OS-independent
8896 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8897 debug version of the code includes the debug output trace mechanism and
8899 a much larger code and data size.
8902 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
8903 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
8905 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
8906 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
8909 2) iASL Compiler/Disassembler:
8911 Implemented support to allow multiple files to be compiled/disassembled
8914 single invocation. This includes command line wildcard support for both
8916 Windows and Unix versions of the compiler. This feature simplifies the
8917 disassembly and compilation of multiple ACPI tables in a single
8920 ----------------------------------------
8921 08 May 2007. Summary of changes for version 20070508:
8923 1) ACPI CA Core Subsystem:
8925 Implemented a Microsoft compatibility design change for the handling of
8927 Notify AML operator. Previously, notify handlers were dispatched and
8928 executed completely asynchronously in a deferred thread. The new design
8929 still executes the notify handlers in a different thread, but the
8931 thread that executed the Notify() now waits at a synchronization point
8933 the notify handler to complete. Some machines depend on a synchronous
8935 operator in order to operate correctly.
8937 Implemented support to allow Package objects to be passed as method
8938 arguments to the external AcpiEvaluateObject interface. Previously, this
8939 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
8940 implemented since there were no reserved control methods that required it
8943 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
8945 contained invalid non-zero values in reserved fields could cause later
8946 failures because these fields have meaning in later revisions of the
8948 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
8950 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8952 Fixed a problem where the Global Lock handle was not properly updated if
8954 thread that acquired the Global Lock via executing AML code then
8956 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
8960 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
8961 could be corrupted if the interrupt being removed was at the head of the
8962 list. Reported by Linn Crosetto.
8964 Example Code and Data Size: These are the sizes for the OS-independent
8965 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8966 debug version of the code includes the debug output trace mechanism and
8968 a much larger code and data size.
8971 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8972 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
8974 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
8975 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
8977 ----------------------------------------
8978 20 March 2007. Summary of changes for version 20070320:
8980 1) ACPI CA Core Subsystem:
8982 Implemented a change to the order of interpretation and evaluation of AML
8983 operand objects within the AML interpreter. The interpreter now evaluates
8984 operands in the order that they appear in the AML stream (and the
8985 corresponding ASL code), instead of in the reverse order (after the
8987 operand list has been parsed). The previous behavior caused several
8989 incompatibilities with the Microsoft AML interpreter as well as being
8990 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8992 Implemented a change to the ACPI Global Lock support. All interfaces to
8994 global lock now allow the same thread to acquire the lock multiple times.
8995 This affects the AcpiAcquireGlobalLock external interface to the global
8997 as well as the internal use of the global lock to support AML fields -- a
8998 control method that is holding the global lock can now simultaneously
9000 AML fields that require global lock protection. Previously, in both
9002 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
9004 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
9005 Controller. There is no change to the behavior of the AML Acquire
9007 as this can already be used to acquire a mutex multiple times by the same
9008 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9010 Fixed a problem where invalid objects could be referenced in the AML
9011 Interpreter after error conditions. During operand evaluation, ensure
9013 the internal "Return Object" field is cleared on error and only valid
9014 pointers are stored there. Caused occasional access to deleted objects
9016 resulted in "large reference count" warning messages. Valery Podrezov.
9018 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
9020 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
9023 Fixed an internal problem with the handling of result objects on the
9024 interpreter result stack. BZ 7872. Valery Podrezov.
9026 Removed obsolete code that handled the case where AML_NAME_OP is the
9028 of a reference (Reference.Opcode). This code was no longer necessary. BZ
9029 7874. Valery Podrezov.
9031 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
9034 remnant from the previously discontinued 16-bit support.
9036 Example Code and Data Size: These are the sizes for the OS-independent
9037 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9038 debug version of the code includes the debug output trace mechanism and
9040 a much larger code and data size.
9043 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9044 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9046 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9047 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
9049 ----------------------------------------
9050 26 January 2007. Summary of changes for version 20070126:
9052 1) ACPI CA Core Subsystem:
9054 Added the 2007 copyright to all module headers and signons. This affects
9055 virtually every file in the ACPICA core subsystem, the iASL compiler, and
9058 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
9059 during a table load. A bad pointer was passed in the case where the DSDT
9061 overridden, causing a fault in this case.
9063 Example Code and Data Size: These are the sizes for the OS-independent
9064 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9065 debug version of the code includes the debug output trace mechanism and
9067 a much larger code and data size.
9070 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9071 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9073 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9074 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9076 ----------------------------------------
9077 15 December 2006. Summary of changes for version 20061215:
9079 1) ACPI CA Core Subsystem:
9081 Support for 16-bit ACPICA has been completely removed since it is no
9083 necessary and it clutters the code. All 16-bit macros, types, and
9084 conditional compiles have been removed, cleaning up and simplifying the
9086 across the entire subsystem. DOS support is no longer needed since the
9087 bootable Linux firmware kit is now available.
9089 The handler for the Global Lock is now removed during AcpiTerminate to
9090 enable a clean subsystem restart, via the implementation of the
9091 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
9094 Implemented enhancements to the multithreading support within the
9096 to enable improved multithreading debugging and evaluation of the
9100 Debugger: Enhanced the Statistics/Memory command to emit the total
9102 memory used during the execution, as well as the maximum memory consumed
9104 each of the various object types. (Valery Podrezov)
9106 Example Code and Data Size: These are the sizes for the OS-independent
9107 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9108 debug version of the code includes the debug output trace mechanism and
9110 a much larger code and data size.
9113 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
9114 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
9116 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9117 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9120 2) iASL Compiler/Disassembler and Tools:
9122 AcpiExec: Implemented a new option (-m) to display full memory use
9123 statistics upon subsystem/program termination. (Valery Podrezov)
9125 ----------------------------------------
9126 09 November 2006. Summary of changes for version 20061109:
9128 1) ACPI CA Core Subsystem:
9130 Optimized the Load ASL operator in the case where the source operand is
9132 operation region. Simply map the operation region memory, instead of
9133 performing a bytewise read. (Region must be of type SystemMemory, see
9136 Fixed the Load ASL operator for the case where the source operand is a
9137 region field. A buffer object is also allowed as the source operand. BZ
9140 Fixed a problem where the Load ASL operator allowed the source operand to
9142 an operation region of any type. It is now restricted to regions of type
9143 SystemMemory, as per the ACPI specification. BZ 481
9145 Additional cleanup and optimizations for the new Table Manager code.
9147 AcpiEnable will now fail if all of the required ACPI tables are not
9149 (FADT, FACS, DSDT). BZ 477
9151 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
9153 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
9154 manually optimized to be aligned and will not work if it is byte-packed.
9156 Example Code and Data Size: These are the sizes for the OS-independent
9157 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9158 debug version of the code includes the debug output trace mechanism and
9160 a much larger code and data size.
9163 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
9164 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
9166 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
9167 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
9170 2) iASL Compiler/Disassembler and Tools:
9172 Fixed a problem where the presence of the _OSI predefined control method
9173 within complex expressions could cause an internal compiler error.
9175 AcpiExec: Implemented full region support for multiple address spaces.
9176 SpaceId is now part of the REGION object. BZ 429
9178 ----------------------------------------
9179 11 October 2006. Summary of changes for version 20061011:
9181 1) ACPI CA Core Subsystem:
9183 Completed an AML interpreter performance enhancement for control method
9184 execution. Previously a 2-pass parse/execution, control methods are now
9185 completely parsed and executed in a single pass. This improves overall
9186 interpreter performance by ~25%, reduces code size, and reduces CPU stack
9187 use. (Valery Podrezov + interpreter changes in version 20051202 that
9188 eliminated namespace loading during the pass one parse.)
9190 Implemented _CID support for PCI Root Bridge detection. If the _HID does
9192 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
9194 obtained and also checked for an ID match.
9196 Implemented additional support for the PCI _ADR execution: upsearch until
9198 device scope is found before executing _ADR. This allows PCI_Config
9199 operation regions to be declared locally within control methods
9203 Fixed a problem with a possible race condition between threads executing
9204 AcpiWalkNamespace and the AML interpreter. This condition was removed by
9205 modifying AcpiWalkNamespace to (by default) ignore all temporary
9207 entries created during any concurrent control method execution. An
9208 additional namespace race condition is known to exist between
9209 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
9212 Restructured the AML ParseLoop function, breaking it into several
9213 subfunctions in order to reduce CPU stack use and improve
9217 AcpiGetHandle: Fix for parameter validation to detect invalid
9219 of prefix handle and pathname. BZ 478
9221 Example Code and Data Size: These are the sizes for the OS-independent
9222 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9223 debug version of the code includes the debug output trace mechanism and
9225 a much larger code and data size.
9228 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
9229 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
9231 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
9232 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
9234 2) iASL Compiler/Disassembler and Tools:
9236 Ported the -g option (get local ACPI tables) to the new ACPICA Table
9238 to restore original behavior.
9240 ----------------------------------------
9241 27 September 2006. Summary of changes for version 20060927:
9243 1) ACPI CA Core Subsystem:
9245 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
9246 These functions now use a spinlock for mutual exclusion and the interrupt
9247 level indication flag is not needed.
9249 Fixed a problem with the Global Lock where the lock could appear to be
9250 obtained before it is actually obtained. The global lock semaphore was
9251 inadvertently created with one unit instead of zero units. (BZ 464)
9255 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
9257 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9259 Example Code and Data Size: These are the sizes for the OS-independent
9260 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9261 debug version of the code includes the debug output trace mechanism and
9263 a much larger code and data size.
9266 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
9267 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
9269 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
9270 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
9273 2) iASL Compiler/Disassembler and Tools:
9275 Fixed a compilation problem with the pre-defined Resource Descriptor
9277 names where an "object does not exist" error could be incorrectly
9279 if the parent ResourceTemplate pathname places the template within a
9280 different namespace scope than the current scope. (BZ 7212)
9282 Fixed a problem where the compiler could hang after syntax errors
9284 in an ElseIf construct. (BZ 453)
9286 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
9287 operator. An incorrect output filename was produced when this parameter
9289 a null string (""). Now, the original input filename is used as the AML
9290 output filename, with an ".aml" extension.
9292 Implemented a generic batch command mode for the AcpiExec utility
9294 any AML debugger command) (Valery Podrezov).
9296 ----------------------------------------
9297 12 September 2006. Summary of changes for version 20060912:
9299 1) ACPI CA Core Subsystem:
9301 Enhanced the implementation of the "serialized mode" of the interpreter
9302 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
9303 specified, instead of creating a serialization semaphore per control
9305 the interpreter lock is simply no longer released before a blocking
9306 operation during control method execution. This effectively makes the AML
9307 Interpreter single-threaded. The overhead of a semaphore per-method is
9310 Fixed a regression where an error was no longer emitted if a control
9312 attempts to create 2 objects of the same name. This once again returns
9313 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
9315 will dynamically serialize the control method to possible prevent future
9318 Integrated a fix for a problem with PCI Express HID detection in the PCI
9319 Config Space setup procedure. (BZ 7145)
9321 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
9322 AcpiHwInitialize function - the FADT registers are now validated when the
9325 Added two new warnings during FADT verification - 1) if the FADT is
9327 than the largest known FADT version, and 2) if there is a mismatch
9330 32-bit block address and the 64-bit X counterpart (when both are non-
9333 Example Code and Data Size: These are the sizes for the OS-independent
9334 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9335 debug version of the code includes the debug output trace mechanism and
9337 a much larger code and data size.
9340 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
9341 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
9343 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
9344 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
9347 2) iASL Compiler/Disassembler and Tools:
9349 Fixed a problem with the implementation of the Switch() operator where
9351 temporary variable was declared too close to the actual Switch, instead
9353 at method level. This could cause a problem if the Switch() operator is
9354 within a while loop, causing an error on the second iteration. (BZ 460)
9356 Disassembler - fix for error emitted for unknown type for target of scope
9357 operator. Now, ignore it and continue.
9359 Disassembly of an FADT now verifies the input FADT and reports any errors
9360 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9362 Disassembly of raw data buffers with byte initialization data now
9364 each output line with the current buffer offset.
9366 Disassembly of ASF! table now includes all variable-length data fields at
9367 the end of some of the subtables.
9369 The disassembler now emits a comment if a buffer appears to be a
9370 ResourceTemplate, but cannot be disassembled as such because the EndTag
9372 not appear at the very end of the buffer.
9374 AcpiExec - Added the "-t" command line option to enable the serialized
9376 of the AML interpreter.
9378 ----------------------------------------
9379 31 August 2006. Summary of changes for version 20060831:
9381 1) ACPI CA Core Subsystem:
9383 Miscellaneous fixes for the Table Manager:
9384 - Correctly initialize internal common FADT for all 64-bit "X" fields
9385 - Fixed a couple table mapping issues during table load
9386 - Fixed a couple alignment issues for IA64
9387 - Initialize input array to zero in AcpiInitializeTables
9388 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
9391 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
9393 immediately disabled to prevent the waking GPE from firing again and to
9394 prevent other wake GPEs from interrupting the wake process.
9396 Added the AcpiGpeCount global that tracks the number of processed GPEs,
9398 be used for debugging systems with a large number of ACPI interrupts.
9400 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
9401 both the ACPICA headers and the disassembler.
9403 Example Code and Data Size: These are the sizes for the OS-independent
9404 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9405 debug version of the code includes the debug output trace mechanism and
9407 a much larger code and data size.
9410 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
9411 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
9413 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
9414 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
9417 2) iASL Compiler/Disassembler and Tools:
9419 Disassembler support for the DMAR ACPI table.
9421 ----------------------------------------
9422 23 August 2006. Summary of changes for version 20060823:
9424 1) ACPI CA Core Subsystem:
9426 The Table Manager component has been completely redesigned and
9427 reimplemented. The new design is much simpler, and reduces the overall
9429 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
9431 now possible to obtain the ACPI tables very early during kernel
9432 initialization, even before dynamic memory management is initialized.
9433 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9435 Obsolete ACPICA interfaces:
9437 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
9440 - AcpiLoadTable: Not needed.
9441 - AcpiUnloadTable: Not needed.
9443 New ACPICA interfaces:
9445 - AcpiInitializeTables: Must be called before the table manager can be
9447 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
9448 allocated memory after it becomes available.
9449 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
9453 Other ACPICA changes:
9455 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
9457 AcpiOsUnmapMemory to free this mapping.
9458 - AcpiGetTable returns the actual mapped table. The mapping is managed
9459 internally and must not be deleted by the caller. Use of this interface
9460 causes no additional dynamic memory allocation.
9461 - AcpiFindRootPointer: Support for physical addressing has been
9463 it appeared to be unused.
9464 - The interface to AcpiOsMapMemory has changed to be consistent with the
9465 other allocation interfaces.
9466 - The interface to AcpiOsGetRootPointer has changed to eliminate
9469 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
9471 bit platforms. Was previously 64 bits on all platforms.
9472 - The interface to the ACPI Global Lock acquire/release macros have
9474 slightly since ACPICA no longer keeps a local copy of the FACS with a
9475 constructed pointer to the actual global lock.
9477 Porting to the new table manager:
9479 - AcpiInitializeTables: Must be called once, and can be called anytime
9480 during the OS initialization process. It allows the host to specify an
9482 of memory to be used to store the internal version of the RSDT/XSDT (root
9483 table). This allows the host to access ACPI tables before memory
9485 is initialized and running.
9486 - AcpiReallocateRootTable: Can be called after memory management is
9488 to copy the root table to a dynamically allocated array, freeing up the
9489 scratch memory specified in the call to AcpiInitializeTables.
9490 - AcpiSubsystemInitialize: This existing interface is independent of the
9491 Table Manager, and does not have to be called before the Table Manager
9493 be used, it only must be called before the rest of ACPICA can be used.
9494 - ACPI Tables: Some changes have been made to the names and structure of
9496 actbl.h and actbl1.h header files and may require changes to existing
9498 For example, bitfields have been completely removed because of their lack
9500 portability across C compilers.
9501 - Update interfaces to the Global Lock acquire/release macros if local
9502 versions are used. (see acwin.h)
9504 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9508 Example Code and Data Size: These are the sizes for the OS-independent
9509 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9510 debug version of the code includes the debug output trace mechanism and
9512 a much larger code and data size.
9515 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9516 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9518 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
9519 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
9522 2) iASL Compiler/Disassembler and Tools:
9524 No changes for this release.
9526 ----------------------------------------
9527 21 July 2006. Summary of changes for version 20060721:
9529 1) ACPI CA Core Subsystem:
9531 The full source code for the ASL test suite used to validate the iASL
9532 compiler and the ACPICA core subsystem is being released with the ACPICA
9533 source for the first time. The source is contained in a separate package
9535 consists of over 1100 files that exercise all ASL/AML operators. The
9537 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
9541 Completed a new design and implementation for support of the ACPI Global
9542 Lock. On the OS side, the global lock is now treated as a standard AML
9543 mutex. Previously, multiple OS threads could "acquire" the global lock
9544 simultaneously. However, this could cause the BIOS to be starved out of
9546 lock - especially in cases such as the Embedded Controller driver where
9547 there is a tight coupling between the OS and the BIOS.
9549 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
9550 The Global Lock interrupt handler no longer queues the execution of a
9551 separate thread to signal the global lock semaphore. Instead, the
9553 is signaled directly from the interrupt handler.
9555 Implemented support within the AML interpreter for package objects that
9556 contain a larger AML length (package list length) than the package
9558 count. In this case, the length of the package is truncated to match the
9559 package element count. Some BIOS code apparently modifies the package
9561 on the fly, and this change supports this behavior. Provides
9563 with the MS AML interpreter. (With assistance from Fiodor Suietov)
9565 Implemented a temporary fix for the BankValue parameter of a Bank Field
9567 support all constant values, now including the Zero and One opcodes.
9568 Evaluation of this parameter must eventually be converted to a full
9570 evaluation. A not-implemented error is now returned (temporarily) for
9572 constant values for this parameter.
9574 Fixed problem reports (Fiodor Suietov) integrated:
9575 - Fix for premature object deletion after CopyObject on Operation Region
9579 Example Code and Data Size: These are the sizes for the OS-independent
9580 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9581 debug version of the code includes the debug output trace mechanism and
9583 a much larger code and data size.
9586 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
9587 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
9589 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9590 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9593 2) iASL Compiler/Disassembler and Tools:
9595 No changes for this release.
9597 ----------------------------------------
9598 07 July 2006. Summary of changes for version 20060707:
9600 1) ACPI CA Core Subsystem:
9602 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
9603 that do not allow the initialization of address pointers within packed
9604 structures - even though the hardware itself may support misaligned
9605 transfers. Some of the debug data structures are packed by default to
9608 Added an error message for the case where AcpiOsGetThreadId() returns
9610 A non-zero value is required by the core ACPICA code to ensure the proper
9611 operation of AML mutexes and recursive control methods.
9613 The DSDT is now the only ACPI table that determines whether the AML
9614 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
9616 the hooks for per-table 32/64 switching have been removed from the code.
9618 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9620 Fixed a possible leak of an OwnerID in the error path of
9621 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
9622 deletion to a single place in AcpiTbUninstallTable to correct possible
9624 when using the AcpiTbDeleteTablesByType interface (with assistance from
9627 Fixed a problem with Serialized control methods where the semaphore
9628 associated with the method could be over-signaled after multiple method
9631 Fixed two issues with the locking of the internal namespace data
9633 Both the Unload() operator and AcpiUnloadTable interface now lock the
9634 namespace during the namespace deletion associated with the table unload
9635 (with assistance from Linn Crosetto.)
9637 Fixed problem reports (Valery Podrezov) integrated:
9638 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9640 Fixed problem reports (Fiodor Suietov) integrated:
9641 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9642 - On Address Space handler deletion, needless deactivation call (BZ 374)
9643 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
9645 - Possible memory leak, Notify sub-objects of Processor, Power,
9648 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9649 - Minimum Length of RSDT should be validated (BZ 379)
9650 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
9652 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
9656 Example Code and Data Size: These are the sizes for the OS-independent
9657 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9658 debug version of the code includes the debug output trace mechanism and
9660 a much larger code and data size.
9663 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
9664 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
9666 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9667 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9670 2) iASL Compiler/Disassembler and Tools:
9672 Fixed problem reports:
9673 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
9676 ----------------------------------------
9677 23 June 2006. Summary of changes for version 20060623:
9679 1) ACPI CA Core Subsystem:
9681 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
9682 allows the type to be customized to the host OS for improved efficiency
9683 (since a spinlock is usually a very small object.)
9685 Implemented support for "ignored" bits in the ACPI registers. According
9687 the ACPI specification, these bits should be preserved when writing the
9688 registers via a read/modify/write cycle. There are 3 bits preserved in
9690 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9692 Implemented the initial deployment of new OSL mutex interfaces. Since
9694 host operating systems have separate mutex and semaphore objects, this
9695 feature was requested. The base code now uses mutexes (and the new mutex
9696 interfaces) wherever a binary semaphore was used previously. However, for
9697 the current release, the mutex interfaces are defined as macros to map
9699 to the existing semaphore interfaces. Therefore, no OSL changes are
9701 at this time. (See acpiosxf.h)
9703 Fixed several problems with the support for the control method SyncLevel
9704 parameter. The SyncLevel now works according to the ACPI specification
9706 in concert with the Mutex SyncLevel parameter, since the current
9708 is a property of the executing thread. Mutual exclusion for control
9710 is now implemented with a mutex instead of a semaphore.
9712 Fixed three instances of the use of the C shift operator in the bitfield
9713 support code (exfldio.c) to avoid the use of a shift value larger than
9715 target data width. The behavior of C compilers is undefined in this case
9717 can cause unpredictable results, and therefore the case must be detected
9719 avoided. (Fiodor Suietov)
9721 Added an info message whenever an SSDT or OEM table is loaded dynamically
9722 via the Load() or LoadTable() ASL operators. This should improve
9724 capability since it will show exactly what tables have been loaded
9726 the tables present in the RSDT/XSDT.)
9728 Example Code and Data Size: These are the sizes for the OS-independent
9729 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9730 debug version of the code includes the debug output trace mechanism and
9732 a much larger code and data size.
9735 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
9736 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
9738 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
9739 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
9742 2) iASL Compiler/Disassembler and Tools:
9744 No changes for this release.
9746 ----------------------------------------
9747 08 June 2006. Summary of changes for version 20060608:
9749 1) ACPI CA Core Subsystem:
9751 Converted the locking mutex used for the ACPI hardware to a spinlock.
9753 change should eliminate all problems caused by attempting to acquire a
9754 semaphore at interrupt level, and it means that all ACPICA external
9755 interfaces that directly access the ACPI hardware can be safely called
9757 interrupt level. OSL code that implements the semaphore interfaces should
9759 able to eliminate any workarounds for being called at interrupt level.
9761 Fixed a regression introduced in 20060526 where the ACPI device
9762 initialization could be prematurely aborted with an AE_NOT_FOUND if a
9764 did not have an optional _INI method.
9766 Fixed an IndexField issue where a write to the Data Register should be
9767 limited in size to the AccessSize (width) of the IndexField itself. (BZ
9771 Fixed problem reports (Valery Podrezov) integrated:
9772 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9774 Fixed problem reports (Fiodor Suietov) integrated:
9775 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9777 Removed four global mutexes that were obsolete and were no longer being
9780 Example Code and Data Size: These are the sizes for the OS-independent
9781 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9782 debug version of the code includes the debug output trace mechanism and
9784 a much larger code and data size.
9787 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
9788 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
9790 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
9791 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
9794 2) iASL Compiler/Disassembler and Tools:
9796 Fixed a fault when using -g option (get tables from registry) on Windows
9799 Fixed problem reports integrated:
9800 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
9801 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
9803 - Global table revision override (-r) is ignored (BZ 413)
9805 ----------------------------------------
9806 26 May 2006. Summary of changes for version 20060526:
9808 1) ACPI CA Core Subsystem:
9810 Restructured, flattened, and simplified the internal interfaces for
9811 namespace object evaluation - resulting in smaller code, less CPU stack
9813 and fewer interfaces. (With assistance from Mikhail Kouzmich)
9815 Fixed a problem with the CopyObject operator where the first parameter
9817 not typed correctly for the parser, interpreter, compiler, and
9819 Caused various errors and unexpected behavior.
9821 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
9822 produced incorrect results with some C compilers. Since the behavior of C
9823 compilers when the shift value is larger than the datatype width is
9824 apparently not well defined, the interpreter now detects this condition
9826 simply returns zero as expected in all such cases. (BZ 395)
9828 Fixed problem reports (Valery Podrezov) integrated:
9829 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9830 - Allow interpreter to handle nested method declarations (BZ 5361)
9832 Fixed problem reports (Fiodor Suietov) integrated:
9833 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
9835 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
9837 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9838 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9839 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9840 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9841 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9842 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9843 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
9845 - Status of the Global Initialization Handler call not used (BZ 366)
9846 - Incorrect object parameter to Global Initialization Handler (BZ 367)
9848 Example Code and Data Size: These are the sizes for the OS-independent
9849 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9850 debug version of the code includes the debug output trace mechanism and
9852 a much larger code and data size.
9855 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
9856 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
9858 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
9859 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
9862 2) iASL Compiler/Disassembler and Tools:
9864 Modified the parser to allow the names IO, DMA, and IRQ to be used as
9865 namespace identifiers with no collision with existing resource descriptor
9866 macro names. This provides compatibility with other ASL compilers and is
9867 most useful for disassembly/recompilation of existing tables without
9869 errors. (With assistance from Thomas Renninger)
9871 Disassembler: fixed an incorrect disassembly problem with the
9872 DataTableRegion and CopyObject operators. Fixed a possible fault during
9873 disassembly of some Alias operators.
9875 ----------------------------------------
9876 12 May 2006. Summary of changes for version 20060512:
9878 1) ACPI CA Core Subsystem:
9880 Replaced the AcpiOsQueueForExecution interface with a new interface named
9881 AcpiOsExecute. The major difference is that the new interface does not
9883 a Priority parameter, this appeared to be useless and has been replaced
9886 Type parameter. The Type tells the host what type of execution is being
9887 requested, such as global lock handler, notify handler, GPE handler, etc.
9888 This allows the host to queue and execute the request as appropriate for
9890 request type, possibly using different work queues and different
9892 for the various request types. This enables fixes for multithreading
9893 deadlock problems such as BZ #5534, and will require changes to all
9895 OS interface layers. (Alexey Starikovskiy and Bob Moore)
9897 Fixed a possible memory leak associated with the support for the so-
9899 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
9902 Fixed a problem with the Load() operator where a table load from an
9903 operation region could overwrite an internal table buffer by up to 7
9905 and cause alignment faults on IPF systems. (With assistance from Luming
9908 Example Code and Data Size: These are the sizes for the OS-independent
9909 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9910 debug version of the code includes the debug output trace mechanism and
9912 a much larger code and data size.
9915 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
9916 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
9918 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
9919 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
9923 2) iASL Compiler/Disassembler and Tools:
9925 Disassembler: Implemented support to cross reference the internal
9927 and automatically generate ASL External() statements for symbols not
9929 within the current table being disassembled. This will simplify the
9930 disassembly and recompilation of interdependent tables such as SSDTs
9932 these statements will no longer have to be added manually.
9934 Disassembler: Implemented experimental support to automatically detect
9935 invocations of external control methods and generate appropriate
9937 statements. This is problematic because the AML cannot be correctly
9939 until the number of arguments for each control method is known.
9941 standalone method invocations and invocations as the source operand of a
9942 Store() statement are supported.
9944 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
9945 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
9946 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
9947 more readable and likely closer to the original ASL source.
9949 ----------------------------------------
9950 21 April 2006. Summary of changes for version 20060421:
9952 1) ACPI CA Core Subsystem:
9954 Removed a device initialization optimization introduced in 20051216 where
9955 the _STA method was not run unless an _INI was also present for the same
9956 device. This optimization could cause problems because it could allow
9958 methods to be run within a not-present device subtree. (If a not-present
9959 device had no _INI, _STA would not be run, the not-present status would
9961 be discovered, and the children of the device would be incorrectly
9964 Implemented a new _STA optimization where namespace subtrees that do not
9965 contain _INI are identified and ignored during device initialization.
9966 Selectively running _STA can significantly improve boot time on large
9967 machines (with assistance from Len Brown.)
9969 Implemented support for the device initialization case where the returned
9970 _STA flags indicate a device not-present but functioning. In this case,
9972 is not run, but the device children are examined for presence, as per the
9975 Implemented an additional change to the IndexField support in order to
9976 conform to MS behavior. The value written to the Index Register is not
9977 simply a byte offset, it is a byte offset in units of the access width of
9978 the parent Index Field. (Fiodor Suietov)
9980 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
9981 interface is called during the creation of all AML operation regions, and
9982 allows the host OS to exert control over what addresses it will allow the
9983 AML code to access. Operation Regions whose addresses are disallowed will
9984 cause a runtime exception when they are actually accessed (will not
9986 or abort table loading.) See oswinxf or osunixxf for an example
9989 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
9990 interface allows the host OS to match the various "optional"
9991 interface/behavior strings for the _OSI predefined control method as
9992 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
9993 for an example implementation.
9995 Restructured and corrected various problems in the exception handling
9997 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
9998 (with assistance from Takayoshi Kochi.)
10000 Modified the Linux source converter to ignore quoted string literals
10002 converting identifiers from mixed to lower case. This will correct
10004 with the disassembler and other areas where such strings must not be
10007 The ACPI_FUNCTION_* macros no longer require quotes around the function
10008 name. This allows the Linux source converter to convert the names, now
10010 the converter ignores quoted strings.
10012 Example Code and Data Size: These are the sizes for the OS-independent
10013 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10014 debug version of the code includes the debug output trace mechanism and
10016 a much larger code and data size.
10020 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
10021 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
10023 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
10024 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
10027 2) iASL Compiler/Disassembler and Tools:
10029 Implemented 3 new warnings for iASL, and implemented multiple warning
10033 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
10035 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
10036 check for the possible timeout, a warning is issued.
10038 2) Useless operators: If an ASL operator does not specify an optional
10040 operand and it also does not use the function return value from the
10041 operator, a warning is issued since the operator effectively does
10044 3) Unreferenced objects: If a namespace object is created, but never
10045 referenced, a warning is issued. This is a warning level 2 since there
10047 cases where this is ok, such as when a secondary table is loaded that
10049 the unreferenced objects. Even so, care is taken to only flag objects
10051 don't look like they will ever be used. For example, the reserved methods
10052 (starting with an underscore) are usually not referenced because it is
10053 expected that the OS will invoke them.
10055 ----------------------------------------
10056 31 March 2006. Summary of changes for version 20060331:
10058 1) ACPI CA Core Subsystem:
10060 Implemented header file support for the following additional ACPI tables:
10061 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
10063 all current and known ACPI tables are now defined in the ACPICA headers
10065 are available for use by device drivers and other software.
10067 Implemented support to allow tables that contain ACPI names with invalid
10068 characters to be loaded. Previously, this would cause the table load to
10069 fail, but since there are several known cases of such tables on existing
10070 machines, this change was made to enable ACPI support for them. Also,
10072 matches the behavior of the Microsoft ACPI implementation.
10074 Fixed a couple regressions introduced during the memory optimization in
10076 20060317 release. The namespace node definition required additional
10077 reorganization and an internal datatype that had been changed to 8-bit
10079 restored to 32-bit. (Valery Podrezov)
10081 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
10082 could be passed through to AcpiOsReleaseObject which is unexpected. Such
10083 null pointers are now trapped and ignored, matching the behavior of the
10084 previous implementation before the deployment of AcpiOsReleaseObject.
10085 (Valery Podrezov, Fiodor Suietov)
10087 Fixed a memory mapping leak during the deletion of a SystemMemory
10089 region where a cached memory mapping was not deleted. This became a
10090 noticeable problem for operation regions that are defined within
10092 used control methods. (Dana Meyers)
10094 Reorganized the ACPI table header files into two main files: one for the
10095 ACPI tables consumed by the ACPICA core, and another for the
10097 ACPI tables that are consumed by the drivers and other software. The
10099 FADT definitions were merged into one common section and three different
10100 tables (ACPI 1.0, 1.0+, and 2.0)
10102 Example Code and Data Size: These are the sizes for the OS-independent
10103 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10104 debug version of the code includes the debug output trace mechanism and
10106 a much larger code and data size.
10109 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
10110 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
10112 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
10113 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
10116 2) iASL Compiler/Disassembler and Tools:
10118 Disassembler: Implemented support to decode and format all non-AML ACPI
10119 tables (tables other than DSDTs and SSDTs.) This includes the new tables
10120 added to the ACPICA headers, therefore all current and known ACPI tables
10124 Disassembler: The change to allow ACPI names with invalid characters also
10125 enables the disassembly of such tables. Invalid characters within names
10127 changed to '*' to make the name printable; the iASL compiler will still
10128 generate an error for such names, however, since this is an invalid ACPI
10131 Implemented an option for AcpiXtract (-a) to extract all tables found in
10133 input file. The default invocation extracts only the DSDTs and SSDTs.
10135 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
10136 makefile for the AcpiXtract utility.
10138 ----------------------------------------
10139 17 March 2006. Summary of changes for version 20060317:
10141 1) ACPI CA Core Subsystem:
10143 Implemented the use of a cache object for all internal namespace nodes.
10144 Since there are about 1000 static nodes in a typical system, this will
10145 decrease memory use for cache implementations that minimize per-
10147 overhead (such as a slab allocator.)
10149 Removed the reference count mechanism for internal namespace nodes, since
10151 was deemed unnecessary. This reduces the size of each namespace node by
10152 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
10154 and 32 bytes for the 64-bit case.
10156 Optimized several internal data structures to reduce object size on 64-
10158 platforms by packing data within the 64-bit alignment. This includes the
10159 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
10160 instances corresponding to the namespace objects.
10162 Added two new strings for the predefined _OSI method: "Windows 2001.1
10164 and "Windows 2006".
10166 Split the allocation tracking mechanism out to a separate file, from
10167 utalloc.c to uttrack.c. This mechanism appears to be only useful for
10168 application-level code. Kernels may wish to not include uttrack.c in
10171 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
10173 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
10176 Code and Data Size: These are the sizes for the acpica.lib produced by
10178 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10180 driver or OSPM code. The debug version of the code includes the debug
10182 trace mechanism and has a much larger code and data size. Note that these
10183 values will vary depending on the efficiency of the compiler and the
10184 compiler options used during generation.
10187 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
10188 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
10190 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
10191 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
10194 2) iASL Compiler/Disassembler and Tools:
10196 Implemented an ANSI C version of the acpixtract utility. This version
10198 automatically extract the DSDT and all SSDTs from the input acpidump text
10199 file and dump the binary output to separate files. It can also display a
10200 summary of the input file including the headers for each table found and
10201 will extract any single ACPI table, with any signature. (See
10202 source/tools/acpixtract)
10204 ----------------------------------------
10205 10 March 2006. Summary of changes for version 20060310:
10207 1) ACPI CA Core Subsystem:
10209 Tagged all external interfaces to the subsystem with the new
10210 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
10212 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
10213 macro. The default definition is NULL.
10215 Added the ACPI_THREAD_ID type for the return value from
10217 This allows the host to define this as necessary to simplify kernel
10218 integration. The default definition is ACPI_NATIVE_UINT.
10220 Fixed two interpreter problems related to error processing, the deletion
10222 objects, and placing invalid pointers onto the internal operator result
10223 stack. BZ 6028, 6151 (Valery Podrezov)
10225 Increased the reference count threshold where a warning is emitted for
10227 reference counts in order to eliminate unnecessary warnings on systems
10229 large namespaces (especially 64-bit.) Increased the value from 0x400 to
10232 Due to universal disagreement as to the meaning of the 'c' in the
10234 function, the ACPI_MEM_CALLOCATE macro has been renamed to
10235 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
10236 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
10239 Code and Data Size: These are the sizes for the acpica.lib produced by
10241 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10243 driver or OSPM code. The debug version of the code includes the debug
10245 trace mechanism and has a much larger code and data size. Note that these
10246 values will vary depending on the efficiency of the compiler and the
10247 compiler options used during generation.
10250 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
10251 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
10253 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
10254 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
10257 2) iASL Compiler/Disassembler:
10259 Disassembler: implemented support for symbolic resource descriptor
10260 references. If a CreateXxxxField operator references a fixed offset
10263 resource descriptor, a name is assigned to the descriptor and the offset
10265 translated to the appropriate resource tag and pathname. The addition of
10266 this support brings the disassembled code very close to the original ASL
10267 source code and helps eliminate run-time errors when the disassembled
10269 is modified (and recompiled) in such a way as to invalidate the original
10272 Implemented support for a Descriptor Name as the last parameter to the
10274 Register() macro. This parameter was inadvertently left out of the ACPI
10275 specification, and will be added for ACPI 3.0b.
10277 Fixed a problem where the use of the "_OSI" string (versus the full path
10278 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10280 Fixed a problem with the error message that occurs when an invalid string
10282 used for a _HID object (such as one with an embedded asterisk:
10284 The correct message is now displayed.
10286 ----------------------------------------
10287 17 February 2006. Summary of changes for version 20060217:
10289 1) ACPI CA Core Subsystem:
10291 Implemented a change to the IndexField support to match the behavior of
10293 Microsoft AML interpreter. The value written to the Index register is now
10295 byte offset, no longer an index based upon the width of the Data
10297 This should fix IndexField problems seen on some machines where the Data
10298 register is not exactly one byte wide. The ACPI specification will be
10299 clarified on this point.
10301 Fixed a problem where several resource descriptor types could overrun the
10302 internal descriptor buffer due to size miscalculation: VendorShort,
10303 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
10304 affect all platforms.
10306 Fixed a problem where individual resource descriptors were misaligned
10308 the internal buffer, causing alignment faults on IA64 platforms.
10310 Code and Data Size: These are the sizes for the acpica.lib produced by
10312 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10314 driver or OSPM code. The debug version of the code includes the debug
10316 trace mechanism and has a much larger code and data size. Note that these
10317 values will vary depending on the efficiency of the compiler and the
10318 compiler options used during generation.
10321 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
10322 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
10324 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
10325 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
10328 2) iASL Compiler/Disassembler:
10330 Implemented support for new reserved names: _WDG and _WED are Microsoft
10331 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10332 defined method (Throttling Depth Limit.)
10334 Fixed a problem where a zero-length VendorShort or VendorLong resource
10335 descriptor was incorrectly emitted as a descriptor of length one.
10337 ----------------------------------------
10338 10 February 2006. Summary of changes for version 20060210:
10340 1) ACPI CA Core Subsystem:
10342 Removed a couple of extraneous ACPI_ERROR messages that appeared during
10343 normal execution. These became apparent after the conversion from
10346 Fixed a problem where the CreateField operator could hang if the BitIndex
10348 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10350 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
10351 failed with an exception. This also fixes a couple of related RefOf and
10352 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10354 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
10356 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
10360 Implemented a memory cleanup at the end of the execution of each
10362 of an AML While() loop, preventing the accumulation of outstanding
10364 (Valery Podrezov, BZ 5427)
10366 Eliminated a chunk of duplicate code in the object resolution code.
10370 Fixed several warnings during the 64-bit code generation.
10372 The AcpiSrc source code conversion tool now inserts one line of
10374 after an if() statement that is followed immediately by a comment,
10376 readability of the Linux code.
10378 Code and Data Size: The current and previous library sizes for the core
10379 subsystem are shown below. These are the code and data sizes for the
10380 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10382 values do not include any ACPI driver or OSPM code. The debug version of
10384 code includes the debug output trace mechanism and has a much larger code
10385 and data size. Note that these values will vary depending on the
10387 of the compiler and the compiler options used during generation.
10390 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
10391 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
10393 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
10394 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
10397 2) iASL Compiler/Disassembler:
10399 Fixed a problem with the disassembly of a BankField operator with a
10401 expression for the BankValue parameter.
10403 ----------------------------------------
10404 27 January 2006. Summary of changes for version 20060127:
10406 1) ACPI CA Core Subsystem:
10408 Implemented support in the Resource Manager to allow unresolved
10410 references within resource package objects for the _PRT method. This
10412 is in addition to the previously implemented unresolved reference support
10413 within the AML parser. If the interpreter slack mode is enabled, these
10414 unresolved references will be passed through to the caller as a NULL
10418 Implemented and deployed new macros and functions for error and warning
10419 messages across the subsystem. These macros are simpler and generate less
10420 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
10421 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
10422 macros remain defined to allow ACPI drivers time to migrate to the new
10425 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
10427 Acquire/Release Lock OSL interfaces.
10429 Fixed a problem where Alias ASL operators are sometimes not correctly
10430 resolved, in both the interpreter and the iASL compiler.
10432 Fixed several problems with the implementation of the
10433 ConcatenateResTemplate
10434 ASL operator. As per the ACPI specification, zero length buffers are now
10435 treated as a single EndTag. One-length buffers always cause a fatal
10436 exception. Non-zero length buffers that do not end with a full 2-byte
10438 cause a fatal exception.
10440 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
10441 interface. (With assistance from Thomas Renninger)
10443 Code and Data Size: The current and previous library sizes for the core
10444 subsystem are shown below. These are the code and data sizes for the
10445 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10447 values do not include any ACPI driver or OSPM code. The debug version of
10449 code includes the debug output trace mechanism and has a much larger code
10450 and data size. Note that these values will vary depending on the
10452 of the compiler and the compiler options used during generation.
10455 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
10456 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
10458 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
10459 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
10462 2) iASL Compiler/Disassembler:
10464 Fixed an internal error that was generated for any forward references to
10468 ----------------------------------------
10469 13 January 2006. Summary of changes for version 20060113:
10471 1) ACPI CA Core Subsystem:
10473 Added 2006 copyright to all module headers and signons. This affects
10474 virtually every file in the ACPICA core subsystem, iASL compiler, and the
10477 Enhanced the ACPICA error reporting in order to simplify user migration
10479 the non-debug version of ACPICA. Replaced all instances of the
10480 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
10482 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
10483 respectively. This preserves all error and warning messages in the non-
10485 version of the ACPICA code (this has been referred to as the "debug lite"
10486 option.) Over 200 cases were converted to create a total of over 380
10487 error/warning messages across the ACPICA code. This increases the code
10489 data size of the default non-debug version of the code somewhat (about
10491 but all error/warning reporting may be disabled if desired (and code
10492 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
10493 configuration option. The size of the debug version of ACPICA remains
10497 Fixed a memory leak within the AML Debugger "Set" command. One object was
10498 not properly deleted for every successful invocation of the command.
10500 Code and Data Size: The current and previous library sizes for the core
10501 subsystem are shown below. These are the code and data sizes for the
10502 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10504 values do not include any ACPI driver or OSPM code. The debug version of
10506 code includes the debug output trace mechanism and has a much larger code
10507 and data size. Note that these values will vary depending on the
10509 of the compiler and the compiler options used during generation.
10512 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
10513 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
10515 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
10516 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
10519 2) iASL Compiler/Disassembler:
10521 The compiler now officially supports the ACPI 3.0a specification that was
10522 released on December 30, 2005. (Specification is available at
10525 ----------------------------------------
10526 16 December 2005. Summary of changes for version 20051216:
10528 1) ACPI CA Core Subsystem:
10530 Implemented optional support to allow unresolved names within ASL Package
10531 objects. A null object is inserted in the package when a named reference
10532 cannot be located in the current namespace. Enabled via the interpreter
10533 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
10535 that contain such code.
10537 Implemented an optimization to the initialization sequence that can
10539 boot time. During ACPI device initialization, the _STA method is now run
10541 and only if the _INI method exists. The _STA method is used to determine
10543 the device is present; An _INI can only be run if _STA returns present,
10545 it is a waste of time to run the _STA method if the _INI does not exist.
10546 (Prototype and assistance from Dong Wei)
10548 Implemented use of the C99 uintptr_t for the pointer casting macros if it
10550 available in the current compiler. Otherwise, the default (void *) cast
10554 Fixed some possible memory leaks found within the execution path of the
10555 Break, Continue, If, and CreateField operators. (Valery Podrezov)
10557 Fixed a problem introduced in the 20051202 release where an exception is
10558 generated during method execution if a control method attempts to declare
10561 Moved resource descriptor string constants that are used by both the AML
10562 disassembler and AML debugger to the common utilities directory so that
10563 these components are independent.
10565 Implemented support in the AcpiExec utility (-e switch) to globally
10567 exceptions during control method execution (method is not aborted.)
10569 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
10572 Code and Data Size: The current and previous library sizes for the core
10573 subsystem are shown below. These are the code and data sizes for the
10574 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10576 values do not include any ACPI driver or OSPM code. The debug version of
10578 code includes the debug output trace mechanism and has a much larger code
10579 and data size. Note that these values will vary depending on the
10581 of the compiler and the compiler options used during generation.
10584 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10585 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
10587 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
10588 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
10591 2) iASL Compiler/Disassembler:
10593 Fixed a problem where a CPU stack overflow fault could occur if a
10595 method call was made from within a Return statement.
10597 ----------------------------------------
10598 02 December 2005. Summary of changes for version 20051202:
10600 1) ACPI CA Core Subsystem:
10602 Modified the parsing of control methods to no longer create namespace
10603 objects during the first pass of the parse. Objects are now created only
10604 during the execute phase, at the moment the namespace creation operator
10606 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
10608 should eliminate ALREADY_EXISTS exceptions seen on some machines where
10609 reentrant control methods are protected by an AML mutex. The mutex will
10611 correctly block multiple threads from attempting to create the same
10615 Increased the number of available Owner Ids for namespace object tracking
10616 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
10618 some machines with a large number of ACPI tables (either static or
10621 Fixed a problem with the AcpiExec utility where a fault could occur when
10623 -b switch (batch mode) is used.
10625 Enhanced the namespace dump routine to output the owner ID for each
10628 Code and Data Size: The current and previous library sizes for the core
10629 subsystem are shown below. These are the code and data sizes for the
10630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10632 values do not include any ACPI driver or OSPM code. The debug version of
10634 code includes the debug output trace mechanism and has a much larger code
10635 and data size. Note that these values will vary depending on the
10637 of the compiler and the compiler options used during generation.
10640 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10641 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10643 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10644 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
10647 2) iASL Compiler/Disassembler:
10649 Fixed a parse error during compilation of certain Switch/Case constructs.
10651 simplify the parse, the grammar now allows for multiple Default
10653 and this error is now detected and flagged during the analysis phase.
10655 Disassembler: The disassembly now includes the contents of the original
10656 table header within a comment at the start of the file. This includes the
10657 name and version of the original ASL compiler.
10659 ----------------------------------------
10660 17 November 2005. Summary of changes for version 20051117:
10662 1) ACPI CA Core Subsystem:
10664 Fixed a problem in the AML parser where the method thread count could be
10665 decremented below zero if any errors occurred during the method parse
10667 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
10669 This also fixed a related regression with the mechanism that detects and
10670 corrects methods that cannot properly handle reentrancy (related to the
10671 deployment of the new OwnerId mechanism.)
10673 Eliminated the pre-parsing of control methods (to detect errors) during
10674 table load. Related to the problem above, this was causing unwind issues
10676 any errors occurred during the parse, and it seemed to be overkill. A
10678 load should not be aborted if there are problems with any single control
10679 method, thus rendering this feature rather pointless.
10681 Fixed a problem with the new table-driven resource manager where an
10683 buffer overflow could occur for small resource templates.
10685 Implemented a new external interface, AcpiGetVendorResource. This
10687 will find and return a vendor-defined resource descriptor within a _CRS
10689 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
10692 Removed the length limit (200) on string objects as per the upcoming ACPI
10693 3.0A specification. This affects the following areas of the interpreter:
10695 any implicit conversion of a Buffer to a String, 2) a String object
10697 of the ASL Concatentate operator, 3) the String object result of the ASL
10700 Fixed a problem in the Windows OS interface layer (OSL) where a
10702 on a semaphore object would incorrectly timeout. This allows the
10703 multithreading features of the AcpiExec utility to work properly under
10706 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
10707 the recently added file named "utresrc.c".
10709 Code and Data Size: The current and previous library sizes for the core
10710 subsystem are shown below. These are the code and data sizes for the
10711 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10713 values do not include any ACPI driver or OSPM code. The debug version of
10715 code includes the debug output trace mechanism and has a much larger code
10716 and data size. Note that these values will vary depending on the
10718 of the compiler and the compiler options used during generation.
10721 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
10722 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10724 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10725 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10728 2) iASL Compiler/Disassembler:
10730 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
10731 specification. For the iASL compiler, this means that string literals
10733 the source ASL can be of any length.
10735 Enhanced the listing output to dump the AML code for resource descriptors
10736 immediately after the ASL code for each descriptor, instead of in a block
10738 the end of the entire resource template.
10740 Enhanced the compiler debug output to dump the entire original parse tree
10741 constructed during the parse phase, before any transforms are applied to
10743 tree. The transformed tree is dumped also.
10745 ----------------------------------------
10746 02 November 2005. Summary of changes for version 20051102:
10748 1) ACPI CA Core Subsystem:
10750 Modified the subsystem initialization sequence to improve GPE support.
10752 GPE initialization has been split into two parts in order to defer
10754 of the _PRW methods (Power Resources for Wake) until after the hardware
10756 fully initialized and the SCI handler is installed. This allows the _PRW
10757 methods to access fields protected by the Global Lock. This will fix
10759 where a NO_GLOBAL_LOCK exception has been seen during initialization.
10761 Converted the ACPI internal object disassemble and display code within
10763 AML debugger to fully table-driven operation, reducing code size and
10764 increasing maintainability.
10766 Fixed a regression with the ConcatenateResTemplate() ASL operator
10768 in the 20051021 release.
10770 Implemented support for "local" internal ACPI object types within the
10771 debugger "Object" command and the AcpiWalkNamespace external interfaces.
10772 These local types include RegionFields, BankFields, IndexFields, Alias,
10776 Moved common AML resource handling code into a new file, "utresrc.c".
10778 code is shared by both the Resource Manager and the AML Debugger.
10780 Code and Data Size: The current and previous library sizes for the core
10781 subsystem are shown below. These are the code and data sizes for the
10782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10784 values do not include any ACPI driver or OSPM code. The debug version of
10786 code includes the debug output trace mechanism and has a much larger code
10787 and data size. Note that these values will vary depending on the
10789 of the compiler and the compiler options used during generation.
10792 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
10793 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
10795 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
10796 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10799 2) iASL Compiler/Disassembler:
10801 Fixed a problem with very large initializer lists (more than 4000
10803 for both Buffer and Package objects where the parse stack could overflow.
10805 Enhanced the pre-compile source code scan for non-ASCII characters to
10807 characters within comment fields. The scan is now always performed and is
10809 longer optional, detecting invalid characters within a source file
10810 immediately rather than during the parse phase or later.
10812 Enhanced the ASL grammar definition to force early reductions on all
10814 style grammar elements so that the overall parse stack usage is greatly
10815 reduced. This should improve performance and reduce the possibility of
10819 Eliminated all reduce/reduce conflicts in the iASL parser generation.
10821 with the addition of a %expected statement, the compiler generates from
10822 source with no warnings.
10824 Fixed a possible segment fault in the disassembler if the input filename
10825 does not contain a "dot" extension (Thomas Renninger).
10827 ----------------------------------------
10828 21 October 2005. Summary of changes for version 20051021:
10830 1) ACPI CA Core Subsystem:
10832 Implemented support for the EM64T and other x86-64 processors. This
10833 essentially entails recognizing that these processors support non-aligned
10834 memory transfers. Previously, all 64-bit processors were assumed to lack
10835 hardware support for non-aligned transfers.
10837 Completed conversion of the Resource Manager to nearly full table-driven
10838 operation. Specifically, the resource conversion code (convert AML to
10839 internal format and the reverse) and the debug code to dump internal
10840 resource descriptors are fully table-driven, reducing code and data size
10842 improving maintainability.
10844 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
10846 on 64-bit processors instead of a fixed 32-bit word. (With assistance
10848 Alexey Starikovskiy)
10850 Implemented support within the resource conversion code for the Type-
10851 Specific byte within the various ACPI 3.0 *WordSpace macros.
10853 Fixed some issues within the resource conversion code for the type-
10855 flags for both Memory and I/O address resource descriptors. For Memory,
10856 implemented support for the MTP and TTP flags. For I/O, split the TRS and
10857 TTP flags into two separate fields.
10859 Code and Data Size: The current and previous library sizes for the core
10860 subsystem are shown below. These are the code and data sizes for the
10861 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10863 values do not include any ACPI driver or OSPM code. The debug version of
10865 code includes the debug output trace mechanism and has a much larger code
10866 and data size. Note that these values will vary depending on the
10868 of the compiler and the compiler options used during generation.
10871 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
10872 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
10874 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
10875 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
10879 2) iASL Compiler/Disassembler:
10881 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
10883 corresponding ResourceSource string was not also present in a resource
10884 descriptor declaration. This restriction caused problems with existing
10885 AML/ASL code that includes the Index byte without the string. When such
10887 was disassembled, it could not be compiled without modification. Further,
10888 the modified code created a resource template with a different size than
10890 original, breaking code that used fixed offsets into the resource
10894 Removed a recent feature of the disassembler to ignore a lone
10896 byte. This byte is now emitted if present so that the exact AML can be
10897 reproduced when the disassembled code is recompiled.
10899 Improved comments and text alignment for the resource descriptor code
10900 emitted by the disassembler.
10902 Implemented disassembler support for the ACPI 3.0 AccessSize field within
10904 Register() resource descriptor.
10906 ----------------------------------------
10907 30 September 2005. Summary of changes for version 20050930:
10909 1) ACPI CA Core Subsystem:
10911 Completed a major overhaul of the Resource Manager code - specifically,
10912 optimizations in the area of the AML/internal resource conversion code.
10914 code has been optimized to simplify and eliminate duplicated code, CPU
10916 use has been decreased by optimizing function parameters and local
10917 variables, and naming conventions across the manager have been
10919 for clarity and ease of maintenance (this includes function, parameter,
10920 variable, and struct/typedef names.) The update may force changes in some
10921 driver code, depending on how resources are handled by the host OS.
10923 All Resource Manager dispatch and information tables have been moved to a
10924 single location for clarity and ease of maintenance. One new file was
10925 created, named "rsinfo.c".
10927 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
10928 guarantee that the argument is not evaluated twice, making them less
10930 to macro side-effects. However, since there exists the possibility of
10931 additional stack use if a particular compiler cannot optimize them (such
10933 in the debug generation case), the original macros are optionally
10935 Note that some invocations of the return_VALUE macro may now cause size
10936 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
10938 eliminate these. (From Randy Dunlap)
10940 Implemented a new mechanism to enable debug tracing for individual
10942 methods. A new external interface, AcpiDebugTrace, is provided to enable
10943 this mechanism. The intent is to allow the host OS to easily enable and
10944 disable tracing for problematic control methods. This interface can be
10945 easily exposed to a user or debugger interface if desired. See the file
10946 psxface.c for details.
10948 AcpiUtCallocate will now return a valid pointer if a length of zero is
10949 specified - a length of one is used and a warning is issued. This matches
10950 the behavior of AcpiUtAllocate.
10952 Code and Data Size: The current and previous library sizes for the core
10953 subsystem are shown below. These are the code and data sizes for the
10954 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10956 values do not include any ACPI driver or OSPM code. The debug version of
10958 code includes the debug output trace mechanism and has a much larger code
10959 and data size. Note that these values will vary depending on the
10961 of the compiler and the compiler options used during generation.
10964 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
10965 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
10967 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
10968 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
10971 2) iASL Compiler/Disassembler:
10973 A remark is issued if the effective compile-time length of a package or
10974 buffer is zero. Previously, this was a warning.
10976 ----------------------------------------
10977 16 September 2005. Summary of changes for version 20050916:
10979 1) ACPI CA Core Subsystem:
10981 Fixed a problem within the Resource Manager where support for the Generic
10982 Register descriptor was not fully implemented. This descriptor is now
10984 recognized, parsed, disassembled, and displayed.
10986 Completely restructured the Resource Manager code to utilize table-driven
10987 dispatch and lookup, eliminating many of the large switch() statements.
10989 reduces overall subsystem code size and code complexity. Affects the
10990 resource parsing and construction, disassembly, and debug dump output.
10992 Cleaned up and restructured the debug dump output for all resource
10993 descriptors. Improved readability of the output and reduced code size.
10995 Fixed a problem where changes to internal data structures caused the
10996 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10998 Code and Data Size: The current and previous library sizes for the core
10999 subsystem are shown below. These are the code and data sizes for the
11000 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11002 values do not include any ACPI driver or OSPM code. The debug version of
11004 code includes the debug output trace mechanism and has a much larger code
11005 and data size. Note that these values will vary depending on the
11007 of the compiler and the compiler options used during generation.
11010 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
11011 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
11013 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
11014 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
11017 2) iASL Compiler/Disassembler:
11019 Updated the disassembler to automatically insert an EndDependentFn()
11021 into the ASL stream if this macro is missing in the original AML code,
11022 simplifying compilation of the resulting ASL module.
11024 Fixed a problem in the disassembler where a disassembled ResourceSource
11025 string (within a large resource descriptor) was not surrounded by quotes
11027 not followed by a comma, causing errors when the resulting ASL module was
11028 compiled. Also, escape sequences within a ResourceSource string are now
11029 handled correctly (especially "\\")
11031 ----------------------------------------
11032 02 September 2005. Summary of changes for version 20050902:
11034 1) ACPI CA Core Subsystem:
11036 Fixed a problem with the internal Owner ID allocation and deallocation
11037 mechanisms for control method execution and recursive method invocation.
11038 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
11039 messages seen on some systems. Recursive method invocation depth is
11040 currently limited to 255. (Alexey Starikovskiy)
11042 Completely eliminated all vestiges of support for the "module-level
11043 executable code" until this support is fully implemented and debugged.
11045 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
11046 some systems that invoke this support.
11048 Fixed a problem within the resource manager code where the transaction
11050 for a 64-bit address descriptor were handled incorrectly in the type-
11051 specific flag byte.
11053 Consolidated duplicate code within the address descriptor resource
11055 code, reducing overall subsystem code size.
11057 Fixed a fault when using the AML debugger "disassemble" command to
11058 disassemble individual control methods.
11060 Removed references to the "release_current" directory within the Unix
11063 Code and Data Size: The current and previous core subsystem library sizes
11064 are shown below. These are the code and data sizes for the acpica.lib
11065 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
11066 include any ACPI driver or OSPM code. The debug version of the code
11068 the debug output trace mechanism and has a much larger code and data
11070 Note that these values will vary depending on the efficiency of the
11072 and the compiler options used during generation.
11075 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
11076 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
11078 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
11079 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
11082 2) iASL Compiler/Disassembler:
11084 Implemented an error check for illegal duplicate values in the interrupt
11086 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
11089 Implemented error checking for the Irq() and IrqNoFlags() macros to
11091 too many values in the interrupt list (16 max) and invalid values in the
11092 list (range 0 - 15)
11094 The maximum length string literal within an ASL file is now restricted to
11095 200 characters as per the ACPI specification.
11097 Fixed a fault when using the -ln option (generate namespace listing).
11099 Implemented an error check to determine if a DescriptorName within a
11100 resource descriptor has already been used within the current scope.
11102 ----------------------------------------
11103 15 August 2005. Summary of changes for version 20050815:
11105 1) ACPI CA Core Subsystem:
11107 Implemented a full bytewise compare to determine if a table load request
11109 attempting to load a duplicate table. The compare is performed if the
11111 signatures and table lengths match. This will allow different tables with
11112 the same OEM Table ID and revision to be loaded - probably against the
11114 specification, but discovered in the field nonetheless.
11116 Added the changes.txt logfile to each of the zipped release packages.
11118 Code and Data Size: Current and previous core subsystem library sizes are
11119 shown below. These are the code and data sizes for the acpica.lib
11121 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11122 any ACPI driver or OSPM code. The debug version of the code includes the
11123 debug output trace mechanism and has a much larger code and data size.
11125 that these values will vary depending on the efficiency of the compiler
11127 the compiler options used during generation.
11130 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
11131 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
11133 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
11134 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
11137 2) iASL Compiler/Disassembler:
11139 Fixed a problem where incorrect AML code could be generated for Package
11140 objects if optimization is disabled (via the -oa switch).
11142 Fixed a problem with where incorrect AML code is generated for variable-
11143 length packages when the package length is not specified and the number
11145 initializer values is greater than 255.
11148 ----------------------------------------
11149 29 July 2005. Summary of changes for version 20050729:
11151 1) ACPI CA Core Subsystem:
11153 Implemented support to ignore an attempt to install/load a particular
11155 table more than once. Apparently there exists BIOS code that repeatedly
11156 attempts to load the same SSDT upon certain events. With assistance from
11157 Venkatesh Pallipadi.
11159 Restructured the main interface to the AML parser in order to correctly
11160 handle all exceptional conditions. This will prevent leakage of the
11162 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
11164 machines. With assistance from Alexey Starikovskiy.
11166 Support for "module level code" has been disabled in this version due to
11168 number of issues that have appeared on various machines. The support can
11170 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
11171 compilation. When the issues are fully resolved, the code will be enabled
11175 Modified the internal functions for debug print support to define the
11176 FunctionName parameter as a (const char *) for compatibility with
11178 built-in macros such as __FUNCTION__, etc.
11180 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
11182 Implemented support to display an object count summary for the AML
11184 commands Object and Methods.
11186 Code and Data Size: Current and previous core subsystem library sizes are
11187 shown below. These are the code and data sizes for the acpica.lib
11189 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11190 any ACPI driver or OSPM code. The debug version of the code includes the
11191 debug output trace mechanism and has a much larger code and data size.
11193 that these values will vary depending on the efficiency of the compiler
11195 the compiler options used during generation.
11198 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
11199 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
11201 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
11202 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
11205 2) iASL Compiler/Disassembler:
11207 Fixed a regression that appeared in the 20050708 version of the compiler
11208 where an error message was inadvertently emitted for invocations of the
11210 reserved control method.
11212 ----------------------------------------
11213 08 July 2005. Summary of changes for version 20050708:
11215 1) ACPI CA Core Subsystem:
11217 The use of the CPU stack in the debug version of the subsystem has been
11218 considerably reduced. Previously, a debug structure was declared in every
11219 function that used the debug macros. This structure has been removed in
11220 favor of declaring the individual elements as parameters to the debug
11221 functions. This reduces the cumulative stack use during nested execution
11223 ACPI function calls at the cost of a small increase in the code size of
11225 debug version of the subsystem. With assistance from Alexey Starikovskiy
11229 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
11230 headers to define a macro that will return the current function name at
11231 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
11233 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
11234 compiler-dependent header, the function name is saved on the CPU stack
11236 pointer per function.) This mechanism is used because apparently there
11237 exists no standard ANSI-C defined macro that that returns the function
11240 Redesigned and reimplemented the "Owner ID" mechanism used to track
11241 namespace objects created/deleted by ACPI tables and control method
11242 execution. A bitmap is now used to allocate and free the IDs, thus
11244 the wraparound problem present in the previous implementation. The size
11246 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
11249 Removed the UINT32_BIT and UINT16_BIT types that were used for the
11251 flag definitions within the headers for the predefined ACPI tables. These
11252 have been replaced by UINT8_BIT in order to increase the code portability
11254 the subsystem. If the use of UINT8 remains a problem, we may be forced to
11255 eliminate bitfields entirely because of a lack of portability.
11257 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
11259 is a frequently used function and this improvement increases the
11261 of the entire subsystem (Alexey Starikovskiy).
11263 Fixed several possible memory leaks and the inverse - premature object
11264 deletion (Alexey Starikovskiy).
11266 Code and Data Size: Current and previous core subsystem library sizes are
11267 shown below. These are the code and data sizes for the acpica.lib
11269 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11270 any ACPI driver or OSPM code. The debug version of the code includes the
11271 debug output trace mechanism and has a much larger code and data size.
11273 that these values will vary depending on the efficiency of the compiler
11275 the compiler options used during generation.
11278 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
11279 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
11281 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
11282 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
11284 ----------------------------------------
11285 24 June 2005. Summary of changes for version 20050624:
11287 1) ACPI CA Core Subsystem:
11289 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
11290 the host-defined cache object. This allows the OSL implementation to
11292 and type this object in any manner desired, simplifying the OSL
11293 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
11294 Linux, and should be defined in the OS-specific header file for other
11295 operating systems as required.
11297 Changed the interface to AcpiOsAcquireObject to directly return the
11298 requested object as the function return (instead of ACPI_STATUS.) This
11299 change was made for performance reasons, since this is the purpose of the
11300 interface in the first place. AcpiOsAcquireObject is now similar to the
11301 AcpiOsAllocate interface.
11303 Implemented a new AML debugger command named Businfo. This command
11305 information about all devices that have an associate _PRT object. The
11307 _HID, _UID, and _CID are displayed for these devices.
11309 Modified the initialization sequence in AcpiInitializeSubsystem to call
11311 OSL interface AcpiOslInitialize first, before any local initialization.
11313 change was required because the global initialization now calls OSL
11316 Enhanced the Dump command to display the entire contents of Package
11318 (including all sub-objects and their values.)
11320 Restructured the code base to split some files because of size and/or
11321 because the code logically belonged in a separate file. New files are
11323 below. All makefiles and project files included in the ACPI CA release
11326 utilities/utcache.c /* Local cache interfaces */
11327 utilities/utmutex.c /* Local mutex support */
11328 utilities/utstate.c /* State object support */
11329 interpreter/parser/psloop.c /* Main AML parse loop */
11331 Code and Data Size: Current and previous core subsystem library sizes are
11332 shown below. These are the code and data sizes for the acpica.lib
11334 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11335 any ACPI driver or OSPM code. The debug version of the code includes the
11336 debug output trace mechanism and has a much larger code and data size.
11338 that these values will vary depending on the efficiency of the compiler
11340 the compiler options used during generation.
11343 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
11344 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
11346 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
11347 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
11350 2) iASL Compiler/Disassembler:
11352 Fixed a regression introduced in version 20050513 where the use of a
11354 object within a Case() statement caused a compile time exception. The
11355 original behavior has been restored (a Match() operator is emitted.)
11357 ----------------------------------------
11358 17 June 2005. Summary of changes for version 20050617:
11360 1) ACPI CA Core Subsystem:
11362 Moved the object cache operations into the OS interface layer (OSL) to
11364 the host OS to handle these operations if desired (for example, the Linux
11365 OSL will invoke the slab allocator). This support is optional; the
11367 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
11369 code in the ACPI CA core. The new OSL interfaces are shown below. See
11370 utalloc.c for an example implementation, and acpiosxf.h for the exact
11371 interface definitions. With assistance from Alexey Starikovskiy.
11375 AcpiOsAcquireObject
11376 AcpiOsReleaseObject
11378 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
11380 and restore a flags parameter. This fits better with many OS lock models.
11381 Note: the current execution state (interrupt handler or not) is no longer
11382 passed to these interfaces. If necessary, the OSL must determine this
11384 by itself, a simple and fast operation. With assistance from Alexey
11387 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
11388 present if the revision of the RSDP was 2 or greater. According to the
11390 specification, the XSDT is optional in all cases, and the table manager
11391 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
11392 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
11396 Fixed an interpreter problem with the Mid() operator in the case of an
11398 string where the resulting output string is of zero length. It now
11400 returns a valid, null terminated string object instead of a string object
11401 with a null pointer.
11403 Fixed a problem with the control method argument handling to allow a
11405 to an Arg object that already contains an object of type Device. The
11407 object is now correctly overwritten. Previously, an error was returned.
11410 Enhanced the debugger Find command to emit object values in addition to
11412 found object pathnames. The output format is the same as the dump
11416 Enhanced the debugger Set command. It now has the ability to set the
11418 of any Named integer object in the namespace (Previously, only method
11420 and args could be set.)
11422 Code and Data Size: Current and previous core subsystem library sizes are
11423 shown below. These are the code and data sizes for the acpica.lib
11425 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11426 any ACPI driver or OSPM code. The debug version of the code includes the
11427 debug output trace mechanism and has a much larger code and data size.
11429 that these values will vary depending on the efficiency of the compiler
11431 the compiler options used during generation.
11434 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
11435 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
11437 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
11438 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
11441 2) iASL Compiler/Disassembler:
11443 Fixed a regression in the disassembler where if/else/while constructs
11445 output incorrectly. This problem was introduced in the previous release
11446 (20050526). This problem also affected the single-step disassembly in the
11449 Fixed a problem where compiling the reserved _OSI method would randomly
11451 rarely) produce compile errors.
11453 Enhanced the disassembler to emit compilable code in the face of
11455 AML resource descriptors. If the optional ResourceSourceIndex is present,
11456 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
11457 disassembly. Otherwise, the resulting code cannot be compiled without
11460 ----------------------------------------
11461 26 May 2005. Summary of changes for version 20050526:
11463 1) ACPI CA Core Subsystem:
11465 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
11466 the module level (not within a control method.) These opcodes are
11468 exactly once at the time the table is loaded. This type of code was legal
11470 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
11472 order to provide backwards compatibility with earlier BIOS
11474 This eliminates the "Encountered executable code at module level" warning
11475 that was previously generated upon detection of such code.
11477 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
11478 inadvertently be generated during the lookup of namespace objects in the
11479 second pass parse of ACPI tables and control methods. It appears that
11481 problem could occur during the resolution of forward references to
11485 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
11486 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
11487 allows the deadlock detection debug code to be compiled out in the normal
11488 case, improving mutex performance (and overall subsystem performance)
11491 Implemented a handful of miscellaneous fixes for possible memory leaks on
11492 error conditions and error handling control paths. These fixes were
11493 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11495 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
11497 to prevent a fault in this error case.
11499 Code and Data Size: Current and previous core subsystem library sizes are
11500 shown below. These are the code and data sizes for the acpica.lib
11502 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11503 any ACPI driver or OSPM code. The debug version of the code includes the
11504 debug output trace mechanism and has a much larger code and data size.
11506 that these values will vary depending on the efficiency of the compiler
11508 the compiler options used during generation.
11511 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11512 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11514 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
11515 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
11518 2) iASL Compiler/Disassembler:
11520 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
11521 the module level (not within a control method.) These operators will be
11522 executed once at the time the table is loaded. This type of code was
11524 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
11525 compiler in order to provide backwards compatibility with earlier BIOS
11529 The ACPI integer width (specified via the table revision ID or the -r
11530 override, 32 or 64 bits) is now used internally during compile-time
11532 folding to ensure that constants are truncated to 32 bits if necessary.
11533 Previously, the revision ID value was only emitted in the AML table
11536 An error message is now generated for the Mutex and Method operators if
11538 SyncLevel parameter is outside the legal range of 0 through 15.
11540 Fixed a problem with the Method operator ParameterTypes list handling
11542 3.0). Previously, more than 2 types or 2 arguments generated a syntax
11544 The actual underlying implementation of method argument typechecking is
11545 still under development, however.
11547 ----------------------------------------
11548 13 May 2005. Summary of changes for version 20050513:
11550 1) ACPI CA Core Subsystem:
11552 Implemented support for PCI Express root bridges -- added support for
11554 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11556 The interpreter now automatically truncates incoming 64-bit constants to
11558 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
11560 also affects the iASL compiler constant folding. (Note: as per below, the
11561 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11563 Fixed a problem where string and buffer objects with "static" pointers
11564 (pointers to initialization data within an ACPI table) were not handled
11565 consistently. The internal object copy operation now always copies the
11567 to a newly allocated buffer, regardless of whether the source object is
11570 Fixed a problem with the FromBCD operator where an implicit result
11571 conversion was improperly performed while storing the result to the
11573 operand. Since this is an "explicit conversion" operator, the implicit
11574 conversion should never be performed on the output.
11576 Fixed a problem with the CopyObject operator where a copy to an existing
11577 named object did not always completely overwrite the existing object
11579 at name. Specifically, a buffer-to-buffer copy did not delete the
11583 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
11585 structs for consistency.
11587 Code and Data Size: Current and previous core subsystem library sizes are
11588 shown below. These are the code and data sizes for the acpica.lib
11590 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11591 any ACPI driver or OSPM code. The debug version of the code includes the
11592 debug output trace mechanism and has a much larger code and data size.
11594 that these values will vary depending on the efficiency of the compiler
11596 the compiler options used during generation.
11599 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11600 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11601 Current Release: (Same sizes)
11602 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11603 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11606 2) iASL Compiler/Disassembler:
11608 The compiler now emits a warning if an attempt is made to generate a 64-
11610 integer constant from within a 32-bit ACPI table (Revision < 2). The
11612 is truncated to 32 bits.
11614 Fixed a problem with large package objects: if the static length of the
11615 package is greater than 255, the "variable length package" opcode is
11616 emitted. Previously, this caused an error. This requires an update to the
11617 ACPI spec, since it currently (incorrectly) states that packages larger
11619 255 elements are not allowed.
11621 The disassembler now correctly handles variable length packages and
11623 larger than 255 elements.
11625 ----------------------------------------
11626 08 April 2005. Summary of changes for version 20050408:
11628 1) ACPI CA Core Subsystem:
11630 Fixed three cases in the interpreter where an "index" argument to an ASL
11631 function was still (internally) 32 bits instead of the required 64 bits.
11632 This was the Index argument to the Index, Mid, and Match operators.
11634 The "strupr" function is now permanently local (AcpiUtStrupr), since this
11636 not a POSIX-defined function and not present in most kernel-level C
11637 libraries. All references to the C library strupr function have been
11641 Completed the deployment of static functions/prototypes. All prototypes
11643 the static attribute have been moved from the headers to the owning C
11646 Implemented an extract option (-e) for the AcpiBin utility (AML binary
11647 utility). This option allows the utility to extract individual ACPI
11649 from the output of AcpiDmp. It provides the same functionality of the
11650 acpixtract.pl perl script without the worry of setting the correct perl
11651 options. AcpiBin runs on Windows and has not yet been generated/validated
11653 the Linux/Unix environment (but should be soon).
11655 Updated and fixed the table dump option for AcpiBin (-d). This option
11656 converts a single ACPI table to a hex/ascii file, similar to the output
11660 Code and Data Size: Current and previous core subsystem library sizes are
11661 shown below. These are the code and data sizes for the acpica.lib
11663 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11664 any ACPI driver or OSPM code. The debug version of the code includes the
11665 debug output trace mechanism and has a much larger code and data size.
11667 that these values will vary depending on the efficiency of the compiler
11669 the compiler options used during generation.
11672 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
11673 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
11675 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11676 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11679 2) iASL Compiler/Disassembler:
11681 Disassembler fix: Added a check to ensure that the table length found in
11683 ACPI table header within the input file is not longer than the actual
11685 file size. This indicates some kind of file or table corruption.
11687 ----------------------------------------
11688 29 March 2005. Summary of changes for version 20050329:
11690 1) ACPI CA Core Subsystem:
11692 An error is now generated if an attempt is made to create a Buffer Field
11694 length zero (A CreateField with a length operand of zero.)
11696 The interpreter now issues a warning whenever executable code at the
11698 level is detected during ACPI table load. This will give some idea of the
11699 prevalence of this type of code.
11701 Implemented support for references to named objects (other than control
11702 methods) within package objects.
11704 Enhanced package object output for the debug object. Package objects are
11706 completely dumped, showing all elements.
11708 Enhanced miscellaneous object output for the debug object. Any object can
11709 now be written to the debug object (for example, a device object can be
11710 written, and the type of the object will be displayed.)
11712 The "static" qualifier has been added to all local functions across both
11714 core subsystem and the iASL compiler.
11716 The number of "long" lines (> 80 chars) within the source has been
11717 significantly reduced, by about 1/3.
11719 Cleaned up all header files to ensure that all CA/iASL functions are
11720 prototyped (even static functions) and the formatting is consistent.
11722 Two new header files have been added, acopcode.h and acnames.h.
11724 Removed several obsolete functions that were no longer used.
11726 Code and Data Size: Current and previous core subsystem library sizes are
11727 shown below. These are the code and data sizes for the acpica.lib
11729 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11730 any ACPI driver or OSPM code. The debug version of the code includes the
11731 debug output trace mechanism and has a much larger code and data size.
11733 that these values will vary depending on the efficiency of the compiler
11735 the compiler options used during generation.
11738 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11739 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
11741 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
11742 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
11746 2) iASL Compiler/Disassembler:
11748 Fixed a problem with the resource descriptor generation/support. For the
11749 ResourceSourceIndex and the ResourceSource fields, both must be present,
11751 both must be not present - can't have one without the other.
11753 The compiler now returns non-zero from the main procedure if any errors
11755 occurred during the compilation.
11758 ----------------------------------------
11759 09 March 2005. Summary of changes for version 20050309:
11761 1) ACPI CA Core Subsystem:
11763 The string-to-buffer implicit conversion code has been modified again
11765 a change to the ACPI specification. In order to match the behavior of
11767 other major ACPI implementation, the target buffer is no longer truncated
11769 the source string is smaller than an existing target buffer. This change
11770 requires an update to the ACPI spec, and should eliminate the recent
11771 AE_AML_BUFFER_LIMIT issues.
11773 The "implicit return" support was rewritten to a new algorithm that
11775 the general case. Rather than attempt to determine when a method is about
11777 exit, the result of every ASL operator is saved momentarily until the
11779 next ASL operator is executed. Therefore, no matter how the method exits,
11780 there will always be a saved implicit return value. This feature is only
11781 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
11783 AE_AML_NO_RETURN_VALUE errors when enabled.
11785 Implemented implicit conversion support for the predicate (operand) of
11787 If, Else, and While operators. String and Buffer arguments are
11789 converted to Integers.
11791 Changed the string-to-integer conversion behavior to match the new ACPI
11792 errata: "If no integer object exists, a new integer is created. The ASCII
11793 string is interpreted as a hexadecimal constant. Each string character is
11794 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
11795 with the first character as the most significant digit, and ending with
11797 first non-hexadecimal character or end-of-string." This means that the
11799 non-hex character terminates the conversion and this is the code that was
11802 Fixed a problem where the ObjectType operator would fail (fault) when
11804 on an Index of a Package which pointed to a null package element. The
11805 operator now properly returns zero (Uninitialized) in this case.
11807 Fixed a problem where the While operator used excessive memory by not
11808 properly popping the result stack during execution. There was no memory
11810 after execution, however. (Code provided by Valery Podrezov.)
11812 Fixed a problem where references to control methods within Package
11814 caused the method to be invoked, instead of producing a reference object
11815 pointing to the method.
11817 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
11819 improve performance and reduce code size. (Code provided by Alexey
11822 Code and Data Size: Current and previous core subsystem library sizes are
11823 shown below. These are the code and data sizes for the acpica.lib
11825 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11826 any ACPI driver or OSPM code. The debug version of the code includes the
11827 debug output trace mechanism and has a much larger code and data size.
11829 that these values will vary depending on the efficiency of the compiler
11831 the compiler options used during generation.
11834 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11835 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
11837 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11838 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
11841 2) iASL Compiler/Disassembler:
11843 Fixed a problem with the Return operator with no arguments. Since the AML
11844 grammar for the byte encoding requires an operand for the Return opcode,
11846 compiler now emits a Return(Zero) for this case. An ACPI specification
11847 update has been written for this case.
11849 For tables other than the DSDT, namepath optimization is automatically
11850 disabled. This is because SSDTs can be loaded anywhere in the namespace,
11852 compiler has no knowledge of where, and thus cannot optimize namepaths.
11854 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
11855 inadvertently omitted from the ACPI specification, and will require an
11856 update to the spec.
11858 The source file scan for ASCII characters is now optional (-a). This
11860 was made because some vendors place non-ascii characters within comments.
11861 However, the scan is simply a brute-force byte compare to ensure all
11862 characters in the file are in the range 0x00 to 0x7F.
11864 Fixed a problem with the CondRefOf operator where the compiler was
11865 inappropriately checking for the existence of the target. Since the point
11867 the operator is to check for the existence of the target at run-time, the
11868 compiler no longer checks for the target existence.
11870 Fixed a problem where errors generated from the internal AML interpreter
11871 during constant folding were not handled properly, causing a fault.
11873 Fixed a problem with overly aggressive range checking for the Stall
11874 operator. The valid range (max 255) is now only checked if the operand is
11876 type Integer. All other operand types cannot be statically checked.
11878 Fixed a problem where control method references within the RefOf,
11880 and ObjectType operators were not treated properly. They are now treated
11882 actual references, not method invocations.
11884 Fixed and enhanced the "list namespace" option (-ln). This option was
11886 a number of releases ago.
11888 Improved error handling for the Field, IndexField, and BankField
11890 The compiler now cleanly reports and recovers from errors in the field
11891 component (FieldUnit) list.
11893 Fixed a disassembler problem where the optional ResourceDescriptor fields
11894 TRS and TTP were not always handled correctly.
11896 Disassembler - Comments in output now use "//" instead of "/*"
11898 ----------------------------------------
11899 28 February 2005. Summary of changes for version 20050228:
11901 1) ACPI CA Core Subsystem:
11903 Fixed a problem where the result of an Index() operator (an object
11904 reference) must increment the reference count on the target object for
11906 life of the object reference.
11908 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
11909 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
11911 resource descriptors.
11913 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
11914 Space Descriptor" string, indicating interpreter support for the
11918 Implemented header support for the new ACPI 3.0 FADT flag bits.
11920 Implemented header support for the new ACPI 3.0 PCI Express bits for the
11922 status/enable registers.
11924 Updated header support for the MADT processor local Apic struct and MADT
11925 platform interrupt source struct for new ACPI 3.0 fields.
11927 Implemented header support for the SRAT and SLIT ACPI tables.
11929 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
11933 Code and Data Size: Current and previous core subsystem library sizes are
11934 shown below. These are the code and data sizes for the acpica.lib
11936 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11937 any ACPI driver or OSPM code. The debug version of the code includes the
11938 debug output trace mechanism and has a much larger code and data size.
11940 that these values will vary depending on the efficiency of the compiler
11942 the compiler options used during generation.
11945 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
11946 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
11948 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11949 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
11952 2) iASL Compiler/Disassembler:
11954 Fixed a problem with the internal 64-bit String-to-integer conversion
11956 strings less than two characters long.
11958 Fixed a problem with constant folding where the result of the Index()
11959 operator can not be considered a constant. This means that Index() cannot
11961 a type3 opcode and this will require an update to the ACPI specification.
11963 Disassembler: Implemented support for the TTP, MTP, and TRS resource
11964 descriptor fields. These fields were inadvertently ignored and not output
11966 the disassembly of the resource descriptor.
11969 ----------------------------------------
11970 11 February 2005. Summary of changes for version 20050211:
11972 1) ACPI CA Core Subsystem:
11974 Implemented ACPI 3.0 support for implicit conversion within the Match()
11975 operator. MatchObjects can now be of type integer, buffer, or string
11977 of just type integer. Package elements are implicitly converted to the
11979 of the MatchObject. This change aligns the behavior of Match() with the
11980 behavior of the other logical operators (LLess(), etc.) It also requires
11982 errata change to the ACPI specification as this support was intended for
11983 ACPI 3.0, but was inadvertently omitted.
11985 Fixed a problem with the internal implicit "to buffer" conversion.
11987 that are converted to buffers will cause buffer truncation if the string
11989 smaller than the target buffer. Integers that are converted to buffers
11991 not cause buffer truncation, only zero extension (both as per the ACPI
11992 spec.) The problem was introduced when code was added to truncate the
11993 buffer, but this should not be performed in all cases, only the string
11996 Fixed a problem with the Buffer and Package operators where the
11998 would get confused if two such operators were used as operands to an ASL
11999 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
12000 stack was not being popped after the execution of these operators,
12002 in an AE_NO_RETURN_VALUE exception.
12004 Fixed a problem with constructs of the form Store(Index(...),...). The
12005 reference object returned from Index was inadvertently resolved to an
12007 value. This problem was introduced in version 20050114 when the behavior
12009 Store() was modified to restrict the object types that can be used as the
12010 source operand (to match the ACPI specification.)
12012 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12014 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12016 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12018 Code and Data Size: Current and previous core subsystem library sizes are
12019 shown below. These are the code and data sizes for the acpica.lib
12021 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12022 any ACPI driver or OSPM code. The debug version of the code includes the
12023 debug output trace mechanism and has a much larger code and data size.
12025 that these values will vary depending on the efficiency of the compiler
12027 the compiler options used during generation.
12030 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
12031 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
12033 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
12034 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
12037 2) iASL Compiler/Disassembler:
12039 Fixed a code generation problem in the constant folding optimization code
12040 where incorrect code was generated if a constant was reduced to a buffer
12041 object (i.e., a reduced type 5 opcode.)
12043 Fixed a typechecking problem for the ToBuffer operator. Caused by an
12044 incorrect return type in the internal opcode information table.
12046 ----------------------------------------
12047 25 January 2005. Summary of changes for version 20050125:
12049 1) ACPI CA Core Subsystem:
12051 Fixed a recently introduced problem with the Global Lock where the
12052 underlying semaphore was not created. This problem was introduced in
12053 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
12054 Acquire() operation on _GL.
12056 The local object cache is now optional, and is disabled by default. Both
12057 AcpiExec and the iASL compiler enable the cache because they run in user
12058 mode and this enhances their performance. #define
12059 ACPI_ENABLE_OBJECT_CACHE
12060 to enable the local cache.
12062 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
12064 optional "implicit return" support where an error was returned if no
12066 object was expected, but one was implicitly returned. AE_OK is now
12068 in this case and the implicitly returned object is deleted.
12069 AcpiUtEvaluateObject is only occasionally used, and only to execute
12071 methods such as _STA and _INI where the return type is known up front.
12073 Fixed a few issues with the internal convert-to-integer code. It now
12075 an error if an attempt is made to convert a null string, a string of only
12076 blanks/tabs, or a zero-length buffer. This affects both implicit
12078 and explicit conversion via the ToInteger() operator.
12080 The internal debug code in AcpiUtAcquireMutex has been commented out. It
12082 not needed for normal operation and should increase the performance of
12084 entire subsystem. The code remains in case it is needed for debug
12088 The AcpiExec source and makefile are included in the Unix/Linux package
12092 Code and Data Size: Current and previous core subsystem library sizes are
12093 shown below. These are the code and data sizes for the acpica.lib
12095 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12096 any ACPI driver or OSPM code. The debug version of the code includes the
12097 debug output trace mechanism and has a much larger code and data size.
12099 that these values will vary depending on the efficiency of the compiler
12101 the compiler options used during generation.
12104 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
12105 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
12107 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
12108 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
12110 2) iASL Compiler/Disassembler:
12112 Switch/Case support: A warning is now issued if the type of the Switch
12114 cannot be determined at compile time. For example, Switch(Arg0) will
12115 generate the warning, and the type is assumed to be an integer. As per
12117 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
12121 Switch/Case support: Implemented support for buffer and string objects as
12122 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
12123 buffers and strings.
12125 Switch/Case support: The emitted code for the LEqual() comparisons now
12127 the switch value as the first operand, not the second. The case value is
12129 the second operand, and this allows the case value to be implicitly
12130 converted to the type of the switch value, not the other way around.
12132 Switch/Case support: Temporary variables are now emitted immediately
12134 the control method, not at the global level. This means that there are
12136 36 temps available per-method, not 36 temps per-module as was the case
12138 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12140 ----------------------------------------
12141 14 January 2005. Summary of changes for version 20050114:
12143 Added 2005 copyright to all module headers. This affects every module in
12144 the core subsystem, iASL compiler, and the utilities.
12146 1) ACPI CA Core Subsystem:
12148 Fixed an issue with the String-to-Buffer conversion code where the string
12149 null terminator was not included in the buffer after conversion, but
12151 is existing ASL that assumes the string null terminator is included. This
12153 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
12154 introduced in the previous version when the code was updated to correctly
12155 set the converted buffer size as per the ACPI specification. The ACPI
12157 is ambiguous and will be updated to specify that the null terminator must
12159 included in the converted buffer. This also affects the ToBuffer() ASL
12162 Fixed a problem with the Mid() ASL/AML operator where it did not work
12163 correctly on Buffer objects. Newly created sub-buffers were not being
12168 Fixed a problem in AcpiTbFindTable where incorrect string compares were
12169 performed on the OemId and OemTableId table header fields. These fields
12171 not null terminated, so strncmp is now used instead of strcmp.
12173 Implemented a restriction on the Store() ASL/AML operator to align the
12174 behavior with the ACPI specification. Previously, any object could be
12176 as the source operand. Now, the only objects that may be used are
12178 Buffers, Strings, Packages, Object References, and DDB Handles. If
12179 necessary, the original behavior can be restored by enabling the
12180 EnableInterpreterSlack flag.
12182 Enhanced the optional "implicit return" support to allow an implicit
12184 value from methods that are invoked externally via the AcpiEvaluateObject
12185 interface. This enables implicit returns from the _STA and _INI methods,
12188 Changed the Revision() ASL/AML operator to return the current version of
12190 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
12192 the supported ACPI version (This is the function of the _REV method).
12194 Updated the _REV predefined method to return the currently supported
12198 Implemented batch mode option for the AcpiExec utility (-b).
12200 Code and Data Size: Current and previous core subsystem library sizes are
12201 shown below. These are the code and data sizes for the acpica.lib
12203 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12204 any ACPI driver or OSPM code. The debug version of the code includes the
12205 debug output trace mechanism and has a much larger code and data size.
12207 that these values will vary depending on the efficiency of the compiler
12209 the compiler options used during generation.
12212 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12213 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
12215 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
12216 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
12218 ----------------------------------------
12219 10 December 2004. Summary of changes for version 20041210:
12221 ACPI 3.0 support is nearing completion in both the iASL compiler and the
12222 ACPI CA core subsystem.
12224 1) ACPI CA Core Subsystem:
12226 Fixed a problem in the ToDecimalString operator where the resulting
12228 length was incorrectly calculated. The length is now calculated exactly,
12229 eliminating incorrect AE_STRING_LIMIT exceptions.
12231 Fixed a problem in the ToHexString operator to allow a maximum 200
12233 string to be produced.
12235 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
12237 routine where the length of the resulting buffer was not truncated to the
12238 new size (if the target buffer already existed).
12240 Code and Data Size: Current and previous core subsystem library sizes are
12241 shown below. These are the code and data sizes for the acpica.lib
12243 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12244 any ACPI driver or OSPM code. The debug version of the code includes the
12245 debug output trace mechanism and has a much larger code and data size.
12247 that these values will vary depending on the efficiency of the compiler
12249 the compiler options used during generation.
12252 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12253 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
12255 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12256 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
12259 2) iASL Compiler/Disassembler:
12261 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
12262 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
12263 Includes support in the disassembler.
12265 Implemented support for the new (ACPI 3.0) parameter to the Register
12269 Fixed a problem where the _HE resource name for the Interrupt macro was
12270 referencing bit 0 instead of bit 1.
12272 Implemented check for maximum 255 interrupts in the Interrupt macro.
12274 Fixed a problem with the predefined resource descriptor names where
12275 incorrect AML code was generated if the offset within the resource buffer
12276 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
12277 but did not update the surrounding package lengths.
12279 Changes to the Dma macro: All channels within the channel list must be
12281 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
12282 optional (default is BusMaster).
12284 Implemented check for maximum 7 data bytes for the VendorShort macro.
12286 The ReadWrite parameter is now optional for the Memory32 and similar
12289 ----------------------------------------
12290 03 December 2004. Summary of changes for version 20041203:
12292 1) ACPI CA Core Subsystem:
12294 The low-level field insertion/extraction code (exfldio) has been
12296 rewritten to eliminate unnecessary complexity, bugs, and boundary
12299 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
12301 operators where the input operand could be inadvertently deleted if no
12302 conversion was necessary (e.g., if the input to ToInteger was an Integer
12305 Fixed a problem with the ToDecimalString and ToHexString where an
12307 exception code was returned if the resulting string would be > 200 chars.
12308 AE_STRING_LIMIT is now returned.
12310 Fixed a problem with the Concatenate operator where AE_OK was always
12311 returned, even if the operation failed.
12313 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
12314 semaphores to be allocated.
12316 Code and Data Size: Current and previous core subsystem library sizes are
12317 shown below. These are the code and data sizes for the acpica.lib
12319 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12320 any ACPI driver or OSPM code. The debug version of the code includes the
12321 debug output trace mechanism and has a much larger code and data size.
12323 that these values will vary depending on the efficiency of the compiler
12325 the compiler options used during generation.
12328 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12329 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12331 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12332 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
12335 2) iASL Compiler/Disassembler:
12337 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
12338 recently introduced in 20041119.
12340 Fixed a problem with the ToUUID macro where the upper nybble of each
12342 byte was inadvertently set to zero.
12344 ----------------------------------------
12345 19 November 2004. Summary of changes for version 20041119:
12347 1) ACPI CA Core Subsystem:
12349 Fixed a problem in the internal ConvertToInteger routine where new
12351 were not truncated to 32 bits for 32-bit ACPI tables. This routine
12353 buffers and strings to integers.
12355 Implemented support to store a value to an Index() on a String object.
12357 is an ACPI 2.0 feature that had not yet been implemented.
12359 Implemented new behavior for storing objects to individual package
12361 (via the Index() operator). The previous behavior was to invoke the
12363 conversion rules if an object was already present at the index. The new
12364 behavior is to simply delete any existing object and directly store the
12366 object. Although the ACPI specification seems unclear on this subject,
12368 ACPI implementations behave in this manner. (This is the root of the
12369 AE_BAD_HEX_CONSTANT issue.)
12371 Modified the RSDP memory scan mechanism to support the extended checksum
12373 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
12374 RSDP signature is found with a valid checksum.
12376 Code and Data Size: Current and previous core subsystem library sizes are
12377 shown below. These are the code and data sizes for the acpica.lib
12379 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12380 any ACPI driver or OSPM code. The debug version of the code includes the
12381 debug output trace mechanism and has a much larger code and data size.
12383 that these values will vary depending on the efficiency of the compiler
12385 the compiler options used during generation.
12388 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12389 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12391 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12392 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12395 2) iASL Compiler/Disassembler:
12397 Fixed a missing semicolon in the aslcompiler.y file.
12399 ----------------------------------------
12400 05 November 2004. Summary of changes for version 20041105:
12402 1) ACPI CA Core Subsystem:
12404 Implemented support for FADT revision 2. This was an interim table
12406 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12408 Implemented optional support to allow uninitialized LocalX and ArgX
12409 variables in a control method. The variables are initialized to an
12411 object with a value of zero. This support is enabled by setting the
12412 AcpiGbl_EnableInterpreterSlack flag to TRUE.
12414 Implemented support for Integer objects for the SizeOf operator. Either
12416 or 8 is returned, depending on the current integer size (32-bit or 64-
12418 depending on the parent table revision).
12420 Fixed a problem in the implementation of the SizeOf and ObjectType
12422 where the operand was resolved to a value too early, causing incorrect
12423 return values for some objects.
12425 Fixed some possible memory leaks during exceptional conditions.
12427 Code and Data Size: Current and previous core subsystem library sizes are
12428 shown below. These are the code and data sizes for the acpica.lib
12430 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12431 any ACPI driver or OSPM code. The debug version of the code includes the
12432 debug output trace mechanism and has a much larger code and data size.
12434 that these values will vary depending on the efficiency of the compiler
12436 the compiler options used during generation.
12439 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12440 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
12442 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12443 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12446 2) iASL Compiler/Disassembler:
12448 Implemented support for all ACPI 3.0 reserved names and methods.
12450 Implemented all ACPI 3.0 grammar elements in the front-end, including
12451 support for semicolons.
12453 Implemented the ACPI 3.0 Function() and ToUUID() macros
12455 Fixed a problem in the disassembler where a Scope() operator would not be
12456 emitted properly if the target of the scope was in another table.
12458 ----------------------------------------
12459 15 October 2004. Summary of changes for version 20041015:
12461 Note: ACPI CA is currently undergoing an in-depth and complete formal
12462 evaluation to test/verify the following areas. Other suggestions are
12463 welcome. This will result in an increase in the frequency of releases and
12464 the number of bug fixes in the next few months.
12465 - Functional tests for all ASL/AML operators
12466 - All implicit/explicit type conversions
12467 - Bit fields and operation regions
12468 - 64-bit math support and 32-bit-only "truncated" math support
12469 - Exceptional conditions, both compiler and interpreter
12470 - Dynamic object deletion and memory leaks
12471 - ACPI 3.0 support when implemented
12472 - External interfaces to the ACPI subsystem
12475 1) ACPI CA Core Subsystem:
12477 Fixed two alignment issues on 64-bit platforms - within debug statements
12479 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
12481 field within the non-aligned ACPI generic address structure.
12483 Fixed a problem in the Increment and Decrement operators where incorrect
12484 operand resolution could result in the inadvertent modification of the
12485 original integer when the integer is passed into another method as an
12486 argument and the arg is then incremented/decremented.
12488 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12490 BCD number were truncated during conversion.
12492 Fixed a problem in the ToDecimal operator where the length of the
12494 string could be set incorrectly too long if the input operand was a
12498 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
12500 within a buffer would prematurely terminate a compare between buffer
12503 Added a check for string overflow (>200 characters as per the ACPI
12504 specification) during the Concatenate operator with two string operands.
12506 Code and Data Size: Current and previous core subsystem library sizes are
12507 shown below. These are the code and data sizes for the acpica.lib
12509 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12510 any ACPI driver or OSPM code. The debug version of the code includes the
12511 debug output trace mechanism and has a much larger code and data size.
12513 that these values will vary depending on the efficiency of the compiler
12515 the compiler options used during generation.
12518 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12519 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
12521 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12522 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
12526 2) iASL Compiler/Disassembler:
12528 Allow the use of the ObjectType operator on uninitialized Locals and Args
12529 (returns 0 as per the ACPI specification).
12531 Fixed a problem where the compiler would fault if there was a syntax
12533 in the FieldName of all of the various CreateXXXField operators.
12535 Disallow the use of lower case letters within the EISAID macro, as per
12537 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
12539 U is an uppercase letter and N is a hex digit.
12542 ----------------------------------------
12543 06 October 2004. Summary of changes for version 20041006:
12545 1) ACPI CA Core Subsystem:
12547 Implemented support for the ACPI 3.0 Timer operator. This ASL function
12548 implements a 64-bit timer with 100 nanosecond granularity.
12550 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
12551 implement the ACPI 3.0 Timer operator. This allows the host OS to
12553 the timer with the best clock available. Also, it keeps the core
12555 out of the clock handling business, since the host OS (usually) performs
12558 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
12559 functions use a 64-bit address which is part of the packed ACPI Generic
12560 Address Structure. Since the structure is non-aligned, the alignment
12562 are now used to extract the address to a local variable before use.
12564 Fixed a problem where the ToInteger operator assumed all input strings
12566 hexadecimal. The operator now handles both decimal strings and hex
12568 (prefixed with "0x").
12570 Fixed a problem where the string length in the string object created as a
12571 result of the internal ConvertToString procedure could be incorrect. This
12572 potentially affected all implicit conversions and also the
12574 and ToHexString operators.
12576 Fixed two problems in the ToString operator. If the length parameter was
12577 zero, an incorrect string object was created and the value of the input
12578 length parameter was inadvertently changed from zero to Ones.
12580 Fixed a problem where the optional ResourceSource string in the
12582 resource macro was ignored.
12584 Simplified the interfaces to the internal division functions, reducing
12586 size and complexity.
12588 Code and Data Size: Current and previous core subsystem library sizes are
12589 shown below. These are the code and data sizes for the acpica.lib
12591 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12592 any ACPI driver or OSPM code. The debug version of the code includes the
12593 debug output trace mechanism and has a much larger code and data size.
12595 that these values will vary depending on the efficiency of the compiler
12597 the compiler options used during generation.
12600 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
12601 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
12603 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12604 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
12607 2) iASL Compiler/Disassembler:
12609 Implemented support for the ACPI 3.0 Timer operator.
12611 Fixed a problem where the Default() operator was inadvertently ignored in
12613 Switch/Case block. This was a problem in the translation of the Switch
12614 statement to If...Else pairs.
12616 Added support to allow a standalone Return operator, with no parentheses
12620 Fixed a problem with code generation for the ElseIf operator where the
12621 translated Else...If parse tree was improperly constructed leading to the
12624 ----------------------------------------
12625 22 September 2004. Summary of changes for version 20040922:
12627 1) ACPI CA Core Subsystem:
12629 Fixed a problem with the implementation of the LNot() operator where
12631 was not returned for the TRUE case. Changed the code to return Ones
12633 of (!Arg) which was usually 1. This change affects iASL constant folding
12635 this operator also.
12637 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
12639 initialized properly -- Now zero the entire buffer in this case where the
12640 buffer already exists.
12642 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
12643 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
12644 related code considerably. This will require changes/updates to all OS
12645 interface layers (OSLs.)
12647 Implemented a new external interface, AcpiInstallExceptionHandler, to
12649 a system exception handler to be installed. This handler is invoked upon
12651 run-time exception that occurs during control method execution.
12653 Added support for the DSDT in AcpiTbFindTable. This allows the
12654 DataTableRegion() operator to access the local copy of the DSDT.
12656 Code and Data Size: Current and previous core subsystem library sizes are
12657 shown below. These are the code and data sizes for the acpica.lib
12659 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12660 any ACPI driver or OSPM code. The debug version of the code includes the
12661 debug output trace mechanism and has a much larger code and data size.
12663 that these values will vary depending on the efficiency of the compiler
12665 the compiler options used during generation.
12668 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
12669 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
12671 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
12672 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
12675 2) iASL Compiler/Disassembler:
12677 Fixed a problem with constant folding and the LNot operator. LNot was
12678 returning 1 in the TRUE case, not Ones as per the ACPI specification.
12680 could result in the generation of an incorrect folded/reduced constant.
12682 End-Of-File is now allowed within a "//"-style comment. A parse error no
12683 longer occurs if such a comment is at the very end of the input ASL
12687 Implemented the "-r" option to override the Revision in the table header.
12688 The initial use of this option will be to simplify the evaluation of the
12690 interpreter by allowing a single ASL source module to be compiled for
12692 32-bit or 64-bit integers.
12695 ----------------------------------------
12696 27 August 2004. Summary of changes for version 20040827:
12698 1) ACPI CA Core Subsystem:
12700 - Implemented support for implicit object conversion in the non-numeric
12701 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
12703 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
12704 the second operand is implicitly converted on the fly to match the type
12706 the first operand. For example:
12708 LEqual (Source1, Source2)
12710 Source1 and Source2 must each evaluate to an integer, a string, or a
12712 The data type of Source1 dictates the required type of Source2. Source2
12714 implicitly converted if necessary to match the type of Source1.
12716 - Updated and corrected the behavior of the string conversion support.
12718 rules concerning conversion of buffers to strings (according to the ACPI
12719 specification) are as follows:
12721 ToDecimalString - explicit byte-wise conversion of buffer to string of
12722 decimal values (0-255) separated by commas. ToHexString - explicit byte-
12724 conversion of buffer to string of hex values (0-FF) separated by commas.
12725 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
12727 copy with no transform except NULL terminated. Any other implicit buffer-
12729 string conversion - byte-wise conversion of buffer to string of hex
12731 (0-FF) separated by spaces.
12733 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12735 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
12737 one byte too short in the case of a node in the root scope. This could
12738 cause a fault during debug output.
12740 - Code and Data Size: Current and previous core subsystem library sizes
12742 shown below. These are the code and data sizes for the acpica.lib
12744 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12745 any ACPI driver or OSPM code. The debug version of the code includes the
12746 debug output trace mechanism and has a much larger code and data size.
12748 that these values will vary depending on the efficiency of the compiler
12750 the compiler options used during generation.
12753 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
12754 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
12756 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
12757 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
12760 2) iASL Compiler/Disassembler:
12762 - Fixed a Linux generation error.
12765 ----------------------------------------
12766 16 August 2004. Summary of changes for version 20040816:
12768 1) ACPI CA Core Subsystem:
12770 Designed and implemented support within the AML interpreter for the so-
12771 called "implicit return". This support returns the result of the last
12773 operation within a control method, in the absence of an explicit Return()
12774 operator. A few machines depend on this behavior, even though it is not
12775 explicitly supported by the ASL language. It is optional support that
12777 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12779 Removed support for the PCI_Config address space from the internal low
12781 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
12782 support was not used internally, and would not work correctly anyway
12784 the PCI bus number and segment number were not supported. There are
12785 separate interfaces for PCI configuration space access because of the
12789 Code and Data Size: Current and previous core subsystem library sizes are
12790 shown below. These are the code and data sizes for the acpica.lib
12792 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12793 any ACPI driver or OSPM code. The debug version of the code includes the
12794 debug output trace mechanism and has a much larger code and data size.
12796 that these values will vary depending on the efficiency of the compiler
12798 the compiler options used during generation.
12801 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12802 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
12804 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
12805 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
12808 2) iASL Compiler/Disassembler:
12810 Fixed a problem where constants in ASL expressions at the root level (not
12811 within a control method) could be inadvertently truncated during code
12812 generation. This problem was introduced in the 20040715 release.
12815 ----------------------------------------
12816 15 July 2004. Summary of changes for version 20040715:
12818 1) ACPI CA Core Subsystem:
12820 Restructured the internal HW GPE interfaces to pass/track the current
12822 of interrupts (enabled/disabled) in order to avoid possible deadlock and
12823 increase flexibility of the interfaces.
12825 Implemented a "lexicographical compare" for String and Buffer objects
12827 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12829 as per further clarification to the ACPI specification. Behavior is
12831 to C library "strcmp".
12833 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
12834 external function. In the 32-bit non-debug case, the stack use has been
12835 reduced from 168 bytes to 32 bytes.
12837 Deployed a new run-time configuration flag,
12838 AcpiGbl_EnableInterpreterSlack,
12839 whose purpose is to allow the AML interpreter to forgive certain bad AML
12840 constructs. Default setting is FALSE.
12842 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
12844 support code. If enabled, it allows field access to go beyond the end of
12846 region definition if the field is within the region length rounded up to
12848 next access width boundary (a common coding error.)
12850 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
12851 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
12853 symbols are lowercased by the latest version of the AcpiSrc tool.
12855 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
12856 rename "Register" to simply "Reg" to prevent certain compilers from
12859 Code and Data Size: Current and previous core subsystem library sizes are
12860 shown below. These are the code and data sizes for the acpica.lib
12862 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12863 any ACPI driver or OSPM code. The debug version of the code includes the
12864 debug output trace mechanism and has a much larger code and data size.
12866 that these values will vary depending on the efficiency of the compiler
12868 the compiler options used during generation.
12871 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12872 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
12874 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12875 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
12878 2) iASL Compiler/Disassembler:
12880 Implemented full support for Package objects within the Case() operator.
12881 Note: The Break() operator is currently not supported within Case blocks
12882 (TermLists) as there is some question about backward compatibility with
12887 Fixed a problem where complex terms were not supported properly within
12891 Eliminated extraneous warning for compiler-emitted reserved names of the
12892 form "_T_x". (Used in Switch/Case operators.)
12894 Eliminated optimization messages for "_T_x" objects and small constants
12895 within the DefinitionBlock operator.
12898 ----------------------------------------
12899 15 June 2004. Summary of changes for version 20040615:
12901 1) ACPI CA Core Subsystem:
12903 Implemented support for Buffer and String objects (as per ACPI 2.0) for
12905 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
12908 All directory names in the entire source package are lower case, as they
12909 were in earlier releases.
12911 Implemented "Disassemble" command in the AML debugger that will
12913 a single control method.
12915 Code and Data Size: Current and previous core subsystem library sizes are
12916 shown below. These are the code and data sizes for the acpica.lib
12918 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12919 any ACPI driver or OSPM code. The debug version of the code includes the
12920 debug output trace mechanism and has a much larger code and data size.
12922 that these values will vary depending on the efficiency of the compiler
12924 the compiler options used during generation.
12927 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
12928 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
12931 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12932 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
12935 2) iASL Compiler/Disassembler:
12937 Implemented support for Buffer and String objects (as per ACPI 2.0) for
12939 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
12942 All directory names in the entire source package are lower case, as they
12943 were in earlier releases.
12945 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
12948 Fixed an issue with the Windows version of the compiler where later
12950 of Windows place the FADT in the registry under the name "FADT" and not
12951 "FACP" as earlier versions did. This applies when using the -g or -
12952 d<nofilename> options. The compiler now looks for both strings as
12955 Fixed a problem with compiler namepath optimization where a namepath
12957 the Scope() operator could not be optimized if the namepath was a subpath
12959 the current scope path.
12961 ----------------------------------------
12962 27 May 2004. Summary of changes for version 20040527:
12964 1) ACPI CA Core Subsystem:
12966 Completed a new design and implementation for EBDA (Extended BIOS Data
12968 support in the RSDP scan code. The original code improperly scanned for
12970 EBDA by simply scanning from memory location 0 to 0x400. The correct
12972 is to first obtain the EBDA pointer from within the BIOS data area, then
12973 scan 1K of memory starting at the EBDA pointer. There appear to be few
12975 any machines that place the RSDP in the EBDA, however.
12977 Integrated a fix for a possible fault during evaluation of BufferField
12978 arguments. Obsolete code that was causing the problem was removed.
12980 Found and fixed a problem in the Field Support Code where data could be
12981 corrupted on a bit field read that starts on an aligned boundary but does
12982 not end on an aligned boundary. Merged the read/write "datum length"
12983 calculation code into a common procedure.
12985 Rolled in a couple of changes to the FreeBSD-specific header.
12988 Code and Data Size: Current and previous core subsystem library sizes are
12989 shown below. These are the code and data sizes for the acpica.lib
12991 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12992 any ACPI driver or OSPM code. The debug version of the code includes the
12993 debug output trace mechanism and has a much larger code and data size.
12995 that these values will vary depending on the efficiency of the compiler
12997 the compiler options used during generation.
13000 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
13001 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
13003 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
13004 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
13007 2) iASL Compiler/Disassembler:
13009 Fixed a generation warning produced by some overly-verbose compilers for
13013 ----------------------------------------
13014 14 May 2004. Summary of changes for version 20040514:
13016 1) ACPI CA Core Subsystem:
13018 Fixed a problem where hardware GPE enable bits sometimes not set properly
13019 during and after GPE method execution. Result of 04/27 changes.
13021 Removed extra "clear all GPEs" when sleeping/waking.
13023 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
13024 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
13026 the new AcpiEv* calls as appropriate.
13028 ACPI_OS_NAME was removed from the OS-specific headers. The default name
13030 now "Microsoft Windows NT" for maximum compatibility. However this can
13032 changed by modifying the acconfig.h file.
13034 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
13035 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
13037 Run _INI methods on ThermalZone objects. This is against the ACPI
13038 specification, but there is apparently ASL code in the field that has
13040 _INI methods, and apparently "other" AML interpreters execute them.
13042 Performed a full 16/32/64 bit lint that resulted in some small changes.
13044 Added a sleep simulation command to the AML debugger to test sleep code.
13046 Code and Data Size: Current and previous core subsystem library sizes are
13047 shown below. These are the code and data sizes for the acpica.lib
13049 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13050 any ACPI driver or OSPM code. The debug version of the code includes the
13051 debug output trace mechanism and has a much larger code and data size.
13053 that these values will vary depending on the efficiency of the compiler
13055 the compiler options used during generation.
13058 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
13059 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
13061 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
13062 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
13064 ----------------------------------------
13065 27 April 2004. Summary of changes for version 20040427:
13067 1) ACPI CA Core Subsystem:
13069 Completed a major overhaul of the GPE handling within ACPI CA. There are
13070 now three types of GPEs: wake-only, runtime-only, and combination
13072 The only GPEs allowed to be combination wake/run are for button-style
13073 devices such as a control-method power button, control-method sleep
13075 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
13077 referenced by any _PRW methods are marked for "runtime" and hardware
13078 enabled. Any GPE that is referenced by a _PRW method is marked for
13080 (and disabled at runtime). However, at sleep time, only those GPEs that
13081 have been specifically enabled for wake via the AcpiEnableGpe interface
13083 actually be hardware enabled.
13085 A new external interface has been added, AcpiSetGpeType(), that is meant
13087 be used by device drivers to force a GPE to a particular type. It will
13089 especially useful for the drivers for the button devices mentioned above.
13091 Completed restructuring of the ACPI CA initialization sequence so that
13092 default operation region handlers are installed before GPEs are
13094 and the _PRW methods are executed. This will prevent errors when the
13096 methods attempt to access system memory or I/O space.
13098 GPE enable/disable no longer reads the GPE enable register. We now keep
13100 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
13101 thus no longer depend on the hardware to maintain these bits.
13103 Always clear the wake status and fixed/GPE status bits before sleep, even
13106 Improved the AML debugger output for displaying the GPE blocks and their
13109 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
13113 Fixed a problem where the physical address was incorrectly calculated
13115 the Load() operator was used to directly load from an Operation Region
13117 loading from a Field object.) Also added check for minimum table length
13121 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
13124 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
13125 consistency with the other fields returned.
13127 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
13128 structure for each GPE in the system, so the size of this structure is
13131 CPU stack requirement reduction: Cleaned up the method execution and
13133 evaluation paths so that now a parameter structure is passed, instead of
13134 copying the various method parameters over and over again.
13136 In evregion.c: Correctly exit and reenter the interpreter region if and
13137 only if dispatching an operation region request to a user-installed
13139 Do not exit/reenter when dispatching to a default handler (e.g., default
13140 system memory or I/O handlers)
13143 Notes for updating drivers for the new GPE support. The following
13145 must be made to ACPI-related device drivers that are attached to one or
13147 GPEs: (This information will be added to the ACPI CA Programmer
13150 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
13152 explicitly call AcpiEnableGpe.
13153 2) There is a new interface called AcpiSetGpeType. This should be called
13154 before enabling the GPE. Also, this interface will automatically disable
13155 the GPE if it is currently enabled.
13156 3) AcpiEnableGpe no longer supports a GPE type flag.
13158 Specific drivers that must be changed:
13160 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
13161 AeGpeHandler, NULL);
13162 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13163 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13165 2) Button Drivers (Power, Lid, Sleep):
13166 Run _PRW method under parent device
13167 If _PRW exists: /* This is a control-method button */
13168 Extract GPE number and possibly GpeDevice
13169 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13170 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13172 For all other devices that have _PRWs, we automatically set the GPE type
13174 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
13176 must be done on a selective basis, usually requiring some kind of user
13178 to allow the user to pick the wake devices.
13181 Code and Data Size: Current and previous core subsystem library sizes are
13182 shown below. These are the code and data sizes for the acpica.lib
13184 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13185 any ACPI driver or OSPM code. The debug version of the code includes the
13186 debug output trace mechanism and has a much larger code and data size.
13188 that these values will vary depending on the efficiency of the compiler
13190 the compiler options used during generation.
13193 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
13194 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
13197 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
13198 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
13202 ----------------------------------------
13203 02 April 2004. Summary of changes for version 20040402:
13205 1) ACPI CA Core Subsystem:
13207 Fixed an interpreter problem where an indirect store through an ArgX
13208 parameter was incorrectly applying the "implicit conversion rules" during
13209 the store. From the ACPI specification: "If the target is a method local
13211 argument (LocalX or ArgX), no conversion is performed and the result is
13212 stored directly to the target". The new behavior is to disable implicit
13213 conversion during ALL stores to an ArgX.
13215 Changed the behavior of the _PRW method scan to ignore any and all errors
13216 returned by a given _PRW. This prevents the scan from aborting from the
13217 failure of any single _PRW.
13219 Moved the runtime configuration parameters from the global init procedure
13221 static variables in acglobal.h. This will allow the host to override the
13222 default values easily.
13224 Code and Data Size: Current and previous core subsystem library sizes are
13225 shown below. These are the code and data sizes for the acpica.lib
13227 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13228 any ACPI driver or OSPM code. The debug version of the code includes the
13229 debug output trace mechanism and has a much larger code and data size.
13231 that these values will vary depending on the efficiency of the compiler
13233 the compiler options used during generation.
13236 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
13237 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
13239 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
13240 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
13243 2) iASL Compiler/Disassembler:
13245 iASL now fully disassembles SSDTs. However, External() statements are
13247 generated automatically for unresolved symbols at this time. This is a
13248 planned feature for future implementation.
13250 Fixed a scoping problem in the disassembler that occurs when the type of
13252 target of a Scope() operator is overridden. This problem caused an
13253 incorrectly nested internal namespace to be constructed.
13255 Any warnings or errors that are emitted during disassembly are now
13257 out automatically so that the resulting file can be recompiled without
13261 ----------------------------------------
13262 26 March 2004. Summary of changes for version 20040326:
13264 1) ACPI CA Core Subsystem:
13266 Implemented support for "wake" GPEs via interaction between GPEs and the
13267 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
13268 identified as a WAKE GPE and by default will no longer be enabled at
13269 runtime. Previously, we were blindly enabling all GPEs with a
13271 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
13273 believe this has been the cause of thousands of "spurious" GPEs on some
13276 This new GPE behavior is can be reverted to the original behavior (enable
13277 ALL GPEs at runtime) via a runtime flag.
13279 Fixed a problem where aliased control methods could not access objects
13280 properly. The proper scope within the namespace was not initialized
13281 (transferred to the target of the aliased method) before executing the
13284 Fixed a potential race condition on internal object deletion on the
13286 object in AcpiEvaluateObject.
13288 Integrated a fix for resource descriptors where both _MEM and _MTP were
13289 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
13290 wide, 0x0F instead of 0x03.)
13292 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
13295 fault in some cases.
13297 Updated Notify() values for debug statements in evmisc.c
13299 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13301 Code and Data Size: Current and previous core subsystem library sizes are
13302 shown below. These are the code and data sizes for the acpica.lib
13304 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13305 any ACPI driver or OSPM code. The debug version of the code includes the
13306 debug output trace mechanism and has a much larger code and data size.
13308 that these values will vary depending on the efficiency of the compiler
13310 the compiler options used during generation.
13314 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
13315 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
13317 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
13318 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
13320 ----------------------------------------
13321 11 March 2004. Summary of changes for version 20040311:
13323 1) ACPI CA Core Subsystem:
13325 Fixed a problem where errors occurring during the parse phase of control
13326 method execution did not abort cleanly. For example, objects created and
13327 installed in the namespace were not deleted. This caused all subsequent
13328 invocations of the method to return the AE_ALREADY_EXISTS exception.
13330 Implemented a mechanism to force a control method to "Serialized"
13332 if the method attempts to create namespace objects. (The root of the
13333 AE_ALREADY_EXISTS problem.)
13335 Implemented support for the predefined _OSI "internal" control method.
13336 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
13338 "Windows 2001.1", and can be easily upgraded for new strings as
13340 This feature will allow "other" operating systems to execute the fully
13341 tested, "Windows" code path through the ASL code
13343 Global Lock Support: Now allows multiple acquires and releases with any
13344 internal thread. Removed concept of "owning thread" for this special
13347 Fixed two functions that were inappropriately declaring large objects on
13349 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
13351 method execution considerably.
13353 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
13354 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13356 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
13357 defined on the machine.
13359 Implemented two runtime options: One to force all control method
13361 to "Serialized" to mimic Windows behavior, another to disable _OSI
13363 if it causes problems on a given machine.
13365 Code and Data Size: Current and previous core subsystem library sizes are
13366 shown below. These are the code and data sizes for the acpica.lib
13368 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13369 any ACPI driver or OSPM code. The debug version of the code includes the
13370 debug output trace mechanism and has a much larger code and data size.
13372 that these values will vary depending on the efficiency of the compiler
13374 the compiler options used during generation.
13377 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
13378 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
13380 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
13381 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
13383 2) iASL Compiler/Disassembler:
13385 Fixed an array size problem for FreeBSD that would cause the compiler to
13388 ----------------------------------------
13389 20 February 2004. Summary of changes for version 20040220:
13392 1) ACPI CA Core Subsystem:
13394 Implemented execution of _SxD methods for Device objects in the
13395 GetObjectInfo interface.
13397 Fixed calls to _SST method to pass the correct arguments.
13399 Added a call to _SST on wake to restore to "working" state.
13401 Check for End-Of-Buffer failure case in the WalkResources interface.
13403 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
13404 structures to the beginning of the file.
13406 After wake, clear GPE status register(s) before enabling GPEs.
13408 After wake, clear/enable power button. (Perhaps we should clear/enable
13410 fixed events upon wake.)
13412 Fixed a couple of possible memory leaks in the Namespace manager.
13414 Integrated latest acnetbsd.h file.
13416 ----------------------------------------
13417 11 February 2004. Summary of changes for version 20040211:
13420 1) ACPI CA Core Subsystem:
13422 Completed investigation and implementation of the call-by-reference
13423 mechanism for control method arguments.
13425 Fixed a problem where a store of an object into an indexed package could
13426 fail if the store occurs within a different method than the method that
13427 created the package.
13429 Fixed a problem where the ToDecimal operator could return incorrect
13432 Fixed a problem where the CopyObject operator could fail on some of the
13434 obscure objects (e.g., Reference objects.)
13436 Improved the output of the Debug object to display buffer, package, and
13439 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
13441 the expected result.
13443 Added permanent ACPI_REPORT_ERROR macros for all instances of the
13444 ACPI_AML_INTERNAL exception.
13446 Integrated latest version of acfreebsd.h
13448 ----------------------------------------
13449 16 January 2004. Summary of changes for version 20040116:
13451 The purpose of this release is primarily to update the copyright years in
13452 each module, thus causing a huge number of diffs. There are a few small
13453 functional changes, however.
13455 1) ACPI CA Core Subsystem:
13457 Improved error messages when there is a problem finding one or more of
13459 required base ACPI tables
13461 Reintroduced the definition of APIC_HEADER in actbl.h
13463 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13465 Removed extraneous reference to NewObj in dsmthdat.c
13469 Fixed a problem introduced in December that disabled the correct
13471 of Resource Templates
13474 ----------------------------------------
13475 03 December 2003. Summary of changes for version 20031203:
13477 1) ACPI CA Core Subsystem:
13479 Changed the initialization of Operation Regions during subsystem
13480 init to perform two entire walks of the ACPI namespace; The first
13481 to initialize the regions themselves, the second to execute the
13482 _REG methods. This fixed some interdependencies across _REG
13483 methods found on some machines.
13485 Fixed a problem where a Store(Local0, Local1) could simply update
13486 the object reference count, and not create a new copy of the
13487 object if the Local1 is uninitialized.
13489 Implemented support for the _SST reserved method during sleep
13492 Implemented support to clear the SLP_TYP and SLP_EN bits when
13493 waking up, this is apparently required by some machines.
13495 When sleeping, clear the wake status only if SleepState is not S5.
13497 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13498 pointer arithmetic advanced a string pointer too far.
13500 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13501 could be returned if the requested table has not been loaded.
13503 Within the support for IRQ resources, restructured the handling of
13504 the active and edge/level bits.
13506 Fixed a few problems in AcpiPsxExecute() where memory could be
13507 leaked under certain error conditions.
13509 Improved error messages for the cases where the ACPI mode could
13512 Code and Data Size: Current and previous core subsystem library
13513 sizes are shown below. These are the code and data sizes for the
13514 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13515 these values do not include any ACPI driver or OSPM code. The
13516 debug version of the code includes the debug output trace
13517 mechanism and has a much larger code and data size. Note that
13518 these values will vary depending on the efficiency of the compiler
13519 and the compiler options used during generation.
13521 Previous Release (20031029):
13522 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
13523 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
13525 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
13526 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
13528 2) iASL Compiler/Disassembler:
13530 Implemented a fix for the iASL disassembler where a bad index was
13531 generated. This was most noticeable on 64-bit platforms
13534 ----------------------------------------
13535 29 October 2003. Summary of changes for version 20031029:
13537 1) ACPI CA Core Subsystem:
13540 Fixed a problem where a level-triggered GPE with an associated
13541 _Lxx control method was incorrectly cleared twice.
13543 Fixed a problem with the Field support code where an access can
13544 occur beyond the end-of-region if the field is non-aligned but
13545 extends to the very end of the parent region (resulted in an
13546 AE_AML_REGION_LIMIT exception.)
13548 Fixed a problem with ACPI Fixed Events where an RT Clock handler
13549 would not get invoked on an RTC event. The RTC event bitmasks for
13550 the PM1 registers were not being initialized properly.
13552 Implemented support for executing _STA and _INI methods for
13553 Processor objects. Although this is currently not part of the
13554 ACPI specification, there is existing ASL code that depends on the
13555 init-time execution of these methods.
13557 Implemented and deployed a GetDescriptorName function to decode
13558 the various types of internal descriptors. Guards against null
13559 descriptors during debug output also.
13561 Implemented and deployed a GetNodeName function to extract the 4-
13562 character namespace node name. This function simplifies the debug
13563 and error output, as well as guarding against null pointers during
13566 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13567 simplify the debug and error output of 64-bit integers. This
13568 macro replaces the HIDWORD and LODWORD macros for dumping these
13571 Updated the implementation of the Stall() operator to only call
13572 AcpiOsStall(), and also return an error if the operand is larger
13573 than 255. This preserves the required behavior of not
13574 relinquishing the processor, as would happen if AcpiOsSleep() was
13575 called for "long stalls".
13577 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13578 initialized are now treated as NOOPs.
13580 Cleaned up a handful of warnings during 64-bit generation.
13582 Fixed a reported error where and incorrect GPE number was passed
13583 to the GPE dispatch handler. This value is only used for error
13584 output, however. Used this opportunity to clean up and streamline
13585 the GPE dispatch code.
13587 Code and Data Size: Current and previous core subsystem library
13588 sizes are shown below. These are the code and data sizes for the
13589 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13590 these values do not include any ACPI driver or OSPM code. The
13592 debug version of the code includes the debug output trace
13593 mechanism and has a much larger code and data size. Note that
13594 these values will vary depending on the efficiency of the compiler
13595 and the compiler options used during generation.
13597 Previous Release (20031002):
13598 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
13599 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
13601 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
13602 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
13605 2) iASL Compiler/Disassembler:
13607 Updated the iASL compiler to return an error if the operand to the
13608 Stall() operator is larger than 255.
13611 ----------------------------------------
13612 02 October 2003. Summary of changes for version 20031002:
13615 1) ACPI CA Core Subsystem:
13617 Fixed a problem with Index Fields where the index was not
13618 incremented for fields that require multiple writes to the
13619 index/data registers (Fields that are wider than the data
13622 Fixed a problem with all Field objects where a write could go
13623 beyond the end-of-field if the field was larger than the access
13624 granularity and therefore required multiple writes to complete the
13625 request. An extra write beyond the end of the field could happen
13628 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13629 would incorrectly be returned if the width of the Data Register
13630 was larger than the specified field access width.
13632 Completed fixes for LoadTable() and Unload() and verified their
13633 operation. Implemented full support for the "DdbHandle" object
13634 throughout the ACPI CA subsystem.
13636 Implemented full support for the MADT and ECDT tables in the ACPI
13637 CA header files. Even though these tables are not directly
13638 consumed by ACPI CA, the header definitions are useful for ACPI
13641 Integrated resource descriptor fixes posted to the Linux ACPI
13642 list. This included checks for minimum descriptor length, and
13643 support for trailing NULL strings within descriptors that have
13644 optional string elements.
13646 Code and Data Size: Current and previous core subsystem library
13647 sizes are shown below. These are the code and data sizes for the
13648 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13649 these values do not include any ACPI driver or OSPM code. The
13650 debug version of the code includes the debug output trace
13651 mechanism and has a much larger code and data size. Note that
13652 these values will vary depending on the efficiency of the compiler
13653 and the compiler options used during generation.
13655 Previous Release (20030918):
13656 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
13657 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
13659 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
13660 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
13665 Implemented detection of non-ASCII characters within the input
13666 source ASL file. This catches attempts to compile binary (AML)
13667 files early in the compile, with an informative error message.
13669 Fixed a problem where the disassembler would fault if the output
13670 filename could not be generated or if the output file could not be
13673 ----------------------------------------
13674 18 September 2003. Summary of changes for version 20030918:
13677 1) ACPI CA Core Subsystem:
13679 Found and fixed a longstanding problem with the late execution of
13680 the various deferred AML opcodes (such as Operation Regions,
13681 Buffer Fields, Buffers, and Packages). If the name string
13682 specified for the name of the new object placed the object in a
13683 scope other than the current scope, the initialization/execution
13684 of the opcode failed. The solution to this problem was to
13685 implement a mechanism where the late execution of such opcodes
13686 does not attempt to lookup/create the name a second time in an
13687 incorrect scope. This fixes the "region size computed
13688 incorrectly" problem.
13690 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13691 Global Lock AE_BAD_PARAMETER error.
13693 Fixed several 64-bit issues with prototypes, casting and data
13696 Removed duplicate prototype from acdisasm.h
13698 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13700 Code and Data Size: Current and previous core subsystem library
13701 sizes are shown below. These are the code and data sizes for the
13702 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13703 these values do not include any ACPI driver or OSPM code. The
13704 debug version of the code includes the debug output trace
13705 mechanism and has a much larger code and data size. Note that
13706 these values will vary depending on the efficiency of the compiler
13707 and the compiler options used during generation.
13711 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
13712 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
13714 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
13715 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
13720 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13721 correct sleep time in seconds.
13723 ----------------------------------------
13724 14 July 2003. Summary of changes for version 20030619:
13726 1) ACPI CA Core Subsystem:
13728 Parse SSDTs in order discovered, as opposed to reverse order
13731 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13738 Dynamically allocate SDT list (suggested by Andi Kleen)
13740 proc function return value cleanups (Andi Kleen)
13742 Correctly handle NMI watchdog during long stalls (Andrew Morton)
13744 Make it so acpismp=force works (reported by Andrew Morton)
13747 ----------------------------------------
13748 19 June 2003. Summary of changes for version 20030619:
13750 1) ACPI CA Core Subsystem:
13752 Fix To/FromBCD, eliminating the need for an arch-specific #define.
13754 Do not acquire a semaphore in the S5 shutdown path.
13756 Fix ex_digits_needed for 0. (Takayoshi Kochi)
13758 Fix sleep/stall code reversal. (Andi Kleen)
13760 Revert a change having to do with control method calling
13765 acpiphp update (Takayoshi Kochi)
13767 Export acpi_disabled for sonypi (Stelian Pop)
13769 Mention acpismp=force in config help
13771 Re-add acpitable.c and acpismp=force. This improves backwards
13773 compatibility and also cleans up the code to a significant degree.
13775 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13777 ----------------------------------------
13778 22 May 2003. Summary of changes for version 20030522:
13780 1) ACPI CA Core Subsystem:
13782 Found and fixed a reported problem where an AE_NOT_FOUND error
13783 occurred occasionally during _BST evaluation. This turned out to
13784 be an Owner ID allocation issue where a called method did not get
13785 a new ID assigned to it. Eventually, (after 64k calls), the Owner
13786 ID UINT16 would wraparound so that the ID would be the same as the
13787 caller's and the called method would delete the caller's
13790 Implemented extended error reporting for control methods that are
13791 aborted due to a run-time exception. Output includes the exact
13792 AML instruction that caused the method abort, a dump of the method
13793 locals and arguments at the time of the abort, and a trace of all
13794 nested control method calls.
13796 Modified the interpreter to allow the creation of buffers of zero
13797 length from the AML code. Implemented new code to ensure that no
13798 attempt is made to actually allocate a memory buffer (of length
13799 zero) - instead, a simple buffer object with a NULL buffer pointer
13800 and length zero is created. A warning is no longer issued when
13801 the AML attempts to create a zero-length buffer.
13803 Implemented a workaround for the "leading asterisk issue" in
13804 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
13805 asterisk is automatically removed if present in any HID, UID, or
13806 CID strings. The iASL compiler will still flag this asterisk as
13809 Implemented full support for _CID methods that return a package of
13810 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
13811 now additionally returns a device _CID list if present. This
13812 required a change to the external interface in order to pass an
13813 ACPI_BUFFER object as a parameter since the _CID list is of
13816 Fixed a problem with the new AE_SAME_HANDLER exception where
13817 handler initialization code did not know about this exception.
13819 Code and Data Size: Current and previous core subsystem library
13820 sizes are shown below. These are the code and data sizes for the
13821 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13822 these values do not include any ACPI driver or OSPM code. The
13823 debug version of the code includes the debug output trace
13824 mechanism and has a much larger code and data size. Note that
13825 these values will vary depending on the efficiency of the compiler
13826 and the compiler options used during generation.
13828 Previous Release (20030509):
13829 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
13830 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
13832 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
13833 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
13838 Fixed a bug in which we would reinitialize the ACPI interrupt
13839 after it was already working, thus disabling all ACPI and the IRQs
13840 for any other device sharing the interrupt. (Thanks to Stian
13843 Toshiba driver update (John Belmonte)
13845 Return only 0 or 1 for our interrupt handler status (Andrew
13851 Fixed a reported problem where multiple (nested) ElseIf()
13852 statements were not handled correctly by the compiler, resulting
13853 in incorrect warnings and incorrect AML code. This was a problem
13854 in both the ASL parser and the code generator.
13859 Added changes to existing interfaces, new exception codes, and new
13860 text concerning reference count object management versus garbage
13863 ----------------------------------------
13864 09 May 2003. Summary of changes for version 20030509.
13867 1) ACPI CA Core Subsystem:
13869 Changed the subsystem initialization sequence to hold off
13870 installation of address space handlers until the hardware has been
13871 initialized and the system has entered ACPI mode. This is because
13872 the installation of space handlers can cause _REG methods to be
13873 run. Previously, the _REG methods could potentially be run before
13874 ACPI mode was enabled.
13876 Fixed some memory leak issues related to address space handler and
13877 notify handler installation. There were some problems with the
13878 reference count mechanism caused by the fact that the handler
13879 objects are shared across several namespace objects.
13881 Fixed a reported problem where reference counts within the
13882 namespace were not properly updated when named objects created by
13883 method execution were deleted.
13885 Fixed a reported problem where multiple SSDTs caused a deletion
13886 issue during subsystem termination. Restructured the table data
13887 structures to simplify the linked lists and the related code.
13889 Fixed a problem where the table ID associated with secondary
13890 tables (SSDTs) was not being propagated into the namespace objects
13891 created by those tables. This would only present a problem for
13892 tables that are unloaded at run-time, however.
13894 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13895 type as the length parameter (instead of UINT32).
13897 Solved a long-standing problem where an ALREADY_EXISTS error
13898 appears on various systems. This problem could happen when there
13899 are multiple PCI_Config operation regions under a single PCI root
13900 bus. This doesn't happen very frequently, but there are some
13901 systems that do this in the ASL.
13903 Fixed a reported problem where the internal DeleteNode function
13904 was incorrectly handling the case where a namespace node was the
13905 first in the parent's child list, and had additional peers (not
13906 the only child, but first in the list of children.)
13908 Code and Data Size: Current core subsystem library sizes are shown
13909 below. These are the code and data sizes for the acpica.lib
13910 produced by the Microsoft Visual C++ 6.0 compiler, and these
13911 values do not include any ACPI driver or OSPM code. The debug
13912 version of the code includes the debug output trace mechanism and
13913 has a much larger code and data size. Note that these values will
13914 vary depending on the efficiency of the compiler and the compiler
13915 options used during generation.
13918 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
13919 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
13921 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
13922 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
13927 Allow ":" in OS override string (Ducrot Bruno)
13929 Kobject fix (Greg KH)
13932 3 iASL Compiler/Disassembler:
13934 Fixed a problem in the generation of the C source code files (AML
13935 is emitted in C source statements for BIOS inclusion) where the
13936 Ascii dump that appears within a C comment at the end of each line
13937 could cause a compile time error if the AML sequence happens to
13938 have an open comment or close comment sequence embedded.
13941 ----------------------------------------
13942 24 April 2003. Summary of changes for version 20030424.
13945 1) ACPI CA Core Subsystem:
13947 Support for big-endian systems has been implemented. Most of the
13948 support has been invisibly added behind big-endian versions of the
13949 ACPI_MOVE_* macros.
13951 Fixed a problem in AcpiHwDisableGpeBlock() and
13952 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13953 low level hardware write routine. The offset parameter was
13954 actually eliminated from the low level read/write routines because
13955 they had become obsolete.
13957 Fixed a problem where a handler object was deleted twice during
13958 the removal of a fixed event handler.
13963 A fix for SMP systems with link devices was contributed by
13967 (2.5) Return whether we handled the interrupt in our IRQ handler.
13968 (Linux ISRs no longer return void, so we can propagate the handler
13969 return value from the ACPI CA core back to the OS.)
13975 The ACPI CA Programmer Reference has been updated to reflect new
13976 interfaces and changes to existing interfaces.
13978 ----------------------------------------
13979 28 March 2003. Summary of changes for version 20030328.
13981 1) ACPI CA Core Subsystem:
13983 The GPE Block Device support has been completed. New interfaces
13984 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
13985 interfaces (enable, disable, clear, getstatus) have been split
13986 into separate interfaces for Fixed Events and General Purpose
13987 Events (GPEs) in order to support GPE Block Devices properly.
13989 Fixed a problem where the error message "Failed to acquire
13990 semaphore" would appear during operations on the embedded
13993 Code and Data Size: Current core subsystem library sizes are shown
13994 below. These are the code and data sizes for the acpica.lib
13995 produced by the Microsoft Visual C++ 6.0 compiler, and these
13996 values do not include any ACPI driver or OSPM code. The debug
13997 version of the code includes the debug output trace mechanism and
13998 has a much larger code and data size. Note that these values will
13999 vary depending on the efficiency of the compiler and the compiler
14000 options used during generation.
14003 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
14004 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
14006 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
14007 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
14010 ----------------------------------------
14011 28 February 2003. Summary of changes for version 20030228.
14014 1) ACPI CA Core Subsystem:
14016 The GPE handling and dispatch code has been completely overhauled
14017 in preparation for support of GPE Block Devices (ID ACPI0006).
14018 This affects internal data structures and code only; there should
14019 be no differences visible externally. One new file has been
14022 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14023 fields that are used to determine the GPE block lengths. The
14024 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14025 structures are ignored. This is per the ACPI specification but it
14026 isn't very clear. The full 256 Block 0/1 GPEs are now supported
14027 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14029 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14030 register to look at the SCI_EN bit. On some machines, this read
14031 causes an SMI event and greatly slows down SCI events. (This may
14032 in fact be the cause of slow battery status response on some
14035 Fixed a problem where a store of a NULL string to a package object
14036 could cause the premature deletion of the object. This was seen
14037 during execution of the battery _BIF method on some systems,
14038 resulting in no battery data being returned.
14040 Added AcpiWalkResources interface to simplify parsing of resource
14043 Code and Data Size: Current core subsystem library sizes are shown
14044 below. These are the code and data sizes for the acpica.lib
14045 produced by the Microsoft Visual C++ 6.0 compiler, and these
14046 values do not include any ACPI driver or OSPM code. The debug
14047 version of the code includes the debug output trace mechanism and
14048 has a much larger code and data size. Note that these values will
14049 vary depending on the efficiency of the compiler and the compiler
14050 options used during generation.
14053 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
14054 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
14056 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
14057 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
14062 S3 fixes (Ole Rohne)
14064 Update ACPI PHP driver with to use new acpi_walk_resource API
14067 Add S4BIOS support (Pavel Machek)
14069 Map in entire table before performing checksum (John Stultz)
14071 Expand the mem= cmdline to allow the specification of reserved and
14072 ACPI DATA blocks (Pavel Machek)
14074 Never use ACPI on VISWS
14076 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14078 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14079 causing us to think that some systems support C2 when they really
14082 Do not count processor objects for non-present CPUs (Thanks to
14088 Fixed a problem where ASL include files could not be found and
14091 Added support for the _PDC reserved name.
14094 ----------------------------------------
14095 22 January 2003. Summary of changes for version 20030122.
14098 1) ACPI CA Core Subsystem:
14100 Added a check for constructs of the form: Store (Local0, Local0)
14101 where Local0 is not initialized. Apparently, some BIOS
14102 programmers believe that this is a NOOP. Since this store doesn't
14103 do anything anyway, the new prototype behavior will ignore this
14104 error. This is a case where we can relax the strict checking in
14105 the interpreter in the name of compatibility.
14110 The AcpiSrc Source Conversion Utility has been released with the
14111 Linux package for the first time. This is the utility that is
14112 used to convert the ACPI CA base source code to the Linux version.
14114 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14116 (Both) Move more headers to include/acpi, and delete an unused
14119 (Both) Move drivers/acpi/include directory to include/acpi
14121 (Both) Boot functions don't use cmdline, so don't pass it around
14123 (Both) Remove include of unused header (Adrian Bunk)
14125 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14127 former now also includes the latter, acpiphp.h only needs the one,
14130 (2.5) Make it possible to select method of bios restoring after S3
14131 resume. [=> no more ugly ifdefs] (Pavel Machek)
14133 (2.5) Make proc write interfaces work (Pavel Machek)
14135 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14137 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14138 (Dominik Brodowski)
14140 (2.4) S4BIOS support (Ducrot Bruno)
14142 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14148 Added support to disassemble SSDT and PSDTs.
14150 Implemented support to obtain SSDTs from the Windows registry if
14154 ----------------------------------------
14155 09 January 2003. Summary of changes for version 20030109.
14157 1) ACPI CA Core Subsystem:
14159 Changed the behavior of the internal Buffer-to-String conversion
14160 function. The current ACPI specification states that the contents
14161 of the buffer are "converted to a string of two-character
14162 hexadecimal numbers, each separated by a space". Unfortunately,
14163 this definition is not backwards compatible with existing ACPI 1.0
14164 implementations (although the behavior was not defined in the ACPI
14165 1.0 specification). The new behavior simply copies data from the
14166 buffer to the string until a null character is found or the end of
14167 the buffer is reached. The new String object is always null
14168 terminated. This problem was seen during the generation of _BIF
14169 battery data where incorrect strings were returned for battery
14170 type, etc. This will also require an errata to the ACPI
14173 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14174 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
14176 Copyright in all module headers (both Linux and non-Linux) has be
14179 Code and Data Size: Current core subsystem library sizes are shown
14180 below. These are the code and data sizes for the acpica.lib
14181 produced by the Microsoft Visual C++ 6.0 compiler, and these
14182 values do not include any ACPI driver or OSPM code. The debug
14183 version of the code includes the debug output trace mechanism and
14184 has a much larger code and data size. Note that these values will
14185 vary depending on the efficiency of the compiler and the compiler
14186 options used during generation.
14189 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
14190 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
14192 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
14193 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
14198 Fixed an oops on module insertion/removal (Matthew Tippett)
14200 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
14202 (2.5) Replace pr_debug (Randy Dunlap)
14204 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
14206 (Both) Eliminate spawning of thread from timer callback, in favor
14209 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
14211 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
14213 (Both) Add missing statics to button.c (Pavel Machek)
14215 Several changes have been made to the source code translation
14216 utility that generates the Linux Code in order to make the code
14219 All typedefs on structs and unions have been removed in keeping
14220 with the Linux coding style.
14222 Removed the non-Linux SourceSafe module revision number from each
14225 Completed major overhaul of symbols to be lowercased for linux.
14226 Doubled the number of symbols that are lowercased.
14228 Fixed a problem where identifiers within procedure headers and
14229 within quotes were not fully lower cased (they were left with a
14232 Some C macros whose only purpose is to allow the generation of 16-
14233 bit code are now completely removed in the Linux code, increasing
14234 readability and maintainability.
14236 ----------------------------------------
14238 12 December 2002. Summary of changes for version 20021212.
14241 1) ACPI CA Core Subsystem:
14243 Fixed a problem where the creation of a zero-length AML Buffer
14244 would cause a fault.
14246 Fixed a problem where a Buffer object that pointed to a static AML
14247 buffer (in an ACPI table) could inadvertently be deleted, causing
14250 Fixed a problem where a user buffer (passed in to the external
14251 ACPI CA interfaces) could be overwritten if the buffer was too
14252 small to complete the operation, causing memory corruption.
14254 Fixed a problem in the Buffer-to-String conversion code where a
14255 string of length one was always returned, regardless of the size
14256 of the input Buffer object.
14258 Removed the NATIVE_CHAR data type across the entire source due to
14259 lack of need and lack of consistent use.
14261 Code and Data Size: Current core subsystem library sizes are shown
14262 below. These are the code and data sizes for the acpica.lib
14263 produced by the Microsoft Visual C++ 6.0 compiler, and these
14264 values do not include any ACPI driver or OSPM code. The debug
14265 version of the code includes the debug output trace mechanism and
14266 has a much larger code and data size. Note that these values will
14267 vary depending on the efficiency of the compiler and the compiler
14268 options used during generation.
14271 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
14272 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
14274 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
14275 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
14278 ----------------------------------------
14279 05 December 2002. Summary of changes for version 20021205.
14281 1) ACPI CA Core Subsystem:
14283 Fixed a problem where a store to a String or Buffer object could
14284 cause corruption of the DSDT if the object type being stored was
14285 the same as the target object type and the length of the object
14286 being stored was equal to or smaller than the original (existing)
14287 target object. This was seen to cause corruption of battery _BIF
14288 buffers if the _BIF method modified the buffer on the fly.
14290 Fixed a problem where an internal error was generated if a control
14291 method invocation was used in an OperationRegion, Buffer, or
14292 Package declaration. This was caused by the deferred parsing of
14293 the control method and thus the deferred creation of the internal
14294 method object. The solution to this problem was to create the
14295 internal method object at the moment the method is encountered in
14296 the first pass - so that subsequent references to the method will
14297 able to obtain the required parameter count and thus properly
14298 parse the method invocation. This problem presented itself as an
14299 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14301 Fixed a problem where the internal String object copy routine did
14302 not always allocate sufficient memory for the target String object
14303 and caused memory corruption. This problem was seen to cause
14304 "Allocation already present in list!" errors as memory allocation
14307 Implemented a new function for the evaluation of namespace objects
14308 that allows the specification of the allowable return object
14309 types. This simplifies a lot of code that checks for a return
14310 object of one or more specific objects returned from the
14311 evaluation (such as _STA, etc.) This may become and external
14312 function if it would be useful to ACPI-related drivers.
14314 Completed another round of prefixing #defines with "ACPI_" for
14317 Completed additional code restructuring to allow more modular
14318 linking for iASL compiler and AcpiExec. Several files were split
14319 creating new files. New files: nsparse.c dsinit.c evgpe.c
14321 Implemented an abort mechanism to terminate an executing control
14322 method via the AML debugger. This feature is useful for debugging
14323 control methods that depend (wait) for specific hardware
14326 Code and Data Size: Current core subsystem library sizes are shown
14327 below. These are the code and data sizes for the acpica.lib
14328 produced by the Microsoft Visual C++ 6.0 compiler, and these
14329 values do not include any ACPI driver or OSPM code. The debug
14330 version of the code includes the debug output trace mechanism and
14331 has a much larger code and data size. Note that these values will
14332 vary depending on the efficiency of the compiler and the compiler
14333 options used during generation.
14336 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14337 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
14339 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
14340 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
14343 2) iASL Compiler/Disassembler
14345 Fixed a compiler code generation problem for "Interrupt" Resource
14346 Descriptors. If specified in the ASL, the optional "Resource
14347 Source Index" and "Resource Source" fields were not inserted into
14348 the correct location within the AML resource descriptor, creating
14349 an invalid descriptor.
14351 Fixed a disassembler problem for "Interrupt" resource descriptors.
14352 The optional "Resource Source Index" and "Resource Source" fields
14356 ----------------------------------------
14357 22 November 2002. Summary of changes for version 20021122.
14360 1) ACPI CA Core Subsystem:
14362 Fixed a reported problem where an object stored to a Method Local
14363 or Arg was not copied to a new object during the store - the
14364 object pointer was simply copied to the Local/Arg. This caused
14365 all subsequent operations on the Local/Arg to also affect the
14366 original source of the store operation.
14368 Fixed a problem where a store operation to a Method Local or Arg
14369 was not completed properly if the Local/Arg contained a reference
14370 (from RefOf) to a named field. The general-purpose store-to-
14371 namespace-node code is now used so that this case is handled
14374 Fixed a problem where the internal object copy routine would cause
14375 a protection fault if the object being copied was a Package and
14376 contained either 1) a NULL package element or 2) a nested sub-
14379 Fixed a problem with the GPE initialization that resulted from an
14380 ambiguity in the ACPI specification. One section of the
14381 specification states that both the address and length of the GPE
14382 block must be zero if the block is not supported. Another section
14383 implies that only the address need be zero if the block is not
14384 supported. The code has been changed so that both the address and
14385 the length must be non-zero to indicate a valid GPE block (i.e.,
14386 if either the address or the length is zero, the GPE block is
14389 Code and Data Size: Current core subsystem library sizes are shown
14390 below. These are the code and data sizes for the acpica.lib
14391 produced by the Microsoft Visual C++ 6.0 compiler, and these
14392 values do not include any ACPI driver or OSPM code. The debug
14393 version of the code includes the debug output trace mechanism and
14394 has a much larger code and data size. Note that these values will
14395 vary depending on the efficiency of the compiler and the compiler
14396 options used during generation.
14399 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
14400 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
14402 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14403 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
14408 Cleaned up EC driver. Exported an external EC read/write
14409 interface. By going through this, other drivers (most notably
14410 sonypi) will be able to serialize access to the EC.
14413 3) iASL Compiler/Disassembler
14415 Implemented support to optionally generate include files for both
14416 ASM and C (the -i switch). This simplifies BIOS development by
14417 automatically creating include files that contain external
14418 declarations for the symbols that are created within the
14420 (optionally generated) ASM and C AML source files.
14423 ----------------------------------------
14424 15 November 2002. Summary of changes for version 20021115.
14426 1) ACPI CA Core Subsystem:
14428 Fixed a memory leak problem where an error during resolution of
14430 method arguments during a method invocation from another method
14431 failed to cleanup properly by deleting all successfully resolved
14434 Fixed a problem where the target of the Index() operator was not
14435 correctly constructed if the source object was a package. This
14436 problem has not been detected because the use of a target operand
14437 with Index() is very rare.
14439 Fixed a problem with the Index() operator where an attempt was
14440 made to delete the operand objects twice.
14442 Fixed a problem where an attempt was made to delete an operand
14443 twice during execution of the CondRefOf() operator if the target
14446 Implemented the first of perhaps several internal create object
14447 functions that create and initialize a specific object type. This
14448 consolidates duplicated code wherever the object is created, thus
14449 shrinking the size of the subsystem.
14451 Implemented improved debug/error messages for errors that occur
14452 during nested method invocations. All executing method pathnames
14453 are displayed (with the error) as the call stack is unwound - thus
14456 Fixed a problem introduced in the 10/02 release that caused
14457 premature deletion of a buffer object if a buffer was used as an
14458 ASL operand where an integer operand is required (Thus causing an
14459 implicit object conversion from Buffer to Integer.) The change in
14460 the 10/02 release was attempting to fix a memory leak (albeit
14463 Code and Data Size: Current core subsystem library sizes are shown
14464 below. These are the code and data sizes for the acpica.lib
14465 produced by the Microsoft Visual C++ 6.0 compiler, and these
14466 values do not include any ACPI driver or OSPM code. The debug
14467 version of the code includes the debug output trace mechanism and
14468 has a much larger code and data size. Note that these values will
14469 vary depending on the efficiency of the compiler and the compiler
14470 options used during generation.
14473 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
14474 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
14476 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
14477 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
14482 Changed the implementation of the ACPI semaphores to use down()
14483 instead of down_interruptable(). It is important that the
14484 execution of ACPI control methods not be interrupted by signals.
14485 Methods must run to completion, or the system may be left in an
14486 unknown/unstable state.
14488 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14492 3) iASL Compiler/Disassembler
14495 Changed the default location of output files. All output files
14496 are now placed in the current directory by default instead of in
14497 the directory of the source file. This change may affect some
14498 existing makefiles, but it brings the behavior of the compiler in
14499 line with other similar tools. The location of the output files
14500 can be overridden with the -p command line switch.
14503 ----------------------------------------
14504 11 November 2002. Summary of changes for version 20021111.
14507 0) ACPI Specification 2.0B is released and is now available at:
14508 http://www.acpi.info/index.html
14511 1) ACPI CA Core Subsystem:
14513 Implemented support for the ACPI 2.0 SMBus Operation Regions.
14514 This includes the early detection and handoff of the request to
14515 the SMBus region handler (avoiding all of the complex field
14516 support code), and support for the bidirectional return packet
14517 from an SMBus write operation. This paves the way for the
14518 development of SMBus drivers in each host operating system.
14520 Fixed a problem where the semaphore WAIT_FOREVER constant was
14521 defined as 32 bits, but must be 16 bits according to the ACPI
14522 specification. This had the side effect of causing ASL
14523 Mutex/Event timeouts even though the ASL code requested a wait
14524 forever. Changed all internal references to the ACPI timeout
14525 parameter to 16 bits to prevent future problems. Changed the name
14526 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14528 Code and Data Size: Current core subsystem library sizes are shown
14529 below. These are the code and data sizes for the acpica.lib
14530 produced by the Microsoft Visual C++ 6.0 compiler, and these
14531 values do not include any ACPI driver or OSPM code. The debug
14532 version of the code includes the debug output trace mechanism and
14533 has a much larger code and data size. Note that these values will
14534 vary depending on the efficiency of the compiler and the compiler
14535 options used during generation.
14538 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14539 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
14541 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
14542 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
14547 Module loading/unloading fixes (John Cagle)
14550 3) iASL Compiler/Disassembler
14552 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14554 Implemented support for the disassembly of all SMBus protocol
14555 keywords (SMBQuick, SMBWord, etc.)
14557 ----------------------------------------
14558 01 November 2002. Summary of changes for version 20021101.
14561 1) ACPI CA Core Subsystem:
14563 Fixed a problem where platforms that have a GPE1 block but no GPE0
14564 block were not handled correctly. This resulted in a "GPE
14565 overlap" error message. GPE0 is no longer required.
14567 Removed code added in the previous release that inserted nodes
14568 into the namespace in alphabetical order. This caused some side-
14569 effects on various machines. The root cause of the problem is
14570 still under investigation since in theory, the internal ordering
14571 of the namespace nodes should not matter.
14574 Enhanced error reporting for the case where a named object is not
14575 found during control method execution. The full ACPI namepath
14576 (name reference) of the object that was not found is displayed in
14579 Note: as a result of the overhaul of the namespace object types in
14580 the previous release, the namespace nodes for the predefined
14581 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14582 instead of ACPI_TYPE_ANY. This simplifies the namespace
14583 management code but may affect code that walks the namespace tree
14584 looking for specific object types.
14586 Code and Data Size: Current core subsystem library sizes are shown
14587 below. These are the code and data sizes for the acpica.lib
14588 produced by the Microsoft Visual C++ 6.0 compiler, and these
14589 values do not include any ACPI driver or OSPM code. The debug
14590 version of the code includes the debug output trace mechanism and
14591 has a much larger code and data size. Note that these values will
14592 vary depending on the efficiency of the compiler and the compiler
14593 options used during generation.
14596 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
14597 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
14599 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14600 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
14605 Fixed a problem introduced in the previous release where the
14606 Processor and Thermal objects were not recognized and installed in
14607 /proc. This was related to the scope type change described above.
14610 3) iASL Compiler/Disassembler
14612 Implemented the -g option to get all of the required ACPI tables
14613 from the registry and save them to files (Windows version of the
14614 compiler only.) The required tables are the FADT, FACS, and DSDT.
14616 Added ACPI table checksum validation during table disassembly in
14617 order to catch corrupted tables.
14620 ----------------------------------------
14621 22 October 2002. Summary of changes for version 20021022.
14623 1) ACPI CA Core Subsystem:
14625 Implemented a restriction on the Scope operator that the target
14626 must already exist in the namespace at the time the operator is
14627 encountered (during table load or method execution). In other
14628 words, forward references are not allowed and Scope() cannot
14629 create a new object. This changes the previous behavior where the
14630 interpreter would create the name if not found. This new behavior
14631 correctly enables the search-to-root algorithm during namespace
14632 lookup of the target name. Because of this upsearch, this fixes
14633 the known Compaq _SB_.OKEC problem and makes both the AML
14634 interpreter and iASL compiler compatible with other ACPI
14637 Completed a major overhaul of the internal ACPI object types for
14638 the ACPI Namespace and the associated operand objects. Many of
14639 these types had become obsolete with the introduction of the two-
14640 pass namespace load. This cleanup simplifies the code and makes
14641 the entire namespace load mechanism much clearer and easier to
14644 Improved debug output for tracking scope opening/closing to help
14645 diagnose scoping issues. The old scope name as well as the new
14646 scope name are displayed. Also improved error messages for
14647 problems with ASL Mutex objects and error messages for GPE
14650 Cleaned up the namespace dump code, removed obsolete code.
14652 All string output (for all namespace/object dumps) now uses the
14653 common ACPI string output procedure which handles escapes properly
14654 and does not emit non-printable characters.
14656 Fixed some issues with constants in the 64-bit version of the
14657 local C library (utclib.c)
14662 EC Driver: No longer attempts to acquire the Global Lock at
14666 3) iASL Compiler/Disassembler
14668 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
14669 2 opcodes outside of a control method. This means that the
14670 "executable" operators (versus the "namespace" operators) cannot
14671 be used at the table level; they can only be used within a control
14674 Implemented the restriction on the Scope() operator where the
14675 target must already exist in the namespace at the time the
14676 operator is encountered (during ASL compilation). In other words,
14677 forward references are not allowed and Scope() cannot create a new
14678 object. This makes the iASL compiler compatible with other ACPI
14679 implementations and makes the Scope() implementation adhere to the
14680 ACPI specification.
14682 Fixed a problem where namepath optimization for the Alias operator
14683 was optimizing the wrong path (of the two namepaths.) This caused
14684 a "Missing alias link" error message.
14686 Fixed a problem where an "unknown reserved name" warning could be
14687 incorrectly generated for names like "_SB" when the trailing
14688 underscore is not used in the original ASL.
14690 Fixed a problem where the reserved name check did not handle
14691 NamePaths with multiple NameSegs correctly. The first nameseg of
14692 the NamePath was examined instead of the last NameSeg.
14695 ----------------------------------------
14697 02 October 2002. Summary of changes for this release.
14700 1) ACPI CA Core Subsystem version 20021002:
14702 Fixed a problem where a store/copy of a string to an existing
14703 string did not always set the string length properly in the String
14706 Fixed a reported problem with the ToString operator where the
14707 behavior was identical to the ToHexString operator instead of just
14708 simply converting a raw buffer to a string data type.
14710 Fixed a problem where CopyObject and the other "explicit"
14711 conversion operators were not updating the internal namespace node
14712 type as part of the store operation.
14714 Fixed a memory leak during implicit source operand conversion
14715 where the original object was not deleted if it was converted to a
14716 new object of a different type.
14718 Enhanced error messages for all problems associated with namespace
14719 lookups. Common procedure generates and prints the lookup name as
14720 well as the formatted status.
14722 Completed implementation of a new design for the Alias support
14723 within the namespace. The existing design did not handle the case
14724 where a new object was assigned to one of the two names due to the
14725 use of an explicit conversion operator, resulting in the two names
14726 pointing to two different objects. The new design simply points
14727 the Alias name to the original name node - not to the object.
14728 This results in a level of indirection that must be handled in the
14729 name resolution mechanism.
14731 Code and Data Size: Current core subsystem library sizes are shown
14732 below. These are the code and data sizes for the acpica.lib
14733 produced by the Microsoft Visual C++ 6.0 compiler, and these
14734 values do not include any ACPI driver or OSPM code. The debug
14735 version of the code includes the debug output trace mechanism and
14736 has a larger code and data size. Note that these values will vary
14737 depending on the efficiency of the compiler and the compiler
14738 options used during generation.
14741 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
14742 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
14744 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
14745 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
14750 Initialize thermal driver's timer before it is used. (Knut
14753 Allow handling negative celsius values. (Kochi Takayoshi)
14755 Fix thermal management and make trip points. R/W (Pavel Machek)
14757 Fix /proc/acpi/sleep. (P. Christeas)
14759 IA64 fixes. (David Mosberger)
14761 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14763 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14767 3) iASL Compiler/Disassembler
14769 Clarified some warning/error messages.
14772 ----------------------------------------
14773 18 September 2002. Summary of changes for this release.
14776 1) ACPI CA Core Subsystem version 20020918:
14778 Fixed a reported problem with reference chaining (via the Index()
14779 and RefOf() operators) in the ObjectType() and SizeOf() operators.
14780 The definition of these operators includes the dereferencing of
14781 all chained references to return information on the base object.
14783 Fixed a problem with stores to indexed package elements - the
14784 existing code would not complete the store if an "implicit
14785 conversion" was not performed. In other words, if the existing
14786 object (package element) was to be replaced completely, the code
14787 didn't handle this case.
14789 Relaxed typechecking on the ASL "Scope" operator to allow the
14790 target name to refer to an object of type Integer, String, or
14791 Buffer, in addition to the scoping object types (Device,
14792 predefined Scopes, Processor, PowerResource, and ThermalZone.)
14793 This allows existing AML code that has workarounds for a bug in
14794 Windows to function properly. A warning is issued, however. This
14795 affects both the AML interpreter and the iASL compiler. Below is
14796 an example of this type of ASL code:
14802 Fixed some reported problems with 64-bit integer support in the
14803 local implementation of C library functions (clib.c)
14808 Use ACPI fix map region instead of IOAPIC region, since it is
14809 undefined in non-SMP.
14811 Ensure that the SCI has the proper polarity and trigger, even on
14812 systems that do not have an interrupt override entry in the MADT.
14814 2.5 big driver reorganization (Pat Mochel)
14816 Use early table mapping code from acpitable.c (Andi Kleen)
14818 New blacklist entries (Andi Kleen)
14820 Blacklist improvements. Split blacklist code out into a separate
14821 file. Move checking the blacklist to very early. Previously, we
14822 would use ACPI tables, and then halfway through init, check the
14823 blacklist -- too late. Now, it's early enough to completely fall-
14827 3) iASL Compiler/Disassembler version 20020918:
14829 Fixed a problem where the typechecking code didn't know that an
14830 alias could point to a method. In other words, aliases were not
14831 being dereferenced during typechecking.
14834 ----------------------------------------
14835 29 August 2002. Summary of changes for this release.
14837 1) ACPI CA Core Subsystem Version 20020829:
14839 If the target of a Scope() operator already exists, it must be an
14840 object type that actually opens a scope -- such as a Device,
14841 Method, Scope, etc. This is a fatal runtime error. Similar error
14842 check has been added to the iASL compiler also.
14844 Tightened up the namespace load to disallow multiple names in the
14845 same scope. This previously was allowed if both objects were of
14846 the same type. (i.e., a lookup was the same as entering a new
14852 Ensure that the ACPI interrupt has the proper trigger and
14855 local_irq_disable is extraneous. (Matthew Wilcox)
14857 Make "acpi=off" actually do what it says, and not use the ACPI
14858 interpreter *or* the tables.
14860 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14864 3) iASL Compiler/Disassembler Version 20020829:
14866 Implemented namepath optimization for name declarations. For
14867 example, a declaration like "Method (\_SB_.ABCD)" would get
14868 optimized to "Method (ABCD)" if the declaration is within the
14869 \_SB_ scope. This optimization is in addition to the named
14870 reference path optimization first released in the previous
14871 version. This would seem to complete all possible optimizations
14872 for namepaths within the ASL/AML.
14874 If the target of a Scope() operator already exists, it must be an
14875 object type that actually opens a scope -- such as a Device,
14876 Method, Scope, etc.
14878 Implemented a check and warning for unreachable code in the same
14879 block below a Return() statement.
14881 Fixed a problem where the listing file was not generated if the
14882 compiler aborted if the maximum error count was exceeded (200).
14884 Fixed a problem where the typechecking of method return values was
14885 broken. This includes the check for a return value when the
14886 method is invoked as a TermArg (a return value is expected.)
14888 Fixed a reported problem where EOF conditions during a quoted
14889 string or comment caused a fault.
14892 ----------------------------------------
14893 15 August 2002. Summary of changes for this release.
14895 1) ACPI CA Core Subsystem Version 20020815:
14897 Fixed a reported problem where a Store to a method argument that
14898 contains a reference did not perform the indirect store correctly.
14899 This problem was created during the conversion to the new
14900 reference object model - the indirect store to a method argument
14901 code was not updated to reflect the new model.
14903 Reworked the ACPI mode change code to better conform to ACPI 2.0,
14904 handle corner cases, and improve code legibility (Kochi Takayoshi)
14906 Fixed a problem with the pathname parsing for the carat (^)
14907 prefix. The heavy use of the carat operator by the new namepath
14908 optimization in the iASL compiler uncovered a problem with the AML
14909 interpreter handling of this prefix. In the case where one or
14910 more carats precede a single nameseg, the nameseg was treated as
14911 standalone and the search rule (to root) was inadvertently
14912 applied. This could cause both the iASL compiler and the
14913 interpreter to find the wrong object or to miss the error that
14914 should occur if the object does not exist at that exact pathname.
14916 Found and fixed the problem where the HP Pavilion DSDT would not
14917 load. This was a relatively minor tweak to the table loading code
14918 (a problem caused by the unexpected encounter with a method
14919 invocation not within a control method), but it does not solve the
14920 overall issue of the execution of AML code at the table level.
14921 This investigation is still ongoing.
14923 Code and Data Size: Current core subsystem library sizes are shown
14924 below. These are the code and data sizes for the acpica.lib
14925 produced by the Microsoft Visual C++ 6.0 compiler, and these
14926 values do not include any ACPI driver or OSPM code. The debug
14927 version of the code includes the debug output trace mechanism and
14928 has a larger code and data size. Note that these values will vary
14929 depending on the efficiency of the compiler and the compiler
14930 options used during generation.
14933 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
14934 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
14936 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
14937 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
14942 Remove redundant slab.h include (Brad Hards)
14944 Fix several bugs in thermal.c (Herbert Nachtnebel)
14946 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14948 Change acpi_system_suspend to use updated irq functions (Pavel
14951 Export acpi_get_firmware_table (Matthew Wilcox)
14953 Use proper root proc entry for ACPI (Kochi Takayoshi)
14955 Fix early-boot table parsing (Bjorn Helgaas)
14958 3) iASL Compiler/Disassembler
14960 Reworked the compiler options to make them more consistent and to
14961 use two-letter options where appropriate. We were running out of
14962 sensible letters. This may break some makefiles, so check the
14963 current options list by invoking the compiler with no parameters.
14965 Completed the design and implementation of the ASL namepath
14966 optimization option for the compiler. This option optimizes all
14967 references to named objects to the shortest possible path. The
14968 first attempt tries to utilize a single nameseg (4 characters) and
14969 the "search-to-root" algorithm used by the interpreter. If that
14970 cannot be used (because either the name is not in the search path
14971 or there is a conflict with another object with the same name),
14972 the pathname is optimized using the carat prefix (usually a
14973 shorter string than specifying the entire path from the root.)
14975 Implemented support to obtain the DSDT from the Windows registry
14976 (when the disassembly option is specified with no input file).
14977 Added this code as the implementation for AcpiOsTableOverride in
14978 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
14979 utility) to scan memory for the DSDT to the AcpiOsTableOverride
14980 function in the DOS OSL to make the disassembler truly OS
14983 Implemented a new option to disassemble and compile in one step.
14984 When used without an input filename, this option will grab the
14985 DSDT from the local machine, disassemble it, and compile it in one
14988 Added a warning message for invalid escapes (a backslash followed
14989 by any character other than the allowable escapes). This catches
14990 the quoted string error "\_SB_" (which should be "\\_SB_" ).
14992 Also, there are numerous instances in the ACPI specification where
14995 Added a compiler option to disable all optimizations. This is
14996 basically the "compatibility mode" because by using this option,
14997 the AML code will come out exactly the same as other ASL
15000 Added error messages for incorrectly ordered dependent resource
15001 functions. This includes: missing EndDependentFn macro at end of
15002 dependent resource list, nested dependent function macros (both
15003 start and end), and missing StartDependentFn macro. These are
15004 common errors that should be caught at compile time.
15006 Implemented _OSI support for the disassembler and compiler. _OSI
15007 must be included in the namespace for proper disassembly (because
15008 the disassembler must know the number of arguments.)
15010 Added an "optimization" message type that is optional (off by
15011 default). This message is used for all optimizations - including
15012 constant folding, integer optimization, and namepath optimization.
15014 ----------------------------------------
15015 25 July 2002. Summary of changes for this release.
15018 1) ACPI CA Core Subsystem Version 20020725:
15020 The AML Disassembler has been enhanced to produce compilable ASL
15021 code and has been integrated into the iASL compiler (see below) as
15022 well as the single-step disassembly for the AML debugger and the
15023 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
15024 resource templates and macros are fully supported. The
15025 disassembler has been tested on over 30 different AML files,
15026 producing identical AML when the resulting disassembled ASL file
15027 is recompiled with the same ASL compiler.
15029 Modified the Resource Manager to allow zero interrupts and zero
15030 dma channels during the GetCurrentResources call. This was
15031 causing problems on some platforms.
15033 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15034 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15037 Code and Data Size: Current core subsystem library sizes are shown
15038 below. These are the code and data sizes for the acpica.lib
15039 produced by the Microsoft Visual C++ 6.0 compiler, and these
15040 values do not include any ACPI driver or OSPM code. The debug
15041 version of the code includes the debug output trace mechanism and
15042 has a larger code and data size. Note that these values will vary
15043 depending on the efficiency of the compiler and the compiler
15044 options used during generation.
15047 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
15048 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
15050 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
15051 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
15056 Fixed a panic in the EC driver (Dominik Brodowski)
15058 Implemented checksum of the R/XSDT itself during Linux table scan
15064 The AML disassembler is integrated into the compiler. The "-d"
15065 option invokes the disassembler to completely disassemble an
15066 input AML file, producing as output a text ASL file with the
15067 extension ".dsl" (to avoid name collisions with existing .asl
15068 source files.) A future enhancement will allow the disassembler
15069 to obtain the BIOS DSDT from the registry under Windows.
15071 Fixed a problem with the VendorShort and VendorLong resource
15072 descriptors where an invalid AML sequence was created.
15074 Implemented a fix for BufferData term in the ASL parser. It was
15075 inadvertently defined twice, allowing invalid syntax to pass and
15076 causing reduction conflicts.
15078 Fixed a problem where the Ones opcode could get converted to a
15079 value of zero if "Ones" was used where a byte, word or dword value
15080 was expected. The 64-bit value is now truncated to the correct
15081 size with the correct value.
15085 ----------------------------------------
15086 02 July 2002. Summary of changes for this release.
15089 1) ACPI CA Core Subsystem Version 20020702:
15091 The Table Manager code has been restructured to add several new
15092 features. Tables that are not required by the core subsystem
15093 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15094 validated in any way and are returned from AcpiGetFirmwareTable if
15095 requested. The AcpiOsTableOverride interface is now called for
15096 each table that is loaded by the subsystem in order to allow the
15097 host to override any table it chooses. Previously, only the DSDT
15098 could be overridden. Added one new files, tbrsdt.c and
15101 Fixed a problem with the conversion of internal package objects to
15102 external objects (when a package is returned from a control
15103 method.) The return buffer length was set to zero instead of the
15104 proper length of the package object.
15106 Fixed a reported problem with the use of the RefOf and DeRefOf
15107 operators when passing reference arguments to control methods. A
15108 new type of Reference object is used internally for references
15109 produced by the RefOf operator.
15111 Added additional error messages in the Resource Manager to explain
15112 AE_BAD_DATA errors when they occur during resource parsing.
15114 Split the AcpiEnableSubsystem into two primitives to enable a
15115 finer granularity initialization sequence. These two calls should
15116 be called in this order: AcpiEnableSubsystem (flags),
15117 AcpiInitializeObjects (flags). The flags parameter remains the
15123 Updated the ACPI utilities module to understand the new style of
15124 fully resolved package objects that are now returned from the core
15125 subsystem. This eliminates errors of the form:
15127 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15128 acpi_utils-0430 [145] acpi_evaluate_reference:
15129 Invalid element in package (not a device reference)
15131 The method evaluation utility uses the new buffer allocation
15132 scheme instead of calling AcpiEvaluate Object twice.
15134 Added support for ECDT. This allows the use of the Embedded
15136 Controller before the namespace has been fully initialized, which
15137 is necessary for ACPI 2.0 support, and for some laptops to
15138 initialize properly. (Laptops using ECDT are still rare, so only
15139 limited testing was performed of the added functionality.)
15141 Fixed memory leaks in the EC driver.
15143 Eliminated a brittle code structure in acpi_bus_init().
15145 Eliminated the acpi_evaluate() helper function in utils.c. It is
15146 no longer needed since acpi_evaluate_object can optionally
15147 allocate memory for the return object.
15149 Implemented fix for keyboard hang when getting battery readings on
15150 some systems (Stephen White)
15152 PCI IRQ routing update (Dominik Brodowski)
15154 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15157 ----------------------------------------
15158 11 June 2002. Summary of changes for this release.
15161 1) ACPI CA Core Subsystem Version 20020611:
15163 Fixed a reported problem where constants such as Zero and One
15164 appearing within _PRT packages were not handled correctly within
15165 the resource manager code. Originally reported against the ASL
15166 compiler because the code generator now optimizes integers to
15167 their minimal AML representation (i.e. AML constants if possible.)
15168 The _PRT code now handles all AML constant opcodes correctly
15169 (Zero, One, Ones, Revision).
15171 Fixed a problem with the Concatenate operator in the AML
15172 interpreter where a buffer result object was incorrectly marked as
15173 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15175 All package sub-objects are now fully resolved before they are
15176 returned from the external ACPI interfaces. This means that name
15177 strings are resolved to object handles, and constant operators
15178 (Zero, One, Ones, Revision) are resolved to Integers.
15180 Implemented immediate resolution of the AML Constant opcodes
15181 (Zero, One, Ones, Revision) to Integer objects upon detection
15182 within the AML stream. This has simplified and reduced the
15183 generated code size of the subsystem by eliminating about 10
15184 switch statements for these constants (which previously were
15185 contained in Reference objects.) The complicating issues are that
15186 the Zero opcode is used as a "placeholder" for unspecified
15187 optional target operands and stores to constants are defined to be
15190 Code and Data Size: Current core subsystem library sizes are shown
15191 below. These are the code and data sizes for the acpica.lib
15192 produced by the Microsoft Visual C++ 6.0 compiler, and these
15193 values do not include any ACPI driver or OSPM code. The debug
15194 version of the code includes the debug output trace mechanism and
15195 has a larger code and data size. Note that these values will vary
15196 depending on the efficiency of the compiler and the compiler
15197 options used during generation.
15200 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
15201 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
15203 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
15204 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
15210 Added preliminary support for obtaining _TRA data for PCI root
15211 bridges (Bjorn Helgaas).
15214 3) iASL Compiler Version X2046:
15216 Fixed a problem where the "_DDN" reserved name was defined to be a
15217 control method with one argument. There are no arguments, and
15218 _DDN does not have to be a control method.
15220 Fixed a problem with the Linux version of the compiler where the
15221 source lines printed with error messages were the wrong lines.
15222 This turned out to be the "LF versus CR/LF" difference between
15223 Windows and Unix. This appears to be the longstanding issue
15224 concerning listing output and error messages.
15226 Fixed a problem with the Linux version of compiler where opcode
15227 names within error messages were wrong. This was caused by a
15228 slight difference in the output of the Flex tool on Linux versus
15231 Fixed a problem with the Linux compiler where the hex output files
15232 contained some garbage data caused by an internal buffer overrun.
15235 ----------------------------------------
15236 17 May 2002. Summary of changes for this release.
15239 1) ACPI CA Core Subsystem Version 20020517:
15241 Implemented a workaround to an BIOS bug discovered on the HP
15242 OmniBook where the FADT revision number and the table size are
15243 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
15244 behavior is to fallback to using only the ACPI 1.0 fields of the
15245 FADT if the table is too small to be a ACPI 2.0 table as claimed
15246 by the revision number. Although this is a BIOS bug, this is a
15247 case where the workaround is simple enough and with no side
15248 effects, so it seemed prudent to add it. A warning message is
15251 Implemented minimum size checks for the fixed-length ACPI tables -
15252 - the FADT and FACS, as well as consistency checks between the
15253 revision number and the table size.
15255 Fixed a reported problem in the table override support where the
15256 new table pointer was incorrectly treated as a physical address
15257 instead of a logical address.
15259 Eliminated the use of the AE_AML_ERROR exception and replaced it
15260 with more descriptive codes.
15262 Fixed a problem where an exception would occur if an ASL Field was
15263 defined with no named Field Units underneath it (used by some
15266 Code and Data Size: Current core subsystem library sizes are shown
15267 below. These are the code and data sizes for the acpica.lib
15268 produced by the Microsoft Visual C++ 6.0 compiler, and these
15269 values do not include any ACPI driver or OSPM code. The debug
15270 version of the code includes the debug output trace mechanism and
15271 has a larger code and data size. Note that these values will vary
15272 depending on the efficiency of the compiler and the compiler
15273 options used during generation.
15276 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
15277 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
15279 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
15280 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
15286 Much work done on ACPI init (MADT and PCI IRQ routing support).
15287 (Paul D. and Dominik Brodowski)
15289 Fix PCI IRQ-related panic on boot (Sam Revitch)
15291 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15293 Fix "MHz" typo (Dominik Brodowski)
15295 Fix RTC year 2000 issue (Dominik Brodowski)
15297 Preclude multiple button proc entries (Eric Brunet)
15299 Moved arch-specific code out of include/platform/aclinux.h
15301 3) iASL Compiler Version X2044:
15303 Implemented error checking for the string used in the EISAID macro
15304 (Usually used in the definition of the _HID object.) The code now
15305 strictly enforces the PnP format - exactly 7 characters, 3
15306 uppercase letters and 4 hex digits.
15308 If a raw string is used in the definition of the _HID object
15309 (instead of the EISAID macro), the string must contain all
15310 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15313 Implemented checking for invalid use of ACPI reserved names for
15314 most of the name creation operators (Name, Device, Event, Mutex,
15315 OperationRegion, PowerResource, Processor, and ThermalZone.)
15316 Previously, this check was only performed for control methods.
15318 Implemented an additional check on the Name operator to emit an
15319 error if a reserved name that must be implemented in ASL as a
15320 control method is used. We know that a reserved name must be a
15321 method if it is defined with input arguments.
15323 The warning emitted when a namespace object reference is not found
15324 during the cross reference phase has been changed into an error.
15325 The "External" directive should be used for names defined in other
15329 4) Tools and Utilities
15331 The 16-bit tools (adump16 and aexec16) have been regenerated and
15334 Fixed a problem with the output of both acpidump and adump16 where
15335 the indentation of closing parentheses and brackets was not
15337 aligned properly with the parent block.
15340 ----------------------------------------
15341 03 May 2002. Summary of changes for this release.
15344 1) ACPI CA Core Subsystem Version 20020503:
15346 Added support a new OSL interface that allows the host operating
15348 system software to override the DSDT found in the firmware -
15349 AcpiOsTableOverride. With this interface, the OSL can examine the
15350 version of the firmware DSDT and replace it with a different one
15353 Added new external interfaces for accessing ACPI registers from
15354 device drivers and other system software - AcpiGetRegister and
15355 AcpiSetRegister. This was simply an externalization of the
15356 existing AcpiHwBitRegister interfaces.
15358 Fixed a regression introduced in the previous build where the
15359 ASL/AML CreateField operator always returned an error,
15360 "destination must be a NS Node".
15362 Extended the maximum time (before failure) to successfully enable
15363 ACPI mode to 3 seconds.
15365 Code and Data Size: Current core subsystem library sizes are shown
15366 below. These are the code and data sizes for the acpica.lib
15367 produced by the Microsoft Visual C++ 6.0 compiler, and these
15368 values do not include any ACPI driver or OSPM code. The debug
15369 version of the code includes the debug output trace mechanism and
15370 has a larger code and data size. Note that these values will vary
15371 depending on the efficiency of the compiler and the compiler
15372 options used during generation.
15375 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
15376 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
15378 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
15379 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
15384 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15385 free. While 3 out of 4 of our in-house systems work fine, the last
15386 one still hangs when testing the LAPIC timer.
15388 Renamed many files in 2.5 kernel release to omit "acpi_" from the
15391 Added warning on boot for Presario 711FR.
15393 Sleep improvements (Pavel Machek)
15395 ACPI can now be built without CONFIG_PCI enabled.
15397 IA64: Fixed memory map functions (JI Lee)
15400 3) iASL Compiler Version X2043:
15402 Added support to allow the compiler to be integrated into the MS
15403 VC++ development environment for one-button compilation of single
15404 files or entire projects -- with error-to-source-line mapping.
15406 Implemented support for compile-time constant folding for the
15407 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15408 specification. This allows the ASL writer to use expressions
15409 instead of Integer/Buffer/String constants in terms that must
15410 evaluate to constants at compile time and will also simplify the
15411 emitted AML in any such sub-expressions that can be folded
15412 (evaluated at compile-time.) This increases the size of the
15413 compiler significantly because a portion of the ACPI CA AML
15414 interpreter is included within the compiler in order to pre-
15415 evaluate constant expressions.
15418 Fixed a problem with the "Unicode" ASL macro that caused the
15419 compiler to fault. (This macro is used in conjunction with the
15420 _STR reserved name.)
15422 Implemented an AML opcode optimization to use the Zero, One, and
15423 Ones opcodes where possible to further reduce the size of integer
15424 constants and thus reduce the overall size of the generated AML
15427 Implemented error checking for new reserved terms for ACPI version
15430 Implemented the -qr option to display the current list of ACPI
15431 reserved names known to the compiler.
15433 Implemented the -qc option to display the current list of ASL
15434 operators that are allowed within constant expressions and can
15435 therefore be folded at compile time if the operands are constants.
15440 Updated the Programmer's Reference for new interfaces, data types,
15441 and memory allocation model options.
15443 Updated the iASL Compiler User Reference to apply new format and
15444 add information about new features and options.
15446 ----------------------------------------
15447 19 April 2002. Summary of changes for this release.
15449 1) ACPI CA Core Subsystem Version 20020419:
15451 The source code base for the Core Subsystem has been completely
15452 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15453 versions. The Lint option files used are included in the
15454 /acpi/generate/lint directory.
15456 Implemented enhanced status/error checking across the entire
15457 Hardware manager subsystem. Any hardware errors (reported from
15458 the OSL) are now bubbled up and will abort a running control
15462 Fixed a problem where the per-ACPI-table integer width (32 or 64)
15463 was stored only with control method nodes, causing a fault when
15464 non-control method code was executed during table loading. The
15465 solution implemented uses a global variable to indicate table
15466 width across the entire ACPI subsystem. Therefore, ACPI CA does
15467 not support mixed integer widths across different ACPI tables
15470 Fixed a problem where NULL extended fields (X fields) in an ACPI
15471 2.0 ACPI FADT caused the table load to fail. Although the
15472 existing ACPI specification is a bit fuzzy on this topic, the new
15473 behavior is to fall back on a ACPI 1.0 field if the corresponding
15474 ACPI 2.0 X field is zero (even though the table revision indicates
15475 a full ACPI 2.0 table.) The ACPI specification will be updated to
15476 clarify this issue.
15478 Fixed a problem with the SystemMemory operation region handler
15479 where memory was always accessed byte-wise even if the AML-
15480 specified access width was larger than a byte. This caused
15481 problems on systems with memory-mapped I/O. Memory is now
15482 accessed with the width specified. On systems that do not support
15483 non-aligned transfers, a check is made to guarantee proper address
15484 alignment before proceeding in order to avoid an AML-caused
15485 alignment fault within the kernel.
15488 Fixed a problem with the ExtendedIrq resource where only one byte
15489 of the 4-byte Irq field was extracted.
15491 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
15492 function was out of date and required a rewrite.
15494 Code and Data Size: Current core subsystem library sizes are shown
15495 below. These are the code and data sizes for the acpica.lib
15496 produced by the Microsoft Visual C++ 6.0 compiler, and these
15497 values do not include any ACPI driver or OSPM code. The debug
15498 version of the code includes the debug output trace mechanism and
15499 has a larger code and data size. Note that these values will vary
15500 depending on the efficiency of the compiler and the compiler
15501 options used during generation.
15504 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
15505 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
15507 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
15508 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
15513 PCI IRQ routing fixes (Dominik Brodowski)
15516 3) iASL Compiler Version X2042:
15518 Implemented an additional compile-time error check for a field
15519 unit whose size + minimum access width would cause a run-time
15520 access beyond the end-of-region. Previously, only the field size
15521 itself was checked.
15523 The Core subsystem and iASL compiler now share a common parse
15524 object in preparation for compile-time evaluation of the type
15525 3/4/5 ASL operators.
15528 ----------------------------------------
15529 Summary of changes for this release: 03_29_02
15531 1) ACPI CA Core Subsystem Version 20020329:
15533 Implemented support for late evaluation of TermArg operands to
15534 Buffer and Package objects. This allows complex expressions to be
15535 used in the declarations of these object types.
15537 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
15538 1.0, if the field was larger than 32 bits, it was returned as a
15539 buffer - otherwise it was returned as an integer. In ACPI 2.0,
15540 the field is returned as a buffer only if the field is larger than
15541 64 bits. The TableRevision is now considered when making this
15542 conversion to avoid incompatibility with existing ASL code.
15544 Implemented logical addressing for AcpiOsGetRootPointer. This
15545 allows an RSDP with either a logical or physical address. With
15546 this support, the host OS can now override all ACPI tables with
15547 one logical RSDP. Includes implementation of "typed" pointer
15548 support to allow a common data type for both physical and logical
15549 pointers internally. This required a change to the
15550 AcpiOsGetRootPointer interface.
15552 Implemented the use of ACPI 2.0 Generic Address Structures for all
15553 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
15554 mapped I/O for these ACPI features.
15556 Initialization now ignores not only non-required tables (All
15557 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15558 not validate the table headers of unrecognized tables.
15560 Fixed a problem where a notify handler could only be
15561 installed/removed on an object of type Device. All "notify"
15563 objects are now supported -- Devices, Processor, Power, and
15566 Removed most verbosity from the ACPI_DB_INFO debug level. Only
15567 critical information is returned when this debug level is enabled.
15569 Code and Data Size: Current core subsystem library sizes are shown
15570 below. These are the code and data sizes for the acpica.lib
15571 produced by the Microsoft Visual C++ 6.0 compiler, and these
15572 values do not include any ACPI driver or OSPM code. The debug
15573 version of the code includes the debug output trace mechanism and
15574 has a larger code and data size. Note that these values will vary
15575 depending on the efficiency of the compiler and the compiler
15576 options used during generation.
15579 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
15580 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
15582 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
15583 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
15588 The processor driver (acpi_processor.c) now fully supports ACPI
15589 2.0-based processor performance control (e.g. Intel(R)
15590 SpeedStep(TM) technology) Note that older laptops that only have
15591 the Intel "applet" interface are not supported through this. The
15592 'limit' and 'performance' interface (/proc) are fully functional.
15593 [Note that basic policy for controlling performance state
15594 transitions will be included in the next version of ospmd.] The
15595 idle handler was modified to more aggressively use C2, and PIIX4
15596 errata handling underwent a complete overhaul (big thanks to
15597 Dominik Brodowski).
15599 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15600 based devices in the ACPI namespace are now dynamically bound
15601 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15602 This allows, among other things, ACPI to resolve bus numbers for
15603 subordinate PCI bridges.
15605 Enhanced PCI IRQ routing to get the proper bus number for _PRT
15606 entries defined underneath PCI bridges.
15608 Added IBM 600E to bad bios list due to invalid _ADR value for
15609 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15611 In the process of adding full MADT support (e.g. IOAPIC) for IA32
15612 (acpi.c, mpparse.c) -- stay tuned.
15614 Added back visual differentiation between fixed-feature and
15615 control-method buttons in dmesg. Buttons are also subtyped (e.g.
15616 button/power/PWRF) to simplify button identification.
15618 We no longer use -Wno-unused when compiling debug. Please ignore
15619 any "_THIS_MODULE defined but not used" messages.
15621 Can now shut down the system using "magic sysrq" key.
15624 3) iASL Compiler version 2041:
15626 Fixed a problem where conversion errors for hex/octal/decimal
15627 constants were not reported.
15629 Implemented a fix for the General Register template Address field.
15630 This field was 8 bits when it should be 64.
15632 Fixed a problem where errors/warnings were no longer being emitted
15633 within the listing output file.
15635 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15636 exactly 4 characters, alphanumeric only.
15641 ----------------------------------------
15642 Summary of changes for this release: 03_08_02
15645 1) ACPI CA Core Subsystem Version 20020308:
15647 Fixed a problem with AML Fields where the use of the "AccessAny"
15648 keyword could cause an interpreter error due to attempting to read
15649 or write beyond the end of the parent Operation Region.
15651 Fixed a problem in the SystemMemory Operation Region handler where
15652 an attempt was made to map memory beyond the end of the region.
15653 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15654 errors on some Linux systems.
15656 Fixed a problem where the interpreter/namespace "search to root"
15657 algorithm was not functioning for some object types. Relaxed the
15658 internal restriction on the search to allow upsearches for all
15659 external object types as well as most internal types.
15664 We now use safe_halt() macro versus individual calls to sti | hlt.
15666 Writing to the processor limit interface should now work. "echo 1"
15667 will increase the limit, 2 will decrease, and 0 will reset to the
15674 Fixed segfault on Linux version.
15677 ----------------------------------------
15678 Summary of changes for this release: 02_25_02
15680 1) ACPI CA Core Subsystem:
15683 Fixed a problem where the GPE bit masks were not initialized
15684 properly, causing erratic GPE behavior.
15686 Implemented limited support for multiple calling conventions. The
15687 code can be generated with either the VPL (variable parameter
15688 list, or "C") convention, or the FPL (fixed parameter list, or
15689 "Pascal") convention. The core subsystem is about 3.4% smaller
15690 when generated with FPL.
15695 Re-add some /proc/acpi/event functionality that was lost during
15698 Resolved issue with /proc events for fixed-feature buttons showing
15699 up as the system device.
15701 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15703 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15705 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15707 Fixed limit interface & usage to fix bugs with passive cooling
15710 Restructured PRT support.
15713 ----------------------------------------
15714 Summary of changes for this label: 02_14_02
15717 1) ACPI CA Core Subsystem:
15719 Implemented support in AcpiLoadTable to allow loading of FACS and
15722 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15723 been removed. All 64-bit platforms should be migrated to the ACPI
15724 2.0 tables. The actbl71.h header has been removed from the source
15727 All C macros defined within the subsystem have been prefixed with
15728 "ACPI_" to avoid collision with other system include files.
15730 Removed the return value for the two AcpiOsPrint interfaces, since
15731 it is never used and causes lint warnings for ignoring the return
15734 Added error checking to all internal mutex acquire and release
15735 calls. Although a failure from one of these interfaces is
15736 probably a fatal system error, these checks will cause the
15737 immediate abort of the currently executing method or interface.
15739 Fixed a problem where the AcpiSetCurrentResources interface could
15740 fault. This was a side effect of the deployment of the new memory
15743 Fixed a couple of problems with the Global Lock support introduced
15744 in the last major build. The "common" (1.0/2.0) internal FACS was
15745 being overwritten with the FACS signature and clobbering the
15746 Global Lock pointer. Also, the actual firmware FACS was being
15747 unmapped after construction of the "common" FACS, preventing
15748 access to the actual Global Lock field within it. The "common"
15749 internal FACS is no longer installed as an actual ACPI table; it
15750 is used simply as a global.
15752 Code and Data Size: Current core subsystem library sizes are shown
15753 below. These are the code and data sizes for the acpica.lib
15754 produced by the Microsoft Visual C++ 6.0 compiler, and these
15755 values do not include any ACPI driver or OSPM code. The debug
15756 version of the code includes the debug output trace mechanism and
15757 has a larger code and data size. Note that these values will vary
15758 depending on the efficiency of the compiler and the compiler
15759 options used during generation.
15761 Previous Release (02_07_01)
15762 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
15763 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
15765 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
15766 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
15771 Updated Linux-specific code for core macro and OSL interface
15772 changes described above.
15774 Improved /proc/acpi/event. It now can be opened only once and has
15775 proper poll functionality.
15777 Fixed and restructured power management (acpi_bus).
15779 Only create /proc "view by type" when devices of that class exist.
15781 Fixed "charging/discharging" bug (and others) in acpi_battery.
15783 Improved thermal zone code.
15786 3) ASL Compiler, version X2039:
15789 Implemented the new compiler restriction on ASL String hex/octal
15790 escapes to non-null, ASCII values. An error results if an invalid
15791 value is used. (This will require an ACPI 2.0 specification
15794 AML object labels that are output to the optional C and ASM source
15795 are now prefixed with both the ACPI table signature and table ID
15796 to help guarantee uniqueness within a large BIOS project.
15799 ----------------------------------------
15800 Summary of changes for this label: 02_01_02
15802 1) ACPI CA Core Subsystem:
15804 ACPI 2.0 support is complete in the entire Core Subsystem and the
15805 ASL compiler. All new ACPI 2.0 operators are implemented and all
15806 other changes for ACPI 2.0 support are complete. With
15807 simultaneous code and data optimizations throughout the subsystem,
15808 ACPI 2.0 support has been implemented with almost no additional
15809 cost in terms of code and data size.
15811 Implemented a new mechanism for allocation of return buffers. If
15812 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15813 be allocated on behalf of the caller. Consolidated all return
15814 buffer validation and allocation to a common procedure. Return
15815 buffers will be allocated via the primary OSL allocation interface
15816 since it appears that a separate pool is not needed by most users.
15817 If a separate pool is required for these buffers, the caller can
15818 still use the original mechanism and pre-allocate the buffer(s).
15820 Implemented support for string operands within the DerefOf
15823 Restructured the Hardware and Event managers to be table driven,
15824 simplifying the source code and reducing the amount of generated
15827 Split the common read/write low-level ACPI register bitfield
15828 procedure into a separate read and write, simplifying the code
15831 Obsoleted the AcpiOsCallocate OSL interface. This interface was
15832 used only a handful of times and didn't have enough critical mass
15833 for a separate interface. Replaced with a common calloc procedure
15836 Fixed a reported problem with the GPE number mapping mechanism
15837 that allows GPE1 numbers to be non-contiguous with GPE0.
15838 Reorganized the GPE information and shrunk a large array that was
15839 originally large enough to hold info for all possible GPEs (256)
15840 to simply large enough to hold all GPEs up to the largest GPE
15841 number on the machine.
15843 Fixed a reported problem with resource structure alignment on 64-
15846 Changed the AcpiEnableEvent and AcpiDisableEvent external
15847 interfaces to not require any flags for the common case of
15848 enabling/disabling a GPE.
15850 Implemented support to allow a "Notify" on a Processor object.
15852 Most TBDs in comments within the source code have been resolved
15856 Fixed a problem in the interpreter where a standalone parent
15857 prefix (^) was not handled correctly in the interpreter and
15860 Removed obsolete and unnecessary GPE save/restore code.
15862 Implemented Field support in the ASL Load operator. This allows a
15863 table to be loaded from a named field, in addition to loading a
15864 table directly from an Operation Region.
15866 Implemented timeout and handle support in the external Global Lock
15869 Fixed a problem in the AcpiDump utility where pathnames were no
15870 longer being generated correctly during the dump of named objects.
15872 Modified the AML debugger to give a full display of if/while
15873 predicates instead of just one AML opcode at a time. (The
15874 predicate can have several nested ASL statements.) The old method
15875 was confusing during single stepping.
15877 Code and Data Size: Current core subsystem library sizes are shown
15878 below. These are the code and data sizes for the acpica.lib
15879 produced by the Microsoft Visual C++ 6.0 compiler, and these
15880 values do not include any ACPI driver or OSPM code. The debug
15881 version of the code includes the debug output trace mechanism and
15882 has a larger code and data size. Note that these values will vary
15883 depending on the efficiency of the compiler and the compiler
15884 options used during generation.
15886 Previous Release (12_18_01)
15887 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
15888 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
15890 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
15891 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
15895 Implemented fix for PIIX reverse throttling errata (Processor
15898 Added new Limit interface (Processor and Thermal drivers)
15900 New thermal policy (Thermal driver)
15902 Many updates to /proc
15904 Battery "low" event support (Battery driver)
15906 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15908 IA32 - IA64 initialization unification, no longer experimental
15910 Menuconfig options redesigned
15912 3) ASL Compiler, version X2037:
15914 Implemented several new output features to simplify integration of
15915 AML code into firmware: 1) Output the AML in C source code with
15916 labels for each named ASL object. The original ASL source code
15917 is interleaved as C comments. 2) Output the AML in ASM source code
15918 with labels and interleaved ASL source. 3) Output the AML in
15919 raw hex table form, in either C or ASM.
15921 Implemented support for optional string parameters to the
15922 LoadTable operator.
15924 Completed support for embedded escape sequences within string
15925 literals. The compiler now supports all single character escapes
15926 as well as the Octal and Hex escapes. Note: the insertion of a
15927 null byte into a string literal (via the hex/octal escape) causes
15928 the string to be immediately terminated. A warning is issued.
15930 Fixed a problem where incorrect AML was generated for the case
15931 where an ASL namepath consists of a single parent prefix (
15933 ) with no trailing name segments.
15935 The compiler has been successfully generated with a 64-bit C
15941 ----------------------------------------
15942 Summary of changes for this label: 12_18_01
15946 Enhanced blacklist with reason and severity fields. Any table's
15947 signature may now be used to identify a blacklisted system.
15949 Call _PIC control method to inform the firmware which interrupt
15950 model the OS is using. Turn on any disabled link devices.
15952 Cleaned up busmgr /proc error handling (Andreas Dilger)
15954 2) ACPI CA Core Subsystem:
15956 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15959 Completed implementation of the ACPI 2.0 "Continue",
15960 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15961 operators. All new ACPI 2.0 operators are now implemented in both
15962 the ASL compiler and the AML interpreter. The only remaining ACPI
15963 2.0 task is support for the String data type in the DerefOf
15964 operator. Fixed a problem with AcquireMutex where the status code
15965 was lost if the caller had to actually wait for the mutex.
15967 Increased the maximum ASL Field size from 64K bits to 4G bits.
15969 Completed implementation of the external Global Lock interfaces --
15970 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
15971 Handler parameters were added.
15973 Completed another pass at removing warnings and issues when
15974 compiling with 64-bit compilers. The code now compiles cleanly
15975 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
15976 add and subtract (diff) macros have changed considerably.
15979 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
15980 64-bit platforms, 32-bits on all others. This type is used
15981 wherever memory allocation and/or the C sizeof() operator is used,
15982 and affects the OSL memory allocation interfaces AcpiOsAllocate
15983 and AcpiOsCallocate.
15985 Implemented sticky user breakpoints in the AML debugger.
15987 Code and Data Size: Current core subsystem library sizes are shown
15988 below. These are the code and data sizes for the acpica.lib
15989 produced by the Microsoft Visual C++ 6.0 compiler, and these
15990 values do not include any ACPI driver or OSPM code. The debug
15991 version of the code includes the debug output trace mechanism and
15992 has a larger code and data size. Note that these values will vary
15993 depending on the efficiency of the compiler and the compiler
15994 options used during generation.
15996 Previous Release (12_05_01)
15997 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15998 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
16000 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
16001 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
16003 3) ASL Compiler, version X2034:
16005 Now checks for (and generates an error if detected) the use of a
16006 Break or Continue statement without an enclosing While statement.
16009 Successfully generated the compiler with the Intel 64-bit C
16012 ----------------------------------------
16013 Summary of changes for this label: 12_05_01
16015 1) ACPI CA Core Subsystem:
16017 The ACPI 2.0 CopyObject operator is fully implemented. This
16018 operator creates a new copy of an object (and is also used to
16019 bypass the "implicit conversion" mechanism of the Store operator.)
16021 The ACPI 2.0 semantics for the SizeOf operator are fully
16022 implemented. The change is that performing a SizeOf on a
16023 reference object causes an automatic dereference of the object to
16024 tha actual value before the size is evaluated. This behavior was
16025 undefined in ACPI 1.0.
16027 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16028 have been implemented. The interrupt polarity and mode are now
16031 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16032 appearing in Package objects were not properly converted to
16033 integers when the internal Package was converted to an external
16034 object (via the AcpiEvaluateObject interface.)
16036 Fixed a problem with the namespace object deletion mechanism for
16037 objects created by control methods. There were two parts to this
16038 problem: 1) Objects created during the initialization phase method
16039 parse were not being deleted, and 2) The object owner ID mechanism
16040 to track objects was broken.
16042 Fixed a problem where the use of the ASL Scope operator within a
16043 control method would result in an invalid opcode exception.
16045 Fixed a problem introduced in the previous label where the buffer
16046 length required for the _PRT structure was not being returned
16049 Code and Data Size: Current core subsystem library sizes are shown
16050 below. These are the code and data sizes for the acpica.lib
16051 produced by the Microsoft Visual C++ 6.0 compiler, and these
16052 values do not include any ACPI driver or OSPM code. The debug
16053 version of the code includes the debug output trace mechanism and
16054 has a larger code and data size. Note that these values will vary
16055 depending on the efficiency of the compiler and the compiler
16056 options used during generation.
16058 Previous Release (11_20_01)
16059 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
16060 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
16063 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
16064 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
16068 Updated all files to apply cleanly against 2.4.16.
16070 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16071 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
16072 version supports both static and dyanmic PRT entries, but dynamic
16073 entries are treated as if they were static (not yet
16074 reconfigurable). Architecture- specific code to use this data is
16075 absent on IA32 but should be available shortly.
16077 Changed the initialization sequence to start the ACPI interpreter
16078 (acpi_init) prior to initialization of the PCI driver (pci_init)
16079 in init/main.c. This ordering is required to support PRT and
16080 facilitate other (future) enhancement. A side effect is that the
16081 ACPI bus driver and certain device drivers can no longer be loaded
16084 Modified the 'make menuconfig' options to allow PCI Interrupt
16085 Routing support to be included without the ACPI Bus and other
16088 3) ASL Compiler, version X2033:
16090 Fixed some issues with the use of the new CopyObject and
16091 DataTableRegion operators. Both are fully functional.
16093 ----------------------------------------
16094 Summary of changes for this label: 11_20_01
16096 20 November 2001. Summary of changes for this release.
16098 1) ACPI CA Core Subsystem:
16100 Updated Index support to match ACPI 2.0 semantics. Storing a
16101 Integer, String, or Buffer to an Index of a Buffer will store only
16102 the least-significant byte of the source to the Indexed buffer
16103 byte. Multiple writes are not performed.
16105 Fixed a problem where the access type used in an AccessAs ASL
16106 operator was not recorded correctly into the field object.
16108 Fixed a problem where ASL Event objects were created in a
16109 signalled state. Events are now created in an unsignalled state.
16111 The internal object cache is now purged after table loading and
16112 initialization to reduce the use of dynamic kernel memory -- on
16113 the assumption that object use is greatest during the parse phase
16114 of the entire table (versus the run-time use of individual control
16117 ACPI 2.0 variable-length packages are now fully operational.
16119 Code and Data Size: Code and Data optimizations have permitted new
16120 feature development with an actual reduction in the library size.
16121 Current core subsystem library sizes are shown below. These are
16122 the code and data sizes for the acpica.lib produced by the
16123 Microsoft Visual C++ 6.0 compiler, and these values do not include
16124 any ACPI driver or OSPM code. The debug version of the code
16125 includes the debug output trace mechanism and has a larger code
16126 and data size. Note that these values will vary depending on the
16127 efficiency of the compiler and the compiler options used during
16130 Previous Release (11_09_01):
16131 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
16132 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
16135 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
16136 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
16140 Enhanced the ACPI boot-time initialization code to allow the use
16141 of Local APIC tables for processor enumeration on IA-32, and to
16142 pave the way for a fully MPS-free boot (on SMP systems) in the
16143 near future. This functionality replaces
16144 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16145 2.4.15-preX release. To enable this feature you must add
16146 "acpi_boot=on" to the kernel command line -- see the help entry
16147 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
16150 Restructured the configuration options to allow boot-time table
16151 parsing support without inclusion of the ACPI Interpreter (and
16154 NOTE: This release does not include fixes for the reported events,
16155 power-down, and thermal passive cooling issues (coming soon).
16159 Added additional typechecking for Fields within restricted access
16160 Operation Regions. All fields within EC and CMOS regions must be
16161 declared with ByteAcc. All fields withing SMBus regions must be
16162 declared with the BufferAcc access type.
16164 Fixed a problem where the listing file output of control methods
16165 no longer interleaved the actual AML code with the ASL source
16171 ----------------------------------------
16172 Summary of changes for this label: 11_09_01
16174 1) ACPI CA Core Subsystem:
16176 Implemented ACPI 2.0-defined support for writes to fields with a
16177 Buffer, String, or Integer source operand that is smaller than the
16178 target field. In these cases, the source operand is zero-extended
16179 to fill the target field.
16181 Fixed a problem where a Field starting bit offset (within the
16182 parent operation region) was calculated incorrectly if the
16184 alignment of the field differed from the access width. This
16185 affected CreateWordField, CreateDwordField, CreateQwordField, and
16186 possibly other fields that use the "AccessAny" keyword.
16188 Fixed a problem introduced in the 11_02_01 release where indirect
16189 stores through method arguments did not operate correctly.
16193 Implemented boot-time ACPI table parsing support
16194 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
16195 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
16196 legacy BIOS interfaces (e.g. MPS) for the configuration of system
16197 processors, memory, and interrupts during setup_arch(). Note that
16198 this patch does not include the required architecture-specific
16199 changes required to apply this information -- subsequent patches
16200 will be posted for both IA32 and IA64 to achieve this.
16202 Added low-level sleep support for IA32 platforms, courtesy of Pat
16203 Mochel. This allows IA32 systems to transition to/from various
16204 sleeping states (e.g. S1, S3), although the lack of a centralized
16205 driver model and power-manageable drivers will prevent its
16206 (successful) use on most systems.
16208 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
16209 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
16210 tables" option, etc.
16212 Increased the default timeout for the EC driver from 1ms to 10ms
16213 (1000 cycles of 10us) to try to address AE_TIME errors during EC
16216 ----------------------------------------
16217 Summary of changes for this label: 11_02_01
16219 1) ACPI CA Core Subsystem:
16221 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
16222 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
16225 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
16226 changes to support ACPI 2.0 Qword field access. Read/Write
16227 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
16228 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
16229 the value parameter for the address space handler interface is now
16230 an ACPI_INTEGER. OSL implementations of these interfaces must now
16231 handle the case where the Width parameter is 64.
16233 Index Fields: Fixed a problem where unaligned bit assembly and
16234 disassembly for IndexFields was not supported correctly.
16236 Index and Bank Fields: Nested Index and Bank Fields are now
16237 supported. During field access, a check is performed to ensure
16238 that the value written to an Index or Bank register is not out of
16239 the range of the register. The Index (or Bank) register is
16240 written before each access to the field data. Future support will
16241 include allowing individual IndexFields to be wider than the
16242 DataRegister width.
16244 Fields: Fixed a problem where the AML interpreter was incorrectly
16245 attempting to write beyond the end of a Field/OpRegion. This was
16246 a boundary case that occurred when a DWORD field was written to a
16247 BYTE access OpRegion, forcing multiple writes and causing the
16248 interpreter to write one datum too many.
16250 Fields: Fixed a problem with Field/OpRegion access where the
16251 starting bit address of a field was incorrectly calculated if the
16252 current access type was wider than a byte (WordAcc, DwordAcc, or
16255 Fields: Fixed a problem where forward references to individual
16256 FieldUnits (individual Field names within a Field definition) were
16257 not resolved during the AML table load.
16259 Fields: Fixed a problem where forward references from a Field
16260 definition to the parent Operation Region definition were not
16261 resolved during the AML table load.
16263 Fields: Duplicate FieldUnit names within a scope are now detected
16264 during AML table load.
16266 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16267 returned an incorrect name for the root node.
16269 Code and Data Size: Code and Data optimizations have permitted new
16270 feature development with an actual reduction in the library size.
16271 Current core subsystem library sizes are shown below. These are
16272 the code and data sizes for the acpica.lib produced by the
16273 Microsoft Visual C++ 6.0 compiler, and these values do not include
16274 any ACPI driver or OSPM code. The debug version of the code
16275 includes the debug output trace mechanism and has a larger code
16276 and data size. Note that these values will vary depending on the
16277 efficiency of the compiler and the compiler options used during
16280 Previous Release (10_18_01):
16281 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
16282 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
16285 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
16286 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
16290 Improved /proc processor output (Pavel Machek) Re-added
16291 MODULE_LICENSE("GPL") to all modules.
16293 3) ASL Compiler version X2030:
16295 Duplicate FieldUnit names within a scope are now detected and
16300 Programmer Reference updated to reflect OSL and address space
16301 handler interface changes described above.
16303 ----------------------------------------
16304 Summary of changes for this label: 10_18_01
16306 ACPI CA Core Subsystem:
16308 Fixed a problem with the internal object reference count mechanism
16309 that occasionally caused premature object deletion. This resolves
16310 all of the outstanding problem reports where an object is deleted
16311 in the middle of an interpreter evaluation. Although this problem
16312 only showed up in rather obscure cases, the solution to the
16313 problem involved an adjustment of all reference counts involving
16314 objects attached to namespace nodes.
16316 Fixed a problem with Field support in the interpreter where
16317 writing to an aligned field whose length is an exact multiple (2
16318 or greater) of the field access granularity would cause an attempt
16319 to write beyond the end of the field.
16321 The top level AML opcode execution functions within the
16322 interpreter have been renamed with a more meaningful and
16323 consistent naming convention. The modules exmonad.c and
16324 exdyadic.c were eliminated. New modules are exoparg1.c,
16325 exoparg2.c, exoparg3.c, and exoparg6.c.
16327 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16329 Fixed a problem where the AML debugger was causing some internal
16330 objects to not be deleted during subsystem termination.
16332 Fixed a problem with the external AcpiEvaluateObject interface
16333 where the subsystem would fault if the named object to be
16334 evaluated refered to a constant such as Zero, Ones, etc.
16336 Fixed a problem with IndexFields and BankFields where the
16337 subsystem would fault if the index, data, or bank registers were
16338 not defined in the same scope as the field itself.
16340 Added printf format string checking for compilers that support
16341 this feature. Corrected more than 50 instances of issues with
16342 format specifiers within invocations of ACPI_DEBUG_PRINT
16343 throughout the core subsystem code.
16345 The ASL "Revision" operator now returns the ACPI support level
16346 implemented in the core - the value "2" since the ACPI 2.0 support
16347 is more than 50% implemented.
16349 Enhanced the output of the AML debugger "dump namespace" command
16350 to output in a more human-readable form.
16352 Current core subsystem library code sizes are shown below. These
16354 are the code and data sizes for the acpica.lib produced by the
16355 Microsoft Visual C++ 6.0 compiler, and these values do not include
16356 any ACPI driver or OSPM code. The debug version of the code
16357 includes the full debug trace mechanism -- leading to a much
16359 larger code and data size. Note that these values will vary
16360 depending on the efficiency of the compiler and the compiler
16361 options used during generation.
16363 Previous Label (09_20_01):
16364 Non-Debug Version: 65K Code, 5K Data, 70K Total
16365 Debug Version: 138K Code, 58K Data, 196K Total
16369 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
16370 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
16374 Implemented a "Bad BIOS Blacklist" to track machines that have
16375 known ASL/AML problems.
16377 Enhanced the /proc interface for the thermal zone driver and added
16378 support for _HOT (the critical suspend trip point). The 'info'
16379 file now includes threshold/policy information, and allows setting
16380 of _SCP (cooling preference) and _TZP (polling frequency) values
16381 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16382 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16383 preference to the passive/quiet mode (if supported by the ASL).
16385 Implemented a workaround for a gcc bug that resuted in an OOPs
16386 when loading the control method battery driver.
16388 ----------------------------------------
16389 Summary of changes for this label: 09_20_01
16391 ACPI CA Core Subsystem:
16393 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16394 modified to allow individual GPE levels to be flagged as wake-
16395 enabled (i.e., these GPEs are to remain enabled when the platform
16398 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16399 support wake-enabled GPEs. This means that upon entering the
16400 sleep state, all GPEs that are not wake-enabled are disabled.
16401 When leaving the sleep state, these GPEs are reenabled.
16403 A local double-precision divide/modulo module has been added to
16404 enhance portability to OS kernels where a 64-bit math library is
16405 not available. The new module is "utmath.c".
16407 Several optimizations have been made to reduce the use of CPU
16408 stack. Originally over 2K, the maximum stack usage is now below
16409 2K at 1860 bytes (1.82k)
16411 Fixed a problem with the AcpiGetFirmwareTable interface where the
16412 root table pointer was not mapped into a logical address properly.
16414 Fixed a problem where a NULL pointer was being dereferenced in the
16415 interpreter code for the ASL Notify operator.
16417 Fixed a problem where the use of the ASL Revision operator
16418 returned an error. This operator now returns the current version
16419 of the ACPI CA core subsystem.
16421 Fixed a problem where objects passed as control method parameters
16422 to AcpiEvaluateObject were always deleted at method termination.
16423 However, these objects may end up being stored into the namespace
16424 by the called method. The object reference count mechanism was
16425 applied to these objects instead of a force delete.
16427 Fixed a problem where static strings or buffers (contained in the
16428 AML code) that are declared as package elements within the ASL
16429 code could cause a fault because the interpreter would attempt to
16430 delete them. These objects are now marked with the "static
16431 object" flag to prevent any attempt to delete them.
16433 Implemented an interpreter optimization to use operands directly
16434 from the state object instead of extracting the operands to local
16435 variables. This reduces stack use and code size, and improves
16438 The module exxface.c was eliminated as it was an unnecessary extra
16441 Current core subsystem library code sizes are shown below. These
16442 are the code and data sizes for the acpica.lib produced by the
16443 Microsoft Visual C++ 6.0 compiler, and these values do not include
16444 any ACPI driver or OSPM code. The debug version of the code
16445 includes the full debug trace mechanism -- leading to a much
16446 larger code and data size. Note that these values will vary
16447 depending on the efficiency of the compiler and the compiler
16448 options used during generation.
16450 Non-Debug Version: 65K Code, 5K Data, 70K Total
16451 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
16452 Total (Previously 195K)
16456 Support for ACPI 2.0 64-bit integers has been added. All ACPI
16457 Integer objects are now 64 bits wide
16459 All Acpi data types and structures are now in lower case. Only
16460 Acpi macros are upper case for differentiation.
16464 Changes to the external interfaces as described above.
16466 ----------------------------------------
16467 Summary of changes for this label: 08_31_01
16469 ACPI CA Core Subsystem:
16471 A bug with interpreter implementation of the ASL Divide operator
16472 was found and fixed. The implicit function return value (not the
16473 explicit store operands) was returning the remainder instead of
16474 the quotient. This was a longstanding bug and it fixes several
16475 known outstanding issues on various platforms.
16477 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16478 been further optimized for size. There are 700 invocations of the
16479 DEBUG_PRINT macro alone, so each optimization reduces the size of
16480 the debug version of the subsystem significantly.
16482 A stack trace mechanism has been implemented. The maximum stack
16483 usage is about 2K on 32-bit platforms. The debugger command "stat
16484 stack" will display the current maximum stack usage.
16486 All public symbols and global variables within the subsystem are
16487 now prefixed with the string "Acpi". This keeps all of the
16488 symbols grouped together in a kernel map, and avoids conflicts
16489 with other kernel subsystems.
16491 Most of the internal fixed lookup tables have been moved into the
16492 code segment via the const operator.
16494 Several enhancements have been made to the interpreter to both
16495 reduce the code size and improve performance.
16497 Current core subsystem library code sizes are shown below. These
16498 are the code and data sizes for the acpica.lib produced by the
16499 Microsoft Visual C++ 6.0 compiler, and these values do not include
16500 any ACPI driver or OSPM code. The debug version of the code
16501 includes the full debug trace mechanism which contains over 700
16502 invocations of the DEBUG_PRINT macro, 500 function entry macro
16503 invocations, and over 900 function exit macro invocations --
16504 leading to a much larger code and data size. Note that these
16505 values will vary depending on the efficiency of the compiler and
16506 the compiler options used during generation.
16508 Non-Debug Version: 64K Code, 5K Data, 69K Total
16509 Debug Version: 137K Code, 58K Data, 195K Total
16513 Implemented wbinvd() macro, pending a kernel-wide definition.
16515 Fixed /proc/acpi/event to handle poll() and short reads.
16517 ASL Compiler, version X2026:
16519 Fixed a problem introduced in the previous label where the AML
16521 code emitted for package objects produced packages with zero
16524 ----------------------------------------
16525 Summary of changes for this label: 08_16_01
16527 ACPI CA Core Subsystem:
16529 The following ACPI 2.0 ASL operators have been implemented in the
16530 AML interpreter (These are already supported by the Intel ASL
16531 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
16532 ToBuffer. Support for 64-bit AML constants is implemented in the
16533 AML parser, debugger, and disassembler.
16535 The internal memory tracking mechanism (leak detection code) has
16536 been upgraded to reduce the memory overhead (a separate tracking
16537 block is no longer allocated for each memory allocation), and now
16538 supports all of the internal object caches.
16540 The data structures and code for the internal object caches have
16541 been coelesced and optimized so that there is a single cache and
16542 memory list data structure and a single group of functions that
16543 implement generic cache management. This has reduced the code
16544 size in both the debug and release versions of the subsystem.
16546 The DEBUG_PRINT macro(s) have been optimized for size and replaced
16547 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
16548 different, because it generates a single call to an internal
16549 function. This results in a savings of about 90 bytes per
16550 invocation, resulting in an overall code and data savings of about
16551 16% in the debug version of the subsystem.
16555 Fixed C3 disk corruption problems and re-enabled C3 on supporting
16558 Integrated low-level sleep code by Patrick Mochel.
16560 Further tweaked source code Linuxization.
16566 Support for ACPI 2.0 variable length packages is fixed/completed.
16568 Fixed a problem where the optional length parameter for the ACPI
16569 2.0 ToString operator.
16571 Fixed multiple extraneous error messages when a syntax error is
16572 detected within the declaration line of a control method.
16574 ----------------------------------------
16575 Summary of changes for this label: 07_17_01
16577 ACPI CA Core Subsystem:
16579 Added a new interface named AcpiGetFirmwareTable to obtain any
16580 ACPI table via the ACPI signature. The interface can be called at
16581 any time during kernel initialization, even before the kernel
16582 virtual memory manager is initialized and paging is enabled. This
16583 allows kernel subsystems to obtain ACPI tables very early, even
16584 before the ACPI CA subsystem is initialized.
16586 Fixed a problem where Fields defined with the AnyAcc attribute
16587 could be resolved to the incorrect address under the following
16588 conditions: 1) the field width is larger than 8 bits and 2) the
16589 parent operation region is not defined on a DWORD boundary.
16591 Fixed a problem where the interpreter is not being locked during
16592 namespace initialization (during execution of the _INI control
16593 methods), causing an error when an attempt is made to release it
16596 ACPI 2.0 support in the AML Interpreter has begun and will be
16597 ongoing throughout the rest of this year. In this label, The Mod
16598 operator is implemented.
16600 Added a new data type to contain full PCI addresses named
16601 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16602 and Function values.
16606 Enhanced the Linux version of the source code to change most
16607 capitalized ACPI type names to lowercase. For example, all
16608 instances of ACPI_STATUS are changed to acpi_status. This will
16609 result in a large diff, but the change is strictly cosmetic and
16610 aligns the CA code closer to the Linux coding standard.
16614 The interfaces to the PCI configuration space have been changed to
16615 add the PCI Segment number and to split the single 32-bit combined
16616 DeviceFunction field into two 16-bit fields. This was
16617 accomplished by moving the four values that define an address in
16618 PCI configuration space (segment, bus, device, and function) to
16619 the new ACPI_PCI_ID structure.
16621 The changes to the PCI configuration space interfaces led to a
16622 reexamination of the complete set of address space access
16623 interfaces for PCI, I/O, and Memory. The previously existing 18
16624 interfaces have proven difficult to maintain (any small change
16625 must be propagated across at least 6 interfaces) and do not easily
16626 allow for future expansion to 64 bits if necessary. Also, on some
16627 systems, it would not be appropriate to demultiplex the access
16628 width (8, 16, 32,or 64) before calling the OSL if the
16629 corresponding native OS interfaces contain a similar access width
16630 parameter. For these reasons, the 18 address space interfaces
16631 have been replaced by these 6 new ones:
16633 AcpiOsReadPciConfiguration
16634 AcpiOsWritePciConfiguration
16640 Added a new interface named AcpiOsGetRootPointer to allow the OSL
16641 to perform the platform and/or OS-specific actions necessary to
16642 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
16643 interface will simply call down to the CA core to perform the low-
16644 memory search for the table. On IA-64, the RSDP is obtained from
16645 EFI. Migrating this interface to the OSL allows the CA core to
16647 remain OS and platform independent.
16649 Added a new interface named AcpiOsSignal to provide a generic
16650 "function code and pointer" interface for various miscellaneous
16651 signals and notifications that must be made to the host OS. The
16652 first such signals are intended to support the ASL Fatal and
16653 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
16654 interface has been obsoleted.
16656 The definition of the AcpiFormatException interface has been
16657 changed to simplify its use. The caller no longer must supply a
16658 buffer to the call; A pointer to a const string is now returned
16659 directly. This allows the call to be easily used in printf
16660 statements, etc. since the caller does not have to manage a local
16664 ASL Compiler, Version X2025:
16666 The ACPI 2.0 Switch/Case/Default operators have been implemented
16667 and are fully functional. They will work with all ACPI 1.0
16668 interpreters, since the operators are simply translated to If/Else
16671 The ACPI 2.0 ElseIf operator is implemented and will also work
16672 with 1.0 interpreters, for the same reason.
16674 Implemented support for ACPI 2.0 variable-length packages. These
16675 packages have a separate opcode, and their size is determined by
16676 the interpreter at run-time.
16678 Documentation The ACPI CA Programmer Reference has been updated to
16679 reflect the new interfaces and changes to existing interfaces.
16681 ------------------------------------------
16682 Summary of changes for this label: 06_15_01
16684 ACPI CA Core Subsystem:
16686 Fixed a problem where a DWORD-accessed field within a Buffer
16687 object would get its byte address inadvertently rounded down to
16688 the nearest DWORD. Buffers are always Byte-accessible.
16690 ASL Compiler, version X2024:
16692 Fixed a problem where the Switch() operator would either fault or
16693 hang the compiler. Note however, that the AML code for this ACPI
16694 2.0 operator is not yet implemented.
16696 Compiler uses the new AcpiOsGetTimer interface to obtain compile
16699 Implementation of the CreateField operator automatically converts
16700 a reference to a named field within a resource descriptor from a
16701 byte offset to a bit offset if required.
16703 Added some missing named fields from the resource descriptor
16704 support. These are the names that are automatically created by the
16705 compiler to reference fields within a descriptor. They are only
16706 valid at compile time and are not passed through to the AML
16709 Resource descriptor named fields are now typed as Integers and
16710 subject to compile-time typechecking when used in expressions.
16712 ------------------------------------------
16713 Summary of changes for this label: 05_18_01
16715 ACPI CA Core Subsystem:
16717 Fixed a couple of problems in the Field support code where bits
16718 from adjacent fields could be returned along with the proper field
16719 bits. Restructured the field support code to improve performance,
16720 readability and maintainability.
16722 New DEBUG_PRINTP macro automatically inserts the procedure name
16723 into the output, saving hundreds of copies of procedure name
16724 strings within the source, shrinking the memory footprint of the
16725 debug version of the core subsystem.
16727 Source Code Structure:
16729 The source code directory tree was restructured to reflect the
16730 current organization of the component architecture. Some files
16731 and directories have been moved and/or renamed.
16735 Fixed leaking kacpidpc processes.
16737 Fixed queueing event data even when /proc/acpi/event is not
16740 ASL Compiler, version X2020:
16742 Memory allocation performance enhancement - over 24X compile time
16743 improvement on large ASL files. Parse nodes and namestring
16744 buffers are now allocated from a large internal compiler buffer.
16746 The temporary .SRC file is deleted unless the "-s" option is
16749 The "-d" debug output option now sends all output to the .DBG file
16750 instead of the console.
16752 "External" second parameter is now optional
16754 "ElseIf" syntax now properly allows the predicate
16756 Last operand to "Load" now recognized as a Target operand
16758 Debug object can now be used anywhere as a normal object.
16760 ResourceTemplate now returns an object of type BUFFER
16762 EISAID now returns an object of type INTEGER
16764 "Index" now works with a STRING operand
16766 "LoadTable" now accepts optional parameters
16768 "ToString" length parameter is now optional
16770 "Interrupt (ResourceType," parse error fixed.
16772 "Register" with a user-defined region space parse error fixed
16774 Escaped backslash at the end of a string ("\\") scan/parse error
16777 "Revision" is now an object of type INTEGER.
16781 ------------------------------------------
16782 Summary of changes for this label: 05_02_01
16786 /proc/acpi/event now blocks properly.
16788 Removed /proc/sys/acpi. You can still dump your DSDT from
16791 ACPI CA Core Subsystem:
16793 Fixed a problem introduced in the previous label where some of the
16794 "small" resource descriptor types were not recognized.
16796 Improved error messages for the case where an ASL Field is outside
16797 the range of the parent operation region.
16799 ASL Compiler, version X2018:
16802 Added error detection for ASL Fields that extend beyond the length
16803 of the parent operation region (only if the length of the region
16804 is known at compile time.) This includes fields that have a
16805 minimum access width that is smaller than the parent region, and
16806 individual field units that are partially or entirely beyond the
16807 extent of the parent.
16811 ------------------------------------------
16812 Summary of changes for this label: 04_27_01
16814 ACPI CA Core Subsystem:
16816 Fixed a problem where the namespace mutex could be released at the
16817 wrong time during execution of AcpiRemoveAddressSpaceHandler.
16819 Added optional thread ID output for debug traces, to simplify
16820 debugging of multiple threads. Added context switch notification
16821 when the debug code realizes that a different thread is now
16822 executing ACPI code.
16824 Some additional external data types have been prefixed with the
16825 string "ACPI_" for consistency. This may effect existing code.
16826 The data types affected are the external callback typedefs - e.g.,
16828 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16832 Fixed an issue with the OSL semaphore implementation where a
16833 thread was waking up with an error from receiving a SIGCHLD
16836 Linux version of ACPI CA now uses the system C library for string
16837 manipulation routines instead of a local implementation.
16839 Cleaned up comments and removed TBDs.
16841 ASL Compiler, version X2017:
16843 Enhanced error detection and reporting for all file I/O
16848 Programmer Reference updated to version 1.06.
16852 ------------------------------------------
16853 Summary of changes for this label: 04_13_01
16855 ACPI CA Core Subsystem:
16857 Restructured support for BufferFields and RegionFields.
16858 BankFields support is now fully operational. All known 32-bit
16859 limitations on field sizes have been removed. Both BufferFields
16860 and (Operation) RegionFields are now supported by the same field
16863 Resource support now supports QWORD address and IO resources. The
16864 16/32/64 bit address structures and the Extended IRQ structure
16865 have been changed to properly handle Source Resource strings.
16867 A ThreadId of -1 is now used to indicate a "mutex not acquired"
16868 condition internally and must never be returned by AcpiOsThreadId.
16869 This reserved value was changed from 0 since Unix systems allow a
16874 Driver code reorganized to enhance portability
16876 Added a kernel configuration option to control ACPI_DEBUG
16878 Fixed the EC driver to honor _GLK.
16880 ASL Compiler, version X2016:
16882 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
16883 address space was set to 0, not 0x7f as it should be.
16885 ------------------------------------------
16886 Summary of changes for this label: 03_13_01
16888 ACPI CA Core Subsystem:
16890 During ACPI initialization, the _SB_._INI method is now run if
16893 Notify handler fix - notifies are deferred until the parent method
16894 completes execution. This fixes the "mutex already acquired"
16895 issue seen occasionally.
16897 Part of the "implicit conversion" rules in ACPI 2.0 have been
16898 found to cause compatibility problems with existing ASL/AML. The
16899 convert "result-to-target-type" implementation has been removed
16900 for stores to method Args and Locals. Source operand conversion
16901 is still fully implemented. Possible changes to ACPI 2.0
16902 specification pending.
16904 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16907 Fix for compiler warnings for 64-bit compiles.
16911 /proc output aligned for easier parsing.
16913 Release-version compile problem fixed.
16915 New kernel configuration options documented in Configure.help.
16917 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16922 Power resource driver integrated with bus manager.
16924 Fixed kernel fault during active cooling for thermal zones.
16928 The source code tree has been restructured.
16932 ------------------------------------------
16933 Summary of changes for this label: 03_02_01
16935 Linux OS Services Layer (OSL):
16937 Major revision of all Linux-specific code.
16939 Modularized all ACPI-specific drivers.
16941 Added new thermal zone and power resource drivers.
16943 Revamped /proc interface (new functionality is under /proc/acpi).
16945 New kernel configuration options.
16947 Linux known issues:
16949 New kernel configuration options not documented in Configure.help
16953 Module dependencies not currently implemented. If used, they
16954 should be loaded in this order: busmgr, power, ec, system,
16955 processor, battery, ac_adapter, button, thermal.
16957 Modules will not load if CONFIG_MODVERSION is set.
16959 IBM 600E - entering S5 may reboot instead of shutting down.
16961 IBM 600E - Sleep button may generate "Invalid <NULL> context"
16964 Some systems may fail with "execution mutex already acquired"
16967 ACPI CA Core Subsystem:
16969 Added a new OSL Interface, AcpiOsGetThreadId. This was required
16970 for the deadlock detection code. Defined to return a non-zero, 32-
16971 bit thread ID for the currently executing thread. May be a non-
16972 zero constant integer on single-thread systems.
16974 Implemented deadlock detection for internal subsystem mutexes. We
16975 may add conditional compilation for this code (debug only) later.
16977 ASL/AML Mutex object semantics are now fully supported. This
16978 includes multiple acquires/releases by owner and support for the
16980 Mutex SyncLevel parameter.
16982 A new "Force Release" mechanism automatically frees all ASL
16983 Mutexes that have been acquired but not released when a thread
16984 exits the interpreter. This forces conformance to the ACPI spec
16985 ("All mutexes must be released when an invocation exits") and
16986 prevents deadlocked ASL threads. This mechanism can be expanded
16987 (later) to monitor other resource acquisitions if OEM ASL code
16988 continues to misbehave (which it will).
16990 Several new ACPI exception codes have been added for the Mutex
16993 Recursive method calls are now allowed and supported (the ACPI
16994 spec does in fact allow recursive method calls.) The number of
16995 recursive calls is subject to the restrictions imposed by the
16996 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16999 Implemented support for the SyncLevel parameter for control
17000 methods (ACPI 2.0 feature)
17002 Fixed a deadlock problem when multiple threads attempted to use
17005 Fixed a problem where the string length of a String package
17006 element was not always set in a package returned from
17007 AcpiEvaluateObject.
17009 Fixed a problem where the length of a String package element was
17010 not always included in the length of the overall package returned
17011 from AcpiEvaluateObject.
17013 Added external interfaces (Acpi*) to the ACPI debug memory
17014 manager. This manager keeps a list of all outstanding
17015 allocations, and can therefore detect memory leaks and attempts to
17016 free memory blocks more than once. Useful for code such as the
17017 power manager, etc. May not be appropriate for device drivers.
17018 Performance with the debug code enabled is slow.
17020 The ACPI Global Lock is now an optional hardware element.
17022 ASL Compiler Version X2015:
17024 Integrated changes to allow the compiler to be generated on
17025 multiple platforms.
17027 Linux makefile added to generate the compiler on Linux
17031 All platform-specific headers have been moved to their own
17032 subdirectory, Include/Platform.
17034 New source file added, Interpreter/ammutex.c
17036 New header file, Include/acstruct.h
17040 The programmer reference has been updated for the following new
17041 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17043 ------------------------------------------
17044 Summary of changes for this label: 02_08_01
17046 Core ACPI CA Subsystem: Fixed a problem where an error was
17047 incorrectly returned if the return resource buffer was larger than
17048 the actual data (in the resource interfaces).
17050 References to named objects within packages are resolved to the
17052 full pathname string before packages are returned directly (via
17053 the AcpiEvaluateObject interface) or indirectly via the resource
17056 Linux OS Services Layer (OSL):
17058 Improved /proc battery interface.
17061 Added C-state debugging output and other miscellaneous fixes.
17063 ASL Compiler Version X2014:
17065 All defined method arguments can now be used as local variables,
17066 including the ones that are not actually passed in as parameters.
17067 The compiler tracks initialization of the arguments and issues an
17068 exception if they are used without prior assignment (just like
17071 The -o option now specifies a filename prefix that is used for all
17072 output files, including the AML output file. Otherwise, the
17073 default behavior is as follows: 1) the AML goes to the file
17074 specified in the DSDT. 2) all other output files use the input
17075 source filename as the base.
17077 ------------------------------------------
17078 Summary of changes for this label: 01_25_01
17080 Core ACPI CA Subsystem: Restructured the implementation of object
17081 store support within the interpreter. This includes support for
17082 the Store operator as well as any ASL operators that include a
17085 Partially implemented support for Implicit Result-to-Target
17086 conversion. This is when a result object is converted on the fly
17087 to the type of an existing target object. Completion of this
17088 support is pending further analysis of the ACPI specification
17089 concerning this matter.
17091 CPU-specific code has been removed from the subsystem (hardware
17094 New Power Management Timer functions added
17096 Linux OS Services Layer (OSL): Moved system state transition code
17097 to the core, fixed it, and modified Linux OSL accordingly.
17099 Fixed C2 and C3 latency calculations.
17102 We no longer use the compilation date for the version message on
17103 initialization, but retrieve the version from AcpiGetSystemInfo().
17105 Incorporated for fix Sony VAIO machines.
17107 Documentation: The Programmer Reference has been updated and
17111 ASL Compiler: Version X2013: Fixed a problem where the line
17112 numbering and error reporting could get out of sync in the
17113 presence of multiple include files.
17115 ------------------------------------------
17116 Summary of changes for this label: 01_15_01
17118 Core ACPI CA Subsystem:
17120 Implemented support for type conversions in the execution of the
17121 ASL Concatenate operator (The second operand is converted to
17122 match the type of the first operand before concatenation.)
17124 Support for implicit source operand conversion is partially
17125 implemented. The ASL source operand types Integer, Buffer, and
17126 String are freely interchangeable for most ASL operators and are
17127 converted by the interpreter on the fly as required. Implicit
17128 Target operand conversion (where the result is converted to the
17129 target type before storing) is not yet implemented.
17131 Support for 32-bit and 64-bit BCD integers is implemented.
17133 Problem fixed where a field read on an aligned field could cause a
17134 read past the end of the field.
17136 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17137 does not return a value, but the caller expects one. (The ASL
17138 compiler flags this as a warning.)
17143 1. Static typechecking of all operands is implemented. This
17144 prevents the use of invalid objects (such as using a Package where
17145 an Integer is required) at compile time instead of at interpreter
17147 2. The ASL source line is printed with ALL errors and warnings.
17148 3. Bug fix for source EOF without final linefeed.
17149 4. Debug option is split into a parse trace and a namespace trace.
17150 5. Namespace output option (-n) includes initial values for
17151 integers and strings.
17152 6. Parse-only option added for quick syntax checking.
17153 7. Compiler checks for duplicate ACPI name declarations
17156 1. Relaxed typechecking to allow interchangeability between
17157 strings, integers, and buffers. These types are now converted by
17158 the interpreter at runtime.
17159 2. Compiler reports time taken by each internal subsystem in the
17163 ------------------------------------------
17164 Summary of changes for this label: 12_14_00
17168 This is the first official release of the compiler. Since the
17169 compiler requires elements of the Core Subsystem, this label
17170 synchronizes everything.
17172 ------------------------------------------
17173 Summary of changes for this label: 12_08_00
17176 Fixed a problem where named references within the ASL definition
17177 of both OperationRegions and CreateXXXFields did not work
17178 properly. The symptom was an AE_AML_OPERAND_TYPE during
17179 initialization of the region/field. This is similar (but not
17180 related internally) to the problem that was fixed in the last
17183 Implemented both 32-bit and 64-bit support for the BCD ASL
17184 functions ToBCD and FromBCD.
17186 Updated all legal headers to include "2000" in the copyright
17189 ------------------------------------------
17190 Summary of changes for this label: 12_01_00
17192 Fixed a problem where method invocations within the ASL definition
17193 of both OperationRegions and CreateXXXFields did not work
17194 properly. The symptom was an AE_AML_OPERAND_TYPE during
17195 initialization of the region/field:
17197 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
17198 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
17201 Fixed a problem where operators with more than one nested
17202 subexpression would fail. The symptoms were varied, by mostly
17203 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
17204 problem that has gone unnoticed until now.
17206 Subtract (Add (1,2), Multiply (3,4))
17208 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
17209 previous build (The prefix part of a relative path was handled
17212 Fixed a problem where Operation Region initialization failed if
17213 the operation region name was a "namepath" instead of a simple
17214 "nameseg". Symptom was an AE_NO_OPERAND error.
17216 Fixed a problem where an assignment to a local variable via the
17217 indirect RefOf mechanism only worked for the first such
17218 assignment. Subsequent assignments were ignored.
17220 ------------------------------------------
17221 Summary of changes for this label: 11_15_00
17223 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
17224 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
17225 the AML interpreter does NOT have support for the new 2.0 ASL
17226 grammar terms at this time.
17228 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17231 All physical memory addresses across all platforms are now 64 bits
17232 wide. Logical address width remains dependent on the platform
17235 AcpiOsMapMemory interface changed to a 64-bit physical address.
17237 The AML interpreter integer size is now 64 bits, as per the ACPI
17240 For backwards compatibility with ACPI 1.0, ACPI tables with a
17241 revision number less than 2 use 32-bit integers only.
17243 Fixed a problem where the evaluation of OpRegion operands did not
17244 always resolve them to numbers properly.
17246 ------------------------------------------
17247 Summary of changes for this label: 10_20_00
17249 Fix for CBN_._STA issue. This fix will allow correct access to
17250 CBN_ OpRegions when the _STA returns 0x8.
17252 Support to convert ACPI constants (Ones, Zeros, One) to actual
17253 values before a package object is returned
17255 Fix for method call as predicate to if/while construct causing
17256 incorrect if/while behavior
17258 Fix for Else block package lengths sometimes calculated wrong (if
17261 Fix for Processor object length field, was always zero
17263 Table load abort if FACP sanity check fails
17265 Fix for problem with Scope(name) if name already exists
17267 Warning emitted if a named object referenced cannot be found
17268 (resolved) during method execution.
17274 ------------------------------------------
17275 Summary of changes for this label: 9_29_00
17277 New table initialization interfaces: AcpiInitializeSubsystem no
17278 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17279 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17280 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17283 Note: These interface changes require changes to all existing OSDs
17285 The PCI_Config default address space handler is always installed
17286 at the root namespace object.
17288 -------------------------------------------
17289 Summary of changes for this label: 09_15_00
17291 The new initialization architecture is implemented. New
17292 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17293 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17295 (Namespace is automatically loaded when a table is loaded)
17297 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17298 52 bytes to 32 bytes. There is usually one of these for every
17299 namespace object, so the memory savings is significant.
17301 Implemented just-in-time evaluation of the CreateField operators.
17303 Bug fixes for IA-64 support have been integrated.
17305 Additional code review comments have been implemented
17307 The so-called "third pass parse" has been replaced by a final walk
17308 through the namespace to initialize all operation regions (address
17309 spaces) and fields that have not yet been initialized during the
17310 execution of the various _INI and REG methods.
17312 New file - namespace/nsinit.c
17314 -------------------------------------------
17315 Summary of changes for this label: 09_01_00
17317 Namespace manager data structures have been reworked to change the
17318 primary object from a table to a single object. This has
17319 resulted in dynamic memory savings of 3X within the namespace and
17320 2X overall in the ACPI CA subsystem.
17322 Fixed problem where the call to AcpiEvFindPciRootBuses was
17323 inadvertently left commented out.
17325 Reduced the warning count when generating the source with the GCC
17328 Revision numbers added to each module header showing the
17329 SourceSafe version of the file. Please refer to this version
17330 number when giving us feedback or comments on individual modules.
17332 The main object types within the subsystem have been renamed to
17333 clarify their purpose:
17335 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17336 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17337 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17339 NOTE: no changes to the initialization sequence are included in
17342 -------------------------------------------
17343 Summary of changes for this label: 08_23_00
17345 Fixed problem where TerminateControlMethod was being called
17346 multiple times per method
17348 Fixed debugger problem where single stepping caused a semaphore to
17351 Improved performance through additional parse object caching -
17352 added ACPI_EXTENDED_OP type
17354 -------------------------------------------
17355 Summary of changes for this label: 08_10_00
17357 Parser/Interpreter integration: Eliminated the creation of
17358 complete parse trees for ACPI tables and control methods.
17359 Instead, parse subtrees are created and then deleted as soon as
17360 they are processed (Either entered into the namespace or executed
17361 by the interpreter). This reduces the use of dynamic kernel
17362 memory significantly. (about 10X)
17364 Exception codes broken into classes and renumbered. Be sure to
17365 recompile all code that includes acexcep.h. Hopefully we won't
17366 have to renumber the codes again now that they are split into
17367 classes (environment, programmer, AML code, ACPI table, and
17370 Fixed some additional alignment issues in the Resource Manager
17373 Implemented semaphore tracking in the AcpiExec utility, and fixed
17374 several places where mutexes/semaphores were being unlocked
17375 without a corresponding lock operation. There are no known
17376 semaphore or mutex "leaks" at this time.
17378 Fixed the case where an ASL Return operator is used to return an
17381 -------------------------------------------
17382 Summary of changes for this label: 07_28_00
17384 Fixed a problem with the way addresses were calculated in
17385 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
17386 manifested itself when a Field was created with WordAccess or
17387 DwordAccess, but the field unit defined within the Field was less
17389 than a Word or Dword.
17391 Fixed a problem in AmlDumpOperands() module's loop to pull
17392 operands off of the operand stack to display information. The
17393 problem manifested itself as a TLB error on 64-bit systems when
17394 accessing an operand stack with two or more operands.
17396 Fixed a problem with the PCI configuration space handlers where
17397 context was getting confused between accesses. This required a
17398 change to the generic address space handler and address space
17399 setup definitions. Handlers now get both a global handler context
17400 (this is the one passed in by the user when executing
17401 AcpiInstallAddressSpaceHandler() and a specific region context
17402 that is unique to each region (For example, the _ADR, _SEG and
17403 _BBN values associated with a specific region). The generic
17404 function definitions have changed to the following:
17406 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17407 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17408 *HandlerContext, // This used to be void *Context void
17409 *RegionContext); // This is an additional parameter
17411 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17412 RegionHandle, UINT32 Function, void *HandlerContext, void
17413 **RegionContext); // This used to be **ReturnContext
17415 -------------------------------------------
17416 Summary of changes for this label: 07_21_00
17418 Major file consolidation and rename. All files within the
17419 interpreter have been renamed as well as most header files. This
17420 was done to prevent collisions with existing files in the host
17421 OSs -- filenames such as "config.h" and "global.h" seem to be
17422 quite common. The VC project files have been updated. All
17423 makefiles will require modification.
17425 The parser/interpreter integration continues in Phase 5 with the
17426 implementation of a complete 2-pass parse (the AML is parsed
17427 twice) for each table; This avoids the construction of a huge
17428 parse tree and therefore reduces the amount of dynamic memory
17429 required by the subsystem. Greater use of the parse object cache
17430 means that performance is unaffected.
17432 Many comments from the two code reviews have been rolled in.
17434 The 64-bit alignment support is complete.
17436 -------------------------------------------
17437 Summary of changes for this label: 06_30_00
17439 With a nod and a tip of the hat to the technology of yesteryear,
17440 we've added support in the source code for 80 column output
17441 devices. The code is now mostly constrained to 80 columns or
17442 less to support environments and editors that 1) cannot display
17443 or print more than 80 characters on a single line, and 2) cannot
17444 disable line wrapping.
17446 A major restructuring of the namespace data structure has been
17447 completed. The result is 1) cleaner and more
17448 understandable/maintainable code, and 2) a significant reduction
17449 in the dynamic memory requirement for each named ACPI object
17452 -------------------------------------------
17453 Summary of changes for this label: 06_23_00
17455 Linux support has been added. In order to obtain approval to get
17456 the ACPI CA subsystem into the Linux kernel, we've had to make
17457 quite a few changes to the base subsystem that will affect all
17458 users (all the changes are generic and OS- independent). The
17459 effects of these global changes have been somewhat far reaching.
17460 Files have been merged and/or renamed and interfaces have been
17461 renamed. The major changes are described below.
17463 Osd* interfaces renamed to AcpiOs* to eliminate namespace
17464 pollution/confusion within our target kernels. All OSD
17465 interfaces must be modified to match the new naming convention.
17467 Files merged across the subsystem. A number of the smaller source
17468 and header files have been merged to reduce the file count and
17469 increase the density of the existing files. There are too many
17470 to list here. In general, makefiles that call out individual
17471 files will require rebuilding.
17473 Interpreter files renamed. All interpreter files now have the
17474 prefix am* instead of ie* and is*.
17476 Header files renamed: The acapi.h file is now acpixf.h. The
17477 acpiosd.h file is now acpiosxf.h. We are removing references to
17478 the acronym "API" since it is somewhat windowsy. The new name is
17479 "external interface" or xface or xf in the filenames.j
17482 All manifest constants have been forced to upper case (some were
17483 mixed case.) Also, the string "ACPI_" has been prepended to many
17484 (not all) of the constants, typedefs, and structs.
17486 The globals "DebugLevel" and "DebugLayer" have been renamed
17487 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
17489 All other globals within the subsystem are now prefixed with
17490 "AcpiGbl_" Internal procedures within the subsystem are now
17491 prefixed with "Acpi" (with only a few exceptions). The original
17492 two-letter abbreviation for the subcomponent remains after "Acpi"
17493 - for example, CmCallocate became AcpiCmCallocate.
17495 Added a source code translation/conversion utility. Used to
17496 generate the Linux source code, it can be modified to generate
17497 other types of source as well. Can also be used to cleanup
17498 existing source by removing extraneous spaces and blank lines.
17499 Found in tools/acpisrc/*
17501 OsdUnMapMemory was renamed to OsdUnmapMemory and then
17502 AcpiOsUnmapMemory. (UnMap became Unmap).
17504 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17505 When set to one, this indicates that the caller wants to use the
17507 semaphore as a mutex, not a counting semaphore. ACPI CA uses
17508 both types. However, implementers of this call may want to use
17509 different OS primitives depending on the type of semaphore
17510 requested. For example, some operating systems provide separate
17512 "mutex" and "semaphore" interfaces - where the mutex interface is
17513 much faster because it doesn't have all the overhead of a full
17514 semaphore implementation.
17516 Fixed a deadlock problem where a method that accesses the PCI
17517 address space can block forever if it is the first access to the
17520 -------------------------------------------
17521 Summary of changes for this label: 06_02_00
17523 Support for environments that cannot handle unaligned data
17524 accesses (e.g. firmware and OS environments devoid of alignment
17525 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
17526 been added (via configurable macros) in these three areas: -
17527 Transfer of data from the raw AML byte stream is done via byte
17528 moves instead of word/dword/qword moves. - External objects are
17529 aligned within the user buffer, including package elements (sub-
17530 objects). - Conversion of name strings to UINT32 Acpi Names is now
17533 The Store operator was modified to mimic Microsoft's
17534 implementation when storing to a Buffer Field.
17536 Added a check of the BM_STS bit before entering C3.
17538 The methods subdirectory has been obsoleted and removed. A new
17539 file, cmeval.c subsumes the functionality.
17541 A 16-bit (DOS) version of AcpiExec has been developed. The
17542 makefile is under the acpiexec directory.