1 ----------------------------------------
2 29 June 2017. Summary of changes for version 20170629:
5 1) ACPICA kernel-resident subsystem:
7 Tables: Implemented a deferred ACPI table verification. This is useful
8 for operating systems where the tables cannot be verified in the early
9 initialization stage due to early memory mapping limitations on some
10 architectures. Lv Zheng.
12 Tables: Removed the signature validation for dynamically loaded tables.
13 Provides compatibility with other ACPI implementations. Previously, only
14 SSDT tables were allowed, as per the ACPI specification. Now, any table
15 signature can be used via the Load() operator. Lv Zheng.
17 Tables: Fixed several mutex issues that could cause errors during table
18 acquisition. Lv Zheng.
20 Tables: Fixed a problem where an ACPI warning could be generated if a
21 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
23 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
24 AcpiPutTable interfaces. This applies to the "late stage" table loading
25 when the use of AcpiPutTable is no longer required (since the system
26 memory manager is fully running and available). Lv Zheng.
28 Fixed/Reverted a regression during processing of resource descriptors
29 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
30 exception in this case.
32 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
33 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
35 Interpreter: Fixed a possible fault if an Alias operator with an invalid
36 or duplicate target is encountered during Alias creation in
37 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
39 Added an option to use designated initializers for function pointers.
40 Kees Cook <keescook@google.com>
43 2) iASL Compiler/Disassembler and Tools:
45 iASL: Allow compilation of External declarations with target pathnames
46 that refer to existing named objects within the table. Erik Schmauss.
48 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
49 FieldUnit name also is declared via External in the same table. Erik
52 iASL: Allow existing scope names within pathnames used in External
53 statements. For example:
54 External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
57 iASL: IORT ACPI table: Implemented changes required to decode the new
58 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
59 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
61 Disassembler: Don't abort disassembly on errors from External()
62 statements. Erik Schmauss.
64 Disassembler: fixed a possible fault when one of the Create*Field
65 operators references a Resource Template. ACPICA Bugzilla 1396.
67 iASL: In the source code, resolved some naming inconsistences across the
68 parsing support. Fixes confusion between "Parse Op" and "Parse Node".
69 Adds a new file, aslparseop.c
71 ----------------------------------------
72 31 May 2017. Summary of changes for version 20170531:
77 The ACPI specification version 6.2 has been released and is available at
78 http://uefi.org/specifications
80 This version of ACPICA fully supports the ACPI 6.2 specification. Changes
83 New ACPI tables (Table Compiler/Disassembler/Templates):
84 HMAT (Heterogeneous Memory Attributes Table)
85 WSMT (Windows SMM Security Mitigation Table)
86 PPTT (Processor Properties Topology Table)
88 New subtables for existing ACPI tables:
89 HEST (New subtable, Arch-deferred machine check)
90 SRAT (New subtable, Arch-specific affinity structure)
91 PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
93 Simple updates for existing ACPI tables:
94 BGRT (two new flag bits)
95 HEST (New bit defined for several subtables, GHES_ASSIST)
97 New Resource Descriptors and Resource macros (Compiler/Disassembler):
103 New type for hardware error notification (section 18.3.2.9)
105 New predefined names/methods (Compiler/Interpreter):
106 _HMA (Heterogeneous Memory Attributes)
107 _LSI (Label Storage Information)
108 _LSR (Label Storage Read)
109 _LSW (Label Storage Write)
111 ASL grammar/macro changes (Compiler):
112 For() ASL macro, implemented with the AML while operator
113 Extensions to Concatenate operator
114 Support for multiple definition blocks in same ASL file
115 Clarification for Buffer operator
116 Allow executable AML code underneath all scopes (Devices, etc.)
117 Clarification/change for the _OSI return value
118 ASL grammar update for reference operators
119 Allow a zero-length string for AML filename in DefinitionBlock
122 New device object notification value
123 Remove a notify value (0x0C) for graceful shutdown
124 New UUIDs for processor/cache properties and
125 physical package property
126 New _HID, ACPI0014 (Wireless Power Calibration Device)
129 1) ACPICA kernel-resident subsystem:
131 Added support to disable ACPI events on hardware-reduced platforms.
132 Eliminates error messages of the form "Could not enable fixed event". Lv
135 Fixed a problem using Device/Thermal objects with the ObjectType and
136 DerefOf ASL operators. This support had not been fully/properly
139 Fixed a problem where if a Buffer object containing a resource template
140 was longer than the actual resource template, an error was generated --
141 even though the AML is legal. This case has been seen in the field.
143 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
144 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
146 Added header file changes for the TPM2 ACPI table. Update to new version
147 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
149 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
150 These interfaces are intended to be used only in conjunction with the
151 predefined _DLM method (Device Lock Method). "This object appears in a
152 device scope when AML access to the device must be synchronized with the
155 Example Code and Data Size: These are the sizes for the OS-independent
156 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
157 debug version of the code includes the debug output trace mechanism and
158 has a much larger code and data size.
161 Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
162 Debug Version: 204.0K Code, 84.3K Data, 288.3K Total
164 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
165 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
168 2) iASL Compiler/Disassembler and Tools:
170 iASL: Fixed a problem where an External() declaration could not refer to
171 a Field Unit. Erik Schmauss.
173 Disassembler: Improved support for the Switch/Case operators. This
174 feature will disassemble AML code back to the original Switch operators
175 when possible, instead of an If..Else sequence. David Box
177 iASL and disassembler: Improved the handling of multiple extraneous
178 parentheses for both ASL input and disassembled ASL output.
180 Improved the behavior of the iASL compiler and disassembler to detect
181 improper use of external declarations
183 Disassembler: Now aborts immediately upon detection of an unknown AML
184 opcode. The AML parser has no real way to recover from this, and can
185 result in the creation of an ill-formed parse tree that causes errors
186 later during the disassembly.
188 All tools: Fixed a problem where the Unix application OSL did not handle
189 control-c correctly. For example, a control-c could incorrectly wake the
192 AcpiExec: Improved the Control-C handling and added a handler for
193 segmentation faults (SIGSEGV). Supports both Windows and Unix-like
196 Reduced the verbosity of the generic unix makefiles. Previously, each
197 compilation displayed the full set of compiler options. This has been
198 eliminated as the options are easily inspected within the makefiles. Each
199 compilation now results in a single line of output.
201 ----------------------------------------
202 03 March 2017. Summary of changes for version 20170303:
207 The licensing information at the start of each source code module has
208 been updated. In addition to the Intel license, the dual GPLv2/BSD
209 license has been added for completeness. Now, a single version of the
210 source code should be suitable for all ACPICA customers. This is the
211 major change for this release since it affects all source code modules.
214 1) ACPICA kernel-resident subsystem:
216 Fixed two issues with the common asltypes.h header that could cause
217 problems in some environments: (Kim Jung-uk)
218 Removed typedef for YY_BUFFER_STATE ?
219 Fixes an error with earlier versions of Flex.
220 Removed use of FILE typedef (which is only defined in stdio.h)
223 2) iASL Compiler/Disassembler and Tools:
225 Disassembler: fixed a regression introduced in 20170224. A fix for a
226 memory leak related to resource descriptor tags (names) could fault when
227 the disassembler was generated with 64-bit compilers.
229 The ASLTS test suite has been updated to implement a new testing
230 architecture. During generation of the suite from ASL source, both the
231 ASL and ASL+ compilers are now validated, as well as the disassembler
232 itself (Erik Schmauss). The architecture executes as follows:
234 For every ASL source module:
235 Compile (legacy ASL compilation)
236 Disassemble the resulting AML to ASL+ source code
237 Compile the new ASL+ module
238 Perform a binary compare on the legacy AML and the new ASL+ AML
239 The ASLTS suite then executes normally using the AML binaries.
241 ----------------------------------------
242 24 February 2017. Summary of changes for version 20170224:
245 1) ACPICA kernel-resident subsystem:
247 Interpreter: Fixed two issues with the control method return value auto-
248 repair feature, where an attempt to double-delete an internal object
249 could result in an ACPICA warning (for _CID repair and others). No fault
250 occurs, however, because the attempted deletion (actually a release to an
251 internal cache) is detected and ignored via object poisoning.
253 Debugger: Fixed an AML interpreter mutex issue during the single stepping
254 of control methods. If certain debugger commands are executed during
255 stepping, a mutex aquire/release error could occur. Lv Zheng.
257 Fixed some issues generating ACPICA with the Intel C compiler by
258 restoring the original behavior and compiler-specific include file in
261 Example Code and Data Size: These are the sizes for the OS-independent
262 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
263 debug version of the code includes the debug output trace mechanism and
264 has a much larger code and data size.
267 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
268 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
270 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
271 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
274 2) iASL Compiler/Disassembler and Tools:
276 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
277 tool has been designed, implemented, and included in this release. The
278 key feature of this utility is that the original comments within the
279 input ASL file are preserved during the conversion process, and included
280 within the converted ASL+ file -- thus creating a transparent conversion
281 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
283 Usage: iasl -ca <ASL-filename> // Output is a .dsl file with
286 iASL/Disassembler: Improved the detection and correct disassembly of
287 Switch/Case operators. This feature detects sequences of if/elseif/else
288 operators that originated from ASL Switch/Case/Default operators and
289 emits the original operators. David Box.
291 iASL: Improved the IORT ACPI table support in the following areas. Lv
293 Clear MappingOffset if the MappingCount is zero.
294 Fix the disassembly of the SMMU GSU interrupt offset.
295 Update the template file for the IORT table.
297 Disassembler: Enhanced the detection and disassembly of resource
298 template/descriptor within a Buffer object. An EndTag descriptor is now
299 required to have a zero second byte, since all known ASL compilers emit
300 this. This helps eliminate incorrect decisions when a buffer is
301 disassembled (false positives on resource templates).
303 ----------------------------------------
304 19 January 2017. Summary of changes for version 20170119:
307 1) General ACPICA software:
309 Entire source code base: Added the 2017 copyright to all source code
310 legal/licensing module headers and utility/tool signons. This includes
311 the standard Linux dual-license header. This affects virtually every file
312 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
313 the ACPICA test suite.
316 2) iASL Compiler/Disassembler and Tools:
318 iASL: Removed/fixed an inadvertent remark when a method argument
319 containing a reference is used as a target operand within the method (and
320 never used as a simple argument), as in the example below. Jeffrey Hugo.
322 dsdt.asl 1507: Store(0x1, Arg0)
323 Remark 2146 - ^ Method Argument is never used (Arg0)
325 All tools: Removed the bit width of the compiler that generated the tool
326 from the common signon for all user space tools. This proved to be
327 confusing and unnecessary. This includes similar removal of HARDWARE_NAME
328 from the generic makefiles (Thomas Petazzoni). Example below.
331 ASL+ Optimizing Compiler version 20170119-32
332 ASL+ Optimizing Compiler version 20170119-64
335 ASL+ Optimizing Compiler version 20170119
337 ----------------------------------------
338 22 December 2016. Summary of changes for version 20161222:
341 1) ACPICA kernel-resident subsystem:
343 AML Debugger: Implemented a new mechanism to simplify and enhance
344 debugger integration into all environments, including kernel debuggers
345 and user-space utilities, as well as remote debug services. This
346 mechanism essentially consists of new OSL interfaces to support debugger
347 initialization/termination, as well as wait/notify interfaces to perform
348 the debugger handshake with the host. Lv Zheng.
351 AcpiOsInitializeDebugger (void)
352 AcpiOsTerminateDebugger (void)
353 AcpiOsWaitCommandReady (void)
354 AcpiOsNotifyCommandComplete (void)
356 New OS services layer:
357 osgendbg.c -- Example implementation, and used for AcpiExec
359 Update for Generic Address Space (GAS) support: Although the AccessWidth
360 and/or BitOffset fields of the GAS are not often used, this change now
361 fully supports these fields. This affects the internal support for FADT
362 registers, registers in other ACPI data tables, and the AcpiRead and
363 AcpiWrite public interfaces. Lv Zheng.
365 Sleep support: In order to simplify integration of ACPI sleep for the
366 various host operating systems, a new OSL interface has been introduced.
367 AcpiOsEnterSleep allows the host to perform any required operations
368 before the final write to the sleep control register(s) is performed by
372 AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
374 Called from these internal interfaces:
378 EFI support: Added a very small EFI/ACPICA example application. Provides
379 a simple demo for EFI integration, as well as assisting with resolution
380 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
382 source/tools/efihello/efihello.c
384 Local C library: Implemented several new functions to enhance ACPICA
385 portability, for environments where these clib functions are not
386 available (such as EFI). Lv Zheng:
393 Fixed a regression where occasionally a valid resource descriptor was
394 incorrectly detected as invalid at runtime, and a
395 AE_AML_NO_RESOURCE_END_TAG was returned.
397 Fixed a problem with the recently implemented support that enables
398 control method invocations as Target operands to many ASL operators.
399 Warnings of this form: "Needed type [Reference], found [Processor]" were
400 seen at runtime for some method invocations.
402 Example Code and Data Size: These are the sizes for the OS-independent
403 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
404 debug version of the code includes the debug output trace mechanism and
405 has a much larger code and data size.
408 Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
409 Debug Version: 201.7K Code, 82.7K Data, 284.4K Total
411 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
412 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
415 2) iASL Compiler/Disassembler and Tools:
417 Disassembler: Enhanced output by adding the capability to detect and
418 disassemble ASL Switch/Case statements back to the original ASL source
419 code instead of if/else blocks. David Box.
421 AcpiHelp: Split a large file into separate files based upon
422 functionality/purpose. New files are:
426 ----------------------------------------
427 17 November 2016. Summary of changes for version 20161117:
430 1) ACPICA kernel-resident subsystem:
432 Table Manager: Fixed a regression introduced in 20160729, "FADT support
433 cleanup". This was an attempt to remove all references in the source to
434 the FADT version 2, which never was a legal version number. It was
435 skipped because it was an early version of 64-bit support that was
436 eventually abandoned for the current 64-bit support.
438 Interpreter: Fixed a problem where runtime implicit conversion was
439 incorrectly disabled for the ASL operators below. This brings the
440 behavior into compliance with the ACPI specification:
448 Table Manager: Added a new public interface, AcpiPutTable, used to
449 release and free an ACPI table returned by AcpiGetTable and related
450 interfaces. Lv Zheng.
452 Example Code and Data Size: These are the sizes for the OS-independent
453 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
454 debug version of the code includes the debug output trace mechanism and
455 has a much larger code and data size.
458 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
459 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
461 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
462 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
465 2) iASL Compiler/Disassembler and Tools:
467 Disassembler: Fixed a regression for disassembly of Resource Template.
468 Detection of templates in the AML stream missed some types of templates.
470 iASL: Fixed a problem where an Access Size error was returned for the PCC
471 address space when the AccessSize of the GAS register is greater than a
474 iASL: Implemented several grammar changes for the operators below. These
475 changes are slated for the next version of the ACPI specification:
476 RefOf - Disallow method invocation as an operand
477 CondRefOf - Disallow method invocation as an operand
478 DerefOf - Disallow operands that use the result from operators
480 do not return a reference (Changed TermArg to
483 iASL: Control method invocations are now allowed for Target operands, as
484 per the ACPI specification. Removed error for using a control method
485 invocation as a Target operand.
487 Disassembler: Improved detection of Resource Templates, Unicode, and
488 Strings within Buffer objects. These subtypes do not contain a specific
489 opcode to indicate the originating ASL code, and they must be detected by
490 other means within the disassembler.
492 iASL: Implemented an optimization improvement for 32-bit ACPI tables
493 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
494 only after 64-bit to 32-bit truncation. A truncation warning message is
495 still emitted, however.
497 AcpiXtract: Implemented handling for both types of line terminators (LF
498 or CR/LF) so that it can accept AcpiDump output files from any system.
501 AcpiBin: Added two new options for comparing AML files:
502 -a: compare and display ALL mismatches
503 -o: start compare at this offset into the second file
505 ----------------------------------------
506 30 September 2016. Summary of changes for version 20160930:
509 1) ACPICA kernel-resident subsystem:
511 Fixed a regression in the internal AcpiTbFindTable function where a non
512 AE_OK exception could inadvertently be returned even if the function did
513 not fail. This problem affects the following operators:
517 Fixed a regression in the LoadTable operator where a load to any
518 namespace location other than the root no longer worked properly.
520 Increased the maximum loop count value that will result in the
521 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
522 prevent infinite loops within the AML interpreter and thus the host OS
523 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
526 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
527 acpixf.h file. This allows hosts to easily configure the maximum loop
530 Removed an illegal character in the strtoul64.c file. This character
531 caused errors with some C compilers.
533 Example Code and Data Size: These are the sizes for the OS-independent
534 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
535 debug version of the code includes the debug output trace mechanism and
536 has a much larger code and data size.
539 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
540 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
542 Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
543 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
546 2) iASL Compiler/Disassembler and Tools:
548 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
549 the simpler ASL ElseIf keyword. During the conversion, a trailing If
550 block could be lost and missing from the disassembled output.
552 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
553 the missing rule caused a parse error when using the Index operator as an
554 operand to ObjectType. This construct now compiles properly. Example:
557 iASL: Correctly handle unresolved symbols in the hardware map file (-lm
558 option). Previously, unresolved symbols could cause a protection fault.
559 Such symbols are now marked as unresolved in the map file.
561 iASL: Implemented support to allow control method invocations as an
562 operand to the ASL DeRefOf operator. Example:
563 DeRefOf(MTH1(Local0))
565 Disassembler: Improved support for the ToPLD ASL macro. Detection of a
566 possible _PLD buffer now includes examination of both the normal buffer
567 length (16 or 20) as well as the surrounding AML package length.
569 Disassembler: Fixed a problem with the decoding of complex expressions
570 within the Divide operator for ASL+. For the case where both the quotient
571 and remainder targets are specified, the entire statement cannot be
572 disassembled. Previously, the output incorrectly contained a mix of ASL-
573 and ASL+ operators. This mixed statement causes a syntax error when
575 Divide (Add (INT1, 6), 128, RSLT, QUOT) // was incorrectly
577 Divide (INT1 + 6, 128, RSLT, QUOT)
579 iASL/Tools: Added support to process AML and non-AML ACPI tables
580 consistently. For the disassembler and AcpiExec, allow all types of ACPI
581 tables (AML and data tables). For the iASL -e option, allow only AML
584 ----------------------------------------
585 31 August 2016. Summary of changes for version 20160831:
588 1) ACPICA kernel-resident subsystem:
590 Improve support for the so-called "module-level code", which is defined
591 to be math, logical and control AML opcodes that appear outside of any
592 control method. This change improves the support by adding more opcodes
593 that can be executed in the manner. Some other issues have been solved,
594 and the ASL grammar changes to support such code under all scope
595 operators (Device, etc.) are complete. Lv Zheng.
597 UEFI support: these OSL functions have been implemented. This is an
598 additional step toward supporting the AcpiExec utility natively (with
599 full hardware access) under UEFI. Marcelo Ferreira.
600 AcpiOsReadPciConfiguration
601 AcpiOsWritePciConfiguration
603 Fixed a possible mutex error during control method auto-serialization. Lv
606 Updated support for the Generic Address Structure by fully implementing
607 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
610 Updated the return value for the internal _OSI method. Instead of
611 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
612 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
613 implementations, and will be reflected and clarified in the next version
614 of the ACPI specification.
616 Implemented two new table events that can be passed to an ACPICA table
617 handler. These events are used to indicate a table installation or
618 uninstallation. These events are used in addition to existed table load
619 and unload events. Lv Zheng.
621 Implemented a cleanup for all internal string-to-integer conversions.
622 Consolidate multiple versions of this functionality and limit possible
623 bases to either 10 or 16 to simplify the code. Adds a new file,
626 Cleanup the inclusion order of the various compiler-specific headers.
627 This simplifies build configuration management. The compiler-specific
628 headers are now split out from the host-specific headers. Lv Zheng.
630 Example Code and Data Size: These are the sizes for the OS-independent
631 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
632 debug version of the code includes the debug output trace mechanism and
633 has a much larger code and data size.
636 Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
637 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
640 2) iASL Compiler/Disassembler and Tools:
642 iASL/AcpiExec: Added a command line option to display the build date/time
643 of the tool (-vd). This can be useful to verify that the correct version
644 of the tools are being used.
646 AML Debugger: Implemented a new subcommand ("execute predef") to execute
647 all predefined control methods and names within the current namespace.
648 This can be useful for debugging problems with ACPI tables and the ACPI
651 ----------------------------------------
652 29 July 2016. Summary of changes for version 20160729:
655 1) ACPICA kernel-resident subsystem:
657 Implemented basic UEFI support for the various ACPICA tools. This
659 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
660 2) Support to obtain the ACPI tables on UEFI.
661 3) Local implementation of required C library functions not available on
663 4) A front-end (main) function for the tools for UEFI-related
666 The initial deployment of this support is the AcpiDump utility executing
667 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
668 Current environments supported are Linux/Unix. MSVC generation is not
669 supported at this time. See the generate/efi/README file for build
670 instructions. Lv Zheng.
672 Future plans include porting the AcpiExec utility to execute natively on
673 the platform with I/O and memory access. This will allow viewing/dump of
674 the platform namespace and native execution of ACPI control methods that
675 access the actual hardware. To fully implement this support, the OSL
676 functions below must be implemented with UEFI interfaces. Any community
677 help in the implementation of these functions would be appreciated:
682 AcpiOsReadPciConfiguration
683 AcpiOsWritePciConfiguration
685 Restructured and standardized the C library configuration for ACPICA,
686 resulting in the various configuration options below. This includes a
687 global restructuring of the compiler-dependent and platform-dependent
688 include files. These changes may affect the existing platform-dependent
689 configuration files on some hosts. Lv Zheng.
691 The current C library configuration options appear below. For any issues,
692 it may be helpful to examine the existing compiler-dependent and
693 platform-dependent files as examples. Lv Zheng.
696 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
698 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
699 2) Unix/Windows/BSD applications:
700 ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
702 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
703 3) UEFI applications:
704 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
706 ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
707 4) UEFI applications (EDK2/StdLib):
708 ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
709 ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
712 AML interpreter: "module-level code" support. Allows for execution of so-
713 called "executable" AML code (math/logical operations, etc.) outside of
714 control methods not just at the module level (top level) but also within
715 any scope declared outside of a control method - Scope{}, Device{},
716 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
718 Simplified the configuration of the "maximum AML loops" global option by
719 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
723 Example Code and Data Size: These are the sizes for the OS-independent
724 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
725 debug version of the code includes the debug output trace mechanism and
726 has a much larger code and data size.
729 Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
730 Debug Version: 199.0K Code, 81.8K Data, 280.8K Total
733 2) iASL Compiler/Disassembler and Tools:
735 iASL: Add full support for the RASF ACPI table (RAS Features Table).
736 Includes disassembler, data table compiler, and header support.
738 iASL Expand "module-level code" support. Allows for
739 compilation/disassembly of so-called "executable" AML code (math/logical
740 operations, etc.) outside of control methods not just at the module level
741 (top level) but also within any scope declared outside of a control
742 method - Scope{}, Device{}, Processor{}, PowerResource{}, and
745 AcpiDump: Added support for dumping all SSDTs on newer versions of
746 Windows. These tables are now easily available -- SSDTs are not available
747 through the registry on older versions.
749 ----------------------------------------
750 27 May 2016. Summary of changes for version 20160527:
753 1) ACPICA kernel-resident subsystem:
755 Temporarily reverted the new arbitrary bit length/alignment support in
756 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
757 a number of regressions with the new code that need to be fully resolved
758 and tested before this support can be finally integrated into ACPICA.
759 Apologies for any inconveniences these issues may have caused.
761 The ACPI message macros are not configurable (ACPI_MSG_ERROR,
762 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
763 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
765 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
766 option. Adds a new return macro, return_STR. Junk-uk Kim.
768 Example Code and Data Size: These are the sizes for the OS-independent
769 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
770 debug version of the code includes the debug output trace mechanism and
771 has a much larger code and data size.
774 Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
775 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
777 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
778 Debug Version: 200.9K Code, 82.2K Data, 283.1K Total
780 ----------------------------------------
781 22 April 2016. Summary of changes for version 20160422:
783 1) ACPICA kernel-resident subsystem:
785 Fixed a regression in the GAS (generic address structure) arbitrary bit
786 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
787 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
789 ACPI 6.0: Added support for new/renamed resource macros. One new argument
790 was added to each of these macros, and the original name has been
791 deprecated. The AML disassembler will always disassemble to the new
792 names. Support for the new macros was added to iASL, disassembler,
793 resource manager, and the acpihelp utility. ACPICA BZ 1274.
795 I2cSerialBus -> I2cSerialBusV2
796 SpiSerialBus -> SpiSerialBusV2
797 UartSerialBus -> UartSerialBusV2
799 ACPI 6.0: Added support for a new integer field that was appended to the
800 package object returned by the _BIX method. This adds iASL compile-time
801 and AML runtime error checking. ACPICA BZ 1273.
803 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
804 Subspace Type2" (Headers, Disassembler, and data table compiler).
806 Example Code and Data Size: These are the sizes for the OS-independent
807 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
808 debug version of the code includes the debug output trace mechanism and
809 has a much larger code and data size.
812 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
813 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
815 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
816 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
819 2) iASL Compiler/Disassembler and Tools:
821 iASL: Implemented an ASL grammar extension to allow/enable executable
822 "module-level code" to be created and executed under the various
823 operators that create new scopes. This type of AML code is already
824 supported in all known AML interpreters, and the grammar change will
825 appear in the next version of the ACPI specification. Simplifies the
826 conditional runtime creation of named objects under these object types:
834 iASL: Implemented a new ASL extension, a "For" loop macro to add greater
835 ease-of-use to the ASL language. The syntax is similar to the
836 corresponding C operator, and is implemented with the existing AML While
837 opcode -- thus requiring no changes to existing AML interpreters.
839 For (Initialize, Predicate, Update) {TermList}
844 Initializer // Nothing | TermArg => ComputationalData
845 Predicate // Nothing | TermArg => ComputationalData
846 Update // Nothing | TermArg => ComputationalData
850 iASL: The _HID/_ADR detection and validation has been enhanced to search
851 under conditionals in order to allow these objects to be conditionally
854 iASL: Fixed several issues with the constant folding feature. The
855 improvement allows better detection and resolution of statements that can
856 be folded at compile time. ACPICA BZ 1266.
858 iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
859 conversion to the ASL ElseIf operator where incorrect ASL code could be
862 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
863 sometimes an extra (and extraneous) set of parentheses were emitted for
864 some combinations of operators. Although this did not cause any problems
865 with recompilation of the disassembled code, it made the code more
866 difficult to read. David Box. ACPICA BZ 1231.
868 iASL: Changed to ignore the unreferenced detection for predefined names
869 of resource descriptor elements, when the resource descriptor is
870 created/defined within a control method.
872 iASL: Disassembler: Fix a possible fault with externally declared Buffer
875 ----------------------------------------
876 18 March 2016. Summary of changes for version 20160318:
878 1) ACPICA kernel-resident subsystem:
880 Added support for arbitrary bit lengths and bit offsets for registers
881 defined by the Generic Address Structure. Previously, only aligned bit
882 lengths of 8/16/32/64 were supported. This was sufficient for many years,
883 but recently some machines have been seen that require arbitrary bit-
884 level support. ACPICA BZ 1240. Lv Zheng.
886 Fixed an issue where the \_SB._INI method sometimes must be evaluated
887 before any _REG methods are evaluated. Lv Zheng.
889 Implemented several changes related to ACPI table support
890 (Headers/Disassembler/TableCompiler):
891 NFIT: For ACPI 6.1, updated to add some additional new fields and
893 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
895 DMAR: Added new constants per the 10/2014 DMAR spec.
896 IORT: Added new subtable per the 10/2015 IORT spec.
897 HEST: For ACPI 6.1, added new constants and new subtable.
898 DBG2: Added new constants per the 12/2015 DBG2 spec.
899 FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
901 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
903 Updated header support for the DMAR table to match the current version of
906 Added extensions to the ASL Concatenate operator to allow any ACPI object
907 to be passed as an operand. Any object other than Integer/String/Buffer
908 simply returns a string containing the object type. This extends the
909 usefulness of the Printf macros. Previously, Concatenate would abort the
910 control method if a non-data object was encountered.
912 ACPICA source code: Deployed the C "const" keyword across the source code
913 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
915 Example Code and Data Size: These are the sizes for the OS-independent
916 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
917 debug version of the code includes the debug output trace mechanism and
918 has a much larger code and data size.
921 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
922 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
924 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
925 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
928 2) iASL Compiler/Disassembler and Tools:
930 iASL/Disassembler: Improved the heuristic used to determine the number of
931 arguments for an externally defined control method (a method in another
932 table). Although this is an improvement, there is no deterministic way to
933 "guess" the number of method arguments. Only the ACPI 6.0 External opcode
934 will completely solve this problem as it is deployed (automatically) in
937 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
938 statements that could cause errors when the disassembled file is
939 compiled. ACPICA BZ 1243. David Box.
941 iASL: Fixed a regression caused by the merger of the two versions of the
942 local strtoul64. Because of a dependency on a global variable, strtoul64
943 could return an error for integers greater than a 32-bit value. ACPICA BZ
946 iASL: Fixed a regression where a fault could occur for an ASL Return
947 statement if it invokes a control method that is not resolved. ACPICA BZ
950 AcpiXtract: Improved input file validation: detection of binary files and
951 non-acpidump text files.
953 ----------------------------------------
954 12 February 2016. Summary of changes for version 20160212:
956 1) ACPICA kernel-resident subsystem:
958 Implemented full support for the ACPI 6.1 specification (released in
959 January). This version of the specification is available at:
960 http://www.uefi.org/specifications
962 Only a relatively small number of changes were required in ACPICA to
963 support ACPI 6.1, in these areas:
964 - New predefined names
966 - A new subtable for HEST
967 - A few other header changes for new values
969 Ensure \_SB_._INI is executed before any _REG methods are executed. There
970 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
972 Reverted a change made in version 20151218 which enabled method
973 invocations to be targets of various ASL operators (SuperName and Target
974 grammar elements). While the new behavior is supported by the ACPI
975 specification, other AML interpreters do not support this behavior and
976 never will. The ACPI specification will be updated for ACPI 6.2 to remove
977 this support. Therefore, the change was reverted to the original ACPICA
980 ACPICA now supports the GCC 6 compiler.
982 Current Release: (Note: build changes increased sizes)
983 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
984 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
986 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
987 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
990 2) iASL Compiler/Disassembler and Tools:
992 Completed full support for the ACPI 6.0 External() AML opcode. The
993 compiler emits an external AML opcode for each ASL External statement.
994 This opcode is used by the disassembler to assist with the disassembly of
995 external control methods by specifying the required number of arguments
996 for the method. AML interpreters do not use this opcode. To ensure that
997 interpreters do not even see the opcode, a block of one or more external
998 opcodes is surrounded by an "If(0)" construct. As this feature becomes
999 commonly deployed in BIOS code, the ability of disassemblers to correctly
1000 disassemble AML code will be greatly improved. David Box.
1002 iASL: Implemented support for an optional cross-reference output file.
1003 The -lx option will create a the cross-reference file with the suffix
1004 "xrf". Three different types of cross-reference are created in this file:
1005 - List of object references made from within each control method
1006 - Invocation (caller) list for each user-defined control method
1007 - List of references to each non-method object in the namespace
1009 iASL: Method invocations as ASL Target operands are now disallowed and
1010 flagged as errors in preparation for ACPI 6.2 (see the description of the
1013 ----------------------------------------
1014 8 January 2016. Summary of changes for version 20160108:
1016 1) ACPICA kernel-resident subsystem:
1018 Updated all ACPICA copyrights and signons to 2016: Added the 2016
1019 copyright to all source code module headers and utility/tool signons.
1020 This includes the standard Linux dual-license header. This affects
1021 virtually every file in the ACPICA core subsystem, iASL compiler, all
1022 ACPICA utilities, and the ACPICA test suite.
1024 Fixed a regression introduced in version 20151218 concerning the
1025 execution of so-called module-level ASL/AML code. Namespace objects
1026 created under a module-level If() construct were not properly/fully
1027 entered into the namespace and could cause an interpreter fault when
1030 Example Code and Data Size: These are the sizes for the OS-independent
1031 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1032 debug version of the code includes the debug output trace mechanism and
1033 has a much larger code and data size.
1036 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
1037 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
1039 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1040 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
1043 2) iASL Compiler/Disassembler and Tools:
1045 Fixed a problem with the compilation of the GpioIo and GpioInt resource
1046 descriptors. The _PIN field name was incorrectly defined to be an array
1047 of 32-bit values, but the _PIN values are in fact 16 bits each. This
1048 would cause incorrect bit width warnings when using Word (16-bit) fields
1049 to access the descriptors.
1052 ----------------------------------------
1053 18 December 2015. Summary of changes for version 20151218:
1055 1) ACPICA kernel-resident subsystem:
1057 Implemented per-AML-table execution of "module-level code" as individual
1058 ACPI tables are loaded into the namespace during ACPICA initialization.
1059 In other words, any module-level code within an AML table is executed
1060 immediately after the table is loaded, instead of batched and executed
1061 after all of the tables have been loaded. This provides compatibility
1062 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
1065 To fully support the feature above, the default operation region handlers
1066 for the SystemMemory, SystemIO, and PCI_Config address spaces are now
1067 installed before any ACPI tables are loaded. This enables module-level
1068 code to access these address spaces during the table load and module-
1069 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
1072 Implemented several changes to the internal _REG support in conjunction
1073 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
1074 utilities for the changes above. Although these tools were changed, host
1075 operating systems that simply use the default handlers for SystemMemory,
1076 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
1078 For example, in the code below, DEV1 is conditionally added to the
1079 namespace by the DSDT via module-level code that accesses an operation
1080 region. The SSDT references DEV1 via the Scope operator. DEV1 must be
1081 created immediately after the DSDT is loaded in order for the SSDT to
1082 successfully reference DEV1. Previously, this code would cause an
1083 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
1084 fully supported by ACPICA.
1086 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
1088 OperationRegion (OPR1, SystemMemory, 0x400, 32)
1089 Field (OPR1, AnyAcc, NoLock, Preserve)
1100 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
1102 External (\DEV1, DeviceObj)
1108 Fixed an AML interpreter problem where control method invocations were
1109 not handled correctly when the invocation was itself a SuperName argument
1110 to another ASL operator. In these cases, the method was not invoked.
1111 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
1116 Decrement, Increment
1119 Signal, Release, Reset
1122 Implemented automatic String-to-ObjectReference conversion support for
1123 packages returned by predefined names (such as _DEP). A common BIOS error
1124 is to add double quotes around an ObjectReference namepath, which turns
1125 the reference into an unexpected string object. This support detects the
1126 problem and corrects it before the package is returned to the caller that
1127 invoked the method. Lv Zheng.
1129 Implemented extensions to the Concatenate operator. Concatenate now
1130 accepts any type of object, it is not restricted to simply
1131 Integer/String/Buffer. For objects other than these 3 basic data types,
1132 the argument is treated as a string containing the name of the object
1133 type. This expands the utility of Concatenate and the Printf/Fprintf
1134 macros. ACPICA BZ 1222.
1136 Cleaned up the output of the ASL Debug object. The timer() value is now
1137 optional and no longer emitted by default. Also, the basic data types of
1138 Integer/String/Buffer are simply emitted as their values, without a data
1139 type string -- since the data type is obvious from the output. ACPICA BZ
1142 Example Code and Data Size: These are the sizes for the OS-independent
1143 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1144 debug version of the code includes the debug output trace mechanism and
1145 has a much larger code and data size.
1148 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
1149 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
1151 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1152 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
1155 2) iASL Compiler/Disassembler and Tools:
1157 iASL: Fixed some issues with the ASL Include() operator. This operator
1158 was incorrectly defined in the iASL parser rules, causing a new scope to
1159 be opened for the code within the include file. This could lead to
1160 several issues, including allowing ASL code that is technically illegal
1161 and not supported by AML interpreters. Note, this does not affect the
1162 related #include preprocessor operator. ACPICA BZ 1212.
1164 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
1165 operator is essentially an ASL macro since there is no AML opcode
1166 associated with it. The code emitted by the iASL compiler for ElseIf is
1167 an Else opcode followed immediately by an If opcode. The disassembler
1168 will now emit an ElseIf if it finds an Else immediately followed by an
1169 If. This simplifies the decoded ASL, especially for deeply nested
1170 If..Else and large Switch constructs. Thus, the disassembled code more
1171 closely follows the original source ASL. ACPICA BZ 1211. Example:
1183 ElseIf (Arg0 == 0x02)
1188 AcpiExec: Added support for the new module level code behavior and the
1189 early region installation. This required a small change to the
1190 initialization, since AcpiExec must install its own operation region
1193 AcpiExec: Added support to make the debug object timer optional. Default
1194 is timer disabled. This cleans up the debug object output -- the timer
1195 data is rarely used.
1197 AcpiExec: Multiple ACPI tables are now loaded in the order that they
1198 appear on the command line. This can be important when there are
1199 interdependencies/references between the tables.
1201 iASL/Templates. Add support to generate template files with multiple
1202 SSDTs within a single output file. Also added ommand line support to
1203 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
1207 ----------------------------------------
1208 24 November 2015. Summary of changes for version 20151124:
1210 1) ACPICA kernel-resident subsystem:
1212 Fixed a possible regression for a previous update to FADT handling. The
1213 FADT no longer has a fixed table ID, causing some issues with code that
1214 was hardwired to a specific ID. Lv Zheng.
1216 Fixed a problem where the method auto-serialization could interfere with
1217 the current SyncLevel. This change makes the auto-serialization support
1218 transparent to the SyncLevel support and management.
1220 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
1221 interface is intended for early access to the namespace during the
1222 initial namespace device discovery walk. The _SUB method has been seen to
1223 access operation regions in some cases, causing errors because the
1224 operation regions are not fully initialized.
1226 AML Debugger: Fixed some issues with the terminate/quit/exit commands
1227 that can cause faults. Lv Zheng.
1229 AML Debugger: Add thread ID support so that single-step mode only applies
1230 to the AML Debugger thread. This prevents runtime errors within some
1233 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
1234 methods that are invoked by this interface are optional, removed warnings
1235 emitted for the case where one or more of these methods do not exist.
1236 ACPICA BZ 1208, original change by Prarit Bhargava.
1238 Made a major pass through the entire ACPICA source code base to
1239 standardize formatting that has diverged a bit over time. There are no
1240 functional changes, but this will of course cause quite a few code
1241 differences from the previous ACPICA release.
1243 Example Code and Data Size: These are the sizes for the OS-independent
1244 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1245 debug version of the code includes the debug output trace mechanism and
1246 has a much larger code and data size.
1249 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1250 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
1252 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1253 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
1256 2) iASL Compiler/Disassembler and Tools:
1258 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
1259 definition blocks within a single ASL file and the resulting AML file.
1260 Support for this type of file was also added to the various tools that
1261 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
1262 example code below shows two definition blocks within the same file:
1264 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
1268 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1272 iASL: Enhanced typechecking for the Name() operator. All expressions for
1273 the value of the named object must be reduced/folded to a single constant
1274 at compile time, as per the ACPI specification (the AML definition of
1277 iASL: Fixed some code indentation issues for the -ic and -ia options (C
1278 and assembly headers). Now all emitted code correctly begins in column 1.
1280 iASL: Added an error message for an attempt to open a Scope() on an
1281 object defined in an SSDT. The DSDT is always loaded into the namespace
1282 first, so any attempt to open a Scope on an SSDT object will fail at
1286 ----------------------------------------
1287 30 September 2015. Summary of changes for version 20150930:
1289 1) ACPICA kernel-resident subsystem:
1291 Debugger: Implemented several changes and bug fixes to assist support for
1292 the in-kernel version of the AML debugger. Lv Zheng.
1293 - Fix the "predefined" command for in-kernel debugger.
1294 - Do not enter debug command loop for the help and version commands.
1295 - Disallow "execute" command during execution/single-step of a method.
1297 Interpreter: Updated runtime typechecking for all operators that have
1298 target operands. The operand is resolved and validated that it is legal.
1299 For example, the target cannot be a non-data object such as a Device,
1300 Mutex, ThermalZone, etc., as per the ACPI specification.
1302 Debugger: Fixed the double-mutex user I/O handshake to work when local
1303 deadlock detection is enabled.
1305 Debugger: limited display of method locals and arguments (LocalX and
1306 ArgX) to only those that have actually been initialized. This prevents
1307 lines of extraneous output.
1309 Updated the definition of the NFIT table to correct the bit polarity of
1310 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1312 Example Code and Data Size: These are the sizes for the OS-independent
1313 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1314 debug version of the code includes the debug output trace mechanism and
1315 has a much larger code and data size.
1318 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1319 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
1321 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1322 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
1325 2) iASL Compiler/Disassembler and Tools:
1327 iASL: Improved the compile-time typechecking for operands of many of the
1330 -- Added an option to disable compiler operand/operator typechecking (-
1333 -- For the following operators, the TermArg operands are now validated
1334 when possible to be Integer data objects: BankField, OperationRegion,
1335 DataTableRegion, Buffer, and Package.
1337 -- Store (Source, Target): Both the source and target operands are
1338 resolved and checked that the operands are both legal. For example,
1339 neither operand can be a non-data object such as a Device, Mutex,
1340 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
1341 operator can be used to store an object to any type of target object.
1343 -- Store (Source, Target): If the source is a Package object, the target
1344 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
1345 is a Package, the source must also be a Package.
1347 -- Store (Source, Target): A warning is issued if the source and target
1348 resolve to the identical named object.
1350 -- Store (Source, <method invocation>): An error is generated for the
1351 target method invocation, as this construct is not supported by the AML
1354 -- For all ASL math and logic operators, the target operand must be a
1355 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
1356 includes the function return value also.
1358 -- External declarations are also included in the typechecking where
1359 possible. External objects defined using the UnknownObj keyword cannot be
1360 typechecked, however.
1362 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
1364 - Legacy code: Index(PKG1, 3)
1365 - New ASL+ code: PKG1[3]
1366 This completes the ACPI 6.0 ASL+ support as it was the only operator not
1369 iASL: Fixed the file suffix for the preprocessor output file (.i). Two
1370 spaces were inadvertently appended to the filename, causing file access
1371 and deletion problems on some systems.
1373 ASL Test Suite (ASLTS): Updated the master makefile to generate all
1374 possible compiler output files when building the test suite -- thus
1375 exercising these features of the compiler. These files are automatically
1376 deleted when the test suite exits.
1379 ----------------------------------------
1380 18 August 2015. Summary of changes for version 20150818:
1382 1) ACPICA kernel-resident subsystem:
1384 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
1385 Zheng. ACPICA BZ 1186.
1387 Completed development to ensure that the ACPICA Disassembler and Debugger
1388 are fully standalone components of ACPICA. Removed cross-component
1389 dependences. Lv Zheng.
1391 The max-number-of-AML-loops is now runtime configurable (previously was
1392 compile-time only). This is essentially a loop timeout to force-abort
1393 infinite AML loops. ACPCIA BZ 1192.
1395 Debugger: Cleanup output to dump ACPI names and namepaths without any
1396 trailing underscores. Lv Zheng. ACPICA BZ 1135.
1398 Removed unnecessary conditional compilations across the Debugger and
1399 Disassembler components where entire modules could be left uncompiled.
1401 The aapits test is deprecated and has been removed from the ACPICA git
1402 tree. The test has never been completed and has not been maintained, thus
1403 becoming rather useless. ACPICA BZ 1015, 794.
1405 A batch of small changes to close bugzilla and other reports:
1406 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1407 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1408 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1409 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob
1411 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
1413 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
1415 - Debugger: Split debugger initialization/termination interfaces. Lv
1417 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table
1419 - AcpiExec: Add debug message during _REG method phase during table
1421 - AcpiNames: Fix a regression where some output was missing and no longer
1423 - Debugger: General cleanup and simplification. Lv Zheng.
1424 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
1426 Example Code and Data Size: These are the sizes for the OS-independent
1427 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1428 debug version of the code includes the debug output trace mechanism and
1429 has a much larger code and data size.
1432 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1433 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
1435 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1436 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
1439 2) iASL Compiler/Disassembler and Tools:
1441 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
1442 were not handled properly and caused load errors. Now, properly invoke
1443 and use the ACPICA auto-reallocate mechanism for ACPI table data
1444 structures. ACPICA BZ 1188
1446 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
1449 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
1450 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
1451 executed during initialization. ACPICA BZ 1187, 1189.
1453 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
1454 that corresponds to each disassembled ASL statement, to simplify
1455 debugging. ACPICA BZ 1191.
1457 Debugger: Add option to the "objects" command to display a summary of the
1458 current namespace objects (Object type and count). This is displayed if
1459 the command is entered with no arguments.
1461 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1464 ----------------------------------------
1465 17 July 2015. Summary of changes for version 20150717:
1467 1) ACPICA kernel-resident subsystem:
1469 Improved the partitioning between the Debugger and Disassembler
1470 components. This allows the Debugger to be used standalone within kernel
1471 code without the Disassembler (which is used for single stepping also).
1472 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1474 Debugger: Implemented a new command to trace the execution of control
1475 methods (Trace). This is especially useful for the in-kernel version of
1476 the debugger when file I/O may not be available for method trace output.
1477 See the ACPICA reference for more information. Lv Zheng.
1479 Moved all C library prototypes (used for the local versions of these
1480 functions when requested) to a new header, acclib.h
1481 Cleaned up the use of non-ANSI C library functions. These functions are
1482 implemented locally in ACPICA. Moved all such functions to a common
1483 source file, utnonansi.c
1485 Debugger: Fixed a problem with the "!!" command (get last command
1486 executed) where the debugger could enter an infinite loop and eventually
1489 Removed the use of local macros that were used for some of the standard C
1490 library functions to automatically cast input parameters. This mostly
1491 affected the is* functions where the input parameter is defined to be an
1492 int. This required a few modifications to the main ACPICA source code to
1493 provide casting for these functions and eliminate possible compiler
1494 warnings for these parameters.
1496 Across the source code, added additional status/error checking to resolve
1497 issues discovered by static source code analysis tools such as Coverity.
1499 Example Code and Data Size: These are the sizes for the OS-independent
1500 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1501 debug version of the code includes the debug output trace mechanism and
1502 has a much larger code and data size.
1505 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1506 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
1508 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1509 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
1512 2) iASL Compiler/Disassembler and Tools:
1514 iASL: Fixed a regression where the device map file feature no longer
1515 worked properly when used in conjunction with the disassembler. It only
1516 worked properly with the compiler itself.
1518 iASL: Implemented a new warning for method LocalX variables that are set
1519 but never used (similar to a C compiler such as gcc). This also applies
1520 to ArgX variables that are not defined by the parent method, and are
1521 instead (legally) used as local variables.
1523 iASL/Preprocessor: Finished the pass-through of line numbers from the
1524 preprocessor to the compiler. This ensures that compiler errors/warnings
1525 have the correct original line numbers and filenames, regardless of any
1528 iASL/Preprocessor: Fixed a couple of issues with comment handling and the
1529 pass-through of comments to the preprocessor output file (which becomes
1530 the compiler input file). Also fixed a problem with // comments that
1531 appear after a math expression.
1533 iASL: Added support for the TCPA server table to the table compiler and
1534 template generator. (The client table was already previously supported)
1536 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
1537 identify the iASL compiler.
1539 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
1540 multiple times. The new names are ACPI_SIGN_NEGATIVE and
1543 AcpiHelp: Update to expand help messages for the iASL preprocessor
1547 ----------------------------------------
1548 19 June 2015. Summary of changes for version 20150619:
1550 Two regressions in version 20150616 have been addressed:
1552 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
1553 etc.) This update changes ACPICA to only use the standard headers for
1554 functions, or the prototypes for the local versions of the C library
1555 functions. Across the source code, this required some additional casts
1556 for some Clib invocations for portability. Moved all local prototypes to
1557 a new file, acclib.h
1559 Fixes several problems with recent changes to the handling of the FACS
1560 table that could cause some systems not to boot.
1563 ----------------------------------------
1564 16 June 2015. Summary of changes for version 20150616:
1567 1) ACPICA kernel-resident subsystem:
1569 Across the entire ACPICA source code base, the various macros for the C
1570 library functions (such as ACPI_STRLEN, etc.) have been removed and
1571 replaced by the standard C library names (strlen, etc.) The original
1572 purpose for these macros is no longer applicable. This simplification
1573 reduces the number of macros used in the ACPICA source code
1574 significantly, improving readability and maintainability.
1576 Implemented support for a new ACPI table, the OSDT. This table, the
1577 "override" SDT, can be loaded directly by the host OS at boot time. It
1578 enables the replacement of existing namespace objects that were installed
1579 via the DSDT and/or SSDTs. The primary purpose for this is to replace
1580 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
1581 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
1584 Added support for systems with (improperly) two FACS tables -- a "32-bit"
1585 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
1586 X field). This change will support both automatically. There continues to
1587 be systems found with this issue. This support requires a change to the
1588 AcpiSetFirmwareWakingVector interface. Also, a public global variable has
1589 been added to allow the host to select which FACS is desired
1590 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
1593 Added a new feature to allow for systems that do not contain an FACS.
1594 Although this is already supported on hardware-reduced platforms, the
1595 feature has been extended for all platforms. The reasoning is that we do
1596 not want to abort the entire ACPICA initialization just because the
1597 system is seriously buggy and has no FACS.
1599 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
1600 not correctly transcribed from the ACPI specification in ACPICA version
1603 Implemented support for the _CLS object in the AcpiGetObjectInfo external
1606 Updated the definitions of the TCPA and TPM2 ACPI tables to the more
1607 recent TCG ACPI Specification, December 14, 2014. Table disassembler and
1608 compiler also updated. Note: The TCPA "server" table is not supported by
1609 the disassembler/table-compiler at this time.
1611 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1613 Example Code and Data Size: These are the sizes for the OS-independent
1614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1615 debug version of the code includes the debug output trace mechanism and
1616 has a much larger code and data size.
1619 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1620 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
1622 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
1623 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
1626 2) iASL Compiler/Disassembler and Tools:
1628 Disassembler: Fixed a problem with the new symbolic operator disassembler
1629 where incorrect ASL code could be emitted in some cases for the "non-
1630 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
1631 ShiftRight. The actual problem cases seem to be rather unusual in common
1632 ASL code, however. David Box.
1634 Modified the linux version of acpidump to obtain ACPI tables from not
1635 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
1638 iASL: Fixed a problem where the user preprocessor output file (.i)
1639 contained extra data that was not expected. The compiler was using this
1640 file as a temporary file and passed through #line directives in order to
1641 keep compiler error messages in sync with the input file and line number
1642 across multiple include files. The (.i) is no longer a temporary file as
1643 the compiler uses a new, different file for the original purpose.
1645 iASL: Fixed a problem where comments within the original ASL source code
1646 file were not passed through to the preprocessor output file, nor any
1649 iASL: Fixed some issues for the handling of the "#include" preprocessor
1650 directive and the similar (but not the same) "Include" ASL operator.
1652 iASL: Add support for the new OSDT in both the disassembler and compiler.
1654 iASL: Fixed a problem with the constant folding support where a Buffer
1655 object could be incorrectly generated (incorrectly formed) during a
1656 conversion to a Store() operator.
1658 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
1659 description text for the _REV predefined name. _REV now permanently
1660 returns 2, as per the ACPI 6.0 specification.
1662 Debugger: Enhanced the output of the Debug ASL object for references
1663 produced by the Index operator. For Buffers and strings, only output the
1664 actual byte pointed to by the index. For packages, only print the single
1665 package element decoded by the index. Previously, the entire
1666 buffer/string/package was emitted.
1668 iASL/Table-compiler: Fixed a regression where the "generic" data types
1669 were no longer recognized, causing errors.
1672 ----------------------------------------
1673 15 May 2015. Summary of changes for version 20150515:
1675 This release implements most of ACPI 6.0 as described below.
1677 1) ACPICA kernel-resident subsystem:
1679 Implemented runtime argument checking and return value checking for all
1680 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
1681 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1683 Example Code and Data Size: These are the sizes for the OS-independent
1684 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1685 debug version of the code includes the debug output trace mechanism and
1686 has a much larger code and data size.
1689 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
1690 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
1692 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
1693 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
1696 2) iASL Compiler/Disassembler and Tools:
1698 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
1699 names (argument count validation and return value typechecking.)
1701 iASL disassembler and table compiler: implemented support for all new
1702 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
1704 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
1707 iASL preprocessor: Added a new directive to enable inclusion of binary
1708 blobs into ASL code. The new directive is #includebuffer. It takes a
1709 binary file as input and emits a named ascii buffer object into the ASL
1712 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1714 AcpiHelp: Added a new option, -d, to display all iASL preprocessor
1717 AcpiHelp: Added a new option, -t, to display all known/supported ACPI
1721 ----------------------------------------
1722 10 April 2015. Summary of changes for version 20150410:
1724 Reverted a change introduced in version 20150408 that caused
1725 a regression in the disassembler where incorrect operator
1726 symbols could be emitted.
1729 ----------------------------------------
1730 08 April 2015. Summary of changes for version 20150408:
1733 1) ACPICA kernel-resident subsystem:
1735 Permanently set the return value for the _REV predefined name. It now
1736 returns 2 (was 5). This matches other ACPI implementations. _REV will be
1737 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
1738 for ACPI 2.0 and later. It should never be used to differentiate or
1739 identify operating systems.
1741 Added the "Windows 2015" string to the _OSI support. ACPICA will now
1742 return TRUE to a query with this string.
1744 Fixed several issues with the local version of the printf function.
1746 Added the C99 compiler option (-std=c99) to the Unix makefiles.
1749 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
1750 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
1752 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1753 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1756 2) iASL Compiler/Disassembler and Tools:
1758 iASL: Implemented an enhancement to the constant folding feature to
1759 transform the parse tree to a simple Store operation whenever possible:
1760 Add (2, 3, X) ==> is converted to: Store (5, X)
1761 X = 2 + 3 ==> is converted to: Store (5, X)
1763 Updated support for the SLIC table (Software Licensing Description Table)
1764 in both the Data Table compiler and the disassembler. The SLIC table
1765 support now conforms to "Microsoft Software Licensing Tables (SLIC and
1766 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
1767 following the ACPI header is now defined to be "Proprietary Data", and as
1768 such, can only be entered or displayed as a hex data block.
1770 Implemented full support for the MSDM table as described in the document
1771 above. Note: The format of MSDM is similar to SLIC. Any MSDM data
1772 following the ACPI header is defined to be "Proprietary Data", and can
1773 only be entered or displayed as a hex data block.
1775 Implemented the -Pn option for the iASL Table Compiler (was only
1776 implemented for the ASL compiler). This option disables the iASL
1779 Disassembler: For disassembly of Data Tables, added a comment field
1780 around the Ascii equivalent data that is emitted as part of the "Raw
1781 Table Data" block. This prevents the iASL Preprocessor from possible
1782 confusion if/when the table is compiled.
1784 Disassembler: Added an option (-df) to force the disassembler to assume
1785 that the table being disassembled contains valid AML. This feature is
1786 useful for disassembling AML files that contain ACPI signatures other
1787 than DSDT or SSDT (such as OEMx or other signatures).
1789 Changes for the EFI version of the tools:
1790 1) Fixed a build error/issue
1791 2) Fixed a cast warning
1793 iASL: Fixed a path issue with the __FILE__ operator by making the
1794 directory prefix optional within the internal SplitInputFilename
1797 Debugger: Removed some unused global variables.
1799 Tests: Updated the makefile for proper generation of the AAPITS suite.
1802 ----------------------------------------
1803 04 February 2015. Summary of changes for version 20150204:
1805 ACPICA kernel-resident subsystem:
1807 Updated all ACPICA copyrights and signons to 2014. Added the 2014
1808 copyright to all module headers and signons, including the standard Linux
1809 header. This affects virtually every file in the ACPICA core subsystem,
1810 iASL compiler, all ACPICA utilities, and the test suites.
1812 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
1813 A raw gpe handling mechanism was created to allow better handling of GPE
1814 storms that aren't easily managed by the normal handler. The raw handler
1815 allows disabling/renabling of the the GPE so that interrupt storms can be
1816 avoided in cases where events cannot be timely serviced. In this
1817 scenario, handlers should use the AcpiSetGpe() API to disable/enable the
1818 GPE. This API will leave the reference counts undisturbed, thereby
1819 preventing unintentional clearing of the GPE when the intent in only to
1820 temporarily disable it. Raw handlers allow enabling and disabling of a
1821 GPE by removing GPE register locking. As such, raw handlers much provide
1822 their own locks while using GPE API's to protect access to GPE data
1826 Events: Always modify GPE registers under the GPE lock.
1827 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
1828 values. Reported as bug by joe.liu@apple.com.
1830 Unix makefiles: Separate option to disable optimizations and
1831 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
1832 NOOPT disable option and creates a separate flag (NOFORTIFY) for this
1833 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
1834 errors when building ACPICA. This allows disabling the option without
1835 also having to disable optimazations.
1839 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1840 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
1843 --------------------------------------
1844 07 November 2014. Summary of changes for version 20141107:
1846 This release is available at https://acpica.org/downloads
1848 This release introduces and implements language extensions to ASL that
1849 provide support for symbolic ("C-style") operators and expressions. These
1850 language extensions are known collectively as ASL+.
1853 1) iASL Compiler/Disassembler and Tools:
1855 Disassembler: Fixed a problem with disassembly of the UartSerialBus
1856 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
1859 Disassembler: Fixed the Unicode macro support to add escape sequences.
1860 All non-printable ASCII values are emitted as escape sequences, as well
1861 as the standard escapes for quote and backslash. Ensures that the
1862 disassembled macro can be correctly recompiled.
1864 iASL: Added Printf/Fprintf macros for formatted output. These macros are
1865 translated to existing AML Concatenate and Store operations. Printf
1866 writes to the ASL Debug object. Fprintf allows the specification of an
1867 ASL name as the target. Only a single format specifier is required, %o,
1868 since the AML interpreter dynamically converts objects to the required
1871 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1872 (Concatenate (Concatenate (Concatenate ("", Arg0),
1873 ": Unexpected value for "), Arg1), ", "), Arg2),
1874 " at line "), Arg3), Debug)
1876 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
1877 Arg0, Arg1, Arg2, Arg3)
1879 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1880 ("", Arg1), ": "), Arg0), " Successful"), STR1)
1882 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
1884 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
1885 ASL parse tree before the AML code is generated. This allows blocks of
1886 ASL code to be removed in order to help locate and identify problem
1887 devices and/or code. David E. Box.
1889 AcpiExec: Added support (-fi) for an optional namespace object
1890 initialization file. This file specifies initial values for namespace
1891 objects as necessary for debugging and testing different ASL code paths
1892 that may be taken as a result of BIOS options.
1895 2) Overview of symbolic operator support for ASL (ASL+)
1896 -------------------------------------------------------
1898 As an extension to the ASL language, iASL implements support for symbolic
1899 (C-style) operators for math and logical expressions. This can greatly
1900 simplify ASL code as well as improve both readability and
1901 maintainability. These language extensions can exist concurrently with
1902 all legacy ASL code and expressions.
1904 The symbolic extensions are 100% compatible with existing AML
1905 interpreters, since no new AML opcodes are created. To implement the
1906 extensions, the iASL compiler transforms the symbolic expressions into
1907 the legacy ASL/AML equivalents at compile time.
1909 Full symbolic expressions are supported, along with the standard C
1910 precedence and associativity rules.
1912 Full disassembler support for the symbolic expressions is provided, and
1913 creates an automatic migration path for existing ASL code to ASL+ code
1914 via the disassembly process. By default, the disassembler now emits ASL+
1915 code with symbolic expressions. An option (-dl) is provided to force the
1916 disassembler to emit legacy ASL code if desired.
1918 Below is the complete list of the currently supported symbolic operators
1919 with examples. See the iASL User Guide for additional information.
1922 ASL+ Syntax Legacy ASL Equivalent
1923 ----------- ---------------------
1927 Z = X + Y Add (X, Y, Z)
1928 Z = X - Y Subtract (X, Y, Z)
1929 Z = X * Y Multiply (X, Y, Z)
1930 Z = X / Y Divide (X, Y, , Z)
1931 Z = X % Y Mod (X, Y, Z)
1932 Z = X << Y ShiftLeft (X, Y, Z)
1933 Z = X >> Y ShiftRight (X, Y, Z)
1934 Z = X & Y And (X, Y, Z)
1935 Z = X | Y Or (X, Y, Z)
1936 Z = X ^ Y Xor (X, Y, Z)
1941 // Logical operators
1943 (X == Y) LEqual (X, Y)
1944 (X != Y) LNotEqual (X, Y)
1945 (X < Y) LLess (X, Y)
1946 (X > Y) LGreater (X, Y)
1947 (X <= Y) LLessEqual (X, Y)
1948 (X >= Y) LGreaterEqual (X, Y)
1949 (X && Y) LAnd (X, Y)
1953 // Assignment and compound assignment operations
1956 X += Y Add (X, Y, X)
1957 X -= Y Subtract (X, Y, X)
1958 X *= Y Multiply (X, Y, X)
1959 X /= Y Divide (X, Y, , X)
1960 X %= Y Mod (X, Y, X)
1961 X <<= Y ShiftLeft (X, Y, X)
1962 X >>= Y ShiftRight (X, Y, X)
1963 X &= Y And (X, Y, X)
1965 X ^= Y Xor (X, Y, X)
1972 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
1973 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
1975 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
1977 And (MEMB, 0xFFFFFFF0, SRMB)
1978 Store (MEMB, Local2)
1979 Store (PDBM, Local1)
1980 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
1982 Or (PDBM, 0x02, PDBM)
1986 If (((R510 & 0x03FB) == 0x02E0) ||
1987 ((R520 & 0x03FB) == 0x02E0) ||
1988 ((R530 & 0x03FB) == 0x02E0) ||
1989 ((R540 & 0x03FB) == 0x02E0))
1991 SRMB = (MEMB & 0xFFFFFFF0)
1994 PDBM &= 0xFFFFFFFFFFFFFFF9
2000 Store (0x1234, Local1)
2001 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
2002 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
2003 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
2004 Store (Index (PKG1, 0x03), Local6)
2005 Store (Add (Local3, Local2), Debug)
2006 Add (Local1, 0x0F, Local2)
2007 Add (Local1, Multiply (Local2, Local3), Local2)
2008 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
2012 Local3 = (((Local1 + TEST) + 0x20) * Local2)
2013 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
2014 Local3 = (Local1 + (TEST + (0x20 * Local2)))
2015 Local6 = Index (PKG1, 0x03)
2016 Debug = (Local3 + Local2)
2017 Local2 = (Local1 + 0x0F)
2018 Local2 = (Local1 + (Local2 * Local3))
2019 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
2022 ----------------------------------------
2023 26 September 2014. Summary of changes for version 20140926:
2025 1) ACPICA kernel-resident subsystem:
2027 Updated the GPIO operation region handler interface (GeneralPurposeIo).
2028 In order to support GPIO Connection objects with multiple pins, along
2029 with the related Field objects, the following changes to the interface
2030 have been made: The Address is now defined to be the offset in bits of
2031 the field unit from the previous invocation of a Connection. It can be
2032 viewed as a "Pin Number Index" into the connection resource descriptor.
2033 The BitWidth is the exact bit width of the field. It is usually one bit,
2034 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
2035 additional information and examples.
2037 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
2038 corresponding _Lxx/_Exx methods are disabled (they may have been enabled
2039 by the firmware), so that they cannot fire until they are enabled via
2040 AcpiUpdateAllGpes. Rafael J. Wysocki.
2042 Added a new return flag for the Event/GPE status interfaces --
2043 AcpiGetEventStatus and AcpiGetGpeStatus. The new
2044 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
2045 GPE currently has a handler associated with it, and can thus actually
2046 affect the system. Lv Zheng.
2048 Example Code and Data Size: These are the sizes for the OS-independent
2049 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2050 debug version of the code includes the debug output trace mechanism and
2051 has a much larger code and data size.
2054 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
2055 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
2057 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
2058 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
2060 2) iASL Compiler/Disassembler and Tools:
2062 iASL: Fixed a memory allocation/free regression introduced in 20140828
2063 that could cause the compiler to crash. This was introduced inadvertently
2064 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
2067 iASL: Removed two error messages that have been found to create false
2068 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
2069 1) Illegal forward reference within a method
2070 2) Illegal reference across two methods
2072 iASL: Implemented a new option (-lm) to create a hardware mapping file
2073 that summarizes all GPIO, I2C, SPI, and UART connections. This option
2074 works for both the compiler and disassembler. See the iASL compiler user
2075 guide for additional information and examples (section 6.4.6).
2077 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
2078 version 2. This corrects the AE_BAD_HEADER exception seen on systems with
2079 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
2081 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
2082 unless STDIN is actually a terminal. Assists with batch-mode processing.
2085 Disassembler/AcpiHelp: Added another large group of recognized _HID
2089 ----------------------------------------
2090 28 August 2014. Summary of changes for version 20140828:
2092 1) ACPICA kernel-resident subsystem:
2094 Fixed a problem related to the internal use of the Timer() operator where
2095 a 64-bit divide could cause an attempted link to a double-precision math
2096 library. This divide is not actually necessary, so the code was
2097 restructured to eliminate it. Lv Zheng.
2099 ACPI 5.1: Added support for the runtime validation of the _DSD package
2100 (similar to the iASL support).
2102 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
2103 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
2105 Example Code and Data Size: These are the sizes for the OS-independent
2106 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2107 debug version of the code includes the debug output trace mechanism and
2108 has a much larger code and data size.
2111 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
2112 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
2114 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
2115 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
2117 2) iASL Compiler/Disassembler and Tools:
2119 AcpiExec: Fixed a problem on unix systems where the original terminal
2120 state was not always properly restored upon exit. Seen when using the -v
2121 option. ACPICA BZ 1104.
2123 iASL: Fixed a problem with the validation of the ranges/length within the
2124 Memory24 resource descriptor. There was a boundary condition when the
2125 range was equal to the (length -1) caused by the fact that these values
2126 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
2128 Disassembler: Fixed a problem with the GpioInt descriptor interrupt
2130 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
2132 now supported properly.
2134 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
2135 in the disassembler, data table compiler, and table template generator.
2137 iASL: Added a requirement for Device() objects that one of either a _HID
2138 or _ADR must exist within the scope of a Device, as per the ACPI
2139 specification. Remove a similar requirement that was incorrectly in place
2140 for the _DSD object.
2142 iASL: Added error detection for illegal named references within control
2143 methods that would cause runtime failures. Now trapped as errors are: 1)
2144 References to objects within a non-parent control method. 2) Forward
2145 references (within a method) -- for control methods, AML interpreters use
2146 a one-pass parse of control methods. ACPICA BZ 1008.
2148 iASL: Added error checking for dependencies related to the _PSx power
2149 methods. ACPICA BZ 1029.
2150 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
2152 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
2155 iASL and table compiler: Cleanup miscellaneous memory leaks by fully
2156 deploying the existing object and string caches and adding new caches for
2159 iASL: Split the huge parser source file into multiple subfiles to improve
2160 manageability. Generation now requires the M4 macro preprocessor, which
2161 is part of the Bison distribution on both unix and windows platforms.
2163 AcpiSrc: Fixed and removed all extraneous warnings generated during
2164 entire ACPICA source code scan and/or conversion.
2167 ----------------------------------------
2169 24 July 2014. Summary of changes for version 20140724:
2171 The ACPI 5.1 specification has been released and is available at:
2172 http://uefi.org/specs/access
2175 0) ACPI 5.1 support in ACPICA:
2177 ACPI 5.1 is fully supported in ACPICA as of this release.
2179 New predefined names. Support includes iASL and runtime ACPICA
2181 _CCA (Cache Coherency Attribute).
2182 _DSD (Device-Specific Data). David Box.
2184 Modifications to existing ACPI tables. Support includes headers, iASL
2185 Data Table compiler, disassembler, and the template generator.
2186 FADT - New fields and flags. Graeme Gregory.
2187 GTDT - One new subtable and new fields. Tomasz Nowicki.
2188 MADT - Two new subtables. Tomasz Nowicki.
2189 PCCT - One new subtable.
2192 New notification type for System Resource Affinity change events.
2195 1) ACPICA kernel-resident subsystem:
2197 Fixed a regression introduced in 20140627 where a fault can happen during
2198 the deletion of Alias AML namespace objects. The problem affected both
2199 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2201 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
2202 simple mechanism to enable wake GPEs that have no associated handler or
2203 control method. Rafael Wysocki.
2205 Updated the AcpiEnableGpe interface to disallow the enable if there is no
2206 handler or control method associated with the particular GPE. This will
2207 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2209 Updated GPE handling and dispatch by disabling the GPE before clearing
2210 the status bit for edge-triggered GPEs. Lv Zheng.
2212 Added Timer() support to the AML Debug object. The current timer value is
2213 now displayed with each invocation of (Store to) the debug object to
2214 enable simple generation of execution times for AML code (method
2215 execution for example.) ACPICA BZ 1093.
2217 Example Code and Data Size: These are the sizes for the OS-independent
2218 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2219 debug version of the code includes the debug output trace mechanism and
2220 has a much larger code and data size.
2223 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
2224 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
2226 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
2227 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
2230 2) iASL Compiler/Disassembler and Tools:
2232 Fixed an issue with the recently added local printf implementation,
2233 concerning width/precision specifiers that could cause incorrect output.
2234 Lv Zheng. ACPICA BZ 1094.
2236 Disassembler: Added support to detect buffers that contain UUIDs and
2237 disassemble them to an invocation of the ToUUID operator. Also emit
2238 commented descriptions of known ACPI-related UUIDs.
2240 AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
2241 -u. Adds three new files.
2243 iASL: Update table compiler and disassembler for DMAR table changes that
2244 were introduced in September 2013. With assistance by David Woodhouse.
2246 ----------------------------------------
2247 27 June 2014. Summary of changes for version 20140627:
2249 1) ACPICA kernel-resident subsystem:
2251 Formatted Output: Implemented local versions of standard formatted output
2252 utilities such as printf, etc. Over time, it has been discovered that
2253 there are in fact many portability issues with printf, and the addition
2254 of this feature will fix/prevent these issues once and for all. Some
2255 known issues are summarized below:
2257 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
2258 for the Linux kernel and is %uI64 for some MSVC versions.
2259 2) Invoking printf consistently in a manner that is portable across both
2260 32-bit and 64-bit platforms is difficult at best in many situations.
2261 3) The output format for pointers varies from system to system (leading
2262 zeros especially), and leads to inconsistent output from ACPICA across
2264 4) Certain platform-specific printf formats may conflict with ACPICA use.
2265 5) If there is no local C library available, ACPICA now has local support
2268 -- To address these printf issues in a complete manner, ACPICA now
2269 directly implements a small subset of printf format specifiers, only
2270 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2272 Implemented support for ACPICA generation within the EFI environment.
2273 Initially, the AcpiDump utility is supported in the UEFI shell
2274 environment. Lv Zheng.
2276 Added a new external interface, AcpiLogError, to improve ACPICA
2277 portability. This allows the host to redirect error messages from the
2278 ACPICA utilities. Lv Zheng.
2280 Added and deployed new OSL file I/O interfaces to improve ACPICA
2288 There are C library implementations of these functions in the new file
2289 service_layers/oslibcfs.c -- however, the functions can be implemented by
2290 the local host in any way necessary. Lv Zheng.
2292 Implemented a mechanism to disable/enable ACPI table checksum validation
2293 at runtime. This can be useful when loading tables very early during OS
2294 initialization when it may not be possible to map the entire table in
2295 order to compute the checksum. Lv Zheng.
2297 Fixed a buffer allocation issue for the Generic Serial Bus support.
2298 Originally, a fixed buffer length was used. This change allows for
2299 variable-length buffers based upon the protocol indicated by the field
2300 access attributes. Reported by Lan Tianyu. Lv Zheng.
2302 Fixed a problem where an object detached from a namespace node was not
2303 properly terminated/cleared and could cause a circular list problem if
2304 reattached. ACPICA BZ 1063. David Box.
2306 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2308 Fixed a possible memory leak in an error return path within the function
2309 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2311 Example Code and Data Size: These are the sizes for the OS-independent
2312 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2313 debug version of the code includes the debug output trace mechanism and
2314 has a much larger code and data size.
2317 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
2318 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
2320 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
2321 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
2324 2) iASL Compiler/Disassembler and Tools:
2326 Disassembler: Add dump of ASCII equivalent text within a comment at the
2327 end of each line of the output for the Buffer() ASL operator.
2329 AcpiDump: Miscellaneous changes:
2330 Fixed repetitive table dump in -n mode.
2331 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
2332 the ACPI 2.0 GUID fails.
2334 iASL: Fixed a problem where the compiler could fault if incorrectly given
2335 an acpidump output file as input. ACPICA BZ 1088. David Box.
2337 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
2338 they are invoked without any arguments.
2340 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
2341 1086. Colin Ian King.
2343 Disassembler: Cleaned up a block of code that extracts a parent Op
2344 object. Added a comment that explains that the parent is guaranteed to be
2345 valid in this case. ACPICA BZ 1069.
2348 ----------------------------------------
2349 24 April 2014. Summary of changes for version 20140424:
2351 1) ACPICA kernel-resident subsystem:
2353 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
2354 Some of these tables are known to contain a trailing NULL entry. Lv
2357 Removed an extraneous error message for the case where there are a large
2358 number of system GPEs (> 124). This was the "32-bit FADT register is too
2359 long to convert to GAS struct" message, which is irrelevant for GPEs
2360 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
2361 (limited capacity) GAS bit length. Also, several changes to ensure proper
2362 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
2365 Implemented and deployed additional configuration support for the public
2366 ACPICA external interfaces. Entire classes of interfaces can now be
2367 easily modified or configured out, replaced by stubbed inline functions
2368 by default. Lv Zheng.
2370 Moved all public ACPICA runtime configuration globals to the public
2371 ACPICA external interface file for convenience. Also, removed some
2372 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2374 Documentation: Added a new section to the ACPICA reference describing the
2375 maximum number of GPEs that can be supported by the FADT-defined GPEs in
2376 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
2379 Example Code and Data Size: These are the sizes for the OS-independent
2380 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2381 debug version of the code includes the debug output trace mechanism and
2382 has a much larger code and data size.
2385 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
2386 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
2388 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
2389 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
2392 2) iASL Compiler/Disassembler and Tools:
2394 iASL and disassembler: Add full support for the LPIT table (Low Power
2395 Idle Table). Includes support in the disassembler, data table compiler,
2396 and template generator.
2399 1) Add option to force the use of the RSDT (over the XSDT).
2400 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
2402 iASL: Add check for predefined packages that are too large. For
2403 predefined names that contain subpackages, check if each subpackage is
2404 too large. (Check for too small already exists.)
2406 Debugger: Updated the GPE command (which simulates a GPE by executing the
2407 GPE code paths in ACPICA). The GPE device is now optional, and defaults
2408 to the GPE 0/1 FADT-defined blocks.
2410 Unix application OSL: Update line-editing support. Add additional error
2411 checking and take care not to reset terminal attributes on exit if they
2412 were never set. This should help guarantee that the terminal is always
2413 left in the previous state on program exit.
2416 ----------------------------------------
2417 25 March 2014. Summary of changes for version 20140325:
2419 1) ACPICA kernel-resident subsystem:
2421 Updated the auto-serialize feature for control methods. This feature
2422 automatically serializes all methods that create named objects in order
2423 to prevent runtime errors. The update adds support to ignore the
2424 currently executing AML SyncLevel when invoking such a method, in order
2425 to prevent disruption of any existing SyncLevel priorities that may exist
2426 in the AML code. Although the use of SyncLevels is relatively rare, this
2427 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
2428 appear on some machines starting with the 20140214 release.
2430 Added a new external interface to allow the host to install ACPI tables
2431 very early, before the namespace is even created. AcpiInstallTable gives
2432 the host additional flexibility for ACPI table management. Tables can be
2433 installed directly by the host as if they had originally appeared in the
2434 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
2435 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
2436 with additional internal restructuring and cleanup. See the ACPICA
2437 Reference for interface details. Lv Zheng.
2439 Added validation of the checksum for all incoming dynamically loaded
2440 tables (via external interfaces or via AML Load/LoadTable operators). Lv
2443 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
2444 and GPE handler removal. Restructured calls to eliminate possible race
2445 conditions. Lv Zheng.
2447 Added a warning for the use/execution of the ASL/AML Unload (table)
2448 operator. This will help detect and identify machines that use this
2449 operator if and when it is ever used. This operator has never been seen
2450 in the field and the usage model and possible side-effects of the drastic
2451 runtime action of a full table removal are unknown.
2453 Reverted the use of #pragma push/pop which was introduced in the 20140214
2454 release. It appears that push and pop are not implemented by enough
2455 compilers to make the use of this feature feasible for ACPICA at this
2456 time. However, these operators may be deployed in a future ACPICA
2459 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
2462 Source code generation:
2463 1) Disabled the use of the "strchr" macro for the gcc-specific
2464 generation. For some versions of gcc, this macro can periodically expose
2465 a compiler bug which in turn causes compile-time error(s).
2466 2) Added support for PPC64 compilation. Colin Ian King.
2468 Example Code and Data Size: These are the sizes for the OS-independent
2469 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2470 debug version of the code includes the debug output trace mechanism and
2471 has a much larger code and data size.
2474 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
2475 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
2477 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
2478 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
2481 2) iASL Compiler/Disassembler and Tools:
2483 Disassembler: Added several new features to improve the readability of
2484 the resulting ASL code. Extra information is emitted within comment
2485 fields in the ASL code:
2486 1) Known _HID/_CID values are decoded to descriptive text.
2487 2) Standard values for the Notify() operator are decoded to descriptive
2489 3) Target operands are expanded to full pathnames (in a comment) when
2492 Disassembler: Miscellaneous updates for extern() handling:
2493 1) Abort compiler if file specified by -fe option does not exist.
2494 2) Silence unnecessary warnings about argument count mismatches.
2495 3) Update warning messages concerning unresolved method externals.
2496 4) Emit "UnknownObj" keyword for externals whose type cannot be
2500 1) Added the -a option to display both the ASL syntax and the AML
2501 encoding for an input ASL operator. This effectively displays all known
2502 information about an ASL operator with one AcpiHelp invocation.
2503 2) Added substring match support (similar to a wildcard) for the -i
2504 (_HID/PNP IDs) option.
2506 iASL/Disassembler: Since this tool does not yet support execution on big-
2507 endian machines, added detection of endianness and an error message if
2508 execution is attempted on big-endian. Support for big-endian within iASL
2509 is a feature that is on the ACPICA to-be-done list.
2512 1) Remove option to extract binary files from an acpidump; this function
2513 is made obsolete by the AcpiXtract utility.
2514 2) General cleanup of open files and allocated buffers.
2517 ----------------------------------------
2518 14 February 2014. Summary of changes for version 20140214:
2520 1) ACPICA kernel-resident subsystem:
2522 Implemented a new mechanism to proactively prevent problems with ill-
2523 behaved reentrant control methods that create named ACPI objects. This
2524 behavior is illegal as per the ACPI specification, but is nonetheless
2525 frequently seen in the field. Previously, this could lead to an
2526 AE_ALREADY_EXISTS exception if the method was actually entered by more
2527 than one thread. This new mechanism detects such methods at table load
2528 time and marks them "serialized" to prevent reentrancy. A new global
2529 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
2530 feature if desired. This mechanism and global option obsoletes and
2531 supersedes the previous AcpiGbl_SerializeAllMethods option.
2533 Added the "Windows 2013" string to the _OSI support. ACPICA will now
2534 respond TRUE to _OSI queries with this string. It is the stated policy of
2535 ACPICA to add new strings to the _OSI support as soon as possible after
2536 they are defined. See the full ACPICA _OSI policy which has been added to
2537 the utilities/utosi.c file.
2539 Hardened/updated the _PRT return value auto-repair code:
2540 1) Do not abort the repair on a single subpackage failure, continue to
2541 check all subpackages.
2542 2) Add check for the minimum subpackage length (4).
2543 3) Properly handle extraneous NULL package elements.
2545 Added support to avoid the possibility of infinite loops when traversing
2546 object linked lists. Never allow an infinite loop, even in the face of
2547 corrupted object lists.
2549 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
2550 pack(pop) directives to ensure that the ACPICA headers are independent of
2551 compiler settings or other host headers.
2553 Example Code and Data Size: These are the sizes for the OS-independent
2554 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2555 debug version of the code includes the debug output trace mechanism and
2556 has a much larger code and data size.
2559 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
2560 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
2562 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
2563 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
2566 2) iASL Compiler/Disassembler and Tools:
2568 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
2569 first reserved field was incorrectly forced to have a value of zero. This
2570 change correctly forces the field to have a value of one. ACPICA BZ 1081.
2572 Debugger: Added missing support for the "Extra" and "Data" subobjects
2573 when displaying object data.
2575 Debugger: Added support to display entire object linked lists when
2576 displaying object data.
2578 iASL: Removed the obsolete -g option to obtain ACPI tables from the
2579 Windows registry. This feature has been superseded by the acpidump
2583 ----------------------------------------
2584 14 January 2014. Summary of changes for version 20140114:
2586 1) ACPICA kernel-resident subsystem:
2588 Updated all ACPICA copyrights and signons to 2014. Added the 2014
2589 copyright to all module headers and signons, including the standard Linux
2590 header. This affects virtually every file in the ACPICA core subsystem,
2591 iASL compiler, all ACPICA utilities, and the test suites.
2593 Improved parameter validation for AcpiInstallGpeBlock. Added the
2595 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
2596 2) There is not already a GPE block attached to the device.
2597 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
2600 Correctly support "references" in the ACPI_OBJECT. This change fixes the
2601 support to allow references (namespace nodes) to be passed as arguments
2602 to control methods via the evaluate object interface. This is probably
2603 most useful for testing purposes, however.
2605 Improved support for 32/64 bit physical addresses in printf()-like
2606 output. This change improves the support for physical addresses in printf
2607 debug statements and other output on both 32-bit and 64-bit hosts. It
2608 consistently outputs the appropriate number of bytes for each host. The
2609 %p specifier is unsatisfactory since it does not emit uniform output on
2610 all hosts/clib implementations (on some, leading zeros are not supported,
2611 leading to difficult-to-read output).
2613 Example Code and Data Size: These are the sizes for the OS-independent
2614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2615 debug version of the code includes the debug output trace mechanism and
2616 has a much larger code and data size.
2619 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
2620 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
2622 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
2623 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
2626 2) iASL Compiler/Disassembler and Tools:
2628 iASL: Fix a possible fault when using the Connection() operator. Fixes a
2629 problem if the parent Field definition for the Connection operator refers
2630 to an operation region that does not exist. ACPICA BZ 1064.
2632 AcpiExec: Load of local test tables is now optional. The utility has the
2633 capability to load some various tables to test features of ACPICA.
2634 However, there are enough of them that the output of the utility became
2635 confusing. With this change, only the required local tables are displayed
2636 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
2637 line specification. This makes the default output simler and easier to
2638 understand. The -el command line option restores the original behavior
2639 for testing purposes.
2641 AcpiExec: Added support for overlapping operation regions. This change
2642 expands the simulation of operation regions by supporting regions that
2643 overlap within the given address space. Supports SystemMemory and
2644 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2646 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
2647 allows AcpiExec to simulate these address spaces, similar to the current
2648 support for SystemMemory and SystemIO.
2650 Debugger: Added new command to read/write/compare all namespace objects.
2651 The command "test objects" will exercise the entire namespace by writing
2652 new values to each data object, and ensuring that the write was
2653 successful. The original value is then restored and verified.
2655 Debugger: Added the "test predefined" command. This change makes this
2656 test public and puts it under the new "test" command. The test executes
2657 each and every predefined name within the current namespace.
2660 ----------------------------------------
2661 18 December 2013. Summary of changes for version 20131218:
2663 Global note: The ACPI 5.0A specification was released this month. There
2664 are no changes needed for ACPICA since this release of ACPI is an
2665 errata/clarification release. The specification is available at
2669 1) ACPICA kernel-resident subsystem:
2671 Added validation of the XSDT root table if it is present. Some older
2672 platforms contain an XSDT that is ill-formed or otherwise invalid (such
2673 as containing some or all entries that are NULL pointers). This change
2674 adds a new function to validate the XSDT before actually using it. If the
2675 XSDT is found to be invalid, ACPICA will now automatically fall back to
2676 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
2677 ACPICA and enhanced by Lv Zheng and Bob Moore.
2679 Added a runtime option to ignore the XSDT and force the use of the RSDT.
2680 This change adds a runtime option that will force ACPICA to use the RSDT
2681 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
2682 requires that an XSDT be used instead of the RSDT, the XSDT has been
2683 found to be corrupt or ill-formed on some machines. Lv Zheng.
2685 Added a runtime option to favor 32-bit FADT register addresses over the
2686 64-bit addresses. This change adds an option to favor 32-bit FADT
2687 addresses when there is a conflict between the 32-bit and 64-bit versions
2688 of the same register. The default behavior is to use the 64-bit version
2689 in accordance with the ACPI specification. This can now be overridden via
2690 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2692 During the change above, the internal "Convert FADT" and "Verify FADT"
2693 functions have been merged to simplify the code, making it easier to
2694 understand and maintain. ACPICA BZ 933.
2696 Improve exception reporting and handling for GPE block installation.
2697 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
2698 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2700 Added helper macros to extract bus/segment numbers from the HEST table.
2701 This change adds two macros to extract the encoded bus and segment
2702 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
2703 Betty Dall <betty.dall@hp.com>
2705 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
2706 by ACPICA. It is not a public macro, so it should have no effect on
2707 existing OSV code. Lv Zheng.
2709 Example Code and Data Size: These are the sizes for the OS-independent
2710 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2711 debug version of the code includes the debug output trace mechanism and
2712 has a much larger code and data size.
2715 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
2716 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
2718 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
2719 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
2722 2) iASL Compiler/Disassembler and Tools:
2724 Disassembler: Improved pathname support for emitted External()
2725 statements. This change adds full pathname support for external names
2726 that have been resolved internally by the inclusion of additional ACPI
2727 tables (via the iASL -e option). Without this change, the disassembler
2728 can emit multiple externals for the same object, or it become confused
2729 when the Scope() operator is used on an external object. Overall, greatly
2730 improves the ability to actually recompile the emitted ASL code when
2731 objects a referenced across multiple ACPI tables. Reported by Michael
2732 Tsirkin (mst@redhat.com).
2734 Tests/ASLTS: Updated functional control suite to execute with no errors.
2735 David Box. Fixed several errors related to the testing of the interpreter
2736 slack mode. Lv Zheng.
2738 iASL: Added support to detect names that are declared within a control
2739 method, but are unused (these are temporary names that are only valid
2740 during the time the method is executing). A remark is issued for these
2741 cases. ACPICA BZ 1022.
2743 iASL: Added full support for the DBG2 table. Adds full disassembler,
2744 table compiler, and template generator support for the DBG2 table (Debug
2747 iASL: Added full support for the PCCT table, update the table definition.
2748 Updates the PCCT table definition in the actbl3.h header and adds table
2749 compiler and template generator support.
2751 iASL: Added an option to emit only error messages (no warnings/remarks).
2752 The -ve option will enable only error messages, warnings and remarks are
2753 suppressed. This can simplify debugging when only the errors are
2754 important, such as when an ACPI table is disassembled and there are many
2755 warnings and remarks -- but only the actual errors are of real interest.
2757 Example ACPICA code (source/tools/examples): Updated the example code so
2758 that it builds to an actual working program, not just example code. Added
2759 ACPI tables and execution of an example control method in the DSDT. Added
2760 makefile support for Unix generation.
2763 ----------------------------------------
2764 15 November 2013. Summary of changes for version 20131115:
2766 This release is available at https://acpica.org/downloads
2769 1) ACPICA kernel-resident subsystem:
2771 Resource Manager: Fixed loop termination for the "get AML length"
2772 function. The loop previously had an error termination on a NULL resource
2773 pointer, which can never happen since the loop simply increments a valid
2774 resource pointer. This fix changes the loop to terminate with an error on
2775 an invalid end-of-buffer condition. The problem can be seen as an
2776 infinite loop by callers to AcpiSetCurrentResources with an invalid or
2777 corrupted resource descriptor, or a resource descriptor that is missing
2778 an END_TAG descriptor. Reported by Dan Carpenter
2779 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
2781 Table unload and ACPICA termination: Delete all attached data objects
2782 during namespace node deletion. This fix updates namespace node deletion
2783 to delete the entire list of attached objects (attached via
2784 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
2785 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
2787 ACPICA termination: Added support to delete all objects attached to the
2788 root namespace node. This fix deletes any and all objects that have been
2789 attached to the root node via AcpiAttachData. Previously, none of these
2790 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
2792 Debug output: Do not emit the function nesting level for the in-kernel
2793 build. The nesting level is really only useful during a single-thread
2794 execution. Therefore, only enable this output for the AcpiExec utility.
2795 Also, only emit the thread ID when executing under AcpiExec (Context
2796 switches are still always detected and a message is emitted). ACPICA BZ
2799 Example Code and Data Size: These are the sizes for the OS-independent
2800 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2801 debug version of the code includes the debug output trace mechanism and
2802 has a much larger code and data size.
2805 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
2806 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
2808 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2809 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2812 2) iASL Compiler/Disassembler and Tools:
2814 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
2815 correct portable POSIX header for terminal control functions.
2817 Disassembler: Fixed control method invocation issues related to the use
2818 of the CondRefOf() operator. The problem is seen in the disassembly where
2819 control method invocations may not be disassembled properly if the
2820 control method name has been used previously as an argument to CondRefOf.
2821 The solution is to not attempt to emit an external declaration for the
2822 CondRefOf target (it is not necessary in the first place). This prevents
2823 disassembler object type confusion. ACPICA BZ 988.
2825 Unix Makefiles: Added an option to disable compiler optimizations and the
2826 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
2827 with optimizations (reportedly, gcc 4.4 for example). This change adds a
2828 command line option for make (NOOPT) that disables all compiler
2829 optimizations and the _FORTIFY_SOURCE compiler flag. The default
2830 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
2831 1034. Lv Zheng, Bob Moore.
2833 Tests/ASLTS: Added options to specify individual test cases and modes.
2834 This allows testers running aslts.sh to optionally specify individual
2835 test modes and test cases. Also added an option to disable the forced
2836 generation of the ACPICA tools from source if desired. Lv Zheng.
2838 ----------------------------------------
2839 27 September 2013. Summary of changes for version 20130927:
2841 This release is available at https://acpica.org/downloads
2844 1) ACPICA kernel-resident subsystem:
2846 Fixed a problem with store operations to reference objects. This change
2847 fixes a problem where a Store operation to an ArgX object that contained
2849 reference to a field object did not complete the automatic dereference
2851 then write to the actual field object. Instead, the object type of the
2852 field object was inadvertently changed to match the type of the source
2853 operand. The new behavior will actually write to the field object (buffer
2854 field or field unit), thus matching the correct ACPI-defined behavior.
2856 Implemented support to allow the host to redefine individual OSL
2857 prototypes. This change enables the host to redefine OSL prototypes found
2858 in the acpiosxf.h file. This allows the host to implement OSL interfaces
2859 with a macro or inlined function. Further, it allows the host to add any
2860 additional required modifiers such as __iomem, __init, __exit, etc., as
2861 necessary on a per-interface basis. Enables maximum flexibility for the
2862 OSL interfaces. Lv Zheng.
2864 Hardcoded the access width for the FADT-defined reset register. The ACPI
2865 specification requires the reset register width to be 8 bits. ACPICA now
2866 hardcodes the width to 8 and ignores the FADT width value. This provides
2867 compatibility with other ACPI implementations that have allowed BIOS code
2868 with bad register width values to go unnoticed. Matthew Garett, Bob
2872 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
2874 in the OSL header (acpiosxf). The change modifies the position of this
2875 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
2876 build issues if the OSL defines the implementation of the interface to be
2877 an inline stub function. Lv Zheng.
2879 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
2880 initialization interfaces. This change adds a new macro for the main init
2881 and terminate external interfaces in order to support hosts that require
2882 additional or different processing for these functions. Changed from
2883 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
2886 Cleaned up the memory allocation macros for configurability. In the
2888 case, the ACPI_ALLOCATE and related macros now resolve directly to their
2889 respective AcpiOs* OSL interfaces. Two options:
2890 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
2891 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
2892 2) For AcpiExec (and for debugging), the macros can optionally be
2894 to the local ACPICA interfaces that track each allocation (local tracking
2895 is used to immediately detect memory leaks).
2898 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
2899 to predefine this macro to either TRUE or FALSE during the system build.
2901 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
2903 Example Code and Data Size: These are the sizes for the OS-independent
2904 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2905 debug version of the code includes the debug output trace mechanism and
2906 has a much larger code and data size.
2909 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2910 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2912 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2913 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2916 2) iASL Compiler/Disassembler and Tools:
2918 iASL: Implemented wildcard support for the -e option. This simplifies use
2919 when there are many SSDTs that must be included to resolve external
2921 declarations. ACPICA BZ 1041. Example:
2922 iasl -e ssdt*.dat -d dsdt.dat
2924 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
2925 adds a portable module that implements full history and limited line
2926 editing for Unix and Linux systems. It does not use readline() due to
2927 portability issues. Instead it uses the POSIX termio interface to put the
2928 terminal in raw input mode so that the various special keys can be
2930 (such as up/down-arrow for history support and left/right-arrow for line
2931 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
2933 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
2934 one or more spaces. This provides compatible with early or different
2935 versions of the AcpiDump utility. ACPICA BZ 1044.
2937 AcpiDump: Do not ignore tables that contain only an ACPI table header.
2938 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
2939 no other data. This change adds support to dump these tables. Any tables
2940 shorter than the length of an ACPI table header remain in error (an error
2941 message is emitted). Reported by Yi Li.
2943 Debugger: Echo actual command along with the "unknown command" message.
2945 ----------------------------------------
2946 23 August 2013. Summary of changes for version 20130823:
2948 1) ACPICA kernel-resident subsystem:
2950 Implemented support for host-installed System Control Interrupt (SCI)
2951 handlers. Certain ACPI functionality requires the host to handle raw
2952 SCIs. For example, the "SCI Doorbell" that is defined for memory power
2953 state support requires the host device driver to handle SCIs to examine
2954 if the doorbell has been activated. Multiple SCI handlers can be
2955 installed to allow for future expansion. New external interfaces are
2956 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
2957 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
2959 Operation region support: Never locally free the handler "context"
2960 pointer. This change removes some dangerous code that attempts to free
2961 the handler context pointer in some (rare) circumstances. The owner of
2962 the handler owns this pointer and the ACPICA code should never touch it.
2963 Although not seen to be an issue in any kernel, it did show up as a
2964 problem (fault) under AcpiExec. Also, set the internal storage field for
2965 the context pointer to zero when the region is deactivated, simply for
2966 sanity. David Box. ACPICA BZ 1039.
2968 AcpiRead: On error, do not modify the return value target location. If an
2969 error happens in the middle of a split 32/32 64-bit I/O operation, do not
2970 modify the target of the return value pointer. Makes the code consistent
2971 with the rest of ACPICA. Bjorn Helgaas.
2973 Example Code and Data Size: These are the sizes for the OS-independent
2974 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2975 debug version of the code includes the debug output trace mechanism and
2976 has a much larger code and data size.
2979 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2980 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2982 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2983 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
2986 2) iASL Compiler/Disassembler and Tools:
2988 AcpiDump: Implemented several new features and fixed some problems:
2989 1) Added support to dump the RSDP, RSDT, and XSDT tables.
2990 2) Added support for multiple table instances (SSDT, UEFI).
2991 3) Added option to dump "customized" (overridden) tables (-c).
2992 4) Fixed a problem where some table filenames were improperly
2994 5) Improved some error messages, removed some unnecessary messages.
2996 iASL: Implemented additional support for disassembly of ACPI tables that
2997 contain invocations of external control methods. The -fe<file> option
2998 allows the import of a file that specifies the external methods along
2999 with the required number of arguments for each -- allowing for the
3000 correct disassembly of the table. This is a workaround for a limitation
3001 of AML code where the disassembler often cannot determine the number of
3002 arguments required for an external control method and generates incorrect
3003 ASL code. See the iASL reference for details. ACPICA BZ 1030.
3005 Debugger: Implemented a new command (paths) that displays the full
3006 pathnames (namepaths) and object types of all objects in the namespace.
3007 This is an alternative to the namespace command.
3009 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
3010 mechanism and any installed handlers.
3012 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
3013 This can occur if there are too many parent prefixes in a namepath (for
3014 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
3016 Application OSLs: Set the return value for the PCI read functions. These
3017 functions simply return AE_OK, but should set the return value to zero
3018 also. This change implements this. ACPICA BZ 1038.
3020 Debugger: Prevent possible command line buffer overflow. Increase the
3021 size of a couple of the debugger line buffers, and ensure that overflow
3022 cannot happen. ACPICA BZ 1037.
3024 iASL: Changed to abort immediately on serious errors during the parsing
3025 phase. Due to the nature of ASL, there is no point in attempting to
3026 compile these types of errors, and they typically end up causing a
3027 cascade of hundreds of errors which obscure the original problem.
3029 ----------------------------------------
3030 25 July 2013. Summary of changes for version 20130725:
3032 1) ACPICA kernel-resident subsystem:
3034 Fixed a problem with the DerefOf operator where references to FieldUnits
3035 and BufferFields incorrectly returned the parent object, not the actual
3036 value of the object. After this change, a dereference of a FieldUnit
3037 reference results in a read operation on the field to get the value, and
3038 likewise, the appropriate BufferField value is extracted from the target
3041 Fixed a problem where the _WAK method could cause a fault under these
3042 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
3043 method returned no value. The problem is rarely seen because most kernels
3044 run ACPICA in slack mode.
3046 For the DerefOf operator, a fatal error now results if an attempt is made
3047 to dereference a reference (created by the Index operator) to a NULL
3048 package element. Provides compatibility with other ACPI implementations,
3049 and this behavior will be added to a future version of the ACPI
3052 The ACPI Power Management Timer (defined in the FADT) is now optional.
3053 This provides compatibility with other ACPI implementations and will
3054 appear in the next version of the ACPI specification. If there is no PM
3055 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
3056 zero in the FADT indicates no PM timer.
3058 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
3059 allows the host to globally enable/disable all vendor strings, all
3060 feature strings, or both. Intended to be primarily used for debugging
3061 purposes only. Lv Zheng.
3063 Expose the collected _OSI data to the host via a global variable. This
3064 data tracks the highest level vendor ID that has been invoked by the BIOS
3065 so that the host (and potentially ACPICA itself) can change behaviors
3066 based upon the age of the BIOS.
3068 Example Code and Data Size: These are the sizes for the OS-independent
3069 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3070 debug version of the code includes the debug output trace mechanism and
3071 has a much larger code and data size.
3074 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
3075 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
3077 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
3078 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
3081 2) iASL Compiler/Disassembler and Tools:
3083 iASL: Created the following enhancements for the -so option (create
3085 1)Add offsets for the last nameseg in each namepath for every supported
3087 2)Add support for Processor, Device, Thermal Zone, and Scope objects
3088 3)Add the actual AML opcode for the parent object of every supported
3090 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
3092 Disassembler: Emit all unresolved external symbols in a single block.
3093 These are external references to control methods that could not be
3094 resolved, and thus, the disassembler had to make a guess at the number of
3097 iASL: The argument to the -T option (create table template) is now
3098 optional. If not specified, the default table is a DSDT, typically the
3101 ----------------------------------------
3102 26 June 2013. Summary of changes for version 20130626:
3104 1) ACPICA kernel-resident subsystem:
3106 Fixed an issue with runtime repair of the _CST object. Null or invalid
3107 elements were not always removed properly. Lv Zheng.
3109 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
3110 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
3111 the maximum number of GPEs is 1016. Use of multiple GPE block devices
3112 makes the system-wide number of GPEs essentially unlimited.
3114 Example Code and Data Size: These are the sizes for the OS-independent
3115 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3116 debug version of the code includes the debug output trace mechanism and
3117 has a much larger code and data size.
3120 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
3121 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
3123 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
3124 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
3127 2) iASL Compiler/Disassembler and Tools:
3129 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
3130 hosts. Now supports Linux, FreeBSD, and Windows.
3132 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
3133 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
3135 iASL/Preprocessor: Implemented full support for nested
3136 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
3138 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
3139 max. The original purpose of this constraint was to limit the amount of
3140 debug output. However, the string function in question (UtPrintString) is
3141 now used for the disassembler also, where 256 bytes is insufficient.
3142 Reported by RehabMan@GitHub.
3144 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
3145 tables. ACPICA BZ 999. Lv Zheng.
3147 iASL: Fixed a couple of error exit issues that could result in a "Could
3148 not delete <file>" message during ASL compilation.
3150 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
3151 the actual signatures for these tables are "FACP" and "APIC",
3154 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
3155 tables are allowed to have multiple instances.
3157 ----------------------------------------
3158 17 May 2013. Summary of changes for version 20130517:
3160 1) ACPICA kernel-resident subsystem:
3162 Fixed a regression introduced in version 20130328 for _INI methods. This
3163 change fixes a problem introduced in 20130328 where _INI methods are no
3164 longer executed properly because of a memory block that was not
3165 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
3166 <tomasz.nowicki@linaro.org>.
3168 Fixed a possible problem with the new extended sleep registers in the
3170 5.0 FADT. Do not use these registers (even if populated) unless the HW-
3171 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
3174 Implemented return value repair code for _CST predefined objects: Sort
3176 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
3178 Implemented a debug-only option to disable loading of SSDTs from the
3179 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
3180 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
3181 acglobal.h - ACPICA BZ 1005. Lv Zheng.
3183 Fixed some issues in the ACPICA initialization and termination code:
3184 Tomasz Nowicki <tomasz.nowicki@linaro.org>
3185 1) Clear events initialized flag upon event component termination. ACPICA
3187 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
3188 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
3189 4) Clear debug buffer global on termination to prevent possible multiple
3190 delete. ACPICA BZ 1010.
3192 Standardized all switch() blocks across the entire source base. After
3194 years, different formatting for switch() had crept in. This change makes
3195 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
3197 Split some files to enhance ACPICA modularity and configurability:
3198 1) Split buffer dump routines into utilities/utbuffer.c
3199 2) Split internal error message routines into utilities/uterror.c
3200 3) Split table print utilities into tables/tbprint.c
3201 4) Split iASL command-line option processing into asloptions.c
3203 Makefile enhancements:
3204 1) Support for all new files above.
3205 2) Abort make on errors from any subcomponent. Chao Guan.
3206 3) Add build support for Apple Mac OS X. Liang Qi.
3208 Example Code and Data Size: These are the sizes for the OS-independent
3209 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3210 debug version of the code includes the debug output trace mechanism and
3211 has a much larger code and data size.
3214 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
3215 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
3217 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
3218 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
3221 2) iASL Compiler/Disassembler and Tools:
3223 New utility: Implemented an easily portable version of the acpidump
3224 utility to extract ACPI tables from the system (or a file) in an ASCII
3226 dump format. The top-level code implements the various command line
3227 options, file I/O, and table dump routines. To port to a new host, only
3228 three functions need to be implemented to get tables -- since this
3229 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
3230 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
3231 1) The Windows version obtains the ACPI tables from the Registry.
3232 2) The Linux version is under development.
3233 3) Other hosts - If an OS-dependent module is submitted, it will be
3234 distributed with ACPICA.
3236 iASL: Fixed a regression for -D preprocessor option (define symbol). A
3237 restructuring/change to the initialization sequence caused this option to
3238 no longer work properly.
3240 iASL: Implemented a mechanism to disable specific warnings and remarks.
3241 Adds a new command line option, "-vw <messageid> as well as "#pragma
3242 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3244 iASL: Fix for too-strict package object validation. The package object
3245 validation for return values from the predefined names is a bit too
3246 strict, it does not allow names references within the package (which will
3247 be resolved at runtime.) These types of references cannot be validated at
3248 compile time. This change ignores named references within package objects
3249 for names that return or define static packages.
3251 Debugger: Fixed the 80-character command line limitation for the History
3252 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3254 iASL: Added control method and package support for the -so option
3255 (generates AML offset table for BIOS support.)
3257 iASL: issue a remark if a non-serialized method creates named objects. If
3258 a thread blocks within the method for any reason, and another thread
3259 enters the method, the method will fail because an attempt will be made
3261 create the same (named) object twice. In this case, issue a remark that
3262 the method should be marked serialized. NOTE: may become a warning later.
3265 ----------------------------------------
3266 18 April 2013. Summary of changes for version 20130418:
3268 1) ACPICA kernel-resident subsystem:
3270 Fixed a possible buffer overrun during some rare but specific field unit
3271 read operations. This overrun can only happen if the DSDT version is 1 --
3272 meaning that all AML integers are 32 bits -- and the field length is
3273 between 33 and 55 bits long. During the read, an internal buffer object
3275 created for the field unit because the field is larger than an integer
3277 bits). However, in this case, the buffer will be incorrectly written
3278 beyond the end because the buffer length is less than the internal
3280 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
3281 long, but a full 8 bytes will be written.
3283 Updated the Embedded Controller "orphan" _REG method support. This refers
3284 to _REG methods under the EC device that have no corresponding operation
3285 region. This is allowed by the ACPI specification. This update removes a
3286 dependency on the existence an ECDT table. It will execute an orphan _REG
3287 method as long as the operation region handler for the EC is installed at
3288 the EC device node and not the namespace root. Rui Zhang (original
3289 update), Bob Moore (update/integrate).
3291 Implemented run-time argument typechecking for all predefined ACPI names
3292 (_STA, _BIF, etc.) This change performs object typechecking on all
3293 incoming arguments for all predefined names executed via
3294 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
3295 passing correct object types as well as the correct number of arguments
3296 (therefore identifying any issues immediately). Also, the ASL/namespace
3297 definition of the predefined name is checked against the ACPI
3298 specification for the proper argument count. Adds one new file,
3301 Changed an exception code for the ASL UnLoad() operator. Changed the
3302 exception code for the case where the input DdbHandle is invalid, from
3303 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3305 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
3306 global makefile. The use of this flag causes compiler errors on earlier
3307 versions of GCC, so it has been removed for compatibility.
3309 Miscellaneous cleanup:
3310 1) Removed some unused/obsolete macros
3311 2) Fixed a possible memory leak in the _OSI support
3312 3) Removed an unused variable in the predefined name support
3313 4) Windows OSL: remove obsolete reference to a memory list field
3315 Example Code and Data Size: These are the sizes for the OS-independent
3316 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3317 debug version of the code includes the debug output trace mechanism and
3318 has a much larger code and data size.
3321 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
3322 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
3324 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
3325 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
3328 2) iASL Compiler/Disassembler and Tools:
3330 AcpiExec: Added installation of a handler for the SystemCMOS address
3331 space. This prevents control method abort if a method accesses this
3334 AcpiExec: Added support for multiple EC devices, and now install EC
3335 operation region handler(s) at the actual EC device instead of the
3336 namespace root. This reflects the typical behavior of host operating
3339 AcpiExec: Updated to ensure that all operation region handlers are
3340 installed before the _REG methods are executed. This prevents a _REG
3341 method from aborting if it accesses an address space has no handler.
3342 AcpiExec installs a handler for every possible address space.
3344 Debugger: Enhanced the "handlers" command to display non-root handlers.
3345 This change enhances the handlers command to display handlers associated
3346 with individual devices throughout the namespace, in addition to the
3347 currently supported display of handlers associated with the root
3351 ASL Test Suite: Several test suite errors have been identified and
3352 resolved, reducing the total error count during execution. Chao Guan.
3354 ----------------------------------------
3355 28 March 2013. Summary of changes for version 20130328:
3357 1) ACPICA kernel-resident subsystem:
3359 Fixed several possible race conditions with the internal object reference
3360 counting mechanism. Some of the external ACPICA interfaces update object
3361 reference counts without holding the interpreter or namespace lock. This
3362 change adds a spinlock to protect reference count updates on the internal
3363 ACPICA objects. Reported by and with assistance from Andriy Gapon
3366 FADT support: Removed an extraneous warning for very large GPE register
3367 sets. This change removes a size mismatch warning if the legacy length
3368 field for a GPE register set is larger than the 64-bit GAS structure can
3369 accommodate. GPE register sets can be larger than the 255-bit width
3370 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3372 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
3373 return from this interface. Handles a possible timeout case if
3374 ACPI_WAIT_FOREVER is modified by the host to be a value less than
3375 "forever". Jung-uk Kim.
3377 Predefined name support: Add allowed/required argument type information
3379 the master predefined info table. This change adds the infrastructure to
3380 enable typechecking on incoming arguments for all predefined
3381 methods/objects. It does not actually contain the code that will fully
3382 utilize this information, this is still under development. Also condenses
3383 some duplicate code for the predefined names into a new module,
3384 utilities/utpredef.c
3386 Example Code and Data Size: These are the sizes for the OS-independent
3387 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3388 debug version of the code includes the debug output trace mechanism and
3389 has a much larger code and data size.
3392 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
3393 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
3395 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
3396 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
3399 2) iASL Compiler/Disassembler and Tools:
3401 iASL: Implemented a new option to simplify the development of ACPI-
3403 BIOS code. Adds support for a new "offset table" output file. The -so
3404 option will create a C table containing the AML table offsets of various
3405 named objects in the namespace so that BIOS code can modify them easily
3407 boot time. This can simplify BIOS runtime code by eliminating expensive
3408 searches for "magic values", enhancing boot times and adding greater
3409 reliability. With assistance from Lee Hamel.
3411 iASL: Allow additional predefined names to return zero-length packages.
3412 Now, all predefined names that are defined by the ACPI specification to
3413 return a "variable-length package of packages" are allowed to return a
3414 zero length top-level package. This allows the BIOS to tell the host that
3415 the requested feature is not supported, and supports existing BIOS/ASL
3418 iASL: Changed the "result not used" warning to an error. This is the case
3419 where an ASL operator is effectively a NOOP because the result of the
3420 operation is not stored anywhere. For example:
3422 There is no target (missing 3rd argument), nor is the function return
3423 value used. This is potentially a very serious problem -- since the code
3424 was probably intended to do something, but for whatever reason, the value
3425 was not stored. Therefore, this issue has been upgraded from a warning to
3428 AcpiHelp: Added allowable/required argument types to the predefined names
3429 info display. This feature utilizes the recent update to the predefined
3430 names table (above).
3432 ----------------------------------------
3433 14 February 2013. Summary of changes for version 20130214:
3435 1) ACPICA Kernel-resident Subsystem:
3437 Fixed a possible regression on some hosts: Reinstated the safe return
3438 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
3439 evaluated only once. Although these macros are not needed for the ACPICA
3440 code itself, they are often used by ACPI-related host device drivers
3442 the safe feature may be necessary.
3444 Fixed several issues related to the ACPI 5.0 reduced hardware support
3445 (SOC): Now ensure that if the platform declares itself as hardware-
3447 via the FADT, the following functions become NOOPs (and always return
3448 AE_OK) because ACPI is always enabled by definition on these machines:
3454 Dynamic Object Repair: Implemented additional runtime repairs for
3455 predefined name return values. Both of these repairs can simplify code in
3456 the related device drivers that invoke these methods:
3457 1) For the _STR and _MLS names, automatically repair/convert an ASCII
3458 string to a Unicode buffer.
3459 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
3461 lone end tag descriptor in the following cases: A Return(0) was executed,
3462 a null buffer was returned, or no object at all was returned (non-slack
3463 mode only). Adds a new file, nsconvert.c
3464 ACPICA BZ 998. Bob Moore, Lv Zheng.
3466 Resource Manager: Added additional code to prevent possible infinite
3468 while traversing corrupted or ill-formed resource template buffers. Check
3469 for zero-length resource descriptors in all code that loops through
3470 resource templates (the length field is used to index through the
3471 template). This change also hardens the external AcpiWalkResources and
3472 AcpiWalkResourceBuffer interfaces.
3474 Local Cache Manager: Enhanced the main data structure to eliminate an
3475 unnecessary mechanism to access the next object in the list. Actually
3476 provides a small performance enhancement for hosts that use the local
3477 ACPICA cache manager. Jung-uk Kim.
3479 Example Code and Data Size: These are the sizes for the OS-independent
3480 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3481 debug version of the code includes the debug output trace mechanism and
3482 has a much larger code and data size.
3485 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
3486 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
3488 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
3489 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
3492 2) iASL Compiler/Disassembler and Tools:
3494 iASL/Disassembler: Fixed several issues with the definition of the ACPI
3495 5.0 RASF table (RAS Feature Table). This change incorporates late changes
3496 that were made to the ACPI 5.0 specification.
3498 iASL/Disassembler: Added full support for the following new ACPI tables:
3499 1) The MTMR table (MID Timer Table)
3500 2) The VRTC table (Virtual Real Time Clock Table).
3501 Includes header file, disassembler, table compiler, and template support
3504 iASL: Implemented compile-time validation of package objects returned by
3505 predefined names. This new feature validates static package objects
3506 returned by the various predefined names defined to return packages. Both
3507 object types and package lengths are validated, for both parent packages
3508 and sub-packages, if any. The code is similar in structure and behavior
3510 the runtime repair mechanism within the AML interpreter and uses the
3511 existing predefined name information table. Adds a new file, aslprepkg.c.
3514 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
3515 This feature detects a binary file with a valid ACPI table header and
3516 invokes the disassembler automatically. Eliminates the need to
3517 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3519 iASL/Disassembler: Added several warnings for the case where there are
3520 unresolved control methods during the disassembly. This can potentially
3521 cause errors when the output file is compiled, because the disassembler
3522 assumes zero method arguments in these cases (it cannot determine the
3523 actual number of arguments without resolution/definition of the method).
3525 Debugger: Added support to display all resources with a single command.
3526 Invocation of the resources command with no arguments will now display
3528 resources within the current namespace.
3530 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
3533 ----------------------------------------
3534 17 January 2013. Summary of changes for version 20130117:
3536 1) ACPICA Kernel-resident Subsystem:
3538 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
3539 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
3540 objects to return a package containing one integer, most BIOS code
3542 two integers and the previous code reflects that. However, we also need
3544 support BIOS code that actually implements to the ACPI spec, and this
3545 change reflects this.
3547 Fixed two issues with the ACPI_DEBUG_PRINT macros:
3548 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
3549 C compilers that require this support.
3550 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
3551 ACPI_DEBUG is already used by many of the various hosts.
3553 Updated all ACPICA copyrights and signons to 2013. Added the 2013
3554 copyright to all module headers and signons, including the standard Linux
3555 header. This affects virtually every file in the ACPICA core subsystem,
3556 iASL compiler, all ACPICA utilities, and the test suites.
3558 Example Code and Data Size: These are the sizes for the OS-independent
3559 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3560 debug version of the code includes the debug output trace mechanism and
3561 has a much larger code and data size.
3564 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
3565 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
3567 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
3568 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
3571 2) iASL Compiler/Disassembler and Tools:
3573 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
3574 prevent a possible fault on some hosts. Some C libraries modify the arg
3575 pointer parameter to vfprintf making it difficult to call it twice in the
3576 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
3577 does not affect the Windows OSL since the Win C library does not modify
3578 the arg pointer. Chao Guan, Bob Moore.
3580 iASL: Fixed a possible infinite loop when the maximum error count is
3581 reached. If an output file other than the .AML file is specified (such as
3582 a listing file), and the maximum number of errors is reached, do not
3583 attempt to flush data to the output file(s) as the compiler is aborting.
3584 This can cause an infinite loop as the max error count code essentially
3585 keeps calling itself.
3587 iASL/Disassembler: Added an option (-in) to ignore NOOP
3589 Implemented for both the compiler and the disassembler. Often, the NOOP
3590 opcode is used as padding for packages that are changed dynamically by
3592 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
3593 errors. This option causes the disassembler to ignore all NOOP opcodes
3594 (0xA3), and it also causes the compiler to ignore all ASL source code
3598 Debugger: Enhanced the Sleep command to execute all sleep states. This
3599 change allows Sleep to be invoked with no arguments and causes the
3600 debugger to execute all of the sleep states, 0-5, automatically.
3602 ----------------------------------------
3603 20 December 2012. Summary of changes for version 20121220:
3605 1) ACPICA Kernel-resident Subsystem:
3607 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
3608 alternate entry point for AcpiWalkResources and improves the usability of
3609 the resource manager by accepting as input a buffer containing the output
3610 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
3611 input buffer is not deleted by this interface so that it can be used by
3612 the host later. See the ACPICA reference for details.
3614 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
3615 (DSDT version < 2). The constant will be truncated and this warning
3616 reflects that behavior.
3618 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
3619 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
3620 both get and set the new wake bit in these descriptors, separately from
3621 the existing share bit. Reported by Aaron Lu.
3623 Interpreter: Fix Store() when an implicit conversion is not possible. For
3624 example, in the cases such as a store of a string to an existing package
3625 object, implement the store as a CopyObject(). This is a small departure
3626 from the ACPI specification which states that the control method should
3628 aborted in this case. However, the ASLTS suite depends on this behavior.
3630 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
3631 macros: check if debug output is currently enabled as soon as possible to
3632 minimize performance impact if debug is in fact not enabled.
3634 Source code restructuring: Cleanup to improve modularity. The following
3635 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
3636 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
3637 Associated makefiles and project files have been updated.
3639 Changed an exception code for LoadTable operator. For the case where one
3640 of the input strings is too long, change the returned exception code from
3641 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3643 Fixed a possible memory leak in dispatcher error path. On error, delete
3644 the mutex object created during method mutex creation. Reported by
3645 tim.gardner@canonical.com.
3647 Example Code and Data Size: These are the sizes for the OS-independent
3648 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3649 debug version of the code includes the debug output trace mechanism and
3650 has a much larger code and data size.
3653 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
3654 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3656 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
3657 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
3660 2) iASL Compiler/Disassembler and Tools:
3662 iASL: Disallow a method call as argument to the ObjectType ASL operator.
3663 This change tracks an errata to the ACPI 5.0 document. The AML grammar
3664 will not allow the interpreter to differentiate between a method and a
3665 method invocation when these are used as an argument to the ObjectType
3666 operator. The ACPI specification change is to disallow a method
3668 (UserTerm) for the ObjectType operator.
3670 Finish support for the TPM2 and CSRT tables in the headers, table
3671 compiler, and disassembler.
3673 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
3674 always expires immediately if the semaphore is not available. The
3676 code was using a relative-time timeout, but sem_timedwait requires the
3678 of an absolute time.
3680 iASL: Added a remark if the Timer() operator is used within a 32-bit
3681 table. This operator returns a 64-bit time value that will be truncated
3682 within a 32-bit table.
3684 iASL Source code restructuring: Cleanup to improve modularity. The
3685 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
3686 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
3690 ----------------------------------------
3691 14 November 2012. Summary of changes for version 20121114:
3693 1) ACPICA Kernel-resident Subsystem:
3695 Implemented a performance enhancement for ACPI/AML Package objects. This
3696 change greatly increases the performance of Package objects within the
3697 interpreter. It changes the processing of reference counts for packages
3699 optimizing for the most common case where the package sub-objects are
3700 either Integers, Strings, or Buffers. Increases the overall performance
3702 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
3704 Chao Guan. ACPICA BZ 943.
3706 Implemented and deployed common macros to extract flag bits from resource
3707 descriptors. Improves readability and maintainability of the code. Fixes
3709 problem with the UART serial bus descriptor for the number of data bits
3710 flags (was incorrectly 2 bits, should be 3).
3712 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
3713 of the macros and changed the SETx macros to the style of (destination,
3714 source). Also added ACPI_CASTx companion macros. Lv Zheng.
3716 Example Code and Data Size: These are the sizes for the OS-independent
3717 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3718 debug version of the code includes the debug output trace mechanism and
3719 has a much larger code and data size.
3722 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
3723 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3725 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
3726 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3729 2) iASL Compiler/Disassembler and Tools:
3731 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
3732 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
3733 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3735 Disassembler: Fixed a problem with external declaration generation. Fixes
3736 a problem where an incorrect pathname could be generated for an external
3737 declaration if the original reference to the object includes leading
3738 carats (^). ACPICA BZ 984.
3740 Debugger: Completed a major update for the Disassemble<method> command.
3741 This command was out-of-date and did not properly disassemble control
3742 methods that had any reasonable complexity. This fix brings the command
3744 to the same level as the rest of the disassembler. Adds one new file,
3745 dmdeferred.c, which is existing code that is now common with the main
3746 disassembler and the debugger disassemble command. ACPICA MZ 978.
3748 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
3749 Newer versions of Bison emit this prototype, so moved the prototype out
3751 the iASL header to where it is actually used in order to avoid a
3755 iASL/Tools: Standardized use of the stream I/O functions:
3756 1) Ensure check for I/O error after every fopen/fread/fwrite
3757 2) Ensure proper order of size/count arguments for fread/fwrite
3758 3) Use test of (Actual != Requested) after all fwrite, and most fread
3759 4) Standardize I/O error messages
3760 Improves reliability and maintainability of the code. Bob Moore, Lv
3764 Disassembler: Prevent duplicate External() statements. During generation
3765 of external statements, detect similar pathnames that are actually
3766 duplicates such as these:
3769 Remove all leading '\' characters from pathnames during the external
3770 statement generation so that duplicates will be detected and tossed.
3773 Tools: Replace low-level I/O with stream I/O functions. Replace
3774 open/read/write/close with the stream I/O equivalents
3775 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
3778 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
3779 name header so that AcpiXtract recognizes the output file/table.
3781 iASL: Remove obsolete -2 option flag. Originally intended to force the
3782 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
3783 and the entire concept is now obsolete.
3785 ----------------------------------------
3786 18 October 2012. Summary of changes for version 20121018:
3789 1) ACPICA Kernel-resident Subsystem:
3791 Updated support for the ACPI 5.0 MPST table. Fixes some problems
3792 introduced by late changes to the table as it was added to the ACPI 5.0
3793 specification. Includes header, disassembler, and data table compiler
3794 support as well as a new version of the MPST template.
3796 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
3797 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
3798 methods: _HID, _CID, and _UID.
3800 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
3801 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
3802 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
3803 names for their various drivers. Affects the AcpiGetObjectInfo external
3804 interface, and other internal interfaces as well.
3806 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
3807 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
3808 on machines that support non-aligned transfers. Optimizes for this case
3809 rather than using a strncpy. With assistance from Zheng Lv.
3811 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
3812 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
3814 Added a new debug print message for AML mutex objects that are force-
3815 released. At control method termination, any currently acquired mutex
3816 objects are force-released. Adds a new debug-only message for each one
3819 Audited/updated all ACPICA return macros and the function debug depth
3820 counter: 1) Ensure that all functions that use the various TRACE macros
3821 also use the appropriate ACPICA return macros. 2) Ensure that all normal
3822 return statements surround the return expression (value) with parens to
3823 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
3824 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
3826 Global source code changes/maintenance: All extra lines at the start and
3827 end of each source file have been removed for consistency. Also, within
3828 comments, all new sentences start with a single space instead of a double
3829 space, again for consistency across the code base.
3831 Example Code and Data Size: These are the sizes for the OS-independent
3832 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3833 debug version of the code includes the debug output trace mechanism and
3834 has a much larger code and data size.
3837 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3838 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3840 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
3841 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3844 2) iASL Compiler/Disassembler and Tools:
3846 AcpiExec: Improved the algorithm used for memory leak/corruption
3847 detection. Added some intelligence to the code that maintains the global
3848 list of allocated memory. The list is now ordered by allocated memory
3849 address, significantly improving performance. When running AcpiExec on
3850 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
3851 on the platform and/or the environment. Note, this performance
3852 enhancement affects the AcpiExec utility only, not the kernel-resident
3855 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
3856 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
3857 incorrect table offset reported for invalid opcodes. Report the original
3858 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
3860 Disassembler: Enhanced the -vt option to emit the binary table data in
3861 hex format to assist with debugging.
3863 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
3864 size of file structure. Colin Ian King.
3866 ----------------------------------------
3867 13 September 2012. Summary of changes for version 20120913:
3870 1) ACPICA Kernel-resident Subsystem:
3872 ACPI 5.0: Added two new notify types for the Hardware Error Notification
3873 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
3877 Table Manager: Merged/removed duplicate code in the root table resize
3878 functions. One function is external, the other is internal. Lv Zheng,
3882 Makefiles: Completely removed the obsolete "Linux" makefiles under
3883 acpica/generate/linux. These makefiles are obsolete and have been
3886 the generic unix makefiles under acpica/generate/unix.
3888 Makefiles: Ensure that binary files always copied properly. Minor rule
3890 to ensure that the final binary output files are always copied up to the
3891 appropriate binary directory (bin32 or bin64.)
3893 Example Code and Data Size: These are the sizes for the OS-independent
3894 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3896 version of the code includes the debug output trace mechanism and has a
3898 larger code and data size.
3901 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3902 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3904 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3905 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3908 2) iASL Compiler/Disassembler and Tools:
3910 Disassembler: Fixed a possible fault during the disassembly of resource
3911 descriptors when a second parse is required because of the invocation of
3912 external control methods within the table. With assistance from
3913 adq@lidskialf.net. ACPICA BZ 976.
3915 iASL: Fixed a namepath optimization problem. An error can occur if the
3917 node that contains the namepath to be optimized does not have a parent
3919 that is a named object. This change fixes the problem.
3921 iASL: Fixed a regression where the AML file is not deleted on errors. The
3923 output file should be deleted if there are any errors during the
3926 only exception is if the -f (force output) option is used. ACPICA BZ 974.
3928 iASL: Added a feature to automatically increase internal line buffer
3930 Via realloc(), automatically increase the internal line buffer sizes as
3931 necessary to support very long source code lines. The current version of
3933 preprocessor requires a buffer long enough to contain full source code
3935 This change increases the line buffer(s) if the input lines go beyond the
3936 current buffer size. This eliminates errors that occurred when a source
3938 line was longer than the buffer.
3940 iASL: Fixed a problem with constant folding in method declarations. The
3941 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
3943 Type3 opcode was used.
3945 Debugger: Improved command help support. For incorrect argument count,
3947 full help for the command. For help command itself, allow an argument to
3950 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
3951 errors during execution of the suite. Guan Chao.
3953 ----------------------------------------
3954 16 August 2012. Summary of changes for version 20120816:
3957 1) ACPICA Kernel-resident Subsystem:
3959 Removed all use of the deprecated _GTS and _BFS predefined methods. The
3961 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
3962 deprecated and will probably be removed from the ACPI specification.
3964 does not invoke them, and reportedly never will. The final nail in the
3966 is that the ACPI specification states that these methods must be run with
3967 interrupts off, which is not going to happen in a kernel interpreter.
3969 Linux has removed all use of the methods also. It was discovered that
3970 invoking these functions caused failures on some machines, probably
3972 they were never tested since Windows does not call them. Affects two
3974 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
3977 Implemented support for complex bit-packed buffers returned from the _PLD
3978 (Physical Location of Device) predefined method. Adds a new external
3979 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
3981 structure. Note: C Bitfields cannot be used for this type of predefined
3982 structure since the memory layout of individual bitfields is not defined
3984 the C language. In addition, there are endian concerns where a compiler
3986 change the bitfield ordering based on the machine type. The new ACPICA
3987 interface eliminates these issues, and should be called after _PLD is
3988 executed. ACPICA BZ 954.
3990 Implemented a change to allow a scope change to root (via "Scope (\)")
3992 execution of module-level ASL code (code that is executed at table load
3995 Added the Windows8/Server2012 string for the _OSI method. This change
3998 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
4001 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
4003 and CSRT (Core System Resource Table).
4005 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
4006 names. This simplifies access to the buffers returned by these predefined
4007 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
4009 GPE support: Removed an extraneous parameter from the various low-level
4010 internal GPE functions. Tang Feng.
4012 Removed the linux makefiles from the unix packages. The generate/linux
4013 makefiles are obsolete and have been removed from the unix tarball
4015 packages. The replacement makefiles are under generate/unix, and there is
4017 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
4019 Updates for Unix makefiles:
4020 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
4021 2) Update linker flags (move to end of command line) for AcpiExec
4025 Split ACPICA initialization functions to new file, utxfinit.c. Split from
4026 utxface.c to improve modularity and reduce file size.
4028 Example Code and Data Size: These are the sizes for the OS-independent
4029 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4030 debug version of the code includes the debug output trace mechanism and
4032 much larger code and data size.
4035 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
4036 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
4038 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
4039 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
4042 2) iASL Compiler/Disassembler and Tools:
4044 iASL: Fixed a problem with constant folding for fixed-length constant
4045 expressions. The constant-folding code was not being invoked for constant
4046 expressions that allow the use of type 3/4/5 opcodes to generate
4048 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
4050 in the generation of invalid AML bytecode. ACPICA BZ 970.
4052 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
4053 apparently automatically emit some of the necessary externals. This
4055 handles these versions in order to eliminate generation warnings.
4057 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
4059 Disassembler: Add support to decode _PLD buffers. The decoded buffer
4061 within comments in the output file.
4063 Debugger: Fixed a regression with the "Threads" command where
4064 AE_BAD_PARAMETER was always returned.
4066 ----------------------------------------
4067 11 July 2012. Summary of changes for version 20120711:
4069 1) ACPICA Kernel-resident Subsystem:
4071 Fixed a possible fault in the return package object repair code. Fixes a
4072 problem that can occur when a lone package object is wrapped with an
4074 package object in order to force conformance to the ACPI specification.
4076 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
4080 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
4081 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
4082 ARB_DIS bit must be implemented in the host-dependent C3 processor power
4084 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
4086 Intel and other vendors. (for Intel: ICH4-M and earlier)
4088 This change removes the code to disable/enable bus master arbitration
4090 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
4092 resume problems on some machines. The change has been in use for over
4096 Implemented two new external interfaces to support host-directed dynamic
4098 table load and unload. They are intended to simplify the host
4100 of hot-plug support:
4101 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
4102 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
4104 See the ACPICA reference for additional details. Adds one new file,
4105 components/tables/tbxfload.c
4107 Implemented and deployed two new interfaces for errors and warnings that
4109 known to be caused by BIOS/firmware issues:
4110 AcpiBiosError: Prints "ACPI Firmware Error" message.
4111 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
4112 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
4114 and FADT errors. Additional deployment to be completed as appropriate in
4116 future. The associated conditional macros are ACPI_BIOS_ERROR and
4117 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
4122 Implicit notify support: ensure that no memory allocation occurs within a
4123 critical region. This fix moves a memory allocation outside of the time
4125 spinlock is held. Fixes issues on systems that do not allow this
4129 Split exception code utilities and tables into a new file,
4132 Example Code and Data Size: These are the sizes for the OS-independent
4133 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4135 version of the code includes the debug output trace mechanism and has a
4137 larger code and data size.
4140 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
4141 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
4143 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
4144 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
4147 2) iASL Compiler/Disassembler and Tools:
4149 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
4153 Debugger: Enhanced the "tables" command to emit additional information
4155 the current set of ACPI tables, including the owner ID and flags decode.
4157 Debugger: Reimplemented the "unload" command to use the new
4158 AcpiUnloadParentTable external interface. This command was disable
4160 due to need for an unload interface.
4162 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
4164 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
4166 ----------------------------------------
4167 20 June 2012. Summary of changes for version 20120620:
4170 1) ACPICA Kernel-resident Subsystem:
4172 Implemented support to expand the "implicit notify" feature to allow
4174 devices to be notified by a single GPE. This feature automatically
4176 runtime device notification in the absence of a BIOS-provided GPE control
4177 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
4179 provided by ACPICA for Windows compatibility, and is a workaround for
4182 code errors. See the description of the AcpiSetupGpeForWake interface in
4184 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
4186 Changed some comments and internal function names to simplify and ensure
4187 correctness of the Linux code translation. No functional changes.
4189 Example Code and Data Size: These are the sizes for the OS-independent
4190 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4192 version of the code includes the debug output trace mechanism and has a
4194 larger code and data size.
4197 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
4198 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
4200 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
4201 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
4204 2) iASL Compiler/Disassembler and Tools:
4206 Disassembler: Added support to emit short, commented descriptions for the
4208 predefined names in order to improve the readability of the disassembled
4209 output. ACPICA BZ 959. Changes include:
4210 1) Emit descriptions for all standard predefined names (_INI, _STA,
4213 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4214 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
4217 AcpiSrc: Fixed several long-standing Linux code translation issues.
4219 descriptions in function headers are now translated properly to lower
4222 underscores. ACPICA BZ 961. Also fixes translation problems such as
4228 local_fADT -> local_FADT
4229 execute_oSI -> execute_OSI
4231 iASL: Fixed a problem where null bytes were inadvertently emitted into
4235 iASL: Added the existing debug options to the standard help screen. There
4237 no longer two different help screens. ACPICA BZ 957.
4239 AcpiHelp: Fixed some typos in the various predefined name descriptions.
4241 expand some of the descriptions where appropriate.
4243 iASL: Fixed the -ot option (display compile times/statistics). Was not
4245 properly for standard output; only worked for the debug file case.
4247 ----------------------------------------
4248 18 May 2012. Summary of changes for version 20120518:
4251 1) ACPICA Core Subsystem:
4253 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
4255 to block until asynchronous events such as notifies and GPEs have
4257 Within ACPICA, it is only called before a notify or GPE handler is
4258 removed/uninstalled. It also may be useful for the host OS within related
4259 drivers such as the Embedded Controller driver. See the ACPICA reference
4261 additional information. ACPICA BZ 868.
4263 ACPI Tables: Added a new error message for a possible overflow failure
4265 the conversion of FADT 32-bit legacy register addresses to internal
4268 bit GAS structure representation. The GAS has a one-byte "bit length"
4270 thus limiting the register length to 255 bits. ACPICA BZ 953.
4272 Example Code and Data Size: These are the sizes for the OS-independent
4273 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4275 version of the code includes the debug output trace mechanism and has a
4277 larger code and data size.
4280 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4281 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
4283 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
4284 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
4287 2) iASL Compiler/Disassembler and Tools:
4289 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
4291 This keyword was added late in the ACPI 5.0 release cycle and was not
4292 implemented until now.
4294 Disassembler: Added support for Operation Region externals. Adds missing
4295 support for operation regions that are defined in another table, and
4296 referenced locally via a Field or BankField ASL operator. Now generates
4298 correct External statement.
4300 Disassembler: Several additional fixes for the External() statement
4302 related to some ASL operators. Also, order the External() statements
4303 alphabetically in the disassembler output. Fixes the External()
4306 the Create* field, Alias, and Scope operators:
4307 1) Create* buffer field operators - fix type mismatch warning on
4309 2) Alias - implement missing External support
4310 3) Scope - fix to make sure all necessary externals are emitted.
4312 iASL: Improved pathname support. For include files, merge the prefix
4314 with the file pathname and eliminate unnecessary components. Convert
4315 backslashes in all pathnames to forward slashes, for readability. Include
4317 pathname changes affect both #include and Include() type operators.
4319 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
4321 of a valid line by inserting a newline and then returning the EOF during
4323 next call to GetNextLine. Prevents the line from being ignored due to EOF
4326 iASL: Implemented some changes to enhance the IDE support (-vi option.)
4328 and Warning messages are now correctly recognized for both the source
4330 browser and the global error and warning counts.
4332 ----------------------------------------
4333 20 April 2012. Summary of changes for version 20120420:
4336 1) ACPICA Core Subsystem:
4338 Implemented support for multiple notify handlers. This change adds
4341 allow multiple system and device notify handlers on Device, Thermal Zone,
4343 Processor objects. This can simplify the host OS notification
4345 Also re-worked and restructured the entire notify support code to
4347 handler installation, handler removal, notify event queuing, and notify
4348 dispatch to handler(s). Note: there can still only be two global notify
4349 handlers - one for system notifies and one for device notifies. There are
4351 changes to the existing handler install/remove interfaces. Lin Ming, Bob
4352 Moore, Rafael Wysocki.
4354 Fixed a regression in the package repair code where the object reference
4355 count was calculated incorrectly. Regression was introduced in the commit
4356 "Support to add Package wrappers".
4358 Fixed a couple possible memory leaks in the AML parser, in the error
4360 path. Jesper Juhl, Lin Ming.
4362 Example Code and Data Size: These are the sizes for the OS-independent
4363 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4364 debug version of the code includes the debug output trace mechanism and
4366 much larger code and data size.
4369 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4370 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4372 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4373 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
4376 2) iASL Compiler/Disassembler and Tools:
4378 iASL: Fixed a problem with the resource descriptor support where the
4380 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
4381 included in cumulative descriptor offset, resulting in incorrect values
4383 resource tags within resource descriptors appearing after a
4385 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4387 iASL and Preprocessor: Implemented full support for the #line directive
4389 correctly track original source file line numbers through the .i
4391 output file - for error and warning messages.
4393 iASL: Expand the allowable byte constants for address space IDs.
4395 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
4396 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
4398 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4400 iASL: Add option to completely disable the preprocessor (-Pn).
4402 iASL: Now emit all error/warning messages to standard error (stderr) by
4403 default (instead of the previous stdout).
4405 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
4407 for resource descriptor offset fix above. Update/cleanup error output
4408 routines. Enable and send iASL errors/warnings to an error logfile
4409 (error.txt). Send all other iASL output to a logfile (compiler.txt).
4411 several extraneous "unrecognized operator" messages.
4413 ----------------------------------------
4414 20 March 2012. Summary of changes for version 20120320:
4417 1) ACPICA Core Subsystem:
4419 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
4420 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
4422 does not execute these methods, and therefore these methods are often
4423 untested. It has been seen on some systems where the execution of these
4424 methods causes errors and also prevents the machine from entering S5. It
4426 therefore suggested that host operating systems do not execute these
4428 by default. In the future, perhaps these methods can be optionally
4430 based on the age of the system and/or what is the newest version of
4432 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
4434 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
4437 Fixed a problem where the length of the local/common FADT was set too
4439 The local FADT table length cannot be set to the common length until the
4440 original length has been examined. There is code that checks the table
4442 and sets various fields appropriately. This can affect older machines
4444 early FADT versions. For example, this can cause inadvertent writes to
4446 CST_CNT register. Julian Anastasov.
4448 Fixed a mapping issue related to a physical table override. Use the
4450 mapping mechanism for tables loaded via the physical override OSL
4452 This allows for early mapping before the virtual memory manager is
4454 Thomas Renninger, Bob Moore.
4456 Enhanced the automatic return-object repair code: Repair a common problem
4458 predefined methods that are defined to return a variable-length Package
4460 sub-objects. If there is only one sub-object, some BIOS ASL code
4462 simply returns the single object instead of a Package with one sub-
4464 This new support will repair this error by wrapping a Package object
4466 the original object, creating the correct and expected Package with one
4468 object. Names that can be repaired in this manner include: _ALR, _CSD,
4470 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
4473 Changed the exception code returned for invalid ACPI paths passed as
4474 parameters to external interfaces such as AcpiEvaluateObject. Was
4475 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4477 Example Code and Data Size: These are the sizes for the OS-independent
4478 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4480 version of the code includes the debug output trace mechanism and has a
4482 larger code and data size.
4485 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
4486 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4488 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4489 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4492 2) iASL Compiler/Disassembler and Tools:
4494 iASL: Added the infrastructure and initial implementation of a integrated
4496 like preprocessor. This will simplify BIOS development process by
4498 the need for a separate preprocessing step during builds. On Windows, it
4500 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
4501 features including full #define() macro support are still under
4503 These preprocessor directives are supported:
4516 In addition, these new command line options are supported:
4517 -D <symbol> Define symbol for preprocessor use
4518 -li Create preprocessed output file (*.i)
4519 -P Preprocess only and create preprocessor output file (*.i)
4521 Table Compiler: Fixed a problem where the equals operator within an
4523 did not work properly.
4525 Updated iASL to use the current versions of Bison/Flex. Updated the
4527 project file to invoke these tools from the standard location. ACPICA BZ
4530 Flex for Windows: V2.5.4
4531 Bison for Windows: V2.4.1
4533 ----------------------------------------
4534 15 February 2012. Summary of changes for version 20120215:
4537 1) ACPICA Core Subsystem:
4539 There have been some major changes to the sleep/wake support code, as
4540 described below (a - e).
4542 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
4543 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
4544 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
4546 time the _BFS method is called and the _WAK method is called. NOTE: all
4548 must update their wake/resume code or else sleep/wake will not work
4552 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
4554 method. Some machines require that the GPEs are enabled before the _WAK
4556 is executed. Thomas Renninger.
4558 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
4560 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
4562 determine whether the system is rebooting or resuming. Matthew Garrett.
4564 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
4566 match the ACPI specification requirement. Rafael Wysocki.
4568 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
4569 registers within the V5 FADT. This support adds two new files:
4570 hardware/hwesleep.c implements the support for the new registers. Moved
4572 sleep/wake external interfaces to hardware/hwxfsleep.c.
4575 Added a new OSL interface for ACPI table overrides,
4576 AcpiOsPhysicalTableOverride. This interface allows the host to override a
4577 table via a physical address, instead of the logical address required by
4578 AcpiOsTableOverride. This simplifies the host implementation. Initial
4579 implementation by Thomas Renninger. The ACPICA implementation creates a
4581 shared function for table overrides that attempts both a logical and a
4584 Expanded the OSL memory read/write interfaces to 64-bit data
4585 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
4586 transfer support for GAS register structures passed to AcpiRead and
4589 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
4591 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
4593 See the ACPICA reference for details. ACPICA BZ 942. This option removes
4595 10% of the code and 5% of the static data, and the following hardware
4597 features become unavailable:
4598 PM Event and Control registers
4599 SCI interrupt (and handler)
4601 General Purpose Events (GPEs)
4604 FACS table (Waking vectors and Global Lock)
4606 Updated the unix tarball directory structure to match the ACPICA git
4608 tree. This ensures that the generic unix makefiles work properly (in
4609 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
4612 Updated the return value of the _REV predefined method to integer value 5
4614 reflect ACPI 5.0 support.
4616 Moved the external ACPI PM timer interface prototypes to the public
4618 file where they belong.
4620 Example Code and Data Size: These are the sizes for the OS-independent
4621 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4623 version of the code includes the debug output trace mechanism and has a
4625 larger code and data size.
4628 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
4629 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
4631 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
4632 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4635 2) iASL Compiler/Disassembler and Tools:
4637 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
4638 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
4639 incorrectly displayed.
4641 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
4644 ----------------------------------------
4645 11 January 2012. Summary of changes for version 20120111:
4648 1) ACPICA Core Subsystem:
4650 Implemented a new mechanism to allow host device drivers to check for
4652 range conflicts with ACPI Operation Regions. Both SystemMemory and
4654 address spaces are supported. A new external interface,
4655 AcpiCheckAddressRange,
4656 allows drivers to check an address range against the ACPI namespace. See
4658 ACPICA reference for additional details. Adds one new file,
4659 utilities/utaddress.c. Lin Ming, Bob Moore.
4661 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
4664 Status registers, update the ACPI 5.0 flags, and update internal data
4665 structures to handle an FADT larger than 256 bytes. The size of the ACPI
4669 Updated all ACPICA copyrights and signons to 2012. Added the 2012
4671 all module headers and signons, including the standard Linux header. This
4672 affects virtually every file in the ACPICA core subsystem, iASL compiler,
4674 all ACPICA utilities.
4676 Example Code and Data Size: These are the sizes for the OS-independent
4677 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4679 version of the code includes the debug output trace mechanism and has a
4681 larger code and data size.
4684 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
4685 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
4687 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
4688 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
4691 2) iASL Compiler/Disassembler and Tools:
4693 Disassembler: fixed a problem with the automatic resource tag generation
4694 support. Fixes a problem where the resource tags are inadvertently not
4695 constructed if the table being disassembled contains external references
4697 control methods. Moved the actual construction of the tags to after the
4699 namespace is constructed (after 2nd parse is invoked due to external
4701 method references.) ACPICA BZ 941.
4703 Table Compiler: Make all "generic" operators caseless. These are the
4705 like UINT8, String, etc. Making these caseless improves ease-of-use.
4709 ----------------------------------------
4710 23 November 2011. Summary of changes for version 20111123:
4712 0) ACPI 5.0 Support:
4714 This release contains full support for the ACPI 5.0 specification, as
4717 Reduced Hardware Support:
4718 -------------------------
4720 This support allows for ACPI systems without the usual ACPI hardware.
4722 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
4724 not attempt to initialize or use any of the usual ACPI hardware. Note,
4726 this flag is set, all of the following ACPI hardware is assumed to be not
4727 present and is not initialized or accessed:
4729 General Purpose Events (GPEs)
4730 Fixed Events (PM1a/PM1b and PM Control)
4731 Power Management Timer and Console Buttons (power/sleep)
4732 Real-time Clock Alarm
4734 System Control Interrupt (SCI)
4735 The FACS is assumed to be non-existent
4740 All new tables and updates to existing tables are fully supported in the
4741 ACPICA headers (for use by device drivers), the disassembler, and the
4743 Data Table Compiler. ACPI 5.0 defines these new tables:
4745 BGRT /* Boot Graphics Resource Table */
4746 DRTM /* Dynamic Root of Trust for Measurement table */
4747 FPDT /* Firmware Performance Data Table */
4748 GTDT /* Generic Timer Description Table */
4749 MPST /* Memory Power State Table */
4750 PCCT /* Platform Communications Channel Table */
4751 PMTT /* Platform Memory Topology Table */
4752 RASF /* RAS Feature table */
4754 Operation Regions/SpaceIDs:
4755 ---------------------------
4757 All new operation regions are fully supported by the iASL compiler, the
4758 disassembler, and the ACPICA runtime code (for dispatch to region
4760 The new operation region Space IDs are:
4765 Resource Descriptors:
4766 ---------------------
4768 All new ASL resource descriptors are fully supported by the iASL
4771 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
4773 all new predefined resource tags). New descriptors are:
4782 ASL/AML Operators, New and Modified:
4783 ------------------------------------
4785 One new operator is added, the Connection operator, which is used to
4787 a GeneralPurposeIo or GenericSerialBus resource descriptor with
4789 field objects within an operation region. Several new protocols are
4791 with the AccessAs operator. All are fully supported by the iASL compiler,
4792 disassembler, and runtime ACPICA AML interpreter:
4794 Connection // Declare Field Connection
4796 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
4797 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
4799 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
4800 RawDataBuffer // Data type for Vendor Data
4803 Predefined ASL/AML Objects:
4804 ---------------------------
4806 All new predefined objects/control-methods are supported by the iASL
4808 and the ACPICA runtime validation/repair (arguments and return values.)
4810 predefined names include the following:
4812 Standard Predefined Names (Objects or Control Methods):
4813 _AEI, _CLS, _CPC, _CWS, _DEP,
4814 _DLM, _EVT, _GCP, _CRT, _GWS,
4815 _HRV, _PRE, _PSE, _SRT, _SUB.
4817 Resource Tags (Names used to access individual fields within resource
4819 _DBT, _DPL, _DRS, _END, _FLC,
4820 _IOR, _LIN, _MOD, _PAR, _PHA,
4821 _PIN, _PPI, _POL, _RXL, _SLV,
4822 _SPE, _STB, _TXL, _VEN.
4824 ACPICA External Interfaces:
4825 ---------------------------
4827 Several new interfaces have been defined for use by ACPI-related device
4828 drivers and other host OS services:
4830 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
4832 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
4833 provided by the BIOS. They are intended to be used in conjunction with
4835 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
4836 mutual exclusion with the AML code/interpreter.
4838 AcpiGetEventResources: Returns the (formatted) resource descriptors as
4840 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
4842 resource descriptors associated with hardware-reduced platform events,
4844 to the AcpiGetCurrentResources interface.
4846 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
4847 operation regions, information about the Connection() object and any
4849 length information is passed to the region handler within the Context
4852 AcpiBufferToResource: This interface converts a raw AML buffer containing
4854 resource template or resource descriptor to the ACPI_RESOURCE internal
4856 suitable for use by device drivers. Can be used by an operation region
4858 to convert the Connection() buffer object into a ACPI_RESOURCE.
4860 Miscellaneous/Tools/TestSuites:
4861 -------------------------------
4863 Support for extended _HID names (Four alpha characters instead of three).
4864 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
4865 Support for ACPI 5.0 features in the ASLTS test suite.
4866 Fully updated documentation (ACPICA and iASL reference documents.)
4868 ACPI Table Definition Language:
4869 -------------------------------
4871 Support for this language was implemented and released as a subsystem of
4873 iASL compiler in 2010. (See the iASL compiler User Guide.)
4876 Non-ACPI 5.0 changes for this release:
4877 --------------------------------------
4879 1) ACPICA Core Subsystem:
4881 Fix a problem with operation region declarations where a failure can
4884 the region name and an argument that evaluates to an object (such as the
4885 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
4888 Do not abort an ACPI table load if an invalid space ID is found within.
4890 will be caught later if the offending method is executed. ACPICA BZ 925.
4892 Fixed an issue with the FFixedHW space ID where the ID was not always
4893 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
4895 Fixed a problem with the 32-bit generation of the unix-specific OSL
4896 (osunixxf.c). Lin Ming, ACPICA BZ 936.
4898 Several changes made to enable generation with the GCC 4.6 compiler.
4902 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
4904 field registers out-of-range.
4906 2) iASL Compiler/Disassembler and Tools:
4908 iASL: Implemented the __PATH__ operator, which returns the full pathname
4910 the current source file.
4912 AcpiHelp: Automatically display expanded keyword information for all ASL
4915 Debugger: Add "Template" command to disassemble/dump resource template
4918 Added a new master script to generate and execute the ASLTS test suite.
4919 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
4921 iASL: Fix problem with listing generation during processing of the
4923 operator where AML listing was disabled until the entire Switch block was
4926 iASL: Improve support for semicolon statement terminators. Fix "invalid
4927 character" message for some cases when the semicolon is used. Semicolons
4929 now allowed after every <Term> grammar element. ACPICA BZ 927.
4931 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
4934 Disassembler: Fix problem with disassembly of the DataTableRegion
4936 where an inadvertent "Unhandled deferred opcode" message could be
4939 3) Example Code and Data Size
4941 These are the sizes for the OS-independent acpica.lib produced by the
4942 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4943 includes the debug output trace mechanism and has a much larger code and
4948 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4949 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4951 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
4952 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
4954 ----------------------------------------
4955 22 September 2011. Summary of changes for version 20110922:
4959 Support for ACPI 5.0 in ACPICA has been underway for several months and
4961 be released at the same time that ACPI 5.0 is officially released.
4963 The ACPI 5.0 specification is on track for release in the next few
4966 1) ACPICA Core Subsystem:
4968 Fixed a problem where the maximum sleep time for the Sleep() operator was
4969 intended to be limited to two seconds, but was inadvertently limited to
4973 Linux and Unix makefiles: Added header file dependencies to ensure
4975 generation of ACPICA core code and utilities. Also simplified the
4977 considerably through the use of the vpath variable to specify search
4981 2) iASL Compiler/Disassembler and Tools:
4983 iASL: Implemented support to check the access length for all fields
4985 access named Resource Descriptor fields. For example, if a resource field
4987 defined to be two bits, a warning is issued if a CreateXxxxField() is
4989 with an incorrect bit length. This is implemented for all current
4991 descriptor names. ACPICA BZ 930.
4993 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
4997 iASL: Fixed a couple of issues associated with variable-length package
4998 objects. 1) properly handle constants like One, Ones, Zero -- do not make
5000 VAR_PACKAGE when these are used as a package length. 2) Allow the
5002 opcode (in addition to PACKAGE) when validating object types for
5006 iASL: Emit statistics for all output files (instead of just the ASL input
5008 AML output). Includes listings, hex files, etc.
5010 iASL: Added -G option to the table compiler to allow the compilation of
5012 ACPI tables. The only part of a table that is required is the standard
5017 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
5019 which also adds correct 64-bit support. Also, now all output filenames
5021 completely lower case.
5023 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
5024 loading table files. A warning is issued for any such tables. The only
5025 exception is an FADT. This also fixes a possible fault when attempting to
5027 non-AML tables. ACPICA BZ 932.
5029 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
5031 missing table terminator could cause a fault when using the -p option.
5033 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
5036 3) Example Code and Data Size
5038 These are the sizes for the OS-independent acpica.lib produced by the
5039 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5040 includes the debug output trace mechanism and has a much larger code and
5044 Previous Release (VC 9.0):
5045 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
5046 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5047 Current Release (VC 9.0):
5048 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
5049 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5052 ----------------------------------------
5053 23 June 2011. Summary of changes for version 20110623:
5055 1) ACPI CA Core Subsystem:
5057 Updated the predefined name repair mechanism to not attempt repair of a
5059 return object if a _PSS object is present. We can only sort the _TSS
5061 package if there is no _PSS within the same scope. This is because if
5064 present, the ACPI specification dictates that the _TSS Power Dissipation
5066 is to be ignored, and therefore some BIOSs leave garbage values in the
5068 Power field(s). In this case, it is best to just return the _TSS package
5070 is. Reported by, and fixed with assistance from Fenghua Yu.
5072 Added an option to globally disable the control method return value
5074 and repair. This runtime option can be used to disable return value
5077 this is causing a problem on a particular machine. Also added an option
5079 AcpiExec (-dr) to set this disable flag.
5081 All makefiles and project files: Major changes to improve generation of
5083 tools. ACPICA BZ 912:
5084 Reduce default optimization levels to improve compatibility
5085 For Linux, add strict-aliasing=0 for gcc 4
5086 Cleanup and simplify use of command line defines
5087 Cleanup multithread library support
5088 Improve usage messages
5090 Linux-specific header: update handling of THREAD_ID and pthread. For the
5092 bit case, improve casting to eliminate possible warnings, especially with
5096 Example Code and Data Size: These are the sizes for the OS-independent
5097 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5099 version of the code includes the debug output trace mechanism and has a
5101 larger code and data size.
5103 Previous Release (VC 9.0):
5104 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
5105 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5106 Current Release (VC 9.0):
5107 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
5108 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5110 2) iASL Compiler/Disassembler and Tools:
5112 With this release, a new utility named "acpihelp" has been added to the
5114 package. This utility summarizes the ACPI specification chapters for the
5116 and AML languages. It generates under Linux/Unix as well as Windows, and
5117 provides the following functionality:
5118 Find/display ASL operator(s) -- with description and syntax.
5119 Find/display ASL keyword(s) -- with exact spelling and descriptions.
5120 Find/display ACPI predefined name(s) -- with description, number
5121 of arguments, and the return value data type.
5122 Find/display AML opcode name(s) -- with opcode, arguments, and
5124 Decode/display AML opcode -- with opcode name, arguments, and
5127 Service Layers: Make multi-thread support configurable. Conditionally
5129 the multi-thread support so that threading libraries will not be linked
5132 necessary. The only tool that requires multi-thread support is AcpiExec.
5134 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
5136 Bison appear to want the interface to yyerror to be a const char * (or at
5137 least this is a problem when generating iASL on some systems.) ACPICA BZ
5141 Tools: Fix for systems where O_BINARY is not defined. Only used for
5143 versions of the tools.
5145 ----------------------------------------
5146 27 May 2011. Summary of changes for version 20110527:
5148 1) ACPI CA Core Subsystem:
5150 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
5152 signature. Now, only allow SSDT, OEMx, and a null signature. History:
5153 1) Originally, we checked the table signature for "SSDT" or "PSDT".
5154 (PSDT is now obsolete.)
5155 2) We added support for OEMx tables, signature "OEM" plus a fourth
5156 "don't care" character.
5157 3) Valid tables were encountered with a null signature, so we just
5158 gave up on validating the signature, (05/2008).
5159 4) We encountered non-AML tables such as the MADT, which caused
5160 interpreter errors and kernel faults. So now, we once again allow
5161 only SSDT, OEMx, and now, also a null signature. (05/2011).
5163 Added the missing _TDL predefined name to the global name list in order
5165 enable validation. Affects both the core ACPICA code and the iASL
5168 Example Code and Data Size: These are the sizes for the OS-independent
5169 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5171 version of the code includes the debug output trace mechanism and has a
5173 larger code and data size.
5175 Previous Release (VC 9.0):
5176 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
5177 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
5178 Current Release (VC 9.0):
5179 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
5180 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
5182 2) iASL Compiler/Disassembler and Tools:
5184 Debugger/AcpiExec: Implemented support for "complex" method arguments on
5186 debugger command line. This adds support beyond simple integers --
5188 Strings, Buffers, and Packages. Includes support for nested packages.
5189 Increased the default command line buffer size to accommodate these
5191 See the ACPICA reference for details and syntax. ACPICA BZ 917.
5193 Debugger/AcpiExec: Implemented support for "default" method arguments for
5195 Execute/Debug command. Now, the debugger will always invoke a control
5197 with the required number of arguments -- even if the command line
5199 none or insufficient arguments. It uses default integer values for any
5201 arguments. Also fixes a bug where only six method arguments maximum were
5202 supported instead of the required seven.
5204 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
5206 also return status in order to prevent buffer overruns. See the ACPICA
5207 reference for details and syntax. ACPICA BZ 921
5209 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
5210 makefiles to simplify support for the two different but similar parser
5211 generators, bison and yacc.
5213 Updated the generic unix makefile for gcc 4. The default gcc version is
5215 expected to be 4 or greater, since options specific to gcc 4 are used.
5217 ----------------------------------------
5218 13 April 2011. Summary of changes for version 20110413:
5220 1) ACPI CA Core Subsystem:
5222 Implemented support to execute a so-called "orphan" _REG method under the
5224 device. This change will force the execution of a _REG method underneath
5227 device even if there is no corresponding operation region of type
5228 EmbeddedControl. Fixes a problem seen on some machines and apparently is
5229 compatible with Windows behavior. ACPICA BZ 875.
5231 Added more predefined methods that are eligible for automatic NULL
5233 element removal. This change adds another group of predefined names to
5236 of names that can be repaired by having NULL package elements dynamically
5237 removed. This group are those methods that return a single variable-
5239 package containing simple data types such as integers, buffers, strings.
5241 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
5244 and _TZD. ACPICA BZ 914.
5246 Split and segregated all internal global lock functions to a new file,
5249 Updated internal address SpaceID for DataTable regions. Moved this
5252 id in preparation for ACPI 5.0 changes that will include some new space
5255 change should not affect user/host code.
5257 Example Code and Data Size: These are the sizes for the OS-independent
5259 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5261 the code includes the debug output trace mechanism and has a much larger
5266 Previous Release (VC 9.0):
5267 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
5268 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
5269 Current Release (VC 9.0):
5270 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
5271 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
5273 2) iASL Compiler/Disassembler and Tools:
5275 iASL/DTC: Major update for new grammar features. Allow generic data types
5277 custom ACPI tables. Field names are now optional. Any line can be split
5279 multiple lines using the continuation char (\). Large buffers now use
5281 continuation character(s) and no colon on the continuation lines. See the
5283 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
5286 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
5288 Since the parser stuffs a "zero" as the return value for these statements
5291 the underlying AML grammar), they were seen as "return with value" by the
5293 semantic checking. They are now seen correctly as "null" return
5296 iASL: Check if a_REG declaration has a corresponding Operation Region.
5298 check for each _REG to ensure that there is in fact a corresponding
5300 region declaration in the same scope. If not, the _REG method is not very
5302 since it probably won't be executed. ACPICA BZ 915.
5304 iASL/DTC: Finish support for expression evaluation. Added a new
5307 that implements c-style operator precedence and parenthesization. ACPICA
5311 Disassembler/DTC: Remove support for () and <> style comments in data
5314 that DTC has full expression support, we don't want to have comment
5317 start with a parentheses or a less-than symbol. Now, only the standard /*
5320 comments are supported, as well as the bracket [] comments.
5322 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
5324 headers in the acpidump file. Update the header validation to support
5326 tables. Problem introduced in previous AcpiXtract version in the change
5328 support "wrong checksum" error messages emitted by acpidump utility.
5330 iASL: Add a * option to generate all template files (as a synonym for
5334 "iasl -T *" or "iasl -T ALL".
5336 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
5338 abort the compiler on "fatal" errors, simply should abort the current
5340 This allows multiple compiles with a single (possibly wildcard) compiler
5343 ----------------------------------------
5344 16 March 2011. Summary of changes for version 20110316:
5346 1) ACPI CA Core Subsystem:
5348 Fixed a problem caused by a _PRW method appearing at the namespace root
5350 during the setup of wake GPEs. A fault could occur if a _PRW directly
5353 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5355 Implemented support for "spurious" Global Lock interrupts. On some
5357 global lock interrupt can occur without the pending flag being set. Upon
5360 interrupt, we now ensure that a thread is actually waiting for the lock
5362 signaling GL availability. Rafael Wysocki, Bob Moore.
5364 Example Code and Data Size: These are the sizes for the OS-independent
5366 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5368 the code includes the debug output trace mechanism and has a much larger
5373 Previous Release (VC 9.0):
5374 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5375 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5376 Current Release (VC 9.0):
5377 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
5378 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
5380 2) iASL Compiler/Disassembler and Tools:
5382 Implemented full support for the "SLIC" ACPI table. Includes support in
5384 header files, disassembler, table compiler, and template generator. Bob
5388 AcpiXtract: Correctly handle embedded comments and messages from
5390 Apparently some or all versions of acpidump will occasionally emit a
5393 "Wrong checksum", etc., into the dump file. This was causing problems for
5394 AcpiXtract. ACPICA BZ 905.
5396 iASL: Fix the Linux makefile by removing an inadvertent double file
5400 AcpiExec: Update installation of operation region handlers. Install one
5402 for a user-defined address space. This is used by the ASL test suite
5405 ----------------------------------------
5406 11 February 2011. Summary of changes for version 20110211:
5408 1) ACPI CA Core Subsystem:
5410 Added a mechanism to defer _REG methods for some early-installed
5412 Most user handlers should be installed before call to
5413 AcpiEnableSubsystem.
5414 However, Event handlers and region handlers should be installed after
5415 AcpiInitializeObjects. Override handlers for the "default" regions should
5417 installed early, however. This change executes all _REG methods for the
5418 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
5419 chicken/egg issues between them. ACPICA BZ 848.
5421 Implemented an optimization for GPE detection. This optimization will
5423 ignore GPE registers that contain no enabled GPEs -- there is no need to
5424 read the register since this information is available internally. This
5425 becomes more important on machines with a large GPE space. ACPICA
5427 884. Lin Ming. Suggestion from Joe Liu.
5429 Removed all use of the highly unreliable FADT revision field. The
5431 number in the FADT has been found to be completely unreliable and cannot
5433 trusted. Only the actual table length can be used to infer the version.
5435 change updates the ACPICA core and the disassembler so that both no
5437 even look at the FADT version and instead depend solely upon the FADT
5440 Fix an unresolved name issue for the no-debug and no-error-message source
5441 generation cases. The _AcpiModuleName was left undefined in these cases,
5443 it is actually needed as a parameter to some interfaces. Define
5444 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5446 Split several large files (makefiles and project files updated)
5447 utglobal.c -> utdecode.c
5448 dbcomds.c -> dbmethod.c dbnames.c
5449 dsopcode.c -> dsargs.c dscontrol.c
5450 dsload.c -> dsload2.c
5451 aslanalyze.c -> aslbtypes.c aslwalks.c
5453 Example Code and Data Size: These are the sizes for the OS-independent
5454 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5455 debug version of the code includes the debug output trace mechanism and
5457 a much larger code and data size.
5459 Previous Release (VC 9.0):
5460 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5461 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5462 Current Release (VC 9.0):
5463 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5464 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5466 2) iASL Compiler/Disassembler and Tools:
5468 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
5469 These are useful C-style macros with the standard definitions. ACPICA
5472 iASL/DTC: Added support for integer expressions and labels. Support for
5474 expressions for all integer fields in all ACPI tables. Support for labels
5476 "generic" portions of tables such as UEFI. See the iASL reference manual.
5478 Debugger: Added a command to display the status of global handlers. The
5479 "handlers" command will display op region, fixed event, and miscellaneous
5480 global handlers. installation status -- and for op regions, whether
5482 or user-installed handler will be used.
5484 iASL: Warn if reserved method incorrectly returns a value. Many
5486 names are defined such that they do not return a value. If implemented as
5488 method, issue a warning if such a name explicitly returns a value. ACPICA
5491 iASL: Added detection of GPE method name conflicts. Detects a conflict
5493 there are two GPE methods of the form _Lxy and _Exy in the same scope.
5495 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5497 iASL/DTC: Fixed a couple input scanner issues with comments and line
5498 numbers. Comment remover could get confused and miss a comment ending.
5500 a problem with line counter maintenance.
5502 iASL/DTC: Reduced the severity of some errors from fatal to error. There
5504 no need to abort on simple errors within a field definition.
5506 Debugger: Simplified the output of the help command. All help output now
5508 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5510 ----------------------------------------
5511 12 January 2011. Summary of changes for version 20110112:
5513 1) ACPI CA Core Subsystem:
5515 Fixed a race condition between method execution and namespace walks that
5517 possibly cause a fault. The problem was apparently introduced in version
5518 20100528 as a result of a performance optimization that reduces the
5521 namespace walks upon method exit by using the delete_namespace_subtree
5522 function instead of the delete_namespace_by_owner function used
5524 Bug is a missing namespace lock in the delete_namespace_subtree function.
5525 dana.myers@oracle.com
5527 Fixed several issues and a possible fault with the automatic "serialized"
5528 method support. History: This support changes a method to "serialized" on
5530 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
5531 possibility that it cannot handle reentrancy. This fix repairs a couple
5533 issues seen in the field, especially on machines with many cores:
5535 1) Delete method children only upon the exit of the last thread,
5536 so as to not delete objects out from under other running threads
5537 (and possibly causing a fault.)
5538 2) Set the "serialized" bit for the method only upon the exit of the
5539 Last thread, so as to not cause deadlock when running threads
5541 3) Cleanup the use of the AML "MethodFlags" and internal method flags
5542 so that there is no longer any confusion between the two.
5544 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5546 Debugger: Now lock the namespace for duration of a namespace dump.
5548 issues if the namespace is changing dynamically underneath the debugger.
5549 Especially affects temporary namespace nodes, since the debugger displays
5552 Updated the ordering of include files. The ACPICA headers should appear
5553 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
5555 any necessary compiler-specific defines, etc. Affects the ACPI-related
5559 Updated all ACPICA copyrights and signons to 2011. Added the 2011
5561 to all module headers and signons, including the Linux header. This
5563 virtually every file in the ACPICA core subsystem, iASL compiler, and all
5566 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
5567 project files for VC++ 6.0 are now obsolete. New project files can be
5569 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
5572 Example Code and Data Size: These are the sizes for the OS-independent
5573 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5574 debug version of the code includes the debug output trace mechanism and
5576 much larger code and data size.
5578 Previous Release (VC 6.0):
5579 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
5580 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
5581 Current Release (VC 9.0):
5582 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5583 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5585 2) iASL Compiler/Disassembler and Tools:
5587 iASL: Added generic data types to the Data Table compiler. Add "generic"
5589 types such as UINT32, String, Unicode, etc., to simplify the generation
5591 platform-defined tables such as UEFI. Lin Ming.
5593 iASL: Added listing support for the Data Table Compiler. Adds listing
5595 (-l) to display actual binary output for each line of input code.
5597 ----------------------------------------
5598 09 December 2010. Summary of changes for version 20101209:
5600 1) ACPI CA Core Subsystem:
5602 Completed the major overhaul of the GPE support code that was begun in
5604 2010. Major features include: removal of _PRW execution in ACPICA (host
5605 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
5606 changes to existing interfaces, simplification of GPE handler operation,
5608 a handful of new interfaces:
5614 One new file, evxfgpe.c to consolidate all external GPE interfaces.
5616 See the ACPICA Programmer Reference for full details and programming
5617 information. See the new section 4.4 "General Purpose Event (GPE)
5619 for a full overview, and section 8.7 "ACPI General Purpose Event
5621 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
5623 Bob Moore, Rafael Wysocki.
5625 Implemented a new GPE feature for Windows compatibility, the "Implicit
5627 GPE Notify". This feature will automatically issue a Notify(2) on a
5629 when a Wake GPE is received if there is no corresponding GPE method or
5630 handler. ACPICA BZ 870.
5632 Fixed a problem with the Scope() operator during table parse and load
5634 During load phase (table load or method execution), the scope operator
5636 not enter the target into the namespace. Instead, it should open a new
5638 at the target location. Linux BZ 19462, ACPICA BZ 882.
5640 Example Code and Data Size: These are the sizes for the OS-independent
5641 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5642 debug version of the code includes the debug output trace mechanism and
5644 much larger code and data size.
5647 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
5648 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
5650 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5651 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5653 2) iASL Compiler/Disassembler and Tools:
5655 iASL: Relax the alphanumeric restriction on _CID strings. These strings
5657 "bus-specific" per the ACPI specification, and therefore any characters
5659 acceptable. The only checks that can be performed are for a null string
5661 perhaps for a leading asterisk. ACPICA BZ 886.
5663 iASL: Fixed a problem where a syntax error that caused a premature EOF
5664 condition on the source file emitted a very confusing error message. The
5665 premature EOF is now detected correctly. ACPICA BZ 891.
5667 Disassembler: Decode the AccessSize within a Generic Address Structure
5669 access, word access, etc.) Note, this field does not allow arbitrary bit
5670 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5672 New: AcpiNames utility - Example namespace dump utility. Shows an example
5674 ACPICA configuration for a minimal namespace dump utility. Uses table and
5675 namespace managers, but no AML interpreter. Does not add any
5677 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
5678 partition and configure ACPICA. ACPICA BZ 883.
5680 AML Debugger: Increased the debugger buffer size for method return
5682 Was 4K, increased to 16K. Also enhanced error messages for debugger
5684 execution, including the buffer overflow case.
5686 ----------------------------------------
5687 13 October 2010. Summary of changes for version 20101013:
5689 1) ACPI CA Core Subsystem:
5691 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
5693 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
5694 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5696 Changed the type of the predefined namespace object _TZ from ThermalZone
5698 Device. This was found to be confusing to the host software that
5700 the various thermal zones, since _TZ is not really a ThermalZone.
5703 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
5706 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
5707 string is "Windows 2006 SP2".
5709 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
5711 code automatically repairs _HID-related strings, this type of code is no
5712 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
5715 Example Code and Data Size: These are the sizes for the OS-independent
5716 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5717 debug version of the code includes the debug output trace mechanism and
5719 much larger code and data size.
5722 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5723 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5725 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5726 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5728 2) iASL Compiler/Disassembler and Tools:
5730 iASL: Implemented additional compile-time validation for _HID strings.
5732 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
5735 the string must be exactly seven or eight characters. For both _HID and
5737 strings, all characters must be alphanumeric. ACPICA BZ 874.
5739 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
5740 descriptors that are mostly or all zeros, with the expectation that they
5742 be filled in at runtime. iASL now allows this as long as there is a
5744 tag" (name) associated with the descriptor, which gives the ASL a handle
5745 needed to modify the descriptor. ACPICA BZ 873.
5747 Added single-thread support to the generic Unix application OSL.
5749 for iASL support, this change removes the use of semaphores in the
5751 threaded ACPICA tools/applications - increasing performance. The
5752 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
5753 option. ACPICA BZ 879.
5755 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
5757 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5759 iASL: Moved all compiler messages to a new file, aslmessages.h.
5761 ----------------------------------------
5762 15 September 2010. Summary of changes for version 20100915:
5764 1) ACPI CA Core Subsystem:
5766 Removed the AcpiOsDerivePciId OSL interface. The various host
5768 of this function were not OS-dependent and are now obsolete and can be
5769 removed from all host OSLs. This function has been replaced by
5770 AcpiHwDerivePciId, which is now part of the ACPICA core code.
5771 AcpiHwDerivePciId has been implemented without recursion. Adds one new
5772 module, hwpci.c. ACPICA BZ 857.
5774 Implemented a dynamic repair for _HID and _CID strings. The following
5775 problems are now repaired at runtime: 1) Remove a leading asterisk in the
5776 string, and 2) the entire string is uppercased. Both repairs are in
5777 accordance with the ACPI specification and will simplify host driver
5781 The ACPI_THREAD_ID type is no longer configurable, internally it is now
5782 always UINT64. This simplifies the ACPICA code, especially any printf
5784 UINT64 is the only common data type for all thread_id types across all
5785 operating systems. It is now up to the host OSL to cast the native
5787 type to UINT64 before returning the value to ACPICA (via
5789 Lin Ming, Bob Moore.
5791 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
5793 keyword is not standard across compilers, and this type allows inline to
5795 configured on a per-compiler basis. Lin Ming.
5797 Made the system global AcpiGbl_SystemAwakeAndRunning publically
5799 Added an extern for this boolean in acpixf.h. Some hosts utilize this
5801 during suspend/restore operations. ACPICA BZ 869.
5803 All code that implements error/warning messages with the "ACPI:" prefix
5805 been moved to a new module, utxferror.c.
5807 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
5809 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
5811 Example Code and Data Size: These are the sizes for the OS-independent
5812 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5813 debug version of the code includes the debug output trace mechanism and
5815 much larger code and data size.
5818 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5819 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5821 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5822 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5824 2) iASL Compiler/Disassembler and Tools:
5826 iASL/Disassembler: Write ACPI errors to stderr instead of the output
5828 This keeps the output files free of random error messages that may
5830 from within the namespace/interpreter code. Used this opportunity to
5832 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
5833 866. Lin Ming, Bob Moore.
5835 Tools: update some printfs for ansi warnings on size_t. Handle width
5837 of size_t on 32-bit versus 64-bit generations. Lin Ming.
5839 ----------------------------------------
5840 06 August 2010. Summary of changes for version 20100806:
5842 1) ACPI CA Core Subsystem:
5844 Designed and implemented a new host interface to the _OSI support code.
5846 will allow the host to dynamically add or remove multiple _OSI strings,
5848 well as install an optional handler that is called for each _OSI
5850 Also added a new AML debugger command, 'osi' to display and modify the
5852 _OSI string table, and test support in the AcpiExec utility. See the
5854 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
5856 AcpiInstallInterface - Add an _OSI string.
5857 AcpiRemoveInterface - Delete an _OSI string.
5858 AcpiInstallInterfaceHandler - Install optional _OSI handler.
5860 AcpiOsValidateInterface - no longer used.
5862 source/components/utilities/utosi.c
5864 Re-introduced the support to enable multi-byte transfers for Embedded
5865 Controller (EC) operation regions. A reported problem was found to be a
5867 in the host OS, not in the multi-byte support. Previously, the maximum
5869 size passed to the EC operation region handler was a single byte. There
5871 often EC Fields larger than one byte that need to be transferred, and it
5873 useful for the EC driver to lock these as a single transaction. This
5875 enables single transfers larger than 8 bits. This effectively changes the
5876 access to the EC space from ByteAcc to AnyAcc, and will probably require
5877 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
5879 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
5881 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
5882 prototype in acpiosxf.h had the output value pointer as a (void *).
5883 It should be a (UINT64 *). This may affect some host OSL code.
5885 Fixed a couple problems with the recently modified Linux makefiles for
5887 and AcpiExec. These new makefiles place the generated object files in the
5888 local directory so that there can be no collisions between the files that
5890 shared between them that are compiled with different options.
5892 Example Code and Data Size: These are the sizes for the OS-independent
5893 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5894 debug version of the code includes the debug output trace mechanism and
5896 much larger code and data size.
5899 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5900 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5902 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5903 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5905 2) iASL Compiler/Disassembler and Tools:
5907 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
5909 namespace from and disassemble an entire group of AML files. Useful for
5910 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
5912 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
5914 iASL: Allow multiple invocations of -e option. This change allows
5916 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
5920 ----------------------------------------
5921 02 July 2010. Summary of changes for version 20100702:
5923 1) ACPI CA Core Subsystem:
5925 Implemented several updates to the recently added GPE reference count
5926 support. The model for "wake" GPEs is changing to give the host OS
5928 control of these GPEs. Eventually, the ACPICA core will not execute any
5930 methods, since the host already must execute them. Also, additional
5932 were made to help ensure that the reference counts are kept in proper
5933 synchronization with reality. Rafael J. Wysocki.
5935 1) Ensure that GPEs are not enabled twice during initialization.
5936 2) Ensure that GPE enable masks stay in sync with the reference count.
5937 3) Do not inadvertently enable GPEs when writing GPE registers.
5938 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
5939 interface. This interface will set or clear individual GPEs for wakeup.
5940 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
5942 are now used for "runtime" GPEs only.
5944 Changed the behavior of the GPE install/remove handler interfaces. The
5947 no longer disabled during this process, as it was found to cause problems
5949 some machines. Rafael J. Wysocki.
5951 Reverted a change introduced in version 20100528 to enable Embedded
5952 Controller multi-byte transfers. This change was found to cause problems
5954 Index Fields and possibly Bank Fields. It will be reintroduced when these
5955 problems have been resolved.
5957 Fixed a problem with references to Alias objects within Package Objects.
5959 reference to an Alias within the definition of a Package was not always
5960 resolved properly. Aliases to objects like Processors, Thermal zones,
5962 were resolved to the actual object instead of a reference to the object
5965 should be. Package objects are only allowed to contain integer, string,
5966 buffer, package, and reference objects. Redhat bugzilla 608648.
5968 Example Code and Data Size: These are the sizes for the OS-independent
5969 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5970 debug version of the code includes the debug output trace mechanism and
5972 much larger code and data size.
5975 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5976 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5978 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5979 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5981 2) iASL Compiler/Disassembler and Tools:
5983 iASL: Implemented a new compiler subsystem to allow definition and
5984 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
5986 are called "ACPI Data Tables", and the new compiler is the "Data Table
5987 Compiler". This compiler is intended to simplify the existing error-prone
5988 process of creating these tables for the BIOS, as well as allowing the
5989 disassembly, modification, recompilation, and override of existing ACPI
5991 tables. See the iASL User Guide for detailed information.
5993 iASL: Implemented a new Template Generator option in support of the new
5995 Table Compiler. This option will create examples of all known ACPI tables
5996 that can be used as the basis for table development. See the iASL
5997 documentation and the -T option.
5999 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
6002 Updated the Linux makefiles for iASL and AcpiExec to place the generated
6003 object files in the local directory so that there can be no collisions
6004 between the shared files between them that are generated with different
6007 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
6009 the #define __APPLE__ to enable this support.
6011 ----------------------------------------
6012 28 May 2010. Summary of changes for version 20100528:
6014 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
6015 available at www.acpi.info. This is primarily an errata release.
6017 1) ACPI CA Core Subsystem:
6019 Undefined ACPI tables: We are looking for the definitions for the
6021 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
6023 Implemented support to enable multi-byte transfers for Embedded
6025 (EC) operation regions. Previously, the maximum data size passed to the
6027 operation region handler was a single byte. There are often EC Fields
6029 than one byte that need to be transferred, and it is useful for the EC
6031 to lock these as a single transaction. This change enables single
6033 larger than 8 bits. This effectively changes the access to the EC space
6035 ByteAcc to AnyAcc, and will probably require changes to the host OS
6037 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
6039 transfers. Alexey Starikovskiy, Lin Ming
6041 Implemented a performance enhancement for namespace search and access.
6043 change enhances the performance of namespace searches and walks by adding
6045 backpointer to the parent in each namespace node. On large namespaces,
6047 change can improve overall ACPI performance by up to 9X. Adding a pointer
6049 each namespace node increases the overall size of the internal namespace
6051 about 5%, since each namespace entry usually consists of both a namespace
6052 node and an ACPI operand object. However, this is the first growth of the
6053 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
6055 Implemented a performance optimization that reduces the number of
6057 walks. On control method exit, only walk the namespace if the method is
6059 to have created namespace objects outside of its local scope. Previously,
6061 entire namespace was traversed on each control method exit. This change
6063 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
6066 Added support to truncate I/O addresses to 16 bits for Windows
6068 Some ASL code has been seen in the field that inadvertently has bits set
6069 above bit 15. This feature is optional and is enabled if the BIOS
6071 any Windows OSI strings. It can also be enabled by the host OS. Matthew
6074 Added support to limit the maximum time for the ASL Sleep() operator. To
6075 prevent accidental deep sleeps, limit the maximum time that Sleep() will
6076 actually sleep. Configurable, the default maximum is two seconds. ACPICA
6079 Added run-time validation support for the _WDG and_WED Microsoft
6081 methods. These objects are defined by "Windows Instrumentation", and are
6083 part of the ACPI spec. ACPICA BZ 860.
6085 Expanded all statistic counters used during namespace and device
6086 initialization from 16 to 32 bits in order to support very large
6089 Replaced all instances of %d in printf format specifiers with %u since
6091 all integers in ACPICA are unsigned.
6093 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
6097 Example Code and Data Size: These are the sizes for the OS-independent
6098 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6099 debug version of the code includes the debug output trace mechanism and
6101 much larger code and data size.
6104 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
6105 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
6107 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
6108 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
6110 2) iASL Compiler/Disassembler and Tools:
6112 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
6113 methods. These objects are defined by "Windows Instrumentation", and are
6115 part of the ACPI spec. ACPICA BZ 860.
6117 AcpiExec: added option to disable the memory tracking mechanism. The -dt
6118 option will disable the tracking mechanism, which improves performance
6121 AcpiExec: Restructured the command line options into -d (disable) and -e
6124 ----------------------------------------
6125 28 April 2010. Summary of changes for version 20100428:
6127 1) ACPI CA Core Subsystem:
6129 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
6130 including FADT-based and GPE Block Devices, execute any _PRW methods in
6132 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
6133 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
6134 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
6135 Devices. Provides compatibility with other ACPI implementations. Two new
6136 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
6139 Fixed a regression introduced in version 20100331 within the table
6141 where initial table loading could fail. This was introduced in the fix
6143 AcpiReallocateRootTable. Also, renamed some of fields in the table
6145 data structures to clarify their meaning and use.
6147 Fixed a possible allocation overrun during internal object copy in
6148 AcpiUtCopySimpleObject. The original code did not correctly handle the
6150 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
6153 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
6154 possible access beyond end-of-allocation. Also, now fully validate
6156 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
6158 Example Code and Data Size: These are the sizes for the OS-independent
6159 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6160 debug version of the code includes the debug output trace mechanism and
6162 much larger code and data size.
6165 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
6166 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
6168 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
6169 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
6171 2) iASL Compiler/Disassembler and Tools:
6173 iASL: Implemented Min/Max/Len/Gran validation for address resource
6174 descriptors. This change implements validation for the address fields
6176 are common to all address-type resource descriptors. These checks are
6177 implemented: Checks for valid Min/Max, length within the Min/Max window,
6178 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
6180 table 6-40 in the ACPI 4.0a specification. Also split the large
6182 and aslrestype2.c files into five new files. ACPICA BZ 840.
6184 iASL: Added support for the _Wxx predefined names. This support was
6186 and these names were not recognized by the compiler as valid predefined
6187 names. ACPICA BZ 851.
6189 iASL: Added an error for all predefined names that are defined to return
6191 value and thus must be implemented as Control Methods. These include all
6193 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
6194 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
6196 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
6198 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
6200 dynamically loaded via the Load() operator. Also cleaned up output for
6203 ta and -tc options. ACPICA BZ 853.
6205 Tests: Added a new file with examples of extended iASL error checking.
6206 Demonstrates the advanced error checking ability of the iASL compiler.
6207 Available at tests/misc/badcode.asl.
6209 ----------------------------------------
6210 31 March 2010. Summary of changes for version 20100331:
6212 1) ACPI CA Core Subsystem:
6214 Completed a major update for the GPE support in order to improve support
6216 shared GPEs and to simplify both host OS and ACPICA code. Added a
6218 count mechanism to support shared GPEs that require multiple device
6220 Several external interfaces have changed. One external interface has been
6221 removed. One new external interface was added. Most of the GPE external
6222 interfaces now use the GPE spinlock instead of the events mutex (and the
6223 Flags parameter for many GPE interfaces has been removed.) See the
6225 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
6227 Wysocki. ACPICA BZ 831.
6230 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6236 Implemented write support for DataTable operation regions. These regions
6238 defined via the DataTableRegion() operator. Previously, only read support
6240 implemented. The ACPI specification allows DataTableRegions to be
6244 Implemented a new subsystem option to force a copy of the DSDT to local
6245 memory. Optionally copy the entire DSDT to local memory (instead of
6247 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
6249 the original DSDT, creating the need for this option. Default is FALSE,
6253 Implemented detection of a corrupted or replaced DSDT. This change adds
6254 support to detect a DSDT that has been corrupted and/or replaced from
6256 the OS (by firmware). This is typically catastrophic for the system, but
6258 been seen on some machines. Once this problem has been detected, the DSDT
6259 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6261 Fixed two problems with AcpiReallocateRootTable during the root table
6263 When copying the root table to the new allocation, the length used was
6264 incorrect. The new size was used instead of the current table size,
6266 too much data was copied. Also, the count of available slots for ACPI
6268 was not set correctly. Alexey Starikovskiy, Bob Moore.
6270 Example Code and Data Size: These are the sizes for the OS-independent
6271 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6272 debug version of the code includes the debug output trace mechanism and
6274 much larger code and data size.
6277 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
6278 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
6280 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
6281 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
6283 2) iASL Compiler/Disassembler and Tools:
6285 iASL: Implement limited typechecking for values returned from predefined
6286 control methods. The type of any returned static (unnamed) object is now
6287 validated. For example, Return(1). ACPICA BZ 786.
6289 iASL: Fixed a predefined name object verification regression. Fixes a
6291 introduced in version 20100304. An error is incorrectly generated if a
6292 predefined name is declared as a static named object with a value defined
6293 using the keywords "Zero", "One", or "Ones". Lin Ming.
6295 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
6297 reducing the requested registry access rights. ACPICA BZ 842.
6299 Disassembler: fixed a possible fault when generating External()
6301 Introduced in commit ae7d6fd: Properly handle externals with parent-
6303 (carat). Fixes a string length allocation calculation. Lin Ming.
6305 ----------------------------------------
6306 04 March 2010. Summary of changes for version 20100304:
6308 1) ACPI CA Core Subsystem:
6310 Fixed a possible problem with the AML Mutex handling function
6311 AcpiExReleaseMutex where the function could fault under the very rare
6312 condition when the interpreter has blocked, the interpreter lock is
6314 the interpreter is then reentered via the same thread, and attempts to
6315 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
6319 Implemented additional configuration support for the AML "Debug Object".
6320 Output from the debug object can now be enabled via a global variable,
6321 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
6323 This debug output is now available in the release version of ACPICA
6325 of just the debug version. Also, the entire debug output module can now
6327 configured out of the ACPICA build if desired. One new file added,
6328 executer/exdebug.c. Lin Ming, Bob Moore.
6330 Added header support for the ACPI MCHI table (Management Controller Host
6331 Interface Table). This table was added in ACPI 4.0, but the defining
6333 has only recently become available.
6335 Standardized output of integer values for ACPICA warnings/errors. Always
6337 0x prefix for hex output, always use %u for unsigned integer decimal
6339 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
6341 invocations.) These invocations were converted from the original
6342 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6344 Example Code and Data Size: These are the sizes for the OS-independent
6345 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6346 debug version of the code includes the debug output trace mechanism and
6348 much larger code and data size.
6351 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
6352 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
6354 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
6355 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
6357 2) iASL Compiler/Disassembler and Tools:
6359 iASL: Implemented typechecking support for static (non-control method)
6360 predefined named objects that are declared with the Name() operator. For
6361 example, the type of this object is now validated to be of type Integer:
6362 Name(_BBN, 1). This change migrates the compiler to using the core
6364 name table instead of maintaining a local version. Added a new file,
6365 aslpredef.c. ACPICA BZ 832.
6367 Disassembler: Added support for the ACPI 4.0 MCHI table.
6369 ----------------------------------------
6370 21 January 2010. Summary of changes for version 20100121:
6372 1) ACPI CA Core Subsystem:
6374 Added the 2010 copyright to all module headers and signons. This affects
6375 virtually every file in the ACPICA core subsystem, the iASL compiler, the
6376 tools/utilities, and the test suites.
6378 Implemented a change to the AcpiGetDevices interface to eliminate
6380 invocations of the _STA method. In the case where a specific _HID is
6381 requested, do not run _STA until a _HID match is found. This eliminates
6382 potentially dozens of _STA calls during a search for a particular
6384 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6386 Implemented an additional repair for predefined method return values.
6388 to repair unexpected NULL elements within returned Package objects.
6391 Integer of value zero, a NULL String, or a zero-length Buffer as
6393 ACPICA BZ 818. Lin Ming, Bob Moore.
6395 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
6397 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
6399 64-bit AML integers). It is now obsolete and this change removes it from
6401 ACPICA code base, replaced by UINT64. The original typedef has been
6403 for now for compatibility with existing device driver code. ACPICA BZ
6406 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
6408 the parse tree object.
6410 Added additional warning options for the gcc-4 generation. Updated the
6412 accordingly. This includes some code restructuring to eliminate
6414 code, elimination of some gotos, elimination of unused return values,
6416 additional casting, and removal of redundant declarations.
6418 Example Code and Data Size: These are the sizes for the OS-independent
6419 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6420 debug version of the code includes the debug output trace mechanism and
6422 much larger code and data size.
6425 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
6426 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
6428 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
6429 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
6431 2) iASL Compiler/Disassembler and Tools:
6433 No functional changes for this release.
6435 ----------------------------------------
6436 14 December 2009. Summary of changes for version 20091214:
6438 1) ACPI CA Core Subsystem:
6440 Enhanced automatic data type conversions for predefined name repairs.
6442 change expands the automatic repairs/conversions for predefined name
6444 values to make Integers, Strings, and Buffers fully interchangeable.
6447 Buffer can be converted to a Package of Integers if necessary. The
6449 module was completely restructured. Lin Ming, Bob Moore.
6451 Implemented automatic removal of null package elements during predefined
6453 repairs. This change will automatically remove embedded and trailing NULL
6454 package elements from returned package objects that are defined to
6457 variable number of sub-packages. The driver is then presented with a
6459 with no null elements to deal with. ACPICA BZ 819.
6461 Implemented a repair for the predefined _FDE and _GTM names. The expected
6462 return value for both names is a Buffer of 5 DWORDs. This repair fixes
6464 possible problems (both seen in the field), where a package of integers
6466 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
6469 Implemented additional module-level code support. This change will
6471 execute module-level code that is not at the root of the namespace (under
6473 Device object, etc.). Now executes the code within the current scope
6475 of the root. ACPICA BZ 762. Lin Ming.
6477 Fixed possible mutex acquisition errors when running _REG methods. Fixes
6479 problem where mutex errors can occur when running a _REG method that is
6481 the same scope as a method-defined operation region or an operation
6483 under a module-level IF block. This type of code is rare, so the problem
6485 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6487 Fixed a possible memory leak during module-level code execution. An
6489 could be leaked for each block of executed module-level code if the
6490 interpreter slack mode is enabled This change deletes any implicitly
6492 object from the module-level code block. Lin Ming.
6494 Removed messages for successful predefined repair(s). The repair
6496 was considered too wordy. Now, messages are only unconditionally emitted
6498 the return object cannot be repaired. Existing messages for successful
6499 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
6502 Example Code and Data Size: These are the sizes for the OS-independent
6503 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6504 debug version of the code includes the debug output trace mechanism and
6506 much larger code and data size.
6509 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
6510 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
6512 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
6513 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
6515 2) iASL Compiler/Disassembler and Tools:
6517 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
6519 were no longer automatically removed at the termination of the compile.
6521 acpiexec: Implemented the -f option to specify default region fill value.
6522 This option specifies the value used to initialize buffers that simulate
6523 operation regions. Default value is zero. Useful for debugging problems
6525 depend on a specific initial value for a region or field.
6527 ----------------------------------------
6528 12 November 2009. Summary of changes for version 20091112:
6530 1) ACPI CA Core Subsystem:
6532 Implemented a post-order callback to AcpiWalkNamespace. The existing
6533 interface only has a pre-order callback. This change adds an additional
6534 parameter for a post-order callback which will be more useful for bus
6536 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6538 Modified the behavior of the operation region memory mapping cache for
6539 SystemMemory. Ensure that the memory mappings created for operation
6541 do not cross 4K page boundaries. Crossing a page boundary while mapping
6542 regions can cause kernel warnings on some hosts if the pages have
6544 attributes. Such regions are probably BIOS bugs, and this is the
6546 Linux BZ 14445. Lin Ming.
6548 Implemented an automatic repair for predefined methods that must return
6549 sorted lists. This change will repair (by sorting) packages returned by
6551 _PSS, and _TSS. Drivers can now assume that the packages are correctly
6553 and do not contain NULL package elements. Adds one new file,
6554 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6556 Fixed a possible fault during predefined name validation if a return
6558 object contains NULL elements. Also adds a warning if a NULL element is
6559 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
6561 include repair or removal of all such NULL elements where possible.
6563 Implemented additional module-level executable AML code support. This
6565 will execute module-level code that is not at the root of the namespace
6566 (under a Device object, etc.) at table load time. Module-level executable
6568 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6570 Implemented a new internal function to create Integer objects. This
6572 simplifies miscellaneous object creation code. ACPICA BZ 823.
6574 Reduced the severity of predefined repair messages, Warning to Info.
6576 the object was successfully repaired, a warning is too severe. Reduced to
6578 info message for now. These messages may eventually be changed to debug-
6582 Example Code and Data Size: These are the sizes for the OS-independent
6583 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6584 debug version of the code includes the debug output trace mechanism and
6586 much larger code and data size.
6589 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
6590 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
6592 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
6593 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
6595 2) iASL Compiler/Disassembler and Tools:
6597 iASL: Implemented Switch() with While(1) so that Break works correctly.
6599 change correctly implements the Switch operator with a surrounding
6601 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6603 iASL: Added a message if a package initializer list is shorter than
6605 length. Adds a new remark for a Package() declaration if an initializer
6607 exists, but is shorter than the declared length of the package. Although
6608 technically legal, this is probably a coding error and it is seen in the
6609 field. ACPICA BZ 815. Lin Ming, Bob Moore.
6611 iASL: Fixed a problem where the compiler could fault after the maximum
6613 of errors was reached (200).
6615 acpixtract: Fixed a possible warning for pointer cast if the compiler
6617 level set very high.
6619 ----------------------------------------
6620 13 October 2009. Summary of changes for version 20091013:
6622 1) ACPI CA Core Subsystem:
6624 Fixed a problem where an Operation Region _REG method could be executed
6626 than once. If a custom address space handler is installed by the host
6628 the "initialize operation regions" phase of the ACPICA initialization,
6630 _REG methods for that address space could be executed twice. This change
6631 fixes the problem. ACPICA BZ 427. Lin Ming.
6633 Fixed a possible memory leak for the Scope() ASL operator. When the exact
6634 invocation of "Scope(\)" is executed (change scope to root), one internal
6635 operand object was leaked. Lin Ming.
6637 Implemented a run-time repair for the _MAT predefined method. If the _MAT
6638 return value is defined as a Field object in the AML, and the field
6639 size is less than or equal to the default width of an integer (32 or
6641 can incorrectly return an Integer instead of a Buffer. ACPICA now
6642 automatically repairs this problem. ACPICA BZ 810.
6644 Implemented a run-time repair for the _BIF and _BIX predefined methods.
6646 "OEM Information" field is often incorrectly returned as an Integer with
6647 value zero if the field is not supported by the platform. This is due to
6649 ambiguity in the ACPI specification. The field should always be a string.
6650 ACPICA now automatically repairs this problem by returning a NULL string
6651 within the returned Package. ACPICA BZ 807.
6653 Example Code and Data Size: These are the sizes for the OS-independent
6654 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6655 debug version of the code includes the debug output trace mechanism and
6657 much larger code and data size.
6660 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
6661 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
6663 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
6664 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
6666 2) iASL Compiler/Disassembler and Tools:
6668 Disassembler: Fixed a problem where references to external symbols that
6669 contained one or more parent-prefixes (carats) were not handled
6671 possibly causing a fault. ACPICA BZ 806. Lin Ming.
6673 Disassembler: Restructured the code so that all functions that handle
6674 external symbols are in a single module. One new file is added,
6677 AML Debugger: Added a max count argument for the Batch command (which
6678 executes multiple predefined methods within the namespace.)
6680 iASL: Updated the compiler documentation (User Reference.) Available at
6681 http://www.acpica.org/documentation/. ACPICA BZ 750.
6683 AcpiXtract: Updated for Lint and other formatting changes. Close all open
6686 ----------------------------------------
6687 03 September 2009. Summary of changes for version 20090903:
6689 1) ACPI CA Core Subsystem:
6691 For Windows Vista compatibility, added the automatic execution of an _INI
6692 method located at the namespace root (\_INI). This method is executed at
6693 table load time. This support is in addition to the automatic execution
6695 \_SB._INI. Lin Ming.
6697 Fixed a possible memory leak in the interpreter for AML package objects
6699 the package initializer list is longer than the defined size of the
6701 This apparently can only happen if the BIOS changes the package size on
6703 fly (seen in a _PSS object), as ASL compilers do not allow this. The
6704 interpreter will truncate the package to the defined size (and issue an
6706 message), but previously could leave the extra objects undeleted if they
6708 pre-created during the argument processing (such is the case if the
6710 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6712 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
6713 This has been reported in the field. Previously, ACPICA would zero out
6715 buffer/string. Now, the operation is treated as a noop. Provides Windows
6716 compatibility. ACPICA BZ 803. Lin Ming.
6718 Removed an extraneous error message for ASL constructs of the form
6719 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
6721 are seen in many BIOSs and are once again treated as NOOPs and no error
6723 emitted when they are encountered. ACPICA BZ 785.
6725 Fixed an extraneous warning message if a _DSM reserved method returns a
6726 Package object. _DSM can return any type of object, so validation on the
6727 return type cannot be performed. ACPICA BZ 802.
6729 Example Code and Data Size: These are the sizes for the OS-independent
6730 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6731 debug version of the code includes the debug output trace mechanism and
6733 much larger code and data size.
6736 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
6737 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
6739 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
6740 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
6742 2) iASL Compiler/Disassembler and Tools:
6744 iASL: Fixed a problem with the use of the Alias operator and Resource
6745 Templates. The correct alias is now constructed and no error is emitted.
6748 iASL: Implemented the -I option to specify additional search directories
6750 include files. Allows multiple additional search paths for include files.
6751 Directories are searched in the order specified on the command line
6753 the local directory is searched.) ACPICA BZ 800.
6755 iASL: Fixed a problem where the full pathname for include files was not
6756 emitted for warnings/errors. This caused the IDE support to not work
6757 properly. ACPICA BZ 765.
6759 iASL: Implemented the -@ option to specify a Windows-style response file
6760 containing additional command line options. ACPICA BZ 801.
6762 AcpiExec: Added support to load multiple AML files simultaneously (such
6765 DSDT and multiple SSDTs). Also added support for wildcards within the AML
6766 pathname. These features allow all machine tables to be easily loaded and
6767 debugged together. ACPICA BZ 804.
6769 Disassembler: Added missing support for disassembly of HEST table Error
6773 ----------------------------------------
6774 30 July 2009. Summary of changes for version 20090730:
6776 The ACPI 4.0 implementation for ACPICA is complete with this release.
6778 1) ACPI CA Core Subsystem:
6780 ACPI 4.0: Added header file support for all new and changed ACPI tables.
6781 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
6783 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
6785 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
6787 have been some ACPI 4.0 changes to other existing tables. Split the large
6788 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
6790 ACPI 4.0: Implemented predefined name validation for all new names. There
6792 31 new names in ACPI 4.0. The predefined validation module was split into
6794 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
6796 Implemented support for so-called "module-level executable code". This is
6797 executable AML code that exists outside of any control method and is
6799 to be executed at table load time. Although illegal since ACPI 2.0, this
6801 of code still exists and is apparently still being created. Blocks of
6803 code are now detected and executed as intended. Currently, the code
6805 must exist under either an If, Else, or While construct; these are the
6806 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
6808 Implemented an automatic dynamic repair for predefined names that return
6809 nested Package objects. This applies to predefined names that are defined
6811 return a variable-length Package of sub-packages. If the number of sub-
6812 packages is one, BIOS code is occasionally seen that creates a simple
6814 package with no sub-packages. This code attempts to fix the problem by
6815 wrapping a new package object around the existing package. These methods
6817 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
6821 Fixed a regression introduced in 20090625 for the AcpiGetDevices
6823 The _HID/_CID matching was broken and no longer matched IDs correctly.
6827 Fixed a problem with AcpiReset where the reset would silently fail if the
6828 register was one of the protected I/O ports. AcpiReset now bypasses the
6830 validation mechanism. This may eventually be driven into the
6834 Fixed a regression related to the recent update of the AcpiRead/Write
6835 interfaces. A sleep/suspend could fail if the optional PM2 Control
6837 does not exist during an attempt to write the Bus Master Arbitration bit.
6838 (However, some hosts already delete the code that writes this bit, and
6840 code may in fact be obsolete at this date.) ACPICA BZ 799.
6842 Fixed a problem where AcpiTerminate could fault if inadvertently called
6844 in succession. ACPICA BZ 795.
6846 Example Code and Data Size: These are the sizes for the OS-independent
6847 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6848 debug version of the code includes the debug output trace mechanism and
6850 much larger code and data size.
6853 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6854 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6856 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
6857 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
6859 2) iASL Compiler/Disassembler and Tools:
6861 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
6862 changes to existing tables. ACPICA BZ 775.
6864 ----------------------------------------
6865 25 June 2009. Summary of changes for version 20090625:
6867 The ACPI 4.0 Specification was released on June 16 and is available at
6868 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
6869 continue for the next few releases.
6871 1) ACPI CA Core Subsystem:
6873 ACPI 4.0: Implemented interpreter support for the IPMI operation region
6874 address space. Includes support for bi-directional data buffers and an
6876 address space handler (to be installed by an IPMI device driver.) ACPICA
6880 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
6882 support in both the header files and the disassembler.
6884 Completed a major update for the AcpiGetObjectInfo external interface.
6886 - Support for variable, unlimited length HID, UID, and CID strings.
6887 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
6889 - Call the _SxW power methods on behalf of a device object.
6890 - Determine if a device is a PCI root bridge.
6891 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
6892 These changes will require an update to all callers of this interface.
6894 the updated ACPICA Programmer Reference for details. One new source file
6896 been added - utilities/utids.c. ACPICA BZ 368, 780.
6898 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
6899 transfers. The Value parameter has been extended from 32 bits to 64 bits
6901 order to support new ACPI 4.0 tables. These changes will require an
6904 all callers of these interfaces. See the ACPICA Programmer Reference for
6905 details. ACPICA BZ 768.
6907 Fixed several problems with AcpiAttachData. The handler was not invoked
6909 the host node was deleted. The data sub-object was not automatically
6911 when the host node was deleted. The interface to the handler had an
6913 parameter, this was removed. ACPICA BZ 778.
6915 Enhanced the function that dumps ACPI table headers. All non-printable
6916 characters in the string fields are now replaced with '?' (Signature,
6918 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
6919 these fields are occasionally seen in the field. ACPICA BZ 788.
6921 Fixed a problem with predefined method repair code where the code that
6922 attempts to repair/convert an object of incorrect type is only executed
6924 the first time the predefined method is called. The mechanism that
6926 warnings on subsequent calls was interfering with the repair mechanism.
6929 Fixed a possible memory leak in the predefined validation/repair code
6932 buffer is automatically converted to an expected string object.
6934 Removed obsolete 16-bit files from the distribution and from the current
6936 tree head. ACPICA BZ 776.
6938 Example Code and Data Size: These are the sizes for the OS-independent
6939 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6940 debug version of the code includes the debug output trace mechanism and
6942 much larger code and data size.
6945 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6946 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6948 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6949 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6951 2) iASL Compiler/Disassembler and Tools:
6953 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
6954 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
6956 ACPI 4.0: iASL - implemented compile-time validation support for all new
6957 predefined names and control methods (31 total). ACPICA BZ 769.
6959 ----------------------------------------
6960 21 May 2009. Summary of changes for version 20090521:
6962 1) ACPI CA Core Subsystem:
6964 Disabled the preservation of the SCI enable bit in the PM1 control
6966 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
6969 a "preserved" bit - "OSPM always preserves this bit position", section
6970 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
6971 because the bit needs to be explicitly set by the OS as a workaround. No
6972 machines fail if the bit is not preserved. Therefore, ACPICA no longer
6973 attempts to preserve this bit.
6975 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
6976 incorrectly formed _PRT package could cause a fault. Added validation to
6977 ensure that each package element is actually a sub-package.
6979 Implemented a new interface to install or override a single control
6981 AcpiInstallMethod. This interface is useful when debugging in order to
6983 an existing method or to install a missing method without having to
6985 the entire ACPI table. See the ACPICA Programmer Reference for use and
6986 examples. Lin Ming, Bob Moore.
6988 Fixed several reference count issues with the DdbHandle object that is
6989 created from a Load or LoadTable operator. Prevent premature deletion of
6991 object. Also, mark the object as invalid once the table has been
6993 This is needed because the handle itself may not be deleted after the
6995 unload, depending on whether it has been stored in a named object by the
6998 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
6999 mutexes of the same sync level are acquired but then not released in
7001 opposite order, the internally maintained Current Sync Level becomes
7003 and can cause subsequent execution errors. ACPICA BZ 471.
7005 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
7006 specification has been changed to make the SyncLevel for mutex objects
7008 useful. When releasing a mutex, the SyncLevel of the mutex must now be
7010 same as the current sync level. This makes more sense than the previous
7012 (SyncLevel less than or equal). This change updates the code to match the
7015 Fixed a problem with the local version of the AcpiOsPurgeCache function.
7017 (local) cache must be locked during all cache object deletions. Andrew
7020 Updated the Load operator to use operation region interfaces. This
7022 direct memory mapping with region access calls. Now, all region accesses
7024 through the installed region handler as they should.
7026 Simplified and optimized the NsGetNextNode function. Reduced parameter
7028 and reduced code for this frequently used function.
7030 Example Code and Data Size: These are the sizes for the OS-independent
7031 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7032 debug version of the code includes the debug output trace mechanism and
7034 much larger code and data size.
7037 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
7038 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
7040 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
7041 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
7043 2) iASL Compiler/Disassembler and Tools:
7045 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
7047 with sub-table disassembly and handling invalid sub-tables. Attempt
7049 after an invalid sub-table ID.
7051 ----------------------------------------
7052 22 April 2009. Summary of changes for version 20090422:
7054 1) ACPI CA Core Subsystem:
7056 Fixed a compatibility issue with the recently released I/O port
7058 mechanism. For windows compatibility, 1) On a port protection violation,
7059 simply ignore the request and do not return an exception (allow the
7061 method to continue execution.) 2) If only part of the request overlaps a
7062 protected port, read/write the individual ports that are not protected.
7066 Enhanced the execution of the ASL/AML BreakPoint operator so that it
7068 breaks into the AML debugger if the debugger is present. This matches the
7069 ACPI-defined behavior.
7071 Fixed several possible warnings related to the use of the configurable
7072 ACPI_THREAD_ID. This type can now be configured as either an integer or a
7073 pointer with no warnings. Also fixes several warnings in printf-like
7074 statements for the 64-bit build when the type is configured as a pointer.
7077 Fixed a number of possible warnings when compiling with gcc 4+ (depending
7079 warning options.) Examples include printf formats, aliasing, unused
7081 missing prototypes, missing switch default statements, use of non-ANSI
7082 library functions, use of non-ANSI constructs. See generate/unix/Makefile
7084 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
7086 Example Code and Data Size: These are the sizes for the OS-independent
7087 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7088 debug version of the code includes the debug output trace mechanism and
7090 much larger code and data size.
7093 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
7094 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
7096 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
7097 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
7099 2) iASL Compiler/Disassembler and Tools:
7101 iASL: Fixed a generation warning from Bison 2.3 and fixed several
7106 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
7108 correctly digest Windows/DOS formatted files (with CR/LF).
7110 iASL: Added a new option for "quiet mode" (-va) that produces only the
7111 compilation summary, not individual errors and warnings. Useful for large
7114 AcpiExec: Implemented a new option (-z) to enable a forced
7116 timeout that can be used to detect hang conditions during execution of
7118 code (includes both internal semaphores and AML-defined mutexes and
7121 Added new makefiles for the generation of acpica in a generic unix-like
7122 environment. These makefiles are intended to generate the acpica tools
7124 utilities from the original acpica git source tree structure.
7126 Test Suites: Updated and cleaned up the documentation files. Updated the
7127 copyrights to 2009, affecting all source files. Use the new version of
7129 with quiet mode. Increased the number of available semaphores in the
7131 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
7133 an alternate implementation of the semaphore timeout to allow aslts to
7134 execute fully on Cygwin.
7136 ----------------------------------------
7137 20 March 2009. Summary of changes for version 20090320:
7139 1) ACPI CA Core Subsystem:
7141 Fixed a possible race condition between AcpiWalkNamespace and dynamic
7143 unloads. Added a reader/writer locking mechanism to allow multiple
7145 namespace walks (readers), but block a dynamic table unload until it can
7147 exclusive write access to the namespace. This fixes a problem where a
7149 unload could (possibly catastrophically) delete the portion of the
7151 that is currently being examined by a walk. Adds a new file, utlock.c,
7153 implements the reader/writer lock mechanism. ACPICA BZ 749.
7155 Fixed a regression introduced in version 20090220 where a change to the
7157 handling could cause the ACPICA subsystem to access non-existent I/O
7160 Modified the handling of FADT register and table (FACS/DSDT) addresses.
7162 FADT can contain both 32-bit and 64-bit versions of these addresses.
7163 Previously, the 64-bit versions were favored, meaning that if both 32 and
7165 versions were valid, but not equal, the 64-bit version was used. This was
7166 found to cause some machines to fail. Now, in this case, the 32-bit
7168 is used instead. This now matches the Windows behavior.
7170 Implemented a new mechanism to protect certain I/O ports. Provides
7172 compatibility and protects the standard PC I/O ports from access via AML
7173 code. Adds a new file, hwvalid.c
7175 Fixed a possible extraneous warning message from the FADT support. The
7176 message warns of a 32/64 length mismatch between the legacy and GAS
7177 definitions for a register.
7179 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
7181 made obsolete by the port protection mechanism above. It was previously
7183 to validate the entire address range of an operation region, which could
7185 incorrect if the range included illegal ports, but fields within the
7186 operation region did not actually access those ports. Validation is now
7187 performed on a per-field basis instead of the entire region.
7189 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
7190 Ignored bits must be "preserved" according to the ACPI spec. Usually,
7192 means a read/modify/write when writing to the register. However, for
7194 registers, writing a one means clear the event. Writing a zero means
7196 the event (do not clear.) This behavior is clarified in the ACPI 4.0
7198 and the ACPICA code now simply always writes a zero to the ignored bit.
7200 Modified the handling of ignored bits for the PM1 A/B Control Registers.
7202 per the ACPI specification, for the control registers, preserve
7203 (read/modify/write) all bits that are defined as either reserved or
7206 Updated the handling of write-only bits in the PM1 A/B Control Registers.
7207 When reading the register, zero the write-only bits as per the ACPI spec.
7208 ACPICA BZ 443. Lin Ming.
7210 Removed "Linux" from the list of supported _OSI strings. Linux no longer
7211 wants to reply true to this request. The Windows strings are the only
7213 through the AML that are tested and known to work properly.
7216 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
7217 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
7219 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
7220 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
7222 2) iASL Compiler/Disassembler and Tools:
7224 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
7228 ----------------------------------------
7229 20 February 2009. Summary of changes for version 20090220:
7231 1) ACPI CA Core Subsystem:
7233 Optimized the ACPI register locking. Removed locking for reads from the
7235 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
7237 not required when reading the single-bit registers. The
7238 AcpiGetRegisterUnlocked function is no longer needed and has been
7240 This will improve performance for reads on these registers. ACPICA BZ
7243 Fixed the parameter validation for AcpiRead/Write. Now return
7244 AE_BAD_PARAMETER if the input register pointer is null, and
7247 the register has an address of zero. Previously, these cases simply
7249 AE_OK. For optional registers such as PM1B status/enable/control, the
7251 should check for a valid register address before calling. ACPICA BZ 748.
7253 Renamed the external ACPI bit register access functions. Renamed
7254 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
7255 functions. The new names are AcpiReadBitRegister and
7256 AcpiWriteBitRegister.
7257 Also, restructured the code for these functions by simplifying the code
7259 and condensing duplicate code to reduce code size.
7261 Added new functions to transparently handle the possibly split PM1 A/B
7262 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
7264 now handle the split registers for PM1 Status, Enable, and Control.
7269 Added a function to handle the PM1 control registers,
7270 AcpiHwWritePm1Control.
7271 This function writes both of the PM1 control registers (A/B). These
7273 are different than the PM1 A/B status and enable registers in that
7275 values can be written to the A/B registers. Most notably, the SLP_TYP
7277 can be different, as per the values returned from the _Sx predefined
7280 Removed an extra register write within AcpiHwClearAcpiStatus. This
7282 was writing an optional PM1B status register twice. The existing call to
7284 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
7286 register. ACPICA BZ 751.
7288 Split out the PM1 Status registers from the FADT. Added new globals for
7290 registers (A/B), similar to the way the PM1 Enable registers are handled.
7291 Instead of overloading the FADT Event Register blocks. This makes the
7293 clearer and less prone to error.
7295 Fixed the warning message for when the platform contains too many ACPI
7297 for the default size of the global root table data structure. The
7299 for the truncation value was incorrect.
7301 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
7302 obsolete macro, since it is now a simple reference to ->common.type.
7304 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7306 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
7307 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
7308 simply SLEEP_TYPE. ACPICA BZ 754.
7310 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
7311 function is only needed on 64-bit host operating systems and is thus not
7312 included for 32-bit hosts.
7314 Debug output: print the input and result for invocations of the _OSI
7316 control method via the ACPI_LV_INFO debug level. Also, reduced some of
7318 verbosity of this debug level. Len Brown.
7320 Example Code and Data Size: These are the sizes for the OS-independent
7321 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7322 debug version of the code includes the debug output trace mechanism and
7324 much larger code and data size.
7327 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
7328 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
7330 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
7331 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
7333 2) iASL Compiler/Disassembler and Tools:
7335 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
7336 various legal performance profiles.
7338 ----------------------------------------
7339 23 January 2009. Summary of changes for version 20090123:
7341 1) ACPI CA Core Subsystem:
7343 Added the 2009 copyright to all module headers and signons. This affects
7344 virtually every file in the ACPICA core subsystem, the iASL compiler, and
7345 the tools/utilities.
7347 Implemented a change to allow the host to override any ACPI table,
7349 dynamically loaded tables. Previously, only the DSDT could be replaced by
7351 host. With this change, the AcpiOsTableOverride interface is called for
7353 table found in the RSDT/XSDT during ACPICA initialization, and also
7355 a table is dynamically loaded via the AML Load operator.
7357 Updated FADT flag definitions, especially the Boot Architecture flags.
7359 Debugger: For the Find command, automatically pad the input ACPI name
7361 underscores if the name is shorter than 4 characters. This enables a
7363 with the actual namespace entry which is itself padded with underscores.
7365 Example Code and Data Size: These are the sizes for the OS-independent
7366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7367 debug version of the code includes the debug output trace mechanism and
7369 much larger code and data size.
7372 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
7373 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
7375 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
7376 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
7378 2) iASL Compiler/Disassembler and Tools:
7380 Fix build error under Bison-2.4.
7382 Dissasembler: Enhanced FADT support. Added decoding of the Boot
7384 flags. Now decode all flags, regardless of the FADT version. Flag output
7385 includes the FADT version which first defined each flag.
7387 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
7389 DSDT). Windows only.
7391 ----------------------------------------
7392 04 December 2008. Summary of changes for version 20081204:
7394 1) ACPI CA Core Subsystem:
7396 The ACPICA Programmer Reference has been completely updated and revamped
7398 this release. This includes updates to the external interfaces, OSL
7399 interfaces, the overview sections, and the debugger reference.
7401 Several new ACPICA interfaces have been implemented and documented in the
7402 programmer reference:
7403 AcpiReset - Writes the reset value to the FADT-defined reset register.
7404 AcpiDisableAllGpes - Disable all available GPEs.
7405 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7406 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7407 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7408 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7409 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7411 Most of the public ACPI hardware-related interfaces have been moved to a
7413 file, components/hardware/hwxface.c
7415 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
7416 register lengths within the FADT are now used, and the low level ACPI
7417 register access no longer hardcodes the ACPI register lengths. Given that
7418 there may be some risk in actually trusting the FADT register lengths, a
7420 time option was added to fall back to the default hardcoded lengths if
7422 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
7423 option is set to true for now, and a warning is issued if a suspicious
7425 register length is overridden with the default value.
7427 Fixed a reference count issue in NsRepairObject. This problem was
7429 in version 20081031 as part of a fix to repair Buffer objects within
7432 Added semaphore support to the Linux/Unix application OS-services layer
7433 (OSL). ACPICA BZ 448. Lin Ming.
7435 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
7437 be implemented in the OSL, or will binary semaphores be used instead.
7439 Example Code and Data Size: These are the sizes for the OS-independent
7440 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7441 debug version of the code includes the debug output trace mechanism and
7443 much larger code and data size.
7446 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
7447 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
7449 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
7450 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
7452 2) iASL Compiler/Disassembler and Tools:
7454 iASL: Completed the '-e' option to include additional ACPI tables in
7457 aid with disassembly and External statement generation. ACPICA BZ 742.
7461 iASL: Removed the "named object in while loop" error. The compiler cannot
7462 determine how many times a loop will execute. ACPICA BZ 730.
7464 Disassembler: Implemented support for FADT revision 2 (MS extension).
7468 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
7471 ----------------------------------------
7472 31 October 2008. Summary of changes for version 20081031:
7474 1) ACPI CA Core Subsystem:
7476 Restructured the ACPICA header files into public/private. acpi.h now
7478 only the "public" acpica headers. All other acpica headers are "private"
7480 should not be included by acpica users. One new file, accommon.h is used
7482 include the commonly used private headers for acpica code generation.
7484 plans include moving all private headers to a new subdirectory.
7486 Implemented an automatic Buffer->String return value conversion for
7487 predefined ACPI methods. For these methods (such as _BIF), added
7489 conversion for return objects that are required to be a String, but a
7491 was found instead. This can happen when reading string battery data from
7493 operation region, because it used to be difficult to convert the data
7495 buffer to string from within the ASL. Ensures that the host OS is
7497 with a valid null-terminated string. Linux BZ 11822.
7499 Updated the FACS waking vector interfaces. Split
7500 AcpiSetFirmwareWakingVector
7501 into two: one for the 32-bit vector, another for the 64-bit vector. This
7503 required because the host OS must setup the wake much differently for
7505 vector (real vs. protected mode, etc.) and the interface itself should
7508 deciding which vector to use. Also, eliminated the
7509 GetFirmwareWakingVector
7510 interface, as it served no purpose (only the firmware reads the vector,
7512 only writes the vector.) ACPICA BZ 731.
7514 Implemented a mechanism to escape infinite AML While() loops. Added a
7516 counter to force exit from AML While loops if the count becomes too
7518 This can occur in poorly written AML when the hardware does not respond
7519 within a while loop and the loop does not implement a timeout. The
7521 loop count is configurable. A new exception code is returned when a loop
7523 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7525 Optimized the execution of AML While loops. Previously, a control state
7526 object was allocated and freed for each execution of the loop. The
7527 optimization is to simply reuse the control state for each iteration.
7529 speeds up the raw loop execution time by about 5%.
7531 Enhanced the implicit return mechanism. For Windows compatibility, return
7533 implicit integer of value zero for methods that contain no executable
7535 Such methods are seen in the field as stubs (presumably), and can cause
7536 drivers to fail if they expect a return value. Lin Ming.
7538 Allow multiple backslashes as root prefixes in namepaths. In a fully
7539 qualified namepath, allow multiple backslash prefixes. This can happen
7541 is seen in the field) because of the use of a double-backslash in strings
7542 (since backslash is the escape character) causing confusion. ACPICA BZ
7546 Emit a warning if two different FACS or DSDT tables are discovered in the
7547 FADT. Checks if there are two valid but different addresses for the FACS
7549 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7551 Consolidated the method argument count validation code. Merged the code
7553 validates control method argument counts into the predefined validation
7554 module. Eliminates possible multiple warnings for incorrect argument
7557 Implemented ACPICA example code. Includes code for ACPICA initialization,
7558 handler installation, and calling a control method. Available at
7559 source/tools/examples.
7561 Added a global pointer for FACS table to simplify internal FACS access.
7563 the global pointer instead of using AcpiGetTableByIndex for each FACS
7565 This simplifies the code for the Global Lock and the Firmware Waking
7568 Example Code and Data Size: These are the sizes for the OS-independent
7569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7570 debug version of the code includes the debug output trace mechanism and
7572 much larger code and data size.
7575 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
7576 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
7578 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
7579 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
7581 2) iASL Compiler/Disassembler and Tools:
7583 iASL: Improved disassembly of external method calls. Added the -e option
7585 allow the inclusion of additional ACPI tables to help with the
7588 method invocations and the generation of external declarations during the
7589 disassembly. Certain external method invocations cannot be disassembled
7590 properly without the actual declaration of the method. Use the -e option
7592 include the table where the external method(s) are actually declared.
7594 useful for disassembling SSDTs that make method calls back to the master
7595 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
7597 -e dsdt.aml ssdt1.aml
7599 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
7600 problem where the use of an alias within a namepath would result in a not
7601 found error or cause the compiler to fault. Also now allows forward
7602 references from the Alias operator itself. ACPICA BZ 738.
7604 ----------------------------------------
7605 26 September 2008. Summary of changes for version 20080926:
7607 1) ACPI CA Core Subsystem:
7609 Designed and implemented a mechanism to validate predefined ACPI methods
7611 objects. This code validates the predefined ACPI objects (objects whose
7613 start with underscore) that appear in the namespace, at the time they are
7614 evaluated. The argument count and the type of the returned object are
7615 validated against the ACPI specification. The purpose of this validation
7617 to detect problems with the BIOS-implemented predefined ACPI objects
7619 the results are returned to the ACPI-related drivers. Future enhancements
7621 include actual repair of incorrect return objects where possible. Two new
7622 files are nspredef.c and acpredef.h.
7624 Fixed a fault in the AML parser if a memory allocation fails during the
7626 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7628 Fixed an issue with implicit return compatibility. This change improves
7630 implicit return mechanism to be more compatible with the MS interpreter.
7632 Ming, ACPICA BZ 349.
7634 Implemented support for zero-length buffer-to-string conversions. Allow
7636 length strings during interpreter buffer-to-string conversions. For
7638 during the ToDecimalString and ToHexString operators, as well as implicit
7639 conversions. Fiodor Suietov, ACPICA BZ 585.
7641 Fixed two possible memory leaks in the error exit paths of
7642 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
7644 similar in that they use a stack of state objects in order to eliminate
7645 recursion. The stack must be fully unwound and deallocated if an error
7646 occurs. Lin Ming. ACPICA BZ 383.
7648 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
7650 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
7651 Moore ACPICA BZ 442.
7653 Removed the obsolete version number in module headers. Removed the
7654 "$Revision" number that appeared in each module header. This version
7656 was useful under SourceSafe and CVS, but has no meaning under git. It is
7658 only incorrect, it could also be misleading.
7660 Example Code and Data Size: These are the sizes for the OS-independent
7661 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7662 debug version of the code includes the debug output trace mechanism and
7664 much larger code and data size.
7667 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7668 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
7670 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
7671 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
7673 ----------------------------------------
7674 29 August 2008. Summary of changes for version 20080829:
7676 1) ACPI CA Core Subsystem:
7678 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
7679 Reference. Changes include the elimination of cheating on the Object
7681 for the DdbHandle subtype, addition of a reference class field to
7682 differentiate the various reference types (instead of an AML opcode), and
7684 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7686 Reduce an error to a warning for an incorrect method argument count.
7687 Previously aborted with an error if too few arguments were passed to a
7688 control method via the external ACPICA interface. Now issue a warning
7690 and continue. Handles the case where the method inadvertently declares
7692 many arguments, but does not actually use the extra ones. Applies mainly
7694 the predefined methods. Lin Ming. Linux BZ 11032.
7696 Disallow the evaluation of named object types with no intrinsic value.
7698 AE_TYPE for objects that have no value and therefore evaluation is
7700 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
7702 these types were allowed, but an exception would be generated at some
7704 during the evaluation. Now, the error is generated up front.
7706 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
7707 (nsnames.c). Fixes a leak in the error exit path.
7709 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
7711 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
7713 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
7716 Removed obsolete and/or unused exception codes from the acexcep.h header.
7717 There is the possibility that certain device drivers may be affected if
7719 use any of these exceptions.
7721 The ACPICA documentation has been added to the public git source tree,
7723 acpica/documents. Included are the ACPICA programmer reference, the iASL
7724 compiler reference, and the changes.txt release logfile.
7726 Example Code and Data Size: These are the sizes for the OS-independent
7727 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7728 debug version of the code includes the debug output trace mechanism and
7730 much larger code and data size.
7733 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7734 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
7736 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7737 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
7739 2) iASL Compiler/Disassembler and Tools:
7741 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
7742 defines _SCP with 3 arguments. Previous versions defined it with only 1
7743 argument. iASL now allows both definitions.
7745 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
7747 length subtables when disassembling ACPI tables. Also fixed a couple of
7748 errors where a full 16-bit table type field was not extracted from the
7752 acpisrc: Improve comment counting mechanism for generating source code
7753 statistics. Count first and last lines of multi-line comments as
7755 not comment lines. Handle Linux legal header in addition to standard
7759 ----------------------------------------
7761 29 July 2008. Summary of changes for version 20080729:
7763 1) ACPI CA Core Subsystem:
7765 Fix a possible deadlock in the GPE dispatch. Remove call to
7766 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
7768 to acquire the GPE lock but can deadlock since the GPE lock is already
7770 at dispatch time. This code was introduced in version 20060831 as a
7772 to Linux BZ 6881 and has since been removed from Linux.
7774 Add a function to dereference returned reference objects. Examines the
7776 object from a call to AcpiEvaluateObject. Any Index or RefOf references
7778 automatically dereferenced in an attempt to return something useful
7780 reference types cannot be converted into an external ACPI_OBJECT.)
7782 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
7784 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
7785 subtables for the MADT and one new subtable for the SRAT. Includes
7786 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
7788 Specification, June 2008.
7790 Additional error checking for pathname utilities. Add error check after
7792 calls to AcpiNsGetPathnameLength. Add status return from
7793 AcpiNsBuildExternalPath and check after all calls. Add parameter
7795 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
7797 Return status from the global init function AcpiUtGlobalInitialize. This
7799 used by both the kernel subsystem and the utilities such as iASL
7801 The function could possibly fail when the caches are initialized. Yang
7804 Add a function to decode reference object types to strings. Created for
7805 improved error messages.
7807 Improve object conversion error messages. Better error messages during
7809 conversion from internal to the external ACPI_OBJECT. Used for external
7811 to AcpiEvaluateObject.
7813 Example Code and Data Size: These are the sizes for the OS-independent
7814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7815 debug version of the code includes the debug output trace mechanism and
7817 much larger code and data size.
7820 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7821 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7823 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7824 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
7826 2) iASL Compiler/Disassembler and Tools:
7828 Debugger: fix a possible hang when evaluating non-methods. Fixes a
7830 introduced in version 20080701. If the object being evaluated (via
7832 command) is not a method, the debugger can hang while trying to obtain
7834 existent parameters.
7836 iASL: relax error for using reserved "_T_x" identifiers. These names can
7837 appear in a disassembled ASL file if they were emitted by the original
7838 compiler. Instead of issuing an error or warning and forcing the user to
7839 manually change these names, issue a remark instead.
7841 iASL: error if named object created in while loop. Emit an error if any
7843 object is created within a While loop. If allowed, this code will
7846 run-time error on the second iteration of the loop when an attempt is
7849 create the same named object twice. ACPICA bugzilla 730.
7851 iASL: Support absolute pathnames for include files. Add support for
7853 pathnames within the Include operator. previously, only relative
7857 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
7859 The ACPI spec requires one interrupt minimum. BZ 423
7861 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
7862 Handles the case for the Interrupt Resource Descriptor where
7863 the ResourceSource argument is omitted but ResourceSourceIndex
7864 is present. Now leave room for the Index. BZ 426
7866 iASL: Prevent error message if CondRefOf target does not exist. Fixes
7868 where an error message is emitted if the target does not exist. BZ 516
7870 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
7871 (get ACPI tables on Windows). This was apparently broken in version
7874 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
7876 the EOF happens immediately after the last table in the input file. Print
7877 completion message. Previously, no message was displayed in this case.
7879 ----------------------------------------
7880 01 July 2008. Summary of changes for version 20080701:
7882 0) Git source tree / acpica.org
7884 Fixed a problem where a git-clone from http would not transfer the entire
7887 1) ACPI CA Core Subsystem:
7889 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
7890 enable bit. Now performs a read-change-write of the enable register
7892 of simply writing out the cached enable mask. This will prevent
7894 enabling of GPEs if a rogue GPE is received during initialization (before
7896 handlers are installed.)
7898 Implemented a copy for dynamically loaded tables. Previously, dynamically
7899 loaded tables were simply mapped - but on some machines this memory is
7900 corrupted after suspend. Now copy the table to a local buffer. For the
7901 OpRegion case, added checksum verify. Use the table length from the table
7902 header, not the region length. For the Buffer case, use the table length
7903 also. Dennis Noordsij, Bob Moore. BZ 10734
7905 Fixed a problem where the same ACPI table could not be dynamically loaded
7907 unloaded more than once. Without this change, a table cannot be loaded
7909 once it has been loaded/unloaded one time. The current mechanism does not
7910 unregister a table upon an unload. During a load, if the same table is
7912 this no longer returns an exception. BZ 722
7914 Fixed a problem where the wrong descriptor length was calculated for the
7915 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
7917 are calculated as 12 bytes long, but the actual length in the internal
7918 descriptor is 16 because of the round-up to 8 on the 64-bit build.
7920 by Linn Crosetto. BZ 728
7922 Fixed a possible memory leak in the Unload operator. The DdbHandle
7924 by Load() did not have its reference count decremented during unload,
7926 to a memory leak. Lin Ming. BZ 727
7928 Fixed a possible memory leak when deleting thermal/processor objects. Any
7929 associated notify handlers (and objects) were not being deleted. Fiodor
7932 Fixed the ordering of the ASCII names in the global mutex table to match
7934 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
7936 Vegard Nossum. BZ 726
7938 Enhanced the AcpiGetObjectInfo interface to return the number of required
7939 arguments if the object is a control method. Added this call to the
7941 so the proper number of default arguments are passed to a method. This
7942 prevents a warning when executing methods from AcpiExec.
7944 Added a check for an invalid handle in AcpiGetObjectInfo. Return
7945 AE_BAD_PARAMETER if input handle is invalid. BZ 474
7947 Fixed an extraneous warning from exconfig.c on the 64-bit build.
7949 Example Code and Data Size: These are the sizes for the OS-independent
7950 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7951 debug version of the code includes the debug output trace mechanism and
7953 much larger code and data size.
7956 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7957 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7959 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7960 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7962 2) iASL Compiler/Disassembler and Tools:
7964 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
7965 resource descriptor names.
7967 iASL: Detect invalid ASCII characters in input (windows version). Removed
7969 "-CF" flag from the flex compile, enables correct detection of non-ASCII
7970 characters in the input. BZ 441
7972 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
7974 "result of operation not used" warning when the DDB handle returned from
7975 LoadTable is not used. The warning is not needed. BZ 590
7977 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
7980 pass address of table to the AML. Added option to disable OpRegion
7982 to allow creation of an OpRegion with a real address that was passed to
7984 All of this allows testing of the Load and Unload operators from
7987 Debugger: update tables command for unloaded tables. Handle unloaded
7989 and use the standard table header output routine.
7991 ----------------------------------------
7992 09 June 2008. Summary of changes for version 20080609:
7994 1) ACPI CA Core Subsystem:
7996 Implemented a workaround for reversed _PRT entries. A significant number
7998 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
7999 change dynamically detects and repairs this problem. Provides
8001 with MS ACPI. BZ 6859
8003 Simplified the internal ACPI hardware interfaces to eliminate the locking
8004 flag parameter from Register Read/Write. Added a new external interface,
8005 AcpiGetRegisterUnlocked.
8007 Fixed a problem where the invocation of a GPE control method could hang.
8009 was a regression introduced in 20080514. The new method argument count
8010 validation mechanism can enter an infinite loop when a GPE method is
8011 dispatched. Problem fixed by removing the obsolete code that passed GPE
8013 information to the notify handler via the control method parameter
8016 Fixed a problem where the _SST execution status was incorrectly returned
8018 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
8020 20080514. _SST is optional and a NOT_FOUND exception should never be
8023 Fixed a problem where a deleted object could be accessed from within the
8025 parser. This was a regression introduced in version 20080123 as a fix for
8027 Unload operator. Lin Ming. BZ 10669
8029 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
8031 and eliminated the use of a negative index in a loop. Operands are now
8032 displayed in the correct order, not backwards. This also fixes a
8034 introduced in 20080514 on 64-bit systems where the elimination of
8035 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
8038 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
8040 path did not delete a locally allocated structure.
8042 Updated definitions for the DMAR and SRAT tables to synchronize with the
8043 current specifications. Includes disassembler support.
8045 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
8046 loop termination value was used. Loop terminated on iteration early,
8048 one mutex. Linn Crosetto
8050 Example Code and Data Size: These are the sizes for the OS-independent
8051 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8052 debug version of the code includes the debug output trace mechanism and
8054 much larger code and data size.
8057 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
8058 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
8060 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
8061 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
8063 2) iASL Compiler/Disassembler and Tools:
8065 Disassembler: Implemented support for EisaId() within _CID objects. Now
8066 disassemble integer _CID objects back to EisaId invocations, including
8067 multiple integers within _CID packages. Includes single-step support for
8070 Disassembler: Added support for DMAR and SRAT table definition changes.
8072 ----------------------------------------
8073 14 May 2008. Summary of changes for version 20080514:
8075 1) ACPI CA Core Subsystem:
8077 Fixed a problem where GPEs were enabled too early during the ACPICA
8078 initialization. This could lead to "handler not installed" errors on some
8079 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
8081 ensures that all operation regions and devices throughout the namespace
8083 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
8085 Implemented a change to the enter sleep code. Moved execution of the _GTS
8086 method to just before setting sleep enable bit. The execution was moved
8088 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
8089 immediately before the SLP_EN bit is set, as per the ACPI specification.
8092 Implemented a fix to disable unknown GPEs (2nd version). Now always
8094 the GPE, even if ACPICA thinks that that it is already disabled. It is
8095 possible that the AML or some other code has enabled the GPE unbeknownst
8099 Fixed a problem with the Field operator where zero-length fields would
8101 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
8103 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
8105 Implemented a fix for the Load operator, now load the table at the
8107 root. This reverts a change introduced in version 20071019. The table is
8109 loaded at the namespace root even though this goes against the ACPI
8110 specification. This provides compatibility with other ACPI
8112 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
8115 Fixed a problem where ACPICA would not Load() tables with unusual
8117 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
8118 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
8119 Therefore, signature validation is worthless. Apparently MS ACPI accepts
8121 signatures, ACPICA must be compatible. BZ 10454.
8123 Fixed a possible negative array index in AcpiUtValidateException. Added
8125 fields to the exception string arrays to eliminate a -1 subtraction on
8129 Updated the debug tracking macros to reduce overall code and data size.
8130 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
8131 instead of pointers to static strings. Jan Beulich and Bob Moore.
8133 Implemented argument count checking in control method invocation via
8134 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
8136 many. This applies only to extern programmatic control method execution,
8138 method-to-method calls within the AML. Lin Ming.
8140 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
8142 longer needed, especially with the removal of 16-bit support. It was
8144 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
8147 32/64-bit platforms is required.
8149 Added the C const qualifier for appropriate string constants -- mostly
8150 MODULE_NAME and printf format strings. Jan Beulich.
8152 Example Code and Data Size: These are the sizes for the OS-independent
8153 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8154 debug version of the code includes the debug output trace mechanism and
8156 much larger code and data size.
8159 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
8160 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
8162 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
8163 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
8165 2) iASL Compiler/Disassembler and Tools:
8167 Implemented ACPI table revision ID validation in the disassembler. Zero
8169 always invalid. For DSDTs, the ID controls the interpreter integer width.
8171 means 32-bit and this is unusual. 2 or greater is 64-bit.
8173 ----------------------------------------
8174 21 March 2008. Summary of changes for version 20080321:
8176 1) ACPI CA Core Subsystem:
8178 Implemented an additional change to the GPE support in order to suppress
8179 spurious or stray GPEs. The AcpiEvDisableGpe function will now
8181 disable incoming GPEs that are neither enabled nor disabled -- meaning
8183 the GPE is unknown to the system. This should prevent future interrupt
8185 from that GPE. BZ 6217 (Zhang Rui)
8187 Fixed a problem where NULL package elements were not returned to the
8188 AcpiEvaluateObject interface correctly. The element was simply ignored
8189 instead of returning a NULL ACPI_OBJECT package element, potentially
8191 a buffer overflow and/or confusing the caller who expected a fixed number
8193 elements. BZ 10132 (Lin Ming, Bob Moore)
8195 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
8197 Qword), Field, BankField, and IndexField operators when invoked from
8199 an executing control method. In this case, these operators created
8201 nodes that were incorrectly left marked as permanent nodes instead of
8202 temporary nodes. This could cause a problem if there is race condition
8203 between an exiting control method and a running namespace walk. (Reported
8207 Fixed a problem where the CreateField and CreateXXXField operators would
8208 incorrectly allow duplicate names (the name of the field) with no
8212 Implemented several changes for Notify handling. Added support for new
8214 values (ACPI 2.0+) and improved the Notify debug output. Notify on
8215 PowerResource objects is no longer allowed, as per the ACPI
8217 (Bob Moore, Zhang Rui)
8219 All Reference Objects returned via the AcpiEvaluateObject interface are
8221 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
8223 NULL objects - either NULL package elements or unresolved named
8226 Fixed a problem where an extraneous debug message was produced for
8228 objects (when debugging enabled). The message "Package List length larger
8229 than NumElements count" is now produced in the correct case, and is now
8231 error message rather than a debug message. Added a debug message for the
8232 opposite case, where NumElements is larger than the Package List (the
8234 will be padded out with NULL elements as per the ACPI spec.)
8236 Implemented several improvements for the output of the ASL "Debug" object
8238 clarify and keep all data for a given object on one output line.
8240 Fixed two size calculation issues with the variable-length Start
8242 resource descriptor.
8244 Example Code and Data Size: These are the sizes for the OS-independent
8245 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8246 debug version of the code includes the debug output trace mechanism and
8248 a much larger code and data size.
8251 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
8252 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
8254 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
8255 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
8257 2) iASL Compiler/Disassembler and Tools:
8259 Fixed a problem with the use of the Switch operator where execution of
8261 containing method by multiple concurrent threads could cause an
8262 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
8263 actual Switch opcode, it must be simulated with local named temporary
8264 variables and if/else pairs. The solution chosen was to mark any method
8266 uses Switch as Serialized, thus preventing multiple thread entries. BZ
8269 ----------------------------------------
8270 13 February 2008. Summary of changes for version 20080213:
8272 1) ACPI CA Core Subsystem:
8274 Implemented another MS compatibility design change for GPE/Notify
8276 GPEs are now cleared/enabled asynchronously to allow all pending notifies
8278 complete first. It is expected that the OSL will queue the enable request
8279 behind all pending notify requests (may require changes to the local host
8281 in AcpiOsExecute). Alexey Starikovskiy.
8283 Fixed a problem where buffer and package objects passed as arguments to a
8284 control method via the external AcpiEvaluateObject interface could cause
8286 AE_AML_INTERNAL exception depending on the order and type of operators
8287 executed by the target control method.
8289 Fixed a problem where resource descriptor size optimization could cause a
8290 problem when a _CRS resource template is passed to a _SRS method. The
8292 resource template must use the same descriptors (with the same size) as
8293 returned from _CRS. This change affects the following resource
8295 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
8298 Fixed a problem where a CopyObject to RegionField, BankField, and
8300 objects did not perform an implicit conversion as it should. These types
8302 retain their initial type permanently as per the ACPI specification.
8304 a CopyObject to all other object types should not perform an implicit
8305 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8307 Fixed a problem with the AcpiGetDevices interface where the mechanism to
8308 match device CIDs did not examine the entire list of available CIDs, but
8309 instead aborted on the first non-matching CID. Andrew Patterson.
8311 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
8313 inadvertently changed to return a 16-bit value instead of a 32-bit value,
8314 truncating the upper dword of a 64-bit value. This macro is only used to
8315 display debug output, so no incorrect calculations were made. Also,
8316 reimplemented the macro so that a 64-bit shift is not performed by
8317 inefficient compilers.
8319 Added missing va_end statements that should correspond with each va_start
8322 Example Code and Data Size: These are the sizes for the OS-independent
8323 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8324 debug version of the code includes the debug output trace mechanism and
8326 a much larger code and data size.
8329 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
8330 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
8332 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
8333 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
8335 2) iASL Compiler/Disassembler and Tools:
8337 Implemented full disassembler support for the following new ACPI tables:
8338 BERT, EINJ, and ERST. Implemented partial disassembler support for the
8339 complicated HEST table. These tables support the Windows Hardware Error
8340 Architecture (WHEA).
8342 ----------------------------------------
8343 23 January 2008. Summary of changes for version 20080123:
8345 1) ACPI CA Core Subsystem:
8347 Added the 2008 copyright to all module headers and signons. This affects
8348 virtually every file in the ACPICA core subsystem, the iASL compiler, and
8349 the tools/utilities.
8351 Fixed a problem with the SizeOf operator when used with Package and
8353 objects. These objects have deferred execution for some arguments, and
8355 execution is now completed before the SizeOf is executed. This problem
8357 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
8361 Implemented an enhancement to the interpreter "slack mode". In the
8364 an explicit return or an implicitly returned object from the last
8366 opcode, a control method will now implicitly return an integer of value 0
8368 Microsoft compatibility. (Lin Ming) BZ 392
8370 Fixed a problem with the Load operator where an exception was not
8373 the case where the table is already loaded. (Lin Ming) BZ 463
8375 Implemented support for the use of DDBHandles as an Indexed Reference, as
8377 the ACPI spec. (Lin Ming) BZ 486
8379 Implemented support for UserTerm (Method invocation) for the Unload
8381 as per the ACPI spec. (Lin Ming) BZ 580
8383 Fixed a problem with the LoadTable operator where the OemId and
8385 input strings could cause unexpected failures if they were shorter than
8387 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8389 Implemented support for UserTerm (Method invocation) for the Unload
8391 as per the ACPI spec. (Lin Ming) BZ 580
8393 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
8395 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8397 Example Code and Data Size: These are the sizes for the OS-independent
8398 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8399 debug version of the code includes the debug output trace mechanism and
8401 a much larger code and data size.
8404 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
8405 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
8407 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
8408 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
8410 2) iASL Compiler/Disassembler and Tools:
8412 Implemented support in the disassembler for checksum validation on
8414 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
8416 header dump at the start of the disassembly.
8418 Implemented additional debugging information in the namespace listing
8420 created during compilation. In addition to the namespace hierarchy, the
8422 pathname to each namespace object is displayed.
8424 Fixed a problem with the disassembler where invalid ACPI tables could
8426 faults or infinite loops.
8428 Fixed an unexpected parse error when using the optional "parameter types"
8429 list in a control method declaration. (Lin Ming) BZ 397
8431 Fixed a problem where two External declarations with the same name did
8433 cause an error (Lin Ming) BZ 509
8435 Implemented support for full TermArgs (adding Argx, Localx and method
8436 invocation) for the ParameterData parameter to the LoadTable operator.
8440 ----------------------------------------
8441 19 December 2007. Summary of changes for version 20071219:
8443 1) ACPI CA Core Subsystem:
8445 Implemented full support for deferred execution for the TermArg string
8446 arguments for DataTableRegion. This enables forward references and full
8447 operand resolution for the three string arguments. Similar to
8449 deferred argument execution.) Lin Ming. BZ 430
8451 Implemented full argument resolution support for the BankValue argument
8453 BankField. Previously, only constants were supported, now any TermArg may
8455 used. Lin Ming BZ 387, 393
8457 Fixed a problem with AcpiGetDevices where the search of a branch of the
8458 device tree could be terminated prematurely. In accordance with the ACPI
8459 specification, the search down the current branch is terminated if a
8461 is both not present and not functional (instead of just not present.)
8465 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
8467 the underlying AML code changed the GPE enable registers. Now, any
8469 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
8471 instead of simply ignored. Rui Zhang.
8473 Fixed a problem with Index Fields where the Index register was
8475 limited to a maximum of 32 bits. Now any size may be used.
8477 Fixed a couple memory leaks associated with "implicit return" objects
8479 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8481 Example Code and Data Size: These are the sizes for the OS-independent
8482 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8483 debug version of the code includes the debug output trace mechanism and
8485 a much larger code and data size.
8488 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
8489 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
8491 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
8492 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
8494 ----------------------------------------
8495 14 November 2007. Summary of changes for version 20071114:
8497 1) ACPI CA Core Subsystem:
8499 Implemented event counters for each of the Fixed Events, the ACPI SCI
8500 (interrupt) itself, and control methods executed. Named
8501 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
8503 should be useful for debugging and statistics.
8505 Implemented a new external interface, AcpiGetStatistics, to retrieve the
8506 contents of the various event counters. Returns the current values for
8507 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
8508 AcpiMethodCount. The interface can be expanded in the future if new
8510 are added. Device drivers should use this interface rather than access
8514 Fixed a problem with the FromBCD and ToBCD operators. With some
8516 the ShortDivide function worked incorrectly, causing problems with the
8518 functions with large input values. A truncation from 64-bit to 32-bit
8519 inadvertently occurred. Internal BZ 435. Lin Ming
8521 Fixed a problem with Index references passed as method arguments.
8523 passed as arguments to control methods were dereferenced immediately
8525 control was passed to the called method). The references are now
8527 passed directly to the called method. BZ 5389. Lin Ming
8529 Fixed a problem with CopyObject used in conjunction with the Index
8531 The reference was incorrectly dereferenced before the copy. The reference
8533 now correctly copied. BZ 5391. Lin Ming
8535 Fixed a problem with Control Method references within Package objects.
8537 references are now correctly generated. This completes the package
8538 construction overhaul that began in version 20071019.
8540 Example Code and Data Size: These are the sizes for the OS-independent
8541 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8542 debug version of the code includes the debug output trace mechanism and
8544 a much larger code and data size.
8547 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
8548 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
8550 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
8551 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
8554 2) iASL Compiler/Disassembler and Tools:
8556 The AcpiExec utility now installs handlers for all of the predefined
8557 Operation Region types. New types supported are: PCI_Config, CMOS, and
8560 Fixed a problem with the 64-bit version of AcpiExec where the extended
8562 bit) address fields for the DSDT and FACS within the FADT were not being
8563 used, causing truncation of the upper 32-bits of these addresses. Lin
8567 ----------------------------------------
8568 19 October 2007. Summary of changes for version 20071019:
8570 1) ACPI CA Core Subsystem:
8572 Fixed a problem with the Alias operator when the target of the alias is a
8573 named ASL operator that opens a new scope -- Scope, Device,
8575 Processor, and ThermalZone. In these cases, any children of the original
8576 operator could not be accessed via the alias, potentially causing
8578 AE_NOT_FOUND exceptions. (BZ 9067)
8580 Fixed a problem with the Package operator where all named references were
8581 created as object references and left otherwise unresolved. According to
8583 ACPI specification, a Package can only contain Data Objects or references
8585 control methods. The implication is that named references to Data Objects
8586 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
8587 immediately upon package creation. This is the approach taken with this
8588 change. References to all other named objects (Methods, Devices, Scopes,
8589 etc.) are all now properly created as reference objects. (BZ 5328)
8591 Reverted a change to Notify handling that was introduced in version
8592 20070508. This version changed the Notify handling from asynchronous to
8593 fully synchronous (Device driver Notify handling with respect to the
8595 ASL operator). It was found that this change caused more problems than it
8596 solved and was removed by most users.
8598 Fixed a problem with the Increment and Decrement operators where the type
8600 the target object could be unexpectedly and incorrectly changed. (BZ 353)
8603 Fixed a problem with the Load and LoadTable operators where the table
8604 location within the namespace was ignored. Instead, the table was always
8605 loaded into the root or current scope. Lin Ming.
8607 Fixed a problem with the Load operator when loading a table from a buffer
8608 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8610 Fixed a problem with the Debug object where a store of a DdbHandle
8612 object to the Debug object could cause a fault.
8614 Added a table checksum verification for the Load operator, in the case
8616 the load is from a buffer. (BZ 578).
8618 Implemented additional parameter validation for the LoadTable operator.
8620 length of the input strings SignatureString, OemIdString, and OemTableId
8622 now checked for maximum lengths. (BZ 582) Lin Ming.
8624 Example Code and Data Size: These are the sizes for the OS-independent
8625 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8626 debug version of the code includes the debug output trace mechanism and
8628 a much larger code and data size.
8631 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
8632 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
8634 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
8635 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
8638 2) iASL Compiler/Disassembler:
8640 Fixed a problem where if a single file was specified and the file did not
8641 exist, no error message was emitted. (Introduced with wildcard support in
8644 ----------------------------------------
8645 19 September 2007. Summary of changes for version 20070919:
8647 1) ACPI CA Core Subsystem:
8649 Designed and implemented new external interfaces to install and remove
8650 handlers for ACPI table-related events. Current events that are defined
8652 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
8653 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
8654 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8656 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
8657 (acpi_serialized option on Linux) could cause some systems to hang during
8658 initialization. (Bob Moore) BZ 8171
8660 Fixed a problem where objects of certain types (Device, ThermalZone,
8661 Processor, PowerResource) can be not found if they are declared and
8662 referenced from within the same control method (Lin Ming) BZ 341
8664 Example Code and Data Size: These are the sizes for the OS-independent
8665 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8666 debug version of the code includes the debug output trace mechanism and
8668 a much larger code and data size.
8671 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
8672 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
8674 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
8675 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
8678 2) iASL Compiler/Disassembler:
8680 Implemented support to allow multiple files to be compiled/disassembled
8683 single invocation. This includes command line wildcard support for both
8685 Windows and Unix versions of the compiler. This feature simplifies the
8686 disassembly and compilation of multiple ACPI tables in a single
8689 ----------------------------------------
8690 08 May 2007. Summary of changes for version 20070508:
8692 1) ACPI CA Core Subsystem:
8694 Implemented a Microsoft compatibility design change for the handling of
8696 Notify AML operator. Previously, notify handlers were dispatched and
8697 executed completely asynchronously in a deferred thread. The new design
8698 still executes the notify handlers in a different thread, but the
8700 thread that executed the Notify() now waits at a synchronization point
8702 the notify handler to complete. Some machines depend on a synchronous
8704 operator in order to operate correctly.
8706 Implemented support to allow Package objects to be passed as method
8707 arguments to the external AcpiEvaluateObject interface. Previously, this
8708 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
8709 implemented since there were no reserved control methods that required it
8712 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
8714 contained invalid non-zero values in reserved fields could cause later
8715 failures because these fields have meaning in later revisions of the
8717 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
8719 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8721 Fixed a problem where the Global Lock handle was not properly updated if
8723 thread that acquired the Global Lock via executing AML code then
8725 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
8729 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
8730 could be corrupted if the interrupt being removed was at the head of the
8731 list. Reported by Linn Crosetto.
8733 Example Code and Data Size: These are the sizes for the OS-independent
8734 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8735 debug version of the code includes the debug output trace mechanism and
8737 a much larger code and data size.
8740 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8741 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
8743 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
8744 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
8746 ----------------------------------------
8747 20 March 2007. Summary of changes for version 20070320:
8749 1) ACPI CA Core Subsystem:
8751 Implemented a change to the order of interpretation and evaluation of AML
8752 operand objects within the AML interpreter. The interpreter now evaluates
8753 operands in the order that they appear in the AML stream (and the
8754 corresponding ASL code), instead of in the reverse order (after the
8756 operand list has been parsed). The previous behavior caused several
8758 incompatibilities with the Microsoft AML interpreter as well as being
8759 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8761 Implemented a change to the ACPI Global Lock support. All interfaces to
8763 global lock now allow the same thread to acquire the lock multiple times.
8764 This affects the AcpiAcquireGlobalLock external interface to the global
8766 as well as the internal use of the global lock to support AML fields -- a
8767 control method that is holding the global lock can now simultaneously
8769 AML fields that require global lock protection. Previously, in both
8771 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
8773 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
8774 Controller. There is no change to the behavior of the AML Acquire
8776 as this can already be used to acquire a mutex multiple times by the same
8777 thread. BZ 8066. With assistance from Alexey Starikovskiy.
8779 Fixed a problem where invalid objects could be referenced in the AML
8780 Interpreter after error conditions. During operand evaluation, ensure
8782 the internal "Return Object" field is cleared on error and only valid
8783 pointers are stored there. Caused occasional access to deleted objects
8785 resulted in "large reference count" warning messages. Valery Podrezov.
8787 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
8789 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
8792 Fixed an internal problem with the handling of result objects on the
8793 interpreter result stack. BZ 7872. Valery Podrezov.
8795 Removed obsolete code that handled the case where AML_NAME_OP is the
8797 of a reference (Reference.Opcode). This code was no longer necessary. BZ
8798 7874. Valery Podrezov.
8800 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
8803 remnant from the previously discontinued 16-bit support.
8805 Example Code and Data Size: These are the sizes for the OS-independent
8806 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8807 debug version of the code includes the debug output trace mechanism and
8809 a much larger code and data size.
8812 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8813 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8815 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8816 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
8818 ----------------------------------------
8819 26 January 2007. Summary of changes for version 20070126:
8821 1) ACPI CA Core Subsystem:
8823 Added the 2007 copyright to all module headers and signons. This affects
8824 virtually every file in the ACPICA core subsystem, the iASL compiler, and
8827 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
8828 during a table load. A bad pointer was passed in the case where the DSDT
8830 overridden, causing a fault in this case.
8832 Example Code and Data Size: These are the sizes for the OS-independent
8833 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8834 debug version of the code includes the debug output trace mechanism and
8836 a much larger code and data size.
8839 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8840 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8842 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8843 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8845 ----------------------------------------
8846 15 December 2006. Summary of changes for version 20061215:
8848 1) ACPI CA Core Subsystem:
8850 Support for 16-bit ACPICA has been completely removed since it is no
8852 necessary and it clutters the code. All 16-bit macros, types, and
8853 conditional compiles have been removed, cleaning up and simplifying the
8855 across the entire subsystem. DOS support is no longer needed since the
8856 bootable Linux firmware kit is now available.
8858 The handler for the Global Lock is now removed during AcpiTerminate to
8859 enable a clean subsystem restart, via the implementation of the
8860 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
8863 Implemented enhancements to the multithreading support within the
8865 to enable improved multithreading debugging and evaluation of the
8869 Debugger: Enhanced the Statistics/Memory command to emit the total
8871 memory used during the execution, as well as the maximum memory consumed
8873 each of the various object types. (Valery Podrezov)
8875 Example Code and Data Size: These are the sizes for the OS-independent
8876 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8877 debug version of the code includes the debug output trace mechanism and
8879 a much larger code and data size.
8882 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8883 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8885 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8886 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8889 2) iASL Compiler/Disassembler and Tools:
8891 AcpiExec: Implemented a new option (-m) to display full memory use
8892 statistics upon subsystem/program termination. (Valery Podrezov)
8894 ----------------------------------------
8895 09 November 2006. Summary of changes for version 20061109:
8897 1) ACPI CA Core Subsystem:
8899 Optimized the Load ASL operator in the case where the source operand is
8901 operation region. Simply map the operation region memory, instead of
8902 performing a bytewise read. (Region must be of type SystemMemory, see
8905 Fixed the Load ASL operator for the case where the source operand is a
8906 region field. A buffer object is also allowed as the source operand. BZ
8909 Fixed a problem where the Load ASL operator allowed the source operand to
8911 an operation region of any type. It is now restricted to regions of type
8912 SystemMemory, as per the ACPI specification. BZ 481
8914 Additional cleanup and optimizations for the new Table Manager code.
8916 AcpiEnable will now fail if all of the required ACPI tables are not
8918 (FADT, FACS, DSDT). BZ 477
8920 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
8922 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
8923 manually optimized to be aligned and will not work if it is byte-packed.
8925 Example Code and Data Size: These are the sizes for the OS-independent
8926 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8927 debug version of the code includes the debug output trace mechanism and
8929 a much larger code and data size.
8932 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
8933 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
8935 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8936 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8939 2) iASL Compiler/Disassembler and Tools:
8941 Fixed a problem where the presence of the _OSI predefined control method
8942 within complex expressions could cause an internal compiler error.
8944 AcpiExec: Implemented full region support for multiple address spaces.
8945 SpaceId is now part of the REGION object. BZ 429
8947 ----------------------------------------
8948 11 October 2006. Summary of changes for version 20061011:
8950 1) ACPI CA Core Subsystem:
8952 Completed an AML interpreter performance enhancement for control method
8953 execution. Previously a 2-pass parse/execution, control methods are now
8954 completely parsed and executed in a single pass. This improves overall
8955 interpreter performance by ~25%, reduces code size, and reduces CPU stack
8956 use. (Valery Podrezov + interpreter changes in version 20051202 that
8957 eliminated namespace loading during the pass one parse.)
8959 Implemented _CID support for PCI Root Bridge detection. If the _HID does
8961 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
8963 obtained and also checked for an ID match.
8965 Implemented additional support for the PCI _ADR execution: upsearch until
8967 device scope is found before executing _ADR. This allows PCI_Config
8968 operation regions to be declared locally within control methods
8972 Fixed a problem with a possible race condition between threads executing
8973 AcpiWalkNamespace and the AML interpreter. This condition was removed by
8974 modifying AcpiWalkNamespace to (by default) ignore all temporary
8976 entries created during any concurrent control method execution. An
8977 additional namespace race condition is known to exist between
8978 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
8981 Restructured the AML ParseLoop function, breaking it into several
8982 subfunctions in order to reduce CPU stack use and improve
8986 AcpiGetHandle: Fix for parameter validation to detect invalid
8988 of prefix handle and pathname. BZ 478
8990 Example Code and Data Size: These are the sizes for the OS-independent
8991 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8992 debug version of the code includes the debug output trace mechanism and
8994 a much larger code and data size.
8997 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8998 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
9000 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
9001 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
9003 2) iASL Compiler/Disassembler and Tools:
9005 Ported the -g option (get local ACPI tables) to the new ACPICA Table
9007 to restore original behavior.
9009 ----------------------------------------
9010 27 September 2006. Summary of changes for version 20060927:
9012 1) ACPI CA Core Subsystem:
9014 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
9015 These functions now use a spinlock for mutual exclusion and the interrupt
9016 level indication flag is not needed.
9018 Fixed a problem with the Global Lock where the lock could appear to be
9019 obtained before it is actually obtained. The global lock semaphore was
9020 inadvertently created with one unit instead of zero units. (BZ 464)
9024 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
9026 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
9028 Example Code and Data Size: These are the sizes for the OS-independent
9029 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9030 debug version of the code includes the debug output trace mechanism and
9032 a much larger code and data size.
9035 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
9036 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
9038 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
9039 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
9042 2) iASL Compiler/Disassembler and Tools:
9044 Fixed a compilation problem with the pre-defined Resource Descriptor
9046 names where an "object does not exist" error could be incorrectly
9048 if the parent ResourceTemplate pathname places the template within a
9049 different namespace scope than the current scope. (BZ 7212)
9051 Fixed a problem where the compiler could hang after syntax errors
9053 in an ElseIf construct. (BZ 453)
9055 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
9056 operator. An incorrect output filename was produced when this parameter
9058 a null string (""). Now, the original input filename is used as the AML
9059 output filename, with an ".aml" extension.
9061 Implemented a generic batch command mode for the AcpiExec utility
9063 any AML debugger command) (Valery Podrezov).
9065 ----------------------------------------
9066 12 September 2006. Summary of changes for version 20060912:
9068 1) ACPI CA Core Subsystem:
9070 Enhanced the implementation of the "serialized mode" of the interpreter
9071 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
9072 specified, instead of creating a serialization semaphore per control
9074 the interpreter lock is simply no longer released before a blocking
9075 operation during control method execution. This effectively makes the AML
9076 Interpreter single-threaded. The overhead of a semaphore per-method is
9079 Fixed a regression where an error was no longer emitted if a control
9081 attempts to create 2 objects of the same name. This once again returns
9082 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
9084 will dynamically serialize the control method to possible prevent future
9087 Integrated a fix for a problem with PCI Express HID detection in the PCI
9088 Config Space setup procedure. (BZ 7145)
9090 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
9091 AcpiHwInitialize function - the FADT registers are now validated when the
9094 Added two new warnings during FADT verification - 1) if the FADT is
9096 than the largest known FADT version, and 2) if there is a mismatch
9099 32-bit block address and the 64-bit X counterpart (when both are non-
9102 Example Code and Data Size: These are the sizes for the OS-independent
9103 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9104 debug version of the code includes the debug output trace mechanism and
9106 a much larger code and data size.
9109 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
9110 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
9112 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
9113 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
9116 2) iASL Compiler/Disassembler and Tools:
9118 Fixed a problem with the implementation of the Switch() operator where
9120 temporary variable was declared too close to the actual Switch, instead
9122 at method level. This could cause a problem if the Switch() operator is
9123 within a while loop, causing an error on the second iteration. (BZ 460)
9125 Disassembler - fix for error emitted for unknown type for target of scope
9126 operator. Now, ignore it and continue.
9128 Disassembly of an FADT now verifies the input FADT and reports any errors
9129 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
9131 Disassembly of raw data buffers with byte initialization data now
9133 each output line with the current buffer offset.
9135 Disassembly of ASF! table now includes all variable-length data fields at
9136 the end of some of the subtables.
9138 The disassembler now emits a comment if a buffer appears to be a
9139 ResourceTemplate, but cannot be disassembled as such because the EndTag
9141 not appear at the very end of the buffer.
9143 AcpiExec - Added the "-t" command line option to enable the serialized
9145 of the AML interpreter.
9147 ----------------------------------------
9148 31 August 2006. Summary of changes for version 20060831:
9150 1) ACPI CA Core Subsystem:
9152 Miscellaneous fixes for the Table Manager:
9153 - Correctly initialize internal common FADT for all 64-bit "X" fields
9154 - Fixed a couple table mapping issues during table load
9155 - Fixed a couple alignment issues for IA64
9156 - Initialize input array to zero in AcpiInitializeTables
9157 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
9160 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
9162 immediately disabled to prevent the waking GPE from firing again and to
9163 prevent other wake GPEs from interrupting the wake process.
9165 Added the AcpiGpeCount global that tracks the number of processed GPEs,
9167 be used for debugging systems with a large number of ACPI interrupts.
9169 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
9170 both the ACPICA headers and the disassembler.
9172 Example Code and Data Size: These are the sizes for the OS-independent
9173 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9174 debug version of the code includes the debug output trace mechanism and
9176 a much larger code and data size.
9179 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
9180 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
9182 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
9183 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
9186 2) iASL Compiler/Disassembler and Tools:
9188 Disassembler support for the DMAR ACPI table.
9190 ----------------------------------------
9191 23 August 2006. Summary of changes for version 20060823:
9193 1) ACPI CA Core Subsystem:
9195 The Table Manager component has been completely redesigned and
9196 reimplemented. The new design is much simpler, and reduces the overall
9198 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
9200 now possible to obtain the ACPI tables very early during kernel
9201 initialization, even before dynamic memory management is initialized.
9202 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9204 Obsolete ACPICA interfaces:
9206 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
9209 - AcpiLoadTable: Not needed.
9210 - AcpiUnloadTable: Not needed.
9212 New ACPICA interfaces:
9214 - AcpiInitializeTables: Must be called before the table manager can be
9216 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
9217 allocated memory after it becomes available.
9218 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
9222 Other ACPICA changes:
9224 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
9226 AcpiOsUnmapMemory to free this mapping.
9227 - AcpiGetTable returns the actual mapped table. The mapping is managed
9228 internally and must not be deleted by the caller. Use of this interface
9229 causes no additional dynamic memory allocation.
9230 - AcpiFindRootPointer: Support for physical addressing has been
9232 it appeared to be unused.
9233 - The interface to AcpiOsMapMemory has changed to be consistent with the
9234 other allocation interfaces.
9235 - The interface to AcpiOsGetRootPointer has changed to eliminate
9238 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
9240 bit platforms. Was previously 64 bits on all platforms.
9241 - The interface to the ACPI Global Lock acquire/release macros have
9243 slightly since ACPICA no longer keeps a local copy of the FACS with a
9244 constructed pointer to the actual global lock.
9246 Porting to the new table manager:
9248 - AcpiInitializeTables: Must be called once, and can be called anytime
9249 during the OS initialization process. It allows the host to specify an
9251 of memory to be used to store the internal version of the RSDT/XSDT (root
9252 table). This allows the host to access ACPI tables before memory
9254 is initialized and running.
9255 - AcpiReallocateRootTable: Can be called after memory management is
9257 to copy the root table to a dynamically allocated array, freeing up the
9258 scratch memory specified in the call to AcpiInitializeTables.
9259 - AcpiSubsystemInitialize: This existing interface is independent of the
9260 Table Manager, and does not have to be called before the Table Manager
9262 be used, it only must be called before the rest of ACPICA can be used.
9263 - ACPI Tables: Some changes have been made to the names and structure of
9265 actbl.h and actbl1.h header files and may require changes to existing
9267 For example, bitfields have been completely removed because of their lack
9269 portability across C compilers.
9270 - Update interfaces to the Global Lock acquire/release macros if local
9271 versions are used. (see acwin.h)
9273 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9277 Example Code and Data Size: These are the sizes for the OS-independent
9278 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9279 debug version of the code includes the debug output trace mechanism and
9281 a much larger code and data size.
9284 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9285 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9287 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
9288 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
9291 2) iASL Compiler/Disassembler and Tools:
9293 No changes for this release.
9295 ----------------------------------------
9296 21 July 2006. Summary of changes for version 20060721:
9298 1) ACPI CA Core Subsystem:
9300 The full source code for the ASL test suite used to validate the iASL
9301 compiler and the ACPICA core subsystem is being released with the ACPICA
9302 source for the first time. The source is contained in a separate package
9304 consists of over 1100 files that exercise all ASL/AML operators. The
9306 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
9310 Completed a new design and implementation for support of the ACPI Global
9311 Lock. On the OS side, the global lock is now treated as a standard AML
9312 mutex. Previously, multiple OS threads could "acquire" the global lock
9313 simultaneously. However, this could cause the BIOS to be starved out of
9315 lock - especially in cases such as the Embedded Controller driver where
9316 there is a tight coupling between the OS and the BIOS.
9318 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
9319 The Global Lock interrupt handler no longer queues the execution of a
9320 separate thread to signal the global lock semaphore. Instead, the
9322 is signaled directly from the interrupt handler.
9324 Implemented support within the AML interpreter for package objects that
9325 contain a larger AML length (package list length) than the package
9327 count. In this case, the length of the package is truncated to match the
9328 package element count. Some BIOS code apparently modifies the package
9330 on the fly, and this change supports this behavior. Provides
9332 with the MS AML interpreter. (With assistance from Fiodor Suietov)
9334 Implemented a temporary fix for the BankValue parameter of a Bank Field
9336 support all constant values, now including the Zero and One opcodes.
9337 Evaluation of this parameter must eventually be converted to a full
9339 evaluation. A not-implemented error is now returned (temporarily) for
9341 constant values for this parameter.
9343 Fixed problem reports (Fiodor Suietov) integrated:
9344 - Fix for premature object deletion after CopyObject on Operation Region
9348 Example Code and Data Size: These are the sizes for the OS-independent
9349 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9350 debug version of the code includes the debug output trace mechanism and
9352 a much larger code and data size.
9355 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
9356 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
9358 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9359 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9362 2) iASL Compiler/Disassembler and Tools:
9364 No changes for this release.
9366 ----------------------------------------
9367 07 July 2006. Summary of changes for version 20060707:
9369 1) ACPI CA Core Subsystem:
9371 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
9372 that do not allow the initialization of address pointers within packed
9373 structures - even though the hardware itself may support misaligned
9374 transfers. Some of the debug data structures are packed by default to
9377 Added an error message for the case where AcpiOsGetThreadId() returns
9379 A non-zero value is required by the core ACPICA code to ensure the proper
9380 operation of AML mutexes and recursive control methods.
9382 The DSDT is now the only ACPI table that determines whether the AML
9383 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
9385 the hooks for per-table 32/64 switching have been removed from the code.
9387 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9389 Fixed a possible leak of an OwnerID in the error path of
9390 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
9391 deletion to a single place in AcpiTbUninstallTable to correct possible
9393 when using the AcpiTbDeleteTablesByType interface (with assistance from
9396 Fixed a problem with Serialized control methods where the semaphore
9397 associated with the method could be over-signaled after multiple method
9400 Fixed two issues with the locking of the internal namespace data
9402 Both the Unload() operator and AcpiUnloadTable interface now lock the
9403 namespace during the namespace deletion associated with the table unload
9404 (with assistance from Linn Crosetto.)
9406 Fixed problem reports (Valery Podrezov) integrated:
9407 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9409 Fixed problem reports (Fiodor Suietov) integrated:
9410 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9411 - On Address Space handler deletion, needless deactivation call (BZ 374)
9412 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
9414 - Possible memory leak, Notify sub-objects of Processor, Power,
9417 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9418 - Minimum Length of RSDT should be validated (BZ 379)
9419 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
9421 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
9425 Example Code and Data Size: These are the sizes for the OS-independent
9426 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9427 debug version of the code includes the debug output trace mechanism and
9429 a much larger code and data size.
9432 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
9433 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
9435 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9436 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9439 2) iASL Compiler/Disassembler and Tools:
9441 Fixed problem reports:
9442 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
9445 ----------------------------------------
9446 23 June 2006. Summary of changes for version 20060623:
9448 1) ACPI CA Core Subsystem:
9450 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
9451 allows the type to be customized to the host OS for improved efficiency
9452 (since a spinlock is usually a very small object.)
9454 Implemented support for "ignored" bits in the ACPI registers. According
9456 the ACPI specification, these bits should be preserved when writing the
9457 registers via a read/modify/write cycle. There are 3 bits preserved in
9459 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9461 Implemented the initial deployment of new OSL mutex interfaces. Since
9463 host operating systems have separate mutex and semaphore objects, this
9464 feature was requested. The base code now uses mutexes (and the new mutex
9465 interfaces) wherever a binary semaphore was used previously. However, for
9466 the current release, the mutex interfaces are defined as macros to map
9468 to the existing semaphore interfaces. Therefore, no OSL changes are
9470 at this time. (See acpiosxf.h)
9472 Fixed several problems with the support for the control method SyncLevel
9473 parameter. The SyncLevel now works according to the ACPI specification
9475 in concert with the Mutex SyncLevel parameter, since the current
9477 is a property of the executing thread. Mutual exclusion for control
9479 is now implemented with a mutex instead of a semaphore.
9481 Fixed three instances of the use of the C shift operator in the bitfield
9482 support code (exfldio.c) to avoid the use of a shift value larger than
9484 target data width. The behavior of C compilers is undefined in this case
9486 can cause unpredictable results, and therefore the case must be detected
9488 avoided. (Fiodor Suietov)
9490 Added an info message whenever an SSDT or OEM table is loaded dynamically
9491 via the Load() or LoadTable() ASL operators. This should improve
9493 capability since it will show exactly what tables have been loaded
9495 the tables present in the RSDT/XSDT.)
9497 Example Code and Data Size: These are the sizes for the OS-independent
9498 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9499 debug version of the code includes the debug output trace mechanism and
9501 a much larger code and data size.
9504 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
9505 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
9507 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
9508 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
9511 2) iASL Compiler/Disassembler and Tools:
9513 No changes for this release.
9515 ----------------------------------------
9516 08 June 2006. Summary of changes for version 20060608:
9518 1) ACPI CA Core Subsystem:
9520 Converted the locking mutex used for the ACPI hardware to a spinlock.
9522 change should eliminate all problems caused by attempting to acquire a
9523 semaphore at interrupt level, and it means that all ACPICA external
9524 interfaces that directly access the ACPI hardware can be safely called
9526 interrupt level. OSL code that implements the semaphore interfaces should
9528 able to eliminate any workarounds for being called at interrupt level.
9530 Fixed a regression introduced in 20060526 where the ACPI device
9531 initialization could be prematurely aborted with an AE_NOT_FOUND if a
9533 did not have an optional _INI method.
9535 Fixed an IndexField issue where a write to the Data Register should be
9536 limited in size to the AccessSize (width) of the IndexField itself. (BZ
9540 Fixed problem reports (Valery Podrezov) integrated:
9541 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9543 Fixed problem reports (Fiodor Suietov) integrated:
9544 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9546 Removed four global mutexes that were obsolete and were no longer being
9549 Example Code and Data Size: These are the sizes for the OS-independent
9550 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9551 debug version of the code includes the debug output trace mechanism and
9553 a much larger code and data size.
9556 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
9557 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
9559 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
9560 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
9563 2) iASL Compiler/Disassembler and Tools:
9565 Fixed a fault when using -g option (get tables from registry) on Windows
9568 Fixed problem reports integrated:
9569 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
9570 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
9572 - Global table revision override (-r) is ignored (BZ 413)
9574 ----------------------------------------
9575 26 May 2006. Summary of changes for version 20060526:
9577 1) ACPI CA Core Subsystem:
9579 Restructured, flattened, and simplified the internal interfaces for
9580 namespace object evaluation - resulting in smaller code, less CPU stack
9582 and fewer interfaces. (With assistance from Mikhail Kouzmich)
9584 Fixed a problem with the CopyObject operator where the first parameter
9586 not typed correctly for the parser, interpreter, compiler, and
9588 Caused various errors and unexpected behavior.
9590 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
9591 produced incorrect results with some C compilers. Since the behavior of C
9592 compilers when the shift value is larger than the datatype width is
9593 apparently not well defined, the interpreter now detects this condition
9595 simply returns zero as expected in all such cases. (BZ 395)
9597 Fixed problem reports (Valery Podrezov) integrated:
9598 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9599 - Allow interpreter to handle nested method declarations (BZ 5361)
9601 Fixed problem reports (Fiodor Suietov) integrated:
9602 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
9604 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
9606 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9607 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9608 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9609 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9610 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9611 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9612 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
9614 - Status of the Global Initialization Handler call not used (BZ 366)
9615 - Incorrect object parameter to Global Initialization Handler (BZ 367)
9617 Example Code and Data Size: These are the sizes for the OS-independent
9618 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9619 debug version of the code includes the debug output trace mechanism and
9621 a much larger code and data size.
9624 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
9625 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
9627 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
9628 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
9631 2) iASL Compiler/Disassembler and Tools:
9633 Modified the parser to allow the names IO, DMA, and IRQ to be used as
9634 namespace identifiers with no collision with existing resource descriptor
9635 macro names. This provides compatibility with other ASL compilers and is
9636 most useful for disassembly/recompilation of existing tables without
9638 errors. (With assistance from Thomas Renninger)
9640 Disassembler: fixed an incorrect disassembly problem with the
9641 DataTableRegion and CopyObject operators. Fixed a possible fault during
9642 disassembly of some Alias operators.
9644 ----------------------------------------
9645 12 May 2006. Summary of changes for version 20060512:
9647 1) ACPI CA Core Subsystem:
9649 Replaced the AcpiOsQueueForExecution interface with a new interface named
9650 AcpiOsExecute. The major difference is that the new interface does not
9652 a Priority parameter, this appeared to be useless and has been replaced
9655 Type parameter. The Type tells the host what type of execution is being
9656 requested, such as global lock handler, notify handler, GPE handler, etc.
9657 This allows the host to queue and execute the request as appropriate for
9659 request type, possibly using different work queues and different
9661 for the various request types. This enables fixes for multithreading
9662 deadlock problems such as BZ #5534, and will require changes to all
9664 OS interface layers. (Alexey Starikovskiy and Bob Moore)
9666 Fixed a possible memory leak associated with the support for the so-
9668 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
9671 Fixed a problem with the Load() operator where a table load from an
9672 operation region could overwrite an internal table buffer by up to 7
9674 and cause alignment faults on IPF systems. (With assistance from Luming
9677 Example Code and Data Size: These are the sizes for the OS-independent
9678 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9679 debug version of the code includes the debug output trace mechanism and
9681 a much larger code and data size.
9684 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
9685 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
9687 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
9688 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
9692 2) iASL Compiler/Disassembler and Tools:
9694 Disassembler: Implemented support to cross reference the internal
9696 and automatically generate ASL External() statements for symbols not
9698 within the current table being disassembled. This will simplify the
9699 disassembly and recompilation of interdependent tables such as SSDTs
9701 these statements will no longer have to be added manually.
9703 Disassembler: Implemented experimental support to automatically detect
9704 invocations of external control methods and generate appropriate
9706 statements. This is problematic because the AML cannot be correctly
9708 until the number of arguments for each control method is known.
9710 standalone method invocations and invocations as the source operand of a
9711 Store() statement are supported.
9713 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
9714 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
9715 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
9716 more readable and likely closer to the original ASL source.
9718 ----------------------------------------
9719 21 April 2006. Summary of changes for version 20060421:
9721 1) ACPI CA Core Subsystem:
9723 Removed a device initialization optimization introduced in 20051216 where
9724 the _STA method was not run unless an _INI was also present for the same
9725 device. This optimization could cause problems because it could allow
9727 methods to be run within a not-present device subtree. (If a not-present
9728 device had no _INI, _STA would not be run, the not-present status would
9730 be discovered, and the children of the device would be incorrectly
9733 Implemented a new _STA optimization where namespace subtrees that do not
9734 contain _INI are identified and ignored during device initialization.
9735 Selectively running _STA can significantly improve boot time on large
9736 machines (with assistance from Len Brown.)
9738 Implemented support for the device initialization case where the returned
9739 _STA flags indicate a device not-present but functioning. In this case,
9741 is not run, but the device children are examined for presence, as per the
9744 Implemented an additional change to the IndexField support in order to
9745 conform to MS behavior. The value written to the Index Register is not
9746 simply a byte offset, it is a byte offset in units of the access width of
9747 the parent Index Field. (Fiodor Suietov)
9749 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
9750 interface is called during the creation of all AML operation regions, and
9751 allows the host OS to exert control over what addresses it will allow the
9752 AML code to access. Operation Regions whose addresses are disallowed will
9753 cause a runtime exception when they are actually accessed (will not
9755 or abort table loading.) See oswinxf or osunixxf for an example
9758 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
9759 interface allows the host OS to match the various "optional"
9760 interface/behavior strings for the _OSI predefined control method as
9761 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
9762 for an example implementation.
9764 Restructured and corrected various problems in the exception handling
9766 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
9767 (with assistance from Takayoshi Kochi.)
9769 Modified the Linux source converter to ignore quoted string literals
9771 converting identifiers from mixed to lower case. This will correct
9773 with the disassembler and other areas where such strings must not be
9776 The ACPI_FUNCTION_* macros no longer require quotes around the function
9777 name. This allows the Linux source converter to convert the names, now
9779 the converter ignores quoted strings.
9781 Example Code and Data Size: These are the sizes for the OS-independent
9782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9783 debug version of the code includes the debug output trace mechanism and
9785 a much larger code and data size.
9789 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9790 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9792 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
9793 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
9796 2) iASL Compiler/Disassembler and Tools:
9798 Implemented 3 new warnings for iASL, and implemented multiple warning
9802 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
9804 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
9805 check for the possible timeout, a warning is issued.
9807 2) Useless operators: If an ASL operator does not specify an optional
9809 operand and it also does not use the function return value from the
9810 operator, a warning is issued since the operator effectively does
9813 3) Unreferenced objects: If a namespace object is created, but never
9814 referenced, a warning is issued. This is a warning level 2 since there
9816 cases where this is ok, such as when a secondary table is loaded that
9818 the unreferenced objects. Even so, care is taken to only flag objects
9820 don't look like they will ever be used. For example, the reserved methods
9821 (starting with an underscore) are usually not referenced because it is
9822 expected that the OS will invoke them.
9824 ----------------------------------------
9825 31 March 2006. Summary of changes for version 20060331:
9827 1) ACPI CA Core Subsystem:
9829 Implemented header file support for the following additional ACPI tables:
9830 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
9832 all current and known ACPI tables are now defined in the ACPICA headers
9834 are available for use by device drivers and other software.
9836 Implemented support to allow tables that contain ACPI names with invalid
9837 characters to be loaded. Previously, this would cause the table load to
9838 fail, but since there are several known cases of such tables on existing
9839 machines, this change was made to enable ACPI support for them. Also,
9841 matches the behavior of the Microsoft ACPI implementation.
9843 Fixed a couple regressions introduced during the memory optimization in
9845 20060317 release. The namespace node definition required additional
9846 reorganization and an internal datatype that had been changed to 8-bit
9848 restored to 32-bit. (Valery Podrezov)
9850 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
9851 could be passed through to AcpiOsReleaseObject which is unexpected. Such
9852 null pointers are now trapped and ignored, matching the behavior of the
9853 previous implementation before the deployment of AcpiOsReleaseObject.
9854 (Valery Podrezov, Fiodor Suietov)
9856 Fixed a memory mapping leak during the deletion of a SystemMemory
9858 region where a cached memory mapping was not deleted. This became a
9859 noticeable problem for operation regions that are defined within
9861 used control methods. (Dana Meyers)
9863 Reorganized the ACPI table header files into two main files: one for the
9864 ACPI tables consumed by the ACPICA core, and another for the
9866 ACPI tables that are consumed by the drivers and other software. The
9868 FADT definitions were merged into one common section and three different
9869 tables (ACPI 1.0, 1.0+, and 2.0)
9871 Example Code and Data Size: These are the sizes for the OS-independent
9872 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9873 debug version of the code includes the debug output trace mechanism and
9875 a much larger code and data size.
9878 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9879 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9881 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9882 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9885 2) iASL Compiler/Disassembler and Tools:
9887 Disassembler: Implemented support to decode and format all non-AML ACPI
9888 tables (tables other than DSDTs and SSDTs.) This includes the new tables
9889 added to the ACPICA headers, therefore all current and known ACPI tables
9893 Disassembler: The change to allow ACPI names with invalid characters also
9894 enables the disassembly of such tables. Invalid characters within names
9896 changed to '*' to make the name printable; the iASL compiler will still
9897 generate an error for such names, however, since this is an invalid ACPI
9900 Implemented an option for AcpiXtract (-a) to extract all tables found in
9902 input file. The default invocation extracts only the DSDTs and SSDTs.
9904 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
9905 makefile for the AcpiXtract utility.
9907 ----------------------------------------
9908 17 March 2006. Summary of changes for version 20060317:
9910 1) ACPI CA Core Subsystem:
9912 Implemented the use of a cache object for all internal namespace nodes.
9913 Since there are about 1000 static nodes in a typical system, this will
9914 decrease memory use for cache implementations that minimize per-
9916 overhead (such as a slab allocator.)
9918 Removed the reference count mechanism for internal namespace nodes, since
9920 was deemed unnecessary. This reduces the size of each namespace node by
9921 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
9923 and 32 bytes for the 64-bit case.
9925 Optimized several internal data structures to reduce object size on 64-
9927 platforms by packing data within the 64-bit alignment. This includes the
9928 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
9929 instances corresponding to the namespace objects.
9931 Added two new strings for the predefined _OSI method: "Windows 2001.1
9935 Split the allocation tracking mechanism out to a separate file, from
9936 utalloc.c to uttrack.c. This mechanism appears to be only useful for
9937 application-level code. Kernels may wish to not include uttrack.c in
9940 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
9942 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
9945 Code and Data Size: These are the sizes for the acpica.lib produced by
9947 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9949 driver or OSPM code. The debug version of the code includes the debug
9951 trace mechanism and has a much larger code and data size. Note that these
9952 values will vary depending on the efficiency of the compiler and the
9953 compiler options used during generation.
9956 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9957 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9959 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9960 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9963 2) iASL Compiler/Disassembler and Tools:
9965 Implemented an ANSI C version of the acpixtract utility. This version
9967 automatically extract the DSDT and all SSDTs from the input acpidump text
9968 file and dump the binary output to separate files. It can also display a
9969 summary of the input file including the headers for each table found and
9970 will extract any single ACPI table, with any signature. (See
9971 source/tools/acpixtract)
9973 ----------------------------------------
9974 10 March 2006. Summary of changes for version 20060310:
9976 1) ACPI CA Core Subsystem:
9978 Tagged all external interfaces to the subsystem with the new
9979 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
9981 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
9982 macro. The default definition is NULL.
9984 Added the ACPI_THREAD_ID type for the return value from
9986 This allows the host to define this as necessary to simplify kernel
9987 integration. The default definition is ACPI_NATIVE_UINT.
9989 Fixed two interpreter problems related to error processing, the deletion
9991 objects, and placing invalid pointers onto the internal operator result
9992 stack. BZ 6028, 6151 (Valery Podrezov)
9994 Increased the reference count threshold where a warning is emitted for
9996 reference counts in order to eliminate unnecessary warnings on systems
9998 large namespaces (especially 64-bit.) Increased the value from 0x400 to
10001 Due to universal disagreement as to the meaning of the 'c' in the
10003 function, the ACPI_MEM_CALLOCATE macro has been renamed to
10004 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
10005 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
10008 Code and Data Size: These are the sizes for the acpica.lib produced by
10010 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10012 driver or OSPM code. The debug version of the code includes the debug
10014 trace mechanism and has a much larger code and data size. Note that these
10015 values will vary depending on the efficiency of the compiler and the
10016 compiler options used during generation.
10019 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
10020 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
10022 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
10023 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
10026 2) iASL Compiler/Disassembler:
10028 Disassembler: implemented support for symbolic resource descriptor
10029 references. If a CreateXxxxField operator references a fixed offset
10032 resource descriptor, a name is assigned to the descriptor and the offset
10034 translated to the appropriate resource tag and pathname. The addition of
10035 this support brings the disassembled code very close to the original ASL
10036 source code and helps eliminate run-time errors when the disassembled
10038 is modified (and recompiled) in such a way as to invalidate the original
10041 Implemented support for a Descriptor Name as the last parameter to the
10043 Register() macro. This parameter was inadvertently left out of the ACPI
10044 specification, and will be added for ACPI 3.0b.
10046 Fixed a problem where the use of the "_OSI" string (versus the full path
10047 "\_OSI") caused an internal compiler error. ("No back ptr to op")
10049 Fixed a problem with the error message that occurs when an invalid string
10051 used for a _HID object (such as one with an embedded asterisk:
10053 The correct message is now displayed.
10055 ----------------------------------------
10056 17 February 2006. Summary of changes for version 20060217:
10058 1) ACPI CA Core Subsystem:
10060 Implemented a change to the IndexField support to match the behavior of
10062 Microsoft AML interpreter. The value written to the Index register is now
10064 byte offset, no longer an index based upon the width of the Data
10066 This should fix IndexField problems seen on some machines where the Data
10067 register is not exactly one byte wide. The ACPI specification will be
10068 clarified on this point.
10070 Fixed a problem where several resource descriptor types could overrun the
10071 internal descriptor buffer due to size miscalculation: VendorShort,
10072 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
10073 affect all platforms.
10075 Fixed a problem where individual resource descriptors were misaligned
10077 the internal buffer, causing alignment faults on IA64 platforms.
10079 Code and Data Size: These are the sizes for the acpica.lib produced by
10081 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
10083 driver or OSPM code. The debug version of the code includes the debug
10085 trace mechanism and has a much larger code and data size. Note that these
10086 values will vary depending on the efficiency of the compiler and the
10087 compiler options used during generation.
10090 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
10091 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
10093 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
10094 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
10097 2) iASL Compiler/Disassembler:
10099 Implemented support for new reserved names: _WDG and _WED are Microsoft
10100 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
10101 defined method (Throttling Depth Limit.)
10103 Fixed a problem where a zero-length VendorShort or VendorLong resource
10104 descriptor was incorrectly emitted as a descriptor of length one.
10106 ----------------------------------------
10107 10 February 2006. Summary of changes for version 20060210:
10109 1) ACPI CA Core Subsystem:
10111 Removed a couple of extraneous ACPI_ERROR messages that appeared during
10112 normal execution. These became apparent after the conversion from
10115 Fixed a problem where the CreateField operator could hang if the BitIndex
10117 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
10119 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
10120 failed with an exception. This also fixes a couple of related RefOf and
10121 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
10123 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
10125 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
10129 Implemented a memory cleanup at the end of the execution of each
10131 of an AML While() loop, preventing the accumulation of outstanding
10133 (Valery Podrezov, BZ 5427)
10135 Eliminated a chunk of duplicate code in the object resolution code.
10139 Fixed several warnings during the 64-bit code generation.
10141 The AcpiSrc source code conversion tool now inserts one line of
10143 after an if() statement that is followed immediately by a comment,
10145 readability of the Linux code.
10147 Code and Data Size: The current and previous library sizes for the core
10148 subsystem are shown below. These are the code and data sizes for the
10149 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10151 values do not include any ACPI driver or OSPM code. The debug version of
10153 code includes the debug output trace mechanism and has a much larger code
10154 and data size. Note that these values will vary depending on the
10156 of the compiler and the compiler options used during generation.
10159 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
10160 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
10162 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
10163 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
10166 2) iASL Compiler/Disassembler:
10168 Fixed a problem with the disassembly of a BankField operator with a
10170 expression for the BankValue parameter.
10172 ----------------------------------------
10173 27 January 2006. Summary of changes for version 20060127:
10175 1) ACPI CA Core Subsystem:
10177 Implemented support in the Resource Manager to allow unresolved
10179 references within resource package objects for the _PRT method. This
10181 is in addition to the previously implemented unresolved reference support
10182 within the AML parser. If the interpreter slack mode is enabled, these
10183 unresolved references will be passed through to the caller as a NULL
10187 Implemented and deployed new macros and functions for error and warning
10188 messages across the subsystem. These macros are simpler and generate less
10189 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
10190 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
10191 macros remain defined to allow ACPI drivers time to migrate to the new
10194 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
10196 Acquire/Release Lock OSL interfaces.
10198 Fixed a problem where Alias ASL operators are sometimes not correctly
10199 resolved, in both the interpreter and the iASL compiler.
10201 Fixed several problems with the implementation of the
10202 ConcatenateResTemplate
10203 ASL operator. As per the ACPI specification, zero length buffers are now
10204 treated as a single EndTag. One-length buffers always cause a fatal
10205 exception. Non-zero length buffers that do not end with a full 2-byte
10207 cause a fatal exception.
10209 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
10210 interface. (With assistance from Thomas Renninger)
10212 Code and Data Size: The current and previous library sizes for the core
10213 subsystem are shown below. These are the code and data sizes for the
10214 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10216 values do not include any ACPI driver or OSPM code. The debug version of
10218 code includes the debug output trace mechanism and has a much larger code
10219 and data size. Note that these values will vary depending on the
10221 of the compiler and the compiler options used during generation.
10224 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
10225 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
10227 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
10228 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
10231 2) iASL Compiler/Disassembler:
10233 Fixed an internal error that was generated for any forward references to
10237 ----------------------------------------
10238 13 January 2006. Summary of changes for version 20060113:
10240 1) ACPI CA Core Subsystem:
10242 Added 2006 copyright to all module headers and signons. This affects
10243 virtually every file in the ACPICA core subsystem, iASL compiler, and the
10246 Enhanced the ACPICA error reporting in order to simplify user migration
10248 the non-debug version of ACPICA. Replaced all instances of the
10249 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
10251 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
10252 respectively. This preserves all error and warning messages in the non-
10254 version of the ACPICA code (this has been referred to as the "debug lite"
10255 option.) Over 200 cases were converted to create a total of over 380
10256 error/warning messages across the ACPICA code. This increases the code
10258 data size of the default non-debug version of the code somewhat (about
10260 but all error/warning reporting may be disabled if desired (and code
10261 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
10262 configuration option. The size of the debug version of ACPICA remains
10266 Fixed a memory leak within the AML Debugger "Set" command. One object was
10267 not properly deleted for every successful invocation of the command.
10269 Code and Data Size: The current and previous library sizes for the core
10270 subsystem are shown below. These are the code and data sizes for the
10271 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10273 values do not include any ACPI driver or OSPM code. The debug version of
10275 code includes the debug output trace mechanism and has a much larger code
10276 and data size. Note that these values will vary depending on the
10278 of the compiler and the compiler options used during generation.
10281 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
10282 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
10284 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
10285 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
10288 2) iASL Compiler/Disassembler:
10290 The compiler now officially supports the ACPI 3.0a specification that was
10291 released on December 30, 2005. (Specification is available at
10294 ----------------------------------------
10295 16 December 2005. Summary of changes for version 20051216:
10297 1) ACPI CA Core Subsystem:
10299 Implemented optional support to allow unresolved names within ASL Package
10300 objects. A null object is inserted in the package when a named reference
10301 cannot be located in the current namespace. Enabled via the interpreter
10302 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
10304 that contain such code.
10306 Implemented an optimization to the initialization sequence that can
10308 boot time. During ACPI device initialization, the _STA method is now run
10310 and only if the _INI method exists. The _STA method is used to determine
10312 the device is present; An _INI can only be run if _STA returns present,
10314 it is a waste of time to run the _STA method if the _INI does not exist.
10315 (Prototype and assistance from Dong Wei)
10317 Implemented use of the C99 uintptr_t for the pointer casting macros if it
10319 available in the current compiler. Otherwise, the default (void *) cast
10323 Fixed some possible memory leaks found within the execution path of the
10324 Break, Continue, If, and CreateField operators. (Valery Podrezov)
10326 Fixed a problem introduced in the 20051202 release where an exception is
10327 generated during method execution if a control method attempts to declare
10330 Moved resource descriptor string constants that are used by both the AML
10331 disassembler and AML debugger to the common utilities directory so that
10332 these components are independent.
10334 Implemented support in the AcpiExec utility (-e switch) to globally
10336 exceptions during control method execution (method is not aborted.)
10338 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
10341 Code and Data Size: The current and previous library sizes for the core
10342 subsystem are shown below. These are the code and data sizes for the
10343 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10345 values do not include any ACPI driver or OSPM code. The debug version of
10347 code includes the debug output trace mechanism and has a much larger code
10348 and data size. Note that these values will vary depending on the
10350 of the compiler and the compiler options used during generation.
10353 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10354 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
10356 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
10357 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
10360 2) iASL Compiler/Disassembler:
10362 Fixed a problem where a CPU stack overflow fault could occur if a
10364 method call was made from within a Return statement.
10366 ----------------------------------------
10367 02 December 2005. Summary of changes for version 20051202:
10369 1) ACPI CA Core Subsystem:
10371 Modified the parsing of control methods to no longer create namespace
10372 objects during the first pass of the parse. Objects are now created only
10373 during the execute phase, at the moment the namespace creation operator
10375 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
10377 should eliminate ALREADY_EXISTS exceptions seen on some machines where
10378 reentrant control methods are protected by an AML mutex. The mutex will
10380 correctly block multiple threads from attempting to create the same
10384 Increased the number of available Owner Ids for namespace object tracking
10385 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
10387 some machines with a large number of ACPI tables (either static or
10390 Fixed a problem with the AcpiExec utility where a fault could occur when
10392 -b switch (batch mode) is used.
10394 Enhanced the namespace dump routine to output the owner ID for each
10397 Code and Data Size: The current and previous library sizes for the core
10398 subsystem are shown below. These are the code and data sizes for the
10399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10401 values do not include any ACPI driver or OSPM code. The debug version of
10403 code includes the debug output trace mechanism and has a much larger code
10404 and data size. Note that these values will vary depending on the
10406 of the compiler and the compiler options used during generation.
10409 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10410 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10412 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10413 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
10416 2) iASL Compiler/Disassembler:
10418 Fixed a parse error during compilation of certain Switch/Case constructs.
10420 simplify the parse, the grammar now allows for multiple Default
10422 and this error is now detected and flagged during the analysis phase.
10424 Disassembler: The disassembly now includes the contents of the original
10425 table header within a comment at the start of the file. This includes the
10426 name and version of the original ASL compiler.
10428 ----------------------------------------
10429 17 November 2005. Summary of changes for version 20051117:
10431 1) ACPI CA Core Subsystem:
10433 Fixed a problem in the AML parser where the method thread count could be
10434 decremented below zero if any errors occurred during the method parse
10436 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
10438 This also fixed a related regression with the mechanism that detects and
10439 corrects methods that cannot properly handle reentrancy (related to the
10440 deployment of the new OwnerId mechanism.)
10442 Eliminated the pre-parsing of control methods (to detect errors) during
10443 table load. Related to the problem above, this was causing unwind issues
10445 any errors occurred during the parse, and it seemed to be overkill. A
10447 load should not be aborted if there are problems with any single control
10448 method, thus rendering this feature rather pointless.
10450 Fixed a problem with the new table-driven resource manager where an
10452 buffer overflow could occur for small resource templates.
10454 Implemented a new external interface, AcpiGetVendorResource. This
10456 will find and return a vendor-defined resource descriptor within a _CRS
10458 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
10461 Removed the length limit (200) on string objects as per the upcoming ACPI
10462 3.0A specification. This affects the following areas of the interpreter:
10464 any implicit conversion of a Buffer to a String, 2) a String object
10466 of the ASL Concatentate operator, 3) the String object result of the ASL
10469 Fixed a problem in the Windows OS interface layer (OSL) where a
10471 on a semaphore object would incorrectly timeout. This allows the
10472 multithreading features of the AcpiExec utility to work properly under
10475 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
10476 the recently added file named "utresrc.c".
10478 Code and Data Size: The current and previous library sizes for the core
10479 subsystem are shown below. These are the code and data sizes for the
10480 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10482 values do not include any ACPI driver or OSPM code. The debug version of
10484 code includes the debug output trace mechanism and has a much larger code
10485 and data size. Note that these values will vary depending on the
10487 of the compiler and the compiler options used during generation.
10490 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
10491 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10493 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10494 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10497 2) iASL Compiler/Disassembler:
10499 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
10500 specification. For the iASL compiler, this means that string literals
10502 the source ASL can be of any length.
10504 Enhanced the listing output to dump the AML code for resource descriptors
10505 immediately after the ASL code for each descriptor, instead of in a block
10507 the end of the entire resource template.
10509 Enhanced the compiler debug output to dump the entire original parse tree
10510 constructed during the parse phase, before any transforms are applied to
10512 tree. The transformed tree is dumped also.
10514 ----------------------------------------
10515 02 November 2005. Summary of changes for version 20051102:
10517 1) ACPI CA Core Subsystem:
10519 Modified the subsystem initialization sequence to improve GPE support.
10521 GPE initialization has been split into two parts in order to defer
10523 of the _PRW methods (Power Resources for Wake) until after the hardware
10525 fully initialized and the SCI handler is installed. This allows the _PRW
10526 methods to access fields protected by the Global Lock. This will fix
10528 where a NO_GLOBAL_LOCK exception has been seen during initialization.
10530 Converted the ACPI internal object disassemble and display code within
10532 AML debugger to fully table-driven operation, reducing code size and
10533 increasing maintainability.
10535 Fixed a regression with the ConcatenateResTemplate() ASL operator
10537 in the 20051021 release.
10539 Implemented support for "local" internal ACPI object types within the
10540 debugger "Object" command and the AcpiWalkNamespace external interfaces.
10541 These local types include RegionFields, BankFields, IndexFields, Alias,
10545 Moved common AML resource handling code into a new file, "utresrc.c".
10547 code is shared by both the Resource Manager and the AML Debugger.
10549 Code and Data Size: The current and previous library sizes for the core
10550 subsystem are shown below. These are the code and data sizes for the
10551 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10553 values do not include any ACPI driver or OSPM code. The debug version of
10555 code includes the debug output trace mechanism and has a much larger code
10556 and data size. Note that these values will vary depending on the
10558 of the compiler and the compiler options used during generation.
10561 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
10562 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
10564 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
10565 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10568 2) iASL Compiler/Disassembler:
10570 Fixed a problem with very large initializer lists (more than 4000
10572 for both Buffer and Package objects where the parse stack could overflow.
10574 Enhanced the pre-compile source code scan for non-ASCII characters to
10576 characters within comment fields. The scan is now always performed and is
10578 longer optional, detecting invalid characters within a source file
10579 immediately rather than during the parse phase or later.
10581 Enhanced the ASL grammar definition to force early reductions on all
10583 style grammar elements so that the overall parse stack usage is greatly
10584 reduced. This should improve performance and reduce the possibility of
10588 Eliminated all reduce/reduce conflicts in the iASL parser generation.
10590 with the addition of a %expected statement, the compiler generates from
10591 source with no warnings.
10593 Fixed a possible segment fault in the disassembler if the input filename
10594 does not contain a "dot" extension (Thomas Renninger).
10596 ----------------------------------------
10597 21 October 2005. Summary of changes for version 20051021:
10599 1) ACPI CA Core Subsystem:
10601 Implemented support for the EM64T and other x86-64 processors. This
10602 essentially entails recognizing that these processors support non-aligned
10603 memory transfers. Previously, all 64-bit processors were assumed to lack
10604 hardware support for non-aligned transfers.
10606 Completed conversion of the Resource Manager to nearly full table-driven
10607 operation. Specifically, the resource conversion code (convert AML to
10608 internal format and the reverse) and the debug code to dump internal
10609 resource descriptors are fully table-driven, reducing code and data size
10611 improving maintainability.
10613 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
10615 on 64-bit processors instead of a fixed 32-bit word. (With assistance
10617 Alexey Starikovskiy)
10619 Implemented support within the resource conversion code for the Type-
10620 Specific byte within the various ACPI 3.0 *WordSpace macros.
10622 Fixed some issues within the resource conversion code for the type-
10624 flags for both Memory and I/O address resource descriptors. For Memory,
10625 implemented support for the MTP and TTP flags. For I/O, split the TRS and
10626 TTP flags into two separate fields.
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: 77.1K Code, 12.1K Data, 89.2K Total
10641 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
10643 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
10644 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
10648 2) iASL Compiler/Disassembler:
10650 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
10652 corresponding ResourceSource string was not also present in a resource
10653 descriptor declaration. This restriction caused problems with existing
10654 AML/ASL code that includes the Index byte without the string. When such
10656 was disassembled, it could not be compiled without modification. Further,
10657 the modified code created a resource template with a different size than
10659 original, breaking code that used fixed offsets into the resource
10663 Removed a recent feature of the disassembler to ignore a lone
10665 byte. This byte is now emitted if present so that the exact AML can be
10666 reproduced when the disassembled code is recompiled.
10668 Improved comments and text alignment for the resource descriptor code
10669 emitted by the disassembler.
10671 Implemented disassembler support for the ACPI 3.0 AccessSize field within
10673 Register() resource descriptor.
10675 ----------------------------------------
10676 30 September 2005. Summary of changes for version 20050930:
10678 1) ACPI CA Core Subsystem:
10680 Completed a major overhaul of the Resource Manager code - specifically,
10681 optimizations in the area of the AML/internal resource conversion code.
10683 code has been optimized to simplify and eliminate duplicated code, CPU
10685 use has been decreased by optimizing function parameters and local
10686 variables, and naming conventions across the manager have been
10688 for clarity and ease of maintenance (this includes function, parameter,
10689 variable, and struct/typedef names.) The update may force changes in some
10690 driver code, depending on how resources are handled by the host OS.
10692 All Resource Manager dispatch and information tables have been moved to a
10693 single location for clarity and ease of maintenance. One new file was
10694 created, named "rsinfo.c".
10696 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
10697 guarantee that the argument is not evaluated twice, making them less
10699 to macro side-effects. However, since there exists the possibility of
10700 additional stack use if a particular compiler cannot optimize them (such
10702 in the debug generation case), the original macros are optionally
10704 Note that some invocations of the return_VALUE macro may now cause size
10705 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
10707 eliminate these. (From Randy Dunlap)
10709 Implemented a new mechanism to enable debug tracing for individual
10711 methods. A new external interface, AcpiDebugTrace, is provided to enable
10712 this mechanism. The intent is to allow the host OS to easily enable and
10713 disable tracing for problematic control methods. This interface can be
10714 easily exposed to a user or debugger interface if desired. See the file
10715 psxface.c for details.
10717 AcpiUtCallocate will now return a valid pointer if a length of zero is
10718 specified - a length of one is used and a warning is issued. This matches
10719 the behavior of AcpiUtAllocate.
10721 Code and Data Size: The current and previous library sizes for the core
10722 subsystem are shown below. These are the code and data sizes for the
10723 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10725 values do not include any ACPI driver or OSPM code. The debug version of
10727 code includes the debug output trace mechanism and has a much larger code
10728 and data size. Note that these values will vary depending on the
10730 of the compiler and the compiler options used during generation.
10733 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
10734 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
10736 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
10737 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
10740 2) iASL Compiler/Disassembler:
10742 A remark is issued if the effective compile-time length of a package or
10743 buffer is zero. Previously, this was a warning.
10745 ----------------------------------------
10746 16 September 2005. Summary of changes for version 20050916:
10748 1) ACPI CA Core Subsystem:
10750 Fixed a problem within the Resource Manager where support for the Generic
10751 Register descriptor was not fully implemented. This descriptor is now
10753 recognized, parsed, disassembled, and displayed.
10755 Completely restructured the Resource Manager code to utilize table-driven
10756 dispatch and lookup, eliminating many of the large switch() statements.
10758 reduces overall subsystem code size and code complexity. Affects the
10759 resource parsing and construction, disassembly, and debug dump output.
10761 Cleaned up and restructured the debug dump output for all resource
10762 descriptors. Improved readability of the output and reduced code size.
10764 Fixed a problem where changes to internal data structures caused the
10765 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10767 Code and Data Size: The current and previous library sizes for the core
10768 subsystem are shown below. These are the code and data sizes for the
10769 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10771 values do not include any ACPI driver or OSPM code. The debug version of
10773 code includes the debug output trace mechanism and has a much larger code
10774 and data size. Note that these values will vary depending on the
10776 of the compiler and the compiler options used during generation.
10779 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10780 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10782 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
10783 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
10786 2) iASL Compiler/Disassembler:
10788 Updated the disassembler to automatically insert an EndDependentFn()
10790 into the ASL stream if this macro is missing in the original AML code,
10791 simplifying compilation of the resulting ASL module.
10793 Fixed a problem in the disassembler where a disassembled ResourceSource
10794 string (within a large resource descriptor) was not surrounded by quotes
10796 not followed by a comma, causing errors when the resulting ASL module was
10797 compiled. Also, escape sequences within a ResourceSource string are now
10798 handled correctly (especially "\\")
10800 ----------------------------------------
10801 02 September 2005. Summary of changes for version 20050902:
10803 1) ACPI CA Core Subsystem:
10805 Fixed a problem with the internal Owner ID allocation and deallocation
10806 mechanisms for control method execution and recursive method invocation.
10807 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
10808 messages seen on some systems. Recursive method invocation depth is
10809 currently limited to 255. (Alexey Starikovskiy)
10811 Completely eliminated all vestiges of support for the "module-level
10812 executable code" until this support is fully implemented and debugged.
10814 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
10815 some systems that invoke this support.
10817 Fixed a problem within the resource manager code where the transaction
10819 for a 64-bit address descriptor were handled incorrectly in the type-
10820 specific flag byte.
10822 Consolidated duplicate code within the address descriptor resource
10824 code, reducing overall subsystem code size.
10826 Fixed a fault when using the AML debugger "disassemble" command to
10827 disassemble individual control methods.
10829 Removed references to the "release_current" directory within the Unix
10832 Code and Data Size: The current and previous core subsystem library sizes
10833 are shown below. These are the code and data sizes for the acpica.lib
10834 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
10835 include any ACPI driver or OSPM code. The debug version of the code
10837 the debug output trace mechanism and has a much larger code and data
10839 Note that these values will vary depending on the efficiency of the
10841 and the compiler options used during generation.
10844 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10845 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10847 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10848 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10851 2) iASL Compiler/Disassembler:
10853 Implemented an error check for illegal duplicate values in the interrupt
10855 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
10858 Implemented error checking for the Irq() and IrqNoFlags() macros to
10860 too many values in the interrupt list (16 max) and invalid values in the
10861 list (range 0 - 15)
10863 The maximum length string literal within an ASL file is now restricted to
10864 200 characters as per the ACPI specification.
10866 Fixed a fault when using the -ln option (generate namespace listing).
10868 Implemented an error check to determine if a DescriptorName within a
10869 resource descriptor has already been used within the current scope.
10871 ----------------------------------------
10872 15 August 2005. Summary of changes for version 20050815:
10874 1) ACPI CA Core Subsystem:
10876 Implemented a full bytewise compare to determine if a table load request
10878 attempting to load a duplicate table. The compare is performed if the
10880 signatures and table lengths match. This will allow different tables with
10881 the same OEM Table ID and revision to be loaded - probably against the
10883 specification, but discovered in the field nonetheless.
10885 Added the changes.txt logfile to each of the zipped release packages.
10887 Code and Data Size: Current and previous core subsystem library sizes are
10888 shown below. These are the code and data sizes for the acpica.lib
10890 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10891 any ACPI driver or OSPM code. The debug version of the code includes the
10892 debug output trace mechanism and has a much larger code and data size.
10894 that these values will vary depending on the efficiency of the compiler
10896 the compiler options used during generation.
10899 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10900 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10902 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10903 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10906 2) iASL Compiler/Disassembler:
10908 Fixed a problem where incorrect AML code could be generated for Package
10909 objects if optimization is disabled (via the -oa switch).
10911 Fixed a problem with where incorrect AML code is generated for variable-
10912 length packages when the package length is not specified and the number
10914 initializer values is greater than 255.
10917 ----------------------------------------
10918 29 July 2005. Summary of changes for version 20050729:
10920 1) ACPI CA Core Subsystem:
10922 Implemented support to ignore an attempt to install/load a particular
10924 table more than once. Apparently there exists BIOS code that repeatedly
10925 attempts to load the same SSDT upon certain events. With assistance from
10926 Venkatesh Pallipadi.
10928 Restructured the main interface to the AML parser in order to correctly
10929 handle all exceptional conditions. This will prevent leakage of the
10931 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
10933 machines. With assistance from Alexey Starikovskiy.
10935 Support for "module level code" has been disabled in this version due to
10937 number of issues that have appeared on various machines. The support can
10939 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
10940 compilation. When the issues are fully resolved, the code will be enabled
10944 Modified the internal functions for debug print support to define the
10945 FunctionName parameter as a (const char *) for compatibility with
10947 built-in macros such as __FUNCTION__, etc.
10949 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
10951 Implemented support to display an object count summary for the AML
10953 commands Object and Methods.
10955 Code and Data Size: Current and previous core subsystem library sizes are
10956 shown below. These are the code and data sizes for the acpica.lib
10958 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10959 any ACPI driver or OSPM code. The debug version of the code includes the
10960 debug output trace mechanism and has a much larger code and data size.
10962 that these values will vary depending on the efficiency of the compiler
10964 the compiler options used during generation.
10967 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10968 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10970 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10971 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10974 2) iASL Compiler/Disassembler:
10976 Fixed a regression that appeared in the 20050708 version of the compiler
10977 where an error message was inadvertently emitted for invocations of the
10979 reserved control method.
10981 ----------------------------------------
10982 08 July 2005. Summary of changes for version 20050708:
10984 1) ACPI CA Core Subsystem:
10986 The use of the CPU stack in the debug version of the subsystem has been
10987 considerably reduced. Previously, a debug structure was declared in every
10988 function that used the debug macros. This structure has been removed in
10989 favor of declaring the individual elements as parameters to the debug
10990 functions. This reduces the cumulative stack use during nested execution
10992 ACPI function calls at the cost of a small increase in the code size of
10994 debug version of the subsystem. With assistance from Alexey Starikovskiy
10998 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
10999 headers to define a macro that will return the current function name at
11000 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
11002 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
11003 compiler-dependent header, the function name is saved on the CPU stack
11005 pointer per function.) This mechanism is used because apparently there
11006 exists no standard ANSI-C defined macro that that returns the function
11009 Redesigned and reimplemented the "Owner ID" mechanism used to track
11010 namespace objects created/deleted by ACPI tables and control method
11011 execution. A bitmap is now used to allocate and free the IDs, thus
11013 the wraparound problem present in the previous implementation. The size
11015 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
11018 Removed the UINT32_BIT and UINT16_BIT types that were used for the
11020 flag definitions within the headers for the predefined ACPI tables. These
11021 have been replaced by UINT8_BIT in order to increase the code portability
11023 the subsystem. If the use of UINT8 remains a problem, we may be forced to
11024 eliminate bitfields entirely because of a lack of portability.
11026 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
11028 is a frequently used function and this improvement increases the
11030 of the entire subsystem (Alexey Starikovskiy).
11032 Fixed several possible memory leaks and the inverse - premature object
11033 deletion (Alexey Starikovskiy).
11035 Code and Data Size: Current and previous core subsystem library sizes are
11036 shown below. These are the code and data sizes for the acpica.lib
11038 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11039 any ACPI driver or OSPM code. The debug version of the code includes the
11040 debug output trace mechanism and has a much larger code and data size.
11042 that these values will vary depending on the efficiency of the compiler
11044 the compiler options used during generation.
11047 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
11048 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
11050 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
11051 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
11053 ----------------------------------------
11054 24 June 2005. Summary of changes for version 20050624:
11056 1) ACPI CA Core Subsystem:
11058 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
11059 the host-defined cache object. This allows the OSL implementation to
11061 and type this object in any manner desired, simplifying the OSL
11062 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
11063 Linux, and should be defined in the OS-specific header file for other
11064 operating systems as required.
11066 Changed the interface to AcpiOsAcquireObject to directly return the
11067 requested object as the function return (instead of ACPI_STATUS.) This
11068 change was made for performance reasons, since this is the purpose of the
11069 interface in the first place. AcpiOsAcquireObject is now similar to the
11070 AcpiOsAllocate interface.
11072 Implemented a new AML debugger command named Businfo. This command
11074 information about all devices that have an associate _PRT object. The
11076 _HID, _UID, and _CID are displayed for these devices.
11078 Modified the initialization sequence in AcpiInitializeSubsystem to call
11080 OSL interface AcpiOslInitialize first, before any local initialization.
11082 change was required because the global initialization now calls OSL
11085 Enhanced the Dump command to display the entire contents of Package
11087 (including all sub-objects and their values.)
11089 Restructured the code base to split some files because of size and/or
11090 because the code logically belonged in a separate file. New files are
11092 below. All makefiles and project files included in the ACPI CA release
11095 utilities/utcache.c /* Local cache interfaces */
11096 utilities/utmutex.c /* Local mutex support */
11097 utilities/utstate.c /* State object support */
11098 interpreter/parser/psloop.c /* Main AML parse loop */
11100 Code and Data Size: Current and previous core subsystem library sizes are
11101 shown below. These are the code and data sizes for the acpica.lib
11103 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11104 any ACPI driver or OSPM code. The debug version of the code includes the
11105 debug output trace mechanism and has a much larger code and data size.
11107 that these values will vary depending on the efficiency of the compiler
11109 the compiler options used during generation.
11112 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
11113 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
11115 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
11116 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
11119 2) iASL Compiler/Disassembler:
11121 Fixed a regression introduced in version 20050513 where the use of a
11123 object within a Case() statement caused a compile time exception. The
11124 original behavior has been restored (a Match() operator is emitted.)
11126 ----------------------------------------
11127 17 June 2005. Summary of changes for version 20050617:
11129 1) ACPI CA Core Subsystem:
11131 Moved the object cache operations into the OS interface layer (OSL) to
11133 the host OS to handle these operations if desired (for example, the Linux
11134 OSL will invoke the slab allocator). This support is optional; the
11136 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
11138 code in the ACPI CA core. The new OSL interfaces are shown below. See
11139 utalloc.c for an example implementation, and acpiosxf.h for the exact
11140 interface definitions. With assistance from Alexey Starikovskiy.
11144 AcpiOsAcquireObject
11145 AcpiOsReleaseObject
11147 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
11149 and restore a flags parameter. This fits better with many OS lock models.
11150 Note: the current execution state (interrupt handler or not) is no longer
11151 passed to these interfaces. If necessary, the OSL must determine this
11153 by itself, a simple and fast operation. With assistance from Alexey
11156 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
11157 present if the revision of the RSDP was 2 or greater. According to the
11159 specification, the XSDT is optional in all cases, and the table manager
11160 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
11161 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
11165 Fixed an interpreter problem with the Mid() operator in the case of an
11167 string where the resulting output string is of zero length. It now
11169 returns a valid, null terminated string object instead of a string object
11170 with a null pointer.
11172 Fixed a problem with the control method argument handling to allow a
11174 to an Arg object that already contains an object of type Device. The
11176 object is now correctly overwritten. Previously, an error was returned.
11179 Enhanced the debugger Find command to emit object values in addition to
11181 found object pathnames. The output format is the same as the dump
11185 Enhanced the debugger Set command. It now has the ability to set the
11187 of any Named integer object in the namespace (Previously, only method
11189 and args could be set.)
11191 Code and Data Size: Current and previous core subsystem library sizes are
11192 shown below. These are the code and data sizes for the acpica.lib
11194 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11195 any ACPI driver or OSPM code. The debug version of the code includes the
11196 debug output trace mechanism and has a much larger code and data size.
11198 that these values will vary depending on the efficiency of the compiler
11200 the compiler options used during generation.
11203 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
11204 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
11206 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
11207 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
11210 2) iASL Compiler/Disassembler:
11212 Fixed a regression in the disassembler where if/else/while constructs
11214 output incorrectly. This problem was introduced in the previous release
11215 (20050526). This problem also affected the single-step disassembly in the
11218 Fixed a problem where compiling the reserved _OSI method would randomly
11220 rarely) produce compile errors.
11222 Enhanced the disassembler to emit compilable code in the face of
11224 AML resource descriptors. If the optional ResourceSourceIndex is present,
11225 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
11226 disassembly. Otherwise, the resulting code cannot be compiled without
11229 ----------------------------------------
11230 26 May 2005. Summary of changes for version 20050526:
11232 1) ACPI CA Core Subsystem:
11234 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
11235 the module level (not within a control method.) These opcodes are
11237 exactly once at the time the table is loaded. This type of code was legal
11239 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
11241 order to provide backwards compatibility with earlier BIOS
11243 This eliminates the "Encountered executable code at module level" warning
11244 that was previously generated upon detection of such code.
11246 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
11247 inadvertently be generated during the lookup of namespace objects in the
11248 second pass parse of ACPI tables and control methods. It appears that
11250 problem could occur during the resolution of forward references to
11254 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
11255 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
11256 allows the deadlock detection debug code to be compiled out in the normal
11257 case, improving mutex performance (and overall subsystem performance)
11260 Implemented a handful of miscellaneous fixes for possible memory leaks on
11261 error conditions and error handling control paths. These fixes were
11262 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11264 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
11266 to prevent a fault in this error case.
11268 Code and Data Size: Current and previous core subsystem library sizes are
11269 shown below. These are the code and data sizes for the acpica.lib
11271 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11272 any ACPI driver or OSPM code. The debug version of the code includes the
11273 debug output trace mechanism and has a much larger code and data size.
11275 that these values will vary depending on the efficiency of the compiler
11277 the compiler options used during generation.
11280 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11281 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11283 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
11284 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
11287 2) iASL Compiler/Disassembler:
11289 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
11290 the module level (not within a control method.) These operators will be
11291 executed once at the time the table is loaded. This type of code was
11293 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
11294 compiler in order to provide backwards compatibility with earlier BIOS
11298 The ACPI integer width (specified via the table revision ID or the -r
11299 override, 32 or 64 bits) is now used internally during compile-time
11301 folding to ensure that constants are truncated to 32 bits if necessary.
11302 Previously, the revision ID value was only emitted in the AML table
11305 An error message is now generated for the Mutex and Method operators if
11307 SyncLevel parameter is outside the legal range of 0 through 15.
11309 Fixed a problem with the Method operator ParameterTypes list handling
11311 3.0). Previously, more than 2 types or 2 arguments generated a syntax
11313 The actual underlying implementation of method argument typechecking is
11314 still under development, however.
11316 ----------------------------------------
11317 13 May 2005. Summary of changes for version 20050513:
11319 1) ACPI CA Core Subsystem:
11321 Implemented support for PCI Express root bridges -- added support for
11323 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11325 The interpreter now automatically truncates incoming 64-bit constants to
11327 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
11329 also affects the iASL compiler constant folding. (Note: as per below, the
11330 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11332 Fixed a problem where string and buffer objects with "static" pointers
11333 (pointers to initialization data within an ACPI table) were not handled
11334 consistently. The internal object copy operation now always copies the
11336 to a newly allocated buffer, regardless of whether the source object is
11339 Fixed a problem with the FromBCD operator where an implicit result
11340 conversion was improperly performed while storing the result to the
11342 operand. Since this is an "explicit conversion" operator, the implicit
11343 conversion should never be performed on the output.
11345 Fixed a problem with the CopyObject operator where a copy to an existing
11346 named object did not always completely overwrite the existing object
11348 at name. Specifically, a buffer-to-buffer copy did not delete the
11352 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
11354 structs for consistency.
11356 Code and Data Size: Current and previous core subsystem library sizes are
11357 shown below. These are the code and data sizes for the acpica.lib
11359 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11360 any ACPI driver or OSPM code. The debug version of the code includes the
11361 debug output trace mechanism and has a much larger code and data size.
11363 that these values will vary depending on the efficiency of the compiler
11365 the compiler options used during generation.
11368 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11369 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11370 Current Release: (Same sizes)
11371 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11372 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11375 2) iASL Compiler/Disassembler:
11377 The compiler now emits a warning if an attempt is made to generate a 64-
11379 integer constant from within a 32-bit ACPI table (Revision < 2). The
11381 is truncated to 32 bits.
11383 Fixed a problem with large package objects: if the static length of the
11384 package is greater than 255, the "variable length package" opcode is
11385 emitted. Previously, this caused an error. This requires an update to the
11386 ACPI spec, since it currently (incorrectly) states that packages larger
11388 255 elements are not allowed.
11390 The disassembler now correctly handles variable length packages and
11392 larger than 255 elements.
11394 ----------------------------------------
11395 08 April 2005. Summary of changes for version 20050408:
11397 1) ACPI CA Core Subsystem:
11399 Fixed three cases in the interpreter where an "index" argument to an ASL
11400 function was still (internally) 32 bits instead of the required 64 bits.
11401 This was the Index argument to the Index, Mid, and Match operators.
11403 The "strupr" function is now permanently local (AcpiUtStrupr), since this
11405 not a POSIX-defined function and not present in most kernel-level C
11406 libraries. All references to the C library strupr function have been
11410 Completed the deployment of static functions/prototypes. All prototypes
11412 the static attribute have been moved from the headers to the owning C
11415 Implemented an extract option (-e) for the AcpiBin utility (AML binary
11416 utility). This option allows the utility to extract individual ACPI
11418 from the output of AcpiDmp. It provides the same functionality of the
11419 acpixtract.pl perl script without the worry of setting the correct perl
11420 options. AcpiBin runs on Windows and has not yet been generated/validated
11422 the Linux/Unix environment (but should be soon).
11424 Updated and fixed the table dump option for AcpiBin (-d). This option
11425 converts a single ACPI table to a hex/ascii file, similar to the output
11429 Code and Data Size: Current and previous core subsystem library sizes are
11430 shown below. These are the code and data sizes for the acpica.lib
11432 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11433 any ACPI driver or OSPM code. The debug version of the code includes the
11434 debug output trace mechanism and has a much larger code and data size.
11436 that these values will vary depending on the efficiency of the compiler
11438 the compiler options used during generation.
11441 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
11442 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
11444 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11445 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11448 2) iASL Compiler/Disassembler:
11450 Disassembler fix: Added a check to ensure that the table length found in
11452 ACPI table header within the input file is not longer than the actual
11454 file size. This indicates some kind of file or table corruption.
11456 ----------------------------------------
11457 29 March 2005. Summary of changes for version 20050329:
11459 1) ACPI CA Core Subsystem:
11461 An error is now generated if an attempt is made to create a Buffer Field
11463 length zero (A CreateField with a length operand of zero.)
11465 The interpreter now issues a warning whenever executable code at the
11467 level is detected during ACPI table load. This will give some idea of the
11468 prevalence of this type of code.
11470 Implemented support for references to named objects (other than control
11471 methods) within package objects.
11473 Enhanced package object output for the debug object. Package objects are
11475 completely dumped, showing all elements.
11477 Enhanced miscellaneous object output for the debug object. Any object can
11478 now be written to the debug object (for example, a device object can be
11479 written, and the type of the object will be displayed.)
11481 The "static" qualifier has been added to all local functions across both
11483 core subsystem and the iASL compiler.
11485 The number of "long" lines (> 80 chars) within the source has been
11486 significantly reduced, by about 1/3.
11488 Cleaned up all header files to ensure that all CA/iASL functions are
11489 prototyped (even static functions) and the formatting is consistent.
11491 Two new header files have been added, acopcode.h and acnames.h.
11493 Removed several obsolete functions that were no longer used.
11495 Code and Data Size: Current and previous core subsystem library sizes are
11496 shown below. These are the code and data sizes for the acpica.lib
11498 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11499 any ACPI driver or OSPM code. The debug version of the code includes the
11500 debug output trace mechanism and has a much larger code and data size.
11502 that these values will vary depending on the efficiency of the compiler
11504 the compiler options used during generation.
11507 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11508 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
11510 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
11511 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
11515 2) iASL Compiler/Disassembler:
11517 Fixed a problem with the resource descriptor generation/support. For the
11518 ResourceSourceIndex and the ResourceSource fields, both must be present,
11520 both must be not present - can't have one without the other.
11522 The compiler now returns non-zero from the main procedure if any errors
11524 occurred during the compilation.
11527 ----------------------------------------
11528 09 March 2005. Summary of changes for version 20050309:
11530 1) ACPI CA Core Subsystem:
11532 The string-to-buffer implicit conversion code has been modified again
11534 a change to the ACPI specification. In order to match the behavior of
11536 other major ACPI implementation, the target buffer is no longer truncated
11538 the source string is smaller than an existing target buffer. This change
11539 requires an update to the ACPI spec, and should eliminate the recent
11540 AE_AML_BUFFER_LIMIT issues.
11542 The "implicit return" support was rewritten to a new algorithm that
11544 the general case. Rather than attempt to determine when a method is about
11546 exit, the result of every ASL operator is saved momentarily until the
11548 next ASL operator is executed. Therefore, no matter how the method exits,
11549 there will always be a saved implicit return value. This feature is only
11550 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
11552 AE_AML_NO_RETURN_VALUE errors when enabled.
11554 Implemented implicit conversion support for the predicate (operand) of
11556 If, Else, and While operators. String and Buffer arguments are
11558 converted to Integers.
11560 Changed the string-to-integer conversion behavior to match the new ACPI
11561 errata: "If no integer object exists, a new integer is created. The ASCII
11562 string is interpreted as a hexadecimal constant. Each string character is
11563 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
11564 with the first character as the most significant digit, and ending with
11566 first non-hexadecimal character or end-of-string." This means that the
11568 non-hex character terminates the conversion and this is the code that was
11571 Fixed a problem where the ObjectType operator would fail (fault) when
11573 on an Index of a Package which pointed to a null package element. The
11574 operator now properly returns zero (Uninitialized) in this case.
11576 Fixed a problem where the While operator used excessive memory by not
11577 properly popping the result stack during execution. There was no memory
11579 after execution, however. (Code provided by Valery Podrezov.)
11581 Fixed a problem where references to control methods within Package
11583 caused the method to be invoked, instead of producing a reference object
11584 pointing to the method.
11586 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
11588 improve performance and reduce code size. (Code provided by Alexey
11591 Code and Data Size: Current and previous core subsystem library sizes are
11592 shown below. These are the code and data sizes for the acpica.lib
11594 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11595 any ACPI driver or OSPM code. The debug version of the code includes the
11596 debug output trace mechanism and has a much larger code and data size.
11598 that these values will vary depending on the efficiency of the compiler
11600 the compiler options used during generation.
11603 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11604 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
11606 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11607 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
11610 2) iASL Compiler/Disassembler:
11612 Fixed a problem with the Return operator with no arguments. Since the AML
11613 grammar for the byte encoding requires an operand for the Return opcode,
11615 compiler now emits a Return(Zero) for this case. An ACPI specification
11616 update has been written for this case.
11618 For tables other than the DSDT, namepath optimization is automatically
11619 disabled. This is because SSDTs can be loaded anywhere in the namespace,
11621 compiler has no knowledge of where, and thus cannot optimize namepaths.
11623 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
11624 inadvertently omitted from the ACPI specification, and will require an
11625 update to the spec.
11627 The source file scan for ASCII characters is now optional (-a). This
11629 was made because some vendors place non-ascii characters within comments.
11630 However, the scan is simply a brute-force byte compare to ensure all
11631 characters in the file are in the range 0x00 to 0x7F.
11633 Fixed a problem with the CondRefOf operator where the compiler was
11634 inappropriately checking for the existence of the target. Since the point
11636 the operator is to check for the existence of the target at run-time, the
11637 compiler no longer checks for the target existence.
11639 Fixed a problem where errors generated from the internal AML interpreter
11640 during constant folding were not handled properly, causing a fault.
11642 Fixed a problem with overly aggressive range checking for the Stall
11643 operator. The valid range (max 255) is now only checked if the operand is
11645 type Integer. All other operand types cannot be statically checked.
11647 Fixed a problem where control method references within the RefOf,
11649 and ObjectType operators were not treated properly. They are now treated
11651 actual references, not method invocations.
11653 Fixed and enhanced the "list namespace" option (-ln). This option was
11655 a number of releases ago.
11657 Improved error handling for the Field, IndexField, and BankField
11659 The compiler now cleanly reports and recovers from errors in the field
11660 component (FieldUnit) list.
11662 Fixed a disassembler problem where the optional ResourceDescriptor fields
11663 TRS and TTP were not always handled correctly.
11665 Disassembler - Comments in output now use "//" instead of "/*"
11667 ----------------------------------------
11668 28 February 2005. Summary of changes for version 20050228:
11670 1) ACPI CA Core Subsystem:
11672 Fixed a problem where the result of an Index() operator (an object
11673 reference) must increment the reference count on the target object for
11675 life of the object reference.
11677 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
11678 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
11680 resource descriptors.
11682 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
11683 Space Descriptor" string, indicating interpreter support for the
11687 Implemented header support for the new ACPI 3.0 FADT flag bits.
11689 Implemented header support for the new ACPI 3.0 PCI Express bits for the
11691 status/enable registers.
11693 Updated header support for the MADT processor local Apic struct and MADT
11694 platform interrupt source struct for new ACPI 3.0 fields.
11696 Implemented header support for the SRAT and SLIT ACPI tables.
11698 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
11702 Code and Data Size: Current and previous core subsystem library sizes are
11703 shown below. These are the code and data sizes for the acpica.lib
11705 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11706 any ACPI driver or OSPM code. The debug version of the code includes the
11707 debug output trace mechanism and has a much larger code and data size.
11709 that these values will vary depending on the efficiency of the compiler
11711 the compiler options used during generation.
11714 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
11715 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
11717 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11718 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
11721 2) iASL Compiler/Disassembler:
11723 Fixed a problem with the internal 64-bit String-to-integer conversion
11725 strings less than two characters long.
11727 Fixed a problem with constant folding where the result of the Index()
11728 operator can not be considered a constant. This means that Index() cannot
11730 a type3 opcode and this will require an update to the ACPI specification.
11732 Disassembler: Implemented support for the TTP, MTP, and TRS resource
11733 descriptor fields. These fields were inadvertently ignored and not output
11735 the disassembly of the resource descriptor.
11738 ----------------------------------------
11739 11 February 2005. Summary of changes for version 20050211:
11741 1) ACPI CA Core Subsystem:
11743 Implemented ACPI 3.0 support for implicit conversion within the Match()
11744 operator. MatchObjects can now be of type integer, buffer, or string
11746 of just type integer. Package elements are implicitly converted to the
11748 of the MatchObject. This change aligns the behavior of Match() with the
11749 behavior of the other logical operators (LLess(), etc.) It also requires
11751 errata change to the ACPI specification as this support was intended for
11752 ACPI 3.0, but was inadvertently omitted.
11754 Fixed a problem with the internal implicit "to buffer" conversion.
11756 that are converted to buffers will cause buffer truncation if the string
11758 smaller than the target buffer. Integers that are converted to buffers
11760 not cause buffer truncation, only zero extension (both as per the ACPI
11761 spec.) The problem was introduced when code was added to truncate the
11762 buffer, but this should not be performed in all cases, only the string
11765 Fixed a problem with the Buffer and Package operators where the
11767 would get confused if two such operators were used as operands to an ASL
11768 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
11769 stack was not being popped after the execution of these operators,
11771 in an AE_NO_RETURN_VALUE exception.
11773 Fixed a problem with constructs of the form Store(Index(...),...). The
11774 reference object returned from Index was inadvertently resolved to an
11776 value. This problem was introduced in version 20050114 when the behavior
11778 Store() was modified to restrict the object types that can be used as the
11779 source operand (to match the ACPI specification.)
11781 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
11783 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
11785 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
11787 Code and Data Size: Current and previous core subsystem library sizes are
11788 shown below. These are the code and data sizes for the acpica.lib
11790 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11791 any ACPI driver or OSPM code. The debug version of the code includes the
11792 debug output trace mechanism and has a much larger code and data size.
11794 that these values will vary depending on the efficiency of the compiler
11796 the compiler options used during generation.
11799 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11800 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11802 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
11803 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
11806 2) iASL Compiler/Disassembler:
11808 Fixed a code generation problem in the constant folding optimization code
11809 where incorrect code was generated if a constant was reduced to a buffer
11810 object (i.e., a reduced type 5 opcode.)
11812 Fixed a typechecking problem for the ToBuffer operator. Caused by an
11813 incorrect return type in the internal opcode information table.
11815 ----------------------------------------
11816 25 January 2005. Summary of changes for version 20050125:
11818 1) ACPI CA Core Subsystem:
11820 Fixed a recently introduced problem with the Global Lock where the
11821 underlying semaphore was not created. This problem was introduced in
11822 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
11823 Acquire() operation on _GL.
11825 The local object cache is now optional, and is disabled by default. Both
11826 AcpiExec and the iASL compiler enable the cache because they run in user
11827 mode and this enhances their performance. #define
11828 ACPI_ENABLE_OBJECT_CACHE
11829 to enable the local cache.
11831 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
11833 optional "implicit return" support where an error was returned if no
11835 object was expected, but one was implicitly returned. AE_OK is now
11837 in this case and the implicitly returned object is deleted.
11838 AcpiUtEvaluateObject is only occasionally used, and only to execute
11840 methods such as _STA and _INI where the return type is known up front.
11842 Fixed a few issues with the internal convert-to-integer code. It now
11844 an error if an attempt is made to convert a null string, a string of only
11845 blanks/tabs, or a zero-length buffer. This affects both implicit
11847 and explicit conversion via the ToInteger() operator.
11849 The internal debug code in AcpiUtAcquireMutex has been commented out. It
11851 not needed for normal operation and should increase the performance of
11853 entire subsystem. The code remains in case it is needed for debug
11857 The AcpiExec source and makefile are included in the Unix/Linux package
11861 Code and Data Size: Current and previous core subsystem library sizes are
11862 shown below. These are the code and data sizes for the acpica.lib
11864 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11865 any ACPI driver or OSPM code. The debug version of the code includes the
11866 debug output trace mechanism and has a much larger code and data size.
11868 that these values will vary depending on the efficiency of the compiler
11870 the compiler options used during generation.
11873 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11874 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11876 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11877 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11879 2) iASL Compiler/Disassembler:
11881 Switch/Case support: A warning is now issued if the type of the Switch
11883 cannot be determined at compile time. For example, Switch(Arg0) will
11884 generate the warning, and the type is assumed to be an integer. As per
11886 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
11890 Switch/Case support: Implemented support for buffer and string objects as
11891 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
11892 buffers and strings.
11894 Switch/Case support: The emitted code for the LEqual() comparisons now
11896 the switch value as the first operand, not the second. The case value is
11898 the second operand, and this allows the case value to be implicitly
11899 converted to the type of the switch value, not the other way around.
11901 Switch/Case support: Temporary variables are now emitted immediately
11903 the control method, not at the global level. This means that there are
11905 36 temps available per-method, not 36 temps per-module as was the case
11907 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
11909 ----------------------------------------
11910 14 January 2005. Summary of changes for version 20050114:
11912 Added 2005 copyright to all module headers. This affects every module in
11913 the core subsystem, iASL compiler, and the utilities.
11915 1) ACPI CA Core Subsystem:
11917 Fixed an issue with the String-to-Buffer conversion code where the string
11918 null terminator was not included in the buffer after conversion, but
11920 is existing ASL that assumes the string null terminator is included. This
11922 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
11923 introduced in the previous version when the code was updated to correctly
11924 set the converted buffer size as per the ACPI specification. The ACPI
11926 is ambiguous and will be updated to specify that the null terminator must
11928 included in the converted buffer. This also affects the ToBuffer() ASL
11931 Fixed a problem with the Mid() ASL/AML operator where it did not work
11932 correctly on Buffer objects. Newly created sub-buffers were not being
11937 Fixed a problem in AcpiTbFindTable where incorrect string compares were
11938 performed on the OemId and OemTableId table header fields. These fields
11940 not null terminated, so strncmp is now used instead of strcmp.
11942 Implemented a restriction on the Store() ASL/AML operator to align the
11943 behavior with the ACPI specification. Previously, any object could be
11945 as the source operand. Now, the only objects that may be used are
11947 Buffers, Strings, Packages, Object References, and DDB Handles. If
11948 necessary, the original behavior can be restored by enabling the
11949 EnableInterpreterSlack flag.
11951 Enhanced the optional "implicit return" support to allow an implicit
11953 value from methods that are invoked externally via the AcpiEvaluateObject
11954 interface. This enables implicit returns from the _STA and _INI methods,
11957 Changed the Revision() ASL/AML operator to return the current version of
11959 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
11961 the supported ACPI version (This is the function of the _REV method).
11963 Updated the _REV predefined method to return the currently supported
11967 Implemented batch mode option for the AcpiExec utility (-b).
11969 Code and Data Size: Current and previous core subsystem library sizes are
11970 shown below. These are the code and data sizes for the acpica.lib
11972 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11973 any ACPI driver or OSPM code. The debug version of the code includes the
11974 debug output trace mechanism and has a much larger code and data size.
11976 that these values will vary depending on the efficiency of the compiler
11978 the compiler options used during generation.
11981 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11982 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11984 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11985 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11987 ----------------------------------------
11988 10 December 2004. Summary of changes for version 20041210:
11990 ACPI 3.0 support is nearing completion in both the iASL compiler and the
11991 ACPI CA core subsystem.
11993 1) ACPI CA Core Subsystem:
11995 Fixed a problem in the ToDecimalString operator where the resulting
11997 length was incorrectly calculated. The length is now calculated exactly,
11998 eliminating incorrect AE_STRING_LIMIT exceptions.
12000 Fixed a problem in the ToHexString operator to allow a maximum 200
12002 string to be produced.
12004 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
12006 routine where the length of the resulting buffer was not truncated to the
12007 new size (if the target buffer already existed).
12009 Code and Data Size: Current and previous core subsystem library sizes are
12010 shown below. These are the code and data sizes for the acpica.lib
12012 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12013 any ACPI driver or OSPM code. The debug version of the code includes the
12014 debug output trace mechanism and has a much larger code and data size.
12016 that these values will vary depending on the efficiency of the compiler
12018 the compiler options used during generation.
12021 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12022 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
12024 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12025 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
12028 2) iASL Compiler/Disassembler:
12030 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
12031 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
12032 Includes support in the disassembler.
12034 Implemented support for the new (ACPI 3.0) parameter to the Register
12038 Fixed a problem where the _HE resource name for the Interrupt macro was
12039 referencing bit 0 instead of bit 1.
12041 Implemented check for maximum 255 interrupts in the Interrupt macro.
12043 Fixed a problem with the predefined resource descriptor names where
12044 incorrect AML code was generated if the offset within the resource buffer
12045 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
12046 but did not update the surrounding package lengths.
12048 Changes to the Dma macro: All channels within the channel list must be
12050 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
12051 optional (default is BusMaster).
12053 Implemented check for maximum 7 data bytes for the VendorShort macro.
12055 The ReadWrite parameter is now optional for the Memory32 and similar
12058 ----------------------------------------
12059 03 December 2004. Summary of changes for version 20041203:
12061 1) ACPI CA Core Subsystem:
12063 The low-level field insertion/extraction code (exfldio) has been
12065 rewritten to eliminate unnecessary complexity, bugs, and boundary
12068 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
12070 operators where the input operand could be inadvertently deleted if no
12071 conversion was necessary (e.g., if the input to ToInteger was an Integer
12074 Fixed a problem with the ToDecimalString and ToHexString where an
12076 exception code was returned if the resulting string would be > 200 chars.
12077 AE_STRING_LIMIT is now returned.
12079 Fixed a problem with the Concatenate operator where AE_OK was always
12080 returned, even if the operation failed.
12082 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
12083 semaphores to be allocated.
12085 Code and Data Size: Current and previous core subsystem library sizes are
12086 shown below. These are the code and data sizes for the acpica.lib
12088 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12089 any ACPI driver or OSPM code. The debug version of the code includes the
12090 debug output trace mechanism and has a much larger code and data size.
12092 that these values will vary depending on the efficiency of the compiler
12094 the compiler options used during generation.
12097 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12098 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12100 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12101 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
12104 2) iASL Compiler/Disassembler:
12106 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
12107 recently introduced in 20041119.
12109 Fixed a problem with the ToUUID macro where the upper nybble of each
12111 byte was inadvertently set to zero.
12113 ----------------------------------------
12114 19 November 2004. Summary of changes for version 20041119:
12116 1) ACPI CA Core Subsystem:
12118 Fixed a problem in the internal ConvertToInteger routine where new
12120 were not truncated to 32 bits for 32-bit ACPI tables. This routine
12122 buffers and strings to integers.
12124 Implemented support to store a value to an Index() on a String object.
12126 is an ACPI 2.0 feature that had not yet been implemented.
12128 Implemented new behavior for storing objects to individual package
12130 (via the Index() operator). The previous behavior was to invoke the
12132 conversion rules if an object was already present at the index. The new
12133 behavior is to simply delete any existing object and directly store the
12135 object. Although the ACPI specification seems unclear on this subject,
12137 ACPI implementations behave in this manner. (This is the root of the
12138 AE_BAD_HEX_CONSTANT issue.)
12140 Modified the RSDP memory scan mechanism to support the extended checksum
12142 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
12143 RSDP signature is found with a valid checksum.
12145 Code and Data Size: Current and previous core subsystem library sizes are
12146 shown below. These are the code and data sizes for the acpica.lib
12148 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12149 any ACPI driver or OSPM code. The debug version of the code includes the
12150 debug output trace mechanism and has a much larger code and data size.
12152 that these values will vary depending on the efficiency of the compiler
12154 the compiler options used during generation.
12157 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12158 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12160 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12161 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12164 2) iASL Compiler/Disassembler:
12166 Fixed a missing semicolon in the aslcompiler.y file.
12168 ----------------------------------------
12169 05 November 2004. Summary of changes for version 20041105:
12171 1) ACPI CA Core Subsystem:
12173 Implemented support for FADT revision 2. This was an interim table
12175 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
12177 Implemented optional support to allow uninitialized LocalX and ArgX
12178 variables in a control method. The variables are initialized to an
12180 object with a value of zero. This support is enabled by setting the
12181 AcpiGbl_EnableInterpreterSlack flag to TRUE.
12183 Implemented support for Integer objects for the SizeOf operator. Either
12185 or 8 is returned, depending on the current integer size (32-bit or 64-
12187 depending on the parent table revision).
12189 Fixed a problem in the implementation of the SizeOf and ObjectType
12191 where the operand was resolved to a value too early, causing incorrect
12192 return values for some objects.
12194 Fixed some possible memory leaks during exceptional conditions.
12196 Code and Data Size: Current and previous core subsystem library sizes are
12197 shown below. These are the code and data sizes for the acpica.lib
12199 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12200 any ACPI driver or OSPM code. The debug version of the code includes the
12201 debug output trace mechanism and has a much larger code and data size.
12203 that these values will vary depending on the efficiency of the compiler
12205 the compiler options used during generation.
12208 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12209 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
12211 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12212 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12215 2) iASL Compiler/Disassembler:
12217 Implemented support for all ACPI 3.0 reserved names and methods.
12219 Implemented all ACPI 3.0 grammar elements in the front-end, including
12220 support for semicolons.
12222 Implemented the ACPI 3.0 Function() and ToUUID() macros
12224 Fixed a problem in the disassembler where a Scope() operator would not be
12225 emitted properly if the target of the scope was in another table.
12227 ----------------------------------------
12228 15 October 2004. Summary of changes for version 20041015:
12230 Note: ACPI CA is currently undergoing an in-depth and complete formal
12231 evaluation to test/verify the following areas. Other suggestions are
12232 welcome. This will result in an increase in the frequency of releases and
12233 the number of bug fixes in the next few months.
12234 - Functional tests for all ASL/AML operators
12235 - All implicit/explicit type conversions
12236 - Bit fields and operation regions
12237 - 64-bit math support and 32-bit-only "truncated" math support
12238 - Exceptional conditions, both compiler and interpreter
12239 - Dynamic object deletion and memory leaks
12240 - ACPI 3.0 support when implemented
12241 - External interfaces to the ACPI subsystem
12244 1) ACPI CA Core Subsystem:
12246 Fixed two alignment issues on 64-bit platforms - within debug statements
12248 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
12250 field within the non-aligned ACPI generic address structure.
12252 Fixed a problem in the Increment and Decrement operators where incorrect
12253 operand resolution could result in the inadvertent modification of the
12254 original integer when the integer is passed into another method as an
12255 argument and the arg is then incremented/decremented.
12257 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12259 BCD number were truncated during conversion.
12261 Fixed a problem in the ToDecimal operator where the length of the
12263 string could be set incorrectly too long if the input operand was a
12267 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
12269 within a buffer would prematurely terminate a compare between buffer
12272 Added a check for string overflow (>200 characters as per the ACPI
12273 specification) during the Concatenate operator with two string operands.
12275 Code and Data Size: Current and previous core subsystem library sizes are
12276 shown below. These are the code and data sizes for the acpica.lib
12278 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12279 any ACPI driver or OSPM code. The debug version of the code includes the
12280 debug output trace mechanism and has a much larger code and data size.
12282 that these values will vary depending on the efficiency of the compiler
12284 the compiler options used during generation.
12287 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12288 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
12290 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12291 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
12295 2) iASL Compiler/Disassembler:
12297 Allow the use of the ObjectType operator on uninitialized Locals and Args
12298 (returns 0 as per the ACPI specification).
12300 Fixed a problem where the compiler would fault if there was a syntax
12302 in the FieldName of all of the various CreateXXXField operators.
12304 Disallow the use of lower case letters within the EISAID macro, as per
12306 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
12308 U is an uppercase letter and N is a hex digit.
12311 ----------------------------------------
12312 06 October 2004. Summary of changes for version 20041006:
12314 1) ACPI CA Core Subsystem:
12316 Implemented support for the ACPI 3.0 Timer operator. This ASL function
12317 implements a 64-bit timer with 100 nanosecond granularity.
12319 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
12320 implement the ACPI 3.0 Timer operator. This allows the host OS to
12322 the timer with the best clock available. Also, it keeps the core
12324 out of the clock handling business, since the host OS (usually) performs
12327 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
12328 functions use a 64-bit address which is part of the packed ACPI Generic
12329 Address Structure. Since the structure is non-aligned, the alignment
12331 are now used to extract the address to a local variable before use.
12333 Fixed a problem where the ToInteger operator assumed all input strings
12335 hexadecimal. The operator now handles both decimal strings and hex
12337 (prefixed with "0x").
12339 Fixed a problem where the string length in the string object created as a
12340 result of the internal ConvertToString procedure could be incorrect. This
12341 potentially affected all implicit conversions and also the
12343 and ToHexString operators.
12345 Fixed two problems in the ToString operator. If the length parameter was
12346 zero, an incorrect string object was created and the value of the input
12347 length parameter was inadvertently changed from zero to Ones.
12349 Fixed a problem where the optional ResourceSource string in the
12351 resource macro was ignored.
12353 Simplified the interfaces to the internal division functions, reducing
12355 size and complexity.
12357 Code and Data Size: Current and previous core subsystem library sizes are
12358 shown below. These are the code and data sizes for the acpica.lib
12360 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12361 any ACPI driver or OSPM code. The debug version of the code includes the
12362 debug output trace mechanism and has a much larger code and data size.
12364 that these values will vary depending on the efficiency of the compiler
12366 the compiler options used during generation.
12369 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
12370 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
12372 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12373 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
12376 2) iASL Compiler/Disassembler:
12378 Implemented support for the ACPI 3.0 Timer operator.
12380 Fixed a problem where the Default() operator was inadvertently ignored in
12382 Switch/Case block. This was a problem in the translation of the Switch
12383 statement to If...Else pairs.
12385 Added support to allow a standalone Return operator, with no parentheses
12389 Fixed a problem with code generation for the ElseIf operator where the
12390 translated Else...If parse tree was improperly constructed leading to the
12393 ----------------------------------------
12394 22 September 2004. Summary of changes for version 20040922:
12396 1) ACPI CA Core Subsystem:
12398 Fixed a problem with the implementation of the LNot() operator where
12400 was not returned for the TRUE case. Changed the code to return Ones
12402 of (!Arg) which was usually 1. This change affects iASL constant folding
12404 this operator also.
12406 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
12408 initialized properly -- Now zero the entire buffer in this case where the
12409 buffer already exists.
12411 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
12412 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
12413 related code considerably. This will require changes/updates to all OS
12414 interface layers (OSLs.)
12416 Implemented a new external interface, AcpiInstallExceptionHandler, to
12418 a system exception handler to be installed. This handler is invoked upon
12420 run-time exception that occurs during control method execution.
12422 Added support for the DSDT in AcpiTbFindTable. This allows the
12423 DataTableRegion() operator to access the local copy of the DSDT.
12425 Code and Data Size: Current and previous core subsystem library sizes are
12426 shown below. These are the code and data sizes for the acpica.lib
12428 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12429 any ACPI driver or OSPM code. The debug version of the code includes the
12430 debug output trace mechanism and has a much larger code and data size.
12432 that these values will vary depending on the efficiency of the compiler
12434 the compiler options used during generation.
12437 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
12438 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
12440 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
12441 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
12444 2) iASL Compiler/Disassembler:
12446 Fixed a problem with constant folding and the LNot operator. LNot was
12447 returning 1 in the TRUE case, not Ones as per the ACPI specification.
12449 could result in the generation of an incorrect folded/reduced constant.
12451 End-Of-File is now allowed within a "//"-style comment. A parse error no
12452 longer occurs if such a comment is at the very end of the input ASL
12456 Implemented the "-r" option to override the Revision in the table header.
12457 The initial use of this option will be to simplify the evaluation of the
12459 interpreter by allowing a single ASL source module to be compiled for
12461 32-bit or 64-bit integers.
12464 ----------------------------------------
12465 27 August 2004. Summary of changes for version 20040827:
12467 1) ACPI CA Core Subsystem:
12469 - Implemented support for implicit object conversion in the non-numeric
12470 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
12472 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
12473 the second operand is implicitly converted on the fly to match the type
12475 the first operand. For example:
12477 LEqual (Source1, Source2)
12479 Source1 and Source2 must each evaluate to an integer, a string, or a
12481 The data type of Source1 dictates the required type of Source2. Source2
12483 implicitly converted if necessary to match the type of Source1.
12485 - Updated and corrected the behavior of the string conversion support.
12487 rules concerning conversion of buffers to strings (according to the ACPI
12488 specification) are as follows:
12490 ToDecimalString - explicit byte-wise conversion of buffer to string of
12491 decimal values (0-255) separated by commas. ToHexString - explicit byte-
12493 conversion of buffer to string of hex values (0-FF) separated by commas.
12494 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
12496 copy with no transform except NULL terminated. Any other implicit buffer-
12498 string conversion - byte-wise conversion of buffer to string of hex
12500 (0-FF) separated by spaces.
12502 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12504 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
12506 one byte too short in the case of a node in the root scope. This could
12507 cause a fault during debug output.
12509 - Code and Data Size: Current and previous core subsystem library sizes
12511 shown below. These are the code and data sizes for the acpica.lib
12513 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12514 any ACPI driver or OSPM code. The debug version of the code includes the
12515 debug output trace mechanism and has a much larger code and data size.
12517 that these values will vary depending on the efficiency of the compiler
12519 the compiler options used during generation.
12522 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
12523 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
12525 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
12526 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
12529 2) iASL Compiler/Disassembler:
12531 - Fixed a Linux generation error.
12534 ----------------------------------------
12535 16 August 2004. Summary of changes for version 20040816:
12537 1) ACPI CA Core Subsystem:
12539 Designed and implemented support within the AML interpreter for the so-
12540 called "implicit return". This support returns the result of the last
12542 operation within a control method, in the absence of an explicit Return()
12543 operator. A few machines depend on this behavior, even though it is not
12544 explicitly supported by the ASL language. It is optional support that
12546 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12548 Removed support for the PCI_Config address space from the internal low
12550 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
12551 support was not used internally, and would not work correctly anyway
12553 the PCI bus number and segment number were not supported. There are
12554 separate interfaces for PCI configuration space access because of the
12558 Code and Data Size: Current and previous core subsystem library sizes are
12559 shown below. These are the code and data sizes for the acpica.lib
12561 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12562 any ACPI driver or OSPM code. The debug version of the code includes the
12563 debug output trace mechanism and has a much larger code and data size.
12565 that these values will vary depending on the efficiency of the compiler
12567 the compiler options used during generation.
12570 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12571 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
12573 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
12574 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
12577 2) iASL Compiler/Disassembler:
12579 Fixed a problem where constants in ASL expressions at the root level (not
12580 within a control method) could be inadvertently truncated during code
12581 generation. This problem was introduced in the 20040715 release.
12584 ----------------------------------------
12585 15 July 2004. Summary of changes for version 20040715:
12587 1) ACPI CA Core Subsystem:
12589 Restructured the internal HW GPE interfaces to pass/track the current
12591 of interrupts (enabled/disabled) in order to avoid possible deadlock and
12592 increase flexibility of the interfaces.
12594 Implemented a "lexicographical compare" for String and Buffer objects
12596 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12598 as per further clarification to the ACPI specification. Behavior is
12600 to C library "strcmp".
12602 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
12603 external function. In the 32-bit non-debug case, the stack use has been
12604 reduced from 168 bytes to 32 bytes.
12606 Deployed a new run-time configuration flag,
12607 AcpiGbl_EnableInterpreterSlack,
12608 whose purpose is to allow the AML interpreter to forgive certain bad AML
12609 constructs. Default setting is FALSE.
12611 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
12613 support code. If enabled, it allows field access to go beyond the end of
12615 region definition if the field is within the region length rounded up to
12617 next access width boundary (a common coding error.)
12619 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
12620 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
12622 symbols are lowercased by the latest version of the AcpiSrc tool.
12624 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
12625 rename "Register" to simply "Reg" to prevent certain compilers from
12628 Code and Data Size: Current and previous core subsystem library sizes are
12629 shown below. These are the code and data sizes for the acpica.lib
12631 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12632 any ACPI driver or OSPM code. The debug version of the code includes the
12633 debug output trace mechanism and has a much larger code and data size.
12635 that these values will vary depending on the efficiency of the compiler
12637 the compiler options used during generation.
12640 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12641 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
12643 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12644 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
12647 2) iASL Compiler/Disassembler:
12649 Implemented full support for Package objects within the Case() operator.
12650 Note: The Break() operator is currently not supported within Case blocks
12651 (TermLists) as there is some question about backward compatibility with
12656 Fixed a problem where complex terms were not supported properly within
12660 Eliminated extraneous warning for compiler-emitted reserved names of the
12661 form "_T_x". (Used in Switch/Case operators.)
12663 Eliminated optimization messages for "_T_x" objects and small constants
12664 within the DefinitionBlock operator.
12667 ----------------------------------------
12668 15 June 2004. Summary of changes for version 20040615:
12670 1) ACPI CA Core Subsystem:
12672 Implemented support for Buffer and String objects (as per ACPI 2.0) for
12674 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
12677 All directory names in the entire source package are lower case, as they
12678 were in earlier releases.
12680 Implemented "Disassemble" command in the AML debugger that will
12682 a single control method.
12684 Code and Data Size: Current and previous core subsystem library sizes are
12685 shown below. These are the code and data sizes for the acpica.lib
12687 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12688 any ACPI driver or OSPM code. The debug version of the code includes the
12689 debug output trace mechanism and has a much larger code and data size.
12691 that these values will vary depending on the efficiency of the compiler
12693 the compiler options used during generation.
12696 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
12697 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
12700 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12701 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
12704 2) iASL Compiler/Disassembler:
12706 Implemented support for Buffer and String objects (as per ACPI 2.0) for
12708 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
12711 All directory names in the entire source package are lower case, as they
12712 were in earlier releases.
12714 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
12717 Fixed an issue with the Windows version of the compiler where later
12719 of Windows place the FADT in the registry under the name "FADT" and not
12720 "FACP" as earlier versions did. This applies when using the -g or -
12721 d<nofilename> options. The compiler now looks for both strings as
12724 Fixed a problem with compiler namepath optimization where a namepath
12726 the Scope() operator could not be optimized if the namepath was a subpath
12728 the current scope path.
12730 ----------------------------------------
12731 27 May 2004. Summary of changes for version 20040527:
12733 1) ACPI CA Core Subsystem:
12735 Completed a new design and implementation for EBDA (Extended BIOS Data
12737 support in the RSDP scan code. The original code improperly scanned for
12739 EBDA by simply scanning from memory location 0 to 0x400. The correct
12741 is to first obtain the EBDA pointer from within the BIOS data area, then
12742 scan 1K of memory starting at the EBDA pointer. There appear to be few
12744 any machines that place the RSDP in the EBDA, however.
12746 Integrated a fix for a possible fault during evaluation of BufferField
12747 arguments. Obsolete code that was causing the problem was removed.
12749 Found and fixed a problem in the Field Support Code where data could be
12750 corrupted on a bit field read that starts on an aligned boundary but does
12751 not end on an aligned boundary. Merged the read/write "datum length"
12752 calculation code into a common procedure.
12754 Rolled in a couple of changes to the FreeBSD-specific header.
12757 Code and Data Size: Current and previous core subsystem library sizes are
12758 shown below. These are the code and data sizes for the acpica.lib
12760 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12761 any ACPI driver or OSPM code. The debug version of the code includes the
12762 debug output trace mechanism and has a much larger code and data size.
12764 that these values will vary depending on the efficiency of the compiler
12766 the compiler options used during generation.
12769 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12770 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
12772 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
12773 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
12776 2) iASL Compiler/Disassembler:
12778 Fixed a generation warning produced by some overly-verbose compilers for
12782 ----------------------------------------
12783 14 May 2004. Summary of changes for version 20040514:
12785 1) ACPI CA Core Subsystem:
12787 Fixed a problem where hardware GPE enable bits sometimes not set properly
12788 during and after GPE method execution. Result of 04/27 changes.
12790 Removed extra "clear all GPEs" when sleeping/waking.
12792 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
12793 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
12795 the new AcpiEv* calls as appropriate.
12797 ACPI_OS_NAME was removed from the OS-specific headers. The default name
12799 now "Microsoft Windows NT" for maximum compatibility. However this can
12801 changed by modifying the acconfig.h file.
12803 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
12804 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
12806 Run _INI methods on ThermalZone objects. This is against the ACPI
12807 specification, but there is apparently ASL code in the field that has
12809 _INI methods, and apparently "other" AML interpreters execute them.
12811 Performed a full 16/32/64 bit lint that resulted in some small changes.
12813 Added a sleep simulation command to the AML debugger to test sleep code.
12815 Code and Data Size: Current and previous core subsystem library sizes are
12816 shown below. These are the code and data sizes for the acpica.lib
12818 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12819 any ACPI driver or OSPM code. The debug version of the code includes the
12820 debug output trace mechanism and has a much larger code and data size.
12822 that these values will vary depending on the efficiency of the compiler
12824 the compiler options used during generation.
12827 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12828 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12830 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12831 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
12833 ----------------------------------------
12834 27 April 2004. Summary of changes for version 20040427:
12836 1) ACPI CA Core Subsystem:
12838 Completed a major overhaul of the GPE handling within ACPI CA. There are
12839 now three types of GPEs: wake-only, runtime-only, and combination
12841 The only GPEs allowed to be combination wake/run are for button-style
12842 devices such as a control-method power button, control-method sleep
12844 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
12846 referenced by any _PRW methods are marked for "runtime" and hardware
12847 enabled. Any GPE that is referenced by a _PRW method is marked for
12849 (and disabled at runtime). However, at sleep time, only those GPEs that
12850 have been specifically enabled for wake via the AcpiEnableGpe interface
12852 actually be hardware enabled.
12854 A new external interface has been added, AcpiSetGpeType(), that is meant
12856 be used by device drivers to force a GPE to a particular type. It will
12858 especially useful for the drivers for the button devices mentioned above.
12860 Completed restructuring of the ACPI CA initialization sequence so that
12861 default operation region handlers are installed before GPEs are
12863 and the _PRW methods are executed. This will prevent errors when the
12865 methods attempt to access system memory or I/O space.
12867 GPE enable/disable no longer reads the GPE enable register. We now keep
12869 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
12870 thus no longer depend on the hardware to maintain these bits.
12872 Always clear the wake status and fixed/GPE status bits before sleep, even
12875 Improved the AML debugger output for displaying the GPE blocks and their
12878 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
12882 Fixed a problem where the physical address was incorrectly calculated
12884 the Load() operator was used to directly load from an Operation Region
12886 loading from a Field object.) Also added check for minimum table length
12890 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
12893 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
12894 consistency with the other fields returned.
12896 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
12897 structure for each GPE in the system, so the size of this structure is
12900 CPU stack requirement reduction: Cleaned up the method execution and
12902 evaluation paths so that now a parameter structure is passed, instead of
12903 copying the various method parameters over and over again.
12905 In evregion.c: Correctly exit and reenter the interpreter region if and
12906 only if dispatching an operation region request to a user-installed
12908 Do not exit/reenter when dispatching to a default handler (e.g., default
12909 system memory or I/O handlers)
12912 Notes for updating drivers for the new GPE support. The following
12914 must be made to ACPI-related device drivers that are attached to one or
12916 GPEs: (This information will be added to the ACPI CA Programmer
12919 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
12921 explicitly call AcpiEnableGpe.
12922 2) There is a new interface called AcpiSetGpeType. This should be called
12923 before enabling the GPE. Also, this interface will automatically disable
12924 the GPE if it is currently enabled.
12925 3) AcpiEnableGpe no longer supports a GPE type flag.
12927 Specific drivers that must be changed:
12929 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
12930 AeGpeHandler, NULL);
12931 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
12932 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
12934 2) Button Drivers (Power, Lid, Sleep):
12935 Run _PRW method under parent device
12936 If _PRW exists: /* This is a control-method button */
12937 Extract GPE number and possibly GpeDevice
12938 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
12939 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
12941 For all other devices that have _PRWs, we automatically set the GPE type
12943 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
12945 must be done on a selective basis, usually requiring some kind of user
12947 to allow the user to pick the wake devices.
12950 Code and Data Size: Current and previous core subsystem library sizes are
12951 shown below. These are the code and data sizes for the acpica.lib
12953 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12954 any ACPI driver or OSPM code. The debug version of the code includes the
12955 debug output trace mechanism and has a much larger code and data size.
12957 that these values will vary depending on the efficiency of the compiler
12959 the compiler options used during generation.
12962 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
12963 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
12966 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12967 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12971 ----------------------------------------
12972 02 April 2004. Summary of changes for version 20040402:
12974 1) ACPI CA Core Subsystem:
12976 Fixed an interpreter problem where an indirect store through an ArgX
12977 parameter was incorrectly applying the "implicit conversion rules" during
12978 the store. From the ACPI specification: "If the target is a method local
12980 argument (LocalX or ArgX), no conversion is performed and the result is
12981 stored directly to the target". The new behavior is to disable implicit
12982 conversion during ALL stores to an ArgX.
12984 Changed the behavior of the _PRW method scan to ignore any and all errors
12985 returned by a given _PRW. This prevents the scan from aborting from the
12986 failure of any single _PRW.
12988 Moved the runtime configuration parameters from the global init procedure
12990 static variables in acglobal.h. This will allow the host to override the
12991 default values easily.
12993 Code and Data Size: Current and previous core subsystem library sizes are
12994 shown below. These are the code and data sizes for the acpica.lib
12996 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12997 any ACPI driver or OSPM code. The debug version of the code includes the
12998 debug output trace mechanism and has a much larger code and data size.
13000 that these values will vary depending on the efficiency of the compiler
13002 the compiler options used during generation.
13005 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
13006 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
13008 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
13009 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
13012 2) iASL Compiler/Disassembler:
13014 iASL now fully disassembles SSDTs. However, External() statements are
13016 generated automatically for unresolved symbols at this time. This is a
13017 planned feature for future implementation.
13019 Fixed a scoping problem in the disassembler that occurs when the type of
13021 target of a Scope() operator is overridden. This problem caused an
13022 incorrectly nested internal namespace to be constructed.
13024 Any warnings or errors that are emitted during disassembly are now
13026 out automatically so that the resulting file can be recompiled without
13030 ----------------------------------------
13031 26 March 2004. Summary of changes for version 20040326:
13033 1) ACPI CA Core Subsystem:
13035 Implemented support for "wake" GPEs via interaction between GPEs and the
13036 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
13037 identified as a WAKE GPE and by default will no longer be enabled at
13038 runtime. Previously, we were blindly enabling all GPEs with a
13040 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
13042 believe this has been the cause of thousands of "spurious" GPEs on some
13045 This new GPE behavior is can be reverted to the original behavior (enable
13046 ALL GPEs at runtime) via a runtime flag.
13048 Fixed a problem where aliased control methods could not access objects
13049 properly. The proper scope within the namespace was not initialized
13050 (transferred to the target of the aliased method) before executing the
13053 Fixed a potential race condition on internal object deletion on the
13055 object in AcpiEvaluateObject.
13057 Integrated a fix for resource descriptors where both _MEM and _MTP were
13058 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
13059 wide, 0x0F instead of 0x03.)
13061 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
13064 fault in some cases.
13066 Updated Notify() values for debug statements in evmisc.c
13068 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
13070 Code and Data Size: Current and previous core subsystem library sizes are
13071 shown below. These are the code and data sizes for the acpica.lib
13073 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13074 any ACPI driver or OSPM code. The debug version of the code includes the
13075 debug output trace mechanism and has a much larger code and data size.
13077 that these values will vary depending on the efficiency of the compiler
13079 the compiler options used during generation.
13083 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
13084 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
13086 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
13087 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
13089 ----------------------------------------
13090 11 March 2004. Summary of changes for version 20040311:
13092 1) ACPI CA Core Subsystem:
13094 Fixed a problem where errors occurring during the parse phase of control
13095 method execution did not abort cleanly. For example, objects created and
13096 installed in the namespace were not deleted. This caused all subsequent
13097 invocations of the method to return the AE_ALREADY_EXISTS exception.
13099 Implemented a mechanism to force a control method to "Serialized"
13101 if the method attempts to create namespace objects. (The root of the
13102 AE_ALREADY_EXISTS problem.)
13104 Implemented support for the predefined _OSI "internal" control method.
13105 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
13107 "Windows 2001.1", and can be easily upgraded for new strings as
13109 This feature will allow "other" operating systems to execute the fully
13110 tested, "Windows" code path through the ASL code
13112 Global Lock Support: Now allows multiple acquires and releases with any
13113 internal thread. Removed concept of "owning thread" for this special
13116 Fixed two functions that were inappropriately declaring large objects on
13118 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
13120 method execution considerably.
13122 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
13123 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
13125 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
13126 defined on the machine.
13128 Implemented two runtime options: One to force all control method
13130 to "Serialized" to mimic Windows behavior, another to disable _OSI
13132 if it causes problems on a given machine.
13134 Code and Data Size: Current and previous core subsystem library sizes are
13135 shown below. These are the code and data sizes for the acpica.lib
13137 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13138 any ACPI driver or OSPM code. The debug version of the code includes the
13139 debug output trace mechanism and has a much larger code and data size.
13141 that these values will vary depending on the efficiency of the compiler
13143 the compiler options used during generation.
13146 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
13147 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
13149 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
13150 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
13152 2) iASL Compiler/Disassembler:
13154 Fixed an array size problem for FreeBSD that would cause the compiler to
13157 ----------------------------------------
13158 20 February 2004. Summary of changes for version 20040220:
13161 1) ACPI CA Core Subsystem:
13163 Implemented execution of _SxD methods for Device objects in the
13164 GetObjectInfo interface.
13166 Fixed calls to _SST method to pass the correct arguments.
13168 Added a call to _SST on wake to restore to "working" state.
13170 Check for End-Of-Buffer failure case in the WalkResources interface.
13172 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
13173 structures to the beginning of the file.
13175 After wake, clear GPE status register(s) before enabling GPEs.
13177 After wake, clear/enable power button. (Perhaps we should clear/enable
13179 fixed events upon wake.)
13181 Fixed a couple of possible memory leaks in the Namespace manager.
13183 Integrated latest acnetbsd.h file.
13185 ----------------------------------------
13186 11 February 2004. Summary of changes for version 20040211:
13189 1) ACPI CA Core Subsystem:
13191 Completed investigation and implementation of the call-by-reference
13192 mechanism for control method arguments.
13194 Fixed a problem where a store of an object into an indexed package could
13195 fail if the store occurs within a different method than the method that
13196 created the package.
13198 Fixed a problem where the ToDecimal operator could return incorrect
13201 Fixed a problem where the CopyObject operator could fail on some of the
13203 obscure objects (e.g., Reference objects.)
13205 Improved the output of the Debug object to display buffer, package, and
13208 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
13210 the expected result.
13212 Added permanent ACPI_REPORT_ERROR macros for all instances of the
13213 ACPI_AML_INTERNAL exception.
13215 Integrated latest version of acfreebsd.h
13217 ----------------------------------------
13218 16 January 2004. Summary of changes for version 20040116:
13220 The purpose of this release is primarily to update the copyright years in
13221 each module, thus causing a huge number of diffs. There are a few small
13222 functional changes, however.
13224 1) ACPI CA Core Subsystem:
13226 Improved error messages when there is a problem finding one or more of
13228 required base ACPI tables
13230 Reintroduced the definition of APIC_HEADER in actbl.h
13232 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13234 Removed extraneous reference to NewObj in dsmthdat.c
13238 Fixed a problem introduced in December that disabled the correct
13240 of Resource Templates
13243 ----------------------------------------
13244 03 December 2003. Summary of changes for version 20031203:
13246 1) ACPI CA Core Subsystem:
13248 Changed the initialization of Operation Regions during subsystem
13249 init to perform two entire walks of the ACPI namespace; The first
13250 to initialize the regions themselves, the second to execute the
13251 _REG methods. This fixed some interdependencies across _REG
13252 methods found on some machines.
13254 Fixed a problem where a Store(Local0, Local1) could simply update
13255 the object reference count, and not create a new copy of the
13256 object if the Local1 is uninitialized.
13258 Implemented support for the _SST reserved method during sleep
13261 Implemented support to clear the SLP_TYP and SLP_EN bits when
13262 waking up, this is apparently required by some machines.
13264 When sleeping, clear the wake status only if SleepState is not S5.
13266 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13267 pointer arithmetic advanced a string pointer too far.
13269 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13270 could be returned if the requested table has not been loaded.
13272 Within the support for IRQ resources, restructured the handling of
13273 the active and edge/level bits.
13275 Fixed a few problems in AcpiPsxExecute() where memory could be
13276 leaked under certain error conditions.
13278 Improved error messages for the cases where the ACPI mode could
13281 Code and Data Size: Current and previous core subsystem library
13282 sizes are shown below. These are the code and data sizes for the
13283 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13284 these values do not include any ACPI driver or OSPM code. The
13285 debug version of the code includes the debug output trace
13286 mechanism and has a much larger code and data size. Note that
13287 these values will vary depending on the efficiency of the compiler
13288 and the compiler options used during generation.
13290 Previous Release (20031029):
13291 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
13292 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
13294 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
13295 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
13297 2) iASL Compiler/Disassembler:
13299 Implemented a fix for the iASL disassembler where a bad index was
13300 generated. This was most noticeable on 64-bit platforms
13303 ----------------------------------------
13304 29 October 2003. Summary of changes for version 20031029:
13306 1) ACPI CA Core Subsystem:
13309 Fixed a problem where a level-triggered GPE with an associated
13310 _Lxx control method was incorrectly cleared twice.
13312 Fixed a problem with the Field support code where an access can
13313 occur beyond the end-of-region if the field is non-aligned but
13314 extends to the very end of the parent region (resulted in an
13315 AE_AML_REGION_LIMIT exception.)
13317 Fixed a problem with ACPI Fixed Events where an RT Clock handler
13318 would not get invoked on an RTC event. The RTC event bitmasks for
13319 the PM1 registers were not being initialized properly.
13321 Implemented support for executing _STA and _INI methods for
13322 Processor objects. Although this is currently not part of the
13323 ACPI specification, there is existing ASL code that depends on the
13324 init-time execution of these methods.
13326 Implemented and deployed a GetDescriptorName function to decode
13327 the various types of internal descriptors. Guards against null
13328 descriptors during debug output also.
13330 Implemented and deployed a GetNodeName function to extract the 4-
13331 character namespace node name. This function simplifies the debug
13332 and error output, as well as guarding against null pointers during
13335 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13336 simplify the debug and error output of 64-bit integers. This
13337 macro replaces the HIDWORD and LODWORD macros for dumping these
13340 Updated the implementation of the Stall() operator to only call
13341 AcpiOsStall(), and also return an error if the operand is larger
13342 than 255. This preserves the required behavior of not
13343 relinquishing the processor, as would happen if AcpiOsSleep() was
13344 called for "long stalls".
13346 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13347 initialized are now treated as NOOPs.
13349 Cleaned up a handful of warnings during 64-bit generation.
13351 Fixed a reported error where and incorrect GPE number was passed
13352 to the GPE dispatch handler. This value is only used for error
13353 output, however. Used this opportunity to clean up and streamline
13354 the GPE dispatch code.
13356 Code and Data Size: Current and previous core subsystem library
13357 sizes are shown below. These are the code and data sizes for the
13358 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13359 these values do not include any ACPI driver or OSPM code. The
13361 debug version of the code includes the debug output trace
13362 mechanism and has a much larger code and data size. Note that
13363 these values will vary depending on the efficiency of the compiler
13364 and the compiler options used during generation.
13366 Previous Release (20031002):
13367 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
13368 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
13370 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
13371 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
13374 2) iASL Compiler/Disassembler:
13376 Updated the iASL compiler to return an error if the operand to the
13377 Stall() operator is larger than 255.
13380 ----------------------------------------
13381 02 October 2003. Summary of changes for version 20031002:
13384 1) ACPI CA Core Subsystem:
13386 Fixed a problem with Index Fields where the index was not
13387 incremented for fields that require multiple writes to the
13388 index/data registers (Fields that are wider than the data
13391 Fixed a problem with all Field objects where a write could go
13392 beyond the end-of-field if the field was larger than the access
13393 granularity and therefore required multiple writes to complete the
13394 request. An extra write beyond the end of the field could happen
13397 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13398 would incorrectly be returned if the width of the Data Register
13399 was larger than the specified field access width.
13401 Completed fixes for LoadTable() and Unload() and verified their
13402 operation. Implemented full support for the "DdbHandle" object
13403 throughout the ACPI CA subsystem.
13405 Implemented full support for the MADT and ECDT tables in the ACPI
13406 CA header files. Even though these tables are not directly
13407 consumed by ACPI CA, the header definitions are useful for ACPI
13410 Integrated resource descriptor fixes posted to the Linux ACPI
13411 list. This included checks for minimum descriptor length, and
13412 support for trailing NULL strings within descriptors that have
13413 optional string elements.
13415 Code and Data Size: Current and previous core subsystem library
13416 sizes are shown below. These are the code and data sizes for the
13417 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13418 these values do not include any ACPI driver or OSPM code. The
13419 debug version of the code includes the debug output trace
13420 mechanism and has a much larger code and data size. Note that
13421 these values will vary depending on the efficiency of the compiler
13422 and the compiler options used during generation.
13424 Previous Release (20030918):
13425 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
13426 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
13428 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
13429 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
13434 Implemented detection of non-ASCII characters within the input
13435 source ASL file. This catches attempts to compile binary (AML)
13436 files early in the compile, with an informative error message.
13438 Fixed a problem where the disassembler would fault if the output
13439 filename could not be generated or if the output file could not be
13442 ----------------------------------------
13443 18 September 2003. Summary of changes for version 20030918:
13446 1) ACPI CA Core Subsystem:
13448 Found and fixed a longstanding problem with the late execution of
13449 the various deferred AML opcodes (such as Operation Regions,
13450 Buffer Fields, Buffers, and Packages). If the name string
13451 specified for the name of the new object placed the object in a
13452 scope other than the current scope, the initialization/execution
13453 of the opcode failed. The solution to this problem was to
13454 implement a mechanism where the late execution of such opcodes
13455 does not attempt to lookup/create the name a second time in an
13456 incorrect scope. This fixes the "region size computed
13457 incorrectly" problem.
13459 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13460 Global Lock AE_BAD_PARAMETER error.
13462 Fixed several 64-bit issues with prototypes, casting and data
13465 Removed duplicate prototype from acdisasm.h
13467 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13469 Code and Data Size: Current and previous core subsystem library
13470 sizes are shown below. These are the code and data sizes for the
13471 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13472 these values do not include any ACPI driver or OSPM code. The
13473 debug version of the code includes the debug output trace
13474 mechanism and has a much larger code and data size. Note that
13475 these values will vary depending on the efficiency of the compiler
13476 and the compiler options used during generation.
13480 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
13481 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
13483 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
13484 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
13489 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13490 correct sleep time in seconds.
13492 ----------------------------------------
13493 14 July 2003. Summary of changes for version 20030619:
13495 1) ACPI CA Core Subsystem:
13497 Parse SSDTs in order discovered, as opposed to reverse order
13500 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13507 Dynamically allocate SDT list (suggested by Andi Kleen)
13509 proc function return value cleanups (Andi Kleen)
13511 Correctly handle NMI watchdog during long stalls (Andrew Morton)
13513 Make it so acpismp=force works (reported by Andrew Morton)
13516 ----------------------------------------
13517 19 June 2003. Summary of changes for version 20030619:
13519 1) ACPI CA Core Subsystem:
13521 Fix To/FromBCD, eliminating the need for an arch-specific #define.
13523 Do not acquire a semaphore in the S5 shutdown path.
13525 Fix ex_digits_needed for 0. (Takayoshi Kochi)
13527 Fix sleep/stall code reversal. (Andi Kleen)
13529 Revert a change having to do with control method calling
13534 acpiphp update (Takayoshi Kochi)
13536 Export acpi_disabled for sonypi (Stelian Pop)
13538 Mention acpismp=force in config help
13540 Re-add acpitable.c and acpismp=force. This improves backwards
13542 compatibility and also cleans up the code to a significant degree.
13544 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13546 ----------------------------------------
13547 22 May 2003. Summary of changes for version 20030522:
13549 1) ACPI CA Core Subsystem:
13551 Found and fixed a reported problem where an AE_NOT_FOUND error
13552 occurred occasionally during _BST evaluation. This turned out to
13553 be an Owner ID allocation issue where a called method did not get
13554 a new ID assigned to it. Eventually, (after 64k calls), the Owner
13555 ID UINT16 would wraparound so that the ID would be the same as the
13556 caller's and the called method would delete the caller's
13559 Implemented extended error reporting for control methods that are
13560 aborted due to a run-time exception. Output includes the exact
13561 AML instruction that caused the method abort, a dump of the method
13562 locals and arguments at the time of the abort, and a trace of all
13563 nested control method calls.
13565 Modified the interpreter to allow the creation of buffers of zero
13566 length from the AML code. Implemented new code to ensure that no
13567 attempt is made to actually allocate a memory buffer (of length
13568 zero) - instead, a simple buffer object with a NULL buffer pointer
13569 and length zero is created. A warning is no longer issued when
13570 the AML attempts to create a zero-length buffer.
13572 Implemented a workaround for the "leading asterisk issue" in
13573 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
13574 asterisk is automatically removed if present in any HID, UID, or
13575 CID strings. The iASL compiler will still flag this asterisk as
13578 Implemented full support for _CID methods that return a package of
13579 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
13580 now additionally returns a device _CID list if present. This
13581 required a change to the external interface in order to pass an
13582 ACPI_BUFFER object as a parameter since the _CID list is of
13585 Fixed a problem with the new AE_SAME_HANDLER exception where
13586 handler initialization code did not know about this exception.
13588 Code and Data Size: Current and previous core subsystem library
13589 sizes are shown below. These are the code and data sizes for the
13590 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13591 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 (20030509):
13598 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
13599 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
13601 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
13602 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
13607 Fixed a bug in which we would reinitialize the ACPI interrupt
13608 after it was already working, thus disabling all ACPI and the IRQs
13609 for any other device sharing the interrupt. (Thanks to Stian
13612 Toshiba driver update (John Belmonte)
13614 Return only 0 or 1 for our interrupt handler status (Andrew
13620 Fixed a reported problem where multiple (nested) ElseIf()
13621 statements were not handled correctly by the compiler, resulting
13622 in incorrect warnings and incorrect AML code. This was a problem
13623 in both the ASL parser and the code generator.
13628 Added changes to existing interfaces, new exception codes, and new
13629 text concerning reference count object management versus garbage
13632 ----------------------------------------
13633 09 May 2003. Summary of changes for version 20030509.
13636 1) ACPI CA Core Subsystem:
13638 Changed the subsystem initialization sequence to hold off
13639 installation of address space handlers until the hardware has been
13640 initialized and the system has entered ACPI mode. This is because
13641 the installation of space handlers can cause _REG methods to be
13642 run. Previously, the _REG methods could potentially be run before
13643 ACPI mode was enabled.
13645 Fixed some memory leak issues related to address space handler and
13646 notify handler installation. There were some problems with the
13647 reference count mechanism caused by the fact that the handler
13648 objects are shared across several namespace objects.
13650 Fixed a reported problem where reference counts within the
13651 namespace were not properly updated when named objects created by
13652 method execution were deleted.
13654 Fixed a reported problem where multiple SSDTs caused a deletion
13655 issue during subsystem termination. Restructured the table data
13656 structures to simplify the linked lists and the related code.
13658 Fixed a problem where the table ID associated with secondary
13659 tables (SSDTs) was not being propagated into the namespace objects
13660 created by those tables. This would only present a problem for
13661 tables that are unloaded at run-time, however.
13663 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13664 type as the length parameter (instead of UINT32).
13666 Solved a long-standing problem where an ALREADY_EXISTS error
13667 appears on various systems. This problem could happen when there
13668 are multiple PCI_Config operation regions under a single PCI root
13669 bus. This doesn't happen very frequently, but there are some
13670 systems that do this in the ASL.
13672 Fixed a reported problem where the internal DeleteNode function
13673 was incorrectly handling the case where a namespace node was the
13674 first in the parent's child list, and had additional peers (not
13675 the only child, but first in the list of children.)
13677 Code and Data Size: Current core subsystem library sizes are shown
13678 below. These are the code and data sizes for the acpica.lib
13679 produced by the Microsoft Visual C++ 6.0 compiler, and these
13680 values do not include any ACPI driver or OSPM code. The debug
13681 version of the code includes the debug output trace mechanism and
13682 has a much larger code and data size. Note that these values will
13683 vary depending on the efficiency of the compiler and the compiler
13684 options used during generation.
13687 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
13688 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
13690 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
13691 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
13696 Allow ":" in OS override string (Ducrot Bruno)
13698 Kobject fix (Greg KH)
13701 3 iASL Compiler/Disassembler:
13703 Fixed a problem in the generation of the C source code files (AML
13704 is emitted in C source statements for BIOS inclusion) where the
13705 Ascii dump that appears within a C comment at the end of each line
13706 could cause a compile time error if the AML sequence happens to
13707 have an open comment or close comment sequence embedded.
13710 ----------------------------------------
13711 24 April 2003. Summary of changes for version 20030424.
13714 1) ACPI CA Core Subsystem:
13716 Support for big-endian systems has been implemented. Most of the
13717 support has been invisibly added behind big-endian versions of the
13718 ACPI_MOVE_* macros.
13720 Fixed a problem in AcpiHwDisableGpeBlock() and
13721 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13722 low level hardware write routine. The offset parameter was
13723 actually eliminated from the low level read/write routines because
13724 they had become obsolete.
13726 Fixed a problem where a handler object was deleted twice during
13727 the removal of a fixed event handler.
13732 A fix for SMP systems with link devices was contributed by
13736 (2.5) Return whether we handled the interrupt in our IRQ handler.
13737 (Linux ISRs no longer return void, so we can propagate the handler
13738 return value from the ACPI CA core back to the OS.)
13744 The ACPI CA Programmer Reference has been updated to reflect new
13745 interfaces and changes to existing interfaces.
13747 ----------------------------------------
13748 28 March 2003. Summary of changes for version 20030328.
13750 1) ACPI CA Core Subsystem:
13752 The GPE Block Device support has been completed. New interfaces
13753 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
13754 interfaces (enable, disable, clear, getstatus) have been split
13755 into separate interfaces for Fixed Events and General Purpose
13756 Events (GPEs) in order to support GPE Block Devices properly.
13758 Fixed a problem where the error message "Failed to acquire
13759 semaphore" would appear during operations on the embedded
13762 Code and Data Size: Current core subsystem library sizes are shown
13763 below. These are the code and data sizes for the acpica.lib
13764 produced by the Microsoft Visual C++ 6.0 compiler, and these
13765 values do not include any ACPI driver or OSPM code. The debug
13766 version of the code includes the debug output trace mechanism and
13767 has a much larger code and data size. Note that these values will
13768 vary depending on the efficiency of the compiler and the compiler
13769 options used during generation.
13772 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
13773 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
13775 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
13776 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
13779 ----------------------------------------
13780 28 February 2003. Summary of changes for version 20030228.
13783 1) ACPI CA Core Subsystem:
13785 The GPE handling and dispatch code has been completely overhauled
13786 in preparation for support of GPE Block Devices (ID ACPI0006).
13787 This affects internal data structures and code only; there should
13788 be no differences visible externally. One new file has been
13791 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
13792 fields that are used to determine the GPE block lengths. The
13793 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
13794 structures are ignored. This is per the ACPI specification but it
13795 isn't very clear. The full 256 Block 0/1 GPEs are now supported
13796 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
13798 In the SCI interrupt handler, removed the read of the PM1_CONTROL
13799 register to look at the SCI_EN bit. On some machines, this read
13800 causes an SMI event and greatly slows down SCI events. (This may
13801 in fact be the cause of slow battery status response on some
13804 Fixed a problem where a store of a NULL string to a package object
13805 could cause the premature deletion of the object. This was seen
13806 during execution of the battery _BIF method on some systems,
13807 resulting in no battery data being returned.
13809 Added AcpiWalkResources interface to simplify parsing of resource
13812 Code and Data Size: Current core subsystem library sizes are shown
13813 below. These are the code and data sizes for the acpica.lib
13814 produced by the Microsoft Visual C++ 6.0 compiler, and these
13815 values do not include any ACPI driver or OSPM code. The debug
13816 version of the code includes the debug output trace mechanism and
13817 has a much larger code and data size. Note that these values will
13818 vary depending on the efficiency of the compiler and the compiler
13819 options used during generation.
13822 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13823 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13825 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
13826 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
13831 S3 fixes (Ole Rohne)
13833 Update ACPI PHP driver with to use new acpi_walk_resource API
13836 Add S4BIOS support (Pavel Machek)
13838 Map in entire table before performing checksum (John Stultz)
13840 Expand the mem= cmdline to allow the specification of reserved and
13841 ACPI DATA blocks (Pavel Machek)
13843 Never use ACPI on VISWS
13845 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
13847 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
13848 causing us to think that some systems support C2 when they really
13851 Do not count processor objects for non-present CPUs (Thanks to
13857 Fixed a problem where ASL include files could not be found and
13860 Added support for the _PDC reserved name.
13863 ----------------------------------------
13864 22 January 2003. Summary of changes for version 20030122.
13867 1) ACPI CA Core Subsystem:
13869 Added a check for constructs of the form: Store (Local0, Local0)
13870 where Local0 is not initialized. Apparently, some BIOS
13871 programmers believe that this is a NOOP. Since this store doesn't
13872 do anything anyway, the new prototype behavior will ignore this
13873 error. This is a case where we can relax the strict checking in
13874 the interpreter in the name of compatibility.
13879 The AcpiSrc Source Conversion Utility has been released with the
13880 Linux package for the first time. This is the utility that is
13881 used to convert the ACPI CA base source code to the Linux version.
13883 (Both) Handle P_BLK lengths shorter than 6 more gracefully
13885 (Both) Move more headers to include/acpi, and delete an unused
13888 (Both) Move drivers/acpi/include directory to include/acpi
13890 (Both) Boot functions don't use cmdline, so don't pass it around
13892 (Both) Remove include of unused header (Adrian Bunk)
13894 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
13896 former now also includes the latter, acpiphp.h only needs the one,
13899 (2.5) Make it possible to select method of bios restoring after S3
13900 resume. [=> no more ugly ifdefs] (Pavel Machek)
13902 (2.5) Make proc write interfaces work (Pavel Machek)
13904 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
13906 (2.5) Break out ACPI Perf code into its own module, under cpufreq
13907 (Dominik Brodowski)
13909 (2.4) S4BIOS support (Ducrot Bruno)
13911 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
13917 Added support to disassemble SSDT and PSDTs.
13919 Implemented support to obtain SSDTs from the Windows registry if
13923 ----------------------------------------
13924 09 January 2003. Summary of changes for version 20030109.
13926 1) ACPI CA Core Subsystem:
13928 Changed the behavior of the internal Buffer-to-String conversion
13929 function. The current ACPI specification states that the contents
13930 of the buffer are "converted to a string of two-character
13931 hexadecimal numbers, each separated by a space". Unfortunately,
13932 this definition is not backwards compatible with existing ACPI 1.0
13933 implementations (although the behavior was not defined in the ACPI
13934 1.0 specification). The new behavior simply copies data from the
13935 buffer to the string until a null character is found or the end of
13936 the buffer is reached. The new String object is always null
13937 terminated. This problem was seen during the generation of _BIF
13938 battery data where incorrect strings were returned for battery
13939 type, etc. This will also require an errata to the ACPI
13942 Renamed all instances of NATIVE_UINT and NATIVE_INT to
13943 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
13945 Copyright in all module headers (both Linux and non-Linux) has be
13948 Code and Data Size: Current core subsystem library sizes are shown
13949 below. These are the code and data sizes for the acpica.lib
13950 produced by the Microsoft Visual C++ 6.0 compiler, and these
13951 values do not include any ACPI driver or OSPM code. The debug
13952 version of the code includes the debug output trace mechanism and
13953 has a much larger code and data size. Note that these values will
13954 vary depending on the efficiency of the compiler and the compiler
13955 options used during generation.
13958 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13959 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13961 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13962 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13967 Fixed an oops on module insertion/removal (Matthew Tippett)
13969 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
13971 (2.5) Replace pr_debug (Randy Dunlap)
13973 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
13975 (Both) Eliminate spawning of thread from timer callback, in favor
13978 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
13980 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
13982 (Both) Add missing statics to button.c (Pavel Machek)
13984 Several changes have been made to the source code translation
13985 utility that generates the Linux Code in order to make the code
13988 All typedefs on structs and unions have been removed in keeping
13989 with the Linux coding style.
13991 Removed the non-Linux SourceSafe module revision number from each
13994 Completed major overhaul of symbols to be lowercased for linux.
13995 Doubled the number of symbols that are lowercased.
13997 Fixed a problem where identifiers within procedure headers and
13998 within quotes were not fully lower cased (they were left with a
14001 Some C macros whose only purpose is to allow the generation of 16-
14002 bit code are now completely removed in the Linux code, increasing
14003 readability and maintainability.
14005 ----------------------------------------
14007 12 December 2002. Summary of changes for version 20021212.
14010 1) ACPI CA Core Subsystem:
14012 Fixed a problem where the creation of a zero-length AML Buffer
14013 would cause a fault.
14015 Fixed a problem where a Buffer object that pointed to a static AML
14016 buffer (in an ACPI table) could inadvertently be deleted, causing
14019 Fixed a problem where a user buffer (passed in to the external
14020 ACPI CA interfaces) could be overwritten if the buffer was too
14021 small to complete the operation, causing memory corruption.
14023 Fixed a problem in the Buffer-to-String conversion code where a
14024 string of length one was always returned, regardless of the size
14025 of the input Buffer object.
14027 Removed the NATIVE_CHAR data type across the entire source due to
14028 lack of need and lack of consistent use.
14030 Code and Data Size: Current core subsystem library sizes are shown
14031 below. These are the code and data sizes for the acpica.lib
14032 produced by the Microsoft Visual C++ 6.0 compiler, and these
14033 values do not include any ACPI driver or OSPM code. The debug
14034 version of the code includes the debug output trace mechanism and
14035 has a much larger code and data size. Note that these values will
14036 vary depending on the efficiency of the compiler and the compiler
14037 options used during generation.
14040 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
14041 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
14043 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
14044 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
14047 ----------------------------------------
14048 05 December 2002. Summary of changes for version 20021205.
14050 1) ACPI CA Core Subsystem:
14052 Fixed a problem where a store to a String or Buffer object could
14053 cause corruption of the DSDT if the object type being stored was
14054 the same as the target object type and the length of the object
14055 being stored was equal to or smaller than the original (existing)
14056 target object. This was seen to cause corruption of battery _BIF
14057 buffers if the _BIF method modified the buffer on the fly.
14059 Fixed a problem where an internal error was generated if a control
14060 method invocation was used in an OperationRegion, Buffer, or
14061 Package declaration. This was caused by the deferred parsing of
14062 the control method and thus the deferred creation of the internal
14063 method object. The solution to this problem was to create the
14064 internal method object at the moment the method is encountered in
14065 the first pass - so that subsequent references to the method will
14066 able to obtain the required parameter count and thus properly
14067 parse the method invocation. This problem presented itself as an
14068 AE_AML_INTERNAL during the pass 1 parse phase during table load.
14070 Fixed a problem where the internal String object copy routine did
14071 not always allocate sufficient memory for the target String object
14072 and caused memory corruption. This problem was seen to cause
14073 "Allocation already present in list!" errors as memory allocation
14076 Implemented a new function for the evaluation of namespace objects
14077 that allows the specification of the allowable return object
14078 types. This simplifies a lot of code that checks for a return
14079 object of one or more specific objects returned from the
14080 evaluation (such as _STA, etc.) This may become and external
14081 function if it would be useful to ACPI-related drivers.
14083 Completed another round of prefixing #defines with "ACPI_" for
14086 Completed additional code restructuring to allow more modular
14087 linking for iASL compiler and AcpiExec. Several files were split
14088 creating new files. New files: nsparse.c dsinit.c evgpe.c
14090 Implemented an abort mechanism to terminate an executing control
14091 method via the AML debugger. This feature is useful for debugging
14092 control methods that depend (wait) for specific hardware
14095 Code and Data Size: Current core subsystem library sizes are shown
14096 below. These are the code and data sizes for the acpica.lib
14097 produced by the Microsoft Visual C++ 6.0 compiler, and these
14098 values do not include any ACPI driver or OSPM code. The debug
14099 version of the code includes the debug output trace mechanism and
14100 has a much larger code and data size. Note that these values will
14101 vary depending on the efficiency of the compiler and the compiler
14102 options used during generation.
14105 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14106 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
14108 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
14109 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
14112 2) iASL Compiler/Disassembler
14114 Fixed a compiler code generation problem for "Interrupt" Resource
14115 Descriptors. If specified in the ASL, the optional "Resource
14116 Source Index" and "Resource Source" fields were not inserted into
14117 the correct location within the AML resource descriptor, creating
14118 an invalid descriptor.
14120 Fixed a disassembler problem for "Interrupt" resource descriptors.
14121 The optional "Resource Source Index" and "Resource Source" fields
14125 ----------------------------------------
14126 22 November 2002. Summary of changes for version 20021122.
14129 1) ACPI CA Core Subsystem:
14131 Fixed a reported problem where an object stored to a Method Local
14132 or Arg was not copied to a new object during the store - the
14133 object pointer was simply copied to the Local/Arg. This caused
14134 all subsequent operations on the Local/Arg to also affect the
14135 original source of the store operation.
14137 Fixed a problem where a store operation to a Method Local or Arg
14138 was not completed properly if the Local/Arg contained a reference
14139 (from RefOf) to a named field. The general-purpose store-to-
14140 namespace-node code is now used so that this case is handled
14143 Fixed a problem where the internal object copy routine would cause
14144 a protection fault if the object being copied was a Package and
14145 contained either 1) a NULL package element or 2) a nested sub-
14148 Fixed a problem with the GPE initialization that resulted from an
14149 ambiguity in the ACPI specification. One section of the
14150 specification states that both the address and length of the GPE
14151 block must be zero if the block is not supported. Another section
14152 implies that only the address need be zero if the block is not
14153 supported. The code has been changed so that both the address and
14154 the length must be non-zero to indicate a valid GPE block (i.e.,
14155 if either the address or the length is zero, the GPE block is
14158 Code and Data Size: Current core subsystem library sizes are shown
14159 below. These are the code and data sizes for the acpica.lib
14160 produced by the Microsoft Visual C++ 6.0 compiler, and these
14161 values do not include any ACPI driver or OSPM code. The debug
14162 version of the code includes the debug output trace mechanism and
14163 has a much larger code and data size. Note that these values will
14164 vary depending on the efficiency of the compiler and the compiler
14165 options used during generation.
14168 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
14169 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
14171 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14172 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
14177 Cleaned up EC driver. Exported an external EC read/write
14178 interface. By going through this, other drivers (most notably
14179 sonypi) will be able to serialize access to the EC.
14182 3) iASL Compiler/Disassembler
14184 Implemented support to optionally generate include files for both
14185 ASM and C (the -i switch). This simplifies BIOS development by
14186 automatically creating include files that contain external
14187 declarations for the symbols that are created within the
14189 (optionally generated) ASM and C AML source files.
14192 ----------------------------------------
14193 15 November 2002. Summary of changes for version 20021115.
14195 1) ACPI CA Core Subsystem:
14197 Fixed a memory leak problem where an error during resolution of
14199 method arguments during a method invocation from another method
14200 failed to cleanup properly by deleting all successfully resolved
14203 Fixed a problem where the target of the Index() operator was not
14204 correctly constructed if the source object was a package. This
14205 problem has not been detected because the use of a target operand
14206 with Index() is very rare.
14208 Fixed a problem with the Index() operator where an attempt was
14209 made to delete the operand objects twice.
14211 Fixed a problem where an attempt was made to delete an operand
14212 twice during execution of the CondRefOf() operator if the target
14215 Implemented the first of perhaps several internal create object
14216 functions that create and initialize a specific object type. This
14217 consolidates duplicated code wherever the object is created, thus
14218 shrinking the size of the subsystem.
14220 Implemented improved debug/error messages for errors that occur
14221 during nested method invocations. All executing method pathnames
14222 are displayed (with the error) as the call stack is unwound - thus
14225 Fixed a problem introduced in the 10/02 release that caused
14226 premature deletion of a buffer object if a buffer was used as an
14227 ASL operand where an integer operand is required (Thus causing an
14228 implicit object conversion from Buffer to Integer.) The change in
14229 the 10/02 release was attempting to fix a memory leak (albeit
14232 Code and Data Size: Current core subsystem library sizes are shown
14233 below. These are the code and data sizes for the acpica.lib
14234 produced by the Microsoft Visual C++ 6.0 compiler, and these
14235 values do not include any ACPI driver or OSPM code. The debug
14236 version of the code includes the debug output trace mechanism and
14237 has a much larger code and data size. Note that these values will
14238 vary depending on the efficiency of the compiler and the compiler
14239 options used during generation.
14242 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
14243 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
14245 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
14246 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
14251 Changed the implementation of the ACPI semaphores to use down()
14252 instead of down_interruptable(). It is important that the
14253 execution of ACPI control methods not be interrupted by signals.
14254 Methods must run to completion, or the system may be left in an
14255 unknown/unstable state.
14257 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14261 3) iASL Compiler/Disassembler
14264 Changed the default location of output files. All output files
14265 are now placed in the current directory by default instead of in
14266 the directory of the source file. This change may affect some
14267 existing makefiles, but it brings the behavior of the compiler in
14268 line with other similar tools. The location of the output files
14269 can be overridden with the -p command line switch.
14272 ----------------------------------------
14273 11 November 2002. Summary of changes for version 20021111.
14276 0) ACPI Specification 2.0B is released and is now available at:
14277 http://www.acpi.info/index.html
14280 1) ACPI CA Core Subsystem:
14282 Implemented support for the ACPI 2.0 SMBus Operation Regions.
14283 This includes the early detection and handoff of the request to
14284 the SMBus region handler (avoiding all of the complex field
14285 support code), and support for the bidirectional return packet
14286 from an SMBus write operation. This paves the way for the
14287 development of SMBus drivers in each host operating system.
14289 Fixed a problem where the semaphore WAIT_FOREVER constant was
14290 defined as 32 bits, but must be 16 bits according to the ACPI
14291 specification. This had the side effect of causing ASL
14292 Mutex/Event timeouts even though the ASL code requested a wait
14293 forever. Changed all internal references to the ACPI timeout
14294 parameter to 16 bits to prevent future problems. Changed the name
14295 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14297 Code and Data Size: Current core subsystem library sizes are shown
14298 below. These are the code and data sizes for the acpica.lib
14299 produced by the Microsoft Visual C++ 6.0 compiler, and these
14300 values do not include any ACPI driver or OSPM code. The debug
14301 version of the code includes the debug output trace mechanism and
14302 has a much larger code and data size. Note that these values will
14303 vary depending on the efficiency of the compiler and the compiler
14304 options used during generation.
14307 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14308 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
14310 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
14311 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
14316 Module loading/unloading fixes (John Cagle)
14319 3) iASL Compiler/Disassembler
14321 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14323 Implemented support for the disassembly of all SMBus protocol
14324 keywords (SMBQuick, SMBWord, etc.)
14326 ----------------------------------------
14327 01 November 2002. Summary of changes for version 20021101.
14330 1) ACPI CA Core Subsystem:
14332 Fixed a problem where platforms that have a GPE1 block but no GPE0
14333 block were not handled correctly. This resulted in a "GPE
14334 overlap" error message. GPE0 is no longer required.
14336 Removed code added in the previous release that inserted nodes
14337 into the namespace in alphabetical order. This caused some side-
14338 effects on various machines. The root cause of the problem is
14339 still under investigation since in theory, the internal ordering
14340 of the namespace nodes should not matter.
14343 Enhanced error reporting for the case where a named object is not
14344 found during control method execution. The full ACPI namepath
14345 (name reference) of the object that was not found is displayed in
14348 Note: as a result of the overhaul of the namespace object types in
14349 the previous release, the namespace nodes for the predefined
14350 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14351 instead of ACPI_TYPE_ANY. This simplifies the namespace
14352 management code but may affect code that walks the namespace tree
14353 looking for specific object types.
14355 Code and Data Size: Current core subsystem library sizes are shown
14356 below. These are the code and data sizes for the acpica.lib
14357 produced by the Microsoft Visual C++ 6.0 compiler, and these
14358 values do not include any ACPI driver or OSPM code. The debug
14359 version of the code includes the debug output trace mechanism and
14360 has a much larger code and data size. Note that these values will
14361 vary depending on the efficiency of the compiler and the compiler
14362 options used during generation.
14365 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
14366 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
14368 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14369 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
14374 Fixed a problem introduced in the previous release where the
14375 Processor and Thermal objects were not recognized and installed in
14376 /proc. This was related to the scope type change described above.
14379 3) iASL Compiler/Disassembler
14381 Implemented the -g option to get all of the required ACPI tables
14382 from the registry and save them to files (Windows version of the
14383 compiler only.) The required tables are the FADT, FACS, and DSDT.
14385 Added ACPI table checksum validation during table disassembly in
14386 order to catch corrupted tables.
14389 ----------------------------------------
14390 22 October 2002. Summary of changes for version 20021022.
14392 1) ACPI CA Core Subsystem:
14394 Implemented a restriction on the Scope operator that the target
14395 must already exist in the namespace at the time the operator is
14396 encountered (during table load or method execution). In other
14397 words, forward references are not allowed and Scope() cannot
14398 create a new object. This changes the previous behavior where the
14399 interpreter would create the name if not found. This new behavior
14400 correctly enables the search-to-root algorithm during namespace
14401 lookup of the target name. Because of this upsearch, this fixes
14402 the known Compaq _SB_.OKEC problem and makes both the AML
14403 interpreter and iASL compiler compatible with other ACPI
14406 Completed a major overhaul of the internal ACPI object types for
14407 the ACPI Namespace and the associated operand objects. Many of
14408 these types had become obsolete with the introduction of the two-
14409 pass namespace load. This cleanup simplifies the code and makes
14410 the entire namespace load mechanism much clearer and easier to
14413 Improved debug output for tracking scope opening/closing to help
14414 diagnose scoping issues. The old scope name as well as the new
14415 scope name are displayed. Also improved error messages for
14416 problems with ASL Mutex objects and error messages for GPE
14419 Cleaned up the namespace dump code, removed obsolete code.
14421 All string output (for all namespace/object dumps) now uses the
14422 common ACPI string output procedure which handles escapes properly
14423 and does not emit non-printable characters.
14425 Fixed some issues with constants in the 64-bit version of the
14426 local C library (utclib.c)
14431 EC Driver: No longer attempts to acquire the Global Lock at
14435 3) iASL Compiler/Disassembler
14437 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
14438 2 opcodes outside of a control method. This means that the
14439 "executable" operators (versus the "namespace" operators) cannot
14440 be used at the table level; they can only be used within a control
14443 Implemented the restriction on the Scope() operator where the
14444 target must already exist in the namespace at the time the
14445 operator is encountered (during ASL compilation). In other words,
14446 forward references are not allowed and Scope() cannot create a new
14447 object. This makes the iASL compiler compatible with other ACPI
14448 implementations and makes the Scope() implementation adhere to the
14449 ACPI specification.
14451 Fixed a problem where namepath optimization for the Alias operator
14452 was optimizing the wrong path (of the two namepaths.) This caused
14453 a "Missing alias link" error message.
14455 Fixed a problem where an "unknown reserved name" warning could be
14456 incorrectly generated for names like "_SB" when the trailing
14457 underscore is not used in the original ASL.
14459 Fixed a problem where the reserved name check did not handle
14460 NamePaths with multiple NameSegs correctly. The first nameseg of
14461 the NamePath was examined instead of the last NameSeg.
14464 ----------------------------------------
14466 02 October 2002. Summary of changes for this release.
14469 1) ACPI CA Core Subsystem version 20021002:
14471 Fixed a problem where a store/copy of a string to an existing
14472 string did not always set the string length properly in the String
14475 Fixed a reported problem with the ToString operator where the
14476 behavior was identical to the ToHexString operator instead of just
14477 simply converting a raw buffer to a string data type.
14479 Fixed a problem where CopyObject and the other "explicit"
14480 conversion operators were not updating the internal namespace node
14481 type as part of the store operation.
14483 Fixed a memory leak during implicit source operand conversion
14484 where the original object was not deleted if it was converted to a
14485 new object of a different type.
14487 Enhanced error messages for all problems associated with namespace
14488 lookups. Common procedure generates and prints the lookup name as
14489 well as the formatted status.
14491 Completed implementation of a new design for the Alias support
14492 within the namespace. The existing design did not handle the case
14493 where a new object was assigned to one of the two names due to the
14494 use of an explicit conversion operator, resulting in the two names
14495 pointing to two different objects. The new design simply points
14496 the Alias name to the original name node - not to the object.
14497 This results in a level of indirection that must be handled in the
14498 name resolution mechanism.
14500 Code and Data Size: Current core subsystem library sizes are shown
14501 below. These are the code and data sizes for the acpica.lib
14502 produced by the Microsoft Visual C++ 6.0 compiler, and these
14503 values do not include any ACPI driver or OSPM code. The debug
14504 version of the code includes the debug output trace mechanism and
14505 has a larger code and data size. Note that these values will vary
14506 depending on the efficiency of the compiler and the compiler
14507 options used during generation.
14510 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
14511 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
14513 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
14514 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
14519 Initialize thermal driver's timer before it is used. (Knut
14522 Allow handling negative celsius values. (Kochi Takayoshi)
14524 Fix thermal management and make trip points. R/W (Pavel Machek)
14526 Fix /proc/acpi/sleep. (P. Christeas)
14528 IA64 fixes. (David Mosberger)
14530 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14532 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14536 3) iASL Compiler/Disassembler
14538 Clarified some warning/error messages.
14541 ----------------------------------------
14542 18 September 2002. Summary of changes for this release.
14545 1) ACPI CA Core Subsystem version 20020918:
14547 Fixed a reported problem with reference chaining (via the Index()
14548 and RefOf() operators) in the ObjectType() and SizeOf() operators.
14549 The definition of these operators includes the dereferencing of
14550 all chained references to return information on the base object.
14552 Fixed a problem with stores to indexed package elements - the
14553 existing code would not complete the store if an "implicit
14554 conversion" was not performed. In other words, if the existing
14555 object (package element) was to be replaced completely, the code
14556 didn't handle this case.
14558 Relaxed typechecking on the ASL "Scope" operator to allow the
14559 target name to refer to an object of type Integer, String, or
14560 Buffer, in addition to the scoping object types (Device,
14561 predefined Scopes, Processor, PowerResource, and ThermalZone.)
14562 This allows existing AML code that has workarounds for a bug in
14563 Windows to function properly. A warning is issued, however. This
14564 affects both the AML interpreter and the iASL compiler. Below is
14565 an example of this type of ASL code:
14571 Fixed some reported problems with 64-bit integer support in the
14572 local implementation of C library functions (clib.c)
14577 Use ACPI fix map region instead of IOAPIC region, since it is
14578 undefined in non-SMP.
14580 Ensure that the SCI has the proper polarity and trigger, even on
14581 systems that do not have an interrupt override entry in the MADT.
14583 2.5 big driver reorganization (Pat Mochel)
14585 Use early table mapping code from acpitable.c (Andi Kleen)
14587 New blacklist entries (Andi Kleen)
14589 Blacklist improvements. Split blacklist code out into a separate
14590 file. Move checking the blacklist to very early. Previously, we
14591 would use ACPI tables, and then halfway through init, check the
14592 blacklist -- too late. Now, it's early enough to completely fall-
14596 3) iASL Compiler/Disassembler version 20020918:
14598 Fixed a problem where the typechecking code didn't know that an
14599 alias could point to a method. In other words, aliases were not
14600 being dereferenced during typechecking.
14603 ----------------------------------------
14604 29 August 2002. Summary of changes for this release.
14606 1) ACPI CA Core Subsystem Version 20020829:
14608 If the target of a Scope() operator already exists, it must be an
14609 object type that actually opens a scope -- such as a Device,
14610 Method, Scope, etc. This is a fatal runtime error. Similar error
14611 check has been added to the iASL compiler also.
14613 Tightened up the namespace load to disallow multiple names in the
14614 same scope. This previously was allowed if both objects were of
14615 the same type. (i.e., a lookup was the same as entering a new
14621 Ensure that the ACPI interrupt has the proper trigger and
14624 local_irq_disable is extraneous. (Matthew Wilcox)
14626 Make "acpi=off" actually do what it says, and not use the ACPI
14627 interpreter *or* the tables.
14629 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14633 3) iASL Compiler/Disassembler Version 20020829:
14635 Implemented namepath optimization for name declarations. For
14636 example, a declaration like "Method (\_SB_.ABCD)" would get
14637 optimized to "Method (ABCD)" if the declaration is within the
14638 \_SB_ scope. This optimization is in addition to the named
14639 reference path optimization first released in the previous
14640 version. This would seem to complete all possible optimizations
14641 for namepaths within the ASL/AML.
14643 If the target of a Scope() operator already exists, it must be an
14644 object type that actually opens a scope -- such as a Device,
14645 Method, Scope, etc.
14647 Implemented a check and warning for unreachable code in the same
14648 block below a Return() statement.
14650 Fixed a problem where the listing file was not generated if the
14651 compiler aborted if the maximum error count was exceeded (200).
14653 Fixed a problem where the typechecking of method return values was
14654 broken. This includes the check for a return value when the
14655 method is invoked as a TermArg (a return value is expected.)
14657 Fixed a reported problem where EOF conditions during a quoted
14658 string or comment caused a fault.
14661 ----------------------------------------
14662 15 August 2002. Summary of changes for this release.
14664 1) ACPI CA Core Subsystem Version 20020815:
14666 Fixed a reported problem where a Store to a method argument that
14667 contains a reference did not perform the indirect store correctly.
14668 This problem was created during the conversion to the new
14669 reference object model - the indirect store to a method argument
14670 code was not updated to reflect the new model.
14672 Reworked the ACPI mode change code to better conform to ACPI 2.0,
14673 handle corner cases, and improve code legibility (Kochi Takayoshi)
14675 Fixed a problem with the pathname parsing for the carat (^)
14676 prefix. The heavy use of the carat operator by the new namepath
14677 optimization in the iASL compiler uncovered a problem with the AML
14678 interpreter handling of this prefix. In the case where one or
14679 more carats precede a single nameseg, the nameseg was treated as
14680 standalone and the search rule (to root) was inadvertently
14681 applied. This could cause both the iASL compiler and the
14682 interpreter to find the wrong object or to miss the error that
14683 should occur if the object does not exist at that exact pathname.
14685 Found and fixed the problem where the HP Pavilion DSDT would not
14686 load. This was a relatively minor tweak to the table loading code
14687 (a problem caused by the unexpected encounter with a method
14688 invocation not within a control method), but it does not solve the
14689 overall issue of the execution of AML code at the table level.
14690 This investigation is still ongoing.
14692 Code and Data Size: Current core subsystem library sizes are shown
14693 below. These are the code and data sizes for the acpica.lib
14694 produced by the Microsoft Visual C++ 6.0 compiler, and these
14695 values do not include any ACPI driver or OSPM code. The debug
14696 version of the code includes the debug output trace mechanism and
14697 has a larger code and data size. Note that these values will vary
14698 depending on the efficiency of the compiler and the compiler
14699 options used during generation.
14702 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
14703 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
14705 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
14706 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
14711 Remove redundant slab.h include (Brad Hards)
14713 Fix several bugs in thermal.c (Herbert Nachtnebel)
14715 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14717 Change acpi_system_suspend to use updated irq functions (Pavel
14720 Export acpi_get_firmware_table (Matthew Wilcox)
14722 Use proper root proc entry for ACPI (Kochi Takayoshi)
14724 Fix early-boot table parsing (Bjorn Helgaas)
14727 3) iASL Compiler/Disassembler
14729 Reworked the compiler options to make them more consistent and to
14730 use two-letter options where appropriate. We were running out of
14731 sensible letters. This may break some makefiles, so check the
14732 current options list by invoking the compiler with no parameters.
14734 Completed the design and implementation of the ASL namepath
14735 optimization option for the compiler. This option optimizes all
14736 references to named objects to the shortest possible path. The
14737 first attempt tries to utilize a single nameseg (4 characters) and
14738 the "search-to-root" algorithm used by the interpreter. If that
14739 cannot be used (because either the name is not in the search path
14740 or there is a conflict with another object with the same name),
14741 the pathname is optimized using the carat prefix (usually a
14742 shorter string than specifying the entire path from the root.)
14744 Implemented support to obtain the DSDT from the Windows registry
14745 (when the disassembly option is specified with no input file).
14746 Added this code as the implementation for AcpiOsTableOverride in
14747 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
14748 utility) to scan memory for the DSDT to the AcpiOsTableOverride
14749 function in the DOS OSL to make the disassembler truly OS
14752 Implemented a new option to disassemble and compile in one step.
14753 When used without an input filename, this option will grab the
14754 DSDT from the local machine, disassemble it, and compile it in one
14757 Added a warning message for invalid escapes (a backslash followed
14758 by any character other than the allowable escapes). This catches
14759 the quoted string error "\_SB_" (which should be "\\_SB_" ).
14761 Also, there are numerous instances in the ACPI specification where
14764 Added a compiler option to disable all optimizations. This is
14765 basically the "compatibility mode" because by using this option,
14766 the AML code will come out exactly the same as other ASL
14769 Added error messages for incorrectly ordered dependent resource
14770 functions. This includes: missing EndDependentFn macro at end of
14771 dependent resource list, nested dependent function macros (both
14772 start and end), and missing StartDependentFn macro. These are
14773 common errors that should be caught at compile time.
14775 Implemented _OSI support for the disassembler and compiler. _OSI
14776 must be included in the namespace for proper disassembly (because
14777 the disassembler must know the number of arguments.)
14779 Added an "optimization" message type that is optional (off by
14780 default). This message is used for all optimizations - including
14781 constant folding, integer optimization, and namepath optimization.
14783 ----------------------------------------
14784 25 July 2002. Summary of changes for this release.
14787 1) ACPI CA Core Subsystem Version 20020725:
14789 The AML Disassembler has been enhanced to produce compilable ASL
14790 code and has been integrated into the iASL compiler (see below) as
14791 well as the single-step disassembly for the AML debugger and the
14792 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
14793 resource templates and macros are fully supported. The
14794 disassembler has been tested on over 30 different AML files,
14795 producing identical AML when the resulting disassembled ASL file
14796 is recompiled with the same ASL compiler.
14798 Modified the Resource Manager to allow zero interrupts and zero
14799 dma channels during the GetCurrentResources call. This was
14800 causing problems on some platforms.
14802 Added the AcpiOsRedirectOutput interface to the OSL to simplify
14803 output redirection for the AcpiOsPrintf and AcpiOsVprintf
14806 Code and Data Size: Current core subsystem library sizes are shown
14807 below. These are the code and data sizes for the acpica.lib
14808 produced by the Microsoft Visual C++ 6.0 compiler, and these
14809 values do not include any ACPI driver or OSPM code. The debug
14810 version of the code includes the debug output trace mechanism and
14811 has a larger code and data size. Note that these values will vary
14812 depending on the efficiency of the compiler and the compiler
14813 options used during generation.
14816 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14817 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14819 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
14820 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
14825 Fixed a panic in the EC driver (Dominik Brodowski)
14827 Implemented checksum of the R/XSDT itself during Linux table scan
14833 The AML disassembler is integrated into the compiler. The "-d"
14834 option invokes the disassembler to completely disassemble an
14835 input AML file, producing as output a text ASL file with the
14836 extension ".dsl" (to avoid name collisions with existing .asl
14837 source files.) A future enhancement will allow the disassembler
14838 to obtain the BIOS DSDT from the registry under Windows.
14840 Fixed a problem with the VendorShort and VendorLong resource
14841 descriptors where an invalid AML sequence was created.
14843 Implemented a fix for BufferData term in the ASL parser. It was
14844 inadvertently defined twice, allowing invalid syntax to pass and
14845 causing reduction conflicts.
14847 Fixed a problem where the Ones opcode could get converted to a
14848 value of zero if "Ones" was used where a byte, word or dword value
14849 was expected. The 64-bit value is now truncated to the correct
14850 size with the correct value.
14854 ----------------------------------------
14855 02 July 2002. Summary of changes for this release.
14858 1) ACPI CA Core Subsystem Version 20020702:
14860 The Table Manager code has been restructured to add several new
14861 features. Tables that are not required by the core subsystem
14862 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
14863 validated in any way and are returned from AcpiGetFirmwareTable if
14864 requested. The AcpiOsTableOverride interface is now called for
14865 each table that is loaded by the subsystem in order to allow the
14866 host to override any table it chooses. Previously, only the DSDT
14867 could be overridden. Added one new files, tbrsdt.c and
14870 Fixed a problem with the conversion of internal package objects to
14871 external objects (when a package is returned from a control
14872 method.) The return buffer length was set to zero instead of the
14873 proper length of the package object.
14875 Fixed a reported problem with the use of the RefOf and DeRefOf
14876 operators when passing reference arguments to control methods. A
14877 new type of Reference object is used internally for references
14878 produced by the RefOf operator.
14880 Added additional error messages in the Resource Manager to explain
14881 AE_BAD_DATA errors when they occur during resource parsing.
14883 Split the AcpiEnableSubsystem into two primitives to enable a
14884 finer granularity initialization sequence. These two calls should
14885 be called in this order: AcpiEnableSubsystem (flags),
14886 AcpiInitializeObjects (flags). The flags parameter remains the
14892 Updated the ACPI utilities module to understand the new style of
14893 fully resolved package objects that are now returned from the core
14894 subsystem. This eliminates errors of the form:
14896 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
14897 acpi_utils-0430 [145] acpi_evaluate_reference:
14898 Invalid element in package (not a device reference)
14900 The method evaluation utility uses the new buffer allocation
14901 scheme instead of calling AcpiEvaluate Object twice.
14903 Added support for ECDT. This allows the use of the Embedded
14905 Controller before the namespace has been fully initialized, which
14906 is necessary for ACPI 2.0 support, and for some laptops to
14907 initialize properly. (Laptops using ECDT are still rare, so only
14908 limited testing was performed of the added functionality.)
14910 Fixed memory leaks in the EC driver.
14912 Eliminated a brittle code structure in acpi_bus_init().
14914 Eliminated the acpi_evaluate() helper function in utils.c. It is
14915 no longer needed since acpi_evaluate_object can optionally
14916 allocate memory for the return object.
14918 Implemented fix for keyboard hang when getting battery readings on
14919 some systems (Stephen White)
14921 PCI IRQ routing update (Dominik Brodowski)
14923 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
14926 ----------------------------------------
14927 11 June 2002. Summary of changes for this release.
14930 1) ACPI CA Core Subsystem Version 20020611:
14932 Fixed a reported problem where constants such as Zero and One
14933 appearing within _PRT packages were not handled correctly within
14934 the resource manager code. Originally reported against the ASL
14935 compiler because the code generator now optimizes integers to
14936 their minimal AML representation (i.e. AML constants if possible.)
14937 The _PRT code now handles all AML constant opcodes correctly
14938 (Zero, One, Ones, Revision).
14940 Fixed a problem with the Concatenate operator in the AML
14941 interpreter where a buffer result object was incorrectly marked as
14942 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
14944 All package sub-objects are now fully resolved before they are
14945 returned from the external ACPI interfaces. This means that name
14946 strings are resolved to object handles, and constant operators
14947 (Zero, One, Ones, Revision) are resolved to Integers.
14949 Implemented immediate resolution of the AML Constant opcodes
14950 (Zero, One, Ones, Revision) to Integer objects upon detection
14951 within the AML stream. This has simplified and reduced the
14952 generated code size of the subsystem by eliminating about 10
14953 switch statements for these constants (which previously were
14954 contained in Reference objects.) The complicating issues are that
14955 the Zero opcode is used as a "placeholder" for unspecified
14956 optional target operands and stores to constants are defined to be
14959 Code and Data Size: Current core subsystem library sizes are shown
14960 below. These are the code and data sizes for the acpica.lib
14961 produced by the Microsoft Visual C++ 6.0 compiler, and these
14962 values do not include any ACPI driver or OSPM code. The debug
14963 version of the code includes the debug output trace mechanism and
14964 has a larger code and data size. Note that these values will vary
14965 depending on the efficiency of the compiler and the compiler
14966 options used during generation.
14969 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14970 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14972 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14973 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14979 Added preliminary support for obtaining _TRA data for PCI root
14980 bridges (Bjorn Helgaas).
14983 3) iASL Compiler Version X2046:
14985 Fixed a problem where the "_DDN" reserved name was defined to be a
14986 control method with one argument. There are no arguments, and
14987 _DDN does not have to be a control method.
14989 Fixed a problem with the Linux version of the compiler where the
14990 source lines printed with error messages were the wrong lines.
14991 This turned out to be the "LF versus CR/LF" difference between
14992 Windows and Unix. This appears to be the longstanding issue
14993 concerning listing output and error messages.
14995 Fixed a problem with the Linux version of compiler where opcode
14996 names within error messages were wrong. This was caused by a
14997 slight difference in the output of the Flex tool on Linux versus
15000 Fixed a problem with the Linux compiler where the hex output files
15001 contained some garbage data caused by an internal buffer overrun.
15004 ----------------------------------------
15005 17 May 2002. Summary of changes for this release.
15008 1) ACPI CA Core Subsystem Version 20020517:
15010 Implemented a workaround to an BIOS bug discovered on the HP
15011 OmniBook where the FADT revision number and the table size are
15012 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
15013 behavior is to fallback to using only the ACPI 1.0 fields of the
15014 FADT if the table is too small to be a ACPI 2.0 table as claimed
15015 by the revision number. Although this is a BIOS bug, this is a
15016 case where the workaround is simple enough and with no side
15017 effects, so it seemed prudent to add it. A warning message is
15020 Implemented minimum size checks for the fixed-length ACPI tables -
15021 - the FADT and FACS, as well as consistency checks between the
15022 revision number and the table size.
15024 Fixed a reported problem in the table override support where the
15025 new table pointer was incorrectly treated as a physical address
15026 instead of a logical address.
15028 Eliminated the use of the AE_AML_ERROR exception and replaced it
15029 with more descriptive codes.
15031 Fixed a problem where an exception would occur if an ASL Field was
15032 defined with no named Field Units underneath it (used by some
15035 Code and Data Size: Current core subsystem library sizes are shown
15036 below. These are the code and data sizes for the acpica.lib
15037 produced by the Microsoft Visual C++ 6.0 compiler, and these
15038 values do not include any ACPI driver or OSPM code. The debug
15039 version of the code includes the debug output trace mechanism and
15040 has a larger code and data size. Note that these values will vary
15041 depending on the efficiency of the compiler and the compiler
15042 options used during generation.
15045 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
15046 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
15048 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
15049 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
15055 Much work done on ACPI init (MADT and PCI IRQ routing support).
15056 (Paul D. and Dominik Brodowski)
15058 Fix PCI IRQ-related panic on boot (Sam Revitch)
15060 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
15062 Fix "MHz" typo (Dominik Brodowski)
15064 Fix RTC year 2000 issue (Dominik Brodowski)
15066 Preclude multiple button proc entries (Eric Brunet)
15068 Moved arch-specific code out of include/platform/aclinux.h
15070 3) iASL Compiler Version X2044:
15072 Implemented error checking for the string used in the EISAID macro
15073 (Usually used in the definition of the _HID object.) The code now
15074 strictly enforces the PnP format - exactly 7 characters, 3
15075 uppercase letters and 4 hex digits.
15077 If a raw string is used in the definition of the _HID object
15078 (instead of the EISAID macro), the string must contain all
15079 alphanumeric characters (e.g., "*PNP0011" is not allowed because
15082 Implemented checking for invalid use of ACPI reserved names for
15083 most of the name creation operators (Name, Device, Event, Mutex,
15084 OperationRegion, PowerResource, Processor, and ThermalZone.)
15085 Previously, this check was only performed for control methods.
15087 Implemented an additional check on the Name operator to emit an
15088 error if a reserved name that must be implemented in ASL as a
15089 control method is used. We know that a reserved name must be a
15090 method if it is defined with input arguments.
15092 The warning emitted when a namespace object reference is not found
15093 during the cross reference phase has been changed into an error.
15094 The "External" directive should be used for names defined in other
15098 4) Tools and Utilities
15100 The 16-bit tools (adump16 and aexec16) have been regenerated and
15103 Fixed a problem with the output of both acpidump and adump16 where
15104 the indentation of closing parentheses and brackets was not
15106 aligned properly with the parent block.
15109 ----------------------------------------
15110 03 May 2002. Summary of changes for this release.
15113 1) ACPI CA Core Subsystem Version 20020503:
15115 Added support a new OSL interface that allows the host operating
15117 system software to override the DSDT found in the firmware -
15118 AcpiOsTableOverride. With this interface, the OSL can examine the
15119 version of the firmware DSDT and replace it with a different one
15122 Added new external interfaces for accessing ACPI registers from
15123 device drivers and other system software - AcpiGetRegister and
15124 AcpiSetRegister. This was simply an externalization of the
15125 existing AcpiHwBitRegister interfaces.
15127 Fixed a regression introduced in the previous build where the
15128 ASL/AML CreateField operator always returned an error,
15129 "destination must be a NS Node".
15131 Extended the maximum time (before failure) to successfully enable
15132 ACPI mode to 3 seconds.
15134 Code and Data Size: Current core subsystem library sizes are shown
15135 below. These are the code and data sizes for the acpica.lib
15136 produced by the Microsoft Visual C++ 6.0 compiler, and these
15137 values do not include any ACPI driver or OSPM code. The debug
15138 version of the code includes the debug output trace mechanism and
15139 has a larger code and data size. Note that these values will vary
15140 depending on the efficiency of the compiler and the compiler
15141 options used during generation.
15144 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
15145 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
15147 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
15148 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
15153 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
15154 free. While 3 out of 4 of our in-house systems work fine, the last
15155 one still hangs when testing the LAPIC timer.
15157 Renamed many files in 2.5 kernel release to omit "acpi_" from the
15160 Added warning on boot for Presario 711FR.
15162 Sleep improvements (Pavel Machek)
15164 ACPI can now be built without CONFIG_PCI enabled.
15166 IA64: Fixed memory map functions (JI Lee)
15169 3) iASL Compiler Version X2043:
15171 Added support to allow the compiler to be integrated into the MS
15172 VC++ development environment for one-button compilation of single
15173 files or entire projects -- with error-to-source-line mapping.
15175 Implemented support for compile-time constant folding for the
15176 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
15177 specification. This allows the ASL writer to use expressions
15178 instead of Integer/Buffer/String constants in terms that must
15179 evaluate to constants at compile time and will also simplify the
15180 emitted AML in any such sub-expressions that can be folded
15181 (evaluated at compile-time.) This increases the size of the
15182 compiler significantly because a portion of the ACPI CA AML
15183 interpreter is included within the compiler in order to pre-
15184 evaluate constant expressions.
15187 Fixed a problem with the "Unicode" ASL macro that caused the
15188 compiler to fault. (This macro is used in conjunction with the
15189 _STR reserved name.)
15191 Implemented an AML opcode optimization to use the Zero, One, and
15192 Ones opcodes where possible to further reduce the size of integer
15193 constants and thus reduce the overall size of the generated AML
15196 Implemented error checking for new reserved terms for ACPI version
15199 Implemented the -qr option to display the current list of ACPI
15200 reserved names known to the compiler.
15202 Implemented the -qc option to display the current list of ASL
15203 operators that are allowed within constant expressions and can
15204 therefore be folded at compile time if the operands are constants.
15209 Updated the Programmer's Reference for new interfaces, data types,
15210 and memory allocation model options.
15212 Updated the iASL Compiler User Reference to apply new format and
15213 add information about new features and options.
15215 ----------------------------------------
15216 19 April 2002. Summary of changes for this release.
15218 1) ACPI CA Core Subsystem Version 20020419:
15220 The source code base for the Core Subsystem has been completely
15221 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15222 versions. The Lint option files used are included in the
15223 /acpi/generate/lint directory.
15225 Implemented enhanced status/error checking across the entire
15226 Hardware manager subsystem. Any hardware errors (reported from
15227 the OSL) are now bubbled up and will abort a running control
15231 Fixed a problem where the per-ACPI-table integer width (32 or 64)
15232 was stored only with control method nodes, causing a fault when
15233 non-control method code was executed during table loading. The
15234 solution implemented uses a global variable to indicate table
15235 width across the entire ACPI subsystem. Therefore, ACPI CA does
15236 not support mixed integer widths across different ACPI tables
15239 Fixed a problem where NULL extended fields (X fields) in an ACPI
15240 2.0 ACPI FADT caused the table load to fail. Although the
15241 existing ACPI specification is a bit fuzzy on this topic, the new
15242 behavior is to fall back on a ACPI 1.0 field if the corresponding
15243 ACPI 2.0 X field is zero (even though the table revision indicates
15244 a full ACPI 2.0 table.) The ACPI specification will be updated to
15245 clarify this issue.
15247 Fixed a problem with the SystemMemory operation region handler
15248 where memory was always accessed byte-wise even if the AML-
15249 specified access width was larger than a byte. This caused
15250 problems on systems with memory-mapped I/O. Memory is now
15251 accessed with the width specified. On systems that do not support
15252 non-aligned transfers, a check is made to guarantee proper address
15253 alignment before proceeding in order to avoid an AML-caused
15254 alignment fault within the kernel.
15257 Fixed a problem with the ExtendedIrq resource where only one byte
15258 of the 4-byte Irq field was extracted.
15260 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
15261 function was out of date and required a rewrite.
15263 Code and Data Size: Current core subsystem library sizes are shown
15264 below. These are the code and data sizes for the acpica.lib
15265 produced by the Microsoft Visual C++ 6.0 compiler, and these
15266 values do not include any ACPI driver or OSPM code. The debug
15267 version of the code includes the debug output trace mechanism and
15268 has a larger code and data size. Note that these values will vary
15269 depending on the efficiency of the compiler and the compiler
15270 options used during generation.
15273 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
15274 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
15276 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
15277 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
15282 PCI IRQ routing fixes (Dominik Brodowski)
15285 3) iASL Compiler Version X2042:
15287 Implemented an additional compile-time error check for a field
15288 unit whose size + minimum access width would cause a run-time
15289 access beyond the end-of-region. Previously, only the field size
15290 itself was checked.
15292 The Core subsystem and iASL compiler now share a common parse
15293 object in preparation for compile-time evaluation of the type
15294 3/4/5 ASL operators.
15297 ----------------------------------------
15298 Summary of changes for this release: 03_29_02
15300 1) ACPI CA Core Subsystem Version 20020329:
15302 Implemented support for late evaluation of TermArg operands to
15303 Buffer and Package objects. This allows complex expressions to be
15304 used in the declarations of these object types.
15306 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
15307 1.0, if the field was larger than 32 bits, it was returned as a
15308 buffer - otherwise it was returned as an integer. In ACPI 2.0,
15309 the field is returned as a buffer only if the field is larger than
15310 64 bits. The TableRevision is now considered when making this
15311 conversion to avoid incompatibility with existing ASL code.
15313 Implemented logical addressing for AcpiOsGetRootPointer. This
15314 allows an RSDP with either a logical or physical address. With
15315 this support, the host OS can now override all ACPI tables with
15316 one logical RSDP. Includes implementation of "typed" pointer
15317 support to allow a common data type for both physical and logical
15318 pointers internally. This required a change to the
15319 AcpiOsGetRootPointer interface.
15321 Implemented the use of ACPI 2.0 Generic Address Structures for all
15322 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
15323 mapped I/O for these ACPI features.
15325 Initialization now ignores not only non-required tables (All
15326 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15327 not validate the table headers of unrecognized tables.
15329 Fixed a problem where a notify handler could only be
15330 installed/removed on an object of type Device. All "notify"
15332 objects are now supported -- Devices, Processor, Power, and
15335 Removed most verbosity from the ACPI_DB_INFO debug level. Only
15336 critical information is returned when this debug level is enabled.
15338 Code and Data Size: Current core subsystem library sizes are shown
15339 below. These are the code and data sizes for the acpica.lib
15340 produced by the Microsoft Visual C++ 6.0 compiler, and these
15341 values do not include any ACPI driver or OSPM code. The debug
15342 version of the code includes the debug output trace mechanism and
15343 has a larger code and data size. Note that these values will vary
15344 depending on the efficiency of the compiler and the compiler
15345 options used during generation.
15348 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
15349 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
15351 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
15352 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
15357 The processor driver (acpi_processor.c) now fully supports ACPI
15358 2.0-based processor performance control (e.g. Intel(R)
15359 SpeedStep(TM) technology) Note that older laptops that only have
15360 the Intel "applet" interface are not supported through this. The
15361 'limit' and 'performance' interface (/proc) are fully functional.
15362 [Note that basic policy for controlling performance state
15363 transitions will be included in the next version of ospmd.] The
15364 idle handler was modified to more aggressively use C2, and PIIX4
15365 errata handling underwent a complete overhaul (big thanks to
15366 Dominik Brodowski).
15368 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15369 based devices in the ACPI namespace are now dynamically bound
15370 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15371 This allows, among other things, ACPI to resolve bus numbers for
15372 subordinate PCI bridges.
15374 Enhanced PCI IRQ routing to get the proper bus number for _PRT
15375 entries defined underneath PCI bridges.
15377 Added IBM 600E to bad bios list due to invalid _ADR value for
15378 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15380 In the process of adding full MADT support (e.g. IOAPIC) for IA32
15381 (acpi.c, mpparse.c) -- stay tuned.
15383 Added back visual differentiation between fixed-feature and
15384 control-method buttons in dmesg. Buttons are also subtyped (e.g.
15385 button/power/PWRF) to simplify button identification.
15387 We no longer use -Wno-unused when compiling debug. Please ignore
15388 any "_THIS_MODULE defined but not used" messages.
15390 Can now shut down the system using "magic sysrq" key.
15393 3) iASL Compiler version 2041:
15395 Fixed a problem where conversion errors for hex/octal/decimal
15396 constants were not reported.
15398 Implemented a fix for the General Register template Address field.
15399 This field was 8 bits when it should be 64.
15401 Fixed a problem where errors/warnings were no longer being emitted
15402 within the listing output file.
15404 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15405 exactly 4 characters, alphanumeric only.
15410 ----------------------------------------
15411 Summary of changes for this release: 03_08_02
15414 1) ACPI CA Core Subsystem Version 20020308:
15416 Fixed a problem with AML Fields where the use of the "AccessAny"
15417 keyword could cause an interpreter error due to attempting to read
15418 or write beyond the end of the parent Operation Region.
15420 Fixed a problem in the SystemMemory Operation Region handler where
15421 an attempt was made to map memory beyond the end of the region.
15422 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15423 errors on some Linux systems.
15425 Fixed a problem where the interpreter/namespace "search to root"
15426 algorithm was not functioning for some object types. Relaxed the
15427 internal restriction on the search to allow upsearches for all
15428 external object types as well as most internal types.
15433 We now use safe_halt() macro versus individual calls to sti | hlt.
15435 Writing to the processor limit interface should now work. "echo 1"
15436 will increase the limit, 2 will decrease, and 0 will reset to the
15443 Fixed segfault on Linux version.
15446 ----------------------------------------
15447 Summary of changes for this release: 02_25_02
15449 1) ACPI CA Core Subsystem:
15452 Fixed a problem where the GPE bit masks were not initialized
15453 properly, causing erratic GPE behavior.
15455 Implemented limited support for multiple calling conventions. The
15456 code can be generated with either the VPL (variable parameter
15457 list, or "C") convention, or the FPL (fixed parameter list, or
15458 "Pascal") convention. The core subsystem is about 3.4% smaller
15459 when generated with FPL.
15464 Re-add some /proc/acpi/event functionality that was lost during
15467 Resolved issue with /proc events for fixed-feature buttons showing
15468 up as the system device.
15470 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15472 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15474 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15476 Fixed limit interface & usage to fix bugs with passive cooling
15479 Restructured PRT support.
15482 ----------------------------------------
15483 Summary of changes for this label: 02_14_02
15486 1) ACPI CA Core Subsystem:
15488 Implemented support in AcpiLoadTable to allow loading of FACS and
15491 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15492 been removed. All 64-bit platforms should be migrated to the ACPI
15493 2.0 tables. The actbl71.h header has been removed from the source
15496 All C macros defined within the subsystem have been prefixed with
15497 "ACPI_" to avoid collision with other system include files.
15499 Removed the return value for the two AcpiOsPrint interfaces, since
15500 it is never used and causes lint warnings for ignoring the return
15503 Added error checking to all internal mutex acquire and release
15504 calls. Although a failure from one of these interfaces is
15505 probably a fatal system error, these checks will cause the
15506 immediate abort of the currently executing method or interface.
15508 Fixed a problem where the AcpiSetCurrentResources interface could
15509 fault. This was a side effect of the deployment of the new memory
15512 Fixed a couple of problems with the Global Lock support introduced
15513 in the last major build. The "common" (1.0/2.0) internal FACS was
15514 being overwritten with the FACS signature and clobbering the
15515 Global Lock pointer. Also, the actual firmware FACS was being
15516 unmapped after construction of the "common" FACS, preventing
15517 access to the actual Global Lock field within it. The "common"
15518 internal FACS is no longer installed as an actual ACPI table; it
15519 is used simply as a global.
15521 Code and Data Size: Current core subsystem library sizes are shown
15522 below. These are the code and data sizes for the acpica.lib
15523 produced by the Microsoft Visual C++ 6.0 compiler, and these
15524 values do not include any ACPI driver or OSPM code. The debug
15525 version of the code includes the debug output trace mechanism and
15526 has a larger code and data size. Note that these values will vary
15527 depending on the efficiency of the compiler and the compiler
15528 options used during generation.
15530 Previous Release (02_07_01)
15531 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
15532 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
15534 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
15535 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
15540 Updated Linux-specific code for core macro and OSL interface
15541 changes described above.
15543 Improved /proc/acpi/event. It now can be opened only once and has
15544 proper poll functionality.
15546 Fixed and restructured power management (acpi_bus).
15548 Only create /proc "view by type" when devices of that class exist.
15550 Fixed "charging/discharging" bug (and others) in acpi_battery.
15552 Improved thermal zone code.
15555 3) ASL Compiler, version X2039:
15558 Implemented the new compiler restriction on ASL String hex/octal
15559 escapes to non-null, ASCII values. An error results if an invalid
15560 value is used. (This will require an ACPI 2.0 specification
15563 AML object labels that are output to the optional C and ASM source
15564 are now prefixed with both the ACPI table signature and table ID
15565 to help guarantee uniqueness within a large BIOS project.
15568 ----------------------------------------
15569 Summary of changes for this label: 02_01_02
15571 1) ACPI CA Core Subsystem:
15573 ACPI 2.0 support is complete in the entire Core Subsystem and the
15574 ASL compiler. All new ACPI 2.0 operators are implemented and all
15575 other changes for ACPI 2.0 support are complete. With
15576 simultaneous code and data optimizations throughout the subsystem,
15577 ACPI 2.0 support has been implemented with almost no additional
15578 cost in terms of code and data size.
15580 Implemented a new mechanism for allocation of return buffers. If
15581 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15582 be allocated on behalf of the caller. Consolidated all return
15583 buffer validation and allocation to a common procedure. Return
15584 buffers will be allocated via the primary OSL allocation interface
15585 since it appears that a separate pool is not needed by most users.
15586 If a separate pool is required for these buffers, the caller can
15587 still use the original mechanism and pre-allocate the buffer(s).
15589 Implemented support for string operands within the DerefOf
15592 Restructured the Hardware and Event managers to be table driven,
15593 simplifying the source code and reducing the amount of generated
15596 Split the common read/write low-level ACPI register bitfield
15597 procedure into a separate read and write, simplifying the code
15600 Obsoleted the AcpiOsCallocate OSL interface. This interface was
15601 used only a handful of times and didn't have enough critical mass
15602 for a separate interface. Replaced with a common calloc procedure
15605 Fixed a reported problem with the GPE number mapping mechanism
15606 that allows GPE1 numbers to be non-contiguous with GPE0.
15607 Reorganized the GPE information and shrunk a large array that was
15608 originally large enough to hold info for all possible GPEs (256)
15609 to simply large enough to hold all GPEs up to the largest GPE
15610 number on the machine.
15612 Fixed a reported problem with resource structure alignment on 64-
15615 Changed the AcpiEnableEvent and AcpiDisableEvent external
15616 interfaces to not require any flags for the common case of
15617 enabling/disabling a GPE.
15619 Implemented support to allow a "Notify" on a Processor object.
15621 Most TBDs in comments within the source code have been resolved
15625 Fixed a problem in the interpreter where a standalone parent
15626 prefix (^) was not handled correctly in the interpreter and
15629 Removed obsolete and unnecessary GPE save/restore code.
15631 Implemented Field support in the ASL Load operator. This allows a
15632 table to be loaded from a named field, in addition to loading a
15633 table directly from an Operation Region.
15635 Implemented timeout and handle support in the external Global Lock
15638 Fixed a problem in the AcpiDump utility where pathnames were no
15639 longer being generated correctly during the dump of named objects.
15641 Modified the AML debugger to give a full display of if/while
15642 predicates instead of just one AML opcode at a time. (The
15643 predicate can have several nested ASL statements.) The old method
15644 was confusing during single stepping.
15646 Code and Data Size: Current core subsystem library sizes are shown
15647 below. These are the code and data sizes for the acpica.lib
15648 produced by the Microsoft Visual C++ 6.0 compiler, and these
15649 values do not include any ACPI driver or OSPM code. The debug
15650 version of the code includes the debug output trace mechanism and
15651 has a larger code and data size. Note that these values will vary
15652 depending on the efficiency of the compiler and the compiler
15653 options used during generation.
15655 Previous Release (12_18_01)
15656 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
15657 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
15659 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
15660 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
15664 Implemented fix for PIIX reverse throttling errata (Processor
15667 Added new Limit interface (Processor and Thermal drivers)
15669 New thermal policy (Thermal driver)
15671 Many updates to /proc
15673 Battery "low" event support (Battery driver)
15675 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15677 IA32 - IA64 initialization unification, no longer experimental
15679 Menuconfig options redesigned
15681 3) ASL Compiler, version X2037:
15683 Implemented several new output features to simplify integration of
15684 AML code into firmware: 1) Output the AML in C source code with
15685 labels for each named ASL object. The original ASL source code
15686 is interleaved as C comments. 2) Output the AML in ASM source code
15687 with labels and interleaved ASL source. 3) Output the AML in
15688 raw hex table form, in either C or ASM.
15690 Implemented support for optional string parameters to the
15691 LoadTable operator.
15693 Completed support for embedded escape sequences within string
15694 literals. The compiler now supports all single character escapes
15695 as well as the Octal and Hex escapes. Note: the insertion of a
15696 null byte into a string literal (via the hex/octal escape) causes
15697 the string to be immediately terminated. A warning is issued.
15699 Fixed a problem where incorrect AML was generated for the case
15700 where an ASL namepath consists of a single parent prefix (
15702 ) with no trailing name segments.
15704 The compiler has been successfully generated with a 64-bit C
15710 ----------------------------------------
15711 Summary of changes for this label: 12_18_01
15715 Enhanced blacklist with reason and severity fields. Any table's
15716 signature may now be used to identify a blacklisted system.
15718 Call _PIC control method to inform the firmware which interrupt
15719 model the OS is using. Turn on any disabled link devices.
15721 Cleaned up busmgr /proc error handling (Andreas Dilger)
15723 2) ACPI CA Core Subsystem:
15725 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15728 Completed implementation of the ACPI 2.0 "Continue",
15729 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15730 operators. All new ACPI 2.0 operators are now implemented in both
15731 the ASL compiler and the AML interpreter. The only remaining ACPI
15732 2.0 task is support for the String data type in the DerefOf
15733 operator. Fixed a problem with AcquireMutex where the status code
15734 was lost if the caller had to actually wait for the mutex.
15736 Increased the maximum ASL Field size from 64K bits to 4G bits.
15738 Completed implementation of the external Global Lock interfaces --
15739 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
15740 Handler parameters were added.
15742 Completed another pass at removing warnings and issues when
15743 compiling with 64-bit compilers. The code now compiles cleanly
15744 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
15745 add and subtract (diff) macros have changed considerably.
15748 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
15749 64-bit platforms, 32-bits on all others. This type is used
15750 wherever memory allocation and/or the C sizeof() operator is used,
15751 and affects the OSL memory allocation interfaces AcpiOsAllocate
15752 and AcpiOsCallocate.
15754 Implemented sticky user breakpoints in the AML debugger.
15756 Code and Data Size: Current core subsystem library sizes are shown
15757 below. These are the code and data sizes for the acpica.lib
15758 produced by the Microsoft Visual C++ 6.0 compiler, and these
15759 values do not include any ACPI driver or OSPM code. The debug
15760 version of the code includes the debug output trace mechanism and
15761 has a larger code and data size. Note that these values will vary
15762 depending on the efficiency of the compiler and the compiler
15763 options used during generation.
15765 Previous Release (12_05_01)
15766 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15767 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
15769 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
15770 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
15772 3) ASL Compiler, version X2034:
15774 Now checks for (and generates an error if detected) the use of a
15775 Break or Continue statement without an enclosing While statement.
15778 Successfully generated the compiler with the Intel 64-bit C
15781 ----------------------------------------
15782 Summary of changes for this label: 12_05_01
15784 1) ACPI CA Core Subsystem:
15786 The ACPI 2.0 CopyObject operator is fully implemented. This
15787 operator creates a new copy of an object (and is also used to
15788 bypass the "implicit conversion" mechanism of the Store operator.)
15790 The ACPI 2.0 semantics for the SizeOf operator are fully
15791 implemented. The change is that performing a SizeOf on a
15792 reference object causes an automatic dereference of the object to
15793 tha actual value before the size is evaluated. This behavior was
15794 undefined in ACPI 1.0.
15796 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
15797 have been implemented. The interrupt polarity and mode are now
15800 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
15801 appearing in Package objects were not properly converted to
15802 integers when the internal Package was converted to an external
15803 object (via the AcpiEvaluateObject interface.)
15805 Fixed a problem with the namespace object deletion mechanism for
15806 objects created by control methods. There were two parts to this
15807 problem: 1) Objects created during the initialization phase method
15808 parse were not being deleted, and 2) The object owner ID mechanism
15809 to track objects was broken.
15811 Fixed a problem where the use of the ASL Scope operator within a
15812 control method would result in an invalid opcode exception.
15814 Fixed a problem introduced in the previous label where the buffer
15815 length required for the _PRT structure was not being returned
15818 Code and Data Size: Current core subsystem library sizes are shown
15819 below. These are the code and data sizes for the acpica.lib
15820 produced by the Microsoft Visual C++ 6.0 compiler, and these
15821 values do not include any ACPI driver or OSPM code. The debug
15822 version of the code includes the debug output trace mechanism and
15823 has a larger code and data size. Note that these values will vary
15824 depending on the efficiency of the compiler and the compiler
15825 options used during generation.
15827 Previous Release (11_20_01)
15828 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15829 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15832 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15833 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
15837 Updated all files to apply cleanly against 2.4.16.
15839 Added basic PCI Interrupt Routing Table (PRT) support for IA32
15840 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
15841 version supports both static and dyanmic PRT entries, but dynamic
15842 entries are treated as if they were static (not yet
15843 reconfigurable). Architecture- specific code to use this data is
15844 absent on IA32 but should be available shortly.
15846 Changed the initialization sequence to start the ACPI interpreter
15847 (acpi_init) prior to initialization of the PCI driver (pci_init)
15848 in init/main.c. This ordering is required to support PRT and
15849 facilitate other (future) enhancement. A side effect is that the
15850 ACPI bus driver and certain device drivers can no longer be loaded
15853 Modified the 'make menuconfig' options to allow PCI Interrupt
15854 Routing support to be included without the ACPI Bus and other
15857 3) ASL Compiler, version X2033:
15859 Fixed some issues with the use of the new CopyObject and
15860 DataTableRegion operators. Both are fully functional.
15862 ----------------------------------------
15863 Summary of changes for this label: 11_20_01
15865 20 November 2001. Summary of changes for this release.
15867 1) ACPI CA Core Subsystem:
15869 Updated Index support to match ACPI 2.0 semantics. Storing a
15870 Integer, String, or Buffer to an Index of a Buffer will store only
15871 the least-significant byte of the source to the Indexed buffer
15872 byte. Multiple writes are not performed.
15874 Fixed a problem where the access type used in an AccessAs ASL
15875 operator was not recorded correctly into the field object.
15877 Fixed a problem where ASL Event objects were created in a
15878 signalled state. Events are now created in an unsignalled state.
15880 The internal object cache is now purged after table loading and
15881 initialization to reduce the use of dynamic kernel memory -- on
15882 the assumption that object use is greatest during the parse phase
15883 of the entire table (versus the run-time use of individual control
15886 ACPI 2.0 variable-length packages are now fully operational.
15888 Code and Data Size: Code and Data optimizations have permitted new
15889 feature development with an actual reduction in the library size.
15890 Current core subsystem library sizes are shown below. These are
15891 the code and data sizes for the acpica.lib produced by the
15892 Microsoft Visual C++ 6.0 compiler, and these values do not include
15893 any ACPI driver or OSPM code. The debug version of the code
15894 includes the debug output trace mechanism and has a larger code
15895 and data size. Note that these values will vary depending on the
15896 efficiency of the compiler and the compiler options used during
15899 Previous Release (11_09_01):
15900 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15901 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15904 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15905 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15909 Enhanced the ACPI boot-time initialization code to allow the use
15910 of Local APIC tables for processor enumeration on IA-32, and to
15911 pave the way for a fully MPS-free boot (on SMP systems) in the
15912 near future. This functionality replaces
15913 arch/i386/kernel/acpitables.c, which was introduced in an earlier
15914 2.4.15-preX release. To enable this feature you must add
15915 "acpi_boot=on" to the kernel command line -- see the help entry
15916 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
15919 Restructured the configuration options to allow boot-time table
15920 parsing support without inclusion of the ACPI Interpreter (and
15923 NOTE: This release does not include fixes for the reported events,
15924 power-down, and thermal passive cooling issues (coming soon).
15928 Added additional typechecking for Fields within restricted access
15929 Operation Regions. All fields within EC and CMOS regions must be
15930 declared with ByteAcc. All fields withing SMBus regions must be
15931 declared with the BufferAcc access type.
15933 Fixed a problem where the listing file output of control methods
15934 no longer interleaved the actual AML code with the ASL source
15940 ----------------------------------------
15941 Summary of changes for this label: 11_09_01
15943 1) ACPI CA Core Subsystem:
15945 Implemented ACPI 2.0-defined support for writes to fields with a
15946 Buffer, String, or Integer source operand that is smaller than the
15947 target field. In these cases, the source operand is zero-extended
15948 to fill the target field.
15950 Fixed a problem where a Field starting bit offset (within the
15951 parent operation region) was calculated incorrectly if the
15953 alignment of the field differed from the access width. This
15954 affected CreateWordField, CreateDwordField, CreateQwordField, and
15955 possibly other fields that use the "AccessAny" keyword.
15957 Fixed a problem introduced in the 11_02_01 release where indirect
15958 stores through method arguments did not operate correctly.
15962 Implemented boot-time ACPI table parsing support
15963 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
15964 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
15965 legacy BIOS interfaces (e.g. MPS) for the configuration of system
15966 processors, memory, and interrupts during setup_arch(). Note that
15967 this patch does not include the required architecture-specific
15968 changes required to apply this information -- subsequent patches
15969 will be posted for both IA32 and IA64 to achieve this.
15971 Added low-level sleep support for IA32 platforms, courtesy of Pat
15972 Mochel. This allows IA32 systems to transition to/from various
15973 sleeping states (e.g. S1, S3), although the lack of a centralized
15974 driver model and power-manageable drivers will prevent its
15975 (successful) use on most systems.
15977 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
15978 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
15979 tables" option, etc.
15981 Increased the default timeout for the EC driver from 1ms to 10ms
15982 (1000 cycles of 10us) to try to address AE_TIME errors during EC
15985 ----------------------------------------
15986 Summary of changes for this label: 11_02_01
15988 1) ACPI CA Core Subsystem:
15990 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
15991 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
15994 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
15995 changes to support ACPI 2.0 Qword field access. Read/Write
15996 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
15997 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
15998 the value parameter for the address space handler interface is now
15999 an ACPI_INTEGER. OSL implementations of these interfaces must now
16000 handle the case where the Width parameter is 64.
16002 Index Fields: Fixed a problem where unaligned bit assembly and
16003 disassembly for IndexFields was not supported correctly.
16005 Index and Bank Fields: Nested Index and Bank Fields are now
16006 supported. During field access, a check is performed to ensure
16007 that the value written to an Index or Bank register is not out of
16008 the range of the register. The Index (or Bank) register is
16009 written before each access to the field data. Future support will
16010 include allowing individual IndexFields to be wider than the
16011 DataRegister width.
16013 Fields: Fixed a problem where the AML interpreter was incorrectly
16014 attempting to write beyond the end of a Field/OpRegion. This was
16015 a boundary case that occurred when a DWORD field was written to a
16016 BYTE access OpRegion, forcing multiple writes and causing the
16017 interpreter to write one datum too many.
16019 Fields: Fixed a problem with Field/OpRegion access where the
16020 starting bit address of a field was incorrectly calculated if the
16021 current access type was wider than a byte (WordAcc, DwordAcc, or
16024 Fields: Fixed a problem where forward references to individual
16025 FieldUnits (individual Field names within a Field definition) were
16026 not resolved during the AML table load.
16028 Fields: Fixed a problem where forward references from a Field
16029 definition to the parent Operation Region definition were not
16030 resolved during the AML table load.
16032 Fields: Duplicate FieldUnit names within a scope are now detected
16033 during AML table load.
16035 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
16036 returned an incorrect name for the root node.
16038 Code and Data Size: Code and Data optimizations have permitted new
16039 feature development with an actual reduction in the library size.
16040 Current core subsystem library sizes are shown below. These are
16041 the code and data sizes for the acpica.lib produced by the
16042 Microsoft Visual C++ 6.0 compiler, and these values do not include
16043 any ACPI driver or OSPM code. The debug version of the code
16044 includes the debug output trace mechanism and has a larger code
16045 and data size. Note that these values will vary depending on the
16046 efficiency of the compiler and the compiler options used during
16049 Previous Release (10_18_01):
16050 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
16051 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
16054 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
16055 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
16059 Improved /proc processor output (Pavel Machek) Re-added
16060 MODULE_LICENSE("GPL") to all modules.
16062 3) ASL Compiler version X2030:
16064 Duplicate FieldUnit names within a scope are now detected and
16069 Programmer Reference updated to reflect OSL and address space
16070 handler interface changes described above.
16072 ----------------------------------------
16073 Summary of changes for this label: 10_18_01
16075 ACPI CA Core Subsystem:
16077 Fixed a problem with the internal object reference count mechanism
16078 that occasionally caused premature object deletion. This resolves
16079 all of the outstanding problem reports where an object is deleted
16080 in the middle of an interpreter evaluation. Although this problem
16081 only showed up in rather obscure cases, the solution to the
16082 problem involved an adjustment of all reference counts involving
16083 objects attached to namespace nodes.
16085 Fixed a problem with Field support in the interpreter where
16086 writing to an aligned field whose length is an exact multiple (2
16087 or greater) of the field access granularity would cause an attempt
16088 to write beyond the end of the field.
16090 The top level AML opcode execution functions within the
16091 interpreter have been renamed with a more meaningful and
16092 consistent naming convention. The modules exmonad.c and
16093 exdyadic.c were eliminated. New modules are exoparg1.c,
16094 exoparg2.c, exoparg3.c, and exoparg6.c.
16096 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
16098 Fixed a problem where the AML debugger was causing some internal
16099 objects to not be deleted during subsystem termination.
16101 Fixed a problem with the external AcpiEvaluateObject interface
16102 where the subsystem would fault if the named object to be
16103 evaluated refered to a constant such as Zero, Ones, etc.
16105 Fixed a problem with IndexFields and BankFields where the
16106 subsystem would fault if the index, data, or bank registers were
16107 not defined in the same scope as the field itself.
16109 Added printf format string checking for compilers that support
16110 this feature. Corrected more than 50 instances of issues with
16111 format specifiers within invocations of ACPI_DEBUG_PRINT
16112 throughout the core subsystem code.
16114 The ASL "Revision" operator now returns the ACPI support level
16115 implemented in the core - the value "2" since the ACPI 2.0 support
16116 is more than 50% implemented.
16118 Enhanced the output of the AML debugger "dump namespace" command
16119 to output in a more human-readable form.
16121 Current core subsystem library code sizes are shown below. These
16123 are the code and data sizes for the acpica.lib produced by the
16124 Microsoft Visual C++ 6.0 compiler, and these values do not include
16125 any ACPI driver or OSPM code. The debug version of the code
16126 includes the full debug trace mechanism -- leading to a much
16128 larger code and data size. Note that these values will vary
16129 depending on the efficiency of the compiler and the compiler
16130 options used during generation.
16132 Previous Label (09_20_01):
16133 Non-Debug Version: 65K Code, 5K Data, 70K Total
16134 Debug Version: 138K Code, 58K Data, 196K Total
16138 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
16139 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
16143 Implemented a "Bad BIOS Blacklist" to track machines that have
16144 known ASL/AML problems.
16146 Enhanced the /proc interface for the thermal zone driver and added
16147 support for _HOT (the critical suspend trip point). The 'info'
16148 file now includes threshold/policy information, and allows setting
16149 of _SCP (cooling preference) and _TZP (polling frequency) values
16150 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
16151 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
16152 preference to the passive/quiet mode (if supported by the ASL).
16154 Implemented a workaround for a gcc bug that resuted in an OOPs
16155 when loading the control method battery driver.
16157 ----------------------------------------
16158 Summary of changes for this label: 09_20_01
16160 ACPI CA Core Subsystem:
16162 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
16163 modified to allow individual GPE levels to be flagged as wake-
16164 enabled (i.e., these GPEs are to remain enabled when the platform
16167 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
16168 support wake-enabled GPEs. This means that upon entering the
16169 sleep state, all GPEs that are not wake-enabled are disabled.
16170 When leaving the sleep state, these GPEs are reenabled.
16172 A local double-precision divide/modulo module has been added to
16173 enhance portability to OS kernels where a 64-bit math library is
16174 not available. The new module is "utmath.c".
16176 Several optimizations have been made to reduce the use of CPU
16177 stack. Originally over 2K, the maximum stack usage is now below
16178 2K at 1860 bytes (1.82k)
16180 Fixed a problem with the AcpiGetFirmwareTable interface where the
16181 root table pointer was not mapped into a logical address properly.
16183 Fixed a problem where a NULL pointer was being dereferenced in the
16184 interpreter code for the ASL Notify operator.
16186 Fixed a problem where the use of the ASL Revision operator
16187 returned an error. This operator now returns the current version
16188 of the ACPI CA core subsystem.
16190 Fixed a problem where objects passed as control method parameters
16191 to AcpiEvaluateObject were always deleted at method termination.
16192 However, these objects may end up being stored into the namespace
16193 by the called method. The object reference count mechanism was
16194 applied to these objects instead of a force delete.
16196 Fixed a problem where static strings or buffers (contained in the
16197 AML code) that are declared as package elements within the ASL
16198 code could cause a fault because the interpreter would attempt to
16199 delete them. These objects are now marked with the "static
16200 object" flag to prevent any attempt to delete them.
16202 Implemented an interpreter optimization to use operands directly
16203 from the state object instead of extracting the operands to local
16204 variables. This reduces stack use and code size, and improves
16207 The module exxface.c was eliminated as it was an unnecessary extra
16210 Current core subsystem library code sizes are shown below. These
16211 are the code and data sizes for the acpica.lib produced by the
16212 Microsoft Visual C++ 6.0 compiler, and these values do not include
16213 any ACPI driver or OSPM code. The debug version of the code
16214 includes the full debug trace mechanism -- leading to a much
16215 larger code and data size. Note that these values will vary
16216 depending on the efficiency of the compiler and the compiler
16217 options used during generation.
16219 Non-Debug Version: 65K Code, 5K Data, 70K Total
16220 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
16221 Total (Previously 195K)
16225 Support for ACPI 2.0 64-bit integers has been added. All ACPI
16226 Integer objects are now 64 bits wide
16228 All Acpi data types and structures are now in lower case. Only
16229 Acpi macros are upper case for differentiation.
16233 Changes to the external interfaces as described above.
16235 ----------------------------------------
16236 Summary of changes for this label: 08_31_01
16238 ACPI CA Core Subsystem:
16240 A bug with interpreter implementation of the ASL Divide operator
16241 was found and fixed. The implicit function return value (not the
16242 explicit store operands) was returning the remainder instead of
16243 the quotient. This was a longstanding bug and it fixes several
16244 known outstanding issues on various platforms.
16246 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16247 been further optimized for size. There are 700 invocations of the
16248 DEBUG_PRINT macro alone, so each optimization reduces the size of
16249 the debug version of the subsystem significantly.
16251 A stack trace mechanism has been implemented. The maximum stack
16252 usage is about 2K on 32-bit platforms. The debugger command "stat
16253 stack" will display the current maximum stack usage.
16255 All public symbols and global variables within the subsystem are
16256 now prefixed with the string "Acpi". This keeps all of the
16257 symbols grouped together in a kernel map, and avoids conflicts
16258 with other kernel subsystems.
16260 Most of the internal fixed lookup tables have been moved into the
16261 code segment via the const operator.
16263 Several enhancements have been made to the interpreter to both
16264 reduce the code size and improve performance.
16266 Current core subsystem library code sizes are shown below. These
16267 are the code and data sizes for the acpica.lib produced by the
16268 Microsoft Visual C++ 6.0 compiler, and these values do not include
16269 any ACPI driver or OSPM code. The debug version of the code
16270 includes the full debug trace mechanism which contains over 700
16271 invocations of the DEBUG_PRINT macro, 500 function entry macro
16272 invocations, and over 900 function exit macro invocations --
16273 leading to a much larger code and data size. Note that these
16274 values will vary depending on the efficiency of the compiler and
16275 the compiler options used during generation.
16277 Non-Debug Version: 64K Code, 5K Data, 69K Total
16278 Debug Version: 137K Code, 58K Data, 195K Total
16282 Implemented wbinvd() macro, pending a kernel-wide definition.
16284 Fixed /proc/acpi/event to handle poll() and short reads.
16286 ASL Compiler, version X2026:
16288 Fixed a problem introduced in the previous label where the AML
16290 code emitted for package objects produced packages with zero
16293 ----------------------------------------
16294 Summary of changes for this label: 08_16_01
16296 ACPI CA Core Subsystem:
16298 The following ACPI 2.0 ASL operators have been implemented in the
16299 AML interpreter (These are already supported by the Intel ASL
16300 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
16301 ToBuffer. Support for 64-bit AML constants is implemented in the
16302 AML parser, debugger, and disassembler.
16304 The internal memory tracking mechanism (leak detection code) has
16305 been upgraded to reduce the memory overhead (a separate tracking
16306 block is no longer allocated for each memory allocation), and now
16307 supports all of the internal object caches.
16309 The data structures and code for the internal object caches have
16310 been coelesced and optimized so that there is a single cache and
16311 memory list data structure and a single group of functions that
16312 implement generic cache management. This has reduced the code
16313 size in both the debug and release versions of the subsystem.
16315 The DEBUG_PRINT macro(s) have been optimized for size and replaced
16316 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
16317 different, because it generates a single call to an internal
16318 function. This results in a savings of about 90 bytes per
16319 invocation, resulting in an overall code and data savings of about
16320 16% in the debug version of the subsystem.
16324 Fixed C3 disk corruption problems and re-enabled C3 on supporting
16327 Integrated low-level sleep code by Patrick Mochel.
16329 Further tweaked source code Linuxization.
16335 Support for ACPI 2.0 variable length packages is fixed/completed.
16337 Fixed a problem where the optional length parameter for the ACPI
16338 2.0 ToString operator.
16340 Fixed multiple extraneous error messages when a syntax error is
16341 detected within the declaration line of a control method.
16343 ----------------------------------------
16344 Summary of changes for this label: 07_17_01
16346 ACPI CA Core Subsystem:
16348 Added a new interface named AcpiGetFirmwareTable to obtain any
16349 ACPI table via the ACPI signature. The interface can be called at
16350 any time during kernel initialization, even before the kernel
16351 virtual memory manager is initialized and paging is enabled. This
16352 allows kernel subsystems to obtain ACPI tables very early, even
16353 before the ACPI CA subsystem is initialized.
16355 Fixed a problem where Fields defined with the AnyAcc attribute
16356 could be resolved to the incorrect address under the following
16357 conditions: 1) the field width is larger than 8 bits and 2) the
16358 parent operation region is not defined on a DWORD boundary.
16360 Fixed a problem where the interpreter is not being locked during
16361 namespace initialization (during execution of the _INI control
16362 methods), causing an error when an attempt is made to release it
16365 ACPI 2.0 support in the AML Interpreter has begun and will be
16366 ongoing throughout the rest of this year. In this label, The Mod
16367 operator is implemented.
16369 Added a new data type to contain full PCI addresses named
16370 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16371 and Function values.
16375 Enhanced the Linux version of the source code to change most
16376 capitalized ACPI type names to lowercase. For example, all
16377 instances of ACPI_STATUS are changed to acpi_status. This will
16378 result in a large diff, but the change is strictly cosmetic and
16379 aligns the CA code closer to the Linux coding standard.
16383 The interfaces to the PCI configuration space have been changed to
16384 add the PCI Segment number and to split the single 32-bit combined
16385 DeviceFunction field into two 16-bit fields. This was
16386 accomplished by moving the four values that define an address in
16387 PCI configuration space (segment, bus, device, and function) to
16388 the new ACPI_PCI_ID structure.
16390 The changes to the PCI configuration space interfaces led to a
16391 reexamination of the complete set of address space access
16392 interfaces for PCI, I/O, and Memory. The previously existing 18
16393 interfaces have proven difficult to maintain (any small change
16394 must be propagated across at least 6 interfaces) and do not easily
16395 allow for future expansion to 64 bits if necessary. Also, on some
16396 systems, it would not be appropriate to demultiplex the access
16397 width (8, 16, 32,or 64) before calling the OSL if the
16398 corresponding native OS interfaces contain a similar access width
16399 parameter. For these reasons, the 18 address space interfaces
16400 have been replaced by these 6 new ones:
16402 AcpiOsReadPciConfiguration
16403 AcpiOsWritePciConfiguration
16409 Added a new interface named AcpiOsGetRootPointer to allow the OSL
16410 to perform the platform and/or OS-specific actions necessary to
16411 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
16412 interface will simply call down to the CA core to perform the low-
16413 memory search for the table. On IA-64, the RSDP is obtained from
16414 EFI. Migrating this interface to the OSL allows the CA core to
16416 remain OS and platform independent.
16418 Added a new interface named AcpiOsSignal to provide a generic
16419 "function code and pointer" interface for various miscellaneous
16420 signals and notifications that must be made to the host OS. The
16421 first such signals are intended to support the ASL Fatal and
16422 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
16423 interface has been obsoleted.
16425 The definition of the AcpiFormatException interface has been
16426 changed to simplify its use. The caller no longer must supply a
16427 buffer to the call; A pointer to a const string is now returned
16428 directly. This allows the call to be easily used in printf
16429 statements, etc. since the caller does not have to manage a local
16433 ASL Compiler, Version X2025:
16435 The ACPI 2.0 Switch/Case/Default operators have been implemented
16436 and are fully functional. They will work with all ACPI 1.0
16437 interpreters, since the operators are simply translated to If/Else
16440 The ACPI 2.0 ElseIf operator is implemented and will also work
16441 with 1.0 interpreters, for the same reason.
16443 Implemented support for ACPI 2.0 variable-length packages. These
16444 packages have a separate opcode, and their size is determined by
16445 the interpreter at run-time.
16447 Documentation The ACPI CA Programmer Reference has been updated to
16448 reflect the new interfaces and changes to existing interfaces.
16450 ------------------------------------------
16451 Summary of changes for this label: 06_15_01
16453 ACPI CA Core Subsystem:
16455 Fixed a problem where a DWORD-accessed field within a Buffer
16456 object would get its byte address inadvertently rounded down to
16457 the nearest DWORD. Buffers are always Byte-accessible.
16459 ASL Compiler, version X2024:
16461 Fixed a problem where the Switch() operator would either fault or
16462 hang the compiler. Note however, that the AML code for this ACPI
16463 2.0 operator is not yet implemented.
16465 Compiler uses the new AcpiOsGetTimer interface to obtain compile
16468 Implementation of the CreateField operator automatically converts
16469 a reference to a named field within a resource descriptor from a
16470 byte offset to a bit offset if required.
16472 Added some missing named fields from the resource descriptor
16473 support. These are the names that are automatically created by the
16474 compiler to reference fields within a descriptor. They are only
16475 valid at compile time and are not passed through to the AML
16478 Resource descriptor named fields are now typed as Integers and
16479 subject to compile-time typechecking when used in expressions.
16481 ------------------------------------------
16482 Summary of changes for this label: 05_18_01
16484 ACPI CA Core Subsystem:
16486 Fixed a couple of problems in the Field support code where bits
16487 from adjacent fields could be returned along with the proper field
16488 bits. Restructured the field support code to improve performance,
16489 readability and maintainability.
16491 New DEBUG_PRINTP macro automatically inserts the procedure name
16492 into the output, saving hundreds of copies of procedure name
16493 strings within the source, shrinking the memory footprint of the
16494 debug version of the core subsystem.
16496 Source Code Structure:
16498 The source code directory tree was restructured to reflect the
16499 current organization of the component architecture. Some files
16500 and directories have been moved and/or renamed.
16504 Fixed leaking kacpidpc processes.
16506 Fixed queueing event data even when /proc/acpi/event is not
16509 ASL Compiler, version X2020:
16511 Memory allocation performance enhancement - over 24X compile time
16512 improvement on large ASL files. Parse nodes and namestring
16513 buffers are now allocated from a large internal compiler buffer.
16515 The temporary .SRC file is deleted unless the "-s" option is
16518 The "-d" debug output option now sends all output to the .DBG file
16519 instead of the console.
16521 "External" second parameter is now optional
16523 "ElseIf" syntax now properly allows the predicate
16525 Last operand to "Load" now recognized as a Target operand
16527 Debug object can now be used anywhere as a normal object.
16529 ResourceTemplate now returns an object of type BUFFER
16531 EISAID now returns an object of type INTEGER
16533 "Index" now works with a STRING operand
16535 "LoadTable" now accepts optional parameters
16537 "ToString" length parameter is now optional
16539 "Interrupt (ResourceType," parse error fixed.
16541 "Register" with a user-defined region space parse error fixed
16543 Escaped backslash at the end of a string ("\\") scan/parse error
16546 "Revision" is now an object of type INTEGER.
16550 ------------------------------------------
16551 Summary of changes for this label: 05_02_01
16555 /proc/acpi/event now blocks properly.
16557 Removed /proc/sys/acpi. You can still dump your DSDT from
16560 ACPI CA Core Subsystem:
16562 Fixed a problem introduced in the previous label where some of the
16563 "small" resource descriptor types were not recognized.
16565 Improved error messages for the case where an ASL Field is outside
16566 the range of the parent operation region.
16568 ASL Compiler, version X2018:
16571 Added error detection for ASL Fields that extend beyond the length
16572 of the parent operation region (only if the length of the region
16573 is known at compile time.) This includes fields that have a
16574 minimum access width that is smaller than the parent region, and
16575 individual field units that are partially or entirely beyond the
16576 extent of the parent.
16580 ------------------------------------------
16581 Summary of changes for this label: 04_27_01
16583 ACPI CA Core Subsystem:
16585 Fixed a problem where the namespace mutex could be released at the
16586 wrong time during execution of AcpiRemoveAddressSpaceHandler.
16588 Added optional thread ID output for debug traces, to simplify
16589 debugging of multiple threads. Added context switch notification
16590 when the debug code realizes that a different thread is now
16591 executing ACPI code.
16593 Some additional external data types have been prefixed with the
16594 string "ACPI_" for consistency. This may effect existing code.
16595 The data types affected are the external callback typedefs - e.g.,
16597 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16601 Fixed an issue with the OSL semaphore implementation where a
16602 thread was waking up with an error from receiving a SIGCHLD
16605 Linux version of ACPI CA now uses the system C library for string
16606 manipulation routines instead of a local implementation.
16608 Cleaned up comments and removed TBDs.
16610 ASL Compiler, version X2017:
16612 Enhanced error detection and reporting for all file I/O
16617 Programmer Reference updated to version 1.06.
16621 ------------------------------------------
16622 Summary of changes for this label: 04_13_01
16624 ACPI CA Core Subsystem:
16626 Restructured support for BufferFields and RegionFields.
16627 BankFields support is now fully operational. All known 32-bit
16628 limitations on field sizes have been removed. Both BufferFields
16629 and (Operation) RegionFields are now supported by the same field
16632 Resource support now supports QWORD address and IO resources. The
16633 16/32/64 bit address structures and the Extended IRQ structure
16634 have been changed to properly handle Source Resource strings.
16636 A ThreadId of -1 is now used to indicate a "mutex not acquired"
16637 condition internally and must never be returned by AcpiOsThreadId.
16638 This reserved value was changed from 0 since Unix systems allow a
16643 Driver code reorganized to enhance portability
16645 Added a kernel configuration option to control ACPI_DEBUG
16647 Fixed the EC driver to honor _GLK.
16649 ASL Compiler, version X2016:
16651 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
16652 address space was set to 0, not 0x7f as it should be.
16654 ------------------------------------------
16655 Summary of changes for this label: 03_13_01
16657 ACPI CA Core Subsystem:
16659 During ACPI initialization, the _SB_._INI method is now run if
16662 Notify handler fix - notifies are deferred until the parent method
16663 completes execution. This fixes the "mutex already acquired"
16664 issue seen occasionally.
16666 Part of the "implicit conversion" rules in ACPI 2.0 have been
16667 found to cause compatibility problems with existing ASL/AML. The
16668 convert "result-to-target-type" implementation has been removed
16669 for stores to method Args and Locals. Source operand conversion
16670 is still fully implemented. Possible changes to ACPI 2.0
16671 specification pending.
16673 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16676 Fix for compiler warnings for 64-bit compiles.
16680 /proc output aligned for easier parsing.
16682 Release-version compile problem fixed.
16684 New kernel configuration options documented in Configure.help.
16686 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16691 Power resource driver integrated with bus manager.
16693 Fixed kernel fault during active cooling for thermal zones.
16697 The source code tree has been restructured.
16701 ------------------------------------------
16702 Summary of changes for this label: 03_02_01
16704 Linux OS Services Layer (OSL):
16706 Major revision of all Linux-specific code.
16708 Modularized all ACPI-specific drivers.
16710 Added new thermal zone and power resource drivers.
16712 Revamped /proc interface (new functionality is under /proc/acpi).
16714 New kernel configuration options.
16716 Linux known issues:
16718 New kernel configuration options not documented in Configure.help
16722 Module dependencies not currently implemented. If used, they
16723 should be loaded in this order: busmgr, power, ec, system,
16724 processor, battery, ac_adapter, button, thermal.
16726 Modules will not load if CONFIG_MODVERSION is set.
16728 IBM 600E - entering S5 may reboot instead of shutting down.
16730 IBM 600E - Sleep button may generate "Invalid <NULL> context"
16733 Some systems may fail with "execution mutex already acquired"
16736 ACPI CA Core Subsystem:
16738 Added a new OSL Interface, AcpiOsGetThreadId. This was required
16739 for the deadlock detection code. Defined to return a non-zero, 32-
16740 bit thread ID for the currently executing thread. May be a non-
16741 zero constant integer on single-thread systems.
16743 Implemented deadlock detection for internal subsystem mutexes. We
16744 may add conditional compilation for this code (debug only) later.
16746 ASL/AML Mutex object semantics are now fully supported. This
16747 includes multiple acquires/releases by owner and support for the
16749 Mutex SyncLevel parameter.
16751 A new "Force Release" mechanism automatically frees all ASL
16752 Mutexes that have been acquired but not released when a thread
16753 exits the interpreter. This forces conformance to the ACPI spec
16754 ("All mutexes must be released when an invocation exits") and
16755 prevents deadlocked ASL threads. This mechanism can be expanded
16756 (later) to monitor other resource acquisitions if OEM ASL code
16757 continues to misbehave (which it will).
16759 Several new ACPI exception codes have been added for the Mutex
16762 Recursive method calls are now allowed and supported (the ACPI
16763 spec does in fact allow recursive method calls.) The number of
16764 recursive calls is subject to the restrictions imposed by the
16765 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16768 Implemented support for the SyncLevel parameter for control
16769 methods (ACPI 2.0 feature)
16771 Fixed a deadlock problem when multiple threads attempted to use
16774 Fixed a problem where the string length of a String package
16775 element was not always set in a package returned from
16776 AcpiEvaluateObject.
16778 Fixed a problem where the length of a String package element was
16779 not always included in the length of the overall package returned
16780 from AcpiEvaluateObject.
16782 Added external interfaces (Acpi*) to the ACPI debug memory
16783 manager. This manager keeps a list of all outstanding
16784 allocations, and can therefore detect memory leaks and attempts to
16785 free memory blocks more than once. Useful for code such as the
16786 power manager, etc. May not be appropriate for device drivers.
16787 Performance with the debug code enabled is slow.
16789 The ACPI Global Lock is now an optional hardware element.
16791 ASL Compiler Version X2015:
16793 Integrated changes to allow the compiler to be generated on
16794 multiple platforms.
16796 Linux makefile added to generate the compiler on Linux
16800 All platform-specific headers have been moved to their own
16801 subdirectory, Include/Platform.
16803 New source file added, Interpreter/ammutex.c
16805 New header file, Include/acstruct.h
16809 The programmer reference has been updated for the following new
16810 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
16812 ------------------------------------------
16813 Summary of changes for this label: 02_08_01
16815 Core ACPI CA Subsystem: Fixed a problem where an error was
16816 incorrectly returned if the return resource buffer was larger than
16817 the actual data (in the resource interfaces).
16819 References to named objects within packages are resolved to the
16821 full pathname string before packages are returned directly (via
16822 the AcpiEvaluateObject interface) or indirectly via the resource
16825 Linux OS Services Layer (OSL):
16827 Improved /proc battery interface.
16830 Added C-state debugging output and other miscellaneous fixes.
16832 ASL Compiler Version X2014:
16834 All defined method arguments can now be used as local variables,
16835 including the ones that are not actually passed in as parameters.
16836 The compiler tracks initialization of the arguments and issues an
16837 exception if they are used without prior assignment (just like
16840 The -o option now specifies a filename prefix that is used for all
16841 output files, including the AML output file. Otherwise, the
16842 default behavior is as follows: 1) the AML goes to the file
16843 specified in the DSDT. 2) all other output files use the input
16844 source filename as the base.
16846 ------------------------------------------
16847 Summary of changes for this label: 01_25_01
16849 Core ACPI CA Subsystem: Restructured the implementation of object
16850 store support within the interpreter. This includes support for
16851 the Store operator as well as any ASL operators that include a
16854 Partially implemented support for Implicit Result-to-Target
16855 conversion. This is when a result object is converted on the fly
16856 to the type of an existing target object. Completion of this
16857 support is pending further analysis of the ACPI specification
16858 concerning this matter.
16860 CPU-specific code has been removed from the subsystem (hardware
16863 New Power Management Timer functions added
16865 Linux OS Services Layer (OSL): Moved system state transition code
16866 to the core, fixed it, and modified Linux OSL accordingly.
16868 Fixed C2 and C3 latency calculations.
16871 We no longer use the compilation date for the version message on
16872 initialization, but retrieve the version from AcpiGetSystemInfo().
16874 Incorporated for fix Sony VAIO machines.
16876 Documentation: The Programmer Reference has been updated and
16880 ASL Compiler: Version X2013: Fixed a problem where the line
16881 numbering and error reporting could get out of sync in the
16882 presence of multiple include files.
16884 ------------------------------------------
16885 Summary of changes for this label: 01_15_01
16887 Core ACPI CA Subsystem:
16889 Implemented support for type conversions in the execution of the
16890 ASL Concatenate operator (The second operand is converted to
16891 match the type of the first operand before concatenation.)
16893 Support for implicit source operand conversion is partially
16894 implemented. The ASL source operand types Integer, Buffer, and
16895 String are freely interchangeable for most ASL operators and are
16896 converted by the interpreter on the fly as required. Implicit
16897 Target operand conversion (where the result is converted to the
16898 target type before storing) is not yet implemented.
16900 Support for 32-bit and 64-bit BCD integers is implemented.
16902 Problem fixed where a field read on an aligned field could cause a
16903 read past the end of the field.
16905 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
16906 does not return a value, but the caller expects one. (The ASL
16907 compiler flags this as a warning.)
16912 1. Static typechecking of all operands is implemented. This
16913 prevents the use of invalid objects (such as using a Package where
16914 an Integer is required) at compile time instead of at interpreter
16916 2. The ASL source line is printed with ALL errors and warnings.
16917 3. Bug fix for source EOF without final linefeed.
16918 4. Debug option is split into a parse trace and a namespace trace.
16919 5. Namespace output option (-n) includes initial values for
16920 integers and strings.
16921 6. Parse-only option added for quick syntax checking.
16922 7. Compiler checks for duplicate ACPI name declarations
16925 1. Relaxed typechecking to allow interchangeability between
16926 strings, integers, and buffers. These types are now converted by
16927 the interpreter at runtime.
16928 2. Compiler reports time taken by each internal subsystem in the
16932 ------------------------------------------
16933 Summary of changes for this label: 12_14_00
16937 This is the first official release of the compiler. Since the
16938 compiler requires elements of the Core Subsystem, this label
16939 synchronizes everything.
16941 ------------------------------------------
16942 Summary of changes for this label: 12_08_00
16945 Fixed a problem where named references within the ASL definition
16946 of both OperationRegions and CreateXXXFields did not work
16947 properly. The symptom was an AE_AML_OPERAND_TYPE during
16948 initialization of the region/field. This is similar (but not
16949 related internally) to the problem that was fixed in the last
16952 Implemented both 32-bit and 64-bit support for the BCD ASL
16953 functions ToBCD and FromBCD.
16955 Updated all legal headers to include "2000" in the copyright
16958 ------------------------------------------
16959 Summary of changes for this label: 12_01_00
16961 Fixed a problem where method invocations within the ASL definition
16962 of both OperationRegions and CreateXXXFields did not work
16963 properly. The symptom was an AE_AML_OPERAND_TYPE during
16964 initialization of the region/field:
16966 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
16967 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
16970 Fixed a problem where operators with more than one nested
16971 subexpression would fail. The symptoms were varied, by mostly
16972 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
16973 problem that has gone unnoticed until now.
16975 Subtract (Add (1,2), Multiply (3,4))
16977 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
16978 previous build (The prefix part of a relative path was handled
16981 Fixed a problem where Operation Region initialization failed if
16982 the operation region name was a "namepath" instead of a simple
16983 "nameseg". Symptom was an AE_NO_OPERAND error.
16985 Fixed a problem where an assignment to a local variable via the
16986 indirect RefOf mechanism only worked for the first such
16987 assignment. Subsequent assignments were ignored.
16989 ------------------------------------------
16990 Summary of changes for this label: 11_15_00
16992 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
16993 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
16994 the AML interpreter does NOT have support for the new 2.0 ASL
16995 grammar terms at this time.
16997 All ACPI hardware access is via the GAS structures in the ACPI 2.0
17000 All physical memory addresses across all platforms are now 64 bits
17001 wide. Logical address width remains dependent on the platform
17004 AcpiOsMapMemory interface changed to a 64-bit physical address.
17006 The AML interpreter integer size is now 64 bits, as per the ACPI
17009 For backwards compatibility with ACPI 1.0, ACPI tables with a
17010 revision number less than 2 use 32-bit integers only.
17012 Fixed a problem where the evaluation of OpRegion operands did not
17013 always resolve them to numbers properly.
17015 ------------------------------------------
17016 Summary of changes for this label: 10_20_00
17018 Fix for CBN_._STA issue. This fix will allow correct access to
17019 CBN_ OpRegions when the _STA returns 0x8.
17021 Support to convert ACPI constants (Ones, Zeros, One) to actual
17022 values before a package object is returned
17024 Fix for method call as predicate to if/while construct causing
17025 incorrect if/while behavior
17027 Fix for Else block package lengths sometimes calculated wrong (if
17030 Fix for Processor object length field, was always zero
17032 Table load abort if FACP sanity check fails
17034 Fix for problem with Scope(name) if name already exists
17036 Warning emitted if a named object referenced cannot be found
17037 (resolved) during method execution.
17043 ------------------------------------------
17044 Summary of changes for this label: 9_29_00
17046 New table initialization interfaces: AcpiInitializeSubsystem no
17047 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
17048 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
17049 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
17052 Note: These interface changes require changes to all existing OSDs
17054 The PCI_Config default address space handler is always installed
17055 at the root namespace object.
17057 -------------------------------------------
17058 Summary of changes for this label: 09_15_00
17060 The new initialization architecture is implemented. New
17061 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
17062 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
17064 (Namespace is automatically loaded when a table is loaded)
17066 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
17067 52 bytes to 32 bytes. There is usually one of these for every
17068 namespace object, so the memory savings is significant.
17070 Implemented just-in-time evaluation of the CreateField operators.
17072 Bug fixes for IA-64 support have been integrated.
17074 Additional code review comments have been implemented
17076 The so-called "third pass parse" has been replaced by a final walk
17077 through the namespace to initialize all operation regions (address
17078 spaces) and fields that have not yet been initialized during the
17079 execution of the various _INI and REG methods.
17081 New file - namespace/nsinit.c
17083 -------------------------------------------
17084 Summary of changes for this label: 09_01_00
17086 Namespace manager data structures have been reworked to change the
17087 primary object from a table to a single object. This has
17088 resulted in dynamic memory savings of 3X within the namespace and
17089 2X overall in the ACPI CA subsystem.
17091 Fixed problem where the call to AcpiEvFindPciRootBuses was
17092 inadvertently left commented out.
17094 Reduced the warning count when generating the source with the GCC
17097 Revision numbers added to each module header showing the
17098 SourceSafe version of the file. Please refer to this version
17099 number when giving us feedback or comments on individual modules.
17101 The main object types within the subsystem have been renamed to
17102 clarify their purpose:
17104 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
17105 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
17106 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
17108 NOTE: no changes to the initialization sequence are included in
17111 -------------------------------------------
17112 Summary of changes for this label: 08_23_00
17114 Fixed problem where TerminateControlMethod was being called
17115 multiple times per method
17117 Fixed debugger problem where single stepping caused a semaphore to
17120 Improved performance through additional parse object caching -
17121 added ACPI_EXTENDED_OP type
17123 -------------------------------------------
17124 Summary of changes for this label: 08_10_00
17126 Parser/Interpreter integration: Eliminated the creation of
17127 complete parse trees for ACPI tables and control methods.
17128 Instead, parse subtrees are created and then deleted as soon as
17129 they are processed (Either entered into the namespace or executed
17130 by the interpreter). This reduces the use of dynamic kernel
17131 memory significantly. (about 10X)
17133 Exception codes broken into classes and renumbered. Be sure to
17134 recompile all code that includes acexcep.h. Hopefully we won't
17135 have to renumber the codes again now that they are split into
17136 classes (environment, programmer, AML code, ACPI table, and
17139 Fixed some additional alignment issues in the Resource Manager
17142 Implemented semaphore tracking in the AcpiExec utility, and fixed
17143 several places where mutexes/semaphores were being unlocked
17144 without a corresponding lock operation. There are no known
17145 semaphore or mutex "leaks" at this time.
17147 Fixed the case where an ASL Return operator is used to return an
17150 -------------------------------------------
17151 Summary of changes for this label: 07_28_00
17153 Fixed a problem with the way addresses were calculated in
17154 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
17155 manifested itself when a Field was created with WordAccess or
17156 DwordAccess, but the field unit defined within the Field was less
17158 than a Word or Dword.
17160 Fixed a problem in AmlDumpOperands() module's loop to pull
17161 operands off of the operand stack to display information. The
17162 problem manifested itself as a TLB error on 64-bit systems when
17163 accessing an operand stack with two or more operands.
17165 Fixed a problem with the PCI configuration space handlers where
17166 context was getting confused between accesses. This required a
17167 change to the generic address space handler and address space
17168 setup definitions. Handlers now get both a global handler context
17169 (this is the one passed in by the user when executing
17170 AcpiInstallAddressSpaceHandler() and a specific region context
17171 that is unique to each region (For example, the _ADR, _SEG and
17172 _BBN values associated with a specific region). The generic
17173 function definitions have changed to the following:
17175 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
17176 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
17177 *HandlerContext, // This used to be void *Context void
17178 *RegionContext); // This is an additional parameter
17180 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
17181 RegionHandle, UINT32 Function, void *HandlerContext, void
17182 **RegionContext); // This used to be **ReturnContext
17184 -------------------------------------------
17185 Summary of changes for this label: 07_21_00
17187 Major file consolidation and rename. All files within the
17188 interpreter have been renamed as well as most header files. This
17189 was done to prevent collisions with existing files in the host
17190 OSs -- filenames such as "config.h" and "global.h" seem to be
17191 quite common. The VC project files have been updated. All
17192 makefiles will require modification.
17194 The parser/interpreter integration continues in Phase 5 with the
17195 implementation of a complete 2-pass parse (the AML is parsed
17196 twice) for each table; This avoids the construction of a huge
17197 parse tree and therefore reduces the amount of dynamic memory
17198 required by the subsystem. Greater use of the parse object cache
17199 means that performance is unaffected.
17201 Many comments from the two code reviews have been rolled in.
17203 The 64-bit alignment support is complete.
17205 -------------------------------------------
17206 Summary of changes for this label: 06_30_00
17208 With a nod and a tip of the hat to the technology of yesteryear,
17209 we've added support in the source code for 80 column output
17210 devices. The code is now mostly constrained to 80 columns or
17211 less to support environments and editors that 1) cannot display
17212 or print more than 80 characters on a single line, and 2) cannot
17213 disable line wrapping.
17215 A major restructuring of the namespace data structure has been
17216 completed. The result is 1) cleaner and more
17217 understandable/maintainable code, and 2) a significant reduction
17218 in the dynamic memory requirement for each named ACPI object
17221 -------------------------------------------
17222 Summary of changes for this label: 06_23_00
17224 Linux support has been added. In order to obtain approval to get
17225 the ACPI CA subsystem into the Linux kernel, we've had to make
17226 quite a few changes to the base subsystem that will affect all
17227 users (all the changes are generic and OS- independent). The
17228 effects of these global changes have been somewhat far reaching.
17229 Files have been merged and/or renamed and interfaces have been
17230 renamed. The major changes are described below.
17232 Osd* interfaces renamed to AcpiOs* to eliminate namespace
17233 pollution/confusion within our target kernels. All OSD
17234 interfaces must be modified to match the new naming convention.
17236 Files merged across the subsystem. A number of the smaller source
17237 and header files have been merged to reduce the file count and
17238 increase the density of the existing files. There are too many
17239 to list here. In general, makefiles that call out individual
17240 files will require rebuilding.
17242 Interpreter files renamed. All interpreter files now have the
17243 prefix am* instead of ie* and is*.
17245 Header files renamed: The acapi.h file is now acpixf.h. The
17246 acpiosd.h file is now acpiosxf.h. We are removing references to
17247 the acronym "API" since it is somewhat windowsy. The new name is
17248 "external interface" or xface or xf in the filenames.j
17251 All manifest constants have been forced to upper case (some were
17252 mixed case.) Also, the string "ACPI_" has been prepended to many
17253 (not all) of the constants, typedefs, and structs.
17255 The globals "DebugLevel" and "DebugLayer" have been renamed
17256 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
17258 All other globals within the subsystem are now prefixed with
17259 "AcpiGbl_" Internal procedures within the subsystem are now
17260 prefixed with "Acpi" (with only a few exceptions). The original
17261 two-letter abbreviation for the subcomponent remains after "Acpi"
17262 - for example, CmCallocate became AcpiCmCallocate.
17264 Added a source code translation/conversion utility. Used to
17265 generate the Linux source code, it can be modified to generate
17266 other types of source as well. Can also be used to cleanup
17267 existing source by removing extraneous spaces and blank lines.
17268 Found in tools/acpisrc/*
17270 OsdUnMapMemory was renamed to OsdUnmapMemory and then
17271 AcpiOsUnmapMemory. (UnMap became Unmap).
17273 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17274 When set to one, this indicates that the caller wants to use the
17276 semaphore as a mutex, not a counting semaphore. ACPI CA uses
17277 both types. However, implementers of this call may want to use
17278 different OS primitives depending on the type of semaphore
17279 requested. For example, some operating systems provide separate
17281 "mutex" and "semaphore" interfaces - where the mutex interface is
17282 much faster because it doesn't have all the overhead of a full
17283 semaphore implementation.
17285 Fixed a deadlock problem where a method that accesses the PCI
17286 address space can block forever if it is the first access to the
17289 -------------------------------------------
17290 Summary of changes for this label: 06_02_00
17292 Support for environments that cannot handle unaligned data
17293 accesses (e.g. firmware and OS environments devoid of alignment
17294 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
17295 been added (via configurable macros) in these three areas: -
17296 Transfer of data from the raw AML byte stream is done via byte
17297 moves instead of word/dword/qword moves. - External objects are
17298 aligned within the user buffer, including package elements (sub-
17299 objects). - Conversion of name strings to UINT32 Acpi Names is now
17302 The Store operator was modified to mimic Microsoft's
17303 implementation when storing to a Buffer Field.
17305 Added a check of the BM_STS bit before entering C3.
17307 The methods subdirectory has been obsoleted and removed. A new
17308 file, cmeval.c subsumes the functionality.
17310 A 16-bit (DOS) version of AcpiExec has been developed. The
17311 makefile is under the acpiexec directory.