1 ----------------------------------------
2 03 March 2017. Summary of changes for version 20170303:
7 The licensing information at the start of each source code module has
8 been updated. In addition to the Intel license, the dual GPLv2/BSD
9 license has been added for completeness. Now, a single version of the
10 source code should be suitable for all ACPICA customers. This is the
11 major change for this release since it affects all source code modules.
14 1) ACPICA kernel-resident subsystem:
16 Fixed two issues with the common asltypes.h header that could cause
17 problems in some environments: (Kim Jung-uk)
18 Removed typedef for YY_BUFFER_STATE ?
19 Fixes an error with earlier versions of Flex.
20 Removed use of FILE typedef (which is only defined in stdio.h)
23 2) iASL Compiler/Disassembler and Tools:
25 Disassembler: fixed a regression introduced in 20170224. A fix for a
26 memory leak related to resource descriptor tags (names) could fault when
27 the disassembler was generated with 64-bit compilers.
29 The ASLTS test suite has been updated to implement a new testing
30 architecture. During generation of the suite from ASL source, both the
31 ASL and ASL+ compilers are now validated, as well as the disassembler
32 itself (Erik Schmauss). The architecture executes as follows:
34 For every ASL source module:
35 Compile (legacy ASL compilation)
36 Disassemble the resulting AML to ASL+ source code
37 Compile the new ASL+ module
38 Perform a binary compare on the legacy AML and the new ASL+ AML
39 The ASLTS suite then executes normally using the AML binaries.
41 ----------------------------------------
42 24 February 2017. Summary of changes for version 20170224:
45 1) ACPICA kernel-resident subsystem:
47 Interpreter: Fixed two issues with the control method return value auto-
48 repair feature, where an attempt to double-delete an internal object
49 could result in an ACPICA warning (for _CID repair and others). No fault
50 occurs, however, because the attempted deletion (actually a release to an
51 internal cache) is detected and ignored via object poisoning.
53 Debugger: Fixed an AML interpreter mutex issue during the single stepping
54 of control methods. If certain debugger commands are executed during
55 stepping, a mutex aquire/release error could occur. Lv Zheng.
57 Fixed some issues generating ACPICA with the Intel C compiler by
58 restoring the original behavior and compiler-specific include file in
61 Example Code and Data Size: These are the sizes for the OS-independent
62 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
63 debug version of the code includes the debug output trace mechanism and
64 has a much larger code and data size.
67 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
68 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
70 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
71 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
74 2) iASL Compiler/Disassembler and Tools:
76 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
77 tool has been designed, implemented, and included in this release. The
78 key feature of this utility is that the original comments within the
79 input ASL file are preserved during the conversion process, and included
80 within the converted ASL+ file -- thus creating a transparent conversion
81 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
83 Usage: iasl -ca <ASL-filename> // Output is a .dsl file with
86 iASL/Disassembler: Improved the detection and correct disassembly of
87 Switch/Case operators. This feature detects sequences of if/elseif/else
88 operators that originated from ASL Switch/Case/Default operators and
89 emits the original operators. David Box.
91 iASL: Improved the IORT ACPI table support in the following areas. Lv
93 Clear MappingOffset if the MappingCount is zero.
94 Fix the disassembly of the SMMU GSU interrupt offset.
95 Update the template file for the IORT table.
97 Disassembler: Enhanced the detection and disassembly of resource
98 template/descriptor within a Buffer object. An EndTag descriptor is now
99 required to have a zero second byte, since all known ASL compilers emit
100 this. This helps eliminate incorrect decisions when a buffer is
101 disassembled (false positives on resource templates).
103 ----------------------------------------
104 19 January 2017. Summary of changes for version 20170119:
107 1) General ACPICA software:
109 Entire source code base: Added the 2017 copyright to all source code
110 legal/licensing module headers and utility/tool signons. This includes
111 the standard Linux dual-license header. This affects virtually every file
112 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
113 the ACPICA test suite.
116 2) iASL Compiler/Disassembler and Tools:
118 iASL: Removed/fixed an inadvertent remark when a method argument
119 containing a reference is used as a target operand within the method (and
120 never used as a simple argument), as in the example below. Jeffrey Hugo.
122 dsdt.asl 1507: Store(0x1, Arg0)
123 Remark 2146 - ^ Method Argument is never used (Arg0)
125 All tools: Removed the bit width of the compiler that generated the tool
126 from the common signon for all user space tools. This proved to be
127 confusing and unnecessary. This includes similar removal of HARDWARE_NAME
128 from the generic makefiles (Thomas Petazzoni). Example below.
131 ASL+ Optimizing Compiler version 20170119-32
132 ASL+ Optimizing Compiler version 20170119-64
135 ASL+ Optimizing Compiler version 20170119
137 ----------------------------------------
138 22 December 2016. Summary of changes for version 20161222:
141 1) ACPICA kernel-resident subsystem:
143 AML Debugger: Implemented a new mechanism to simplify and enhance
144 debugger integration into all environments, including kernel debuggers
145 and user-space utilities, as well as remote debug services. This
146 mechanism essentially consists of new OSL interfaces to support debugger
147 initialization/termination, as well as wait/notify interfaces to perform
148 the debugger handshake with the host. Lv Zheng.
151 AcpiOsInitializeDebugger (void)
152 AcpiOsTerminateDebugger (void)
153 AcpiOsWaitCommandReady (void)
154 AcpiOsNotifyCommandComplete (void)
156 New OS services layer:
157 osgendbg.c -- Example implementation, and used for AcpiExec
159 Update for Generic Address Space (GAS) support: Although the AccessWidth
160 and/or BitOffset fields of the GAS are not often used, this change now
161 fully supports these fields. This affects the internal support for FADT
162 registers, registers in other ACPI data tables, and the AcpiRead and
163 AcpiWrite public interfaces. Lv Zheng.
165 Sleep support: In order to simplify integration of ACPI sleep for the
166 various host operating systems, a new OSL interface has been introduced.
167 AcpiOsEnterSleep allows the host to perform any required operations
168 before the final write to the sleep control register(s) is performed by
172 AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
174 Called from these internal interfaces:
178 EFI support: Added a very small EFI/ACPICA example application. Provides
179 a simple demo for EFI integration, as well as assisting with resolution
180 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
182 source/tools/efihello/efihello.c
184 Local C library: Implemented several new functions to enhance ACPICA
185 portability, for environments where these clib functions are not
186 available (such as EFI). Lv Zheng:
193 Fixed a regression where occasionally a valid resource descriptor was
194 incorrectly detected as invalid at runtime, and a
195 AE_AML_NO_RESOURCE_END_TAG was returned.
197 Fixed a problem with the recently implemented support that enables
198 control method invocations as Target operands to many ASL operators.
199 Warnings of this form: "Needed type [Reference], found [Processor]" were
200 seen at runtime for some method invocations.
202 Example Code and Data Size: These are the sizes for the OS-independent
203 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
204 debug version of the code includes the debug output trace mechanism and
205 has a much larger code and data size.
208 Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
209 Debug Version: 201.7K Code, 82.7K Data, 284.4K Total
211 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
212 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
215 2) iASL Compiler/Disassembler and Tools:
217 Disassembler: Enhanced output by adding the capability to detect and
218 disassemble ASL Switch/Case statements back to the original ASL source
219 code instead of if/else blocks. David Box.
221 AcpiHelp: Split a large file into separate files based upon
222 functionality/purpose. New files are:
226 ----------------------------------------
227 17 November 2016. Summary of changes for version 20161117:
230 1) ACPICA kernel-resident subsystem:
232 Table Manager: Fixed a regression introduced in 20160729, "FADT support
233 cleanup". This was an attempt to remove all references in the source to
234 the FADT version 2, which never was a legal version number. It was
235 skipped because it was an early version of 64-bit support that was
236 eventually abandoned for the current 64-bit support.
238 Interpreter: Fixed a problem where runtime implicit conversion was
239 incorrectly disabled for the ASL operators below. This brings the
240 behavior into compliance with the ACPI specification:
248 Table Manager: Added a new public interface, AcpiPutTable, used to
249 release and free an ACPI table returned by AcpiGetTable and related
250 interfaces. Lv Zheng.
252 Example Code and Data Size: These are the sizes for the OS-independent
253 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
254 debug version of the code includes the debug output trace mechanism and
255 has a much larger code and data size.
258 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
259 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
261 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
262 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
265 2) iASL Compiler/Disassembler and Tools:
267 Disassembler: Fixed a regression for disassembly of Resource Template.
268 Detection of templates in the AML stream missed some types of templates.
270 iASL: Fixed a problem where an Access Size error was returned for the PCC
271 address space when the AccessSize of the GAS register is greater than a
274 iASL: Implemented several grammar changes for the operators below. These
275 changes are slated for the next version of the ACPI specification:
276 RefOf - Disallow method invocation as an operand
277 CondRefOf - Disallow method invocation as an operand
278 DerefOf - Disallow operands that use the result from operators
280 do not return a reference (Changed TermArg to
283 iASL: Control method invocations are now allowed for Target operands, as
284 per the ACPI specification. Removed error for using a control method
285 invocation as a Target operand.
287 Disassembler: Improved detection of Resource Templates, Unicode, and
288 Strings within Buffer objects. These subtypes do not contain a specific
289 opcode to indicate the originating ASL code, and they must be detected by
290 other means within the disassembler.
292 iASL: Implemented an optimization improvement for 32-bit ACPI tables
293 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
294 only after 64-bit to 32-bit truncation. A truncation warning message is
295 still emitted, however.
297 AcpiXtract: Implemented handling for both types of line terminators (LF
298 or CR/LF) so that it can accept AcpiDump output files from any system.
301 AcpiBin: Added two new options for comparing AML files:
302 -a: compare and display ALL mismatches
303 -o: start compare at this offset into the second file
305 ----------------------------------------
306 30 September 2016. Summary of changes for version 20160930:
309 1) ACPICA kernel-resident subsystem:
311 Fixed a regression in the internal AcpiTbFindTable function where a non
312 AE_OK exception could inadvertently be returned even if the function did
313 not fail. This problem affects the following operators:
317 Fixed a regression in the LoadTable operator where a load to any
318 namespace location other than the root no longer worked properly.
320 Increased the maximum loop count value that will result in the
321 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
322 prevent infinite loops within the AML interpreter and thus the host OS
323 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
326 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
327 acpixf.h file. This allows hosts to easily configure the maximum loop
330 Removed an illegal character in the strtoul64.c file. This character
331 caused errors with some C compilers.
333 Example Code and Data Size: These are the sizes for the OS-independent
334 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
335 debug version of the code includes the debug output trace mechanism and
336 has a much larger code and data size.
339 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
340 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
342 Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
343 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
346 2) iASL Compiler/Disassembler and Tools:
348 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
349 the simpler ASL ElseIf keyword. During the conversion, a trailing If
350 block could be lost and missing from the disassembled output.
352 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
353 the missing rule caused a parse error when using the Index operator as an
354 operand to ObjectType. This construct now compiles properly. Example:
357 iASL: Correctly handle unresolved symbols in the hardware map file (-lm
358 option). Previously, unresolved symbols could cause a protection fault.
359 Such symbols are now marked as unresolved in the map file.
361 iASL: Implemented support to allow control method invocations as an
362 operand to the ASL DeRefOf operator. Example:
363 DeRefOf(MTH1(Local0))
365 Disassembler: Improved support for the ToPLD ASL macro. Detection of a
366 possible _PLD buffer now includes examination of both the normal buffer
367 length (16 or 20) as well as the surrounding AML package length.
369 Disassembler: Fixed a problem with the decoding of complex expressions
370 within the Divide operator for ASL+. For the case where both the quotient
371 and remainder targets are specified, the entire statement cannot be
372 disassembled. Previously, the output incorrectly contained a mix of ASL-
373 and ASL+ operators. This mixed statement causes a syntax error when
375 Divide (Add (INT1, 6), 128, RSLT, QUOT) // was incorrectly
377 Divide (INT1 + 6, 128, RSLT, QUOT)
379 iASL/Tools: Added support to process AML and non-AML ACPI tables
380 consistently. For the disassembler and AcpiExec, allow all types of ACPI
381 tables (AML and data tables). For the iASL -e option, allow only AML
384 ----------------------------------------
385 31 August 2016. Summary of changes for version 20160831:
388 1) ACPICA kernel-resident subsystem:
390 Improve support for the so-called "module-level code", which is defined
391 to be math, logical and control AML opcodes that appear outside of any
392 control method. This change improves the support by adding more opcodes
393 that can be executed in the manner. Some other issues have been solved,
394 and the ASL grammar changes to support such code under all scope
395 operators (Device, etc.) are complete. Lv Zheng.
397 UEFI support: these OSL functions have been implemented. This is an
398 additional step toward supporting the AcpiExec utility natively (with
399 full hardware access) under UEFI. Marcelo Ferreira.
400 AcpiOsReadPciConfiguration
401 AcpiOsWritePciConfiguration
403 Fixed a possible mutex error during control method auto-serialization. Lv
406 Updated support for the Generic Address Structure by fully implementing
407 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
410 Updated the return value for the internal _OSI method. Instead of
411 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
412 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
413 implementations, and will be reflected and clarified in the next version
414 of the ACPI specification.
416 Implemented two new table events that can be passed to an ACPICA table
417 handler. These events are used to indicate a table installation or
418 uninstallation. These events are used in addition to existed table load
419 and unload events. Lv Zheng.
421 Implemented a cleanup for all internal string-to-integer conversions.
422 Consolidate multiple versions of this functionality and limit possible
423 bases to either 10 or 16 to simplify the code. Adds a new file,
426 Cleanup the inclusion order of the various compiler-specific headers.
427 This simplifies build configuration management. The compiler-specific
428 headers are now split out from the host-specific headers. Lv Zheng.
430 Example Code and Data Size: These are the sizes for the OS-independent
431 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
432 debug version of the code includes the debug output trace mechanism and
433 has a much larger code and data size.
436 Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
437 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
440 2) iASL Compiler/Disassembler and Tools:
442 iASL/AcpiExec: Added a command line option to display the build date/time
443 of the tool (-vd). This can be useful to verify that the correct version
444 of the tools are being used.
446 AML Debugger: Implemented a new subcommand ("execute predef") to execute
447 all predefined control methods and names within the current namespace.
448 This can be useful for debugging problems with ACPI tables and the ACPI
451 ----------------------------------------
452 29 July 2016. Summary of changes for version 20160729:
455 1) ACPICA kernel-resident subsystem:
457 Implemented basic UEFI support for the various ACPICA tools. This
459 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
460 2) Support to obtain the ACPI tables on UEFI.
461 3) Local implementation of required C library functions not available on
463 4) A front-end (main) function for the tools for UEFI-related
466 The initial deployment of this support is the AcpiDump utility executing
467 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
468 Current environments supported are Linux/Unix. MSVC generation is not
469 supported at this time. See the generate/efi/README file for build
470 instructions. Lv Zheng.
472 Future plans include porting the AcpiExec utility to execute natively on
473 the platform with I/O and memory access. This will allow viewing/dump of
474 the platform namespace and native execution of ACPI control methods that
475 access the actual hardware. To fully implement this support, the OSL
476 functions below must be implemented with UEFI interfaces. Any community
477 help in the implementation of these functions would be appreciated:
482 AcpiOsReadPciConfiguration
483 AcpiOsWritePciConfiguration
485 Restructured and standardized the C library configuration for ACPICA,
486 resulting in the various configuration options below. This includes a
487 global restructuring of the compiler-dependent and platform-dependent
488 include files. These changes may affect the existing platform-dependent
489 configuration files on some hosts. Lv Zheng.
491 The current C library configuration options appear below. For any issues,
492 it may be helpful to examine the existing compiler-dependent and
493 platform-dependent files as examples. Lv Zheng.
496 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
498 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
499 2) Unix/Windows/BSD applications:
500 ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
502 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
503 3) UEFI applications:
504 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
506 ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
507 4) UEFI applications (EDK2/StdLib):
508 ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
509 ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
512 AML interpreter: "module-level code" support. Allows for execution of so-
513 called "executable" AML code (math/logical operations, etc.) outside of
514 control methods not just at the module level (top level) but also within
515 any scope declared outside of a control method - Scope{}, Device{},
516 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
518 Simplified the configuration of the "maximum AML loops" global option by
519 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
523 Example Code and Data Size: These are the sizes for the OS-independent
524 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
525 debug version of the code includes the debug output trace mechanism and
526 has a much larger code and data size.
529 Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
530 Debug Version: 199.0K Code, 81.8K Data, 280.8K Total
533 2) iASL Compiler/Disassembler and Tools:
535 iASL: Add full support for the RASF ACPI table (RAS Features Table).
536 Includes disassembler, data table compiler, and header support.
538 iASL Expand "module-level code" support. Allows for
539 compilation/disassembly of so-called "executable" AML code (math/logical
540 operations, etc.) outside of control methods not just at the module level
541 (top level) but also within any scope declared outside of a control
542 method - Scope{}, Device{}, Processor{}, PowerResource{}, and
545 AcpiDump: Added support for dumping all SSDTs on newer versions of
546 Windows. These tables are now easily available -- SSDTs are not available
547 through the registry on older versions.
549 ----------------------------------------
550 27 May 2016. Summary of changes for version 20160527:
553 1) ACPICA kernel-resident subsystem:
555 Temporarily reverted the new arbitrary bit length/alignment support in
556 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
557 a number of regressions with the new code that need to be fully resolved
558 and tested before this support can be finally integrated into ACPICA.
559 Apologies for any inconveniences these issues may have caused.
561 The ACPI message macros are not configurable (ACPI_MSG_ERROR,
562 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
563 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
565 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
566 option. Adds a new return macro, return_STR. Junk-uk Kim.
568 Example Code and Data Size: These are the sizes for the OS-independent
569 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
570 debug version of the code includes the debug output trace mechanism and
571 has a much larger code and data size.
574 Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
575 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
577 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
578 Debug Version: 200.9K Code, 82.2K Data, 283.1K Total
580 ----------------------------------------
581 22 April 2016. Summary of changes for version 20160422:
583 1) ACPICA kernel-resident subsystem:
585 Fixed a regression in the GAS (generic address structure) arbitrary bit
586 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
587 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
589 ACPI 6.0: Added support for new/renamed resource macros. One new argument
590 was added to each of these macros, and the original name has been
591 deprecated. The AML disassembler will always disassemble to the new
592 names. Support for the new macros was added to iASL, disassembler,
593 resource manager, and the acpihelp utility. ACPICA BZ 1274.
595 I2cSerialBus -> I2cSerialBusV2
596 SpiSerialBus -> SpiSerialBusV2
597 UartSerialBus -> UartSerialBusV2
599 ACPI 6.0: Added support for a new integer field that was appended to the
600 package object returned by the _BIX method. This adds iASL compile-time
601 and AML runtime error checking. ACPICA BZ 1273.
603 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
604 Subspace Type2" (Headers, Disassembler, and data table compiler).
606 Example Code and Data Size: These are the sizes for the OS-independent
607 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
608 debug version of the code includes the debug output trace mechanism and
609 has a much larger code and data size.
612 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
613 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
615 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
616 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
619 2) iASL Compiler/Disassembler and Tools:
621 iASL: Implemented an ASL grammar extension to allow/enable executable
622 "module-level code" to be created and executed under the various
623 operators that create new scopes. This type of AML code is already
624 supported in all known AML interpreters, and the grammar change will
625 appear in the next version of the ACPI specification. Simplifies the
626 conditional runtime creation of named objects under these object types:
634 iASL: Implemented a new ASL extension, a "For" loop macro to add greater
635 ease-of-use to the ASL language. The syntax is similar to the
636 corresponding C operator, and is implemented with the existing AML While
637 opcode -- thus requiring no changes to existing AML interpreters.
639 For (Initialize, Predicate, Update) {TermList}
644 Initializer // Nothing | TermArg => ComputationalData
645 Predicate // Nothing | TermArg => ComputationalData
646 Update // Nothing | TermArg => ComputationalData
650 iASL: The _HID/_ADR detection and validation has been enhanced to search
651 under conditionals in order to allow these objects to be conditionally
654 iASL: Fixed several issues with the constant folding feature. The
655 improvement allows better detection and resolution of statements that can
656 be folded at compile time. ACPICA BZ 1266.
658 iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
659 conversion to the ASL ElseIf operator where incorrect ASL code could be
662 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
663 sometimes an extra (and extraneous) set of parentheses were emitted for
664 some combinations of operators. Although this did not cause any problems
665 with recompilation of the disassembled code, it made the code more
666 difficult to read. David Box. ACPICA BZ 1231.
668 iASL: Changed to ignore the unreferenced detection for predefined names
669 of resource descriptor elements, when the resource descriptor is
670 created/defined within a control method.
672 iASL: Disassembler: Fix a possible fault with externally declared Buffer
675 ----------------------------------------
676 18 March 2016. Summary of changes for version 20160318:
678 1) ACPICA kernel-resident subsystem:
680 Added support for arbitrary bit lengths and bit offsets for registers
681 defined by the Generic Address Structure. Previously, only aligned bit
682 lengths of 8/16/32/64 were supported. This was sufficient for many years,
683 but recently some machines have been seen that require arbitrary bit-
684 level support. ACPICA BZ 1240. Lv Zheng.
686 Fixed an issue where the \_SB._INI method sometimes must be evaluated
687 before any _REG methods are evaluated. Lv Zheng.
689 Implemented several changes related to ACPI table support
690 (Headers/Disassembler/TableCompiler):
691 NFIT: For ACPI 6.1, updated to add some additional new fields and
693 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
695 DMAR: Added new constants per the 10/2014 DMAR spec.
696 IORT: Added new subtable per the 10/2015 IORT spec.
697 HEST: For ACPI 6.1, added new constants and new subtable.
698 DBG2: Added new constants per the 12/2015 DBG2 spec.
699 FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
701 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
703 Updated header support for the DMAR table to match the current version of
706 Added extensions to the ASL Concatenate operator to allow any ACPI object
707 to be passed as an operand. Any object other than Integer/String/Buffer
708 simply returns a string containing the object type. This extends the
709 usefulness of the Printf macros. Previously, Concatenate would abort the
710 control method if a non-data object was encountered.
712 ACPICA source code: Deployed the C "const" keyword across the source code
713 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
715 Example Code and Data Size: These are the sizes for the OS-independent
716 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
717 debug version of the code includes the debug output trace mechanism and
718 has a much larger code and data size.
721 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
722 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
724 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
725 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
728 2) iASL Compiler/Disassembler and Tools:
730 iASL/Disassembler: Improved the heuristic used to determine the number of
731 arguments for an externally defined control method (a method in another
732 table). Although this is an improvement, there is no deterministic way to
733 "guess" the number of method arguments. Only the ACPI 6.0 External opcode
734 will completely solve this problem as it is deployed (automatically) in
737 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
738 statements that could cause errors when the disassembled file is
739 compiled. ACPICA BZ 1243. David Box.
741 iASL: Fixed a regression caused by the merger of the two versions of the
742 local strtoul64. Because of a dependency on a global variable, strtoul64
743 could return an error for integers greater than a 32-bit value. ACPICA BZ
746 iASL: Fixed a regression where a fault could occur for an ASL Return
747 statement if it invokes a control method that is not resolved. ACPICA BZ
750 AcpiXtract: Improved input file validation: detection of binary files and
751 non-acpidump text files.
753 ----------------------------------------
754 12 February 2016. Summary of changes for version 20160212:
756 1) ACPICA kernel-resident subsystem:
758 Implemented full support for the ACPI 6.1 specification (released in
759 January). This version of the specification is available at:
760 http://www.uefi.org/specifications
762 Only a relatively small number of changes were required in ACPICA to
763 support ACPI 6.1, in these areas:
764 - New predefined names
766 - A new subtable for HEST
767 - A few other header changes for new values
769 Ensure \_SB_._INI is executed before any _REG methods are executed. There
770 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
772 Reverted a change made in version 20151218 which enabled method
773 invocations to be targets of various ASL operators (SuperName and Target
774 grammar elements). While the new behavior is supported by the ACPI
775 specification, other AML interpreters do not support this behavior and
776 never will. The ACPI specification will be updated for ACPI 6.2 to remove
777 this support. Therefore, the change was reverted to the original ACPICA
780 ACPICA now supports the GCC 6 compiler.
782 Current Release: (Note: build changes increased sizes)
783 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
784 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
786 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
787 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
790 2) iASL Compiler/Disassembler and Tools:
792 Completed full support for the ACPI 6.0 External() AML opcode. The
793 compiler emits an external AML opcode for each ASL External statement.
794 This opcode is used by the disassembler to assist with the disassembly of
795 external control methods by specifying the required number of arguments
796 for the method. AML interpreters do not use this opcode. To ensure that
797 interpreters do not even see the opcode, a block of one or more external
798 opcodes is surrounded by an "If(0)" construct. As this feature becomes
799 commonly deployed in BIOS code, the ability of disassemblers to correctly
800 disassemble AML code will be greatly improved. David Box.
802 iASL: Implemented support for an optional cross-reference output file.
803 The -lx option will create a the cross-reference file with the suffix
804 "xrf". Three different types of cross-reference are created in this file:
805 - List of object references made from within each control method
806 - Invocation (caller) list for each user-defined control method
807 - List of references to each non-method object in the namespace
809 iASL: Method invocations as ASL Target operands are now disallowed and
810 flagged as errors in preparation for ACPI 6.2 (see the description of the
813 ----------------------------------------
814 8 January 2016. Summary of changes for version 20160108:
816 1) ACPICA kernel-resident subsystem:
818 Updated all ACPICA copyrights and signons to 2016: Added the 2016
819 copyright to all source code module headers and utility/tool signons.
820 This includes the standard Linux dual-license header. This affects
821 virtually every file in the ACPICA core subsystem, iASL compiler, all
822 ACPICA utilities, and the ACPICA test suite.
824 Fixed a regression introduced in version 20151218 concerning the
825 execution of so-called module-level ASL/AML code. Namespace objects
826 created under a module-level If() construct were not properly/fully
827 entered into the namespace and could cause an interpreter fault when
830 Example Code and Data Size: These are the sizes for the OS-independent
831 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
832 debug version of the code includes the debug output trace mechanism and
833 has a much larger code and data size.
836 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
837 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
839 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
840 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
843 2) iASL Compiler/Disassembler and Tools:
845 Fixed a problem with the compilation of the GpioIo and GpioInt resource
846 descriptors. The _PIN field name was incorrectly defined to be an array
847 of 32-bit values, but the _PIN values are in fact 16 bits each. This
848 would cause incorrect bit width warnings when using Word (16-bit) fields
849 to access the descriptors.
852 ----------------------------------------
853 18 December 2015. Summary of changes for version 20151218:
855 1) ACPICA kernel-resident subsystem:
857 Implemented per-AML-table execution of "module-level code" as individual
858 ACPI tables are loaded into the namespace during ACPICA initialization.
859 In other words, any module-level code within an AML table is executed
860 immediately after the table is loaded, instead of batched and executed
861 after all of the tables have been loaded. This provides compatibility
862 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
865 To fully support the feature above, the default operation region handlers
866 for the SystemMemory, SystemIO, and PCI_Config address spaces are now
867 installed before any ACPI tables are loaded. This enables module-level
868 code to access these address spaces during the table load and module-
869 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
872 Implemented several changes to the internal _REG support in conjunction
873 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
874 utilities for the changes above. Although these tools were changed, host
875 operating systems that simply use the default handlers for SystemMemory,
876 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
878 For example, in the code below, DEV1 is conditionally added to the
879 namespace by the DSDT via module-level code that accesses an operation
880 region. The SSDT references DEV1 via the Scope operator. DEV1 must be
881 created immediately after the DSDT is loaded in order for the SSDT to
882 successfully reference DEV1. Previously, this code would cause an
883 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
884 fully supported by ACPICA.
886 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
888 OperationRegion (OPR1, SystemMemory, 0x400, 32)
889 Field (OPR1, AnyAcc, NoLock, Preserve)
900 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
902 External (\DEV1, DeviceObj)
908 Fixed an AML interpreter problem where control method invocations were
909 not handled correctly when the invocation was itself a SuperName argument
910 to another ASL operator. In these cases, the method was not invoked.
911 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
919 Signal, Release, Reset
922 Implemented automatic String-to-ObjectReference conversion support for
923 packages returned by predefined names (such as _DEP). A common BIOS error
924 is to add double quotes around an ObjectReference namepath, which turns
925 the reference into an unexpected string object. This support detects the
926 problem and corrects it before the package is returned to the caller that
927 invoked the method. Lv Zheng.
929 Implemented extensions to the Concatenate operator. Concatenate now
930 accepts any type of object, it is not restricted to simply
931 Integer/String/Buffer. For objects other than these 3 basic data types,
932 the argument is treated as a string containing the name of the object
933 type. This expands the utility of Concatenate and the Printf/Fprintf
934 macros. ACPICA BZ 1222.
936 Cleaned up the output of the ASL Debug object. The timer() value is now
937 optional and no longer emitted by default. Also, the basic data types of
938 Integer/String/Buffer are simply emitted as their values, without a data
939 type string -- since the data type is obvious from the output. ACPICA BZ
942 Example Code and Data Size: These are the sizes for the OS-independent
943 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
944 debug version of the code includes the debug output trace mechanism and
945 has a much larger code and data size.
948 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
949 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
951 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
952 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
955 2) iASL Compiler/Disassembler and Tools:
957 iASL: Fixed some issues with the ASL Include() operator. This operator
958 was incorrectly defined in the iASL parser rules, causing a new scope to
959 be opened for the code within the include file. This could lead to
960 several issues, including allowing ASL code that is technically illegal
961 and not supported by AML interpreters. Note, this does not affect the
962 related #include preprocessor operator. ACPICA BZ 1212.
964 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
965 operator is essentially an ASL macro since there is no AML opcode
966 associated with it. The code emitted by the iASL compiler for ElseIf is
967 an Else opcode followed immediately by an If opcode. The disassembler
968 will now emit an ElseIf if it finds an Else immediately followed by an
969 If. This simplifies the decoded ASL, especially for deeply nested
970 If..Else and large Switch constructs. Thus, the disassembled code more
971 closely follows the original source ASL. ACPICA BZ 1211. Example:
983 ElseIf (Arg0 == 0x02)
988 AcpiExec: Added support for the new module level code behavior and the
989 early region installation. This required a small change to the
990 initialization, since AcpiExec must install its own operation region
993 AcpiExec: Added support to make the debug object timer optional. Default
994 is timer disabled. This cleans up the debug object output -- the timer
997 AcpiExec: Multiple ACPI tables are now loaded in the order that they
998 appear on the command line. This can be important when there are
999 interdependencies/references between the tables.
1001 iASL/Templates. Add support to generate template files with multiple
1002 SSDTs within a single output file. Also added ommand line support to
1003 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
1007 ----------------------------------------
1008 24 November 2015. Summary of changes for version 20151124:
1010 1) ACPICA kernel-resident subsystem:
1012 Fixed a possible regression for a previous update to FADT handling. The
1013 FADT no longer has a fixed table ID, causing some issues with code that
1014 was hardwired to a specific ID. Lv Zheng.
1016 Fixed a problem where the method auto-serialization could interfere with
1017 the current SyncLevel. This change makes the auto-serialization support
1018 transparent to the SyncLevel support and management.
1020 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
1021 interface is intended for early access to the namespace during the
1022 initial namespace device discovery walk. The _SUB method has been seen to
1023 access operation regions in some cases, causing errors because the
1024 operation regions are not fully initialized.
1026 AML Debugger: Fixed some issues with the terminate/quit/exit commands
1027 that can cause faults. Lv Zheng.
1029 AML Debugger: Add thread ID support so that single-step mode only applies
1030 to the AML Debugger thread. This prevents runtime errors within some
1033 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
1034 methods that are invoked by this interface are optional, removed warnings
1035 emitted for the case where one or more of these methods do not exist.
1036 ACPICA BZ 1208, original change by Prarit Bhargava.
1038 Made a major pass through the entire ACPICA source code base to
1039 standardize formatting that has diverged a bit over time. There are no
1040 functional changes, but this will of course cause quite a few code
1041 differences from the previous ACPICA release.
1043 Example Code and Data Size: These are the sizes for the OS-independent
1044 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1045 debug version of the code includes the debug output trace mechanism and
1046 has a much larger code and data size.
1049 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
1050 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
1052 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1053 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
1056 2) iASL Compiler/Disassembler and Tools:
1058 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
1059 definition blocks within a single ASL file and the resulting AML file.
1060 Support for this type of file was also added to the various tools that
1061 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
1062 example code below shows two definition blocks within the same file:
1064 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
1068 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
1072 iASL: Enhanced typechecking for the Name() operator. All expressions for
1073 the value of the named object must be reduced/folded to a single constant
1074 at compile time, as per the ACPI specification (the AML definition of
1077 iASL: Fixed some code indentation issues for the -ic and -ia options (C
1078 and assembly headers). Now all emitted code correctly begins in column 1.
1080 iASL: Added an error message for an attempt to open a Scope() on an
1081 object defined in an SSDT. The DSDT is always loaded into the namespace
1082 first, so any attempt to open a Scope on an SSDT object will fail at
1086 ----------------------------------------
1087 30 September 2015. Summary of changes for version 20150930:
1089 1) ACPICA kernel-resident subsystem:
1091 Debugger: Implemented several changes and bug fixes to assist support for
1092 the in-kernel version of the AML debugger. Lv Zheng.
1093 - Fix the "predefined" command for in-kernel debugger.
1094 - Do not enter debug command loop for the help and version commands.
1095 - Disallow "execute" command during execution/single-step of a method.
1097 Interpreter: Updated runtime typechecking for all operators that have
1098 target operands. The operand is resolved and validated that it is legal.
1099 For example, the target cannot be a non-data object such as a Device,
1100 Mutex, ThermalZone, etc., as per the ACPI specification.
1102 Debugger: Fixed the double-mutex user I/O handshake to work when local
1103 deadlock detection is enabled.
1105 Debugger: limited display of method locals and arguments (LocalX and
1106 ArgX) to only those that have actually been initialized. This prevents
1107 lines of extraneous output.
1109 Updated the definition of the NFIT table to correct the bit polarity of
1110 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
1112 Example Code and Data Size: These are the sizes for the OS-independent
1113 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1114 debug version of the code includes the debug output trace mechanism and
1115 has a much larger code and data size.
1118 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1119 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
1121 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1122 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
1125 2) iASL Compiler/Disassembler and Tools:
1127 iASL: Improved the compile-time typechecking for operands of many of the
1130 -- Added an option to disable compiler operand/operator typechecking (-
1133 -- For the following operators, the TermArg operands are now validated
1134 when possible to be Integer data objects: BankField, OperationRegion,
1135 DataTableRegion, Buffer, and Package.
1137 -- Store (Source, Target): Both the source and target operands are
1138 resolved and checked that the operands are both legal. For example,
1139 neither operand can be a non-data object such as a Device, Mutex,
1140 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
1141 operator can be used to store an object to any type of target object.
1143 -- Store (Source, Target): If the source is a Package object, the target
1144 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
1145 is a Package, the source must also be a Package.
1147 -- Store (Source, Target): A warning is issued if the source and target
1148 resolve to the identical named object.
1150 -- Store (Source, <method invocation>): An error is generated for the
1151 target method invocation, as this construct is not supported by the AML
1154 -- For all ASL math and logic operators, the target operand must be a
1155 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
1156 includes the function return value also.
1158 -- External declarations are also included in the typechecking where
1159 possible. External objects defined using the UnknownObj keyword cannot be
1160 typechecked, however.
1162 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
1164 - Legacy code: Index(PKG1, 3)
1165 - New ASL+ code: PKG1[3]
1166 This completes the ACPI 6.0 ASL+ support as it was the only operator not
1169 iASL: Fixed the file suffix for the preprocessor output file (.i). Two
1170 spaces were inadvertently appended to the filename, causing file access
1171 and deletion problems on some systems.
1173 ASL Test Suite (ASLTS): Updated the master makefile to generate all
1174 possible compiler output files when building the test suite -- thus
1175 exercising these features of the compiler. These files are automatically
1176 deleted when the test suite exits.
1179 ----------------------------------------
1180 18 August 2015. Summary of changes for version 20150818:
1182 1) ACPICA kernel-resident subsystem:
1184 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
1185 Zheng. ACPICA BZ 1186.
1187 Completed development to ensure that the ACPICA Disassembler and Debugger
1188 are fully standalone components of ACPICA. Removed cross-component
1189 dependences. Lv Zheng.
1191 The max-number-of-AML-loops is now runtime configurable (previously was
1192 compile-time only). This is essentially a loop timeout to force-abort
1193 infinite AML loops. ACPCIA BZ 1192.
1195 Debugger: Cleanup output to dump ACPI names and namepaths without any
1196 trailing underscores. Lv Zheng. ACPICA BZ 1135.
1198 Removed unnecessary conditional compilations across the Debugger and
1199 Disassembler components where entire modules could be left uncompiled.
1201 The aapits test is deprecated and has been removed from the ACPICA git
1202 tree. The test has never been completed and has not been maintained, thus
1203 becoming rather useless. ACPICA BZ 1015, 794.
1205 A batch of small changes to close bugzilla and other reports:
1206 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
1207 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
1208 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
1209 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob
1211 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
1213 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
1215 - Debugger: Split debugger initialization/termination interfaces. Lv
1217 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table
1219 - AcpiExec: Add debug message during _REG method phase during table
1221 - AcpiNames: Fix a regression where some output was missing and no longer
1223 - Debugger: General cleanup and simplification. Lv Zheng.
1224 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
1226 Example Code and Data Size: These are the sizes for the OS-independent
1227 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1228 debug version of the code includes the debug output trace mechanism and
1229 has a much larger code and data size.
1232 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
1233 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
1235 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1236 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
1239 2) iASL Compiler/Disassembler and Tools:
1241 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
1242 were not handled properly and caused load errors. Now, properly invoke
1243 and use the ACPICA auto-reallocate mechanism for ACPI table data
1244 structures. ACPICA BZ 1188
1246 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
1249 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
1250 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
1251 executed during initialization. ACPICA BZ 1187, 1189.
1253 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
1254 that corresponds to each disassembled ASL statement, to simplify
1255 debugging. ACPICA BZ 1191.
1257 Debugger: Add option to the "objects" command to display a summary of the
1258 current namespace objects (Object type and count). This is displayed if
1259 the command is entered with no arguments.
1261 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
1264 ----------------------------------------
1265 17 July 2015. Summary of changes for version 20150717:
1267 1) ACPICA kernel-resident subsystem:
1269 Improved the partitioning between the Debugger and Disassembler
1270 components. This allows the Debugger to be used standalone within kernel
1271 code without the Disassembler (which is used for single stepping also).
1272 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
1274 Debugger: Implemented a new command to trace the execution of control
1275 methods (Trace). This is especially useful for the in-kernel version of
1276 the debugger when file I/O may not be available for method trace output.
1277 See the ACPICA reference for more information. Lv Zheng.
1279 Moved all C library prototypes (used for the local versions of these
1280 functions when requested) to a new header, acclib.h
1281 Cleaned up the use of non-ANSI C library functions. These functions are
1282 implemented locally in ACPICA. Moved all such functions to a common
1283 source file, utnonansi.c
1285 Debugger: Fixed a problem with the "!!" command (get last command
1286 executed) where the debugger could enter an infinite loop and eventually
1289 Removed the use of local macros that were used for some of the standard C
1290 library functions to automatically cast input parameters. This mostly
1291 affected the is* functions where the input parameter is defined to be an
1292 int. This required a few modifications to the main ACPICA source code to
1293 provide casting for these functions and eliminate possible compiler
1294 warnings for these parameters.
1296 Across the source code, added additional status/error checking to resolve
1297 issues discovered by static source code analysis tools such as Coverity.
1299 Example Code and Data Size: These are the sizes for the OS-independent
1300 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1301 debug version of the code includes the debug output trace mechanism and
1302 has a much larger code and data size.
1305 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
1306 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
1308 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1309 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
1312 2) iASL Compiler/Disassembler and Tools:
1314 iASL: Fixed a regression where the device map file feature no longer
1315 worked properly when used in conjunction with the disassembler. It only
1316 worked properly with the compiler itself.
1318 iASL: Implemented a new warning for method LocalX variables that are set
1319 but never used (similar to a C compiler such as gcc). This also applies
1320 to ArgX variables that are not defined by the parent method, and are
1321 instead (legally) used as local variables.
1323 iASL/Preprocessor: Finished the pass-through of line numbers from the
1324 preprocessor to the compiler. This ensures that compiler errors/warnings
1325 have the correct original line numbers and filenames, regardless of any
1328 iASL/Preprocessor: Fixed a couple of issues with comment handling and the
1329 pass-through of comments to the preprocessor output file (which becomes
1330 the compiler input file). Also fixed a problem with // comments that
1331 appear after a math expression.
1333 iASL: Added support for the TCPA server table to the table compiler and
1334 template generator. (The client table was already previously supported)
1336 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
1337 identify the iASL compiler.
1339 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
1340 multiple times. The new names are ACPI_SIGN_NEGATIVE and
1343 AcpiHelp: Update to expand help messages for the iASL preprocessor
1347 ----------------------------------------
1348 19 June 2015. Summary of changes for version 20150619:
1350 Two regressions in version 20150616 have been addressed:
1352 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
1353 etc.) This update changes ACPICA to only use the standard headers for
1354 functions, or the prototypes for the local versions of the C library
1355 functions. Across the source code, this required some additional casts
1356 for some Clib invocations for portability. Moved all local prototypes to
1357 a new file, acclib.h
1359 Fixes several problems with recent changes to the handling of the FACS
1360 table that could cause some systems not to boot.
1363 ----------------------------------------
1364 16 June 2015. Summary of changes for version 20150616:
1367 1) ACPICA kernel-resident subsystem:
1369 Across the entire ACPICA source code base, the various macros for the C
1370 library functions (such as ACPI_STRLEN, etc.) have been removed and
1371 replaced by the standard C library names (strlen, etc.) The original
1372 purpose for these macros is no longer applicable. This simplification
1373 reduces the number of macros used in the ACPICA source code
1374 significantly, improving readability and maintainability.
1376 Implemented support for a new ACPI table, the OSDT. This table, the
1377 "override" SDT, can be loaded directly by the host OS at boot time. It
1378 enables the replacement of existing namespace objects that were installed
1379 via the DSDT and/or SSDTs. The primary purpose for this is to replace
1380 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
1381 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
1384 Added support for systems with (improperly) two FACS tables -- a "32-bit"
1385 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
1386 X field). This change will support both automatically. There continues to
1387 be systems found with this issue. This support requires a change to the
1388 AcpiSetFirmwareWakingVector interface. Also, a public global variable has
1389 been added to allow the host to select which FACS is desired
1390 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
1393 Added a new feature to allow for systems that do not contain an FACS.
1394 Although this is already supported on hardware-reduced platforms, the
1395 feature has been extended for all platforms. The reasoning is that we do
1396 not want to abort the entire ACPICA initialization just because the
1397 system is seriously buggy and has no FACS.
1399 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
1400 not correctly transcribed from the ACPI specification in ACPICA version
1403 Implemented support for the _CLS object in the AcpiGetObjectInfo external
1406 Updated the definitions of the TCPA and TPM2 ACPI tables to the more
1407 recent TCG ACPI Specification, December 14, 2014. Table disassembler and
1408 compiler also updated. Note: The TCPA "server" table is not supported by
1409 the disassembler/table-compiler at this time.
1411 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
1413 Example Code and Data Size: These are the sizes for the OS-independent
1414 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1415 debug version of the code includes the debug output trace mechanism and
1416 has a much larger code and data size.
1419 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
1420 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
1422 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
1423 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
1426 2) iASL Compiler/Disassembler and Tools:
1428 Disassembler: Fixed a problem with the new symbolic operator disassembler
1429 where incorrect ASL code could be emitted in some cases for the "non-
1430 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
1431 ShiftRight. The actual problem cases seem to be rather unusual in common
1432 ASL code, however. David Box.
1434 Modified the linux version of acpidump to obtain ACPI tables from not
1435 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
1438 iASL: Fixed a problem where the user preprocessor output file (.i)
1439 contained extra data that was not expected. The compiler was using this
1440 file as a temporary file and passed through #line directives in order to
1441 keep compiler error messages in sync with the input file and line number
1442 across multiple include files. The (.i) is no longer a temporary file as
1443 the compiler uses a new, different file for the original purpose.
1445 iASL: Fixed a problem where comments within the original ASL source code
1446 file were not passed through to the preprocessor output file, nor any
1449 iASL: Fixed some issues for the handling of the "#include" preprocessor
1450 directive and the similar (but not the same) "Include" ASL operator.
1452 iASL: Add support for the new OSDT in both the disassembler and compiler.
1454 iASL: Fixed a problem with the constant folding support where a Buffer
1455 object could be incorrectly generated (incorrectly formed) during a
1456 conversion to a Store() operator.
1458 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
1459 description text for the _REV predefined name. _REV now permanently
1460 returns 2, as per the ACPI 6.0 specification.
1462 Debugger: Enhanced the output of the Debug ASL object for references
1463 produced by the Index operator. For Buffers and strings, only output the
1464 actual byte pointed to by the index. For packages, only print the single
1465 package element decoded by the index. Previously, the entire
1466 buffer/string/package was emitted.
1468 iASL/Table-compiler: Fixed a regression where the "generic" data types
1469 were no longer recognized, causing errors.
1472 ----------------------------------------
1473 15 May 2015. Summary of changes for version 20150515:
1475 This release implements most of ACPI 6.0 as described below.
1477 1) ACPICA kernel-resident subsystem:
1479 Implemented runtime argument checking and return value checking for all
1480 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
1481 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
1483 Example Code and Data Size: These are the sizes for the OS-independent
1484 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1485 debug version of the code includes the debug output trace mechanism and
1486 has a much larger code and data size.
1489 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
1490 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
1492 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
1493 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
1496 2) iASL Compiler/Disassembler and Tools:
1498 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
1499 names (argument count validation and return value typechecking.)
1501 iASL disassembler and table compiler: implemented support for all new
1502 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
1504 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
1507 iASL preprocessor: Added a new directive to enable inclusion of binary
1508 blobs into ASL code. The new directive is #includebuffer. It takes a
1509 binary file as input and emits a named ascii buffer object into the ASL
1512 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
1514 AcpiHelp: Added a new option, -d, to display all iASL preprocessor
1517 AcpiHelp: Added a new option, -t, to display all known/supported ACPI
1521 ----------------------------------------
1522 10 April 2015. Summary of changes for version 20150410:
1524 Reverted a change introduced in version 20150408 that caused
1525 a regression in the disassembler where incorrect operator
1526 symbols could be emitted.
1529 ----------------------------------------
1530 08 April 2015. Summary of changes for version 20150408:
1533 1) ACPICA kernel-resident subsystem:
1535 Permanently set the return value for the _REV predefined name. It now
1536 returns 2 (was 5). This matches other ACPI implementations. _REV will be
1537 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
1538 for ACPI 2.0 and later. It should never be used to differentiate or
1539 identify operating systems.
1541 Added the "Windows 2015" string to the _OSI support. ACPICA will now
1542 return TRUE to a query with this string.
1544 Fixed several issues with the local version of the printf function.
1546 Added the C99 compiler option (-std=c99) to the Unix makefiles.
1549 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
1550 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
1552 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1553 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1556 2) iASL Compiler/Disassembler and Tools:
1558 iASL: Implemented an enhancement to the constant folding feature to
1559 transform the parse tree to a simple Store operation whenever possible:
1560 Add (2, 3, X) ==> is converted to: Store (5, X)
1561 X = 2 + 3 ==> is converted to: Store (5, X)
1563 Updated support for the SLIC table (Software Licensing Description Table)
1564 in both the Data Table compiler and the disassembler. The SLIC table
1565 support now conforms to "Microsoft Software Licensing Tables (SLIC and
1566 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
1567 following the ACPI header is now defined to be "Proprietary Data", and as
1568 such, can only be entered or displayed as a hex data block.
1570 Implemented full support for the MSDM table as described in the document
1571 above. Note: The format of MSDM is similar to SLIC. Any MSDM data
1572 following the ACPI header is defined to be "Proprietary Data", and can
1573 only be entered or displayed as a hex data block.
1575 Implemented the -Pn option for the iASL Table Compiler (was only
1576 implemented for the ASL compiler). This option disables the iASL
1579 Disassembler: For disassembly of Data Tables, added a comment field
1580 around the Ascii equivalent data that is emitted as part of the "Raw
1581 Table Data" block. This prevents the iASL Preprocessor from possible
1582 confusion if/when the table is compiled.
1584 Disassembler: Added an option (-df) to force the disassembler to assume
1585 that the table being disassembled contains valid AML. This feature is
1586 useful for disassembling AML files that contain ACPI signatures other
1587 than DSDT or SSDT (such as OEMx or other signatures).
1589 Changes for the EFI version of the tools:
1590 1) Fixed a build error/issue
1591 2) Fixed a cast warning
1593 iASL: Fixed a path issue with the __FILE__ operator by making the
1594 directory prefix optional within the internal SplitInputFilename
1597 Debugger: Removed some unused global variables.
1599 Tests: Updated the makefile for proper generation of the AAPITS suite.
1602 ----------------------------------------
1603 04 February 2015. Summary of changes for version 20150204:
1605 ACPICA kernel-resident subsystem:
1607 Updated all ACPICA copyrights and signons to 2014. Added the 2014
1608 copyright to all module headers and signons, including the standard Linux
1609 header. This affects virtually every file in the ACPICA core subsystem,
1610 iASL compiler, all ACPICA utilities, and the test suites.
1612 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
1613 A raw gpe handling mechanism was created to allow better handling of GPE
1614 storms that aren't easily managed by the normal handler. The raw handler
1615 allows disabling/renabling of the the GPE so that interrupt storms can be
1616 avoided in cases where events cannot be timely serviced. In this
1617 scenario, handlers should use the AcpiSetGpe() API to disable/enable the
1618 GPE. This API will leave the reference counts undisturbed, thereby
1619 preventing unintentional clearing of the GPE when the intent in only to
1620 temporarily disable it. Raw handlers allow enabling and disabling of a
1621 GPE by removing GPE register locking. As such, raw handlers much provide
1622 their own locks while using GPE API's to protect access to GPE data
1626 Events: Always modify GPE registers under the GPE lock.
1627 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
1628 values. Reported as bug by joe.liu@apple.com.
1630 Unix makefiles: Separate option to disable optimizations and
1631 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
1632 NOOPT disable option and creates a separate flag (NOFORTIFY) for this
1633 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
1634 errors when building ACPICA. This allows disabling the option without
1635 also having to disable optimazations.
1639 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
1640 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
1643 --------------------------------------
1644 07 November 2014. Summary of changes for version 20141107:
1646 This release is available at https://acpica.org/downloads
1648 This release introduces and implements language extensions to ASL that
1649 provide support for symbolic ("C-style") operators and expressions. These
1650 language extensions are known collectively as ASL+.
1653 1) iASL Compiler/Disassembler and Tools:
1655 Disassembler: Fixed a problem with disassembly of the UartSerialBus
1656 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
1659 Disassembler: Fixed the Unicode macro support to add escape sequences.
1660 All non-printable ASCII values are emitted as escape sequences, as well
1661 as the standard escapes for quote and backslash. Ensures that the
1662 disassembled macro can be correctly recompiled.
1664 iASL: Added Printf/Fprintf macros for formatted output. These macros are
1665 translated to existing AML Concatenate and Store operations. Printf
1666 writes to the ASL Debug object. Fprintf allows the specification of an
1667 ASL name as the target. Only a single format specifier is required, %o,
1668 since the AML interpreter dynamically converts objects to the required
1671 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1672 (Concatenate (Concatenate (Concatenate ("", Arg0),
1673 ": Unexpected value for "), Arg1), ", "), Arg2),
1674 " at line "), Arg3), Debug)
1676 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
1677 Arg0, Arg1, Arg2, Arg3)
1679 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
1680 ("", Arg1), ": "), Arg0), " Successful"), STR1)
1682 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
1684 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
1685 ASL parse tree before the AML code is generated. This allows blocks of
1686 ASL code to be removed in order to help locate and identify problem
1687 devices and/or code. David E. Box.
1689 AcpiExec: Added support (-fi) for an optional namespace object
1690 initialization file. This file specifies initial values for namespace
1691 objects as necessary for debugging and testing different ASL code paths
1692 that may be taken as a result of BIOS options.
1695 2) Overview of symbolic operator support for ASL (ASL+)
1696 -------------------------------------------------------
1698 As an extension to the ASL language, iASL implements support for symbolic
1699 (C-style) operators for math and logical expressions. This can greatly
1700 simplify ASL code as well as improve both readability and
1701 maintainability. These language extensions can exist concurrently with
1702 all legacy ASL code and expressions.
1704 The symbolic extensions are 100% compatible with existing AML
1705 interpreters, since no new AML opcodes are created. To implement the
1706 extensions, the iASL compiler transforms the symbolic expressions into
1707 the legacy ASL/AML equivalents at compile time.
1709 Full symbolic expressions are supported, along with the standard C
1710 precedence and associativity rules.
1712 Full disassembler support for the symbolic expressions is provided, and
1713 creates an automatic migration path for existing ASL code to ASL+ code
1714 via the disassembly process. By default, the disassembler now emits ASL+
1715 code with symbolic expressions. An option (-dl) is provided to force the
1716 disassembler to emit legacy ASL code if desired.
1718 Below is the complete list of the currently supported symbolic operators
1719 with examples. See the iASL User Guide for additional information.
1722 ASL+ Syntax Legacy ASL Equivalent
1723 ----------- ---------------------
1727 Z = X + Y Add (X, Y, Z)
1728 Z = X - Y Subtract (X, Y, Z)
1729 Z = X * Y Multiply (X, Y, Z)
1730 Z = X / Y Divide (X, Y, , Z)
1731 Z = X % Y Mod (X, Y, Z)
1732 Z = X << Y ShiftLeft (X, Y, Z)
1733 Z = X >> Y ShiftRight (X, Y, Z)
1734 Z = X & Y And (X, Y, Z)
1735 Z = X | Y Or (X, Y, Z)
1736 Z = X ^ Y Xor (X, Y, Z)
1741 // Logical operators
1743 (X == Y) LEqual (X, Y)
1744 (X != Y) LNotEqual (X, Y)
1745 (X < Y) LLess (X, Y)
1746 (X > Y) LGreater (X, Y)
1747 (X <= Y) LLessEqual (X, Y)
1748 (X >= Y) LGreaterEqual (X, Y)
1749 (X && Y) LAnd (X, Y)
1753 // Assignment and compound assignment operations
1756 X += Y Add (X, Y, X)
1757 X -= Y Subtract (X, Y, X)
1758 X *= Y Multiply (X, Y, X)
1759 X /= Y Divide (X, Y, , X)
1760 X %= Y Mod (X, Y, X)
1761 X <<= Y ShiftLeft (X, Y, X)
1762 X >>= Y ShiftRight (X, Y, X)
1763 X &= Y And (X, Y, X)
1765 X ^= Y Xor (X, Y, X)
1772 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
1773 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
1775 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
1777 And (MEMB, 0xFFFFFFF0, SRMB)
1778 Store (MEMB, Local2)
1779 Store (PDBM, Local1)
1780 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
1782 Or (PDBM, 0x02, PDBM)
1786 If (((R510 & 0x03FB) == 0x02E0) ||
1787 ((R520 & 0x03FB) == 0x02E0) ||
1788 ((R530 & 0x03FB) == 0x02E0) ||
1789 ((R540 & 0x03FB) == 0x02E0))
1791 SRMB = (MEMB & 0xFFFFFFF0)
1794 PDBM &= 0xFFFFFFFFFFFFFFF9
1800 Store (0x1234, Local1)
1801 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
1802 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
1803 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
1804 Store (Index (PKG1, 0x03), Local6)
1805 Store (Add (Local3, Local2), Debug)
1806 Add (Local1, 0x0F, Local2)
1807 Add (Local1, Multiply (Local2, Local3), Local2)
1808 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
1812 Local3 = (((Local1 + TEST) + 0x20) * Local2)
1813 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
1814 Local3 = (Local1 + (TEST + (0x20 * Local2)))
1815 Local6 = Index (PKG1, 0x03)
1816 Debug = (Local3 + Local2)
1817 Local2 = (Local1 + 0x0F)
1818 Local2 = (Local1 + (Local2 * Local3))
1819 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
1822 ----------------------------------------
1823 26 September 2014. Summary of changes for version 20140926:
1825 1) ACPICA kernel-resident subsystem:
1827 Updated the GPIO operation region handler interface (GeneralPurposeIo).
1828 In order to support GPIO Connection objects with multiple pins, along
1829 with the related Field objects, the following changes to the interface
1830 have been made: The Address is now defined to be the offset in bits of
1831 the field unit from the previous invocation of a Connection. It can be
1832 viewed as a "Pin Number Index" into the connection resource descriptor.
1833 The BitWidth is the exact bit width of the field. It is usually one bit,
1834 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
1835 additional information and examples.
1837 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
1838 corresponding _Lxx/_Exx methods are disabled (they may have been enabled
1839 by the firmware), so that they cannot fire until they are enabled via
1840 AcpiUpdateAllGpes. Rafael J. Wysocki.
1842 Added a new return flag for the Event/GPE status interfaces --
1843 AcpiGetEventStatus and AcpiGetGpeStatus. The new
1844 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
1845 GPE currently has a handler associated with it, and can thus actually
1846 affect the system. Lv Zheng.
1848 Example Code and Data Size: These are the sizes for the OS-independent
1849 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1850 debug version of the code includes the debug output trace mechanism and
1851 has a much larger code and data size.
1854 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
1855 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
1857 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1858 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1860 2) iASL Compiler/Disassembler and Tools:
1862 iASL: Fixed a memory allocation/free regression introduced in 20140828
1863 that could cause the compiler to crash. This was introduced inadvertently
1864 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
1867 iASL: Removed two error messages that have been found to create false
1868 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
1869 1) Illegal forward reference within a method
1870 2) Illegal reference across two methods
1872 iASL: Implemented a new option (-lm) to create a hardware mapping file
1873 that summarizes all GPIO, I2C, SPI, and UART connections. This option
1874 works for both the compiler and disassembler. See the iASL compiler user
1875 guide for additional information and examples (section 6.4.6).
1877 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
1878 version 2. This corrects the AE_BAD_HEADER exception seen on systems with
1879 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
1881 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
1882 unless STDIN is actually a terminal. Assists with batch-mode processing.
1885 Disassembler/AcpiHelp: Added another large group of recognized _HID
1889 ----------------------------------------
1890 28 August 2014. Summary of changes for version 20140828:
1892 1) ACPICA kernel-resident subsystem:
1894 Fixed a problem related to the internal use of the Timer() operator where
1895 a 64-bit divide could cause an attempted link to a double-precision math
1896 library. This divide is not actually necessary, so the code was
1897 restructured to eliminate it. Lv Zheng.
1899 ACPI 5.1: Added support for the runtime validation of the _DSD package
1900 (similar to the iASL support).
1902 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
1903 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
1905 Example Code and Data Size: These are the sizes for the OS-independent
1906 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1907 debug version of the code includes the debug output trace mechanism and
1908 has a much larger code and data size.
1911 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
1912 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
1914 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
1915 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
1917 2) iASL Compiler/Disassembler and Tools:
1919 AcpiExec: Fixed a problem on unix systems where the original terminal
1920 state was not always properly restored upon exit. Seen when using the -v
1921 option. ACPICA BZ 1104.
1923 iASL: Fixed a problem with the validation of the ranges/length within the
1924 Memory24 resource descriptor. There was a boundary condition when the
1925 range was equal to the (length -1) caused by the fact that these values
1926 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
1928 Disassembler: Fixed a problem with the GpioInt descriptor interrupt
1930 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
1932 now supported properly.
1934 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
1935 in the disassembler, data table compiler, and table template generator.
1937 iASL: Added a requirement for Device() objects that one of either a _HID
1938 or _ADR must exist within the scope of a Device, as per the ACPI
1939 specification. Remove a similar requirement that was incorrectly in place
1940 for the _DSD object.
1942 iASL: Added error detection for illegal named references within control
1943 methods that would cause runtime failures. Now trapped as errors are: 1)
1944 References to objects within a non-parent control method. 2) Forward
1945 references (within a method) -- for control methods, AML interpreters use
1946 a one-pass parse of control methods. ACPICA BZ 1008.
1948 iASL: Added error checking for dependencies related to the _PSx power
1949 methods. ACPICA BZ 1029.
1950 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
1952 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
1955 iASL and table compiler: Cleanup miscellaneous memory leaks by fully
1956 deploying the existing object and string caches and adding new caches for
1959 iASL: Split the huge parser source file into multiple subfiles to improve
1960 manageability. Generation now requires the M4 macro preprocessor, which
1961 is part of the Bison distribution on both unix and windows platforms.
1963 AcpiSrc: Fixed and removed all extraneous warnings generated during
1964 entire ACPICA source code scan and/or conversion.
1967 ----------------------------------------
1969 24 July 2014. Summary of changes for version 20140724:
1971 The ACPI 5.1 specification has been released and is available at:
1972 http://uefi.org/specs/access
1975 0) ACPI 5.1 support in ACPICA:
1977 ACPI 5.1 is fully supported in ACPICA as of this release.
1979 New predefined names. Support includes iASL and runtime ACPICA
1981 _CCA (Cache Coherency Attribute).
1982 _DSD (Device-Specific Data). David Box.
1984 Modifications to existing ACPI tables. Support includes headers, iASL
1985 Data Table compiler, disassembler, and the template generator.
1986 FADT - New fields and flags. Graeme Gregory.
1987 GTDT - One new subtable and new fields. Tomasz Nowicki.
1988 MADT - Two new subtables. Tomasz Nowicki.
1989 PCCT - One new subtable.
1992 New notification type for System Resource Affinity change events.
1995 1) ACPICA kernel-resident subsystem:
1997 Fixed a regression introduced in 20140627 where a fault can happen during
1998 the deletion of Alias AML namespace objects. The problem affected both
1999 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
2001 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
2002 simple mechanism to enable wake GPEs that have no associated handler or
2003 control method. Rafael Wysocki.
2005 Updated the AcpiEnableGpe interface to disallow the enable if there is no
2006 handler or control method associated with the particular GPE. This will
2007 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
2009 Updated GPE handling and dispatch by disabling the GPE before clearing
2010 the status bit for edge-triggered GPEs. Lv Zheng.
2012 Added Timer() support to the AML Debug object. The current timer value is
2013 now displayed with each invocation of (Store to) the debug object to
2014 enable simple generation of execution times for AML code (method
2015 execution for example.) ACPICA BZ 1093.
2017 Example Code and Data Size: These are the sizes for the OS-independent
2018 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2019 debug version of the code includes the debug output trace mechanism and
2020 has a much larger code and data size.
2023 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
2024 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
2026 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
2027 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
2030 2) iASL Compiler/Disassembler and Tools:
2032 Fixed an issue with the recently added local printf implementation,
2033 concerning width/precision specifiers that could cause incorrect output.
2034 Lv Zheng. ACPICA BZ 1094.
2036 Disassembler: Added support to detect buffers that contain UUIDs and
2037 disassemble them to an invocation of the ToUUID operator. Also emit
2038 commented descriptions of known ACPI-related UUIDs.
2040 AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
2041 -u. Adds three new files.
2043 iASL: Update table compiler and disassembler for DMAR table changes that
2044 were introduced in September 2013. With assistance by David Woodhouse.
2046 ----------------------------------------
2047 27 June 2014. Summary of changes for version 20140627:
2049 1) ACPICA kernel-resident subsystem:
2051 Formatted Output: Implemented local versions of standard formatted output
2052 utilities such as printf, etc. Over time, it has been discovered that
2053 there are in fact many portability issues with printf, and the addition
2054 of this feature will fix/prevent these issues once and for all. Some
2055 known issues are summarized below:
2057 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
2058 for the Linux kernel and is %uI64 for some MSVC versions.
2059 2) Invoking printf consistently in a manner that is portable across both
2060 32-bit and 64-bit platforms is difficult at best in many situations.
2061 3) The output format for pointers varies from system to system (leading
2062 zeros especially), and leads to inconsistent output from ACPICA across
2064 4) Certain platform-specific printf formats may conflict with ACPICA use.
2065 5) If there is no local C library available, ACPICA now has local support
2068 -- To address these printf issues in a complete manner, ACPICA now
2069 directly implements a small subset of printf format specifiers, only
2070 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
2072 Implemented support for ACPICA generation within the EFI environment.
2073 Initially, the AcpiDump utility is supported in the UEFI shell
2074 environment. Lv Zheng.
2076 Added a new external interface, AcpiLogError, to improve ACPICA
2077 portability. This allows the host to redirect error messages from the
2078 ACPICA utilities. Lv Zheng.
2080 Added and deployed new OSL file I/O interfaces to improve ACPICA
2088 There are C library implementations of these functions in the new file
2089 service_layers/oslibcfs.c -- however, the functions can be implemented by
2090 the local host in any way necessary. Lv Zheng.
2092 Implemented a mechanism to disable/enable ACPI table checksum validation
2093 at runtime. This can be useful when loading tables very early during OS
2094 initialization when it may not be possible to map the entire table in
2095 order to compute the checksum. Lv Zheng.
2097 Fixed a buffer allocation issue for the Generic Serial Bus support.
2098 Originally, a fixed buffer length was used. This change allows for
2099 variable-length buffers based upon the protocol indicated by the field
2100 access attributes. Reported by Lan Tianyu. Lv Zheng.
2102 Fixed a problem where an object detached from a namespace node was not
2103 properly terminated/cleared and could cause a circular list problem if
2104 reattached. ACPICA BZ 1063. David Box.
2106 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
2108 Fixed a possible memory leak in an error return path within the function
2109 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
2111 Example Code and Data Size: These are the sizes for the OS-independent
2112 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2113 debug version of the code includes the debug output trace mechanism and
2114 has a much larger code and data size.
2117 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
2118 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
2120 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
2121 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
2124 2) iASL Compiler/Disassembler and Tools:
2126 Disassembler: Add dump of ASCII equivalent text within a comment at the
2127 end of each line of the output for the Buffer() ASL operator.
2129 AcpiDump: Miscellaneous changes:
2130 Fixed repetitive table dump in -n mode.
2131 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
2132 the ACPI 2.0 GUID fails.
2134 iASL: Fixed a problem where the compiler could fault if incorrectly given
2135 an acpidump output file as input. ACPICA BZ 1088. David Box.
2137 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
2138 they are invoked without any arguments.
2140 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
2141 1086. Colin Ian King.
2143 Disassembler: Cleaned up a block of code that extracts a parent Op
2144 object. Added a comment that explains that the parent is guaranteed to be
2145 valid in this case. ACPICA BZ 1069.
2148 ----------------------------------------
2149 24 April 2014. Summary of changes for version 20140424:
2151 1) ACPICA kernel-resident subsystem:
2153 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
2154 Some of these tables are known to contain a trailing NULL entry. Lv
2157 Removed an extraneous error message for the case where there are a large
2158 number of system GPEs (> 124). This was the "32-bit FADT register is too
2159 long to convert to GAS struct" message, which is irrelevant for GPEs
2160 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
2161 (limited capacity) GAS bit length. Also, several changes to ensure proper
2162 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
2165 Implemented and deployed additional configuration support for the public
2166 ACPICA external interfaces. Entire classes of interfaces can now be
2167 easily modified or configured out, replaced by stubbed inline functions
2168 by default. Lv Zheng.
2170 Moved all public ACPICA runtime configuration globals to the public
2171 ACPICA external interface file for convenience. Also, removed some
2172 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
2174 Documentation: Added a new section to the ACPICA reference describing the
2175 maximum number of GPEs that can be supported by the FADT-defined GPEs in
2176 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
2179 Example Code and Data Size: These are the sizes for the OS-independent
2180 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2181 debug version of the code includes the debug output trace mechanism and
2182 has a much larger code and data size.
2185 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
2186 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
2188 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
2189 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
2192 2) iASL Compiler/Disassembler and Tools:
2194 iASL and disassembler: Add full support for the LPIT table (Low Power
2195 Idle Table). Includes support in the disassembler, data table compiler,
2196 and template generator.
2199 1) Add option to force the use of the RSDT (over the XSDT).
2200 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
2202 iASL: Add check for predefined packages that are too large. For
2203 predefined names that contain subpackages, check if each subpackage is
2204 too large. (Check for too small already exists.)
2206 Debugger: Updated the GPE command (which simulates a GPE by executing the
2207 GPE code paths in ACPICA). The GPE device is now optional, and defaults
2208 to the GPE 0/1 FADT-defined blocks.
2210 Unix application OSL: Update line-editing support. Add additional error
2211 checking and take care not to reset terminal attributes on exit if they
2212 were never set. This should help guarantee that the terminal is always
2213 left in the previous state on program exit.
2216 ----------------------------------------
2217 25 March 2014. Summary of changes for version 20140325:
2219 1) ACPICA kernel-resident subsystem:
2221 Updated the auto-serialize feature for control methods. This feature
2222 automatically serializes all methods that create named objects in order
2223 to prevent runtime errors. The update adds support to ignore the
2224 currently executing AML SyncLevel when invoking such a method, in order
2225 to prevent disruption of any existing SyncLevel priorities that may exist
2226 in the AML code. Although the use of SyncLevels is relatively rare, this
2227 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
2228 appear on some machines starting with the 20140214 release.
2230 Added a new external interface to allow the host to install ACPI tables
2231 very early, before the namespace is even created. AcpiInstallTable gives
2232 the host additional flexibility for ACPI table management. Tables can be
2233 installed directly by the host as if they had originally appeared in the
2234 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
2235 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
2236 with additional internal restructuring and cleanup. See the ACPICA
2237 Reference for interface details. Lv Zheng.
2239 Added validation of the checksum for all incoming dynamically loaded
2240 tables (via external interfaces or via AML Load/LoadTable operators). Lv
2243 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
2244 and GPE handler removal. Restructured calls to eliminate possible race
2245 conditions. Lv Zheng.
2247 Added a warning for the use/execution of the ASL/AML Unload (table)
2248 operator. This will help detect and identify machines that use this
2249 operator if and when it is ever used. This operator has never been seen
2250 in the field and the usage model and possible side-effects of the drastic
2251 runtime action of a full table removal are unknown.
2253 Reverted the use of #pragma push/pop which was introduced in the 20140214
2254 release. It appears that push and pop are not implemented by enough
2255 compilers to make the use of this feature feasible for ACPICA at this
2256 time. However, these operators may be deployed in a future ACPICA
2259 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
2262 Source code generation:
2263 1) Disabled the use of the "strchr" macro for the gcc-specific
2264 generation. For some versions of gcc, this macro can periodically expose
2265 a compiler bug which in turn causes compile-time error(s).
2266 2) Added support for PPC64 compilation. Colin Ian King.
2268 Example Code and Data Size: These are the sizes for the OS-independent
2269 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2270 debug version of the code includes the debug output trace mechanism and
2271 has a much larger code and data size.
2274 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
2275 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
2277 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
2278 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
2281 2) iASL Compiler/Disassembler and Tools:
2283 Disassembler: Added several new features to improve the readability of
2284 the resulting ASL code. Extra information is emitted within comment
2285 fields in the ASL code:
2286 1) Known _HID/_CID values are decoded to descriptive text.
2287 2) Standard values for the Notify() operator are decoded to descriptive
2289 3) Target operands are expanded to full pathnames (in a comment) when
2292 Disassembler: Miscellaneous updates for extern() handling:
2293 1) Abort compiler if file specified by -fe option does not exist.
2294 2) Silence unnecessary warnings about argument count mismatches.
2295 3) Update warning messages concerning unresolved method externals.
2296 4) Emit "UnknownObj" keyword for externals whose type cannot be
2300 1) Added the -a option to display both the ASL syntax and the AML
2301 encoding for an input ASL operator. This effectively displays all known
2302 information about an ASL operator with one AcpiHelp invocation.
2303 2) Added substring match support (similar to a wildcard) for the -i
2304 (_HID/PNP IDs) option.
2306 iASL/Disassembler: Since this tool does not yet support execution on big-
2307 endian machines, added detection of endianness and an error message if
2308 execution is attempted on big-endian. Support for big-endian within iASL
2309 is a feature that is on the ACPICA to-be-done list.
2312 1) Remove option to extract binary files from an acpidump; this function
2313 is made obsolete by the AcpiXtract utility.
2314 2) General cleanup of open files and allocated buffers.
2317 ----------------------------------------
2318 14 February 2014. Summary of changes for version 20140214:
2320 1) ACPICA kernel-resident subsystem:
2322 Implemented a new mechanism to proactively prevent problems with ill-
2323 behaved reentrant control methods that create named ACPI objects. This
2324 behavior is illegal as per the ACPI specification, but is nonetheless
2325 frequently seen in the field. Previously, this could lead to an
2326 AE_ALREADY_EXISTS exception if the method was actually entered by more
2327 than one thread. This new mechanism detects such methods at table load
2328 time and marks them "serialized" to prevent reentrancy. A new global
2329 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
2330 feature if desired. This mechanism and global option obsoletes and
2331 supersedes the previous AcpiGbl_SerializeAllMethods option.
2333 Added the "Windows 2013" string to the _OSI support. ACPICA will now
2334 respond TRUE to _OSI queries with this string. It is the stated policy of
2335 ACPICA to add new strings to the _OSI support as soon as possible after
2336 they are defined. See the full ACPICA _OSI policy which has been added to
2337 the utilities/utosi.c file.
2339 Hardened/updated the _PRT return value auto-repair code:
2340 1) Do not abort the repair on a single subpackage failure, continue to
2341 check all subpackages.
2342 2) Add check for the minimum subpackage length (4).
2343 3) Properly handle extraneous NULL package elements.
2345 Added support to avoid the possibility of infinite loops when traversing
2346 object linked lists. Never allow an infinite loop, even in the face of
2347 corrupted object lists.
2349 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
2350 pack(pop) directives to ensure that the ACPICA headers are independent of
2351 compiler settings or other host headers.
2353 Example Code and Data Size: These are the sizes for the OS-independent
2354 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2355 debug version of the code includes the debug output trace mechanism and
2356 has a much larger code and data size.
2359 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
2360 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
2362 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
2363 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
2366 2) iASL Compiler/Disassembler and Tools:
2368 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
2369 first reserved field was incorrectly forced to have a value of zero. This
2370 change correctly forces the field to have a value of one. ACPICA BZ 1081.
2372 Debugger: Added missing support for the "Extra" and "Data" subobjects
2373 when displaying object data.
2375 Debugger: Added support to display entire object linked lists when
2376 displaying object data.
2378 iASL: Removed the obsolete -g option to obtain ACPI tables from the
2379 Windows registry. This feature has been superseded by the acpidump
2383 ----------------------------------------
2384 14 January 2014. Summary of changes for version 20140114:
2386 1) ACPICA kernel-resident subsystem:
2388 Updated all ACPICA copyrights and signons to 2014. Added the 2014
2389 copyright to all module headers and signons, including the standard Linux
2390 header. This affects virtually every file in the ACPICA core subsystem,
2391 iASL compiler, all ACPICA utilities, and the test suites.
2393 Improved parameter validation for AcpiInstallGpeBlock. Added the
2395 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
2396 2) There is not already a GPE block attached to the device.
2397 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
2400 Correctly support "references" in the ACPI_OBJECT. This change fixes the
2401 support to allow references (namespace nodes) to be passed as arguments
2402 to control methods via the evaluate object interface. This is probably
2403 most useful for testing purposes, however.
2405 Improved support for 32/64 bit physical addresses in printf()-like
2406 output. This change improves the support for physical addresses in printf
2407 debug statements and other output on both 32-bit and 64-bit hosts. It
2408 consistently outputs the appropriate number of bytes for each host. The
2409 %p specifier is unsatisfactory since it does not emit uniform output on
2410 all hosts/clib implementations (on some, leading zeros are not supported,
2411 leading to difficult-to-read output).
2413 Example Code and Data Size: These are the sizes for the OS-independent
2414 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2415 debug version of the code includes the debug output trace mechanism and
2416 has a much larger code and data size.
2419 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
2420 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
2422 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
2423 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
2426 2) iASL Compiler/Disassembler and Tools:
2428 iASL: Fix a possible fault when using the Connection() operator. Fixes a
2429 problem if the parent Field definition for the Connection operator refers
2430 to an operation region that does not exist. ACPICA BZ 1064.
2432 AcpiExec: Load of local test tables is now optional. The utility has the
2433 capability to load some various tables to test features of ACPICA.
2434 However, there are enough of them that the output of the utility became
2435 confusing. With this change, only the required local tables are displayed
2436 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
2437 line specification. This makes the default output simler and easier to
2438 understand. The -el command line option restores the original behavior
2439 for testing purposes.
2441 AcpiExec: Added support for overlapping operation regions. This change
2442 expands the simulation of operation regions by supporting regions that
2443 overlap within the given address space. Supports SystemMemory and
2444 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
2446 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
2447 allows AcpiExec to simulate these address spaces, similar to the current
2448 support for SystemMemory and SystemIO.
2450 Debugger: Added new command to read/write/compare all namespace objects.
2451 The command "test objects" will exercise the entire namespace by writing
2452 new values to each data object, and ensuring that the write was
2453 successful. The original value is then restored and verified.
2455 Debugger: Added the "test predefined" command. This change makes this
2456 test public and puts it under the new "test" command. The test executes
2457 each and every predefined name within the current namespace.
2460 ----------------------------------------
2461 18 December 2013. Summary of changes for version 20131218:
2463 Global note: The ACPI 5.0A specification was released this month. There
2464 are no changes needed for ACPICA since this release of ACPI is an
2465 errata/clarification release. The specification is available at
2469 1) ACPICA kernel-resident subsystem:
2471 Added validation of the XSDT root table if it is present. Some older
2472 platforms contain an XSDT that is ill-formed or otherwise invalid (such
2473 as containing some or all entries that are NULL pointers). This change
2474 adds a new function to validate the XSDT before actually using it. If the
2475 XSDT is found to be invalid, ACPICA will now automatically fall back to
2476 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
2477 ACPICA and enhanced by Lv Zheng and Bob Moore.
2479 Added a runtime option to ignore the XSDT and force the use of the RSDT.
2480 This change adds a runtime option that will force ACPICA to use the RSDT
2481 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
2482 requires that an XSDT be used instead of the RSDT, the XSDT has been
2483 found to be corrupt or ill-formed on some machines. Lv Zheng.
2485 Added a runtime option to favor 32-bit FADT register addresses over the
2486 64-bit addresses. This change adds an option to favor 32-bit FADT
2487 addresses when there is a conflict between the 32-bit and 64-bit versions
2488 of the same register. The default behavior is to use the 64-bit version
2489 in accordance with the ACPI specification. This can now be overridden via
2490 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
2492 During the change above, the internal "Convert FADT" and "Verify FADT"
2493 functions have been merged to simplify the code, making it easier to
2494 understand and maintain. ACPICA BZ 933.
2496 Improve exception reporting and handling for GPE block installation.
2497 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
2498 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
2500 Added helper macros to extract bus/segment numbers from the HEST table.
2501 This change adds two macros to extract the encoded bus and segment
2502 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
2503 Betty Dall <betty.dall@hp.com>
2505 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
2506 by ACPICA. It is not a public macro, so it should have no effect on
2507 existing OSV code. Lv Zheng.
2509 Example Code and Data Size: These are the sizes for the OS-independent
2510 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2511 debug version of the code includes the debug output trace mechanism and
2512 has a much larger code and data size.
2515 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
2516 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
2518 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
2519 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
2522 2) iASL Compiler/Disassembler and Tools:
2524 Disassembler: Improved pathname support for emitted External()
2525 statements. This change adds full pathname support for external names
2526 that have been resolved internally by the inclusion of additional ACPI
2527 tables (via the iASL -e option). Without this change, the disassembler
2528 can emit multiple externals for the same object, or it become confused
2529 when the Scope() operator is used on an external object. Overall, greatly
2530 improves the ability to actually recompile the emitted ASL code when
2531 objects a referenced across multiple ACPI tables. Reported by Michael
2532 Tsirkin (mst@redhat.com).
2534 Tests/ASLTS: Updated functional control suite to execute with no errors.
2535 David Box. Fixed several errors related to the testing of the interpreter
2536 slack mode. Lv Zheng.
2538 iASL: Added support to detect names that are declared within a control
2539 method, but are unused (these are temporary names that are only valid
2540 during the time the method is executing). A remark is issued for these
2541 cases. ACPICA BZ 1022.
2543 iASL: Added full support for the DBG2 table. Adds full disassembler,
2544 table compiler, and template generator support for the DBG2 table (Debug
2547 iASL: Added full support for the PCCT table, update the table definition.
2548 Updates the PCCT table definition in the actbl3.h header and adds table
2549 compiler and template generator support.
2551 iASL: Added an option to emit only error messages (no warnings/remarks).
2552 The -ve option will enable only error messages, warnings and remarks are
2553 suppressed. This can simplify debugging when only the errors are
2554 important, such as when an ACPI table is disassembled and there are many
2555 warnings and remarks -- but only the actual errors are of real interest.
2557 Example ACPICA code (source/tools/examples): Updated the example code so
2558 that it builds to an actual working program, not just example code. Added
2559 ACPI tables and execution of an example control method in the DSDT. Added
2560 makefile support for Unix generation.
2563 ----------------------------------------
2564 15 November 2013. Summary of changes for version 20131115:
2566 This release is available at https://acpica.org/downloads
2569 1) ACPICA kernel-resident subsystem:
2571 Resource Manager: Fixed loop termination for the "get AML length"
2572 function. The loop previously had an error termination on a NULL resource
2573 pointer, which can never happen since the loop simply increments a valid
2574 resource pointer. This fix changes the loop to terminate with an error on
2575 an invalid end-of-buffer condition. The problem can be seen as an
2576 infinite loop by callers to AcpiSetCurrentResources with an invalid or
2577 corrupted resource descriptor, or a resource descriptor that is missing
2578 an END_TAG descriptor. Reported by Dan Carpenter
2579 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
2581 Table unload and ACPICA termination: Delete all attached data objects
2582 during namespace node deletion. This fix updates namespace node deletion
2583 to delete the entire list of attached objects (attached via
2584 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
2585 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
2587 ACPICA termination: Added support to delete all objects attached to the
2588 root namespace node. This fix deletes any and all objects that have been
2589 attached to the root node via AcpiAttachData. Previously, none of these
2590 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
2592 Debug output: Do not emit the function nesting level for the in-kernel
2593 build. The nesting level is really only useful during a single-thread
2594 execution. Therefore, only enable this output for the AcpiExec utility.
2595 Also, only emit the thread ID when executing under AcpiExec (Context
2596 switches are still always detected and a message is emitted). ACPICA BZ
2599 Example Code and Data Size: These are the sizes for the OS-independent
2600 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2601 debug version of the code includes the debug output trace mechanism and
2602 has a much larger code and data size.
2605 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
2606 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
2608 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2609 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2612 2) iASL Compiler/Disassembler and Tools:
2614 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
2615 correct portable POSIX header for terminal control functions.
2617 Disassembler: Fixed control method invocation issues related to the use
2618 of the CondRefOf() operator. The problem is seen in the disassembly where
2619 control method invocations may not be disassembled properly if the
2620 control method name has been used previously as an argument to CondRefOf.
2621 The solution is to not attempt to emit an external declaration for the
2622 CondRefOf target (it is not necessary in the first place). This prevents
2623 disassembler object type confusion. ACPICA BZ 988.
2625 Unix Makefiles: Added an option to disable compiler optimizations and the
2626 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
2627 with optimizations (reportedly, gcc 4.4 for example). This change adds a
2628 command line option for make (NOOPT) that disables all compiler
2629 optimizations and the _FORTIFY_SOURCE compiler flag. The default
2630 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
2631 1034. Lv Zheng, Bob Moore.
2633 Tests/ASLTS: Added options to specify individual test cases and modes.
2634 This allows testers running aslts.sh to optionally specify individual
2635 test modes and test cases. Also added an option to disable the forced
2636 generation of the ACPICA tools from source if desired. Lv Zheng.
2638 ----------------------------------------
2639 27 September 2013. Summary of changes for version 20130927:
2641 This release is available at https://acpica.org/downloads
2644 1) ACPICA kernel-resident subsystem:
2646 Fixed a problem with store operations to reference objects. This change
2647 fixes a problem where a Store operation to an ArgX object that contained
2649 reference to a field object did not complete the automatic dereference
2651 then write to the actual field object. Instead, the object type of the
2652 field object was inadvertently changed to match the type of the source
2653 operand. The new behavior will actually write to the field object (buffer
2654 field or field unit), thus matching the correct ACPI-defined behavior.
2656 Implemented support to allow the host to redefine individual OSL
2657 prototypes. This change enables the host to redefine OSL prototypes found
2658 in the acpiosxf.h file. This allows the host to implement OSL interfaces
2659 with a macro or inlined function. Further, it allows the host to add any
2660 additional required modifiers such as __iomem, __init, __exit, etc., as
2661 necessary on a per-interface basis. Enables maximum flexibility for the
2662 OSL interfaces. Lv Zheng.
2664 Hardcoded the access width for the FADT-defined reset register. The ACPI
2665 specification requires the reset register width to be 8 bits. ACPICA now
2666 hardcodes the width to 8 and ignores the FADT width value. This provides
2667 compatibility with other ACPI implementations that have allowed BIOS code
2668 with bad register width values to go unnoticed. Matthew Garett, Bob
2672 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
2674 in the OSL header (acpiosxf). The change modifies the position of this
2675 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
2676 build issues if the OSL defines the implementation of the interface to be
2677 an inline stub function. Lv Zheng.
2679 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
2680 initialization interfaces. This change adds a new macro for the main init
2681 and terminate external interfaces in order to support hosts that require
2682 additional or different processing for these functions. Changed from
2683 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
2686 Cleaned up the memory allocation macros for configurability. In the
2688 case, the ACPI_ALLOCATE and related macros now resolve directly to their
2689 respective AcpiOs* OSL interfaces. Two options:
2690 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
2691 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
2692 2) For AcpiExec (and for debugging), the macros can optionally be
2694 to the local ACPICA interfaces that track each allocation (local tracking
2695 is used to immediately detect memory leaks).
2698 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
2699 to predefine this macro to either TRUE or FALSE during the system build.
2701 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
2703 Example Code and Data Size: These are the sizes for the OS-independent
2704 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2705 debug version of the code includes the debug output trace mechanism and
2706 has a much larger code and data size.
2709 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
2710 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
2712 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2713 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2716 2) iASL Compiler/Disassembler and Tools:
2718 iASL: Implemented wildcard support for the -e option. This simplifies use
2719 when there are many SSDTs that must be included to resolve external
2721 declarations. ACPICA BZ 1041. Example:
2722 iasl -e ssdt*.dat -d dsdt.dat
2724 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
2725 adds a portable module that implements full history and limited line
2726 editing for Unix and Linux systems. It does not use readline() due to
2727 portability issues. Instead it uses the POSIX termio interface to put the
2728 terminal in raw input mode so that the various special keys can be
2730 (such as up/down-arrow for history support and left/right-arrow for line
2731 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
2733 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
2734 one or more spaces. This provides compatible with early or different
2735 versions of the AcpiDump utility. ACPICA BZ 1044.
2737 AcpiDump: Do not ignore tables that contain only an ACPI table header.
2738 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
2739 no other data. This change adds support to dump these tables. Any tables
2740 shorter than the length of an ACPI table header remain in error (an error
2741 message is emitted). Reported by Yi Li.
2743 Debugger: Echo actual command along with the "unknown command" message.
2745 ----------------------------------------
2746 23 August 2013. Summary of changes for version 20130823:
2748 1) ACPICA kernel-resident subsystem:
2750 Implemented support for host-installed System Control Interrupt (SCI)
2751 handlers. Certain ACPI functionality requires the host to handle raw
2752 SCIs. For example, the "SCI Doorbell" that is defined for memory power
2753 state support requires the host device driver to handle SCIs to examine
2754 if the doorbell has been activated. Multiple SCI handlers can be
2755 installed to allow for future expansion. New external interfaces are
2756 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
2757 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
2759 Operation region support: Never locally free the handler "context"
2760 pointer. This change removes some dangerous code that attempts to free
2761 the handler context pointer in some (rare) circumstances. The owner of
2762 the handler owns this pointer and the ACPICA code should never touch it.
2763 Although not seen to be an issue in any kernel, it did show up as a
2764 problem (fault) under AcpiExec. Also, set the internal storage field for
2765 the context pointer to zero when the region is deactivated, simply for
2766 sanity. David Box. ACPICA BZ 1039.
2768 AcpiRead: On error, do not modify the return value target location. If an
2769 error happens in the middle of a split 32/32 64-bit I/O operation, do not
2770 modify the target of the return value pointer. Makes the code consistent
2771 with the rest of ACPICA. Bjorn Helgaas.
2773 Example Code and Data Size: These are the sizes for the OS-independent
2774 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2775 debug version of the code includes the debug output trace mechanism and
2776 has a much larger code and data size.
2779 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
2780 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2782 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2783 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
2786 2) iASL Compiler/Disassembler and Tools:
2788 AcpiDump: Implemented several new features and fixed some problems:
2789 1) Added support to dump the RSDP, RSDT, and XSDT tables.
2790 2) Added support for multiple table instances (SSDT, UEFI).
2791 3) Added option to dump "customized" (overridden) tables (-c).
2792 4) Fixed a problem where some table filenames were improperly
2794 5) Improved some error messages, removed some unnecessary messages.
2796 iASL: Implemented additional support for disassembly of ACPI tables that
2797 contain invocations of external control methods. The -fe<file> option
2798 allows the import of a file that specifies the external methods along
2799 with the required number of arguments for each -- allowing for the
2800 correct disassembly of the table. This is a workaround for a limitation
2801 of AML code where the disassembler often cannot determine the number of
2802 arguments required for an external control method and generates incorrect
2803 ASL code. See the iASL reference for details. ACPICA BZ 1030.
2805 Debugger: Implemented a new command (paths) that displays the full
2806 pathnames (namepaths) and object types of all objects in the namespace.
2807 This is an alternative to the namespace command.
2809 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
2810 mechanism and any installed handlers.
2812 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
2813 This can occur if there are too many parent prefixes in a namepath (for
2814 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
2816 Application OSLs: Set the return value for the PCI read functions. These
2817 functions simply return AE_OK, but should set the return value to zero
2818 also. This change implements this. ACPICA BZ 1038.
2820 Debugger: Prevent possible command line buffer overflow. Increase the
2821 size of a couple of the debugger line buffers, and ensure that overflow
2822 cannot happen. ACPICA BZ 1037.
2824 iASL: Changed to abort immediately on serious errors during the parsing
2825 phase. Due to the nature of ASL, there is no point in attempting to
2826 compile these types of errors, and they typically end up causing a
2827 cascade of hundreds of errors which obscure the original problem.
2829 ----------------------------------------
2830 25 July 2013. Summary of changes for version 20130725:
2832 1) ACPICA kernel-resident subsystem:
2834 Fixed a problem with the DerefOf operator where references to FieldUnits
2835 and BufferFields incorrectly returned the parent object, not the actual
2836 value of the object. After this change, a dereference of a FieldUnit
2837 reference results in a read operation on the field to get the value, and
2838 likewise, the appropriate BufferField value is extracted from the target
2841 Fixed a problem where the _WAK method could cause a fault under these
2842 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
2843 method returned no value. The problem is rarely seen because most kernels
2844 run ACPICA in slack mode.
2846 For the DerefOf operator, a fatal error now results if an attempt is made
2847 to dereference a reference (created by the Index operator) to a NULL
2848 package element. Provides compatibility with other ACPI implementations,
2849 and this behavior will be added to a future version of the ACPI
2852 The ACPI Power Management Timer (defined in the FADT) is now optional.
2853 This provides compatibility with other ACPI implementations and will
2854 appear in the next version of the ACPI specification. If there is no PM
2855 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
2856 zero in the FADT indicates no PM timer.
2858 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
2859 allows the host to globally enable/disable all vendor strings, all
2860 feature strings, or both. Intended to be primarily used for debugging
2861 purposes only. Lv Zheng.
2863 Expose the collected _OSI data to the host via a global variable. This
2864 data tracks the highest level vendor ID that has been invoked by the BIOS
2865 so that the host (and potentially ACPICA itself) can change behaviors
2866 based upon the age of the BIOS.
2868 Example Code and Data Size: These are the sizes for the OS-independent
2869 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2870 debug version of the code includes the debug output trace mechanism and
2871 has a much larger code and data size.
2874 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
2875 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
2877 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2878 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2881 2) iASL Compiler/Disassembler and Tools:
2883 iASL: Created the following enhancements for the -so option (create
2885 1)Add offsets for the last nameseg in each namepath for every supported
2887 2)Add support for Processor, Device, Thermal Zone, and Scope objects
2888 3)Add the actual AML opcode for the parent object of every supported
2890 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
2892 Disassembler: Emit all unresolved external symbols in a single block.
2893 These are external references to control methods that could not be
2894 resolved, and thus, the disassembler had to make a guess at the number of
2897 iASL: The argument to the -T option (create table template) is now
2898 optional. If not specified, the default table is a DSDT, typically the
2901 ----------------------------------------
2902 26 June 2013. Summary of changes for version 20130626:
2904 1) ACPICA kernel-resident subsystem:
2906 Fixed an issue with runtime repair of the _CST object. Null or invalid
2907 elements were not always removed properly. Lv Zheng.
2909 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
2910 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
2911 the maximum number of GPEs is 1016. Use of multiple GPE block devices
2912 makes the system-wide number of GPEs essentially unlimited.
2914 Example Code and Data Size: These are the sizes for the OS-independent
2915 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2916 debug version of the code includes the debug output trace mechanism and
2917 has a much larger code and data size.
2920 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
2921 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
2923 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
2924 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
2927 2) iASL Compiler/Disassembler and Tools:
2929 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
2930 hosts. Now supports Linux, FreeBSD, and Windows.
2932 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
2933 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
2935 iASL/Preprocessor: Implemented full support for nested
2936 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
2938 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
2939 max. The original purpose of this constraint was to limit the amount of
2940 debug output. However, the string function in question (UtPrintString) is
2941 now used for the disassembler also, where 256 bytes is insufficient.
2942 Reported by RehabMan@GitHub.
2944 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
2945 tables. ACPICA BZ 999. Lv Zheng.
2947 iASL: Fixed a couple of error exit issues that could result in a "Could
2948 not delete <file>" message during ASL compilation.
2950 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
2951 the actual signatures for these tables are "FACP" and "APIC",
2954 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
2955 tables are allowed to have multiple instances.
2957 ----------------------------------------
2958 17 May 2013. Summary of changes for version 20130517:
2960 1) ACPICA kernel-resident subsystem:
2962 Fixed a regression introduced in version 20130328 for _INI methods. This
2963 change fixes a problem introduced in 20130328 where _INI methods are no
2964 longer executed properly because of a memory block that was not
2965 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
2966 <tomasz.nowicki@linaro.org>.
2968 Fixed a possible problem with the new extended sleep registers in the
2970 5.0 FADT. Do not use these registers (even if populated) unless the HW-
2971 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
2974 Implemented return value repair code for _CST predefined objects: Sort
2976 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
2978 Implemented a debug-only option to disable loading of SSDTs from the
2979 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
2980 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
2981 acglobal.h - ACPICA BZ 1005. Lv Zheng.
2983 Fixed some issues in the ACPICA initialization and termination code:
2984 Tomasz Nowicki <tomasz.nowicki@linaro.org>
2985 1) Clear events initialized flag upon event component termination. ACPICA
2987 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
2988 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
2989 4) Clear debug buffer global on termination to prevent possible multiple
2990 delete. ACPICA BZ 1010.
2992 Standardized all switch() blocks across the entire source base. After
2994 years, different formatting for switch() had crept in. This change makes
2995 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
2997 Split some files to enhance ACPICA modularity and configurability:
2998 1) Split buffer dump routines into utilities/utbuffer.c
2999 2) Split internal error message routines into utilities/uterror.c
3000 3) Split table print utilities into tables/tbprint.c
3001 4) Split iASL command-line option processing into asloptions.c
3003 Makefile enhancements:
3004 1) Support for all new files above.
3005 2) Abort make on errors from any subcomponent. Chao Guan.
3006 3) Add build support for Apple Mac OS X. Liang Qi.
3008 Example Code and Data Size: These are the sizes for the OS-independent
3009 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3010 debug version of the code includes the debug output trace mechanism and
3011 has a much larger code and data size.
3014 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
3015 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
3017 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
3018 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
3021 2) iASL Compiler/Disassembler and Tools:
3023 New utility: Implemented an easily portable version of the acpidump
3024 utility to extract ACPI tables from the system (or a file) in an ASCII
3026 dump format. The top-level code implements the various command line
3027 options, file I/O, and table dump routines. To port to a new host, only
3028 three functions need to be implemented to get tables -- since this
3029 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
3030 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
3031 1) The Windows version obtains the ACPI tables from the Registry.
3032 2) The Linux version is under development.
3033 3) Other hosts - If an OS-dependent module is submitted, it will be
3034 distributed with ACPICA.
3036 iASL: Fixed a regression for -D preprocessor option (define symbol). A
3037 restructuring/change to the initialization sequence caused this option to
3038 no longer work properly.
3040 iASL: Implemented a mechanism to disable specific warnings and remarks.
3041 Adds a new command line option, "-vw <messageid> as well as "#pragma
3042 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
3044 iASL: Fix for too-strict package object validation. The package object
3045 validation for return values from the predefined names is a bit too
3046 strict, it does not allow names references within the package (which will
3047 be resolved at runtime.) These types of references cannot be validated at
3048 compile time. This change ignores named references within package objects
3049 for names that return or define static packages.
3051 Debugger: Fixed the 80-character command line limitation for the History
3052 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
3054 iASL: Added control method and package support for the -so option
3055 (generates AML offset table for BIOS support.)
3057 iASL: issue a remark if a non-serialized method creates named objects. If
3058 a thread blocks within the method for any reason, and another thread
3059 enters the method, the method will fail because an attempt will be made
3061 create the same (named) object twice. In this case, issue a remark that
3062 the method should be marked serialized. NOTE: may become a warning later.
3065 ----------------------------------------
3066 18 April 2013. Summary of changes for version 20130418:
3068 1) ACPICA kernel-resident subsystem:
3070 Fixed a possible buffer overrun during some rare but specific field unit
3071 read operations. This overrun can only happen if the DSDT version is 1 --
3072 meaning that all AML integers are 32 bits -- and the field length is
3073 between 33 and 55 bits long. During the read, an internal buffer object
3075 created for the field unit because the field is larger than an integer
3077 bits). However, in this case, the buffer will be incorrectly written
3078 beyond the end because the buffer length is less than the internal
3080 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
3081 long, but a full 8 bytes will be written.
3083 Updated the Embedded Controller "orphan" _REG method support. This refers
3084 to _REG methods under the EC device that have no corresponding operation
3085 region. This is allowed by the ACPI specification. This update removes a
3086 dependency on the existence an ECDT table. It will execute an orphan _REG
3087 method as long as the operation region handler for the EC is installed at
3088 the EC device node and not the namespace root. Rui Zhang (original
3089 update), Bob Moore (update/integrate).
3091 Implemented run-time argument typechecking for all predefined ACPI names
3092 (_STA, _BIF, etc.) This change performs object typechecking on all
3093 incoming arguments for all predefined names executed via
3094 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
3095 passing correct object types as well as the correct number of arguments
3096 (therefore identifying any issues immediately). Also, the ASL/namespace
3097 definition of the predefined name is checked against the ACPI
3098 specification for the proper argument count. Adds one new file,
3101 Changed an exception code for the ASL UnLoad() operator. Changed the
3102 exception code for the case where the input DdbHandle is invalid, from
3103 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
3105 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
3106 global makefile. The use of this flag causes compiler errors on earlier
3107 versions of GCC, so it has been removed for compatibility.
3109 Miscellaneous cleanup:
3110 1) Removed some unused/obsolete macros
3111 2) Fixed a possible memory leak in the _OSI support
3112 3) Removed an unused variable in the predefined name support
3113 4) Windows OSL: remove obsolete reference to a memory list field
3115 Example Code and Data Size: These are the sizes for the OS-independent
3116 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3117 debug version of the code includes the debug output trace mechanism and
3118 has a much larger code and data size.
3121 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
3122 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
3124 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
3125 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
3128 2) iASL Compiler/Disassembler and Tools:
3130 AcpiExec: Added installation of a handler for the SystemCMOS address
3131 space. This prevents control method abort if a method accesses this
3134 AcpiExec: Added support for multiple EC devices, and now install EC
3135 operation region handler(s) at the actual EC device instead of the
3136 namespace root. This reflects the typical behavior of host operating
3139 AcpiExec: Updated to ensure that all operation region handlers are
3140 installed before the _REG methods are executed. This prevents a _REG
3141 method from aborting if it accesses an address space has no handler.
3142 AcpiExec installs a handler for every possible address space.
3144 Debugger: Enhanced the "handlers" command to display non-root handlers.
3145 This change enhances the handlers command to display handlers associated
3146 with individual devices throughout the namespace, in addition to the
3147 currently supported display of handlers associated with the root
3151 ASL Test Suite: Several test suite errors have been identified and
3152 resolved, reducing the total error count during execution. Chao Guan.
3154 ----------------------------------------
3155 28 March 2013. Summary of changes for version 20130328:
3157 1) ACPICA kernel-resident subsystem:
3159 Fixed several possible race conditions with the internal object reference
3160 counting mechanism. Some of the external ACPICA interfaces update object
3161 reference counts without holding the interpreter or namespace lock. This
3162 change adds a spinlock to protect reference count updates on the internal
3163 ACPICA objects. Reported by and with assistance from Andriy Gapon
3166 FADT support: Removed an extraneous warning for very large GPE register
3167 sets. This change removes a size mismatch warning if the legacy length
3168 field for a GPE register set is larger than the 64-bit GAS structure can
3169 accommodate. GPE register sets can be larger than the 255-bit width
3170 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
3172 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
3173 return from this interface. Handles a possible timeout case if
3174 ACPI_WAIT_FOREVER is modified by the host to be a value less than
3175 "forever". Jung-uk Kim.
3177 Predefined name support: Add allowed/required argument type information
3179 the master predefined info table. This change adds the infrastructure to
3180 enable typechecking on incoming arguments for all predefined
3181 methods/objects. It does not actually contain the code that will fully
3182 utilize this information, this is still under development. Also condenses
3183 some duplicate code for the predefined names into a new module,
3184 utilities/utpredef.c
3186 Example Code and Data Size: These are the sizes for the OS-independent
3187 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3188 debug version of the code includes the debug output trace mechanism and
3189 has a much larger code and data size.
3192 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
3193 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
3195 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
3196 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
3199 2) iASL Compiler/Disassembler and Tools:
3201 iASL: Implemented a new option to simplify the development of ACPI-
3203 BIOS code. Adds support for a new "offset table" output file. The -so
3204 option will create a C table containing the AML table offsets of various
3205 named objects in the namespace so that BIOS code can modify them easily
3207 boot time. This can simplify BIOS runtime code by eliminating expensive
3208 searches for "magic values", enhancing boot times and adding greater
3209 reliability. With assistance from Lee Hamel.
3211 iASL: Allow additional predefined names to return zero-length packages.
3212 Now, all predefined names that are defined by the ACPI specification to
3213 return a "variable-length package of packages" are allowed to return a
3214 zero length top-level package. This allows the BIOS to tell the host that
3215 the requested feature is not supported, and supports existing BIOS/ASL
3218 iASL: Changed the "result not used" warning to an error. This is the case
3219 where an ASL operator is effectively a NOOP because the result of the
3220 operation is not stored anywhere. For example:
3222 There is no target (missing 3rd argument), nor is the function return
3223 value used. This is potentially a very serious problem -- since the code
3224 was probably intended to do something, but for whatever reason, the value
3225 was not stored. Therefore, this issue has been upgraded from a warning to
3228 AcpiHelp: Added allowable/required argument types to the predefined names
3229 info display. This feature utilizes the recent update to the predefined
3230 names table (above).
3232 ----------------------------------------
3233 14 February 2013. Summary of changes for version 20130214:
3235 1) ACPICA Kernel-resident Subsystem:
3237 Fixed a possible regression on some hosts: Reinstated the safe return
3238 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
3239 evaluated only once. Although these macros are not needed for the ACPICA
3240 code itself, they are often used by ACPI-related host device drivers
3242 the safe feature may be necessary.
3244 Fixed several issues related to the ACPI 5.0 reduced hardware support
3245 (SOC): Now ensure that if the platform declares itself as hardware-
3247 via the FADT, the following functions become NOOPs (and always return
3248 AE_OK) because ACPI is always enabled by definition on these machines:
3254 Dynamic Object Repair: Implemented additional runtime repairs for
3255 predefined name return values. Both of these repairs can simplify code in
3256 the related device drivers that invoke these methods:
3257 1) For the _STR and _MLS names, automatically repair/convert an ASCII
3258 string to a Unicode buffer.
3259 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
3261 lone end tag descriptor in the following cases: A Return(0) was executed,
3262 a null buffer was returned, or no object at all was returned (non-slack
3263 mode only). Adds a new file, nsconvert.c
3264 ACPICA BZ 998. Bob Moore, Lv Zheng.
3266 Resource Manager: Added additional code to prevent possible infinite
3268 while traversing corrupted or ill-formed resource template buffers. Check
3269 for zero-length resource descriptors in all code that loops through
3270 resource templates (the length field is used to index through the
3271 template). This change also hardens the external AcpiWalkResources and
3272 AcpiWalkResourceBuffer interfaces.
3274 Local Cache Manager: Enhanced the main data structure to eliminate an
3275 unnecessary mechanism to access the next object in the list. Actually
3276 provides a small performance enhancement for hosts that use the local
3277 ACPICA cache manager. Jung-uk Kim.
3279 Example Code and Data Size: These are the sizes for the OS-independent
3280 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3281 debug version of the code includes the debug output trace mechanism and
3282 has a much larger code and data size.
3285 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
3286 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
3288 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
3289 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
3292 2) iASL Compiler/Disassembler and Tools:
3294 iASL/Disassembler: Fixed several issues with the definition of the ACPI
3295 5.0 RASF table (RAS Feature Table). This change incorporates late changes
3296 that were made to the ACPI 5.0 specification.
3298 iASL/Disassembler: Added full support for the following new ACPI tables:
3299 1) The MTMR table (MID Timer Table)
3300 2) The VRTC table (Virtual Real Time Clock Table).
3301 Includes header file, disassembler, table compiler, and template support
3304 iASL: Implemented compile-time validation of package objects returned by
3305 predefined names. This new feature validates static package objects
3306 returned by the various predefined names defined to return packages. Both
3307 object types and package lengths are validated, for both parent packages
3308 and sub-packages, if any. The code is similar in structure and behavior
3310 the runtime repair mechanism within the AML interpreter and uses the
3311 existing predefined name information table. Adds a new file, aslprepkg.c.
3314 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
3315 This feature detects a binary file with a valid ACPI table header and
3316 invokes the disassembler automatically. Eliminates the need to
3317 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
3319 iASL/Disassembler: Added several warnings for the case where there are
3320 unresolved control methods during the disassembly. This can potentially
3321 cause errors when the output file is compiled, because the disassembler
3322 assumes zero method arguments in these cases (it cannot determine the
3323 actual number of arguments without resolution/definition of the method).
3325 Debugger: Added support to display all resources with a single command.
3326 Invocation of the resources command with no arguments will now display
3328 resources within the current namespace.
3330 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
3333 ----------------------------------------
3334 17 January 2013. Summary of changes for version 20130117:
3336 1) ACPICA Kernel-resident Subsystem:
3338 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
3339 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
3340 objects to return a package containing one integer, most BIOS code
3342 two integers and the previous code reflects that. However, we also need
3344 support BIOS code that actually implements to the ACPI spec, and this
3345 change reflects this.
3347 Fixed two issues with the ACPI_DEBUG_PRINT macros:
3348 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
3349 C compilers that require this support.
3350 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
3351 ACPI_DEBUG is already used by many of the various hosts.
3353 Updated all ACPICA copyrights and signons to 2013. Added the 2013
3354 copyright to all module headers and signons, including the standard Linux
3355 header. This affects virtually every file in the ACPICA core subsystem,
3356 iASL compiler, all ACPICA utilities, and the test suites.
3358 Example Code and Data Size: These are the sizes for the OS-independent
3359 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3360 debug version of the code includes the debug output trace mechanism and
3361 has a much larger code and data size.
3364 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
3365 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
3367 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
3368 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
3371 2) iASL Compiler/Disassembler and Tools:
3373 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
3374 prevent a possible fault on some hosts. Some C libraries modify the arg
3375 pointer parameter to vfprintf making it difficult to call it twice in the
3376 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
3377 does not affect the Windows OSL since the Win C library does not modify
3378 the arg pointer. Chao Guan, Bob Moore.
3380 iASL: Fixed a possible infinite loop when the maximum error count is
3381 reached. If an output file other than the .AML file is specified (such as
3382 a listing file), and the maximum number of errors is reached, do not
3383 attempt to flush data to the output file(s) as the compiler is aborting.
3384 This can cause an infinite loop as the max error count code essentially
3385 keeps calling itself.
3387 iASL/Disassembler: Added an option (-in) to ignore NOOP
3389 Implemented for both the compiler and the disassembler. Often, the NOOP
3390 opcode is used as padding for packages that are changed dynamically by
3392 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
3393 errors. This option causes the disassembler to ignore all NOOP opcodes
3394 (0xA3), and it also causes the compiler to ignore all ASL source code
3398 Debugger: Enhanced the Sleep command to execute all sleep states. This
3399 change allows Sleep to be invoked with no arguments and causes the
3400 debugger to execute all of the sleep states, 0-5, automatically.
3402 ----------------------------------------
3403 20 December 2012. Summary of changes for version 20121220:
3405 1) ACPICA Kernel-resident Subsystem:
3407 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
3408 alternate entry point for AcpiWalkResources and improves the usability of
3409 the resource manager by accepting as input a buffer containing the output
3410 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
3411 input buffer is not deleted by this interface so that it can be used by
3412 the host later. See the ACPICA reference for details.
3414 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
3415 (DSDT version < 2). The constant will be truncated and this warning
3416 reflects that behavior.
3418 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
3419 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
3420 both get and set the new wake bit in these descriptors, separately from
3421 the existing share bit. Reported by Aaron Lu.
3423 Interpreter: Fix Store() when an implicit conversion is not possible. For
3424 example, in the cases such as a store of a string to an existing package
3425 object, implement the store as a CopyObject(). This is a small departure
3426 from the ACPI specification which states that the control method should
3428 aborted in this case. However, the ASLTS suite depends on this behavior.
3430 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
3431 macros: check if debug output is currently enabled as soon as possible to
3432 minimize performance impact if debug is in fact not enabled.
3434 Source code restructuring: Cleanup to improve modularity. The following
3435 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
3436 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
3437 Associated makefiles and project files have been updated.
3439 Changed an exception code for LoadTable operator. For the case where one
3440 of the input strings is too long, change the returned exception code from
3441 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
3443 Fixed a possible memory leak in dispatcher error path. On error, delete
3444 the mutex object created during method mutex creation. Reported by
3445 tim.gardner@canonical.com.
3447 Example Code and Data Size: These are the sizes for the OS-independent
3448 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3449 debug version of the code includes the debug output trace mechanism and
3450 has a much larger code and data size.
3453 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
3454 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3456 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
3457 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
3460 2) iASL Compiler/Disassembler and Tools:
3462 iASL: Disallow a method call as argument to the ObjectType ASL operator.
3463 This change tracks an errata to the ACPI 5.0 document. The AML grammar
3464 will not allow the interpreter to differentiate between a method and a
3465 method invocation when these are used as an argument to the ObjectType
3466 operator. The ACPI specification change is to disallow a method
3468 (UserTerm) for the ObjectType operator.
3470 Finish support for the TPM2 and CSRT tables in the headers, table
3471 compiler, and disassembler.
3473 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
3474 always expires immediately if the semaphore is not available. The
3476 code was using a relative-time timeout, but sem_timedwait requires the
3478 of an absolute time.
3480 iASL: Added a remark if the Timer() operator is used within a 32-bit
3481 table. This operator returns a 64-bit time value that will be truncated
3482 within a 32-bit table.
3484 iASL Source code restructuring: Cleanup to improve modularity. The
3485 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
3486 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
3490 ----------------------------------------
3491 14 November 2012. Summary of changes for version 20121114:
3493 1) ACPICA Kernel-resident Subsystem:
3495 Implemented a performance enhancement for ACPI/AML Package objects. This
3496 change greatly increases the performance of Package objects within the
3497 interpreter. It changes the processing of reference counts for packages
3499 optimizing for the most common case where the package sub-objects are
3500 either Integers, Strings, or Buffers. Increases the overall performance
3502 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
3504 Chao Guan. ACPICA BZ 943.
3506 Implemented and deployed common macros to extract flag bits from resource
3507 descriptors. Improves readability and maintainability of the code. Fixes
3509 problem with the UART serial bus descriptor for the number of data bits
3510 flags (was incorrectly 2 bits, should be 3).
3512 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
3513 of the macros and changed the SETx macros to the style of (destination,
3514 source). Also added ACPI_CASTx companion macros. Lv Zheng.
3516 Example Code and Data Size: These are the sizes for the OS-independent
3517 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3518 debug version of the code includes the debug output trace mechanism and
3519 has a much larger code and data size.
3522 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
3523 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3525 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
3526 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3529 2) iASL Compiler/Disassembler and Tools:
3531 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
3532 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
3533 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
3535 Disassembler: Fixed a problem with external declaration generation. Fixes
3536 a problem where an incorrect pathname could be generated for an external
3537 declaration if the original reference to the object includes leading
3538 carats (^). ACPICA BZ 984.
3540 Debugger: Completed a major update for the Disassemble<method> command.
3541 This command was out-of-date and did not properly disassemble control
3542 methods that had any reasonable complexity. This fix brings the command
3544 to the same level as the rest of the disassembler. Adds one new file,
3545 dmdeferred.c, which is existing code that is now common with the main
3546 disassembler and the debugger disassemble command. ACPICA MZ 978.
3548 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
3549 Newer versions of Bison emit this prototype, so moved the prototype out
3551 the iASL header to where it is actually used in order to avoid a
3555 iASL/Tools: Standardized use of the stream I/O functions:
3556 1) Ensure check for I/O error after every fopen/fread/fwrite
3557 2) Ensure proper order of size/count arguments for fread/fwrite
3558 3) Use test of (Actual != Requested) after all fwrite, and most fread
3559 4) Standardize I/O error messages
3560 Improves reliability and maintainability of the code. Bob Moore, Lv
3564 Disassembler: Prevent duplicate External() statements. During generation
3565 of external statements, detect similar pathnames that are actually
3566 duplicates such as these:
3569 Remove all leading '\' characters from pathnames during the external
3570 statement generation so that duplicates will be detected and tossed.
3573 Tools: Replace low-level I/O with stream I/O functions. Replace
3574 open/read/write/close with the stream I/O equivalents
3575 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
3578 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
3579 name header so that AcpiXtract recognizes the output file/table.
3581 iASL: Remove obsolete -2 option flag. Originally intended to force the
3582 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
3583 and the entire concept is now obsolete.
3585 ----------------------------------------
3586 18 October 2012. Summary of changes for version 20121018:
3589 1) ACPICA Kernel-resident Subsystem:
3591 Updated support for the ACPI 5.0 MPST table. Fixes some problems
3592 introduced by late changes to the table as it was added to the ACPI 5.0
3593 specification. Includes header, disassembler, and data table compiler
3594 support as well as a new version of the MPST template.
3596 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
3597 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
3598 methods: _HID, _CID, and _UID.
3600 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
3601 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
3602 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
3603 names for their various drivers. Affects the AcpiGetObjectInfo external
3604 interface, and other internal interfaces as well.
3606 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
3607 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
3608 on machines that support non-aligned transfers. Optimizes for this case
3609 rather than using a strncpy. With assistance from Zheng Lv.
3611 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
3612 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
3614 Added a new debug print message for AML mutex objects that are force-
3615 released. At control method termination, any currently acquired mutex
3616 objects are force-released. Adds a new debug-only message for each one
3619 Audited/updated all ACPICA return macros and the function debug depth
3620 counter: 1) Ensure that all functions that use the various TRACE macros
3621 also use the appropriate ACPICA return macros. 2) Ensure that all normal
3622 return statements surround the return expression (value) with parens to
3623 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
3624 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
3626 Global source code changes/maintenance: All extra lines at the start and
3627 end of each source file have been removed for consistency. Also, within
3628 comments, all new sentences start with a single space instead of a double
3629 space, again for consistency across the code base.
3631 Example Code and Data Size: These are the sizes for the OS-independent
3632 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3633 debug version of the code includes the debug output trace mechanism and
3634 has a much larger code and data size.
3637 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3638 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3640 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
3641 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
3644 2) iASL Compiler/Disassembler and Tools:
3646 AcpiExec: Improved the algorithm used for memory leak/corruption
3647 detection. Added some intelligence to the code that maintains the global
3648 list of allocated memory. The list is now ordered by allocated memory
3649 address, significantly improving performance. When running AcpiExec on
3650 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
3651 on the platform and/or the environment. Note, this performance
3652 enhancement affects the AcpiExec utility only, not the kernel-resident
3655 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
3656 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
3657 incorrect table offset reported for invalid opcodes. Report the original
3658 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
3660 Disassembler: Enhanced the -vt option to emit the binary table data in
3661 hex format to assist with debugging.
3663 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
3664 size of file structure. Colin Ian King.
3666 ----------------------------------------
3667 13 September 2012. Summary of changes for version 20120913:
3670 1) ACPICA Kernel-resident Subsystem:
3672 ACPI 5.0: Added two new notify types for the Hardware Error Notification
3673 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
3677 Table Manager: Merged/removed duplicate code in the root table resize
3678 functions. One function is external, the other is internal. Lv Zheng,
3682 Makefiles: Completely removed the obsolete "Linux" makefiles under
3683 acpica/generate/linux. These makefiles are obsolete and have been
3686 the generic unix makefiles under acpica/generate/unix.
3688 Makefiles: Ensure that binary files always copied properly. Minor rule
3690 to ensure that the final binary output files are always copied up to the
3691 appropriate binary directory (bin32 or bin64.)
3693 Example Code and Data Size: These are the sizes for the OS-independent
3694 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3696 version of the code includes the debug output trace mechanism and has a
3698 larger code and data size.
3701 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3702 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3704 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
3705 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
3708 2) iASL Compiler/Disassembler and Tools:
3710 Disassembler: Fixed a possible fault during the disassembly of resource
3711 descriptors when a second parse is required because of the invocation of
3712 external control methods within the table. With assistance from
3713 adq@lidskialf.net. ACPICA BZ 976.
3715 iASL: Fixed a namepath optimization problem. An error can occur if the
3717 node that contains the namepath to be optimized does not have a parent
3719 that is a named object. This change fixes the problem.
3721 iASL: Fixed a regression where the AML file is not deleted on errors. The
3723 output file should be deleted if there are any errors during the
3726 only exception is if the -f (force output) option is used. ACPICA BZ 974.
3728 iASL: Added a feature to automatically increase internal line buffer
3730 Via realloc(), automatically increase the internal line buffer sizes as
3731 necessary to support very long source code lines. The current version of
3733 preprocessor requires a buffer long enough to contain full source code
3735 This change increases the line buffer(s) if the input lines go beyond the
3736 current buffer size. This eliminates errors that occurred when a source
3738 line was longer than the buffer.
3740 iASL: Fixed a problem with constant folding in method declarations. The
3741 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
3743 Type3 opcode was used.
3745 Debugger: Improved command help support. For incorrect argument count,
3747 full help for the command. For help command itself, allow an argument to
3750 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
3751 errors during execution of the suite. Guan Chao.
3753 ----------------------------------------
3754 16 August 2012. Summary of changes for version 20120816:
3757 1) ACPICA Kernel-resident Subsystem:
3759 Removed all use of the deprecated _GTS and _BFS predefined methods. The
3761 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
3762 deprecated and will probably be removed from the ACPI specification.
3764 does not invoke them, and reportedly never will. The final nail in the
3766 is that the ACPI specification states that these methods must be run with
3767 interrupts off, which is not going to happen in a kernel interpreter.
3769 Linux has removed all use of the methods also. It was discovered that
3770 invoking these functions caused failures on some machines, probably
3772 they were never tested since Windows does not call them. Affects two
3774 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
3777 Implemented support for complex bit-packed buffers returned from the _PLD
3778 (Physical Location of Device) predefined method. Adds a new external
3779 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
3781 structure. Note: C Bitfields cannot be used for this type of predefined
3782 structure since the memory layout of individual bitfields is not defined
3784 the C language. In addition, there are endian concerns where a compiler
3786 change the bitfield ordering based on the machine type. The new ACPICA
3787 interface eliminates these issues, and should be called after _PLD is
3788 executed. ACPICA BZ 954.
3790 Implemented a change to allow a scope change to root (via "Scope (\)")
3792 execution of module-level ASL code (code that is executed at table load
3795 Added the Windows8/Server2012 string for the _OSI method. This change
3798 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
3801 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
3803 and CSRT (Core System Resource Table).
3805 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
3806 names. This simplifies access to the buffers returned by these predefined
3807 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
3809 GPE support: Removed an extraneous parameter from the various low-level
3810 internal GPE functions. Tang Feng.
3812 Removed the linux makefiles from the unix packages. The generate/linux
3813 makefiles are obsolete and have been removed from the unix tarball
3815 packages. The replacement makefiles are under generate/unix, and there is
3817 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
3819 Updates for Unix makefiles:
3820 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
3821 2) Update linker flags (move to end of command line) for AcpiExec
3825 Split ACPICA initialization functions to new file, utxfinit.c. Split from
3826 utxface.c to improve modularity and reduce file size.
3828 Example Code and Data Size: These are the sizes for the OS-independent
3829 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3830 debug version of the code includes the debug output trace mechanism and
3832 much larger code and data size.
3835 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3836 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3838 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
3839 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
3842 2) iASL Compiler/Disassembler and Tools:
3844 iASL: Fixed a problem with constant folding for fixed-length constant
3845 expressions. The constant-folding code was not being invoked for constant
3846 expressions that allow the use of type 3/4/5 opcodes to generate
3848 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
3850 in the generation of invalid AML bytecode. ACPICA BZ 970.
3852 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
3853 apparently automatically emit some of the necessary externals. This
3855 handles these versions in order to eliminate generation warnings.
3857 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
3859 Disassembler: Add support to decode _PLD buffers. The decoded buffer
3861 within comments in the output file.
3863 Debugger: Fixed a regression with the "Threads" command where
3864 AE_BAD_PARAMETER was always returned.
3866 ----------------------------------------
3867 11 July 2012. Summary of changes for version 20120711:
3869 1) ACPICA Kernel-resident Subsystem:
3871 Fixed a possible fault in the return package object repair code. Fixes a
3872 problem that can occur when a lone package object is wrapped with an
3874 package object in order to force conformance to the ACPI specification.
3876 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
3880 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
3881 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
3882 ARB_DIS bit must be implemented in the host-dependent C3 processor power
3884 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
3886 Intel and other vendors. (for Intel: ICH4-M and earlier)
3888 This change removes the code to disable/enable bus master arbitration
3890 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
3892 resume problems on some machines. The change has been in use for over
3896 Implemented two new external interfaces to support host-directed dynamic
3898 table load and unload. They are intended to simplify the host
3900 of hot-plug support:
3901 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
3902 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
3904 See the ACPICA reference for additional details. Adds one new file,
3905 components/tables/tbxfload.c
3907 Implemented and deployed two new interfaces for errors and warnings that
3909 known to be caused by BIOS/firmware issues:
3910 AcpiBiosError: Prints "ACPI Firmware Error" message.
3911 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
3912 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
3914 and FADT errors. Additional deployment to be completed as appropriate in
3916 future. The associated conditional macros are ACPI_BIOS_ERROR and
3917 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
3922 Implicit notify support: ensure that no memory allocation occurs within a
3923 critical region. This fix moves a memory allocation outside of the time
3925 spinlock is held. Fixes issues on systems that do not allow this
3929 Split exception code utilities and tables into a new file,
3932 Example Code and Data Size: These are the sizes for the OS-independent
3933 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3935 version of the code includes the debug output trace mechanism and has a
3937 larger code and data size.
3940 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
3941 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
3943 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
3944 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
3947 2) iASL Compiler/Disassembler and Tools:
3949 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
3953 Debugger: Enhanced the "tables" command to emit additional information
3955 the current set of ACPI tables, including the owner ID and flags decode.
3957 Debugger: Reimplemented the "unload" command to use the new
3958 AcpiUnloadParentTable external interface. This command was disable
3960 due to need for an unload interface.
3962 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
3964 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
3966 ----------------------------------------
3967 20 June 2012. Summary of changes for version 20120620:
3970 1) ACPICA Kernel-resident Subsystem:
3972 Implemented support to expand the "implicit notify" feature to allow
3974 devices to be notified by a single GPE. This feature automatically
3976 runtime device notification in the absence of a BIOS-provided GPE control
3977 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
3979 provided by ACPICA for Windows compatibility, and is a workaround for
3982 code errors. See the description of the AcpiSetupGpeForWake interface in
3984 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
3986 Changed some comments and internal function names to simplify and ensure
3987 correctness of the Linux code translation. No functional changes.
3989 Example Code and Data Size: These are the sizes for the OS-independent
3990 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3992 version of the code includes the debug output trace mechanism and has a
3994 larger code and data size.
3997 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
3998 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
4000 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
4001 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
4004 2) iASL Compiler/Disassembler and Tools:
4006 Disassembler: Added support to emit short, commented descriptions for the
4008 predefined names in order to improve the readability of the disassembled
4009 output. ACPICA BZ 959. Changes include:
4010 1) Emit descriptions for all standard predefined names (_INI, _STA,
4013 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
4014 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
4017 AcpiSrc: Fixed several long-standing Linux code translation issues.
4019 descriptions in function headers are now translated properly to lower
4022 underscores. ACPICA BZ 961. Also fixes translation problems such as
4028 local_fADT -> local_FADT
4029 execute_oSI -> execute_OSI
4031 iASL: Fixed a problem where null bytes were inadvertently emitted into
4035 iASL: Added the existing debug options to the standard help screen. There
4037 no longer two different help screens. ACPICA BZ 957.
4039 AcpiHelp: Fixed some typos in the various predefined name descriptions.
4041 expand some of the descriptions where appropriate.
4043 iASL: Fixed the -ot option (display compile times/statistics). Was not
4045 properly for standard output; only worked for the debug file case.
4047 ----------------------------------------
4048 18 May 2012. Summary of changes for version 20120518:
4051 1) ACPICA Core Subsystem:
4053 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
4055 to block until asynchronous events such as notifies and GPEs have
4057 Within ACPICA, it is only called before a notify or GPE handler is
4058 removed/uninstalled. It also may be useful for the host OS within related
4059 drivers such as the Embedded Controller driver. See the ACPICA reference
4061 additional information. ACPICA BZ 868.
4063 ACPI Tables: Added a new error message for a possible overflow failure
4065 the conversion of FADT 32-bit legacy register addresses to internal
4068 bit GAS structure representation. The GAS has a one-byte "bit length"
4070 thus limiting the register length to 255 bits. ACPICA BZ 953.
4072 Example Code and Data Size: These are the sizes for the OS-independent
4073 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4075 version of the code includes the debug output trace mechanism and has a
4077 larger code and data size.
4080 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4081 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
4083 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
4084 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
4087 2) iASL Compiler/Disassembler and Tools:
4089 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
4091 This keyword was added late in the ACPI 5.0 release cycle and was not
4092 implemented until now.
4094 Disassembler: Added support for Operation Region externals. Adds missing
4095 support for operation regions that are defined in another table, and
4096 referenced locally via a Field or BankField ASL operator. Now generates
4098 correct External statement.
4100 Disassembler: Several additional fixes for the External() statement
4102 related to some ASL operators. Also, order the External() statements
4103 alphabetically in the disassembler output. Fixes the External()
4106 the Create* field, Alias, and Scope operators:
4107 1) Create* buffer field operators - fix type mismatch warning on
4109 2) Alias - implement missing External support
4110 3) Scope - fix to make sure all necessary externals are emitted.
4112 iASL: Improved pathname support. For include files, merge the prefix
4114 with the file pathname and eliminate unnecessary components. Convert
4115 backslashes in all pathnames to forward slashes, for readability. Include
4117 pathname changes affect both #include and Include() type operators.
4119 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
4121 of a valid line by inserting a newline and then returning the EOF during
4123 next call to GetNextLine. Prevents the line from being ignored due to EOF
4126 iASL: Implemented some changes to enhance the IDE support (-vi option.)
4128 and Warning messages are now correctly recognized for both the source
4130 browser and the global error and warning counts.
4132 ----------------------------------------
4133 20 April 2012. Summary of changes for version 20120420:
4136 1) ACPICA Core Subsystem:
4138 Implemented support for multiple notify handlers. This change adds
4141 allow multiple system and device notify handlers on Device, Thermal Zone,
4143 Processor objects. This can simplify the host OS notification
4145 Also re-worked and restructured the entire notify support code to
4147 handler installation, handler removal, notify event queuing, and notify
4148 dispatch to handler(s). Note: there can still only be two global notify
4149 handlers - one for system notifies and one for device notifies. There are
4151 changes to the existing handler install/remove interfaces. Lin Ming, Bob
4152 Moore, Rafael Wysocki.
4154 Fixed a regression in the package repair code where the object reference
4155 count was calculated incorrectly. Regression was introduced in the commit
4156 "Support to add Package wrappers".
4158 Fixed a couple possible memory leaks in the AML parser, in the error
4160 path. Jesper Juhl, Lin Ming.
4162 Example Code and Data Size: These are the sizes for the OS-independent
4163 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4164 debug version of the code includes the debug output trace mechanism and
4166 much larger code and data size.
4169 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4170 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4172 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4173 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
4176 2) iASL Compiler/Disassembler and Tools:
4178 iASL: Fixed a problem with the resource descriptor support where the
4180 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
4181 included in cumulative descriptor offset, resulting in incorrect values
4183 resource tags within resource descriptors appearing after a
4185 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
4187 iASL and Preprocessor: Implemented full support for the #line directive
4189 correctly track original source file line numbers through the .i
4191 output file - for error and warning messages.
4193 iASL: Expand the allowable byte constants for address space IDs.
4195 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
4196 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
4198 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
4200 iASL: Add option to completely disable the preprocessor (-Pn).
4202 iASL: Now emit all error/warning messages to standard error (stderr) by
4203 default (instead of the previous stdout).
4205 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
4207 for resource descriptor offset fix above. Update/cleanup error output
4208 routines. Enable and send iASL errors/warnings to an error logfile
4209 (error.txt). Send all other iASL output to a logfile (compiler.txt).
4211 several extraneous "unrecognized operator" messages.
4213 ----------------------------------------
4214 20 March 2012. Summary of changes for version 20120320:
4217 1) ACPICA Core Subsystem:
4219 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
4220 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
4222 does not execute these methods, and therefore these methods are often
4223 untested. It has been seen on some systems where the execution of these
4224 methods causes errors and also prevents the machine from entering S5. It
4226 therefore suggested that host operating systems do not execute these
4228 by default. In the future, perhaps these methods can be optionally
4230 based on the age of the system and/or what is the newest version of
4232 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
4234 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
4237 Fixed a problem where the length of the local/common FADT was set too
4239 The local FADT table length cannot be set to the common length until the
4240 original length has been examined. There is code that checks the table
4242 and sets various fields appropriately. This can affect older machines
4244 early FADT versions. For example, this can cause inadvertent writes to
4246 CST_CNT register. Julian Anastasov.
4248 Fixed a mapping issue related to a physical table override. Use the
4250 mapping mechanism for tables loaded via the physical override OSL
4252 This allows for early mapping before the virtual memory manager is
4254 Thomas Renninger, Bob Moore.
4256 Enhanced the automatic return-object repair code: Repair a common problem
4258 predefined methods that are defined to return a variable-length Package
4260 sub-objects. If there is only one sub-object, some BIOS ASL code
4262 simply returns the single object instead of a Package with one sub-
4264 This new support will repair this error by wrapping a Package object
4266 the original object, creating the correct and expected Package with one
4268 object. Names that can be repaired in this manner include: _ALR, _CSD,
4270 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
4273 Changed the exception code returned for invalid ACPI paths passed as
4274 parameters to external interfaces such as AcpiEvaluateObject. Was
4275 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
4277 Example Code and Data Size: These are the sizes for the OS-independent
4278 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4280 version of the code includes the debug output trace mechanism and has a
4282 larger code and data size.
4285 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
4286 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4288 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
4289 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4292 2) iASL Compiler/Disassembler and Tools:
4294 iASL: Added the infrastructure and initial implementation of a integrated
4296 like preprocessor. This will simplify BIOS development process by
4298 the need for a separate preprocessing step during builds. On Windows, it
4300 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
4301 features including full #define() macro support are still under
4303 These preprocessor directives are supported:
4316 In addition, these new command line options are supported:
4317 -D <symbol> Define symbol for preprocessor use
4318 -li Create preprocessed output file (*.i)
4319 -P Preprocess only and create preprocessor output file (*.i)
4321 Table Compiler: Fixed a problem where the equals operator within an
4323 did not work properly.
4325 Updated iASL to use the current versions of Bison/Flex. Updated the
4327 project file to invoke these tools from the standard location. ACPICA BZ
4330 Flex for Windows: V2.5.4
4331 Bison for Windows: V2.4.1
4333 ----------------------------------------
4334 15 February 2012. Summary of changes for version 20120215:
4337 1) ACPICA Core Subsystem:
4339 There have been some major changes to the sleep/wake support code, as
4340 described below (a - e).
4342 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
4343 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
4344 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
4346 time the _BFS method is called and the _WAK method is called. NOTE: all
4348 must update their wake/resume code or else sleep/wake will not work
4352 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
4354 method. Some machines require that the GPEs are enabled before the _WAK
4356 is executed. Thomas Renninger.
4358 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
4360 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
4362 determine whether the system is rebooting or resuming. Matthew Garrett.
4364 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
4366 match the ACPI specification requirement. Rafael Wysocki.
4368 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
4369 registers within the V5 FADT. This support adds two new files:
4370 hardware/hwesleep.c implements the support for the new registers. Moved
4372 sleep/wake external interfaces to hardware/hwxfsleep.c.
4375 Added a new OSL interface for ACPI table overrides,
4376 AcpiOsPhysicalTableOverride. This interface allows the host to override a
4377 table via a physical address, instead of the logical address required by
4378 AcpiOsTableOverride. This simplifies the host implementation. Initial
4379 implementation by Thomas Renninger. The ACPICA implementation creates a
4381 shared function for table overrides that attempts both a logical and a
4384 Expanded the OSL memory read/write interfaces to 64-bit data
4385 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
4386 transfer support for GAS register structures passed to AcpiRead and
4389 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
4391 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
4393 See the ACPICA reference for details. ACPICA BZ 942. This option removes
4395 10% of the code and 5% of the static data, and the following hardware
4397 features become unavailable:
4398 PM Event and Control registers
4399 SCI interrupt (and handler)
4401 General Purpose Events (GPEs)
4404 FACS table (Waking vectors and Global Lock)
4406 Updated the unix tarball directory structure to match the ACPICA git
4408 tree. This ensures that the generic unix makefiles work properly (in
4409 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
4412 Updated the return value of the _REV predefined method to integer value 5
4414 reflect ACPI 5.0 support.
4416 Moved the external ACPI PM timer interface prototypes to the public
4418 file where they belong.
4420 Example Code and Data Size: These are the sizes for the OS-independent
4421 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4423 version of the code includes the debug output trace mechanism and has a
4425 larger code and data size.
4428 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
4429 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
4431 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
4432 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
4435 2) iASL Compiler/Disassembler and Tools:
4437 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
4438 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
4439 incorrectly displayed.
4441 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
4444 ----------------------------------------
4445 11 January 2012. Summary of changes for version 20120111:
4448 1) ACPICA Core Subsystem:
4450 Implemented a new mechanism to allow host device drivers to check for
4452 range conflicts with ACPI Operation Regions. Both SystemMemory and
4454 address spaces are supported. A new external interface,
4455 AcpiCheckAddressRange,
4456 allows drivers to check an address range against the ACPI namespace. See
4458 ACPICA reference for additional details. Adds one new file,
4459 utilities/utaddress.c. Lin Ming, Bob Moore.
4461 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
4464 Status registers, update the ACPI 5.0 flags, and update internal data
4465 structures to handle an FADT larger than 256 bytes. The size of the ACPI
4469 Updated all ACPICA copyrights and signons to 2012. Added the 2012
4471 all module headers and signons, including the standard Linux header. This
4472 affects virtually every file in the ACPICA core subsystem, iASL compiler,
4474 all ACPICA utilities.
4476 Example Code and Data Size: These are the sizes for the OS-independent
4477 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4479 version of the code includes the debug output trace mechanism and has a
4481 larger code and data size.
4484 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
4485 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
4487 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
4488 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
4491 2) iASL Compiler/Disassembler and Tools:
4493 Disassembler: fixed a problem with the automatic resource tag generation
4494 support. Fixes a problem where the resource tags are inadvertently not
4495 constructed if the table being disassembled contains external references
4497 control methods. Moved the actual construction of the tags to after the
4499 namespace is constructed (after 2nd parse is invoked due to external
4501 method references.) ACPICA BZ 941.
4503 Table Compiler: Make all "generic" operators caseless. These are the
4505 like UINT8, String, etc. Making these caseless improves ease-of-use.
4509 ----------------------------------------
4510 23 November 2011. Summary of changes for version 20111123:
4512 0) ACPI 5.0 Support:
4514 This release contains full support for the ACPI 5.0 specification, as
4517 Reduced Hardware Support:
4518 -------------------------
4520 This support allows for ACPI systems without the usual ACPI hardware.
4522 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
4524 not attempt to initialize or use any of the usual ACPI hardware. Note,
4526 this flag is set, all of the following ACPI hardware is assumed to be not
4527 present and is not initialized or accessed:
4529 General Purpose Events (GPEs)
4530 Fixed Events (PM1a/PM1b and PM Control)
4531 Power Management Timer and Console Buttons (power/sleep)
4532 Real-time Clock Alarm
4534 System Control Interrupt (SCI)
4535 The FACS is assumed to be non-existent
4540 All new tables and updates to existing tables are fully supported in the
4541 ACPICA headers (for use by device drivers), the disassembler, and the
4543 Data Table Compiler. ACPI 5.0 defines these new tables:
4545 BGRT /* Boot Graphics Resource Table */
4546 DRTM /* Dynamic Root of Trust for Measurement table */
4547 FPDT /* Firmware Performance Data Table */
4548 GTDT /* Generic Timer Description Table */
4549 MPST /* Memory Power State Table */
4550 PCCT /* Platform Communications Channel Table */
4551 PMTT /* Platform Memory Topology Table */
4552 RASF /* RAS Feature table */
4554 Operation Regions/SpaceIDs:
4555 ---------------------------
4557 All new operation regions are fully supported by the iASL compiler, the
4558 disassembler, and the ACPICA runtime code (for dispatch to region
4560 The new operation region Space IDs are:
4565 Resource Descriptors:
4566 ---------------------
4568 All new ASL resource descriptors are fully supported by the iASL
4571 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
4573 all new predefined resource tags). New descriptors are:
4582 ASL/AML Operators, New and Modified:
4583 ------------------------------------
4585 One new operator is added, the Connection operator, which is used to
4587 a GeneralPurposeIo or GenericSerialBus resource descriptor with
4589 field objects within an operation region. Several new protocols are
4591 with the AccessAs operator. All are fully supported by the iASL compiler,
4592 disassembler, and runtime ACPICA AML interpreter:
4594 Connection // Declare Field Connection
4596 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
4597 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
4599 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
4600 RawDataBuffer // Data type for Vendor Data
4603 Predefined ASL/AML Objects:
4604 ---------------------------
4606 All new predefined objects/control-methods are supported by the iASL
4608 and the ACPICA runtime validation/repair (arguments and return values.)
4610 predefined names include the following:
4612 Standard Predefined Names (Objects or Control Methods):
4613 _AEI, _CLS, _CPC, _CWS, _DEP,
4614 _DLM, _EVT, _GCP, _CRT, _GWS,
4615 _HRV, _PRE, _PSE, _SRT, _SUB.
4617 Resource Tags (Names used to access individual fields within resource
4619 _DBT, _DPL, _DRS, _END, _FLC,
4620 _IOR, _LIN, _MOD, _PAR, _PHA,
4621 _PIN, _PPI, _POL, _RXL, _SLV,
4622 _SPE, _STB, _TXL, _VEN.
4624 ACPICA External Interfaces:
4625 ---------------------------
4627 Several new interfaces have been defined for use by ACPI-related device
4628 drivers and other host OS services:
4630 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
4632 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
4633 provided by the BIOS. They are intended to be used in conjunction with
4635 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
4636 mutual exclusion with the AML code/interpreter.
4638 AcpiGetEventResources: Returns the (formatted) resource descriptors as
4640 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
4642 resource descriptors associated with hardware-reduced platform events,
4644 to the AcpiGetCurrentResources interface.
4646 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
4647 operation regions, information about the Connection() object and any
4649 length information is passed to the region handler within the Context
4652 AcpiBufferToResource: This interface converts a raw AML buffer containing
4654 resource template or resource descriptor to the ACPI_RESOURCE internal
4656 suitable for use by device drivers. Can be used by an operation region
4658 to convert the Connection() buffer object into a ACPI_RESOURCE.
4660 Miscellaneous/Tools/TestSuites:
4661 -------------------------------
4663 Support for extended _HID names (Four alpha characters instead of three).
4664 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
4665 Support for ACPI 5.0 features in the ASLTS test suite.
4666 Fully updated documentation (ACPICA and iASL reference documents.)
4668 ACPI Table Definition Language:
4669 -------------------------------
4671 Support for this language was implemented and released as a subsystem of
4673 iASL compiler in 2010. (See the iASL compiler User Guide.)
4676 Non-ACPI 5.0 changes for this release:
4677 --------------------------------------
4679 1) ACPICA Core Subsystem:
4681 Fix a problem with operation region declarations where a failure can
4684 the region name and an argument that evaluates to an object (such as the
4685 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
4688 Do not abort an ACPI table load if an invalid space ID is found within.
4690 will be caught later if the offending method is executed. ACPICA BZ 925.
4692 Fixed an issue with the FFixedHW space ID where the ID was not always
4693 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
4695 Fixed a problem with the 32-bit generation of the unix-specific OSL
4696 (osunixxf.c). Lin Ming, ACPICA BZ 936.
4698 Several changes made to enable generation with the GCC 4.6 compiler.
4702 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
4704 field registers out-of-range.
4706 2) iASL Compiler/Disassembler and Tools:
4708 iASL: Implemented the __PATH__ operator, which returns the full pathname
4710 the current source file.
4712 AcpiHelp: Automatically display expanded keyword information for all ASL
4715 Debugger: Add "Template" command to disassemble/dump resource template
4718 Added a new master script to generate and execute the ASLTS test suite.
4719 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
4721 iASL: Fix problem with listing generation during processing of the
4723 operator where AML listing was disabled until the entire Switch block was
4726 iASL: Improve support for semicolon statement terminators. Fix "invalid
4727 character" message for some cases when the semicolon is used. Semicolons
4729 now allowed after every <Term> grammar element. ACPICA BZ 927.
4731 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
4734 Disassembler: Fix problem with disassembly of the DataTableRegion
4736 where an inadvertent "Unhandled deferred opcode" message could be
4739 3) Example Code and Data Size
4741 These are the sizes for the OS-independent acpica.lib produced by the
4742 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4743 includes the debug output trace mechanism and has a much larger code and
4748 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4749 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4751 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
4752 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
4754 ----------------------------------------
4755 22 September 2011. Summary of changes for version 20110922:
4759 Support for ACPI 5.0 in ACPICA has been underway for several months and
4761 be released at the same time that ACPI 5.0 is officially released.
4763 The ACPI 5.0 specification is on track for release in the next few
4766 1) ACPICA Core Subsystem:
4768 Fixed a problem where the maximum sleep time for the Sleep() operator was
4769 intended to be limited to two seconds, but was inadvertently limited to
4773 Linux and Unix makefiles: Added header file dependencies to ensure
4775 generation of ACPICA core code and utilities. Also simplified the
4777 considerably through the use of the vpath variable to specify search
4781 2) iASL Compiler/Disassembler and Tools:
4783 iASL: Implemented support to check the access length for all fields
4785 access named Resource Descriptor fields. For example, if a resource field
4787 defined to be two bits, a warning is issued if a CreateXxxxField() is
4789 with an incorrect bit length. This is implemented for all current
4791 descriptor names. ACPICA BZ 930.
4793 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
4797 iASL: Fixed a couple of issues associated with variable-length package
4798 objects. 1) properly handle constants like One, Ones, Zero -- do not make
4800 VAR_PACKAGE when these are used as a package length. 2) Allow the
4802 opcode (in addition to PACKAGE) when validating object types for
4806 iASL: Emit statistics for all output files (instead of just the ASL input
4808 AML output). Includes listings, hex files, etc.
4810 iASL: Added -G option to the table compiler to allow the compilation of
4812 ACPI tables. The only part of a table that is required is the standard
4817 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
4819 which also adds correct 64-bit support. Also, now all output filenames
4821 completely lower case.
4823 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
4824 loading table files. A warning is issued for any such tables. The only
4825 exception is an FADT. This also fixes a possible fault when attempting to
4827 non-AML tables. ACPICA BZ 932.
4829 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
4831 missing table terminator could cause a fault when using the -p option.
4833 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
4836 3) Example Code and Data Size
4838 These are the sizes for the OS-independent acpica.lib produced by the
4839 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
4840 includes the debug output trace mechanism and has a much larger code and
4844 Previous Release (VC 9.0):
4845 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4846 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4847 Current Release (VC 9.0):
4848 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4849 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4852 ----------------------------------------
4853 23 June 2011. Summary of changes for version 20110623:
4855 1) ACPI CA Core Subsystem:
4857 Updated the predefined name repair mechanism to not attempt repair of a
4859 return object if a _PSS object is present. We can only sort the _TSS
4861 package if there is no _PSS within the same scope. This is because if
4864 present, the ACPI specification dictates that the _TSS Power Dissipation
4866 is to be ignored, and therefore some BIOSs leave garbage values in the
4868 Power field(s). In this case, it is best to just return the _TSS package
4870 is. Reported by, and fixed with assistance from Fenghua Yu.
4872 Added an option to globally disable the control method return value
4874 and repair. This runtime option can be used to disable return value
4877 this is causing a problem on a particular machine. Also added an option
4879 AcpiExec (-dr) to set this disable flag.
4881 All makefiles and project files: Major changes to improve generation of
4883 tools. ACPICA BZ 912:
4884 Reduce default optimization levels to improve compatibility
4885 For Linux, add strict-aliasing=0 for gcc 4
4886 Cleanup and simplify use of command line defines
4887 Cleanup multithread library support
4888 Improve usage messages
4890 Linux-specific header: update handling of THREAD_ID and pthread. For the
4892 bit case, improve casting to eliminate possible warnings, especially with
4896 Example Code and Data Size: These are the sizes for the OS-independent
4897 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4899 version of the code includes the debug output trace mechanism and has a
4901 larger code and data size.
4903 Previous Release (VC 9.0):
4904 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4905 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4906 Current Release (VC 9.0):
4907 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
4908 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4910 2) iASL Compiler/Disassembler and Tools:
4912 With this release, a new utility named "acpihelp" has been added to the
4914 package. This utility summarizes the ACPI specification chapters for the
4916 and AML languages. It generates under Linux/Unix as well as Windows, and
4917 provides the following functionality:
4918 Find/display ASL operator(s) -- with description and syntax.
4919 Find/display ASL keyword(s) -- with exact spelling and descriptions.
4920 Find/display ACPI predefined name(s) -- with description, number
4921 of arguments, and the return value data type.
4922 Find/display AML opcode name(s) -- with opcode, arguments, and
4924 Decode/display AML opcode -- with opcode name, arguments, and
4927 Service Layers: Make multi-thread support configurable. Conditionally
4929 the multi-thread support so that threading libraries will not be linked
4932 necessary. The only tool that requires multi-thread support is AcpiExec.
4934 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
4936 Bison appear to want the interface to yyerror to be a const char * (or at
4937 least this is a problem when generating iASL on some systems.) ACPICA BZ
4941 Tools: Fix for systems where O_BINARY is not defined. Only used for
4943 versions of the tools.
4945 ----------------------------------------
4946 27 May 2011. Summary of changes for version 20110527:
4948 1) ACPI CA Core Subsystem:
4950 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
4952 signature. Now, only allow SSDT, OEMx, and a null signature. History:
4953 1) Originally, we checked the table signature for "SSDT" or "PSDT".
4954 (PSDT is now obsolete.)
4955 2) We added support for OEMx tables, signature "OEM" plus a fourth
4956 "don't care" character.
4957 3) Valid tables were encountered with a null signature, so we just
4958 gave up on validating the signature, (05/2008).
4959 4) We encountered non-AML tables such as the MADT, which caused
4960 interpreter errors and kernel faults. So now, we once again allow
4961 only SSDT, OEMx, and now, also a null signature. (05/2011).
4963 Added the missing _TDL predefined name to the global name list in order
4965 enable validation. Affects both the core ACPICA code and the iASL
4968 Example Code and Data Size: These are the sizes for the OS-independent
4969 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4971 version of the code includes the debug output trace mechanism and has a
4973 larger code and data size.
4975 Previous Release (VC 9.0):
4976 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
4977 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
4978 Current Release (VC 9.0):
4979 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
4980 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
4982 2) iASL Compiler/Disassembler and Tools:
4984 Debugger/AcpiExec: Implemented support for "complex" method arguments on
4986 debugger command line. This adds support beyond simple integers --
4988 Strings, Buffers, and Packages. Includes support for nested packages.
4989 Increased the default command line buffer size to accommodate these
4991 See the ACPICA reference for details and syntax. ACPICA BZ 917.
4993 Debugger/AcpiExec: Implemented support for "default" method arguments for
4995 Execute/Debug command. Now, the debugger will always invoke a control
4997 with the required number of arguments -- even if the command line
4999 none or insufficient arguments. It uses default integer values for any
5001 arguments. Also fixes a bug where only six method arguments maximum were
5002 supported instead of the required seven.
5004 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
5006 also return status in order to prevent buffer overruns. See the ACPICA
5007 reference for details and syntax. ACPICA BZ 921
5009 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
5010 makefiles to simplify support for the two different but similar parser
5011 generators, bison and yacc.
5013 Updated the generic unix makefile for gcc 4. The default gcc version is
5015 expected to be 4 or greater, since options specific to gcc 4 are used.
5017 ----------------------------------------
5018 13 April 2011. Summary of changes for version 20110413:
5020 1) ACPI CA Core Subsystem:
5022 Implemented support to execute a so-called "orphan" _REG method under the
5024 device. This change will force the execution of a _REG method underneath
5027 device even if there is no corresponding operation region of type
5028 EmbeddedControl. Fixes a problem seen on some machines and apparently is
5029 compatible with Windows behavior. ACPICA BZ 875.
5031 Added more predefined methods that are eligible for automatic NULL
5033 element removal. This change adds another group of predefined names to
5036 of names that can be repaired by having NULL package elements dynamically
5037 removed. This group are those methods that return a single variable-
5039 package containing simple data types such as integers, buffers, strings.
5041 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
5044 and _TZD. ACPICA BZ 914.
5046 Split and segregated all internal global lock functions to a new file,
5049 Updated internal address SpaceID for DataTable regions. Moved this
5052 id in preparation for ACPI 5.0 changes that will include some new space
5055 change should not affect user/host code.
5057 Example Code and Data Size: These are the sizes for the OS-independent
5059 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5061 the code includes the debug output trace mechanism and has a much larger
5066 Previous Release (VC 9.0):
5067 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
5068 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
5069 Current Release (VC 9.0):
5070 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
5071 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
5073 2) iASL Compiler/Disassembler and Tools:
5075 iASL/DTC: Major update for new grammar features. Allow generic data types
5077 custom ACPI tables. Field names are now optional. Any line can be split
5079 multiple lines using the continuation char (\). Large buffers now use
5081 continuation character(s) and no colon on the continuation lines. See the
5083 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
5086 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
5088 Since the parser stuffs a "zero" as the return value for these statements
5091 the underlying AML grammar), they were seen as "return with value" by the
5093 semantic checking. They are now seen correctly as "null" return
5096 iASL: Check if a_REG declaration has a corresponding Operation Region.
5098 check for each _REG to ensure that there is in fact a corresponding
5100 region declaration in the same scope. If not, the _REG method is not very
5102 since it probably won't be executed. ACPICA BZ 915.
5104 iASL/DTC: Finish support for expression evaluation. Added a new
5107 that implements c-style operator precedence and parenthesization. ACPICA
5111 Disassembler/DTC: Remove support for () and <> style comments in data
5114 that DTC has full expression support, we don't want to have comment
5117 start with a parentheses or a less-than symbol. Now, only the standard /*
5120 comments are supported, as well as the bracket [] comments.
5122 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
5124 headers in the acpidump file. Update the header validation to support
5126 tables. Problem introduced in previous AcpiXtract version in the change
5128 support "wrong checksum" error messages emitted by acpidump utility.
5130 iASL: Add a * option to generate all template files (as a synonym for
5134 "iasl -T *" or "iasl -T ALL".
5136 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
5138 abort the compiler on "fatal" errors, simply should abort the current
5140 This allows multiple compiles with a single (possibly wildcard) compiler
5143 ----------------------------------------
5144 16 March 2011. Summary of changes for version 20110316:
5146 1) ACPI CA Core Subsystem:
5148 Fixed a problem caused by a _PRW method appearing at the namespace root
5150 during the setup of wake GPEs. A fault could occur if a _PRW directly
5153 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
5155 Implemented support for "spurious" Global Lock interrupts. On some
5157 global lock interrupt can occur without the pending flag being set. Upon
5160 interrupt, we now ensure that a thread is actually waiting for the lock
5162 signaling GL availability. Rafael Wysocki, Bob Moore.
5164 Example Code and Data Size: These are the sizes for the OS-independent
5166 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
5168 the code includes the debug output trace mechanism and has a much larger
5173 Previous Release (VC 9.0):
5174 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5175 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5176 Current Release (VC 9.0):
5177 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
5178 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
5180 2) iASL Compiler/Disassembler and Tools:
5182 Implemented full support for the "SLIC" ACPI table. Includes support in
5184 header files, disassembler, table compiler, and template generator. Bob
5188 AcpiXtract: Correctly handle embedded comments and messages from
5190 Apparently some or all versions of acpidump will occasionally emit a
5193 "Wrong checksum", etc., into the dump file. This was causing problems for
5194 AcpiXtract. ACPICA BZ 905.
5196 iASL: Fix the Linux makefile by removing an inadvertent double file
5200 AcpiExec: Update installation of operation region handlers. Install one
5202 for a user-defined address space. This is used by the ASL test suite
5205 ----------------------------------------
5206 11 February 2011. Summary of changes for version 20110211:
5208 1) ACPI CA Core Subsystem:
5210 Added a mechanism to defer _REG methods for some early-installed
5212 Most user handlers should be installed before call to
5213 AcpiEnableSubsystem.
5214 However, Event handlers and region handlers should be installed after
5215 AcpiInitializeObjects. Override handlers for the "default" regions should
5217 installed early, however. This change executes all _REG methods for the
5218 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
5219 chicken/egg issues between them. ACPICA BZ 848.
5221 Implemented an optimization for GPE detection. This optimization will
5223 ignore GPE registers that contain no enabled GPEs -- there is no need to
5224 read the register since this information is available internally. This
5225 becomes more important on machines with a large GPE space. ACPICA
5227 884. Lin Ming. Suggestion from Joe Liu.
5229 Removed all use of the highly unreliable FADT revision field. The
5231 number in the FADT has been found to be completely unreliable and cannot
5233 trusted. Only the actual table length can be used to infer the version.
5235 change updates the ACPICA core and the disassembler so that both no
5237 even look at the FADT version and instead depend solely upon the FADT
5240 Fix an unresolved name issue for the no-debug and no-error-message source
5241 generation cases. The _AcpiModuleName was left undefined in these cases,
5243 it is actually needed as a parameter to some interfaces. Define
5244 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
5246 Split several large files (makefiles and project files updated)
5247 utglobal.c -> utdecode.c
5248 dbcomds.c -> dbmethod.c dbnames.c
5249 dsopcode.c -> dsargs.c dscontrol.c
5250 dsload.c -> dsload2.c
5251 aslanalyze.c -> aslbtypes.c aslwalks.c
5253 Example Code and Data Size: These are the sizes for the OS-independent
5254 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5255 debug version of the code includes the debug output trace mechanism and
5257 a much larger code and data size.
5259 Previous Release (VC 9.0):
5260 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5261 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5262 Current Release (VC 9.0):
5263 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5264 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5266 2) iASL Compiler/Disassembler and Tools:
5268 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
5269 These are useful C-style macros with the standard definitions. ACPICA
5272 iASL/DTC: Added support for integer expressions and labels. Support for
5274 expressions for all integer fields in all ACPI tables. Support for labels
5276 "generic" portions of tables such as UEFI. See the iASL reference manual.
5278 Debugger: Added a command to display the status of global handlers. The
5279 "handlers" command will display op region, fixed event, and miscellaneous
5280 global handlers. installation status -- and for op regions, whether
5282 or user-installed handler will be used.
5284 iASL: Warn if reserved method incorrectly returns a value. Many
5286 names are defined such that they do not return a value. If implemented as
5288 method, issue a warning if such a name explicitly returns a value. ACPICA
5291 iASL: Added detection of GPE method name conflicts. Detects a conflict
5293 there are two GPE methods of the form _Lxy and _Exy in the same scope.
5295 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
5297 iASL/DTC: Fixed a couple input scanner issues with comments and line
5298 numbers. Comment remover could get confused and miss a comment ending.
5300 a problem with line counter maintenance.
5302 iASL/DTC: Reduced the severity of some errors from fatal to error. There
5304 no need to abort on simple errors within a field definition.
5306 Debugger: Simplified the output of the help command. All help output now
5308 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
5310 ----------------------------------------
5311 12 January 2011. Summary of changes for version 20110112:
5313 1) ACPI CA Core Subsystem:
5315 Fixed a race condition between method execution and namespace walks that
5317 possibly cause a fault. The problem was apparently introduced in version
5318 20100528 as a result of a performance optimization that reduces the
5321 namespace walks upon method exit by using the delete_namespace_subtree
5322 function instead of the delete_namespace_by_owner function used
5324 Bug is a missing namespace lock in the delete_namespace_subtree function.
5325 dana.myers@oracle.com
5327 Fixed several issues and a possible fault with the automatic "serialized"
5328 method support. History: This support changes a method to "serialized" on
5330 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
5331 possibility that it cannot handle reentrancy. This fix repairs a couple
5333 issues seen in the field, especially on machines with many cores:
5335 1) Delete method children only upon the exit of the last thread,
5336 so as to not delete objects out from under other running threads
5337 (and possibly causing a fault.)
5338 2) Set the "serialized" bit for the method only upon the exit of the
5339 Last thread, so as to not cause deadlock when running threads
5341 3) Cleanup the use of the AML "MethodFlags" and internal method flags
5342 so that there is no longer any confusion between the two.
5344 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
5346 Debugger: Now lock the namespace for duration of a namespace dump.
5348 issues if the namespace is changing dynamically underneath the debugger.
5349 Especially affects temporary namespace nodes, since the debugger displays
5352 Updated the ordering of include files. The ACPICA headers should appear
5353 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
5355 any necessary compiler-specific defines, etc. Affects the ACPI-related
5359 Updated all ACPICA copyrights and signons to 2011. Added the 2011
5361 to all module headers and signons, including the Linux header. This
5363 virtually every file in the ACPICA core subsystem, iASL compiler, and all
5366 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
5367 project files for VC++ 6.0 are now obsolete. New project files can be
5369 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
5372 Example Code and Data Size: These are the sizes for the OS-independent
5373 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5374 debug version of the code includes the debug output trace mechanism and
5376 much larger code and data size.
5378 Previous Release (VC 6.0):
5379 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
5380 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
5381 Current Release (VC 9.0):
5382 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
5383 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
5385 2) iASL Compiler/Disassembler and Tools:
5387 iASL: Added generic data types to the Data Table compiler. Add "generic"
5389 types such as UINT32, String, Unicode, etc., to simplify the generation
5391 platform-defined tables such as UEFI. Lin Ming.
5393 iASL: Added listing support for the Data Table Compiler. Adds listing
5395 (-l) to display actual binary output for each line of input code.
5397 ----------------------------------------
5398 09 December 2010. Summary of changes for version 20101209:
5400 1) ACPI CA Core Subsystem:
5402 Completed the major overhaul of the GPE support code that was begun in
5404 2010. Major features include: removal of _PRW execution in ACPICA (host
5405 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
5406 changes to existing interfaces, simplification of GPE handler operation,
5408 a handful of new interfaces:
5414 One new file, evxfgpe.c to consolidate all external GPE interfaces.
5416 See the ACPICA Programmer Reference for full details and programming
5417 information. See the new section 4.4 "General Purpose Event (GPE)
5419 for a full overview, and section 8.7 "ACPI General Purpose Event
5421 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
5423 Bob Moore, Rafael Wysocki.
5425 Implemented a new GPE feature for Windows compatibility, the "Implicit
5427 GPE Notify". This feature will automatically issue a Notify(2) on a
5429 when a Wake GPE is received if there is no corresponding GPE method or
5430 handler. ACPICA BZ 870.
5432 Fixed a problem with the Scope() operator during table parse and load
5434 During load phase (table load or method execution), the scope operator
5436 not enter the target into the namespace. Instead, it should open a new
5438 at the target location. Linux BZ 19462, ACPICA BZ 882.
5440 Example Code and Data Size: These are the sizes for the OS-independent
5441 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5442 debug version of the code includes the debug output trace mechanism and
5444 much larger code and data size.
5447 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
5448 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
5450 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5451 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5453 2) iASL Compiler/Disassembler and Tools:
5455 iASL: Relax the alphanumeric restriction on _CID strings. These strings
5457 "bus-specific" per the ACPI specification, and therefore any characters
5459 acceptable. The only checks that can be performed are for a null string
5461 perhaps for a leading asterisk. ACPICA BZ 886.
5463 iASL: Fixed a problem where a syntax error that caused a premature EOF
5464 condition on the source file emitted a very confusing error message. The
5465 premature EOF is now detected correctly. ACPICA BZ 891.
5467 Disassembler: Decode the AccessSize within a Generic Address Structure
5469 access, word access, etc.) Note, this field does not allow arbitrary bit
5470 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
5472 New: AcpiNames utility - Example namespace dump utility. Shows an example
5474 ACPICA configuration for a minimal namespace dump utility. Uses table and
5475 namespace managers, but no AML interpreter. Does not add any
5477 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
5478 partition and configure ACPICA. ACPICA BZ 883.
5480 AML Debugger: Increased the debugger buffer size for method return
5482 Was 4K, increased to 16K. Also enhanced error messages for debugger
5484 execution, including the buffer overflow case.
5486 ----------------------------------------
5487 13 October 2010. Summary of changes for version 20101013:
5489 1) ACPI CA Core Subsystem:
5491 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
5493 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
5494 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
5496 Changed the type of the predefined namespace object _TZ from ThermalZone
5498 Device. This was found to be confusing to the host software that
5500 the various thermal zones, since _TZ is not really a ThermalZone.
5503 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
5506 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
5507 string is "Windows 2006 SP2".
5509 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
5511 code automatically repairs _HID-related strings, this type of code is no
5512 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
5515 Example Code and Data Size: These are the sizes for the OS-independent
5516 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5517 debug version of the code includes the debug output trace mechanism and
5519 much larger code and data size.
5522 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5523 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5525 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5526 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5528 2) iASL Compiler/Disassembler and Tools:
5530 iASL: Implemented additional compile-time validation for _HID strings.
5532 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
5535 the string must be exactly seven or eight characters. For both _HID and
5537 strings, all characters must be alphanumeric. ACPICA BZ 874.
5539 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
5540 descriptors that are mostly or all zeros, with the expectation that they
5542 be filled in at runtime. iASL now allows this as long as there is a
5544 tag" (name) associated with the descriptor, which gives the ASL a handle
5545 needed to modify the descriptor. ACPICA BZ 873.
5547 Added single-thread support to the generic Unix application OSL.
5549 for iASL support, this change removes the use of semaphores in the
5551 threaded ACPICA tools/applications - increasing performance. The
5552 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
5553 option. ACPICA BZ 879.
5555 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
5557 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
5559 iASL: Moved all compiler messages to a new file, aslmessages.h.
5561 ----------------------------------------
5562 15 September 2010. Summary of changes for version 20100915:
5564 1) ACPI CA Core Subsystem:
5566 Removed the AcpiOsDerivePciId OSL interface. The various host
5568 of this function were not OS-dependent and are now obsolete and can be
5569 removed from all host OSLs. This function has been replaced by
5570 AcpiHwDerivePciId, which is now part of the ACPICA core code.
5571 AcpiHwDerivePciId has been implemented without recursion. Adds one new
5572 module, hwpci.c. ACPICA BZ 857.
5574 Implemented a dynamic repair for _HID and _CID strings. The following
5575 problems are now repaired at runtime: 1) Remove a leading asterisk in the
5576 string, and 2) the entire string is uppercased. Both repairs are in
5577 accordance with the ACPI specification and will simplify host driver
5581 The ACPI_THREAD_ID type is no longer configurable, internally it is now
5582 always UINT64. This simplifies the ACPICA code, especially any printf
5584 UINT64 is the only common data type for all thread_id types across all
5585 operating systems. It is now up to the host OSL to cast the native
5587 type to UINT64 before returning the value to ACPICA (via
5589 Lin Ming, Bob Moore.
5591 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
5593 keyword is not standard across compilers, and this type allows inline to
5595 configured on a per-compiler basis. Lin Ming.
5597 Made the system global AcpiGbl_SystemAwakeAndRunning publically
5599 Added an extern for this boolean in acpixf.h. Some hosts utilize this
5601 during suspend/restore operations. ACPICA BZ 869.
5603 All code that implements error/warning messages with the "ACPI:" prefix
5605 been moved to a new module, utxferror.c.
5607 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
5609 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
5611 Example Code and Data Size: These are the sizes for the OS-independent
5612 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5613 debug version of the code includes the debug output trace mechanism and
5615 much larger code and data size.
5618 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5619 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5621 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
5622 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
5624 2) iASL Compiler/Disassembler and Tools:
5626 iASL/Disassembler: Write ACPI errors to stderr instead of the output
5628 This keeps the output files free of random error messages that may
5630 from within the namespace/interpreter code. Used this opportunity to
5632 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
5633 866. Lin Ming, Bob Moore.
5635 Tools: update some printfs for ansi warnings on size_t. Handle width
5637 of size_t on 32-bit versus 64-bit generations. Lin Ming.
5639 ----------------------------------------
5640 06 August 2010. Summary of changes for version 20100806:
5642 1) ACPI CA Core Subsystem:
5644 Designed and implemented a new host interface to the _OSI support code.
5646 will allow the host to dynamically add or remove multiple _OSI strings,
5648 well as install an optional handler that is called for each _OSI
5650 Also added a new AML debugger command, 'osi' to display and modify the
5652 _OSI string table, and test support in the AcpiExec utility. See the
5654 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
5656 AcpiInstallInterface - Add an _OSI string.
5657 AcpiRemoveInterface - Delete an _OSI string.
5658 AcpiInstallInterfaceHandler - Install optional _OSI handler.
5660 AcpiOsValidateInterface - no longer used.
5662 source/components/utilities/utosi.c
5664 Re-introduced the support to enable multi-byte transfers for Embedded
5665 Controller (EC) operation regions. A reported problem was found to be a
5667 in the host OS, not in the multi-byte support. Previously, the maximum
5669 size passed to the EC operation region handler was a single byte. There
5671 often EC Fields larger than one byte that need to be transferred, and it
5673 useful for the EC driver to lock these as a single transaction. This
5675 enables single transfers larger than 8 bits. This effectively changes the
5676 access to the EC space from ByteAcc to AnyAcc, and will probably require
5677 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
5679 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
5681 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
5682 prototype in acpiosxf.h had the output value pointer as a (void *).
5683 It should be a (UINT64 *). This may affect some host OSL code.
5685 Fixed a couple problems with the recently modified Linux makefiles for
5687 and AcpiExec. These new makefiles place the generated object files in the
5688 local directory so that there can be no collisions between the files that
5690 shared between them that are compiled with different options.
5692 Example Code and Data Size: These are the sizes for the OS-independent
5693 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5694 debug version of the code includes the debug output trace mechanism and
5696 much larger code and data size.
5699 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5700 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5702 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
5703 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
5705 2) iASL Compiler/Disassembler and Tools:
5707 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
5709 namespace from and disassemble an entire group of AML files. Useful for
5710 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
5712 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
5714 iASL: Allow multiple invocations of -e option. This change allows
5716 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
5720 ----------------------------------------
5721 02 July 2010. Summary of changes for version 20100702:
5723 1) ACPI CA Core Subsystem:
5725 Implemented several updates to the recently added GPE reference count
5726 support. The model for "wake" GPEs is changing to give the host OS
5728 control of these GPEs. Eventually, the ACPICA core will not execute any
5730 methods, since the host already must execute them. Also, additional
5732 were made to help ensure that the reference counts are kept in proper
5733 synchronization with reality. Rafael J. Wysocki.
5735 1) Ensure that GPEs are not enabled twice during initialization.
5736 2) Ensure that GPE enable masks stay in sync with the reference count.
5737 3) Do not inadvertently enable GPEs when writing GPE registers.
5738 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
5739 interface. This interface will set or clear individual GPEs for wakeup.
5740 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
5742 are now used for "runtime" GPEs only.
5744 Changed the behavior of the GPE install/remove handler interfaces. The
5747 no longer disabled during this process, as it was found to cause problems
5749 some machines. Rafael J. Wysocki.
5751 Reverted a change introduced in version 20100528 to enable Embedded
5752 Controller multi-byte transfers. This change was found to cause problems
5754 Index Fields and possibly Bank Fields. It will be reintroduced when these
5755 problems have been resolved.
5757 Fixed a problem with references to Alias objects within Package Objects.
5759 reference to an Alias within the definition of a Package was not always
5760 resolved properly. Aliases to objects like Processors, Thermal zones,
5762 were resolved to the actual object instead of a reference to the object
5765 should be. Package objects are only allowed to contain integer, string,
5766 buffer, package, and reference objects. Redhat bugzilla 608648.
5768 Example Code and Data Size: These are the sizes for the OS-independent
5769 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5770 debug version of the code includes the debug output trace mechanism and
5772 much larger code and data size.
5775 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5776 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5778 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5779 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
5781 2) iASL Compiler/Disassembler and Tools:
5783 iASL: Implemented a new compiler subsystem to allow definition and
5784 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
5786 are called "ACPI Data Tables", and the new compiler is the "Data Table
5787 Compiler". This compiler is intended to simplify the existing error-prone
5788 process of creating these tables for the BIOS, as well as allowing the
5789 disassembly, modification, recompilation, and override of existing ACPI
5791 tables. See the iASL User Guide for detailed information.
5793 iASL: Implemented a new Template Generator option in support of the new
5795 Table Compiler. This option will create examples of all known ACPI tables
5796 that can be used as the basis for table development. See the iASL
5797 documentation and the -T option.
5799 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
5802 Updated the Linux makefiles for iASL and AcpiExec to place the generated
5803 object files in the local directory so that there can be no collisions
5804 between the shared files between them that are generated with different
5807 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
5809 the #define __APPLE__ to enable this support.
5811 ----------------------------------------
5812 28 May 2010. Summary of changes for version 20100528:
5814 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
5815 available at www.acpi.info. This is primarily an errata release.
5817 1) ACPI CA Core Subsystem:
5819 Undefined ACPI tables: We are looking for the definitions for the
5821 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
5823 Implemented support to enable multi-byte transfers for Embedded
5825 (EC) operation regions. Previously, the maximum data size passed to the
5827 operation region handler was a single byte. There are often EC Fields
5829 than one byte that need to be transferred, and it is useful for the EC
5831 to lock these as a single transaction. This change enables single
5833 larger than 8 bits. This effectively changes the access to the EC space
5835 ByteAcc to AnyAcc, and will probably require changes to the host OS
5837 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
5839 transfers. Alexey Starikovskiy, Lin Ming
5841 Implemented a performance enhancement for namespace search and access.
5843 change enhances the performance of namespace searches and walks by adding
5845 backpointer to the parent in each namespace node. On large namespaces,
5847 change can improve overall ACPI performance by up to 9X. Adding a pointer
5849 each namespace node increases the overall size of the internal namespace
5851 about 5%, since each namespace entry usually consists of both a namespace
5852 node and an ACPI operand object. However, this is the first growth of the
5853 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
5855 Implemented a performance optimization that reduces the number of
5857 walks. On control method exit, only walk the namespace if the method is
5859 to have created namespace objects outside of its local scope. Previously,
5861 entire namespace was traversed on each control method exit. This change
5863 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
5866 Added support to truncate I/O addresses to 16 bits for Windows
5868 Some ASL code has been seen in the field that inadvertently has bits set
5869 above bit 15. This feature is optional and is enabled if the BIOS
5871 any Windows OSI strings. It can also be enabled by the host OS. Matthew
5874 Added support to limit the maximum time for the ASL Sleep() operator. To
5875 prevent accidental deep sleeps, limit the maximum time that Sleep() will
5876 actually sleep. Configurable, the default maximum is two seconds. ACPICA
5879 Added run-time validation support for the _WDG and_WED Microsoft
5881 methods. These objects are defined by "Windows Instrumentation", and are
5883 part of the ACPI spec. ACPICA BZ 860.
5885 Expanded all statistic counters used during namespace and device
5886 initialization from 16 to 32 bits in order to support very large
5889 Replaced all instances of %d in printf format specifiers with %u since
5891 all integers in ACPICA are unsigned.
5893 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
5897 Example Code and Data Size: These are the sizes for the OS-independent
5898 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5899 debug version of the code includes the debug output trace mechanism and
5901 much larger code and data size.
5904 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5905 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5907 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
5908 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
5910 2) iASL Compiler/Disassembler and Tools:
5912 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
5913 methods. These objects are defined by "Windows Instrumentation", and are
5915 part of the ACPI spec. ACPICA BZ 860.
5917 AcpiExec: added option to disable the memory tracking mechanism. The -dt
5918 option will disable the tracking mechanism, which improves performance
5921 AcpiExec: Restructured the command line options into -d (disable) and -e
5924 ----------------------------------------
5925 28 April 2010. Summary of changes for version 20100428:
5927 1) ACPI CA Core Subsystem:
5929 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
5930 including FADT-based and GPE Block Devices, execute any _PRW methods in
5932 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
5933 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
5934 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
5935 Devices. Provides compatibility with other ACPI implementations. Two new
5936 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
5939 Fixed a regression introduced in version 20100331 within the table
5941 where initial table loading could fail. This was introduced in the fix
5943 AcpiReallocateRootTable. Also, renamed some of fields in the table
5945 data structures to clarify their meaning and use.
5947 Fixed a possible allocation overrun during internal object copy in
5948 AcpiUtCopySimpleObject. The original code did not correctly handle the
5950 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
5953 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
5954 possible access beyond end-of-allocation. Also, now fully validate
5956 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
5958 Example Code and Data Size: These are the sizes for the OS-independent
5959 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5960 debug version of the code includes the debug output trace mechanism and
5962 much larger code and data size.
5965 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
5966 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
5968 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
5969 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
5971 2) iASL Compiler/Disassembler and Tools:
5973 iASL: Implemented Min/Max/Len/Gran validation for address resource
5974 descriptors. This change implements validation for the address fields
5976 are common to all address-type resource descriptors. These checks are
5977 implemented: Checks for valid Min/Max, length within the Min/Max window,
5978 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
5980 table 6-40 in the ACPI 4.0a specification. Also split the large
5982 and aslrestype2.c files into five new files. ACPICA BZ 840.
5984 iASL: Added support for the _Wxx predefined names. This support was
5986 and these names were not recognized by the compiler as valid predefined
5987 names. ACPICA BZ 851.
5989 iASL: Added an error for all predefined names that are defined to return
5991 value and thus must be implemented as Control Methods. These include all
5993 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
5994 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
5996 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
5998 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
6000 dynamically loaded via the Load() operator. Also cleaned up output for
6003 ta and -tc options. ACPICA BZ 853.
6005 Tests: Added a new file with examples of extended iASL error checking.
6006 Demonstrates the advanced error checking ability of the iASL compiler.
6007 Available at tests/misc/badcode.asl.
6009 ----------------------------------------
6010 31 March 2010. Summary of changes for version 20100331:
6012 1) ACPI CA Core Subsystem:
6014 Completed a major update for the GPE support in order to improve support
6016 shared GPEs and to simplify both host OS and ACPICA code. Added a
6018 count mechanism to support shared GPEs that require multiple device
6020 Several external interfaces have changed. One external interface has been
6021 removed. One new external interface was added. Most of the GPE external
6022 interfaces now use the GPE spinlock instead of the events mutex (and the
6023 Flags parameter for many GPE interfaces has been removed.) See the
6025 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
6027 Wysocki. ACPICA BZ 831.
6030 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
6036 Implemented write support for DataTable operation regions. These regions
6038 defined via the DataTableRegion() operator. Previously, only read support
6040 implemented. The ACPI specification allows DataTableRegions to be
6044 Implemented a new subsystem option to force a copy of the DSDT to local
6045 memory. Optionally copy the entire DSDT to local memory (instead of
6047 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
6049 the original DSDT, creating the need for this option. Default is FALSE,
6053 Implemented detection of a corrupted or replaced DSDT. This change adds
6054 support to detect a DSDT that has been corrupted and/or replaced from
6056 the OS (by firmware). This is typically catastrophic for the system, but
6058 been seen on some machines. Once this problem has been detected, the DSDT
6059 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
6061 Fixed two problems with AcpiReallocateRootTable during the root table
6063 When copying the root table to the new allocation, the length used was
6064 incorrect. The new size was used instead of the current table size,
6066 too much data was copied. Also, the count of available slots for ACPI
6068 was not set correctly. Alexey Starikovskiy, Bob Moore.
6070 Example Code and Data Size: These are the sizes for the OS-independent
6071 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6072 debug version of the code includes the debug output trace mechanism and
6074 much larger code and data size.
6077 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
6078 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
6080 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
6081 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
6083 2) iASL Compiler/Disassembler and Tools:
6085 iASL: Implement limited typechecking for values returned from predefined
6086 control methods. The type of any returned static (unnamed) object is now
6087 validated. For example, Return(1). ACPICA BZ 786.
6089 iASL: Fixed a predefined name object verification regression. Fixes a
6091 introduced in version 20100304. An error is incorrectly generated if a
6092 predefined name is declared as a static named object with a value defined
6093 using the keywords "Zero", "One", or "Ones". Lin Ming.
6095 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
6097 reducing the requested registry access rights. ACPICA BZ 842.
6099 Disassembler: fixed a possible fault when generating External()
6101 Introduced in commit ae7d6fd: Properly handle externals with parent-
6103 (carat). Fixes a string length allocation calculation. Lin Ming.
6105 ----------------------------------------
6106 04 March 2010. Summary of changes for version 20100304:
6108 1) ACPI CA Core Subsystem:
6110 Fixed a possible problem with the AML Mutex handling function
6111 AcpiExReleaseMutex where the function could fault under the very rare
6112 condition when the interpreter has blocked, the interpreter lock is
6114 the interpreter is then reentered via the same thread, and attempts to
6115 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
6119 Implemented additional configuration support for the AML "Debug Object".
6120 Output from the debug object can now be enabled via a global variable,
6121 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
6123 This debug output is now available in the release version of ACPICA
6125 of just the debug version. Also, the entire debug output module can now
6127 configured out of the ACPICA build if desired. One new file added,
6128 executer/exdebug.c. Lin Ming, Bob Moore.
6130 Added header support for the ACPI MCHI table (Management Controller Host
6131 Interface Table). This table was added in ACPI 4.0, but the defining
6133 has only recently become available.
6135 Standardized output of integer values for ACPICA warnings/errors. Always
6137 0x prefix for hex output, always use %u for unsigned integer decimal
6139 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
6141 invocations.) These invocations were converted from the original
6142 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
6144 Example Code and Data Size: These are the sizes for the OS-independent
6145 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6146 debug version of the code includes the debug output trace mechanism and
6148 much larger code and data size.
6151 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
6152 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
6154 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
6155 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
6157 2) iASL Compiler/Disassembler and Tools:
6159 iASL: Implemented typechecking support for static (non-control method)
6160 predefined named objects that are declared with the Name() operator. For
6161 example, the type of this object is now validated to be of type Integer:
6162 Name(_BBN, 1). This change migrates the compiler to using the core
6164 name table instead of maintaining a local version. Added a new file,
6165 aslpredef.c. ACPICA BZ 832.
6167 Disassembler: Added support for the ACPI 4.0 MCHI table.
6169 ----------------------------------------
6170 21 January 2010. Summary of changes for version 20100121:
6172 1) ACPI CA Core Subsystem:
6174 Added the 2010 copyright to all module headers and signons. This affects
6175 virtually every file in the ACPICA core subsystem, the iASL compiler, the
6176 tools/utilities, and the test suites.
6178 Implemented a change to the AcpiGetDevices interface to eliminate
6180 invocations of the _STA method. In the case where a specific _HID is
6181 requested, do not run _STA until a _HID match is found. This eliminates
6182 potentially dozens of _STA calls during a search for a particular
6184 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
6186 Implemented an additional repair for predefined method return values.
6188 to repair unexpected NULL elements within returned Package objects.
6191 Integer of value zero, a NULL String, or a zero-length Buffer as
6193 ACPICA BZ 818. Lin Ming, Bob Moore.
6195 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
6197 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
6199 64-bit AML integers). It is now obsolete and this change removes it from
6201 ACPICA code base, replaced by UINT64. The original typedef has been
6203 for now for compatibility with existing device driver code. ACPICA BZ
6206 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
6208 the parse tree object.
6210 Added additional warning options for the gcc-4 generation. Updated the
6212 accordingly. This includes some code restructuring to eliminate
6214 code, elimination of some gotos, elimination of unused return values,
6216 additional casting, and removal of redundant declarations.
6218 Example Code and Data Size: These are the sizes for the OS-independent
6219 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6220 debug version of the code includes the debug output trace mechanism and
6222 much larger code and data size.
6225 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
6226 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
6228 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
6229 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
6231 2) iASL Compiler/Disassembler and Tools:
6233 No functional changes for this release.
6235 ----------------------------------------
6236 14 December 2009. Summary of changes for version 20091214:
6238 1) ACPI CA Core Subsystem:
6240 Enhanced automatic data type conversions for predefined name repairs.
6242 change expands the automatic repairs/conversions for predefined name
6244 values to make Integers, Strings, and Buffers fully interchangeable.
6247 Buffer can be converted to a Package of Integers if necessary. The
6249 module was completely restructured. Lin Ming, Bob Moore.
6251 Implemented automatic removal of null package elements during predefined
6253 repairs. This change will automatically remove embedded and trailing NULL
6254 package elements from returned package objects that are defined to
6257 variable number of sub-packages. The driver is then presented with a
6259 with no null elements to deal with. ACPICA BZ 819.
6261 Implemented a repair for the predefined _FDE and _GTM names. The expected
6262 return value for both names is a Buffer of 5 DWORDs. This repair fixes
6264 possible problems (both seen in the field), where a package of integers
6266 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
6269 Implemented additional module-level code support. This change will
6271 execute module-level code that is not at the root of the namespace (under
6273 Device object, etc.). Now executes the code within the current scope
6275 of the root. ACPICA BZ 762. Lin Ming.
6277 Fixed possible mutex acquisition errors when running _REG methods. Fixes
6279 problem where mutex errors can occur when running a _REG method that is
6281 the same scope as a method-defined operation region or an operation
6283 under a module-level IF block. This type of code is rare, so the problem
6285 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
6287 Fixed a possible memory leak during module-level code execution. An
6289 could be leaked for each block of executed module-level code if the
6290 interpreter slack mode is enabled This change deletes any implicitly
6292 object from the module-level code block. Lin Ming.
6294 Removed messages for successful predefined repair(s). The repair
6296 was considered too wordy. Now, messages are only unconditionally emitted
6298 the return object cannot be repaired. Existing messages for successful
6299 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
6302 Example Code and Data Size: These are the sizes for the OS-independent
6303 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6304 debug version of the code includes the debug output trace mechanism and
6306 much larger code and data size.
6309 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
6310 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
6312 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
6313 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
6315 2) iASL Compiler/Disassembler and Tools:
6317 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
6319 were no longer automatically removed at the termination of the compile.
6321 acpiexec: Implemented the -f option to specify default region fill value.
6322 This option specifies the value used to initialize buffers that simulate
6323 operation regions. Default value is zero. Useful for debugging problems
6325 depend on a specific initial value for a region or field.
6327 ----------------------------------------
6328 12 November 2009. Summary of changes for version 20091112:
6330 1) ACPI CA Core Subsystem:
6332 Implemented a post-order callback to AcpiWalkNamespace. The existing
6333 interface only has a pre-order callback. This change adds an additional
6334 parameter for a post-order callback which will be more useful for bus
6336 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
6338 Modified the behavior of the operation region memory mapping cache for
6339 SystemMemory. Ensure that the memory mappings created for operation
6341 do not cross 4K page boundaries. Crossing a page boundary while mapping
6342 regions can cause kernel warnings on some hosts if the pages have
6344 attributes. Such regions are probably BIOS bugs, and this is the
6346 Linux BZ 14445. Lin Ming.
6348 Implemented an automatic repair for predefined methods that must return
6349 sorted lists. This change will repair (by sorting) packages returned by
6351 _PSS, and _TSS. Drivers can now assume that the packages are correctly
6353 and do not contain NULL package elements. Adds one new file,
6354 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
6356 Fixed a possible fault during predefined name validation if a return
6358 object contains NULL elements. Also adds a warning if a NULL element is
6359 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
6361 include repair or removal of all such NULL elements where possible.
6363 Implemented additional module-level executable AML code support. This
6365 will execute module-level code that is not at the root of the namespace
6366 (under a Device object, etc.) at table load time. Module-level executable
6368 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
6370 Implemented a new internal function to create Integer objects. This
6372 simplifies miscellaneous object creation code. ACPICA BZ 823.
6374 Reduced the severity of predefined repair messages, Warning to Info.
6376 the object was successfully repaired, a warning is too severe. Reduced to
6378 info message for now. These messages may eventually be changed to debug-
6382 Example Code and Data Size: These are the sizes for the OS-independent
6383 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6384 debug version of the code includes the debug output trace mechanism and
6386 much larger code and data size.
6389 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
6390 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
6392 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
6393 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
6395 2) iASL Compiler/Disassembler and Tools:
6397 iASL: Implemented Switch() with While(1) so that Break works correctly.
6399 change correctly implements the Switch operator with a surrounding
6401 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
6403 iASL: Added a message if a package initializer list is shorter than
6405 length. Adds a new remark for a Package() declaration if an initializer
6407 exists, but is shorter than the declared length of the package. Although
6408 technically legal, this is probably a coding error and it is seen in the
6409 field. ACPICA BZ 815. Lin Ming, Bob Moore.
6411 iASL: Fixed a problem where the compiler could fault after the maximum
6413 of errors was reached (200).
6415 acpixtract: Fixed a possible warning for pointer cast if the compiler
6417 level set very high.
6419 ----------------------------------------
6420 13 October 2009. Summary of changes for version 20091013:
6422 1) ACPI CA Core Subsystem:
6424 Fixed a problem where an Operation Region _REG method could be executed
6426 than once. If a custom address space handler is installed by the host
6428 the "initialize operation regions" phase of the ACPICA initialization,
6430 _REG methods for that address space could be executed twice. This change
6431 fixes the problem. ACPICA BZ 427. Lin Ming.
6433 Fixed a possible memory leak for the Scope() ASL operator. When the exact
6434 invocation of "Scope(\)" is executed (change scope to root), one internal
6435 operand object was leaked. Lin Ming.
6437 Implemented a run-time repair for the _MAT predefined method. If the _MAT
6438 return value is defined as a Field object in the AML, and the field
6439 size is less than or equal to the default width of an integer (32 or
6441 can incorrectly return an Integer instead of a Buffer. ACPICA now
6442 automatically repairs this problem. ACPICA BZ 810.
6444 Implemented a run-time repair for the _BIF and _BIX predefined methods.
6446 "OEM Information" field is often incorrectly returned as an Integer with
6447 value zero if the field is not supported by the platform. This is due to
6449 ambiguity in the ACPI specification. The field should always be a string.
6450 ACPICA now automatically repairs this problem by returning a NULL string
6451 within the returned Package. ACPICA BZ 807.
6453 Example Code and Data Size: These are the sizes for the OS-independent
6454 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6455 debug version of the code includes the debug output trace mechanism and
6457 much larger code and data size.
6460 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
6461 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
6463 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
6464 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
6466 2) iASL Compiler/Disassembler and Tools:
6468 Disassembler: Fixed a problem where references to external symbols that
6469 contained one or more parent-prefixes (carats) were not handled
6471 possibly causing a fault. ACPICA BZ 806. Lin Ming.
6473 Disassembler: Restructured the code so that all functions that handle
6474 external symbols are in a single module. One new file is added,
6477 AML Debugger: Added a max count argument for the Batch command (which
6478 executes multiple predefined methods within the namespace.)
6480 iASL: Updated the compiler documentation (User Reference.) Available at
6481 http://www.acpica.org/documentation/. ACPICA BZ 750.
6483 AcpiXtract: Updated for Lint and other formatting changes. Close all open
6486 ----------------------------------------
6487 03 September 2009. Summary of changes for version 20090903:
6489 1) ACPI CA Core Subsystem:
6491 For Windows Vista compatibility, added the automatic execution of an _INI
6492 method located at the namespace root (\_INI). This method is executed at
6493 table load time. This support is in addition to the automatic execution
6495 \_SB._INI. Lin Ming.
6497 Fixed a possible memory leak in the interpreter for AML package objects
6499 the package initializer list is longer than the defined size of the
6501 This apparently can only happen if the BIOS changes the package size on
6503 fly (seen in a _PSS object), as ASL compilers do not allow this. The
6504 interpreter will truncate the package to the defined size (and issue an
6506 message), but previously could leave the extra objects undeleted if they
6508 pre-created during the argument processing (such is the case if the
6510 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
6512 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
6513 This has been reported in the field. Previously, ACPICA would zero out
6515 buffer/string. Now, the operation is treated as a noop. Provides Windows
6516 compatibility. ACPICA BZ 803. Lin Ming.
6518 Removed an extraneous error message for ASL constructs of the form
6519 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
6521 are seen in many BIOSs and are once again treated as NOOPs and no error
6523 emitted when they are encountered. ACPICA BZ 785.
6525 Fixed an extraneous warning message if a _DSM reserved method returns a
6526 Package object. _DSM can return any type of object, so validation on the
6527 return type cannot be performed. ACPICA BZ 802.
6529 Example Code and Data Size: These are the sizes for the OS-independent
6530 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6531 debug version of the code includes the debug output trace mechanism and
6533 much larger code and data size.
6536 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
6537 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
6539 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
6540 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
6542 2) iASL Compiler/Disassembler and Tools:
6544 iASL: Fixed a problem with the use of the Alias operator and Resource
6545 Templates. The correct alias is now constructed and no error is emitted.
6548 iASL: Implemented the -I option to specify additional search directories
6550 include files. Allows multiple additional search paths for include files.
6551 Directories are searched in the order specified on the command line
6553 the local directory is searched.) ACPICA BZ 800.
6555 iASL: Fixed a problem where the full pathname for include files was not
6556 emitted for warnings/errors. This caused the IDE support to not work
6557 properly. ACPICA BZ 765.
6559 iASL: Implemented the -@ option to specify a Windows-style response file
6560 containing additional command line options. ACPICA BZ 801.
6562 AcpiExec: Added support to load multiple AML files simultaneously (such
6565 DSDT and multiple SSDTs). Also added support for wildcards within the AML
6566 pathname. These features allow all machine tables to be easily loaded and
6567 debugged together. ACPICA BZ 804.
6569 Disassembler: Added missing support for disassembly of HEST table Error
6573 ----------------------------------------
6574 30 July 2009. Summary of changes for version 20090730:
6576 The ACPI 4.0 implementation for ACPICA is complete with this release.
6578 1) ACPI CA Core Subsystem:
6580 ACPI 4.0: Added header file support for all new and changed ACPI tables.
6581 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
6583 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
6585 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
6587 have been some ACPI 4.0 changes to other existing tables. Split the large
6588 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
6590 ACPI 4.0: Implemented predefined name validation for all new names. There
6592 31 new names in ACPI 4.0. The predefined validation module was split into
6594 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
6596 Implemented support for so-called "module-level executable code". This is
6597 executable AML code that exists outside of any control method and is
6599 to be executed at table load time. Although illegal since ACPI 2.0, this
6601 of code still exists and is apparently still being created. Blocks of
6603 code are now detected and executed as intended. Currently, the code
6605 must exist under either an If, Else, or While construct; these are the
6606 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
6608 Implemented an automatic dynamic repair for predefined names that return
6609 nested Package objects. This applies to predefined names that are defined
6611 return a variable-length Package of sub-packages. If the number of sub-
6612 packages is one, BIOS code is occasionally seen that creates a simple
6614 package with no sub-packages. This code attempts to fix the problem by
6615 wrapping a new package object around the existing package. These methods
6617 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
6621 Fixed a regression introduced in 20090625 for the AcpiGetDevices
6623 The _HID/_CID matching was broken and no longer matched IDs correctly.
6627 Fixed a problem with AcpiReset where the reset would silently fail if the
6628 register was one of the protected I/O ports. AcpiReset now bypasses the
6630 validation mechanism. This may eventually be driven into the
6634 Fixed a regression related to the recent update of the AcpiRead/Write
6635 interfaces. A sleep/suspend could fail if the optional PM2 Control
6637 does not exist during an attempt to write the Bus Master Arbitration bit.
6638 (However, some hosts already delete the code that writes this bit, and
6640 code may in fact be obsolete at this date.) ACPICA BZ 799.
6642 Fixed a problem where AcpiTerminate could fault if inadvertently called
6644 in succession. ACPICA BZ 795.
6646 Example Code and Data Size: These are the sizes for the OS-independent
6647 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6648 debug version of the code includes the debug output trace mechanism and
6650 much larger code and data size.
6653 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6654 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6656 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
6657 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
6659 2) iASL Compiler/Disassembler and Tools:
6661 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
6662 changes to existing tables. ACPICA BZ 775.
6664 ----------------------------------------
6665 25 June 2009. Summary of changes for version 20090625:
6667 The ACPI 4.0 Specification was released on June 16 and is available at
6668 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
6669 continue for the next few releases.
6671 1) ACPI CA Core Subsystem:
6673 ACPI 4.0: Implemented interpreter support for the IPMI operation region
6674 address space. Includes support for bi-directional data buffers and an
6676 address space handler (to be installed by an IPMI device driver.) ACPICA
6680 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
6682 support in both the header files and the disassembler.
6684 Completed a major update for the AcpiGetObjectInfo external interface.
6686 - Support for variable, unlimited length HID, UID, and CID strings.
6687 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
6689 - Call the _SxW power methods on behalf of a device object.
6690 - Determine if a device is a PCI root bridge.
6691 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
6692 These changes will require an update to all callers of this interface.
6694 the updated ACPICA Programmer Reference for details. One new source file
6696 been added - utilities/utids.c. ACPICA BZ 368, 780.
6698 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
6699 transfers. The Value parameter has been extended from 32 bits to 64 bits
6701 order to support new ACPI 4.0 tables. These changes will require an
6704 all callers of these interfaces. See the ACPICA Programmer Reference for
6705 details. ACPICA BZ 768.
6707 Fixed several problems with AcpiAttachData. The handler was not invoked
6709 the host node was deleted. The data sub-object was not automatically
6711 when the host node was deleted. The interface to the handler had an
6713 parameter, this was removed. ACPICA BZ 778.
6715 Enhanced the function that dumps ACPI table headers. All non-printable
6716 characters in the string fields are now replaced with '?' (Signature,
6718 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
6719 these fields are occasionally seen in the field. ACPICA BZ 788.
6721 Fixed a problem with predefined method repair code where the code that
6722 attempts to repair/convert an object of incorrect type is only executed
6724 the first time the predefined method is called. The mechanism that
6726 warnings on subsequent calls was interfering with the repair mechanism.
6729 Fixed a possible memory leak in the predefined validation/repair code
6732 buffer is automatically converted to an expected string object.
6734 Removed obsolete 16-bit files from the distribution and from the current
6736 tree head. ACPICA BZ 776.
6738 Example Code and Data Size: These are the sizes for the OS-independent
6739 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6740 debug version of the code includes the debug output trace mechanism and
6742 much larger code and data size.
6745 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6746 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6748 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
6749 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
6751 2) iASL Compiler/Disassembler and Tools:
6753 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
6754 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
6756 ACPI 4.0: iASL - implemented compile-time validation support for all new
6757 predefined names and control methods (31 total). ACPICA BZ 769.
6759 ----------------------------------------
6760 21 May 2009. Summary of changes for version 20090521:
6762 1) ACPI CA Core Subsystem:
6764 Disabled the preservation of the SCI enable bit in the PM1 control
6766 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
6769 a "preserved" bit - "OSPM always preserves this bit position", section
6770 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
6771 because the bit needs to be explicitly set by the OS as a workaround. No
6772 machines fail if the bit is not preserved. Therefore, ACPICA no longer
6773 attempts to preserve this bit.
6775 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
6776 incorrectly formed _PRT package could cause a fault. Added validation to
6777 ensure that each package element is actually a sub-package.
6779 Implemented a new interface to install or override a single control
6781 AcpiInstallMethod. This interface is useful when debugging in order to
6783 an existing method or to install a missing method without having to
6785 the entire ACPI table. See the ACPICA Programmer Reference for use and
6786 examples. Lin Ming, Bob Moore.
6788 Fixed several reference count issues with the DdbHandle object that is
6789 created from a Load or LoadTable operator. Prevent premature deletion of
6791 object. Also, mark the object as invalid once the table has been
6793 This is needed because the handle itself may not be deleted after the
6795 unload, depending on whether it has been stored in a named object by the
6798 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
6799 mutexes of the same sync level are acquired but then not released in
6801 opposite order, the internally maintained Current Sync Level becomes
6803 and can cause subsequent execution errors. ACPICA BZ 471.
6805 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
6806 specification has been changed to make the SyncLevel for mutex objects
6808 useful. When releasing a mutex, the SyncLevel of the mutex must now be
6810 same as the current sync level. This makes more sense than the previous
6812 (SyncLevel less than or equal). This change updates the code to match the
6815 Fixed a problem with the local version of the AcpiOsPurgeCache function.
6817 (local) cache must be locked during all cache object deletions. Andrew
6820 Updated the Load operator to use operation region interfaces. This
6822 direct memory mapping with region access calls. Now, all region accesses
6824 through the installed region handler as they should.
6826 Simplified and optimized the NsGetNextNode function. Reduced parameter
6828 and reduced code for this frequently used function.
6830 Example Code and Data Size: These are the sizes for the OS-independent
6831 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6832 debug version of the code includes the debug output trace mechanism and
6834 much larger code and data size.
6837 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6838 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6840 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
6841 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
6843 2) iASL Compiler/Disassembler and Tools:
6845 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
6847 with sub-table disassembly and handling invalid sub-tables. Attempt
6849 after an invalid sub-table ID.
6851 ----------------------------------------
6852 22 April 2009. Summary of changes for version 20090422:
6854 1) ACPI CA Core Subsystem:
6856 Fixed a compatibility issue with the recently released I/O port
6858 mechanism. For windows compatibility, 1) On a port protection violation,
6859 simply ignore the request and do not return an exception (allow the
6861 method to continue execution.) 2) If only part of the request overlaps a
6862 protected port, read/write the individual ports that are not protected.
6866 Enhanced the execution of the ASL/AML BreakPoint operator so that it
6868 breaks into the AML debugger if the debugger is present. This matches the
6869 ACPI-defined behavior.
6871 Fixed several possible warnings related to the use of the configurable
6872 ACPI_THREAD_ID. This type can now be configured as either an integer or a
6873 pointer with no warnings. Also fixes several warnings in printf-like
6874 statements for the 64-bit build when the type is configured as a pointer.
6877 Fixed a number of possible warnings when compiling with gcc 4+ (depending
6879 warning options.) Examples include printf formats, aliasing, unused
6881 missing prototypes, missing switch default statements, use of non-ANSI
6882 library functions, use of non-ANSI constructs. See generate/unix/Makefile
6884 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
6886 Example Code and Data Size: These are the sizes for the OS-independent
6887 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6888 debug version of the code includes the debug output trace mechanism and
6890 much larger code and data size.
6893 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
6894 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
6896 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
6897 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
6899 2) iASL Compiler/Disassembler and Tools:
6901 iASL: Fixed a generation warning from Bison 2.3 and fixed several
6906 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
6908 correctly digest Windows/DOS formatted files (with CR/LF).
6910 iASL: Added a new option for "quiet mode" (-va) that produces only the
6911 compilation summary, not individual errors and warnings. Useful for large
6914 AcpiExec: Implemented a new option (-z) to enable a forced
6916 timeout that can be used to detect hang conditions during execution of
6918 code (includes both internal semaphores and AML-defined mutexes and
6921 Added new makefiles for the generation of acpica in a generic unix-like
6922 environment. These makefiles are intended to generate the acpica tools
6924 utilities from the original acpica git source tree structure.
6926 Test Suites: Updated and cleaned up the documentation files. Updated the
6927 copyrights to 2009, affecting all source files. Use the new version of
6929 with quiet mode. Increased the number of available semaphores in the
6931 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
6933 an alternate implementation of the semaphore timeout to allow aslts to
6934 execute fully on Cygwin.
6936 ----------------------------------------
6937 20 March 2009. Summary of changes for version 20090320:
6939 1) ACPI CA Core Subsystem:
6941 Fixed a possible race condition between AcpiWalkNamespace and dynamic
6943 unloads. Added a reader/writer locking mechanism to allow multiple
6945 namespace walks (readers), but block a dynamic table unload until it can
6947 exclusive write access to the namespace. This fixes a problem where a
6949 unload could (possibly catastrophically) delete the portion of the
6951 that is currently being examined by a walk. Adds a new file, utlock.c,
6953 implements the reader/writer lock mechanism. ACPICA BZ 749.
6955 Fixed a regression introduced in version 20090220 where a change to the
6957 handling could cause the ACPICA subsystem to access non-existent I/O
6960 Modified the handling of FADT register and table (FACS/DSDT) addresses.
6962 FADT can contain both 32-bit and 64-bit versions of these addresses.
6963 Previously, the 64-bit versions were favored, meaning that if both 32 and
6965 versions were valid, but not equal, the 64-bit version was used. This was
6966 found to cause some machines to fail. Now, in this case, the 32-bit
6968 is used instead. This now matches the Windows behavior.
6970 Implemented a new mechanism to protect certain I/O ports. Provides
6972 compatibility and protects the standard PC I/O ports from access via AML
6973 code. Adds a new file, hwvalid.c
6975 Fixed a possible extraneous warning message from the FADT support. The
6976 message warns of a 32/64 length mismatch between the legacy and GAS
6977 definitions for a register.
6979 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
6981 made obsolete by the port protection mechanism above. It was previously
6983 to validate the entire address range of an operation region, which could
6985 incorrect if the range included illegal ports, but fields within the
6986 operation region did not actually access those ports. Validation is now
6987 performed on a per-field basis instead of the entire region.
6989 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
6990 Ignored bits must be "preserved" according to the ACPI spec. Usually,
6992 means a read/modify/write when writing to the register. However, for
6994 registers, writing a one means clear the event. Writing a zero means
6996 the event (do not clear.) This behavior is clarified in the ACPI 4.0
6998 and the ACPICA code now simply always writes a zero to the ignored bit.
7000 Modified the handling of ignored bits for the PM1 A/B Control Registers.
7002 per the ACPI specification, for the control registers, preserve
7003 (read/modify/write) all bits that are defined as either reserved or
7006 Updated the handling of write-only bits in the PM1 A/B Control Registers.
7007 When reading the register, zero the write-only bits as per the ACPI spec.
7008 ACPICA BZ 443. Lin Ming.
7010 Removed "Linux" from the list of supported _OSI strings. Linux no longer
7011 wants to reply true to this request. The Windows strings are the only
7013 through the AML that are tested and known to work properly.
7016 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
7017 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
7019 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
7020 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
7022 2) iASL Compiler/Disassembler and Tools:
7024 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
7028 ----------------------------------------
7029 20 February 2009. Summary of changes for version 20090220:
7031 1) ACPI CA Core Subsystem:
7033 Optimized the ACPI register locking. Removed locking for reads from the
7035 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
7037 not required when reading the single-bit registers. The
7038 AcpiGetRegisterUnlocked function is no longer needed and has been
7040 This will improve performance for reads on these registers. ACPICA BZ
7043 Fixed the parameter validation for AcpiRead/Write. Now return
7044 AE_BAD_PARAMETER if the input register pointer is null, and
7047 the register has an address of zero. Previously, these cases simply
7049 AE_OK. For optional registers such as PM1B status/enable/control, the
7051 should check for a valid register address before calling. ACPICA BZ 748.
7053 Renamed the external ACPI bit register access functions. Renamed
7054 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
7055 functions. The new names are AcpiReadBitRegister and
7056 AcpiWriteBitRegister.
7057 Also, restructured the code for these functions by simplifying the code
7059 and condensing duplicate code to reduce code size.
7061 Added new functions to transparently handle the possibly split PM1 A/B
7062 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
7064 now handle the split registers for PM1 Status, Enable, and Control.
7069 Added a function to handle the PM1 control registers,
7070 AcpiHwWritePm1Control.
7071 This function writes both of the PM1 control registers (A/B). These
7073 are different than the PM1 A/B status and enable registers in that
7075 values can be written to the A/B registers. Most notably, the SLP_TYP
7077 can be different, as per the values returned from the _Sx predefined
7080 Removed an extra register write within AcpiHwClearAcpiStatus. This
7082 was writing an optional PM1B status register twice. The existing call to
7084 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
7086 register. ACPICA BZ 751.
7088 Split out the PM1 Status registers from the FADT. Added new globals for
7090 registers (A/B), similar to the way the PM1 Enable registers are handled.
7091 Instead of overloading the FADT Event Register blocks. This makes the
7093 clearer and less prone to error.
7095 Fixed the warning message for when the platform contains too many ACPI
7097 for the default size of the global root table data structure. The
7099 for the truncation value was incorrect.
7101 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
7102 obsolete macro, since it is now a simple reference to ->common.type.
7104 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
7106 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
7107 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
7108 simply SLEEP_TYPE. ACPICA BZ 754.
7110 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
7111 function is only needed on 64-bit host operating systems and is thus not
7112 included for 32-bit hosts.
7114 Debug output: print the input and result for invocations of the _OSI
7116 control method via the ACPI_LV_INFO debug level. Also, reduced some of
7118 verbosity of this debug level. Len Brown.
7120 Example Code and Data Size: These are the sizes for the OS-independent
7121 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7122 debug version of the code includes the debug output trace mechanism and
7124 much larger code and data size.
7127 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
7128 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
7130 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
7131 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
7133 2) iASL Compiler/Disassembler and Tools:
7135 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
7136 various legal performance profiles.
7138 ----------------------------------------
7139 23 January 2009. Summary of changes for version 20090123:
7141 1) ACPI CA Core Subsystem:
7143 Added the 2009 copyright to all module headers and signons. This affects
7144 virtually every file in the ACPICA core subsystem, the iASL compiler, and
7145 the tools/utilities.
7147 Implemented a change to allow the host to override any ACPI table,
7149 dynamically loaded tables. Previously, only the DSDT could be replaced by
7151 host. With this change, the AcpiOsTableOverride interface is called for
7153 table found in the RSDT/XSDT during ACPICA initialization, and also
7155 a table is dynamically loaded via the AML Load operator.
7157 Updated FADT flag definitions, especially the Boot Architecture flags.
7159 Debugger: For the Find command, automatically pad the input ACPI name
7161 underscores if the name is shorter than 4 characters. This enables a
7163 with the actual namespace entry which is itself padded with underscores.
7165 Example Code and Data Size: These are the sizes for the OS-independent
7166 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7167 debug version of the code includes the debug output trace mechanism and
7169 much larger code and data size.
7172 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
7173 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
7175 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
7176 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
7178 2) iASL Compiler/Disassembler and Tools:
7180 Fix build error under Bison-2.4.
7182 Dissasembler: Enhanced FADT support. Added decoding of the Boot
7184 flags. Now decode all flags, regardless of the FADT version. Flag output
7185 includes the FADT version which first defined each flag.
7187 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
7189 DSDT). Windows only.
7191 ----------------------------------------
7192 04 December 2008. Summary of changes for version 20081204:
7194 1) ACPI CA Core Subsystem:
7196 The ACPICA Programmer Reference has been completely updated and revamped
7198 this release. This includes updates to the external interfaces, OSL
7199 interfaces, the overview sections, and the debugger reference.
7201 Several new ACPICA interfaces have been implemented and documented in the
7202 programmer reference:
7203 AcpiReset - Writes the reset value to the FADT-defined reset register.
7204 AcpiDisableAllGpes - Disable all available GPEs.
7205 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
7206 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
7207 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
7208 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
7209 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
7211 Most of the public ACPI hardware-related interfaces have been moved to a
7213 file, components/hardware/hwxface.c
7215 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
7216 register lengths within the FADT are now used, and the low level ACPI
7217 register access no longer hardcodes the ACPI register lengths. Given that
7218 there may be some risk in actually trusting the FADT register lengths, a
7220 time option was added to fall back to the default hardcoded lengths if
7222 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
7223 option is set to true for now, and a warning is issued if a suspicious
7225 register length is overridden with the default value.
7227 Fixed a reference count issue in NsRepairObject. This problem was
7229 in version 20081031 as part of a fix to repair Buffer objects within
7232 Added semaphore support to the Linux/Unix application OS-services layer
7233 (OSL). ACPICA BZ 448. Lin Ming.
7235 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
7237 be implemented in the OSL, or will binary semaphores be used instead.
7239 Example Code and Data Size: These are the sizes for the OS-independent
7240 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7241 debug version of the code includes the debug output trace mechanism and
7243 much larger code and data size.
7246 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
7247 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
7249 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
7250 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
7252 2) iASL Compiler/Disassembler and Tools:
7254 iASL: Completed the '-e' option to include additional ACPI tables in
7257 aid with disassembly and External statement generation. ACPICA BZ 742.
7261 iASL: Removed the "named object in while loop" error. The compiler cannot
7262 determine how many times a loop will execute. ACPICA BZ 730.
7264 Disassembler: Implemented support for FADT revision 2 (MS extension).
7268 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
7271 ----------------------------------------
7272 31 October 2008. Summary of changes for version 20081031:
7274 1) ACPI CA Core Subsystem:
7276 Restructured the ACPICA header files into public/private. acpi.h now
7278 only the "public" acpica headers. All other acpica headers are "private"
7280 should not be included by acpica users. One new file, accommon.h is used
7282 include the commonly used private headers for acpica code generation.
7284 plans include moving all private headers to a new subdirectory.
7286 Implemented an automatic Buffer->String return value conversion for
7287 predefined ACPI methods. For these methods (such as _BIF), added
7289 conversion for return objects that are required to be a String, but a
7291 was found instead. This can happen when reading string battery data from
7293 operation region, because it used to be difficult to convert the data
7295 buffer to string from within the ASL. Ensures that the host OS is
7297 with a valid null-terminated string. Linux BZ 11822.
7299 Updated the FACS waking vector interfaces. Split
7300 AcpiSetFirmwareWakingVector
7301 into two: one for the 32-bit vector, another for the 64-bit vector. This
7303 required because the host OS must setup the wake much differently for
7305 vector (real vs. protected mode, etc.) and the interface itself should
7308 deciding which vector to use. Also, eliminated the
7309 GetFirmwareWakingVector
7310 interface, as it served no purpose (only the firmware reads the vector,
7312 only writes the vector.) ACPICA BZ 731.
7314 Implemented a mechanism to escape infinite AML While() loops. Added a
7316 counter to force exit from AML While loops if the count becomes too
7318 This can occur in poorly written AML when the hardware does not respond
7319 within a while loop and the loop does not implement a timeout. The
7321 loop count is configurable. A new exception code is returned when a loop
7323 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
7325 Optimized the execution of AML While loops. Previously, a control state
7326 object was allocated and freed for each execution of the loop. The
7327 optimization is to simply reuse the control state for each iteration.
7329 speeds up the raw loop execution time by about 5%.
7331 Enhanced the implicit return mechanism. For Windows compatibility, return
7333 implicit integer of value zero for methods that contain no executable
7335 Such methods are seen in the field as stubs (presumably), and can cause
7336 drivers to fail if they expect a return value. Lin Ming.
7338 Allow multiple backslashes as root prefixes in namepaths. In a fully
7339 qualified namepath, allow multiple backslash prefixes. This can happen
7341 is seen in the field) because of the use of a double-backslash in strings
7342 (since backslash is the escape character) causing confusion. ACPICA BZ
7346 Emit a warning if two different FACS or DSDT tables are discovered in the
7347 FADT. Checks if there are two valid but different addresses for the FACS
7349 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
7351 Consolidated the method argument count validation code. Merged the code
7353 validates control method argument counts into the predefined validation
7354 module. Eliminates possible multiple warnings for incorrect argument
7357 Implemented ACPICA example code. Includes code for ACPICA initialization,
7358 handler installation, and calling a control method. Available at
7359 source/tools/examples.
7361 Added a global pointer for FACS table to simplify internal FACS access.
7363 the global pointer instead of using AcpiGetTableByIndex for each FACS
7365 This simplifies the code for the Global Lock and the Firmware Waking
7368 Example Code and Data Size: These are the sizes for the OS-independent
7369 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7370 debug version of the code includes the debug output trace mechanism and
7372 much larger code and data size.
7375 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
7376 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
7378 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
7379 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
7381 2) iASL Compiler/Disassembler and Tools:
7383 iASL: Improved disassembly of external method calls. Added the -e option
7385 allow the inclusion of additional ACPI tables to help with the
7388 method invocations and the generation of external declarations during the
7389 disassembly. Certain external method invocations cannot be disassembled
7390 properly without the actual declaration of the method. Use the -e option
7392 include the table where the external method(s) are actually declared.
7394 useful for disassembling SSDTs that make method calls back to the master
7395 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
7397 -e dsdt.aml ssdt1.aml
7399 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
7400 problem where the use of an alias within a namepath would result in a not
7401 found error or cause the compiler to fault. Also now allows forward
7402 references from the Alias operator itself. ACPICA BZ 738.
7404 ----------------------------------------
7405 26 September 2008. Summary of changes for version 20080926:
7407 1) ACPI CA Core Subsystem:
7409 Designed and implemented a mechanism to validate predefined ACPI methods
7411 objects. This code validates the predefined ACPI objects (objects whose
7413 start with underscore) that appear in the namespace, at the time they are
7414 evaluated. The argument count and the type of the returned object are
7415 validated against the ACPI specification. The purpose of this validation
7417 to detect problems with the BIOS-implemented predefined ACPI objects
7419 the results are returned to the ACPI-related drivers. Future enhancements
7421 include actual repair of incorrect return objects where possible. Two new
7422 files are nspredef.c and acpredef.h.
7424 Fixed a fault in the AML parser if a memory allocation fails during the
7426 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
7428 Fixed an issue with implicit return compatibility. This change improves
7430 implicit return mechanism to be more compatible with the MS interpreter.
7432 Ming, ACPICA BZ 349.
7434 Implemented support for zero-length buffer-to-string conversions. Allow
7436 length strings during interpreter buffer-to-string conversions. For
7438 during the ToDecimalString and ToHexString operators, as well as implicit
7439 conversions. Fiodor Suietov, ACPICA BZ 585.
7441 Fixed two possible memory leaks in the error exit paths of
7442 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
7444 similar in that they use a stack of state objects in order to eliminate
7445 recursion. The stack must be fully unwound and deallocated if an error
7446 occurs. Lin Ming. ACPICA BZ 383.
7448 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
7450 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
7451 Moore ACPICA BZ 442.
7453 Removed the obsolete version number in module headers. Removed the
7454 "$Revision" number that appeared in each module header. This version
7456 was useful under SourceSafe and CVS, but has no meaning under git. It is
7458 only incorrect, it could also be misleading.
7460 Example Code and Data Size: These are the sizes for the OS-independent
7461 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7462 debug version of the code includes the debug output trace mechanism and
7464 much larger code and data size.
7467 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7468 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
7470 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
7471 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
7473 ----------------------------------------
7474 29 August 2008. Summary of changes for version 20080829:
7476 1) ACPI CA Core Subsystem:
7478 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
7479 Reference. Changes include the elimination of cheating on the Object
7481 for the DdbHandle subtype, addition of a reference class field to
7482 differentiate the various reference types (instead of an AML opcode), and
7484 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
7486 Reduce an error to a warning for an incorrect method argument count.
7487 Previously aborted with an error if too few arguments were passed to a
7488 control method via the external ACPICA interface. Now issue a warning
7490 and continue. Handles the case where the method inadvertently declares
7492 many arguments, but does not actually use the extra ones. Applies mainly
7494 the predefined methods. Lin Ming. Linux BZ 11032.
7496 Disallow the evaluation of named object types with no intrinsic value.
7498 AE_TYPE for objects that have no value and therefore evaluation is
7500 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
7502 these types were allowed, but an exception would be generated at some
7504 during the evaluation. Now, the error is generated up front.
7506 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
7507 (nsnames.c). Fixes a leak in the error exit path.
7509 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
7511 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
7513 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
7516 Removed obsolete and/or unused exception codes from the acexcep.h header.
7517 There is the possibility that certain device drivers may be affected if
7519 use any of these exceptions.
7521 The ACPICA documentation has been added to the public git source tree,
7523 acpica/documents. Included are the ACPICA programmer reference, the iASL
7524 compiler reference, and the changes.txt release logfile.
7526 Example Code and Data Size: These are the sizes for the OS-independent
7527 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7528 debug version of the code includes the debug output trace mechanism and
7530 much larger code and data size.
7533 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7534 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
7536 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7537 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
7539 2) iASL Compiler/Disassembler and Tools:
7541 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
7542 defines _SCP with 3 arguments. Previous versions defined it with only 1
7543 argument. iASL now allows both definitions.
7545 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
7547 length subtables when disassembling ACPI tables. Also fixed a couple of
7548 errors where a full 16-bit table type field was not extracted from the
7552 acpisrc: Improve comment counting mechanism for generating source code
7553 statistics. Count first and last lines of multi-line comments as
7555 not comment lines. Handle Linux legal header in addition to standard
7559 ----------------------------------------
7561 29 July 2008. Summary of changes for version 20080729:
7563 1) ACPI CA Core Subsystem:
7565 Fix a possible deadlock in the GPE dispatch. Remove call to
7566 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
7568 to acquire the GPE lock but can deadlock since the GPE lock is already
7570 at dispatch time. This code was introduced in version 20060831 as a
7572 to Linux BZ 6881 and has since been removed from Linux.
7574 Add a function to dereference returned reference objects. Examines the
7576 object from a call to AcpiEvaluateObject. Any Index or RefOf references
7578 automatically dereferenced in an attempt to return something useful
7580 reference types cannot be converted into an external ACPI_OBJECT.)
7582 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
7584 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
7585 subtables for the MADT and one new subtable for the SRAT. Includes
7586 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
7588 Specification, June 2008.
7590 Additional error checking for pathname utilities. Add error check after
7592 calls to AcpiNsGetPathnameLength. Add status return from
7593 AcpiNsBuildExternalPath and check after all calls. Add parameter
7595 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
7597 Return status from the global init function AcpiUtGlobalInitialize. This
7599 used by both the kernel subsystem and the utilities such as iASL
7601 The function could possibly fail when the caches are initialized. Yang
7604 Add a function to decode reference object types to strings. Created for
7605 improved error messages.
7607 Improve object conversion error messages. Better error messages during
7609 conversion from internal to the external ACPI_OBJECT. Used for external
7611 to AcpiEvaluateObject.
7613 Example Code and Data Size: These are the sizes for the OS-independent
7614 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7615 debug version of the code includes the debug output trace mechanism and
7617 much larger code and data size.
7620 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7621 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7623 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
7624 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
7626 2) iASL Compiler/Disassembler and Tools:
7628 Debugger: fix a possible hang when evaluating non-methods. Fixes a
7630 introduced in version 20080701. If the object being evaluated (via
7632 command) is not a method, the debugger can hang while trying to obtain
7634 existent parameters.
7636 iASL: relax error for using reserved "_T_x" identifiers. These names can
7637 appear in a disassembled ASL file if they were emitted by the original
7638 compiler. Instead of issuing an error or warning and forcing the user to
7639 manually change these names, issue a remark instead.
7641 iASL: error if named object created in while loop. Emit an error if any
7643 object is created within a While loop. If allowed, this code will
7646 run-time error on the second iteration of the loop when an attempt is
7649 create the same named object twice. ACPICA bugzilla 730.
7651 iASL: Support absolute pathnames for include files. Add support for
7653 pathnames within the Include operator. previously, only relative
7657 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
7659 The ACPI spec requires one interrupt minimum. BZ 423
7661 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
7662 Handles the case for the Interrupt Resource Descriptor where
7663 the ResourceSource argument is omitted but ResourceSourceIndex
7664 is present. Now leave room for the Index. BZ 426
7666 iASL: Prevent error message if CondRefOf target does not exist. Fixes
7668 where an error message is emitted if the target does not exist. BZ 516
7670 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
7671 (get ACPI tables on Windows). This was apparently broken in version
7674 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
7676 the EOF happens immediately after the last table in the input file. Print
7677 completion message. Previously, no message was displayed in this case.
7679 ----------------------------------------
7680 01 July 2008. Summary of changes for version 20080701:
7682 0) Git source tree / acpica.org
7684 Fixed a problem where a git-clone from http would not transfer the entire
7687 1) ACPI CA Core Subsystem:
7689 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
7690 enable bit. Now performs a read-change-write of the enable register
7692 of simply writing out the cached enable mask. This will prevent
7694 enabling of GPEs if a rogue GPE is received during initialization (before
7696 handlers are installed.)
7698 Implemented a copy for dynamically loaded tables. Previously, dynamically
7699 loaded tables were simply mapped - but on some machines this memory is
7700 corrupted after suspend. Now copy the table to a local buffer. For the
7701 OpRegion case, added checksum verify. Use the table length from the table
7702 header, not the region length. For the Buffer case, use the table length
7703 also. Dennis Noordsij, Bob Moore. BZ 10734
7705 Fixed a problem where the same ACPI table could not be dynamically loaded
7707 unloaded more than once. Without this change, a table cannot be loaded
7709 once it has been loaded/unloaded one time. The current mechanism does not
7710 unregister a table upon an unload. During a load, if the same table is
7712 this no longer returns an exception. BZ 722
7714 Fixed a problem where the wrong descriptor length was calculated for the
7715 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
7717 are calculated as 12 bytes long, but the actual length in the internal
7718 descriptor is 16 because of the round-up to 8 on the 64-bit build.
7720 by Linn Crosetto. BZ 728
7722 Fixed a possible memory leak in the Unload operator. The DdbHandle
7724 by Load() did not have its reference count decremented during unload,
7726 to a memory leak. Lin Ming. BZ 727
7728 Fixed a possible memory leak when deleting thermal/processor objects. Any
7729 associated notify handlers (and objects) were not being deleted. Fiodor
7732 Fixed the ordering of the ASCII names in the global mutex table to match
7734 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
7736 Vegard Nossum. BZ 726
7738 Enhanced the AcpiGetObjectInfo interface to return the number of required
7739 arguments if the object is a control method. Added this call to the
7741 so the proper number of default arguments are passed to a method. This
7742 prevents a warning when executing methods from AcpiExec.
7744 Added a check for an invalid handle in AcpiGetObjectInfo. Return
7745 AE_BAD_PARAMETER if input handle is invalid. BZ 474
7747 Fixed an extraneous warning from exconfig.c on the 64-bit build.
7749 Example Code and Data Size: These are the sizes for the OS-independent
7750 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7751 debug version of the code includes the debug output trace mechanism and
7753 much larger code and data size.
7756 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7757 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7759 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
7760 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
7762 2) iASL Compiler/Disassembler and Tools:
7764 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
7765 resource descriptor names.
7767 iASL: Detect invalid ASCII characters in input (windows version). Removed
7769 "-CF" flag from the flex compile, enables correct detection of non-ASCII
7770 characters in the input. BZ 441
7772 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
7774 "result of operation not used" warning when the DDB handle returned from
7775 LoadTable is not used. The warning is not needed. BZ 590
7777 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
7780 pass address of table to the AML. Added option to disable OpRegion
7782 to allow creation of an OpRegion with a real address that was passed to
7784 All of this allows testing of the Load and Unload operators from
7787 Debugger: update tables command for unloaded tables. Handle unloaded
7789 and use the standard table header output routine.
7791 ----------------------------------------
7792 09 June 2008. Summary of changes for version 20080609:
7794 1) ACPI CA Core Subsystem:
7796 Implemented a workaround for reversed _PRT entries. A significant number
7798 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
7799 change dynamically detects and repairs this problem. Provides
7801 with MS ACPI. BZ 6859
7803 Simplified the internal ACPI hardware interfaces to eliminate the locking
7804 flag parameter from Register Read/Write. Added a new external interface,
7805 AcpiGetRegisterUnlocked.
7807 Fixed a problem where the invocation of a GPE control method could hang.
7809 was a regression introduced in 20080514. The new method argument count
7810 validation mechanism can enter an infinite loop when a GPE method is
7811 dispatched. Problem fixed by removing the obsolete code that passed GPE
7813 information to the notify handler via the control method parameter
7816 Fixed a problem where the _SST execution status was incorrectly returned
7818 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
7820 20080514. _SST is optional and a NOT_FOUND exception should never be
7823 Fixed a problem where a deleted object could be accessed from within the
7825 parser. This was a regression introduced in version 20080123 as a fix for
7827 Unload operator. Lin Ming. BZ 10669
7829 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
7831 and eliminated the use of a negative index in a loop. Operands are now
7832 displayed in the correct order, not backwards. This also fixes a
7834 introduced in 20080514 on 64-bit systems where the elimination of
7835 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
7838 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
7840 path did not delete a locally allocated structure.
7842 Updated definitions for the DMAR and SRAT tables to synchronize with the
7843 current specifications. Includes disassembler support.
7845 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
7846 loop termination value was used. Loop terminated on iteration early,
7848 one mutex. Linn Crosetto
7850 Example Code and Data Size: These are the sizes for the OS-independent
7851 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7852 debug version of the code includes the debug output trace mechanism and
7854 much larger code and data size.
7857 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7858 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7860 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
7861 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
7863 2) iASL Compiler/Disassembler and Tools:
7865 Disassembler: Implemented support for EisaId() within _CID objects. Now
7866 disassemble integer _CID objects back to EisaId invocations, including
7867 multiple integers within _CID packages. Includes single-step support for
7870 Disassembler: Added support for DMAR and SRAT table definition changes.
7872 ----------------------------------------
7873 14 May 2008. Summary of changes for version 20080514:
7875 1) ACPI CA Core Subsystem:
7877 Fixed a problem where GPEs were enabled too early during the ACPICA
7878 initialization. This could lead to "handler not installed" errors on some
7879 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
7881 ensures that all operation regions and devices throughout the namespace
7883 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
7885 Implemented a change to the enter sleep code. Moved execution of the _GTS
7886 method to just before setting sleep enable bit. The execution was moved
7888 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
7889 immediately before the SLP_EN bit is set, as per the ACPI specification.
7892 Implemented a fix to disable unknown GPEs (2nd version). Now always
7894 the GPE, even if ACPICA thinks that that it is already disabled. It is
7895 possible that the AML or some other code has enabled the GPE unbeknownst
7899 Fixed a problem with the Field operator where zero-length fields would
7901 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
7903 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
7905 Implemented a fix for the Load operator, now load the table at the
7907 root. This reverts a change introduced in version 20071019. The table is
7909 loaded at the namespace root even though this goes against the ACPI
7910 specification. This provides compatibility with other ACPI
7912 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
7915 Fixed a problem where ACPICA would not Load() tables with unusual
7917 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
7918 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
7919 Therefore, signature validation is worthless. Apparently MS ACPI accepts
7921 signatures, ACPICA must be compatible. BZ 10454.
7923 Fixed a possible negative array index in AcpiUtValidateException. Added
7925 fields to the exception string arrays to eliminate a -1 subtraction on
7929 Updated the debug tracking macros to reduce overall code and data size.
7930 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
7931 instead of pointers to static strings. Jan Beulich and Bob Moore.
7933 Implemented argument count checking in control method invocation via
7934 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
7936 many. This applies only to extern programmatic control method execution,
7938 method-to-method calls within the AML. Lin Ming.
7940 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
7942 longer needed, especially with the removal of 16-bit support. It was
7944 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
7947 32/64-bit platforms is required.
7949 Added the C const qualifier for appropriate string constants -- mostly
7950 MODULE_NAME and printf format strings. Jan Beulich.
7952 Example Code and Data Size: These are the sizes for the OS-independent
7953 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7954 debug version of the code includes the debug output trace mechanism and
7956 much larger code and data size.
7959 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
7960 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
7962 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
7963 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
7965 2) iASL Compiler/Disassembler and Tools:
7967 Implemented ACPI table revision ID validation in the disassembler. Zero
7969 always invalid. For DSDTs, the ID controls the interpreter integer width.
7971 means 32-bit and this is unusual. 2 or greater is 64-bit.
7973 ----------------------------------------
7974 21 March 2008. Summary of changes for version 20080321:
7976 1) ACPI CA Core Subsystem:
7978 Implemented an additional change to the GPE support in order to suppress
7979 spurious or stray GPEs. The AcpiEvDisableGpe function will now
7981 disable incoming GPEs that are neither enabled nor disabled -- meaning
7983 the GPE is unknown to the system. This should prevent future interrupt
7985 from that GPE. BZ 6217 (Zhang Rui)
7987 Fixed a problem where NULL package elements were not returned to the
7988 AcpiEvaluateObject interface correctly. The element was simply ignored
7989 instead of returning a NULL ACPI_OBJECT package element, potentially
7991 a buffer overflow and/or confusing the caller who expected a fixed number
7993 elements. BZ 10132 (Lin Ming, Bob Moore)
7995 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
7997 Qword), Field, BankField, and IndexField operators when invoked from
7999 an executing control method. In this case, these operators created
8001 nodes that were incorrectly left marked as permanent nodes instead of
8002 temporary nodes. This could cause a problem if there is race condition
8003 between an exiting control method and a running namespace walk. (Reported
8007 Fixed a problem where the CreateField and CreateXXXField operators would
8008 incorrectly allow duplicate names (the name of the field) with no
8012 Implemented several changes for Notify handling. Added support for new
8014 values (ACPI 2.0+) and improved the Notify debug output. Notify on
8015 PowerResource objects is no longer allowed, as per the ACPI
8017 (Bob Moore, Zhang Rui)
8019 All Reference Objects returned via the AcpiEvaluateObject interface are
8021 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
8023 NULL objects - either NULL package elements or unresolved named
8026 Fixed a problem where an extraneous debug message was produced for
8028 objects (when debugging enabled). The message "Package List length larger
8029 than NumElements count" is now produced in the correct case, and is now
8031 error message rather than a debug message. Added a debug message for the
8032 opposite case, where NumElements is larger than the Package List (the
8034 will be padded out with NULL elements as per the ACPI spec.)
8036 Implemented several improvements for the output of the ASL "Debug" object
8038 clarify and keep all data for a given object on one output line.
8040 Fixed two size calculation issues with the variable-length Start
8042 resource descriptor.
8044 Example Code and Data Size: These are the sizes for the OS-independent
8045 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8046 debug version of the code includes the debug output trace mechanism and
8048 a much larger code and data size.
8051 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
8052 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
8054 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
8055 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
8057 2) iASL Compiler/Disassembler and Tools:
8059 Fixed a problem with the use of the Switch operator where execution of
8061 containing method by multiple concurrent threads could cause an
8062 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
8063 actual Switch opcode, it must be simulated with local named temporary
8064 variables and if/else pairs. The solution chosen was to mark any method
8066 uses Switch as Serialized, thus preventing multiple thread entries. BZ
8069 ----------------------------------------
8070 13 February 2008. Summary of changes for version 20080213:
8072 1) ACPI CA Core Subsystem:
8074 Implemented another MS compatibility design change for GPE/Notify
8076 GPEs are now cleared/enabled asynchronously to allow all pending notifies
8078 complete first. It is expected that the OSL will queue the enable request
8079 behind all pending notify requests (may require changes to the local host
8081 in AcpiOsExecute). Alexey Starikovskiy.
8083 Fixed a problem where buffer and package objects passed as arguments to a
8084 control method via the external AcpiEvaluateObject interface could cause
8086 AE_AML_INTERNAL exception depending on the order and type of operators
8087 executed by the target control method.
8089 Fixed a problem where resource descriptor size optimization could cause a
8090 problem when a _CRS resource template is passed to a _SRS method. The
8092 resource template must use the same descriptors (with the same size) as
8093 returned from _CRS. This change affects the following resource
8095 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
8098 Fixed a problem where a CopyObject to RegionField, BankField, and
8100 objects did not perform an implicit conversion as it should. These types
8102 retain their initial type permanently as per the ACPI specification.
8104 a CopyObject to all other object types should not perform an implicit
8105 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
8107 Fixed a problem with the AcpiGetDevices interface where the mechanism to
8108 match device CIDs did not examine the entire list of available CIDs, but
8109 instead aborted on the first non-matching CID. Andrew Patterson.
8111 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
8113 inadvertently changed to return a 16-bit value instead of a 32-bit value,
8114 truncating the upper dword of a 64-bit value. This macro is only used to
8115 display debug output, so no incorrect calculations were made. Also,
8116 reimplemented the macro so that a 64-bit shift is not performed by
8117 inefficient compilers.
8119 Added missing va_end statements that should correspond with each va_start
8122 Example Code and Data Size: These are the sizes for the OS-independent
8123 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8124 debug version of the code includes the debug output trace mechanism and
8126 a much larger code and data size.
8129 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
8130 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
8132 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
8133 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
8135 2) iASL Compiler/Disassembler and Tools:
8137 Implemented full disassembler support for the following new ACPI tables:
8138 BERT, EINJ, and ERST. Implemented partial disassembler support for the
8139 complicated HEST table. These tables support the Windows Hardware Error
8140 Architecture (WHEA).
8142 ----------------------------------------
8143 23 January 2008. Summary of changes for version 20080123:
8145 1) ACPI CA Core Subsystem:
8147 Added the 2008 copyright to all module headers and signons. This affects
8148 virtually every file in the ACPICA core subsystem, the iASL compiler, and
8149 the tools/utilities.
8151 Fixed a problem with the SizeOf operator when used with Package and
8153 objects. These objects have deferred execution for some arguments, and
8155 execution is now completed before the SizeOf is executed. This problem
8157 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
8161 Implemented an enhancement to the interpreter "slack mode". In the
8164 an explicit return or an implicitly returned object from the last
8166 opcode, a control method will now implicitly return an integer of value 0
8168 Microsoft compatibility. (Lin Ming) BZ 392
8170 Fixed a problem with the Load operator where an exception was not
8173 the case where the table is already loaded. (Lin Ming) BZ 463
8175 Implemented support for the use of DDBHandles as an Indexed Reference, as
8177 the ACPI spec. (Lin Ming) BZ 486
8179 Implemented support for UserTerm (Method invocation) for the Unload
8181 as per the ACPI spec. (Lin Ming) BZ 580
8183 Fixed a problem with the LoadTable operator where the OemId and
8185 input strings could cause unexpected failures if they were shorter than
8187 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
8189 Implemented support for UserTerm (Method invocation) for the Unload
8191 as per the ACPI spec. (Lin Ming) BZ 580
8193 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
8195 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
8197 Example Code and Data Size: These are the sizes for the OS-independent
8198 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8199 debug version of the code includes the debug output trace mechanism and
8201 a much larger code and data size.
8204 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
8205 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
8207 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
8208 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
8210 2) iASL Compiler/Disassembler and Tools:
8212 Implemented support in the disassembler for checksum validation on
8214 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
8216 header dump at the start of the disassembly.
8218 Implemented additional debugging information in the namespace listing
8220 created during compilation. In addition to the namespace hierarchy, the
8222 pathname to each namespace object is displayed.
8224 Fixed a problem with the disassembler where invalid ACPI tables could
8226 faults or infinite loops.
8228 Fixed an unexpected parse error when using the optional "parameter types"
8229 list in a control method declaration. (Lin Ming) BZ 397
8231 Fixed a problem where two External declarations with the same name did
8233 cause an error (Lin Ming) BZ 509
8235 Implemented support for full TermArgs (adding Argx, Localx and method
8236 invocation) for the ParameterData parameter to the LoadTable operator.
8240 ----------------------------------------
8241 19 December 2007. Summary of changes for version 20071219:
8243 1) ACPI CA Core Subsystem:
8245 Implemented full support for deferred execution for the TermArg string
8246 arguments for DataTableRegion. This enables forward references and full
8247 operand resolution for the three string arguments. Similar to
8249 deferred argument execution.) Lin Ming. BZ 430
8251 Implemented full argument resolution support for the BankValue argument
8253 BankField. Previously, only constants were supported, now any TermArg may
8255 used. Lin Ming BZ 387, 393
8257 Fixed a problem with AcpiGetDevices where the search of a branch of the
8258 device tree could be terminated prematurely. In accordance with the ACPI
8259 specification, the search down the current branch is terminated if a
8261 is both not present and not functional (instead of just not present.)
8265 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
8267 the underlying AML code changed the GPE enable registers. Now, any
8269 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
8271 instead of simply ignored. Rui Zhang.
8273 Fixed a problem with Index Fields where the Index register was
8275 limited to a maximum of 32 bits. Now any size may be used.
8277 Fixed a couple memory leaks associated with "implicit return" objects
8279 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
8281 Example Code and Data Size: These are the sizes for the OS-independent
8282 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8283 debug version of the code includes the debug output trace mechanism and
8285 a much larger code and data size.
8288 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
8289 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
8291 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
8292 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
8294 ----------------------------------------
8295 14 November 2007. Summary of changes for version 20071114:
8297 1) ACPI CA Core Subsystem:
8299 Implemented event counters for each of the Fixed Events, the ACPI SCI
8300 (interrupt) itself, and control methods executed. Named
8301 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
8303 should be useful for debugging and statistics.
8305 Implemented a new external interface, AcpiGetStatistics, to retrieve the
8306 contents of the various event counters. Returns the current values for
8307 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
8308 AcpiMethodCount. The interface can be expanded in the future if new
8310 are added. Device drivers should use this interface rather than access
8314 Fixed a problem with the FromBCD and ToBCD operators. With some
8316 the ShortDivide function worked incorrectly, causing problems with the
8318 functions with large input values. A truncation from 64-bit to 32-bit
8319 inadvertently occurred. Internal BZ 435. Lin Ming
8321 Fixed a problem with Index references passed as method arguments.
8323 passed as arguments to control methods were dereferenced immediately
8325 control was passed to the called method). The references are now
8327 passed directly to the called method. BZ 5389. Lin Ming
8329 Fixed a problem with CopyObject used in conjunction with the Index
8331 The reference was incorrectly dereferenced before the copy. The reference
8333 now correctly copied. BZ 5391. Lin Ming
8335 Fixed a problem with Control Method references within Package objects.
8337 references are now correctly generated. This completes the package
8338 construction overhaul that began in version 20071019.
8340 Example Code and Data Size: These are the sizes for the OS-independent
8341 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8342 debug version of the code includes the debug output trace mechanism and
8344 a much larger code and data size.
8347 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
8348 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
8350 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
8351 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
8354 2) iASL Compiler/Disassembler and Tools:
8356 The AcpiExec utility now installs handlers for all of the predefined
8357 Operation Region types. New types supported are: PCI_Config, CMOS, and
8360 Fixed a problem with the 64-bit version of AcpiExec where the extended
8362 bit) address fields for the DSDT and FACS within the FADT were not being
8363 used, causing truncation of the upper 32-bits of these addresses. Lin
8367 ----------------------------------------
8368 19 October 2007. Summary of changes for version 20071019:
8370 1) ACPI CA Core Subsystem:
8372 Fixed a problem with the Alias operator when the target of the alias is a
8373 named ASL operator that opens a new scope -- Scope, Device,
8375 Processor, and ThermalZone. In these cases, any children of the original
8376 operator could not be accessed via the alias, potentially causing
8378 AE_NOT_FOUND exceptions. (BZ 9067)
8380 Fixed a problem with the Package operator where all named references were
8381 created as object references and left otherwise unresolved. According to
8383 ACPI specification, a Package can only contain Data Objects or references
8385 control methods. The implication is that named references to Data Objects
8386 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
8387 immediately upon package creation. This is the approach taken with this
8388 change. References to all other named objects (Methods, Devices, Scopes,
8389 etc.) are all now properly created as reference objects. (BZ 5328)
8391 Reverted a change to Notify handling that was introduced in version
8392 20070508. This version changed the Notify handling from asynchronous to
8393 fully synchronous (Device driver Notify handling with respect to the
8395 ASL operator). It was found that this change caused more problems than it
8396 solved and was removed by most users.
8398 Fixed a problem with the Increment and Decrement operators where the type
8400 the target object could be unexpectedly and incorrectly changed. (BZ 353)
8403 Fixed a problem with the Load and LoadTable operators where the table
8404 location within the namespace was ignored. Instead, the table was always
8405 loaded into the root or current scope. Lin Ming.
8407 Fixed a problem with the Load operator when loading a table from a buffer
8408 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
8410 Fixed a problem with the Debug object where a store of a DdbHandle
8412 object to the Debug object could cause a fault.
8414 Added a table checksum verification for the Load operator, in the case
8416 the load is from a buffer. (BZ 578).
8418 Implemented additional parameter validation for the LoadTable operator.
8420 length of the input strings SignatureString, OemIdString, and OemTableId
8422 now checked for maximum lengths. (BZ 582) Lin Ming.
8424 Example Code and Data Size: These are the sizes for the OS-independent
8425 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8426 debug version of the code includes the debug output trace mechanism and
8428 a much larger code and data size.
8431 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
8432 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
8434 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
8435 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
8438 2) iASL Compiler/Disassembler:
8440 Fixed a problem where if a single file was specified and the file did not
8441 exist, no error message was emitted. (Introduced with wildcard support in
8444 ----------------------------------------
8445 19 September 2007. Summary of changes for version 20070919:
8447 1) ACPI CA Core Subsystem:
8449 Designed and implemented new external interfaces to install and remove
8450 handlers for ACPI table-related events. Current events that are defined
8452 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
8453 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
8454 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
8456 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
8457 (acpi_serialized option on Linux) could cause some systems to hang during
8458 initialization. (Bob Moore) BZ 8171
8460 Fixed a problem where objects of certain types (Device, ThermalZone,
8461 Processor, PowerResource) can be not found if they are declared and
8462 referenced from within the same control method (Lin Ming) BZ 341
8464 Example Code and Data Size: These are the sizes for the OS-independent
8465 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8466 debug version of the code includes the debug output trace mechanism and
8468 a much larger code and data size.
8471 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
8472 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
8474 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
8475 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
8478 2) iASL Compiler/Disassembler:
8480 Implemented support to allow multiple files to be compiled/disassembled
8483 single invocation. This includes command line wildcard support for both
8485 Windows and Unix versions of the compiler. This feature simplifies the
8486 disassembly and compilation of multiple ACPI tables in a single
8489 ----------------------------------------
8490 08 May 2007. Summary of changes for version 20070508:
8492 1) ACPI CA Core Subsystem:
8494 Implemented a Microsoft compatibility design change for the handling of
8496 Notify AML operator. Previously, notify handlers were dispatched and
8497 executed completely asynchronously in a deferred thread. The new design
8498 still executes the notify handlers in a different thread, but the
8500 thread that executed the Notify() now waits at a synchronization point
8502 the notify handler to complete. Some machines depend on a synchronous
8504 operator in order to operate correctly.
8506 Implemented support to allow Package objects to be passed as method
8507 arguments to the external AcpiEvaluateObject interface. Previously, this
8508 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
8509 implemented since there were no reserved control methods that required it
8512 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
8514 contained invalid non-zero values in reserved fields could cause later
8515 failures because these fields have meaning in later revisions of the
8517 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
8519 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
8521 Fixed a problem where the Global Lock handle was not properly updated if
8523 thread that acquired the Global Lock via executing AML code then
8525 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
8529 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
8530 could be corrupted if the interrupt being removed was at the head of the
8531 list. Reported by Linn Crosetto.
8533 Example Code and Data Size: These are the sizes for the OS-independent
8534 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8535 debug version of the code includes the debug output trace mechanism and
8537 a much larger code and data size.
8540 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8541 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
8543 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
8544 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
8546 ----------------------------------------
8547 20 March 2007. Summary of changes for version 20070320:
8549 1) ACPI CA Core Subsystem:
8551 Implemented a change to the order of interpretation and evaluation of AML
8552 operand objects within the AML interpreter. The interpreter now evaluates
8553 operands in the order that they appear in the AML stream (and the
8554 corresponding ASL code), instead of in the reverse order (after the
8556 operand list has been parsed). The previous behavior caused several
8558 incompatibilities with the Microsoft AML interpreter as well as being
8559 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
8561 Implemented a change to the ACPI Global Lock support. All interfaces to
8563 global lock now allow the same thread to acquire the lock multiple times.
8564 This affects the AcpiAcquireGlobalLock external interface to the global
8566 as well as the internal use of the global lock to support AML fields -- a
8567 control method that is holding the global lock can now simultaneously
8569 AML fields that require global lock protection. Previously, in both
8571 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
8573 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
8574 Controller. There is no change to the behavior of the AML Acquire
8576 as this can already be used to acquire a mutex multiple times by the same
8577 thread. BZ 8066. With assistance from Alexey Starikovskiy.
8579 Fixed a problem where invalid objects could be referenced in the AML
8580 Interpreter after error conditions. During operand evaluation, ensure
8582 the internal "Return Object" field is cleared on error and only valid
8583 pointers are stored there. Caused occasional access to deleted objects
8585 resulted in "large reference count" warning messages. Valery Podrezov.
8587 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
8589 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
8592 Fixed an internal problem with the handling of result objects on the
8593 interpreter result stack. BZ 7872. Valery Podrezov.
8595 Removed obsolete code that handled the case where AML_NAME_OP is the
8597 of a reference (Reference.Opcode). This code was no longer necessary. BZ
8598 7874. Valery Podrezov.
8600 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
8603 remnant from the previously discontinued 16-bit support.
8605 Example Code and Data Size: These are the sizes for the OS-independent
8606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8607 debug version of the code includes the debug output trace mechanism and
8609 a much larger code and data size.
8612 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8613 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8615 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8616 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
8618 ----------------------------------------
8619 26 January 2007. Summary of changes for version 20070126:
8621 1) ACPI CA Core Subsystem:
8623 Added the 2007 copyright to all module headers and signons. This affects
8624 virtually every file in the ACPICA core subsystem, the iASL compiler, and
8627 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
8628 during a table load. A bad pointer was passed in the case where the DSDT
8630 overridden, causing a fault in this case.
8632 Example Code and Data Size: These are the sizes for the OS-independent
8633 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8634 debug version of the code includes the debug output trace mechanism and
8636 a much larger code and data size.
8639 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8640 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8642 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8643 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8645 ----------------------------------------
8646 15 December 2006. Summary of changes for version 20061215:
8648 1) ACPI CA Core Subsystem:
8650 Support for 16-bit ACPICA has been completely removed since it is no
8652 necessary and it clutters the code. All 16-bit macros, types, and
8653 conditional compiles have been removed, cleaning up and simplifying the
8655 across the entire subsystem. DOS support is no longer needed since the
8656 bootable Linux firmware kit is now available.
8658 The handler for the Global Lock is now removed during AcpiTerminate to
8659 enable a clean subsystem restart, via the implementation of the
8660 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
8663 Implemented enhancements to the multithreading support within the
8665 to enable improved multithreading debugging and evaluation of the
8669 Debugger: Enhanced the Statistics/Memory command to emit the total
8671 memory used during the execution, as well as the maximum memory consumed
8673 each of the various object types. (Valery Podrezov)
8675 Example Code and Data Size: These are the sizes for the OS-independent
8676 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8677 debug version of the code includes the debug output trace mechanism and
8679 a much larger code and data size.
8682 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8683 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8685 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
8686 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
8689 2) iASL Compiler/Disassembler and Tools:
8691 AcpiExec: Implemented a new option (-m) to display full memory use
8692 statistics upon subsystem/program termination. (Valery Podrezov)
8694 ----------------------------------------
8695 09 November 2006. Summary of changes for version 20061109:
8697 1) ACPI CA Core Subsystem:
8699 Optimized the Load ASL operator in the case where the source operand is
8701 operation region. Simply map the operation region memory, instead of
8702 performing a bytewise read. (Region must be of type SystemMemory, see
8705 Fixed the Load ASL operator for the case where the source operand is a
8706 region field. A buffer object is also allowed as the source operand. BZ
8709 Fixed a problem where the Load ASL operator allowed the source operand to
8711 an operation region of any type. It is now restricted to regions of type
8712 SystemMemory, as per the ACPI specification. BZ 481
8714 Additional cleanup and optimizations for the new Table Manager code.
8716 AcpiEnable will now fail if all of the required ACPI tables are not
8718 (FADT, FACS, DSDT). BZ 477
8720 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
8722 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
8723 manually optimized to be aligned and will not work if it is byte-packed.
8725 Example Code and Data Size: These are the sizes for the OS-independent
8726 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8727 debug version of the code includes the debug output trace mechanism and
8729 a much larger code and data size.
8732 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
8733 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
8735 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
8736 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
8739 2) iASL Compiler/Disassembler and Tools:
8741 Fixed a problem where the presence of the _OSI predefined control method
8742 within complex expressions could cause an internal compiler error.
8744 AcpiExec: Implemented full region support for multiple address spaces.
8745 SpaceId is now part of the REGION object. BZ 429
8747 ----------------------------------------
8748 11 October 2006. Summary of changes for version 20061011:
8750 1) ACPI CA Core Subsystem:
8752 Completed an AML interpreter performance enhancement for control method
8753 execution. Previously a 2-pass parse/execution, control methods are now
8754 completely parsed and executed in a single pass. This improves overall
8755 interpreter performance by ~25%, reduces code size, and reduces CPU stack
8756 use. (Valery Podrezov + interpreter changes in version 20051202 that
8757 eliminated namespace loading during the pass one parse.)
8759 Implemented _CID support for PCI Root Bridge detection. If the _HID does
8761 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
8763 obtained and also checked for an ID match.
8765 Implemented additional support for the PCI _ADR execution: upsearch until
8767 device scope is found before executing _ADR. This allows PCI_Config
8768 operation regions to be declared locally within control methods
8772 Fixed a problem with a possible race condition between threads executing
8773 AcpiWalkNamespace and the AML interpreter. This condition was removed by
8774 modifying AcpiWalkNamespace to (by default) ignore all temporary
8776 entries created during any concurrent control method execution. An
8777 additional namespace race condition is known to exist between
8778 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
8781 Restructured the AML ParseLoop function, breaking it into several
8782 subfunctions in order to reduce CPU stack use and improve
8786 AcpiGetHandle: Fix for parameter validation to detect invalid
8788 of prefix handle and pathname. BZ 478
8790 Example Code and Data Size: These are the sizes for the OS-independent
8791 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8792 debug version of the code includes the debug output trace mechanism and
8794 a much larger code and data size.
8797 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8798 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
8800 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
8801 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
8803 2) iASL Compiler/Disassembler and Tools:
8805 Ported the -g option (get local ACPI tables) to the new ACPICA Table
8807 to restore original behavior.
8809 ----------------------------------------
8810 27 September 2006. Summary of changes for version 20060927:
8812 1) ACPI CA Core Subsystem:
8814 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
8815 These functions now use a spinlock for mutual exclusion and the interrupt
8816 level indication flag is not needed.
8818 Fixed a problem with the Global Lock where the lock could appear to be
8819 obtained before it is actually obtained. The global lock semaphore was
8820 inadvertently created with one unit instead of zero units. (BZ 464)
8824 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
8826 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
8828 Example Code and Data Size: These are the sizes for the OS-independent
8829 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8830 debug version of the code includes the debug output trace mechanism and
8832 a much larger code and data size.
8835 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8836 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8838 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8839 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
8842 2) iASL Compiler/Disassembler and Tools:
8844 Fixed a compilation problem with the pre-defined Resource Descriptor
8846 names where an "object does not exist" error could be incorrectly
8848 if the parent ResourceTemplate pathname places the template within a
8849 different namespace scope than the current scope. (BZ 7212)
8851 Fixed a problem where the compiler could hang after syntax errors
8853 in an ElseIf construct. (BZ 453)
8855 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
8856 operator. An incorrect output filename was produced when this parameter
8858 a null string (""). Now, the original input filename is used as the AML
8859 output filename, with an ".aml" extension.
8861 Implemented a generic batch command mode for the AcpiExec utility
8863 any AML debugger command) (Valery Podrezov).
8865 ----------------------------------------
8866 12 September 2006. Summary of changes for version 20060912:
8868 1) ACPI CA Core Subsystem:
8870 Enhanced the implementation of the "serialized mode" of the interpreter
8871 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
8872 specified, instead of creating a serialization semaphore per control
8874 the interpreter lock is simply no longer released before a blocking
8875 operation during control method execution. This effectively makes the AML
8876 Interpreter single-threaded. The overhead of a semaphore per-method is
8879 Fixed a regression where an error was no longer emitted if a control
8881 attempts to create 2 objects of the same name. This once again returns
8882 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
8884 will dynamically serialize the control method to possible prevent future
8887 Integrated a fix for a problem with PCI Express HID detection in the PCI
8888 Config Space setup procedure. (BZ 7145)
8890 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
8891 AcpiHwInitialize function - the FADT registers are now validated when the
8894 Added two new warnings during FADT verification - 1) if the FADT is
8896 than the largest known FADT version, and 2) if there is a mismatch
8899 32-bit block address and the 64-bit X counterpart (when both are non-
8902 Example Code and Data Size: These are the sizes for the OS-independent
8903 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8904 debug version of the code includes the debug output trace mechanism and
8906 a much larger code and data size.
8909 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8910 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8912 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
8913 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
8916 2) iASL Compiler/Disassembler and Tools:
8918 Fixed a problem with the implementation of the Switch() operator where
8920 temporary variable was declared too close to the actual Switch, instead
8922 at method level. This could cause a problem if the Switch() operator is
8923 within a while loop, causing an error on the second iteration. (BZ 460)
8925 Disassembler - fix for error emitted for unknown type for target of scope
8926 operator. Now, ignore it and continue.
8928 Disassembly of an FADT now verifies the input FADT and reports any errors
8929 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
8931 Disassembly of raw data buffers with byte initialization data now
8933 each output line with the current buffer offset.
8935 Disassembly of ASF! table now includes all variable-length data fields at
8936 the end of some of the subtables.
8938 The disassembler now emits a comment if a buffer appears to be a
8939 ResourceTemplate, but cannot be disassembled as such because the EndTag
8941 not appear at the very end of the buffer.
8943 AcpiExec - Added the "-t" command line option to enable the serialized
8945 of the AML interpreter.
8947 ----------------------------------------
8948 31 August 2006. Summary of changes for version 20060831:
8950 1) ACPI CA Core Subsystem:
8952 Miscellaneous fixes for the Table Manager:
8953 - Correctly initialize internal common FADT for all 64-bit "X" fields
8954 - Fixed a couple table mapping issues during table load
8955 - Fixed a couple alignment issues for IA64
8956 - Initialize input array to zero in AcpiInitializeTables
8957 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
8960 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
8962 immediately disabled to prevent the waking GPE from firing again and to
8963 prevent other wake GPEs from interrupting the wake process.
8965 Added the AcpiGpeCount global that tracks the number of processed GPEs,
8967 be used for debugging systems with a large number of ACPI interrupts.
8969 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
8970 both the ACPICA headers and the disassembler.
8972 Example Code and Data Size: These are the sizes for the OS-independent
8973 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8974 debug version of the code includes the debug output trace mechanism and
8976 a much larger code and data size.
8979 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
8980 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
8982 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
8983 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
8986 2) iASL Compiler/Disassembler and Tools:
8988 Disassembler support for the DMAR ACPI table.
8990 ----------------------------------------
8991 23 August 2006. Summary of changes for version 20060823:
8993 1) ACPI CA Core Subsystem:
8995 The Table Manager component has been completely redesigned and
8996 reimplemented. The new design is much simpler, and reduces the overall
8998 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
9000 now possible to obtain the ACPI tables very early during kernel
9001 initialization, even before dynamic memory management is initialized.
9002 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
9004 Obsolete ACPICA interfaces:
9006 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
9009 - AcpiLoadTable: Not needed.
9010 - AcpiUnloadTable: Not needed.
9012 New ACPICA interfaces:
9014 - AcpiInitializeTables: Must be called before the table manager can be
9016 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
9017 allocated memory after it becomes available.
9018 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
9022 Other ACPICA changes:
9024 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
9026 AcpiOsUnmapMemory to free this mapping.
9027 - AcpiGetTable returns the actual mapped table. The mapping is managed
9028 internally and must not be deleted by the caller. Use of this interface
9029 causes no additional dynamic memory allocation.
9030 - AcpiFindRootPointer: Support for physical addressing has been
9032 it appeared to be unused.
9033 - The interface to AcpiOsMapMemory has changed to be consistent with the
9034 other allocation interfaces.
9035 - The interface to AcpiOsGetRootPointer has changed to eliminate
9038 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
9040 bit platforms. Was previously 64 bits on all platforms.
9041 - The interface to the ACPI Global Lock acquire/release macros have
9043 slightly since ACPICA no longer keeps a local copy of the FACS with a
9044 constructed pointer to the actual global lock.
9046 Porting to the new table manager:
9048 - AcpiInitializeTables: Must be called once, and can be called anytime
9049 during the OS initialization process. It allows the host to specify an
9051 of memory to be used to store the internal version of the RSDT/XSDT (root
9052 table). This allows the host to access ACPI tables before memory
9054 is initialized and running.
9055 - AcpiReallocateRootTable: Can be called after memory management is
9057 to copy the root table to a dynamically allocated array, freeing up the
9058 scratch memory specified in the call to AcpiInitializeTables.
9059 - AcpiSubsystemInitialize: This existing interface is independent of the
9060 Table Manager, and does not have to be called before the Table Manager
9062 be used, it only must be called before the rest of ACPICA can be used.
9063 - ACPI Tables: Some changes have been made to the names and structure of
9065 actbl.h and actbl1.h header files and may require changes to existing
9067 For example, bitfields have been completely removed because of their lack
9069 portability across C compilers.
9070 - Update interfaces to the Global Lock acquire/release macros if local
9071 versions are used. (see acwin.h)
9073 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
9077 Example Code and Data Size: These are the sizes for the OS-independent
9078 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9079 debug version of the code includes the debug output trace mechanism and
9081 a much larger code and data size.
9084 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9085 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9087 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
9088 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
9091 2) iASL Compiler/Disassembler and Tools:
9093 No changes for this release.
9095 ----------------------------------------
9096 21 July 2006. Summary of changes for version 20060721:
9098 1) ACPI CA Core Subsystem:
9100 The full source code for the ASL test suite used to validate the iASL
9101 compiler and the ACPICA core subsystem is being released with the ACPICA
9102 source for the first time. The source is contained in a separate package
9104 consists of over 1100 files that exercise all ASL/AML operators. The
9106 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
9110 Completed a new design and implementation for support of the ACPI Global
9111 Lock. On the OS side, the global lock is now treated as a standard AML
9112 mutex. Previously, multiple OS threads could "acquire" the global lock
9113 simultaneously. However, this could cause the BIOS to be starved out of
9115 lock - especially in cases such as the Embedded Controller driver where
9116 there is a tight coupling between the OS and the BIOS.
9118 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
9119 The Global Lock interrupt handler no longer queues the execution of a
9120 separate thread to signal the global lock semaphore. Instead, the
9122 is signaled directly from the interrupt handler.
9124 Implemented support within the AML interpreter for package objects that
9125 contain a larger AML length (package list length) than the package
9127 count. In this case, the length of the package is truncated to match the
9128 package element count. Some BIOS code apparently modifies the package
9130 on the fly, and this change supports this behavior. Provides
9132 with the MS AML interpreter. (With assistance from Fiodor Suietov)
9134 Implemented a temporary fix for the BankValue parameter of a Bank Field
9136 support all constant values, now including the Zero and One opcodes.
9137 Evaluation of this parameter must eventually be converted to a full
9139 evaluation. A not-implemented error is now returned (temporarily) for
9141 constant values for this parameter.
9143 Fixed problem reports (Fiodor Suietov) integrated:
9144 - Fix for premature object deletion after CopyObject on Operation Region
9148 Example Code and Data Size: These are the sizes for the OS-independent
9149 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9150 debug version of the code includes the debug output trace mechanism and
9152 a much larger code and data size.
9155 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
9156 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
9158 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9159 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9162 2) iASL Compiler/Disassembler and Tools:
9164 No changes for this release.
9166 ----------------------------------------
9167 07 July 2006. Summary of changes for version 20060707:
9169 1) ACPI CA Core Subsystem:
9171 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
9172 that do not allow the initialization of address pointers within packed
9173 structures - even though the hardware itself may support misaligned
9174 transfers. Some of the debug data structures are packed by default to
9177 Added an error message for the case where AcpiOsGetThreadId() returns
9179 A non-zero value is required by the core ACPICA code to ensure the proper
9180 operation of AML mutexes and recursive control methods.
9182 The DSDT is now the only ACPI table that determines whether the AML
9183 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
9185 the hooks for per-table 32/64 switching have been removed from the code.
9187 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
9189 Fixed a possible leak of an OwnerID in the error path of
9190 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
9191 deletion to a single place in AcpiTbUninstallTable to correct possible
9193 when using the AcpiTbDeleteTablesByType interface (with assistance from
9196 Fixed a problem with Serialized control methods where the semaphore
9197 associated with the method could be over-signaled after multiple method
9200 Fixed two issues with the locking of the internal namespace data
9202 Both the Unload() operator and AcpiUnloadTable interface now lock the
9203 namespace during the namespace deletion associated with the table unload
9204 (with assistance from Linn Crosetto.)
9206 Fixed problem reports (Valery Podrezov) integrated:
9207 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
9209 Fixed problem reports (Fiodor Suietov) integrated:
9210 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
9211 - On Address Space handler deletion, needless deactivation call (BZ 374)
9212 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
9214 - Possible memory leak, Notify sub-objects of Processor, Power,
9217 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
9218 - Minimum Length of RSDT should be validated (BZ 379)
9219 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
9221 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
9225 Example Code and Data Size: These are the sizes for the OS-independent
9226 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9227 debug version of the code includes the debug output trace mechanism and
9229 a much larger code and data size.
9232 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
9233 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
9235 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
9236 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
9239 2) iASL Compiler/Disassembler and Tools:
9241 Fixed problem reports:
9242 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
9245 ----------------------------------------
9246 23 June 2006. Summary of changes for version 20060623:
9248 1) ACPI CA Core Subsystem:
9250 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
9251 allows the type to be customized to the host OS for improved efficiency
9252 (since a spinlock is usually a very small object.)
9254 Implemented support for "ignored" bits in the ACPI registers. According
9256 the ACPI specification, these bits should be preserved when writing the
9257 registers via a read/modify/write cycle. There are 3 bits preserved in
9259 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
9261 Implemented the initial deployment of new OSL mutex interfaces. Since
9263 host operating systems have separate mutex and semaphore objects, this
9264 feature was requested. The base code now uses mutexes (and the new mutex
9265 interfaces) wherever a binary semaphore was used previously. However, for
9266 the current release, the mutex interfaces are defined as macros to map
9268 to the existing semaphore interfaces. Therefore, no OSL changes are
9270 at this time. (See acpiosxf.h)
9272 Fixed several problems with the support for the control method SyncLevel
9273 parameter. The SyncLevel now works according to the ACPI specification
9275 in concert with the Mutex SyncLevel parameter, since the current
9277 is a property of the executing thread. Mutual exclusion for control
9279 is now implemented with a mutex instead of a semaphore.
9281 Fixed three instances of the use of the C shift operator in the bitfield
9282 support code (exfldio.c) to avoid the use of a shift value larger than
9284 target data width. The behavior of C compilers is undefined in this case
9286 can cause unpredictable results, and therefore the case must be detected
9288 avoided. (Fiodor Suietov)
9290 Added an info message whenever an SSDT or OEM table is loaded dynamically
9291 via the Load() or LoadTable() ASL operators. This should improve
9293 capability since it will show exactly what tables have been loaded
9295 the tables present in the RSDT/XSDT.)
9297 Example Code and Data Size: These are the sizes for the OS-independent
9298 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9299 debug version of the code includes the debug output trace mechanism and
9301 a much larger code and data size.
9304 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
9305 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
9307 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
9308 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
9311 2) iASL Compiler/Disassembler and Tools:
9313 No changes for this release.
9315 ----------------------------------------
9316 08 June 2006. Summary of changes for version 20060608:
9318 1) ACPI CA Core Subsystem:
9320 Converted the locking mutex used for the ACPI hardware to a spinlock.
9322 change should eliminate all problems caused by attempting to acquire a
9323 semaphore at interrupt level, and it means that all ACPICA external
9324 interfaces that directly access the ACPI hardware can be safely called
9326 interrupt level. OSL code that implements the semaphore interfaces should
9328 able to eliminate any workarounds for being called at interrupt level.
9330 Fixed a regression introduced in 20060526 where the ACPI device
9331 initialization could be prematurely aborted with an AE_NOT_FOUND if a
9333 did not have an optional _INI method.
9335 Fixed an IndexField issue where a write to the Data Register should be
9336 limited in size to the AccessSize (width) of the IndexField itself. (BZ
9340 Fixed problem reports (Valery Podrezov) integrated:
9341 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
9343 Fixed problem reports (Fiodor Suietov) integrated:
9344 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
9346 Removed four global mutexes that were obsolete and were no longer being
9349 Example Code and Data Size: These are the sizes for the OS-independent
9350 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9351 debug version of the code includes the debug output trace mechanism and
9353 a much larger code and data size.
9356 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
9357 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
9359 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
9360 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
9363 2) iASL Compiler/Disassembler and Tools:
9365 Fixed a fault when using -g option (get tables from registry) on Windows
9368 Fixed problem reports integrated:
9369 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
9370 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
9372 - Global table revision override (-r) is ignored (BZ 413)
9374 ----------------------------------------
9375 26 May 2006. Summary of changes for version 20060526:
9377 1) ACPI CA Core Subsystem:
9379 Restructured, flattened, and simplified the internal interfaces for
9380 namespace object evaluation - resulting in smaller code, less CPU stack
9382 and fewer interfaces. (With assistance from Mikhail Kouzmich)
9384 Fixed a problem with the CopyObject operator where the first parameter
9386 not typed correctly for the parser, interpreter, compiler, and
9388 Caused various errors and unexpected behavior.
9390 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
9391 produced incorrect results with some C compilers. Since the behavior of C
9392 compilers when the shift value is larger than the datatype width is
9393 apparently not well defined, the interpreter now detects this condition
9395 simply returns zero as expected in all such cases. (BZ 395)
9397 Fixed problem reports (Valery Podrezov) integrated:
9398 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
9399 - Allow interpreter to handle nested method declarations (BZ 5361)
9401 Fixed problem reports (Fiodor Suietov) integrated:
9402 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
9404 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
9406 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
9407 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
9408 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
9409 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
9410 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
9411 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
9412 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
9414 - Status of the Global Initialization Handler call not used (BZ 366)
9415 - Incorrect object parameter to Global Initialization Handler (BZ 367)
9417 Example Code and Data Size: These are the sizes for the OS-independent
9418 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9419 debug version of the code includes the debug output trace mechanism and
9421 a much larger code and data size.
9424 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
9425 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
9427 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
9428 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
9431 2) iASL Compiler/Disassembler and Tools:
9433 Modified the parser to allow the names IO, DMA, and IRQ to be used as
9434 namespace identifiers with no collision with existing resource descriptor
9435 macro names. This provides compatibility with other ASL compilers and is
9436 most useful for disassembly/recompilation of existing tables without
9438 errors. (With assistance from Thomas Renninger)
9440 Disassembler: fixed an incorrect disassembly problem with the
9441 DataTableRegion and CopyObject operators. Fixed a possible fault during
9442 disassembly of some Alias operators.
9444 ----------------------------------------
9445 12 May 2006. Summary of changes for version 20060512:
9447 1) ACPI CA Core Subsystem:
9449 Replaced the AcpiOsQueueForExecution interface with a new interface named
9450 AcpiOsExecute. The major difference is that the new interface does not
9452 a Priority parameter, this appeared to be useless and has been replaced
9455 Type parameter. The Type tells the host what type of execution is being
9456 requested, such as global lock handler, notify handler, GPE handler, etc.
9457 This allows the host to queue and execute the request as appropriate for
9459 request type, possibly using different work queues and different
9461 for the various request types. This enables fixes for multithreading
9462 deadlock problems such as BZ #5534, and will require changes to all
9464 OS interface layers. (Alexey Starikovskiy and Bob Moore)
9466 Fixed a possible memory leak associated with the support for the so-
9468 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
9471 Fixed a problem with the Load() operator where a table load from an
9472 operation region could overwrite an internal table buffer by up to 7
9474 and cause alignment faults on IPF systems. (With assistance from Luming
9477 Example Code and Data Size: These are the sizes for the OS-independent
9478 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9479 debug version of the code includes the debug output trace mechanism and
9481 a much larger code and data size.
9484 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
9485 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
9487 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
9488 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
9492 2) iASL Compiler/Disassembler and Tools:
9494 Disassembler: Implemented support to cross reference the internal
9496 and automatically generate ASL External() statements for symbols not
9498 within the current table being disassembled. This will simplify the
9499 disassembly and recompilation of interdependent tables such as SSDTs
9501 these statements will no longer have to be added manually.
9503 Disassembler: Implemented experimental support to automatically detect
9504 invocations of external control methods and generate appropriate
9506 statements. This is problematic because the AML cannot be correctly
9508 until the number of arguments for each control method is known.
9510 standalone method invocations and invocations as the source operand of a
9511 Store() statement are supported.
9513 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
9514 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
9515 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
9516 more readable and likely closer to the original ASL source.
9518 ----------------------------------------
9519 21 April 2006. Summary of changes for version 20060421:
9521 1) ACPI CA Core Subsystem:
9523 Removed a device initialization optimization introduced in 20051216 where
9524 the _STA method was not run unless an _INI was also present for the same
9525 device. This optimization could cause problems because it could allow
9527 methods to be run within a not-present device subtree. (If a not-present
9528 device had no _INI, _STA would not be run, the not-present status would
9530 be discovered, and the children of the device would be incorrectly
9533 Implemented a new _STA optimization where namespace subtrees that do not
9534 contain _INI are identified and ignored during device initialization.
9535 Selectively running _STA can significantly improve boot time on large
9536 machines (with assistance from Len Brown.)
9538 Implemented support for the device initialization case where the returned
9539 _STA flags indicate a device not-present but functioning. In this case,
9541 is not run, but the device children are examined for presence, as per the
9544 Implemented an additional change to the IndexField support in order to
9545 conform to MS behavior. The value written to the Index Register is not
9546 simply a byte offset, it is a byte offset in units of the access width of
9547 the parent Index Field. (Fiodor Suietov)
9549 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
9550 interface is called during the creation of all AML operation regions, and
9551 allows the host OS to exert control over what addresses it will allow the
9552 AML code to access. Operation Regions whose addresses are disallowed will
9553 cause a runtime exception when they are actually accessed (will not
9555 or abort table loading.) See oswinxf or osunixxf for an example
9558 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
9559 interface allows the host OS to match the various "optional"
9560 interface/behavior strings for the _OSI predefined control method as
9561 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
9562 for an example implementation.
9564 Restructured and corrected various problems in the exception handling
9566 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
9567 (with assistance from Takayoshi Kochi.)
9569 Modified the Linux source converter to ignore quoted string literals
9571 converting identifiers from mixed to lower case. This will correct
9573 with the disassembler and other areas where such strings must not be
9576 The ACPI_FUNCTION_* macros no longer require quotes around the function
9577 name. This allows the Linux source converter to convert the names, now
9579 the converter ignores quoted strings.
9581 Example Code and Data Size: These are the sizes for the OS-independent
9582 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9583 debug version of the code includes the debug output trace mechanism and
9585 a much larger code and data size.
9589 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9590 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9592 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
9593 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
9596 2) iASL Compiler/Disassembler and Tools:
9598 Implemented 3 new warnings for iASL, and implemented multiple warning
9602 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
9604 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
9605 check for the possible timeout, a warning is issued.
9607 2) Useless operators: If an ASL operator does not specify an optional
9609 operand and it also does not use the function return value from the
9610 operator, a warning is issued since the operator effectively does
9613 3) Unreferenced objects: If a namespace object is created, but never
9614 referenced, a warning is issued. This is a warning level 2 since there
9616 cases where this is ok, such as when a secondary table is loaded that
9618 the unreferenced objects. Even so, care is taken to only flag objects
9620 don't look like they will ever be used. For example, the reserved methods
9621 (starting with an underscore) are usually not referenced because it is
9622 expected that the OS will invoke them.
9624 ----------------------------------------
9625 31 March 2006. Summary of changes for version 20060331:
9627 1) ACPI CA Core Subsystem:
9629 Implemented header file support for the following additional ACPI tables:
9630 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
9632 all current and known ACPI tables are now defined in the ACPICA headers
9634 are available for use by device drivers and other software.
9636 Implemented support to allow tables that contain ACPI names with invalid
9637 characters to be loaded. Previously, this would cause the table load to
9638 fail, but since there are several known cases of such tables on existing
9639 machines, this change was made to enable ACPI support for them. Also,
9641 matches the behavior of the Microsoft ACPI implementation.
9643 Fixed a couple regressions introduced during the memory optimization in
9645 20060317 release. The namespace node definition required additional
9646 reorganization and an internal datatype that had been changed to 8-bit
9648 restored to 32-bit. (Valery Podrezov)
9650 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
9651 could be passed through to AcpiOsReleaseObject which is unexpected. Such
9652 null pointers are now trapped and ignored, matching the behavior of the
9653 previous implementation before the deployment of AcpiOsReleaseObject.
9654 (Valery Podrezov, Fiodor Suietov)
9656 Fixed a memory mapping leak during the deletion of a SystemMemory
9658 region where a cached memory mapping was not deleted. This became a
9659 noticeable problem for operation regions that are defined within
9661 used control methods. (Dana Meyers)
9663 Reorganized the ACPI table header files into two main files: one for the
9664 ACPI tables consumed by the ACPICA core, and another for the
9666 ACPI tables that are consumed by the drivers and other software. The
9668 FADT definitions were merged into one common section and three different
9669 tables (ACPI 1.0, 1.0+, and 2.0)
9671 Example Code and Data Size: These are the sizes for the OS-independent
9672 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9673 debug version of the code includes the debug output trace mechanism and
9675 a much larger code and data size.
9678 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9679 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9681 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
9682 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
9685 2) iASL Compiler/Disassembler and Tools:
9687 Disassembler: Implemented support to decode and format all non-AML ACPI
9688 tables (tables other than DSDTs and SSDTs.) This includes the new tables
9689 added to the ACPICA headers, therefore all current and known ACPI tables
9693 Disassembler: The change to allow ACPI names with invalid characters also
9694 enables the disassembly of such tables. Invalid characters within names
9696 changed to '*' to make the name printable; the iASL compiler will still
9697 generate an error for such names, however, since this is an invalid ACPI
9700 Implemented an option for AcpiXtract (-a) to extract all tables found in
9702 input file. The default invocation extracts only the DSDTs and SSDTs.
9704 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
9705 makefile for the AcpiXtract utility.
9707 ----------------------------------------
9708 17 March 2006. Summary of changes for version 20060317:
9710 1) ACPI CA Core Subsystem:
9712 Implemented the use of a cache object for all internal namespace nodes.
9713 Since there are about 1000 static nodes in a typical system, this will
9714 decrease memory use for cache implementations that minimize per-
9716 overhead (such as a slab allocator.)
9718 Removed the reference count mechanism for internal namespace nodes, since
9720 was deemed unnecessary. This reduces the size of each namespace node by
9721 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
9723 and 32 bytes for the 64-bit case.
9725 Optimized several internal data structures to reduce object size on 64-
9727 platforms by packing data within the 64-bit alignment. This includes the
9728 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
9729 instances corresponding to the namespace objects.
9731 Added two new strings for the predefined _OSI method: "Windows 2001.1
9735 Split the allocation tracking mechanism out to a separate file, from
9736 utalloc.c to uttrack.c. This mechanism appears to be only useful for
9737 application-level code. Kernels may wish to not include uttrack.c in
9740 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
9742 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
9745 Code and Data Size: These are the sizes for the acpica.lib produced by
9747 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9749 driver or OSPM code. The debug version of the code includes the debug
9751 trace mechanism and has a much larger code and data size. Note that these
9752 values will vary depending on the efficiency of the compiler and the
9753 compiler options used during generation.
9756 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9757 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9759 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
9760 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
9763 2) iASL Compiler/Disassembler and Tools:
9765 Implemented an ANSI C version of the acpixtract utility. This version
9767 automatically extract the DSDT and all SSDTs from the input acpidump text
9768 file and dump the binary output to separate files. It can also display a
9769 summary of the input file including the headers for each table found and
9770 will extract any single ACPI table, with any signature. (See
9771 source/tools/acpixtract)
9773 ----------------------------------------
9774 10 March 2006. Summary of changes for version 20060310:
9776 1) ACPI CA Core Subsystem:
9778 Tagged all external interfaces to the subsystem with the new
9779 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
9781 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
9782 macro. The default definition is NULL.
9784 Added the ACPI_THREAD_ID type for the return value from
9786 This allows the host to define this as necessary to simplify kernel
9787 integration. The default definition is ACPI_NATIVE_UINT.
9789 Fixed two interpreter problems related to error processing, the deletion
9791 objects, and placing invalid pointers onto the internal operator result
9792 stack. BZ 6028, 6151 (Valery Podrezov)
9794 Increased the reference count threshold where a warning is emitted for
9796 reference counts in order to eliminate unnecessary warnings on systems
9798 large namespaces (especially 64-bit.) Increased the value from 0x400 to
9801 Due to universal disagreement as to the meaning of the 'c' in the
9803 function, the ACPI_MEM_CALLOCATE macro has been renamed to
9804 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
9805 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
9808 Code and Data Size: These are the sizes for the acpica.lib produced by
9810 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9812 driver or OSPM code. The debug version of the code includes the debug
9814 trace mechanism and has a much larger code and data size. Note that these
9815 values will vary depending on the efficiency of the compiler and the
9816 compiler options used during generation.
9819 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9820 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9822 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9823 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
9826 2) iASL Compiler/Disassembler:
9828 Disassembler: implemented support for symbolic resource descriptor
9829 references. If a CreateXxxxField operator references a fixed offset
9832 resource descriptor, a name is assigned to the descriptor and the offset
9834 translated to the appropriate resource tag and pathname. The addition of
9835 this support brings the disassembled code very close to the original ASL
9836 source code and helps eliminate run-time errors when the disassembled
9838 is modified (and recompiled) in such a way as to invalidate the original
9841 Implemented support for a Descriptor Name as the last parameter to the
9843 Register() macro. This parameter was inadvertently left out of the ACPI
9844 specification, and will be added for ACPI 3.0b.
9846 Fixed a problem where the use of the "_OSI" string (versus the full path
9847 "\_OSI") caused an internal compiler error. ("No back ptr to op")
9849 Fixed a problem with the error message that occurs when an invalid string
9851 used for a _HID object (such as one with an embedded asterisk:
9853 The correct message is now displayed.
9855 ----------------------------------------
9856 17 February 2006. Summary of changes for version 20060217:
9858 1) ACPI CA Core Subsystem:
9860 Implemented a change to the IndexField support to match the behavior of
9862 Microsoft AML interpreter. The value written to the Index register is now
9864 byte offset, no longer an index based upon the width of the Data
9866 This should fix IndexField problems seen on some machines where the Data
9867 register is not exactly one byte wide. The ACPI specification will be
9868 clarified on this point.
9870 Fixed a problem where several resource descriptor types could overrun the
9871 internal descriptor buffer due to size miscalculation: VendorShort,
9872 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
9873 affect all platforms.
9875 Fixed a problem where individual resource descriptors were misaligned
9877 the internal buffer, causing alignment faults on IA64 platforms.
9879 Code and Data Size: These are the sizes for the acpica.lib produced by
9881 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
9883 driver or OSPM code. The debug version of the code includes the debug
9885 trace mechanism and has a much larger code and data size. Note that these
9886 values will vary depending on the efficiency of the compiler and the
9887 compiler options used during generation.
9890 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9891 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9893 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
9894 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
9897 2) iASL Compiler/Disassembler:
9899 Implemented support for new reserved names: _WDG and _WED are Microsoft
9900 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
9901 defined method (Throttling Depth Limit.)
9903 Fixed a problem where a zero-length VendorShort or VendorLong resource
9904 descriptor was incorrectly emitted as a descriptor of length one.
9906 ----------------------------------------
9907 10 February 2006. Summary of changes for version 20060210:
9909 1) ACPI CA Core Subsystem:
9911 Removed a couple of extraneous ACPI_ERROR messages that appeared during
9912 normal execution. These became apparent after the conversion from
9915 Fixed a problem where the CreateField operator could hang if the BitIndex
9917 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
9919 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
9920 failed with an exception. This also fixes a couple of related RefOf and
9921 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
9923 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
9925 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
9929 Implemented a memory cleanup at the end of the execution of each
9931 of an AML While() loop, preventing the accumulation of outstanding
9933 (Valery Podrezov, BZ 5427)
9935 Eliminated a chunk of duplicate code in the object resolution code.
9939 Fixed several warnings during the 64-bit code generation.
9941 The AcpiSrc source code conversion tool now inserts one line of
9943 after an if() statement that is followed immediately by a comment,
9945 readability of the Linux code.
9947 Code and Data Size: The current and previous library sizes for the core
9948 subsystem are shown below. These are the code and data sizes for the
9949 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
9951 values do not include any ACPI driver or OSPM code. The debug version of
9953 code includes the debug output trace mechanism and has a much larger code
9954 and data size. Note that these values will vary depending on the
9956 of the compiler and the compiler options used during generation.
9959 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
9960 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
9962 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
9963 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
9966 2) iASL Compiler/Disassembler:
9968 Fixed a problem with the disassembly of a BankField operator with a
9970 expression for the BankValue parameter.
9972 ----------------------------------------
9973 27 January 2006. Summary of changes for version 20060127:
9975 1) ACPI CA Core Subsystem:
9977 Implemented support in the Resource Manager to allow unresolved
9979 references within resource package objects for the _PRT method. This
9981 is in addition to the previously implemented unresolved reference support
9982 within the AML parser. If the interpreter slack mode is enabled, these
9983 unresolved references will be passed through to the caller as a NULL
9987 Implemented and deployed new macros and functions for error and warning
9988 messages across the subsystem. These macros are simpler and generate less
9989 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
9990 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
9991 macros remain defined to allow ACPI drivers time to migrate to the new
9994 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
9996 Acquire/Release Lock OSL interfaces.
9998 Fixed a problem where Alias ASL operators are sometimes not correctly
9999 resolved, in both the interpreter and the iASL compiler.
10001 Fixed several problems with the implementation of the
10002 ConcatenateResTemplate
10003 ASL operator. As per the ACPI specification, zero length buffers are now
10004 treated as a single EndTag. One-length buffers always cause a fatal
10005 exception. Non-zero length buffers that do not end with a full 2-byte
10007 cause a fatal exception.
10009 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
10010 interface. (With assistance from Thomas Renninger)
10012 Code and Data Size: The current and previous library sizes for the core
10013 subsystem are shown below. These are the code and data sizes for the
10014 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10016 values do not include any ACPI driver or OSPM code. The debug version of
10018 code includes the debug output trace mechanism and has a much larger code
10019 and data size. Note that these values will vary depending on the
10021 of the compiler and the compiler options used during generation.
10024 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
10025 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
10027 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
10028 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
10031 2) iASL Compiler/Disassembler:
10033 Fixed an internal error that was generated for any forward references to
10037 ----------------------------------------
10038 13 January 2006. Summary of changes for version 20060113:
10040 1) ACPI CA Core Subsystem:
10042 Added 2006 copyright to all module headers and signons. This affects
10043 virtually every file in the ACPICA core subsystem, iASL compiler, and the
10046 Enhanced the ACPICA error reporting in order to simplify user migration
10048 the non-debug version of ACPICA. Replaced all instances of the
10049 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
10051 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
10052 respectively. This preserves all error and warning messages in the non-
10054 version of the ACPICA code (this has been referred to as the "debug lite"
10055 option.) Over 200 cases were converted to create a total of over 380
10056 error/warning messages across the ACPICA code. This increases the code
10058 data size of the default non-debug version of the code somewhat (about
10060 but all error/warning reporting may be disabled if desired (and code
10061 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
10062 configuration option. The size of the debug version of ACPICA remains
10066 Fixed a memory leak within the AML Debugger "Set" command. One object was
10067 not properly deleted for every successful invocation of the command.
10069 Code and Data Size: The current and previous library sizes for the core
10070 subsystem are shown below. These are the code and data sizes for the
10071 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10073 values do not include any ACPI driver or OSPM code. The debug version of
10075 code includes the debug output trace mechanism and has a much larger code
10076 and data size. Note that these values will vary depending on the
10078 of the compiler and the compiler options used during generation.
10081 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
10082 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
10084 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
10085 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
10088 2) iASL Compiler/Disassembler:
10090 The compiler now officially supports the ACPI 3.0a specification that was
10091 released on December 30, 2005. (Specification is available at
10094 ----------------------------------------
10095 16 December 2005. Summary of changes for version 20051216:
10097 1) ACPI CA Core Subsystem:
10099 Implemented optional support to allow unresolved names within ASL Package
10100 objects. A null object is inserted in the package when a named reference
10101 cannot be located in the current namespace. Enabled via the interpreter
10102 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
10104 that contain such code.
10106 Implemented an optimization to the initialization sequence that can
10108 boot time. During ACPI device initialization, the _STA method is now run
10110 and only if the _INI method exists. The _STA method is used to determine
10112 the device is present; An _INI can only be run if _STA returns present,
10114 it is a waste of time to run the _STA method if the _INI does not exist.
10115 (Prototype and assistance from Dong Wei)
10117 Implemented use of the C99 uintptr_t for the pointer casting macros if it
10119 available in the current compiler. Otherwise, the default (void *) cast
10123 Fixed some possible memory leaks found within the execution path of the
10124 Break, Continue, If, and CreateField operators. (Valery Podrezov)
10126 Fixed a problem introduced in the 20051202 release where an exception is
10127 generated during method execution if a control method attempts to declare
10130 Moved resource descriptor string constants that are used by both the AML
10131 disassembler and AML debugger to the common utilities directory so that
10132 these components are independent.
10134 Implemented support in the AcpiExec utility (-e switch) to globally
10136 exceptions during control method execution (method is not aborted.)
10138 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
10141 Code and Data Size: The current and previous library sizes for the core
10142 subsystem are shown below. These are the code and data sizes for the
10143 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10145 values do not include any ACPI driver or OSPM code. The debug version of
10147 code includes the debug output trace mechanism and has a much larger code
10148 and data size. Note that these values will vary depending on the
10150 of the compiler and the compiler options used during generation.
10153 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10154 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
10156 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
10157 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
10160 2) iASL Compiler/Disassembler:
10162 Fixed a problem where a CPU stack overflow fault could occur if a
10164 method call was made from within a Return statement.
10166 ----------------------------------------
10167 02 December 2005. Summary of changes for version 20051202:
10169 1) ACPI CA Core Subsystem:
10171 Modified the parsing of control methods to no longer create namespace
10172 objects during the first pass of the parse. Objects are now created only
10173 during the execute phase, at the moment the namespace creation operator
10175 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
10177 should eliminate ALREADY_EXISTS exceptions seen on some machines where
10178 reentrant control methods are protected by an AML mutex. The mutex will
10180 correctly block multiple threads from attempting to create the same
10184 Increased the number of available Owner Ids for namespace object tracking
10185 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
10187 some machines with a large number of ACPI tables (either static or
10190 Fixed a problem with the AcpiExec utility where a fault could occur when
10192 -b switch (batch mode) is used.
10194 Enhanced the namespace dump routine to output the owner ID for each
10197 Code and Data Size: The current and previous library sizes for the core
10198 subsystem are shown below. These are the code and data sizes for the
10199 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10201 values do not include any ACPI driver or OSPM code. The debug version of
10203 code includes the debug output trace mechanism and has a much larger code
10204 and data size. Note that these values will vary depending on the
10206 of the compiler and the compiler options used during generation.
10209 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10210 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10212 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10213 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
10216 2) iASL Compiler/Disassembler:
10218 Fixed a parse error during compilation of certain Switch/Case constructs.
10220 simplify the parse, the grammar now allows for multiple Default
10222 and this error is now detected and flagged during the analysis phase.
10224 Disassembler: The disassembly now includes the contents of the original
10225 table header within a comment at the start of the file. This includes the
10226 name and version of the original ASL compiler.
10228 ----------------------------------------
10229 17 November 2005. Summary of changes for version 20051117:
10231 1) ACPI CA Core Subsystem:
10233 Fixed a problem in the AML parser where the method thread count could be
10234 decremented below zero if any errors occurred during the method parse
10236 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
10238 This also fixed a related regression with the mechanism that detects and
10239 corrects methods that cannot properly handle reentrancy (related to the
10240 deployment of the new OwnerId mechanism.)
10242 Eliminated the pre-parsing of control methods (to detect errors) during
10243 table load. Related to the problem above, this was causing unwind issues
10245 any errors occurred during the parse, and it seemed to be overkill. A
10247 load should not be aborted if there are problems with any single control
10248 method, thus rendering this feature rather pointless.
10250 Fixed a problem with the new table-driven resource manager where an
10252 buffer overflow could occur for small resource templates.
10254 Implemented a new external interface, AcpiGetVendorResource. This
10256 will find and return a vendor-defined resource descriptor within a _CRS
10258 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
10261 Removed the length limit (200) on string objects as per the upcoming ACPI
10262 3.0A specification. This affects the following areas of the interpreter:
10264 any implicit conversion of a Buffer to a String, 2) a String object
10266 of the ASL Concatentate operator, 3) the String object result of the ASL
10269 Fixed a problem in the Windows OS interface layer (OSL) where a
10271 on a semaphore object would incorrectly timeout. This allows the
10272 multithreading features of the AcpiExec utility to work properly under
10275 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
10276 the recently added file named "utresrc.c".
10278 Code and Data Size: The current and previous library sizes for the core
10279 subsystem are shown below. These are the code and data sizes for the
10280 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10282 values do not include any ACPI driver or OSPM code. The debug version of
10284 code includes the debug output trace mechanism and has a much larger code
10285 and data size. Note that these values will vary depending on the
10287 of the compiler and the compiler options used during generation.
10290 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
10291 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10293 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
10294 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10297 2) iASL Compiler/Disassembler:
10299 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
10300 specification. For the iASL compiler, this means that string literals
10302 the source ASL can be of any length.
10304 Enhanced the listing output to dump the AML code for resource descriptors
10305 immediately after the ASL code for each descriptor, instead of in a block
10307 the end of the entire resource template.
10309 Enhanced the compiler debug output to dump the entire original parse tree
10310 constructed during the parse phase, before any transforms are applied to
10312 tree. The transformed tree is dumped also.
10314 ----------------------------------------
10315 02 November 2005. Summary of changes for version 20051102:
10317 1) ACPI CA Core Subsystem:
10319 Modified the subsystem initialization sequence to improve GPE support.
10321 GPE initialization has been split into two parts in order to defer
10323 of the _PRW methods (Power Resources for Wake) until after the hardware
10325 fully initialized and the SCI handler is installed. This allows the _PRW
10326 methods to access fields protected by the Global Lock. This will fix
10328 where a NO_GLOBAL_LOCK exception has been seen during initialization.
10330 Converted the ACPI internal object disassemble and display code within
10332 AML debugger to fully table-driven operation, reducing code size and
10333 increasing maintainability.
10335 Fixed a regression with the ConcatenateResTemplate() ASL operator
10337 in the 20051021 release.
10339 Implemented support for "local" internal ACPI object types within the
10340 debugger "Object" command and the AcpiWalkNamespace external interfaces.
10341 These local types include RegionFields, BankFields, IndexFields, Alias,
10345 Moved common AML resource handling code into a new file, "utresrc.c".
10347 code is shared by both the Resource Manager and the AML Debugger.
10349 Code and Data Size: The current and previous library sizes for the core
10350 subsystem are shown below. These are the code and data sizes for the
10351 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10353 values do not include any ACPI driver or OSPM code. The debug version of
10355 code includes the debug output trace mechanism and has a much larger code
10356 and data size. Note that these values will vary depending on the
10358 of the compiler and the compiler options used during generation.
10361 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
10362 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
10364 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
10365 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
10368 2) iASL Compiler/Disassembler:
10370 Fixed a problem with very large initializer lists (more than 4000
10372 for both Buffer and Package objects where the parse stack could overflow.
10374 Enhanced the pre-compile source code scan for non-ASCII characters to
10376 characters within comment fields. The scan is now always performed and is
10378 longer optional, detecting invalid characters within a source file
10379 immediately rather than during the parse phase or later.
10381 Enhanced the ASL grammar definition to force early reductions on all
10383 style grammar elements so that the overall parse stack usage is greatly
10384 reduced. This should improve performance and reduce the possibility of
10388 Eliminated all reduce/reduce conflicts in the iASL parser generation.
10390 with the addition of a %expected statement, the compiler generates from
10391 source with no warnings.
10393 Fixed a possible segment fault in the disassembler if the input filename
10394 does not contain a "dot" extension (Thomas Renninger).
10396 ----------------------------------------
10397 21 October 2005. Summary of changes for version 20051021:
10399 1) ACPI CA Core Subsystem:
10401 Implemented support for the EM64T and other x86-64 processors. This
10402 essentially entails recognizing that these processors support non-aligned
10403 memory transfers. Previously, all 64-bit processors were assumed to lack
10404 hardware support for non-aligned transfers.
10406 Completed conversion of the Resource Manager to nearly full table-driven
10407 operation. Specifically, the resource conversion code (convert AML to
10408 internal format and the reverse) and the debug code to dump internal
10409 resource descriptors are fully table-driven, reducing code and data size
10411 improving maintainability.
10413 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
10415 on 64-bit processors instead of a fixed 32-bit word. (With assistance
10417 Alexey Starikovskiy)
10419 Implemented support within the resource conversion code for the Type-
10420 Specific byte within the various ACPI 3.0 *WordSpace macros.
10422 Fixed some issues within the resource conversion code for the type-
10424 flags for both Memory and I/O address resource descriptors. For Memory,
10425 implemented support for the MTP and TTP flags. For I/O, split the TRS and
10426 TTP flags into two separate fields.
10428 Code and Data Size: The current and previous library sizes for the core
10429 subsystem are shown below. These are the code and data sizes for the
10430 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10432 values do not include any ACPI driver or OSPM code. The debug version of
10434 code includes the debug output trace mechanism and has a much larger code
10435 and data size. Note that these values will vary depending on the
10437 of the compiler and the compiler options used during generation.
10440 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
10441 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
10443 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
10444 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
10448 2) iASL Compiler/Disassembler:
10450 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
10452 corresponding ResourceSource string was not also present in a resource
10453 descriptor declaration. This restriction caused problems with existing
10454 AML/ASL code that includes the Index byte without the string. When such
10456 was disassembled, it could not be compiled without modification. Further,
10457 the modified code created a resource template with a different size than
10459 original, breaking code that used fixed offsets into the resource
10463 Removed a recent feature of the disassembler to ignore a lone
10465 byte. This byte is now emitted if present so that the exact AML can be
10466 reproduced when the disassembled code is recompiled.
10468 Improved comments and text alignment for the resource descriptor code
10469 emitted by the disassembler.
10471 Implemented disassembler support for the ACPI 3.0 AccessSize field within
10473 Register() resource descriptor.
10475 ----------------------------------------
10476 30 September 2005. Summary of changes for version 20050930:
10478 1) ACPI CA Core Subsystem:
10480 Completed a major overhaul of the Resource Manager code - specifically,
10481 optimizations in the area of the AML/internal resource conversion code.
10483 code has been optimized to simplify and eliminate duplicated code, CPU
10485 use has been decreased by optimizing function parameters and local
10486 variables, and naming conventions across the manager have been
10488 for clarity and ease of maintenance (this includes function, parameter,
10489 variable, and struct/typedef names.) The update may force changes in some
10490 driver code, depending on how resources are handled by the host OS.
10492 All Resource Manager dispatch and information tables have been moved to a
10493 single location for clarity and ease of maintenance. One new file was
10494 created, named "rsinfo.c".
10496 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
10497 guarantee that the argument is not evaluated twice, making them less
10499 to macro side-effects. However, since there exists the possibility of
10500 additional stack use if a particular compiler cannot optimize them (such
10502 in the debug generation case), the original macros are optionally
10504 Note that some invocations of the return_VALUE macro may now cause size
10505 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
10507 eliminate these. (From Randy Dunlap)
10509 Implemented a new mechanism to enable debug tracing for individual
10511 methods. A new external interface, AcpiDebugTrace, is provided to enable
10512 this mechanism. The intent is to allow the host OS to easily enable and
10513 disable tracing for problematic control methods. This interface can be
10514 easily exposed to a user or debugger interface if desired. See the file
10515 psxface.c for details.
10517 AcpiUtCallocate will now return a valid pointer if a length of zero is
10518 specified - a length of one is used and a warning is issued. This matches
10519 the behavior of AcpiUtAllocate.
10521 Code and Data Size: The current and previous library sizes for the core
10522 subsystem are shown below. These are the code and data sizes for the
10523 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10525 values do not include any ACPI driver or OSPM code. The debug version of
10527 code includes the debug output trace mechanism and has a much larger code
10528 and data size. Note that these values will vary depending on the
10530 of the compiler and the compiler options used during generation.
10533 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
10534 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
10536 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
10537 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
10540 2) iASL Compiler/Disassembler:
10542 A remark is issued if the effective compile-time length of a package or
10543 buffer is zero. Previously, this was a warning.
10545 ----------------------------------------
10546 16 September 2005. Summary of changes for version 20050916:
10548 1) ACPI CA Core Subsystem:
10550 Fixed a problem within the Resource Manager where support for the Generic
10551 Register descriptor was not fully implemented. This descriptor is now
10553 recognized, parsed, disassembled, and displayed.
10555 Completely restructured the Resource Manager code to utilize table-driven
10556 dispatch and lookup, eliminating many of the large switch() statements.
10558 reduces overall subsystem code size and code complexity. Affects the
10559 resource parsing and construction, disassembly, and debug dump output.
10561 Cleaned up and restructured the debug dump output for all resource
10562 descriptors. Improved readability of the output and reduced code size.
10564 Fixed a problem where changes to internal data structures caused the
10565 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
10567 Code and Data Size: The current and previous library sizes for the core
10568 subsystem are shown below. These are the code and data sizes for the
10569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
10571 values do not include any ACPI driver or OSPM code. The debug version of
10573 code includes the debug output trace mechanism and has a much larger code
10574 and data size. Note that these values will vary depending on the
10576 of the compiler and the compiler options used during generation.
10579 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10580 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10582 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
10583 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
10586 2) iASL Compiler/Disassembler:
10588 Updated the disassembler to automatically insert an EndDependentFn()
10590 into the ASL stream if this macro is missing in the original AML code,
10591 simplifying compilation of the resulting ASL module.
10593 Fixed a problem in the disassembler where a disassembled ResourceSource
10594 string (within a large resource descriptor) was not surrounded by quotes
10596 not followed by a comma, causing errors when the resulting ASL module was
10597 compiled. Also, escape sequences within a ResourceSource string are now
10598 handled correctly (especially "\\")
10600 ----------------------------------------
10601 02 September 2005. Summary of changes for version 20050902:
10603 1) ACPI CA Core Subsystem:
10605 Fixed a problem with the internal Owner ID allocation and deallocation
10606 mechanisms for control method execution and recursive method invocation.
10607 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
10608 messages seen on some systems. Recursive method invocation depth is
10609 currently limited to 255. (Alexey Starikovskiy)
10611 Completely eliminated all vestiges of support for the "module-level
10612 executable code" until this support is fully implemented and debugged.
10614 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
10615 some systems that invoke this support.
10617 Fixed a problem within the resource manager code where the transaction
10619 for a 64-bit address descriptor were handled incorrectly in the type-
10620 specific flag byte.
10622 Consolidated duplicate code within the address descriptor resource
10624 code, reducing overall subsystem code size.
10626 Fixed a fault when using the AML debugger "disassemble" command to
10627 disassemble individual control methods.
10629 Removed references to the "release_current" directory within the Unix
10632 Code and Data Size: The current and previous core subsystem library sizes
10633 are shown below. These are the code and data sizes for the acpica.lib
10634 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
10635 include any ACPI driver or OSPM code. The debug version of the code
10637 the debug output trace mechanism and has a much larger code and data
10639 Note that these values will vary depending on the efficiency of the
10641 and the compiler options used during generation.
10644 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10645 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10647 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
10648 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
10651 2) iASL Compiler/Disassembler:
10653 Implemented an error check for illegal duplicate values in the interrupt
10655 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
10658 Implemented error checking for the Irq() and IrqNoFlags() macros to
10660 too many values in the interrupt list (16 max) and invalid values in the
10661 list (range 0 - 15)
10663 The maximum length string literal within an ASL file is now restricted to
10664 200 characters as per the ACPI specification.
10666 Fixed a fault when using the -ln option (generate namespace listing).
10668 Implemented an error check to determine if a DescriptorName within a
10669 resource descriptor has already been used within the current scope.
10671 ----------------------------------------
10672 15 August 2005. Summary of changes for version 20050815:
10674 1) ACPI CA Core Subsystem:
10676 Implemented a full bytewise compare to determine if a table load request
10678 attempting to load a duplicate table. The compare is performed if the
10680 signatures and table lengths match. This will allow different tables with
10681 the same OEM Table ID and revision to be loaded - probably against the
10683 specification, but discovered in the field nonetheless.
10685 Added the changes.txt logfile to each of the zipped release packages.
10687 Code and Data Size: Current and previous core subsystem library sizes are
10688 shown below. These are the code and data sizes for the acpica.lib
10690 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10691 any ACPI driver or OSPM code. The debug version of the code includes the
10692 debug output trace mechanism and has a much larger code and data size.
10694 that these values will vary depending on the efficiency of the compiler
10696 the compiler options used during generation.
10699 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10700 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10702 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10703 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
10706 2) iASL Compiler/Disassembler:
10708 Fixed a problem where incorrect AML code could be generated for Package
10709 objects if optimization is disabled (via the -oa switch).
10711 Fixed a problem with where incorrect AML code is generated for variable-
10712 length packages when the package length is not specified and the number
10714 initializer values is greater than 255.
10717 ----------------------------------------
10718 29 July 2005. Summary of changes for version 20050729:
10720 1) ACPI CA Core Subsystem:
10722 Implemented support to ignore an attempt to install/load a particular
10724 table more than once. Apparently there exists BIOS code that repeatedly
10725 attempts to load the same SSDT upon certain events. With assistance from
10726 Venkatesh Pallipadi.
10728 Restructured the main interface to the AML parser in order to correctly
10729 handle all exceptional conditions. This will prevent leakage of the
10731 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
10733 machines. With assistance from Alexey Starikovskiy.
10735 Support for "module level code" has been disabled in this version due to
10737 number of issues that have appeared on various machines. The support can
10739 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
10740 compilation. When the issues are fully resolved, the code will be enabled
10744 Modified the internal functions for debug print support to define the
10745 FunctionName parameter as a (const char *) for compatibility with
10747 built-in macros such as __FUNCTION__, etc.
10749 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
10751 Implemented support to display an object count summary for the AML
10753 commands Object and Methods.
10755 Code and Data Size: Current and previous core subsystem library sizes are
10756 shown below. These are the code and data sizes for the acpica.lib
10758 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10759 any ACPI driver or OSPM code. The debug version of the code includes the
10760 debug output trace mechanism and has a much larger code and data size.
10762 that these values will vary depending on the efficiency of the compiler
10764 the compiler options used during generation.
10767 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10768 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10770 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
10771 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
10774 2) iASL Compiler/Disassembler:
10776 Fixed a regression that appeared in the 20050708 version of the compiler
10777 where an error message was inadvertently emitted for invocations of the
10779 reserved control method.
10781 ----------------------------------------
10782 08 July 2005. Summary of changes for version 20050708:
10784 1) ACPI CA Core Subsystem:
10786 The use of the CPU stack in the debug version of the subsystem has been
10787 considerably reduced. Previously, a debug structure was declared in every
10788 function that used the debug macros. This structure has been removed in
10789 favor of declaring the individual elements as parameters to the debug
10790 functions. This reduces the cumulative stack use during nested execution
10792 ACPI function calls at the cost of a small increase in the code size of
10794 debug version of the subsystem. With assistance from Alexey Starikovskiy
10798 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
10799 headers to define a macro that will return the current function name at
10800 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
10802 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
10803 compiler-dependent header, the function name is saved on the CPU stack
10805 pointer per function.) This mechanism is used because apparently there
10806 exists no standard ANSI-C defined macro that that returns the function
10809 Redesigned and reimplemented the "Owner ID" mechanism used to track
10810 namespace objects created/deleted by ACPI tables and control method
10811 execution. A bitmap is now used to allocate and free the IDs, thus
10813 the wraparound problem present in the previous implementation. The size
10815 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
10818 Removed the UINT32_BIT and UINT16_BIT types that were used for the
10820 flag definitions within the headers for the predefined ACPI tables. These
10821 have been replaced by UINT8_BIT in order to increase the code portability
10823 the subsystem. If the use of UINT8 remains a problem, we may be forced to
10824 eliminate bitfields entirely because of a lack of portability.
10826 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
10828 is a frequently used function and this improvement increases the
10830 of the entire subsystem (Alexey Starikovskiy).
10832 Fixed several possible memory leaks and the inverse - premature object
10833 deletion (Alexey Starikovskiy).
10835 Code and Data Size: Current and previous core subsystem library sizes are
10836 shown below. These are the code and data sizes for the acpica.lib
10838 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10839 any ACPI driver or OSPM code. The debug version of the code includes the
10840 debug output trace mechanism and has a much larger code and data size.
10842 that these values will vary depending on the efficiency of the compiler
10844 the compiler options used during generation.
10847 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10848 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10850 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
10851 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
10853 ----------------------------------------
10854 24 June 2005. Summary of changes for version 20050624:
10856 1) ACPI CA Core Subsystem:
10858 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
10859 the host-defined cache object. This allows the OSL implementation to
10861 and type this object in any manner desired, simplifying the OSL
10862 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
10863 Linux, and should be defined in the OS-specific header file for other
10864 operating systems as required.
10866 Changed the interface to AcpiOsAcquireObject to directly return the
10867 requested object as the function return (instead of ACPI_STATUS.) This
10868 change was made for performance reasons, since this is the purpose of the
10869 interface in the first place. AcpiOsAcquireObject is now similar to the
10870 AcpiOsAllocate interface.
10872 Implemented a new AML debugger command named Businfo. This command
10874 information about all devices that have an associate _PRT object. The
10876 _HID, _UID, and _CID are displayed for these devices.
10878 Modified the initialization sequence in AcpiInitializeSubsystem to call
10880 OSL interface AcpiOslInitialize first, before any local initialization.
10882 change was required because the global initialization now calls OSL
10885 Enhanced the Dump command to display the entire contents of Package
10887 (including all sub-objects and their values.)
10889 Restructured the code base to split some files because of size and/or
10890 because the code logically belonged in a separate file. New files are
10892 below. All makefiles and project files included in the ACPI CA release
10895 utilities/utcache.c /* Local cache interfaces */
10896 utilities/utmutex.c /* Local mutex support */
10897 utilities/utstate.c /* State object support */
10898 interpreter/parser/psloop.c /* Main AML parse loop */
10900 Code and Data Size: Current and previous core subsystem library sizes are
10901 shown below. These are the code and data sizes for the acpica.lib
10903 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10904 any ACPI driver or OSPM code. The debug version of the code includes the
10905 debug output trace mechanism and has a much larger code and data size.
10907 that these values will vary depending on the efficiency of the compiler
10909 the compiler options used during generation.
10912 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
10913 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
10915 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
10916 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
10919 2) iASL Compiler/Disassembler:
10921 Fixed a regression introduced in version 20050513 where the use of a
10923 object within a Case() statement caused a compile time exception. The
10924 original behavior has been restored (a Match() operator is emitted.)
10926 ----------------------------------------
10927 17 June 2005. Summary of changes for version 20050617:
10929 1) ACPI CA Core Subsystem:
10931 Moved the object cache operations into the OS interface layer (OSL) to
10933 the host OS to handle these operations if desired (for example, the Linux
10934 OSL will invoke the slab allocator). This support is optional; the
10936 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
10938 code in the ACPI CA core. The new OSL interfaces are shown below. See
10939 utalloc.c for an example implementation, and acpiosxf.h for the exact
10940 interface definitions. With assistance from Alexey Starikovskiy.
10944 AcpiOsAcquireObject
10945 AcpiOsReleaseObject
10947 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
10949 and restore a flags parameter. This fits better with many OS lock models.
10950 Note: the current execution state (interrupt handler or not) is no longer
10951 passed to these interfaces. If necessary, the OSL must determine this
10953 by itself, a simple and fast operation. With assistance from Alexey
10956 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
10957 present if the revision of the RSDP was 2 or greater. According to the
10959 specification, the XSDT is optional in all cases, and the table manager
10960 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
10961 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
10965 Fixed an interpreter problem with the Mid() operator in the case of an
10967 string where the resulting output string is of zero length. It now
10969 returns a valid, null terminated string object instead of a string object
10970 with a null pointer.
10972 Fixed a problem with the control method argument handling to allow a
10974 to an Arg object that already contains an object of type Device. The
10976 object is now correctly overwritten. Previously, an error was returned.
10979 Enhanced the debugger Find command to emit object values in addition to
10981 found object pathnames. The output format is the same as the dump
10985 Enhanced the debugger Set command. It now has the ability to set the
10987 of any Named integer object in the namespace (Previously, only method
10989 and args could be set.)
10991 Code and Data Size: Current and previous core subsystem library sizes are
10992 shown below. These are the code and data sizes for the acpica.lib
10994 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10995 any ACPI driver or OSPM code. The debug version of the code includes the
10996 debug output trace mechanism and has a much larger code and data size.
10998 that these values will vary depending on the efficiency of the compiler
11000 the compiler options used during generation.
11003 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
11004 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
11006 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
11007 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
11010 2) iASL Compiler/Disassembler:
11012 Fixed a regression in the disassembler where if/else/while constructs
11014 output incorrectly. This problem was introduced in the previous release
11015 (20050526). This problem also affected the single-step disassembly in the
11018 Fixed a problem where compiling the reserved _OSI method would randomly
11020 rarely) produce compile errors.
11022 Enhanced the disassembler to emit compilable code in the face of
11024 AML resource descriptors. If the optional ResourceSourceIndex is present,
11025 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
11026 disassembly. Otherwise, the resulting code cannot be compiled without
11029 ----------------------------------------
11030 26 May 2005. Summary of changes for version 20050526:
11032 1) ACPI CA Core Subsystem:
11034 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
11035 the module level (not within a control method.) These opcodes are
11037 exactly once at the time the table is loaded. This type of code was legal
11039 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
11041 order to provide backwards compatibility with earlier BIOS
11043 This eliminates the "Encountered executable code at module level" warning
11044 that was previously generated upon detection of such code.
11046 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
11047 inadvertently be generated during the lookup of namespace objects in the
11048 second pass parse of ACPI tables and control methods. It appears that
11050 problem could occur during the resolution of forward references to
11054 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
11055 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
11056 allows the deadlock detection debug code to be compiled out in the normal
11057 case, improving mutex performance (and overall subsystem performance)
11060 Implemented a handful of miscellaneous fixes for possible memory leaks on
11061 error conditions and error handling control paths. These fixes were
11062 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
11064 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
11066 to prevent a fault in this error case.
11068 Code and Data Size: Current and previous core subsystem library sizes are
11069 shown below. These are the code and data sizes for the acpica.lib
11071 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11072 any ACPI driver or OSPM code. The debug version of the code includes the
11073 debug output trace mechanism and has a much larger code and data size.
11075 that these values will vary depending on the efficiency of the compiler
11077 the compiler options used during generation.
11080 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11081 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11083 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
11084 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
11087 2) iASL Compiler/Disassembler:
11089 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
11090 the module level (not within a control method.) These operators will be
11091 executed once at the time the table is loaded. This type of code was
11093 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
11094 compiler in order to provide backwards compatibility with earlier BIOS
11098 The ACPI integer width (specified via the table revision ID or the -r
11099 override, 32 or 64 bits) is now used internally during compile-time
11101 folding to ensure that constants are truncated to 32 bits if necessary.
11102 Previously, the revision ID value was only emitted in the AML table
11105 An error message is now generated for the Mutex and Method operators if
11107 SyncLevel parameter is outside the legal range of 0 through 15.
11109 Fixed a problem with the Method operator ParameterTypes list handling
11111 3.0). Previously, more than 2 types or 2 arguments generated a syntax
11113 The actual underlying implementation of method argument typechecking is
11114 still under development, however.
11116 ----------------------------------------
11117 13 May 2005. Summary of changes for version 20050513:
11119 1) ACPI CA Core Subsystem:
11121 Implemented support for PCI Express root bridges -- added support for
11123 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
11125 The interpreter now automatically truncates incoming 64-bit constants to
11127 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
11129 also affects the iASL compiler constant folding. (Note: as per below, the
11130 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
11132 Fixed a problem where string and buffer objects with "static" pointers
11133 (pointers to initialization data within an ACPI table) were not handled
11134 consistently. The internal object copy operation now always copies the
11136 to a newly allocated buffer, regardless of whether the source object is
11139 Fixed a problem with the FromBCD operator where an implicit result
11140 conversion was improperly performed while storing the result to the
11142 operand. Since this is an "explicit conversion" operator, the implicit
11143 conversion should never be performed on the output.
11145 Fixed a problem with the CopyObject operator where a copy to an existing
11146 named object did not always completely overwrite the existing object
11148 at name. Specifically, a buffer-to-buffer copy did not delete the
11152 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
11154 structs for consistency.
11156 Code and Data Size: Current and previous core subsystem library sizes are
11157 shown below. These are the code and data sizes for the acpica.lib
11159 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11160 any ACPI driver or OSPM code. The debug version of the code includes the
11161 debug output trace mechanism and has a much larger code and data size.
11163 that these values will vary depending on the efficiency of the compiler
11165 the compiler options used during generation.
11168 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11169 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11170 Current Release: (Same sizes)
11171 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11172 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11175 2) iASL Compiler/Disassembler:
11177 The compiler now emits a warning if an attempt is made to generate a 64-
11179 integer constant from within a 32-bit ACPI table (Revision < 2). The
11181 is truncated to 32 bits.
11183 Fixed a problem with large package objects: if the static length of the
11184 package is greater than 255, the "variable length package" opcode is
11185 emitted. Previously, this caused an error. This requires an update to the
11186 ACPI spec, since it currently (incorrectly) states that packages larger
11188 255 elements are not allowed.
11190 The disassembler now correctly handles variable length packages and
11192 larger than 255 elements.
11194 ----------------------------------------
11195 08 April 2005. Summary of changes for version 20050408:
11197 1) ACPI CA Core Subsystem:
11199 Fixed three cases in the interpreter where an "index" argument to an ASL
11200 function was still (internally) 32 bits instead of the required 64 bits.
11201 This was the Index argument to the Index, Mid, and Match operators.
11203 The "strupr" function is now permanently local (AcpiUtStrupr), since this
11205 not a POSIX-defined function and not present in most kernel-level C
11206 libraries. All references to the C library strupr function have been
11210 Completed the deployment of static functions/prototypes. All prototypes
11212 the static attribute have been moved from the headers to the owning C
11215 Implemented an extract option (-e) for the AcpiBin utility (AML binary
11216 utility). This option allows the utility to extract individual ACPI
11218 from the output of AcpiDmp. It provides the same functionality of the
11219 acpixtract.pl perl script without the worry of setting the correct perl
11220 options. AcpiBin runs on Windows and has not yet been generated/validated
11222 the Linux/Unix environment (but should be soon).
11224 Updated and fixed the table dump option for AcpiBin (-d). This option
11225 converts a single ACPI table to a hex/ascii file, similar to the output
11229 Code and Data Size: Current and previous core subsystem library sizes are
11230 shown below. These are the code and data sizes for the acpica.lib
11232 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11233 any ACPI driver or OSPM code. The debug version of the code includes the
11234 debug output trace mechanism and has a much larger code and data size.
11236 that these values will vary depending on the efficiency of the compiler
11238 the compiler options used during generation.
11241 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
11242 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
11244 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
11245 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
11248 2) iASL Compiler/Disassembler:
11250 Disassembler fix: Added a check to ensure that the table length found in
11252 ACPI table header within the input file is not longer than the actual
11254 file size. This indicates some kind of file or table corruption.
11256 ----------------------------------------
11257 29 March 2005. Summary of changes for version 20050329:
11259 1) ACPI CA Core Subsystem:
11261 An error is now generated if an attempt is made to create a Buffer Field
11263 length zero (A CreateField with a length operand of zero.)
11265 The interpreter now issues a warning whenever executable code at the
11267 level is detected during ACPI table load. This will give some idea of the
11268 prevalence of this type of code.
11270 Implemented support for references to named objects (other than control
11271 methods) within package objects.
11273 Enhanced package object output for the debug object. Package objects are
11275 completely dumped, showing all elements.
11277 Enhanced miscellaneous object output for the debug object. Any object can
11278 now be written to the debug object (for example, a device object can be
11279 written, and the type of the object will be displayed.)
11281 The "static" qualifier has been added to all local functions across both
11283 core subsystem and the iASL compiler.
11285 The number of "long" lines (> 80 chars) within the source has been
11286 significantly reduced, by about 1/3.
11288 Cleaned up all header files to ensure that all CA/iASL functions are
11289 prototyped (even static functions) and the formatting is consistent.
11291 Two new header files have been added, acopcode.h and acnames.h.
11293 Removed several obsolete functions that were no longer used.
11295 Code and Data Size: Current and previous core subsystem library sizes are
11296 shown below. These are the code and data sizes for the acpica.lib
11298 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11299 any ACPI driver or OSPM code. The debug version of the code includes the
11300 debug output trace mechanism and has a much larger code and data size.
11302 that these values will vary depending on the efficiency of the compiler
11304 the compiler options used during generation.
11307 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11308 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
11310 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
11311 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
11315 2) iASL Compiler/Disassembler:
11317 Fixed a problem with the resource descriptor generation/support. For the
11318 ResourceSourceIndex and the ResourceSource fields, both must be present,
11320 both must be not present - can't have one without the other.
11322 The compiler now returns non-zero from the main procedure if any errors
11324 occurred during the compilation.
11327 ----------------------------------------
11328 09 March 2005. Summary of changes for version 20050309:
11330 1) ACPI CA Core Subsystem:
11332 The string-to-buffer implicit conversion code has been modified again
11334 a change to the ACPI specification. In order to match the behavior of
11336 other major ACPI implementation, the target buffer is no longer truncated
11338 the source string is smaller than an existing target buffer. This change
11339 requires an update to the ACPI spec, and should eliminate the recent
11340 AE_AML_BUFFER_LIMIT issues.
11342 The "implicit return" support was rewritten to a new algorithm that
11344 the general case. Rather than attempt to determine when a method is about
11346 exit, the result of every ASL operator is saved momentarily until the
11348 next ASL operator is executed. Therefore, no matter how the method exits,
11349 there will always be a saved implicit return value. This feature is only
11350 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
11352 AE_AML_NO_RETURN_VALUE errors when enabled.
11354 Implemented implicit conversion support for the predicate (operand) of
11356 If, Else, and While operators. String and Buffer arguments are
11358 converted to Integers.
11360 Changed the string-to-integer conversion behavior to match the new ACPI
11361 errata: "If no integer object exists, a new integer is created. The ASCII
11362 string is interpreted as a hexadecimal constant. Each string character is
11363 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
11364 with the first character as the most significant digit, and ending with
11366 first non-hexadecimal character or end-of-string." This means that the
11368 non-hex character terminates the conversion and this is the code that was
11371 Fixed a problem where the ObjectType operator would fail (fault) when
11373 on an Index of a Package which pointed to a null package element. The
11374 operator now properly returns zero (Uninitialized) in this case.
11376 Fixed a problem where the While operator used excessive memory by not
11377 properly popping the result stack during execution. There was no memory
11379 after execution, however. (Code provided by Valery Podrezov.)
11381 Fixed a problem where references to control methods within Package
11383 caused the method to be invoked, instead of producing a reference object
11384 pointing to the method.
11386 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
11388 improve performance and reduce code size. (Code provided by Alexey
11391 Code and Data Size: Current and previous core subsystem library sizes are
11392 shown below. These are the code and data sizes for the acpica.lib
11394 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11395 any ACPI driver or OSPM code. The debug version of the code includes the
11396 debug output trace mechanism and has a much larger code and data size.
11398 that these values will vary depending on the efficiency of the compiler
11400 the compiler options used during generation.
11403 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11404 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
11406 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11407 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
11410 2) iASL Compiler/Disassembler:
11412 Fixed a problem with the Return operator with no arguments. Since the AML
11413 grammar for the byte encoding requires an operand for the Return opcode,
11415 compiler now emits a Return(Zero) for this case. An ACPI specification
11416 update has been written for this case.
11418 For tables other than the DSDT, namepath optimization is automatically
11419 disabled. This is because SSDTs can be loaded anywhere in the namespace,
11421 compiler has no knowledge of where, and thus cannot optimize namepaths.
11423 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
11424 inadvertently omitted from the ACPI specification, and will require an
11425 update to the spec.
11427 The source file scan for ASCII characters is now optional (-a). This
11429 was made because some vendors place non-ascii characters within comments.
11430 However, the scan is simply a brute-force byte compare to ensure all
11431 characters in the file are in the range 0x00 to 0x7F.
11433 Fixed a problem with the CondRefOf operator where the compiler was
11434 inappropriately checking for the existence of the target. Since the point
11436 the operator is to check for the existence of the target at run-time, the
11437 compiler no longer checks for the target existence.
11439 Fixed a problem where errors generated from the internal AML interpreter
11440 during constant folding were not handled properly, causing a fault.
11442 Fixed a problem with overly aggressive range checking for the Stall
11443 operator. The valid range (max 255) is now only checked if the operand is
11445 type Integer. All other operand types cannot be statically checked.
11447 Fixed a problem where control method references within the RefOf,
11449 and ObjectType operators were not treated properly. They are now treated
11451 actual references, not method invocations.
11453 Fixed and enhanced the "list namespace" option (-ln). This option was
11455 a number of releases ago.
11457 Improved error handling for the Field, IndexField, and BankField
11459 The compiler now cleanly reports and recovers from errors in the field
11460 component (FieldUnit) list.
11462 Fixed a disassembler problem where the optional ResourceDescriptor fields
11463 TRS and TTP were not always handled correctly.
11465 Disassembler - Comments in output now use "//" instead of "/*"
11467 ----------------------------------------
11468 28 February 2005. Summary of changes for version 20050228:
11470 1) ACPI CA Core Subsystem:
11472 Fixed a problem where the result of an Index() operator (an object
11473 reference) must increment the reference count on the target object for
11475 life of the object reference.
11477 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
11478 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
11480 resource descriptors.
11482 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
11483 Space Descriptor" string, indicating interpreter support for the
11487 Implemented header support for the new ACPI 3.0 FADT flag bits.
11489 Implemented header support for the new ACPI 3.0 PCI Express bits for the
11491 status/enable registers.
11493 Updated header support for the MADT processor local Apic struct and MADT
11494 platform interrupt source struct for new ACPI 3.0 fields.
11496 Implemented header support for the SRAT and SLIT ACPI tables.
11498 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
11502 Code and Data Size: Current and previous core subsystem library sizes are
11503 shown below. These are the code and data sizes for the acpica.lib
11505 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11506 any ACPI driver or OSPM code. The debug version of the code includes the
11507 debug output trace mechanism and has a much larger code and data size.
11509 that these values will vary depending on the efficiency of the compiler
11511 the compiler options used during generation.
11514 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
11515 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
11517 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11518 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
11521 2) iASL Compiler/Disassembler:
11523 Fixed a problem with the internal 64-bit String-to-integer conversion
11525 strings less than two characters long.
11527 Fixed a problem with constant folding where the result of the Index()
11528 operator can not be considered a constant. This means that Index() cannot
11530 a type3 opcode and this will require an update to the ACPI specification.
11532 Disassembler: Implemented support for the TTP, MTP, and TRS resource
11533 descriptor fields. These fields were inadvertently ignored and not output
11535 the disassembly of the resource descriptor.
11538 ----------------------------------------
11539 11 February 2005. Summary of changes for version 20050211:
11541 1) ACPI CA Core Subsystem:
11543 Implemented ACPI 3.0 support for implicit conversion within the Match()
11544 operator. MatchObjects can now be of type integer, buffer, or string
11546 of just type integer. Package elements are implicitly converted to the
11548 of the MatchObject. This change aligns the behavior of Match() with the
11549 behavior of the other logical operators (LLess(), etc.) It also requires
11551 errata change to the ACPI specification as this support was intended for
11552 ACPI 3.0, but was inadvertently omitted.
11554 Fixed a problem with the internal implicit "to buffer" conversion.
11556 that are converted to buffers will cause buffer truncation if the string
11558 smaller than the target buffer. Integers that are converted to buffers
11560 not cause buffer truncation, only zero extension (both as per the ACPI
11561 spec.) The problem was introduced when code was added to truncate the
11562 buffer, but this should not be performed in all cases, only the string
11565 Fixed a problem with the Buffer and Package operators where the
11567 would get confused if two such operators were used as operands to an ASL
11568 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
11569 stack was not being popped after the execution of these operators,
11571 in an AE_NO_RETURN_VALUE exception.
11573 Fixed a problem with constructs of the form Store(Index(...),...). The
11574 reference object returned from Index was inadvertently resolved to an
11576 value. This problem was introduced in version 20050114 when the behavior
11578 Store() was modified to restrict the object types that can be used as the
11579 source operand (to match the ACPI specification.)
11581 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
11583 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
11585 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
11587 Code and Data Size: Current and previous core subsystem library sizes are
11588 shown below. These are the code and data sizes for the acpica.lib
11590 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11591 any ACPI driver or OSPM code. The debug version of the code includes the
11592 debug output trace mechanism and has a much larger code and data size.
11594 that these values will vary depending on the efficiency of the compiler
11596 the compiler options used during generation.
11599 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11600 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11602 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
11603 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
11606 2) iASL Compiler/Disassembler:
11608 Fixed a code generation problem in the constant folding optimization code
11609 where incorrect code was generated if a constant was reduced to a buffer
11610 object (i.e., a reduced type 5 opcode.)
11612 Fixed a typechecking problem for the ToBuffer operator. Caused by an
11613 incorrect return type in the internal opcode information table.
11615 ----------------------------------------
11616 25 January 2005. Summary of changes for version 20050125:
11618 1) ACPI CA Core Subsystem:
11620 Fixed a recently introduced problem with the Global Lock where the
11621 underlying semaphore was not created. This problem was introduced in
11622 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
11623 Acquire() operation on _GL.
11625 The local object cache is now optional, and is disabled by default. Both
11626 AcpiExec and the iASL compiler enable the cache because they run in user
11627 mode and this enhances their performance. #define
11628 ACPI_ENABLE_OBJECT_CACHE
11629 to enable the local cache.
11631 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
11633 optional "implicit return" support where an error was returned if no
11635 object was expected, but one was implicitly returned. AE_OK is now
11637 in this case and the implicitly returned object is deleted.
11638 AcpiUtEvaluateObject is only occasionally used, and only to execute
11640 methods such as _STA and _INI where the return type is known up front.
11642 Fixed a few issues with the internal convert-to-integer code. It now
11644 an error if an attempt is made to convert a null string, a string of only
11645 blanks/tabs, or a zero-length buffer. This affects both implicit
11647 and explicit conversion via the ToInteger() operator.
11649 The internal debug code in AcpiUtAcquireMutex has been commented out. It
11651 not needed for normal operation and should increase the performance of
11653 entire subsystem. The code remains in case it is needed for debug
11657 The AcpiExec source and makefile are included in the Unix/Linux package
11661 Code and Data Size: Current and previous core subsystem library sizes are
11662 shown below. These are the code and data sizes for the acpica.lib
11664 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11665 any ACPI driver or OSPM code. The debug version of the code includes the
11666 debug output trace mechanism and has a much larger code and data size.
11668 that these values will vary depending on the efficiency of the compiler
11670 the compiler options used during generation.
11673 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11674 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11676 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
11677 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
11679 2) iASL Compiler/Disassembler:
11681 Switch/Case support: A warning is now issued if the type of the Switch
11683 cannot be determined at compile time. For example, Switch(Arg0) will
11684 generate the warning, and the type is assumed to be an integer. As per
11686 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
11690 Switch/Case support: Implemented support for buffer and string objects as
11691 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
11692 buffers and strings.
11694 Switch/Case support: The emitted code for the LEqual() comparisons now
11696 the switch value as the first operand, not the second. The case value is
11698 the second operand, and this allows the case value to be implicitly
11699 converted to the type of the switch value, not the other way around.
11701 Switch/Case support: Temporary variables are now emitted immediately
11703 the control method, not at the global level. This means that there are
11705 36 temps available per-method, not 36 temps per-module as was the case
11707 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
11709 ----------------------------------------
11710 14 January 2005. Summary of changes for version 20050114:
11712 Added 2005 copyright to all module headers. This affects every module in
11713 the core subsystem, iASL compiler, and the utilities.
11715 1) ACPI CA Core Subsystem:
11717 Fixed an issue with the String-to-Buffer conversion code where the string
11718 null terminator was not included in the buffer after conversion, but
11720 is existing ASL that assumes the string null terminator is included. This
11722 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
11723 introduced in the previous version when the code was updated to correctly
11724 set the converted buffer size as per the ACPI specification. The ACPI
11726 is ambiguous and will be updated to specify that the null terminator must
11728 included in the converted buffer. This also affects the ToBuffer() ASL
11731 Fixed a problem with the Mid() ASL/AML operator where it did not work
11732 correctly on Buffer objects. Newly created sub-buffers were not being
11737 Fixed a problem in AcpiTbFindTable where incorrect string compares were
11738 performed on the OemId and OemTableId table header fields. These fields
11740 not null terminated, so strncmp is now used instead of strcmp.
11742 Implemented a restriction on the Store() ASL/AML operator to align the
11743 behavior with the ACPI specification. Previously, any object could be
11745 as the source operand. Now, the only objects that may be used are
11747 Buffers, Strings, Packages, Object References, and DDB Handles. If
11748 necessary, the original behavior can be restored by enabling the
11749 EnableInterpreterSlack flag.
11751 Enhanced the optional "implicit return" support to allow an implicit
11753 value from methods that are invoked externally via the AcpiEvaluateObject
11754 interface. This enables implicit returns from the _STA and _INI methods,
11757 Changed the Revision() ASL/AML operator to return the current version of
11759 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
11761 the supported ACPI version (This is the function of the _REV method).
11763 Updated the _REV predefined method to return the currently supported
11767 Implemented batch mode option for the AcpiExec utility (-b).
11769 Code and Data Size: Current and previous core subsystem library sizes are
11770 shown below. These are the code and data sizes for the acpica.lib
11772 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11773 any ACPI driver or OSPM code. The debug version of the code includes the
11774 debug output trace mechanism and has a much larger code and data size.
11776 that these values will vary depending on the efficiency of the compiler
11778 the compiler options used during generation.
11781 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11782 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11784 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
11785 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
11787 ----------------------------------------
11788 10 December 2004. Summary of changes for version 20041210:
11790 ACPI 3.0 support is nearing completion in both the iASL compiler and the
11791 ACPI CA core subsystem.
11793 1) ACPI CA Core Subsystem:
11795 Fixed a problem in the ToDecimalString operator where the resulting
11797 length was incorrectly calculated. The length is now calculated exactly,
11798 eliminating incorrect AE_STRING_LIMIT exceptions.
11800 Fixed a problem in the ToHexString operator to allow a maximum 200
11802 string to be produced.
11804 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
11806 routine where the length of the resulting buffer was not truncated to the
11807 new size (if the target buffer already existed).
11809 Code and Data Size: Current and previous core subsystem library sizes are
11810 shown below. These are the code and data sizes for the acpica.lib
11812 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11813 any ACPI driver or OSPM code. The debug version of the code includes the
11814 debug output trace mechanism and has a much larger code and data size.
11816 that these values will vary depending on the efficiency of the compiler
11818 the compiler options used during generation.
11821 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11822 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11824 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11825 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
11828 2) iASL Compiler/Disassembler:
11830 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
11831 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
11832 Includes support in the disassembler.
11834 Implemented support for the new (ACPI 3.0) parameter to the Register
11838 Fixed a problem where the _HE resource name for the Interrupt macro was
11839 referencing bit 0 instead of bit 1.
11841 Implemented check for maximum 255 interrupts in the Interrupt macro.
11843 Fixed a problem with the predefined resource descriptor names where
11844 incorrect AML code was generated if the offset within the resource buffer
11845 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
11846 but did not update the surrounding package lengths.
11848 Changes to the Dma macro: All channels within the channel list must be
11850 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
11851 optional (default is BusMaster).
11853 Implemented check for maximum 7 data bytes for the VendorShort macro.
11855 The ReadWrite parameter is now optional for the Memory32 and similar
11858 ----------------------------------------
11859 03 December 2004. Summary of changes for version 20041203:
11861 1) ACPI CA Core Subsystem:
11863 The low-level field insertion/extraction code (exfldio) has been
11865 rewritten to eliminate unnecessary complexity, bugs, and boundary
11868 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
11870 operators where the input operand could be inadvertently deleted if no
11871 conversion was necessary (e.g., if the input to ToInteger was an Integer
11874 Fixed a problem with the ToDecimalString and ToHexString where an
11876 exception code was returned if the resulting string would be > 200 chars.
11877 AE_STRING_LIMIT is now returned.
11879 Fixed a problem with the Concatenate operator where AE_OK was always
11880 returned, even if the operation failed.
11882 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
11883 semaphores to be allocated.
11885 Code and Data Size: Current and previous core subsystem library sizes are
11886 shown below. These are the code and data sizes for the acpica.lib
11888 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11889 any ACPI driver or OSPM code. The debug version of the code includes the
11890 debug output trace mechanism and has a much larger code and data size.
11892 that these values will vary depending on the efficiency of the compiler
11894 the compiler options used during generation.
11897 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11898 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11900 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
11901 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
11904 2) iASL Compiler/Disassembler:
11906 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
11907 recently introduced in 20041119.
11909 Fixed a problem with the ToUUID macro where the upper nybble of each
11911 byte was inadvertently set to zero.
11913 ----------------------------------------
11914 19 November 2004. Summary of changes for version 20041119:
11916 1) ACPI CA Core Subsystem:
11918 Fixed a problem in the internal ConvertToInteger routine where new
11920 were not truncated to 32 bits for 32-bit ACPI tables. This routine
11922 buffers and strings to integers.
11924 Implemented support to store a value to an Index() on a String object.
11926 is an ACPI 2.0 feature that had not yet been implemented.
11928 Implemented new behavior for storing objects to individual package
11930 (via the Index() operator). The previous behavior was to invoke the
11932 conversion rules if an object was already present at the index. The new
11933 behavior is to simply delete any existing object and directly store the
11935 object. Although the ACPI specification seems unclear on this subject,
11937 ACPI implementations behave in this manner. (This is the root of the
11938 AE_BAD_HEX_CONSTANT issue.)
11940 Modified the RSDP memory scan mechanism to support the extended checksum
11942 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
11943 RSDP signature is found with a valid checksum.
11945 Code and Data Size: Current and previous core subsystem library sizes are
11946 shown below. These are the code and data sizes for the acpica.lib
11948 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11949 any ACPI driver or OSPM code. The debug version of the code includes the
11950 debug output trace mechanism and has a much larger code and data size.
11952 that these values will vary depending on the efficiency of the compiler
11954 the compiler options used during generation.
11957 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11958 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11960 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
11961 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
11964 2) iASL Compiler/Disassembler:
11966 Fixed a missing semicolon in the aslcompiler.y file.
11968 ----------------------------------------
11969 05 November 2004. Summary of changes for version 20041105:
11971 1) ACPI CA Core Subsystem:
11973 Implemented support for FADT revision 2. This was an interim table
11975 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
11977 Implemented optional support to allow uninitialized LocalX and ArgX
11978 variables in a control method. The variables are initialized to an
11980 object with a value of zero. This support is enabled by setting the
11981 AcpiGbl_EnableInterpreterSlack flag to TRUE.
11983 Implemented support for Integer objects for the SizeOf operator. Either
11985 or 8 is returned, depending on the current integer size (32-bit or 64-
11987 depending on the parent table revision).
11989 Fixed a problem in the implementation of the SizeOf and ObjectType
11991 where the operand was resolved to a value too early, causing incorrect
11992 return values for some objects.
11994 Fixed some possible memory leaks during exceptional conditions.
11996 Code and Data Size: Current and previous core subsystem library sizes are
11997 shown below. These are the code and data sizes for the acpica.lib
11999 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12000 any ACPI driver or OSPM code. The debug version of the code includes the
12001 debug output trace mechanism and has a much larger code and data size.
12003 that these values will vary depending on the efficiency of the compiler
12005 the compiler options used during generation.
12008 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12009 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
12011 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
12012 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
12015 2) iASL Compiler/Disassembler:
12017 Implemented support for all ACPI 3.0 reserved names and methods.
12019 Implemented all ACPI 3.0 grammar elements in the front-end, including
12020 support for semicolons.
12022 Implemented the ACPI 3.0 Function() and ToUUID() macros
12024 Fixed a problem in the disassembler where a Scope() operator would not be
12025 emitted properly if the target of the scope was in another table.
12027 ----------------------------------------
12028 15 October 2004. Summary of changes for version 20041015:
12030 Note: ACPI CA is currently undergoing an in-depth and complete formal
12031 evaluation to test/verify the following areas. Other suggestions are
12032 welcome. This will result in an increase in the frequency of releases and
12033 the number of bug fixes in the next few months.
12034 - Functional tests for all ASL/AML operators
12035 - All implicit/explicit type conversions
12036 - Bit fields and operation regions
12037 - 64-bit math support and 32-bit-only "truncated" math support
12038 - Exceptional conditions, both compiler and interpreter
12039 - Dynamic object deletion and memory leaks
12040 - ACPI 3.0 support when implemented
12041 - External interfaces to the ACPI subsystem
12044 1) ACPI CA Core Subsystem:
12046 Fixed two alignment issues on 64-bit platforms - within debug statements
12048 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
12050 field within the non-aligned ACPI generic address structure.
12052 Fixed a problem in the Increment and Decrement operators where incorrect
12053 operand resolution could result in the inadvertent modification of the
12054 original integer when the integer is passed into another method as an
12055 argument and the arg is then incremented/decremented.
12057 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
12059 BCD number were truncated during conversion.
12061 Fixed a problem in the ToDecimal operator where the length of the
12063 string could be set incorrectly too long if the input operand was a
12067 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
12069 within a buffer would prematurely terminate a compare between buffer
12072 Added a check for string overflow (>200 characters as per the ACPI
12073 specification) during the Concatenate operator with two string operands.
12075 Code and Data Size: Current and previous core subsystem library sizes are
12076 shown below. These are the code and data sizes for the acpica.lib
12078 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12079 any ACPI driver or OSPM code. The debug version of the code includes the
12080 debug output trace mechanism and has a much larger code and data size.
12082 that these values will vary depending on the efficiency of the compiler
12084 the compiler options used during generation.
12087 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12088 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
12090 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12091 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
12095 2) iASL Compiler/Disassembler:
12097 Allow the use of the ObjectType operator on uninitialized Locals and Args
12098 (returns 0 as per the ACPI specification).
12100 Fixed a problem where the compiler would fault if there was a syntax
12102 in the FieldName of all of the various CreateXXXField operators.
12104 Disallow the use of lower case letters within the EISAID macro, as per
12106 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
12108 U is an uppercase letter and N is a hex digit.
12111 ----------------------------------------
12112 06 October 2004. Summary of changes for version 20041006:
12114 1) ACPI CA Core Subsystem:
12116 Implemented support for the ACPI 3.0 Timer operator. This ASL function
12117 implements a 64-bit timer with 100 nanosecond granularity.
12119 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
12120 implement the ACPI 3.0 Timer operator. This allows the host OS to
12122 the timer with the best clock available. Also, it keeps the core
12124 out of the clock handling business, since the host OS (usually) performs
12127 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
12128 functions use a 64-bit address which is part of the packed ACPI Generic
12129 Address Structure. Since the structure is non-aligned, the alignment
12131 are now used to extract the address to a local variable before use.
12133 Fixed a problem where the ToInteger operator assumed all input strings
12135 hexadecimal. The operator now handles both decimal strings and hex
12137 (prefixed with "0x").
12139 Fixed a problem where the string length in the string object created as a
12140 result of the internal ConvertToString procedure could be incorrect. This
12141 potentially affected all implicit conversions and also the
12143 and ToHexString operators.
12145 Fixed two problems in the ToString operator. If the length parameter was
12146 zero, an incorrect string object was created and the value of the input
12147 length parameter was inadvertently changed from zero to Ones.
12149 Fixed a problem where the optional ResourceSource string in the
12151 resource macro was ignored.
12153 Simplified the interfaces to the internal division functions, reducing
12155 size and complexity.
12157 Code and Data Size: Current and previous core subsystem library sizes are
12158 shown below. These are the code and data sizes for the acpica.lib
12160 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12161 any ACPI driver or OSPM code. The debug version of the code includes the
12162 debug output trace mechanism and has a much larger code and data size.
12164 that these values will vary depending on the efficiency of the compiler
12166 the compiler options used during generation.
12169 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
12170 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
12172 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12173 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
12176 2) iASL Compiler/Disassembler:
12178 Implemented support for the ACPI 3.0 Timer operator.
12180 Fixed a problem where the Default() operator was inadvertently ignored in
12182 Switch/Case block. This was a problem in the translation of the Switch
12183 statement to If...Else pairs.
12185 Added support to allow a standalone Return operator, with no parentheses
12189 Fixed a problem with code generation for the ElseIf operator where the
12190 translated Else...If parse tree was improperly constructed leading to the
12193 ----------------------------------------
12194 22 September 2004. Summary of changes for version 20040922:
12196 1) ACPI CA Core Subsystem:
12198 Fixed a problem with the implementation of the LNot() operator where
12200 was not returned for the TRUE case. Changed the code to return Ones
12202 of (!Arg) which was usually 1. This change affects iASL constant folding
12204 this operator also.
12206 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
12208 initialized properly -- Now zero the entire buffer in this case where the
12209 buffer already exists.
12211 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
12212 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
12213 related code considerably. This will require changes/updates to all OS
12214 interface layers (OSLs.)
12216 Implemented a new external interface, AcpiInstallExceptionHandler, to
12218 a system exception handler to be installed. This handler is invoked upon
12220 run-time exception that occurs during control method execution.
12222 Added support for the DSDT in AcpiTbFindTable. This allows the
12223 DataTableRegion() operator to access the local copy of the DSDT.
12225 Code and Data Size: Current and previous core subsystem library sizes are
12226 shown below. These are the code and data sizes for the acpica.lib
12228 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12229 any ACPI driver or OSPM code. The debug version of the code includes the
12230 debug output trace mechanism and has a much larger code and data size.
12232 that these values will vary depending on the efficiency of the compiler
12234 the compiler options used during generation.
12237 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
12238 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
12240 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
12241 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
12244 2) iASL Compiler/Disassembler:
12246 Fixed a problem with constant folding and the LNot operator. LNot was
12247 returning 1 in the TRUE case, not Ones as per the ACPI specification.
12249 could result in the generation of an incorrect folded/reduced constant.
12251 End-Of-File is now allowed within a "//"-style comment. A parse error no
12252 longer occurs if such a comment is at the very end of the input ASL
12256 Implemented the "-r" option to override the Revision in the table header.
12257 The initial use of this option will be to simplify the evaluation of the
12259 interpreter by allowing a single ASL source module to be compiled for
12261 32-bit or 64-bit integers.
12264 ----------------------------------------
12265 27 August 2004. Summary of changes for version 20040827:
12267 1) ACPI CA Core Subsystem:
12269 - Implemented support for implicit object conversion in the non-numeric
12270 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
12272 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
12273 the second operand is implicitly converted on the fly to match the type
12275 the first operand. For example:
12277 LEqual (Source1, Source2)
12279 Source1 and Source2 must each evaluate to an integer, a string, or a
12281 The data type of Source1 dictates the required type of Source2. Source2
12283 implicitly converted if necessary to match the type of Source1.
12285 - Updated and corrected the behavior of the string conversion support.
12287 rules concerning conversion of buffers to strings (according to the ACPI
12288 specification) are as follows:
12290 ToDecimalString - explicit byte-wise conversion of buffer to string of
12291 decimal values (0-255) separated by commas. ToHexString - explicit byte-
12293 conversion of buffer to string of hex values (0-FF) separated by commas.
12294 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
12296 copy with no transform except NULL terminated. Any other implicit buffer-
12298 string conversion - byte-wise conversion of buffer to string of hex
12300 (0-FF) separated by spaces.
12302 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
12304 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
12306 one byte too short in the case of a node in the root scope. This could
12307 cause a fault during debug output.
12309 - Code and Data Size: Current and previous core subsystem library sizes
12311 shown below. These are the code and data sizes for the acpica.lib
12313 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12314 any ACPI driver or OSPM code. The debug version of the code includes the
12315 debug output trace mechanism and has a much larger code and data size.
12317 that these values will vary depending on the efficiency of the compiler
12319 the compiler options used during generation.
12322 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
12323 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
12325 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
12326 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
12329 2) iASL Compiler/Disassembler:
12331 - Fixed a Linux generation error.
12334 ----------------------------------------
12335 16 August 2004. Summary of changes for version 20040816:
12337 1) ACPI CA Core Subsystem:
12339 Designed and implemented support within the AML interpreter for the so-
12340 called "implicit return". This support returns the result of the last
12342 operation within a control method, in the absence of an explicit Return()
12343 operator. A few machines depend on this behavior, even though it is not
12344 explicitly supported by the ASL language. It is optional support that
12346 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
12348 Removed support for the PCI_Config address space from the internal low
12350 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
12351 support was not used internally, and would not work correctly anyway
12353 the PCI bus number and segment number were not supported. There are
12354 separate interfaces for PCI configuration space access because of the
12358 Code and Data Size: Current and previous core subsystem library sizes are
12359 shown below. These are the code and data sizes for the acpica.lib
12361 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12362 any ACPI driver or OSPM code. The debug version of the code includes the
12363 debug output trace mechanism and has a much larger code and data size.
12365 that these values will vary depending on the efficiency of the compiler
12367 the compiler options used during generation.
12370 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12371 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
12373 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
12374 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
12377 2) iASL Compiler/Disassembler:
12379 Fixed a problem where constants in ASL expressions at the root level (not
12380 within a control method) could be inadvertently truncated during code
12381 generation. This problem was introduced in the 20040715 release.
12384 ----------------------------------------
12385 15 July 2004. Summary of changes for version 20040715:
12387 1) ACPI CA Core Subsystem:
12389 Restructured the internal HW GPE interfaces to pass/track the current
12391 of interrupts (enabled/disabled) in order to avoid possible deadlock and
12392 increase flexibility of the interfaces.
12394 Implemented a "lexicographical compare" for String and Buffer objects
12396 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
12398 as per further clarification to the ACPI specification. Behavior is
12400 to C library "strcmp".
12402 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
12403 external function. In the 32-bit non-debug case, the stack use has been
12404 reduced from 168 bytes to 32 bytes.
12406 Deployed a new run-time configuration flag,
12407 AcpiGbl_EnableInterpreterSlack,
12408 whose purpose is to allow the AML interpreter to forgive certain bad AML
12409 constructs. Default setting is FALSE.
12411 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
12413 support code. If enabled, it allows field access to go beyond the end of
12415 region definition if the field is within the region length rounded up to
12417 next access width boundary (a common coding error.)
12419 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
12420 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
12422 symbols are lowercased by the latest version of the AcpiSrc tool.
12424 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
12425 rename "Register" to simply "Reg" to prevent certain compilers from
12428 Code and Data Size: Current and previous core subsystem library sizes are
12429 shown below. These are the code and data sizes for the acpica.lib
12431 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12432 any ACPI driver or OSPM code. The debug version of the code includes the
12433 debug output trace mechanism and has a much larger code and data size.
12435 that these values will vary depending on the efficiency of the compiler
12437 the compiler options used during generation.
12440 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12441 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
12443 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
12444 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
12447 2) iASL Compiler/Disassembler:
12449 Implemented full support for Package objects within the Case() operator.
12450 Note: The Break() operator is currently not supported within Case blocks
12451 (TermLists) as there is some question about backward compatibility with
12456 Fixed a problem where complex terms were not supported properly within
12460 Eliminated extraneous warning for compiler-emitted reserved names of the
12461 form "_T_x". (Used in Switch/Case operators.)
12463 Eliminated optimization messages for "_T_x" objects and small constants
12464 within the DefinitionBlock operator.
12467 ----------------------------------------
12468 15 June 2004. Summary of changes for version 20040615:
12470 1) ACPI CA Core Subsystem:
12472 Implemented support for Buffer and String objects (as per ACPI 2.0) for
12474 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
12477 All directory names in the entire source package are lower case, as they
12478 were in earlier releases.
12480 Implemented "Disassemble" command in the AML debugger that will
12482 a single control method.
12484 Code and Data Size: Current and previous core subsystem library sizes are
12485 shown below. These are the code and data sizes for the acpica.lib
12487 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12488 any ACPI driver or OSPM code. The debug version of the code includes the
12489 debug output trace mechanism and has a much larger code and data size.
12491 that these values will vary depending on the efficiency of the compiler
12493 the compiler options used during generation.
12496 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
12497 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
12500 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
12501 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
12504 2) iASL Compiler/Disassembler:
12506 Implemented support for Buffer and String objects (as per ACPI 2.0) for
12508 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
12511 All directory names in the entire source package are lower case, as they
12512 were in earlier releases.
12514 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
12517 Fixed an issue with the Windows version of the compiler where later
12519 of Windows place the FADT in the registry under the name "FADT" and not
12520 "FACP" as earlier versions did. This applies when using the -g or -
12521 d<nofilename> options. The compiler now looks for both strings as
12524 Fixed a problem with compiler namepath optimization where a namepath
12526 the Scope() operator could not be optimized if the namepath was a subpath
12528 the current scope path.
12530 ----------------------------------------
12531 27 May 2004. Summary of changes for version 20040527:
12533 1) ACPI CA Core Subsystem:
12535 Completed a new design and implementation for EBDA (Extended BIOS Data
12537 support in the RSDP scan code. The original code improperly scanned for
12539 EBDA by simply scanning from memory location 0 to 0x400. The correct
12541 is to first obtain the EBDA pointer from within the BIOS data area, then
12542 scan 1K of memory starting at the EBDA pointer. There appear to be few
12544 any machines that place the RSDP in the EBDA, however.
12546 Integrated a fix for a possible fault during evaluation of BufferField
12547 arguments. Obsolete code that was causing the problem was removed.
12549 Found and fixed a problem in the Field Support Code where data could be
12550 corrupted on a bit field read that starts on an aligned boundary but does
12551 not end on an aligned boundary. Merged the read/write "datum length"
12552 calculation code into a common procedure.
12554 Rolled in a couple of changes to the FreeBSD-specific header.
12557 Code and Data Size: Current and previous core subsystem library sizes are
12558 shown below. These are the code and data sizes for the acpica.lib
12560 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12561 any ACPI driver or OSPM code. The debug version of the code includes the
12562 debug output trace mechanism and has a much larger code and data size.
12564 that these values will vary depending on the efficiency of the compiler
12566 the compiler options used during generation.
12569 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12570 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
12572 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
12573 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
12576 2) iASL Compiler/Disassembler:
12578 Fixed a generation warning produced by some overly-verbose compilers for
12582 ----------------------------------------
12583 14 May 2004. Summary of changes for version 20040514:
12585 1) ACPI CA Core Subsystem:
12587 Fixed a problem where hardware GPE enable bits sometimes not set properly
12588 during and after GPE method execution. Result of 04/27 changes.
12590 Removed extra "clear all GPEs" when sleeping/waking.
12592 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
12593 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
12595 the new AcpiEv* calls as appropriate.
12597 ACPI_OS_NAME was removed from the OS-specific headers. The default name
12599 now "Microsoft Windows NT" for maximum compatibility. However this can
12601 changed by modifying the acconfig.h file.
12603 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
12604 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
12606 Run _INI methods on ThermalZone objects. This is against the ACPI
12607 specification, but there is apparently ASL code in the field that has
12609 _INI methods, and apparently "other" AML interpreters execute them.
12611 Performed a full 16/32/64 bit lint that resulted in some small changes.
12613 Added a sleep simulation command to the AML debugger to test sleep code.
12615 Code and Data Size: Current and previous core subsystem library sizes are
12616 shown below. These are the code and data sizes for the acpica.lib
12618 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12619 any ACPI driver or OSPM code. The debug version of the code includes the
12620 debug output trace mechanism and has a much larger code and data size.
12622 that these values will vary depending on the efficiency of the compiler
12624 the compiler options used during generation.
12627 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12628 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12630 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12631 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
12633 ----------------------------------------
12634 27 April 2004. Summary of changes for version 20040427:
12636 1) ACPI CA Core Subsystem:
12638 Completed a major overhaul of the GPE handling within ACPI CA. There are
12639 now three types of GPEs: wake-only, runtime-only, and combination
12641 The only GPEs allowed to be combination wake/run are for button-style
12642 devices such as a control-method power button, control-method sleep
12644 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
12646 referenced by any _PRW methods are marked for "runtime" and hardware
12647 enabled. Any GPE that is referenced by a _PRW method is marked for
12649 (and disabled at runtime). However, at sleep time, only those GPEs that
12650 have been specifically enabled for wake via the AcpiEnableGpe interface
12652 actually be hardware enabled.
12654 A new external interface has been added, AcpiSetGpeType(), that is meant
12656 be used by device drivers to force a GPE to a particular type. It will
12658 especially useful for the drivers for the button devices mentioned above.
12660 Completed restructuring of the ACPI CA initialization sequence so that
12661 default operation region handlers are installed before GPEs are
12663 and the _PRW methods are executed. This will prevent errors when the
12665 methods attempt to access system memory or I/O space.
12667 GPE enable/disable no longer reads the GPE enable register. We now keep
12669 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
12670 thus no longer depend on the hardware to maintain these bits.
12672 Always clear the wake status and fixed/GPE status bits before sleep, even
12675 Improved the AML debugger output for displaying the GPE blocks and their
12678 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
12682 Fixed a problem where the physical address was incorrectly calculated
12684 the Load() operator was used to directly load from an Operation Region
12686 loading from a Field object.) Also added check for minimum table length
12690 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
12693 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
12694 consistency with the other fields returned.
12696 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
12697 structure for each GPE in the system, so the size of this structure is
12700 CPU stack requirement reduction: Cleaned up the method execution and
12702 evaluation paths so that now a parameter structure is passed, instead of
12703 copying the various method parameters over and over again.
12705 In evregion.c: Correctly exit and reenter the interpreter region if and
12706 only if dispatching an operation region request to a user-installed
12708 Do not exit/reenter when dispatching to a default handler (e.g., default
12709 system memory or I/O handlers)
12712 Notes for updating drivers for the new GPE support. The following
12714 must be made to ACPI-related device drivers that are attached to one or
12716 GPEs: (This information will be added to the ACPI CA Programmer
12719 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
12721 explicitly call AcpiEnableGpe.
12722 2) There is a new interface called AcpiSetGpeType. This should be called
12723 before enabling the GPE. Also, this interface will automatically disable
12724 the GPE if it is currently enabled.
12725 3) AcpiEnableGpe no longer supports a GPE type flag.
12727 Specific drivers that must be changed:
12729 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
12730 AeGpeHandler, NULL);
12731 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
12732 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
12734 2) Button Drivers (Power, Lid, Sleep):
12735 Run _PRW method under parent device
12736 If _PRW exists: /* This is a control-method button */
12737 Extract GPE number and possibly GpeDevice
12738 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
12739 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
12741 For all other devices that have _PRWs, we automatically set the GPE type
12743 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
12745 must be done on a selective basis, usually requiring some kind of user
12747 to allow the user to pick the wake devices.
12750 Code and Data Size: Current and previous core subsystem library sizes are
12751 shown below. These are the code and data sizes for the acpica.lib
12753 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12754 any ACPI driver or OSPM code. The debug version of the code includes the
12755 debug output trace mechanism and has a much larger code and data size.
12757 that these values will vary depending on the efficiency of the compiler
12759 the compiler options used during generation.
12762 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
12763 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
12766 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
12767 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
12771 ----------------------------------------
12772 02 April 2004. Summary of changes for version 20040402:
12774 1) ACPI CA Core Subsystem:
12776 Fixed an interpreter problem where an indirect store through an ArgX
12777 parameter was incorrectly applying the "implicit conversion rules" during
12778 the store. From the ACPI specification: "If the target is a method local
12780 argument (LocalX or ArgX), no conversion is performed and the result is
12781 stored directly to the target". The new behavior is to disable implicit
12782 conversion during ALL stores to an ArgX.
12784 Changed the behavior of the _PRW method scan to ignore any and all errors
12785 returned by a given _PRW. This prevents the scan from aborting from the
12786 failure of any single _PRW.
12788 Moved the runtime configuration parameters from the global init procedure
12790 static variables in acglobal.h. This will allow the host to override the
12791 default values easily.
12793 Code and Data Size: Current and previous core subsystem library sizes are
12794 shown below. These are the code and data sizes for the acpica.lib
12796 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12797 any ACPI driver or OSPM code. The debug version of the code includes the
12798 debug output trace mechanism and has a much larger code and data size.
12800 that these values will vary depending on the efficiency of the compiler
12802 the compiler options used during generation.
12805 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
12806 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
12808 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
12809 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
12812 2) iASL Compiler/Disassembler:
12814 iASL now fully disassembles SSDTs. However, External() statements are
12816 generated automatically for unresolved symbols at this time. This is a
12817 planned feature for future implementation.
12819 Fixed a scoping problem in the disassembler that occurs when the type of
12821 target of a Scope() operator is overridden. This problem caused an
12822 incorrectly nested internal namespace to be constructed.
12824 Any warnings or errors that are emitted during disassembly are now
12826 out automatically so that the resulting file can be recompiled without
12830 ----------------------------------------
12831 26 March 2004. Summary of changes for version 20040326:
12833 1) ACPI CA Core Subsystem:
12835 Implemented support for "wake" GPEs via interaction between GPEs and the
12836 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
12837 identified as a WAKE GPE and by default will no longer be enabled at
12838 runtime. Previously, we were blindly enabling all GPEs with a
12840 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
12842 believe this has been the cause of thousands of "spurious" GPEs on some
12845 This new GPE behavior is can be reverted to the original behavior (enable
12846 ALL GPEs at runtime) via a runtime flag.
12848 Fixed a problem where aliased control methods could not access objects
12849 properly. The proper scope within the namespace was not initialized
12850 (transferred to the target of the aliased method) before executing the
12853 Fixed a potential race condition on internal object deletion on the
12855 object in AcpiEvaluateObject.
12857 Integrated a fix for resource descriptors where both _MEM and _MTP were
12858 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
12859 wide, 0x0F instead of 0x03.)
12861 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
12864 fault in some cases.
12866 Updated Notify() values for debug statements in evmisc.c
12868 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
12870 Code and Data Size: Current and previous core subsystem library sizes are
12871 shown below. These are the code and data sizes for the acpica.lib
12873 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12874 any ACPI driver or OSPM code. The debug version of the code includes the
12875 debug output trace mechanism and has a much larger code and data size.
12877 that these values will vary depending on the efficiency of the compiler
12879 the compiler options used during generation.
12883 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12884 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12886 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
12887 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
12889 ----------------------------------------
12890 11 March 2004. Summary of changes for version 20040311:
12892 1) ACPI CA Core Subsystem:
12894 Fixed a problem where errors occurring during the parse phase of control
12895 method execution did not abort cleanly. For example, objects created and
12896 installed in the namespace were not deleted. This caused all subsequent
12897 invocations of the method to return the AE_ALREADY_EXISTS exception.
12899 Implemented a mechanism to force a control method to "Serialized"
12901 if the method attempts to create namespace objects. (The root of the
12902 AE_ALREADY_EXISTS problem.)
12904 Implemented support for the predefined _OSI "internal" control method.
12905 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
12907 "Windows 2001.1", and can be easily upgraded for new strings as
12909 This feature will allow "other" operating systems to execute the fully
12910 tested, "Windows" code path through the ASL code
12912 Global Lock Support: Now allows multiple acquires and releases with any
12913 internal thread. Removed concept of "owning thread" for this special
12916 Fixed two functions that were inappropriately declaring large objects on
12918 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
12920 method execution considerably.
12922 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
12923 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
12925 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
12926 defined on the machine.
12928 Implemented two runtime options: One to force all control method
12930 to "Serialized" to mimic Windows behavior, another to disable _OSI
12932 if it causes problems on a given machine.
12934 Code and Data Size: Current and previous core subsystem library sizes are
12935 shown below. These are the code and data sizes for the acpica.lib
12937 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12938 any ACPI driver or OSPM code. The debug version of the code includes the
12939 debug output trace mechanism and has a much larger code and data size.
12941 that these values will vary depending on the efficiency of the compiler
12943 the compiler options used during generation.
12946 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
12947 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
12949 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
12950 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
12952 2) iASL Compiler/Disassembler:
12954 Fixed an array size problem for FreeBSD that would cause the compiler to
12957 ----------------------------------------
12958 20 February 2004. Summary of changes for version 20040220:
12961 1) ACPI CA Core Subsystem:
12963 Implemented execution of _SxD methods for Device objects in the
12964 GetObjectInfo interface.
12966 Fixed calls to _SST method to pass the correct arguments.
12968 Added a call to _SST on wake to restore to "working" state.
12970 Check for End-Of-Buffer failure case in the WalkResources interface.
12972 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
12973 structures to the beginning of the file.
12975 After wake, clear GPE status register(s) before enabling GPEs.
12977 After wake, clear/enable power button. (Perhaps we should clear/enable
12979 fixed events upon wake.)
12981 Fixed a couple of possible memory leaks in the Namespace manager.
12983 Integrated latest acnetbsd.h file.
12985 ----------------------------------------
12986 11 February 2004. Summary of changes for version 20040211:
12989 1) ACPI CA Core Subsystem:
12991 Completed investigation and implementation of the call-by-reference
12992 mechanism for control method arguments.
12994 Fixed a problem where a store of an object into an indexed package could
12995 fail if the store occurs within a different method than the method that
12996 created the package.
12998 Fixed a problem where the ToDecimal operator could return incorrect
13001 Fixed a problem where the CopyObject operator could fail on some of the
13003 obscure objects (e.g., Reference objects.)
13005 Improved the output of the Debug object to display buffer, package, and
13008 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
13010 the expected result.
13012 Added permanent ACPI_REPORT_ERROR macros for all instances of the
13013 ACPI_AML_INTERNAL exception.
13015 Integrated latest version of acfreebsd.h
13017 ----------------------------------------
13018 16 January 2004. Summary of changes for version 20040116:
13020 The purpose of this release is primarily to update the copyright years in
13021 each module, thus causing a huge number of diffs. There are a few small
13022 functional changes, however.
13024 1) ACPI CA Core Subsystem:
13026 Improved error messages when there is a problem finding one or more of
13028 required base ACPI tables
13030 Reintroduced the definition of APIC_HEADER in actbl.h
13032 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
13034 Removed extraneous reference to NewObj in dsmthdat.c
13038 Fixed a problem introduced in December that disabled the correct
13040 of Resource Templates
13043 ----------------------------------------
13044 03 December 2003. Summary of changes for version 20031203:
13046 1) ACPI CA Core Subsystem:
13048 Changed the initialization of Operation Regions during subsystem
13049 init to perform two entire walks of the ACPI namespace; The first
13050 to initialize the regions themselves, the second to execute the
13051 _REG methods. This fixed some interdependencies across _REG
13052 methods found on some machines.
13054 Fixed a problem where a Store(Local0, Local1) could simply update
13055 the object reference count, and not create a new copy of the
13056 object if the Local1 is uninitialized.
13058 Implemented support for the _SST reserved method during sleep
13061 Implemented support to clear the SLP_TYP and SLP_EN bits when
13062 waking up, this is apparently required by some machines.
13064 When sleeping, clear the wake status only if SleepState is not S5.
13066 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
13067 pointer arithmetic advanced a string pointer too far.
13069 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
13070 could be returned if the requested table has not been loaded.
13072 Within the support for IRQ resources, restructured the handling of
13073 the active and edge/level bits.
13075 Fixed a few problems in AcpiPsxExecute() where memory could be
13076 leaked under certain error conditions.
13078 Improved error messages for the cases where the ACPI mode could
13081 Code and Data Size: Current and previous core subsystem library
13082 sizes are shown below. These are the code and data sizes for the
13083 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13084 these values do not include any ACPI driver or OSPM code. The
13085 debug version of the code includes the debug output trace
13086 mechanism and has a much larger code and data size. Note that
13087 these values will vary depending on the efficiency of the compiler
13088 and the compiler options used during generation.
13090 Previous Release (20031029):
13091 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
13092 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
13094 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
13095 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
13097 2) iASL Compiler/Disassembler:
13099 Implemented a fix for the iASL disassembler where a bad index was
13100 generated. This was most noticeable on 64-bit platforms
13103 ----------------------------------------
13104 29 October 2003. Summary of changes for version 20031029:
13106 1) ACPI CA Core Subsystem:
13109 Fixed a problem where a level-triggered GPE with an associated
13110 _Lxx control method was incorrectly cleared twice.
13112 Fixed a problem with the Field support code where an access can
13113 occur beyond the end-of-region if the field is non-aligned but
13114 extends to the very end of the parent region (resulted in an
13115 AE_AML_REGION_LIMIT exception.)
13117 Fixed a problem with ACPI Fixed Events where an RT Clock handler
13118 would not get invoked on an RTC event. The RTC event bitmasks for
13119 the PM1 registers were not being initialized properly.
13121 Implemented support for executing _STA and _INI methods for
13122 Processor objects. Although this is currently not part of the
13123 ACPI specification, there is existing ASL code that depends on the
13124 init-time execution of these methods.
13126 Implemented and deployed a GetDescriptorName function to decode
13127 the various types of internal descriptors. Guards against null
13128 descriptors during debug output also.
13130 Implemented and deployed a GetNodeName function to extract the 4-
13131 character namespace node name. This function simplifies the debug
13132 and error output, as well as guarding against null pointers during
13135 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
13136 simplify the debug and error output of 64-bit integers. This
13137 macro replaces the HIDWORD and LODWORD macros for dumping these
13140 Updated the implementation of the Stall() operator to only call
13141 AcpiOsStall(), and also return an error if the operand is larger
13142 than 255. This preserves the required behavior of not
13143 relinquishing the processor, as would happen if AcpiOsSleep() was
13144 called for "long stalls".
13146 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
13147 initialized are now treated as NOOPs.
13149 Cleaned up a handful of warnings during 64-bit generation.
13151 Fixed a reported error where and incorrect GPE number was passed
13152 to the GPE dispatch handler. This value is only used for error
13153 output, however. Used this opportunity to clean up and streamline
13154 the GPE dispatch code.
13156 Code and Data Size: Current and previous core subsystem library
13157 sizes are shown below. These are the code and data sizes for the
13158 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13159 these values do not include any ACPI driver or OSPM code. The
13161 debug version of the code includes the debug output trace
13162 mechanism and has a much larger code and data size. Note that
13163 these values will vary depending on the efficiency of the compiler
13164 and the compiler options used during generation.
13166 Previous Release (20031002):
13167 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
13168 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
13170 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
13171 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
13174 2) iASL Compiler/Disassembler:
13176 Updated the iASL compiler to return an error if the operand to the
13177 Stall() operator is larger than 255.
13180 ----------------------------------------
13181 02 October 2003. Summary of changes for version 20031002:
13184 1) ACPI CA Core Subsystem:
13186 Fixed a problem with Index Fields where the index was not
13187 incremented for fields that require multiple writes to the
13188 index/data registers (Fields that are wider than the data
13191 Fixed a problem with all Field objects where a write could go
13192 beyond the end-of-field if the field was larger than the access
13193 granularity and therefore required multiple writes to complete the
13194 request. An extra write beyond the end of the field could happen
13197 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
13198 would incorrectly be returned if the width of the Data Register
13199 was larger than the specified field access width.
13201 Completed fixes for LoadTable() and Unload() and verified their
13202 operation. Implemented full support for the "DdbHandle" object
13203 throughout the ACPI CA subsystem.
13205 Implemented full support for the MADT and ECDT tables in the ACPI
13206 CA header files. Even though these tables are not directly
13207 consumed by ACPI CA, the header definitions are useful for ACPI
13210 Integrated resource descriptor fixes posted to the Linux ACPI
13211 list. This included checks for minimum descriptor length, and
13212 support for trailing NULL strings within descriptors that have
13213 optional string elements.
13215 Code and Data Size: Current and previous core subsystem library
13216 sizes are shown below. These are the code and data sizes for the
13217 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13218 these values do not include any ACPI driver or OSPM code. The
13219 debug version of the code includes the debug output trace
13220 mechanism and has a much larger code and data size. Note that
13221 these values will vary depending on the efficiency of the compiler
13222 and the compiler options used during generation.
13224 Previous Release (20030918):
13225 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
13226 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
13228 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
13229 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
13234 Implemented detection of non-ASCII characters within the input
13235 source ASL file. This catches attempts to compile binary (AML)
13236 files early in the compile, with an informative error message.
13238 Fixed a problem where the disassembler would fault if the output
13239 filename could not be generated or if the output file could not be
13242 ----------------------------------------
13243 18 September 2003. Summary of changes for version 20030918:
13246 1) ACPI CA Core Subsystem:
13248 Found and fixed a longstanding problem with the late execution of
13249 the various deferred AML opcodes (such as Operation Regions,
13250 Buffer Fields, Buffers, and Packages). If the name string
13251 specified for the name of the new object placed the object in a
13252 scope other than the current scope, the initialization/execution
13253 of the opcode failed. The solution to this problem was to
13254 implement a mechanism where the late execution of such opcodes
13255 does not attempt to lookup/create the name a second time in an
13256 incorrect scope. This fixes the "region size computed
13257 incorrectly" problem.
13259 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
13260 Global Lock AE_BAD_PARAMETER error.
13262 Fixed several 64-bit issues with prototypes, casting and data
13265 Removed duplicate prototype from acdisasm.h
13267 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
13269 Code and Data Size: Current and previous core subsystem library
13270 sizes are shown below. These are the code and data sizes for the
13271 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13272 these values do not include any ACPI driver or OSPM code. The
13273 debug version of the code includes the debug output trace
13274 mechanism and has a much larger code and data size. Note that
13275 these values will vary depending on the efficiency of the compiler
13276 and the compiler options used during generation.
13280 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
13281 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
13283 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
13284 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
13289 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
13290 correct sleep time in seconds.
13292 ----------------------------------------
13293 14 July 2003. Summary of changes for version 20030619:
13295 1) ACPI CA Core Subsystem:
13297 Parse SSDTs in order discovered, as opposed to reverse order
13300 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
13307 Dynamically allocate SDT list (suggested by Andi Kleen)
13309 proc function return value cleanups (Andi Kleen)
13311 Correctly handle NMI watchdog during long stalls (Andrew Morton)
13313 Make it so acpismp=force works (reported by Andrew Morton)
13316 ----------------------------------------
13317 19 June 2003. Summary of changes for version 20030619:
13319 1) ACPI CA Core Subsystem:
13321 Fix To/FromBCD, eliminating the need for an arch-specific #define.
13323 Do not acquire a semaphore in the S5 shutdown path.
13325 Fix ex_digits_needed for 0. (Takayoshi Kochi)
13327 Fix sleep/stall code reversal. (Andi Kleen)
13329 Revert a change having to do with control method calling
13334 acpiphp update (Takayoshi Kochi)
13336 Export acpi_disabled for sonypi (Stelian Pop)
13338 Mention acpismp=force in config help
13340 Re-add acpitable.c and acpismp=force. This improves backwards
13342 compatibility and also cleans up the code to a significant degree.
13344 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
13346 ----------------------------------------
13347 22 May 2003. Summary of changes for version 20030522:
13349 1) ACPI CA Core Subsystem:
13351 Found and fixed a reported problem where an AE_NOT_FOUND error
13352 occurred occasionally during _BST evaluation. This turned out to
13353 be an Owner ID allocation issue where a called method did not get
13354 a new ID assigned to it. Eventually, (after 64k calls), the Owner
13355 ID UINT16 would wraparound so that the ID would be the same as the
13356 caller's and the called method would delete the caller's
13359 Implemented extended error reporting for control methods that are
13360 aborted due to a run-time exception. Output includes the exact
13361 AML instruction that caused the method abort, a dump of the method
13362 locals and arguments at the time of the abort, and a trace of all
13363 nested control method calls.
13365 Modified the interpreter to allow the creation of buffers of zero
13366 length from the AML code. Implemented new code to ensure that no
13367 attempt is made to actually allocate a memory buffer (of length
13368 zero) - instead, a simple buffer object with a NULL buffer pointer
13369 and length zero is created. A warning is no longer issued when
13370 the AML attempts to create a zero-length buffer.
13372 Implemented a workaround for the "leading asterisk issue" in
13373 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
13374 asterisk is automatically removed if present in any HID, UID, or
13375 CID strings. The iASL compiler will still flag this asterisk as
13378 Implemented full support for _CID methods that return a package of
13379 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
13380 now additionally returns a device _CID list if present. This
13381 required a change to the external interface in order to pass an
13382 ACPI_BUFFER object as a parameter since the _CID list is of
13385 Fixed a problem with the new AE_SAME_HANDLER exception where
13386 handler initialization code did not know about this exception.
13388 Code and Data Size: Current and previous core subsystem library
13389 sizes are shown below. These are the code and data sizes for the
13390 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
13391 these values do not include any ACPI driver or OSPM code. The
13392 debug version of the code includes the debug output trace
13393 mechanism and has a much larger code and data size. Note that
13394 these values will vary depending on the efficiency of the compiler
13395 and the compiler options used during generation.
13397 Previous Release (20030509):
13398 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
13399 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
13401 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
13402 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
13407 Fixed a bug in which we would reinitialize the ACPI interrupt
13408 after it was already working, thus disabling all ACPI and the IRQs
13409 for any other device sharing the interrupt. (Thanks to Stian
13412 Toshiba driver update (John Belmonte)
13414 Return only 0 or 1 for our interrupt handler status (Andrew
13420 Fixed a reported problem where multiple (nested) ElseIf()
13421 statements were not handled correctly by the compiler, resulting
13422 in incorrect warnings and incorrect AML code. This was a problem
13423 in both the ASL parser and the code generator.
13428 Added changes to existing interfaces, new exception codes, and new
13429 text concerning reference count object management versus garbage
13432 ----------------------------------------
13433 09 May 2003. Summary of changes for version 20030509.
13436 1) ACPI CA Core Subsystem:
13438 Changed the subsystem initialization sequence to hold off
13439 installation of address space handlers until the hardware has been
13440 initialized and the system has entered ACPI mode. This is because
13441 the installation of space handlers can cause _REG methods to be
13442 run. Previously, the _REG methods could potentially be run before
13443 ACPI mode was enabled.
13445 Fixed some memory leak issues related to address space handler and
13446 notify handler installation. There were some problems with the
13447 reference count mechanism caused by the fact that the handler
13448 objects are shared across several namespace objects.
13450 Fixed a reported problem where reference counts within the
13451 namespace were not properly updated when named objects created by
13452 method execution were deleted.
13454 Fixed a reported problem where multiple SSDTs caused a deletion
13455 issue during subsystem termination. Restructured the table data
13456 structures to simplify the linked lists and the related code.
13458 Fixed a problem where the table ID associated with secondary
13459 tables (SSDTs) was not being propagated into the namespace objects
13460 created by those tables. This would only present a problem for
13461 tables that are unloaded at run-time, however.
13463 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
13464 type as the length parameter (instead of UINT32).
13466 Solved a long-standing problem where an ALREADY_EXISTS error
13467 appears on various systems. This problem could happen when there
13468 are multiple PCI_Config operation regions under a single PCI root
13469 bus. This doesn't happen very frequently, but there are some
13470 systems that do this in the ASL.
13472 Fixed a reported problem where the internal DeleteNode function
13473 was incorrectly handling the case where a namespace node was the
13474 first in the parent's child list, and had additional peers (not
13475 the only child, but first in the list of children.)
13477 Code and Data Size: Current core subsystem library sizes are shown
13478 below. These are the code and data sizes for the acpica.lib
13479 produced by the Microsoft Visual C++ 6.0 compiler, and these
13480 values do not include any ACPI driver or OSPM code. The debug
13481 version of the code includes the debug output trace mechanism and
13482 has a much larger code and data size. Note that these values will
13483 vary depending on the efficiency of the compiler and the compiler
13484 options used during generation.
13487 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
13488 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
13490 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
13491 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
13496 Allow ":" in OS override string (Ducrot Bruno)
13498 Kobject fix (Greg KH)
13501 3 iASL Compiler/Disassembler:
13503 Fixed a problem in the generation of the C source code files (AML
13504 is emitted in C source statements for BIOS inclusion) where the
13505 Ascii dump that appears within a C comment at the end of each line
13506 could cause a compile time error if the AML sequence happens to
13507 have an open comment or close comment sequence embedded.
13510 ----------------------------------------
13511 24 April 2003. Summary of changes for version 20030424.
13514 1) ACPI CA Core Subsystem:
13516 Support for big-endian systems has been implemented. Most of the
13517 support has been invisibly added behind big-endian versions of the
13518 ACPI_MOVE_* macros.
13520 Fixed a problem in AcpiHwDisableGpeBlock() and
13521 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
13522 low level hardware write routine. The offset parameter was
13523 actually eliminated from the low level read/write routines because
13524 they had become obsolete.
13526 Fixed a problem where a handler object was deleted twice during
13527 the removal of a fixed event handler.
13532 A fix for SMP systems with link devices was contributed by
13536 (2.5) Return whether we handled the interrupt in our IRQ handler.
13537 (Linux ISRs no longer return void, so we can propagate the handler
13538 return value from the ACPI CA core back to the OS.)
13544 The ACPI CA Programmer Reference has been updated to reflect new
13545 interfaces and changes to existing interfaces.
13547 ----------------------------------------
13548 28 March 2003. Summary of changes for version 20030328.
13550 1) ACPI CA Core Subsystem:
13552 The GPE Block Device support has been completed. New interfaces
13553 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
13554 interfaces (enable, disable, clear, getstatus) have been split
13555 into separate interfaces for Fixed Events and General Purpose
13556 Events (GPEs) in order to support GPE Block Devices properly.
13558 Fixed a problem where the error message "Failed to acquire
13559 semaphore" would appear during operations on the embedded
13562 Code and Data Size: Current core subsystem library sizes are shown
13563 below. These are the code and data sizes for the acpica.lib
13564 produced by the Microsoft Visual C++ 6.0 compiler, and these
13565 values do not include any ACPI driver or OSPM code. The debug
13566 version of the code includes the debug output trace mechanism and
13567 has a much larger code and data size. Note that these values will
13568 vary depending on the efficiency of the compiler and the compiler
13569 options used during generation.
13572 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
13573 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
13575 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
13576 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
13579 ----------------------------------------
13580 28 February 2003. Summary of changes for version 20030228.
13583 1) ACPI CA Core Subsystem:
13585 The GPE handling and dispatch code has been completely overhauled
13586 in preparation for support of GPE Block Devices (ID ACPI0006).
13587 This affects internal data structures and code only; there should
13588 be no differences visible externally. One new file has been
13591 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
13592 fields that are used to determine the GPE block lengths. The
13593 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
13594 structures are ignored. This is per the ACPI specification but it
13595 isn't very clear. The full 256 Block 0/1 GPEs are now supported
13596 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
13598 In the SCI interrupt handler, removed the read of the PM1_CONTROL
13599 register to look at the SCI_EN bit. On some machines, this read
13600 causes an SMI event and greatly slows down SCI events. (This may
13601 in fact be the cause of slow battery status response on some
13604 Fixed a problem where a store of a NULL string to a package object
13605 could cause the premature deletion of the object. This was seen
13606 during execution of the battery _BIF method on some systems,
13607 resulting in no battery data being returned.
13609 Added AcpiWalkResources interface to simplify parsing of resource
13612 Code and Data Size: Current core subsystem library sizes are shown
13613 below. These are the code and data sizes for the acpica.lib
13614 produced by the Microsoft Visual C++ 6.0 compiler, and these
13615 values do not include any ACPI driver or OSPM code. The debug
13616 version of the code includes the debug output trace mechanism and
13617 has a much larger code and data size. Note that these values will
13618 vary depending on the efficiency of the compiler and the compiler
13619 options used during generation.
13622 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13623 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13625 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
13626 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
13631 S3 fixes (Ole Rohne)
13633 Update ACPI PHP driver with to use new acpi_walk_resource API
13636 Add S4BIOS support (Pavel Machek)
13638 Map in entire table before performing checksum (John Stultz)
13640 Expand the mem= cmdline to allow the specification of reserved and
13641 ACPI DATA blocks (Pavel Machek)
13643 Never use ACPI on VISWS
13645 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
13647 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
13648 causing us to think that some systems support C2 when they really
13651 Do not count processor objects for non-present CPUs (Thanks to
13657 Fixed a problem where ASL include files could not be found and
13660 Added support for the _PDC reserved name.
13663 ----------------------------------------
13664 22 January 2003. Summary of changes for version 20030122.
13667 1) ACPI CA Core Subsystem:
13669 Added a check for constructs of the form: Store (Local0, Local0)
13670 where Local0 is not initialized. Apparently, some BIOS
13671 programmers believe that this is a NOOP. Since this store doesn't
13672 do anything anyway, the new prototype behavior will ignore this
13673 error. This is a case where we can relax the strict checking in
13674 the interpreter in the name of compatibility.
13679 The AcpiSrc Source Conversion Utility has been released with the
13680 Linux package for the first time. This is the utility that is
13681 used to convert the ACPI CA base source code to the Linux version.
13683 (Both) Handle P_BLK lengths shorter than 6 more gracefully
13685 (Both) Move more headers to include/acpi, and delete an unused
13688 (Both) Move drivers/acpi/include directory to include/acpi
13690 (Both) Boot functions don't use cmdline, so don't pass it around
13692 (Both) Remove include of unused header (Adrian Bunk)
13694 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
13696 former now also includes the latter, acpiphp.h only needs the one,
13699 (2.5) Make it possible to select method of bios restoring after S3
13700 resume. [=> no more ugly ifdefs] (Pavel Machek)
13702 (2.5) Make proc write interfaces work (Pavel Machek)
13704 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
13706 (2.5) Break out ACPI Perf code into its own module, under cpufreq
13707 (Dominik Brodowski)
13709 (2.4) S4BIOS support (Ducrot Bruno)
13711 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
13717 Added support to disassemble SSDT and PSDTs.
13719 Implemented support to obtain SSDTs from the Windows registry if
13723 ----------------------------------------
13724 09 January 2003. Summary of changes for version 20030109.
13726 1) ACPI CA Core Subsystem:
13728 Changed the behavior of the internal Buffer-to-String conversion
13729 function. The current ACPI specification states that the contents
13730 of the buffer are "converted to a string of two-character
13731 hexadecimal numbers, each separated by a space". Unfortunately,
13732 this definition is not backwards compatible with existing ACPI 1.0
13733 implementations (although the behavior was not defined in the ACPI
13734 1.0 specification). The new behavior simply copies data from the
13735 buffer to the string until a null character is found or the end of
13736 the buffer is reached. The new String object is always null
13737 terminated. This problem was seen during the generation of _BIF
13738 battery data where incorrect strings were returned for battery
13739 type, etc. This will also require an errata to the ACPI
13742 Renamed all instances of NATIVE_UINT and NATIVE_INT to
13743 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
13745 Copyright in all module headers (both Linux and non-Linux) has be
13748 Code and Data Size: Current core subsystem library sizes are shown
13749 below. These are the code and data sizes for the acpica.lib
13750 produced by the Microsoft Visual C++ 6.0 compiler, and these
13751 values do not include any ACPI driver or OSPM code. The debug
13752 version of the code includes the debug output trace mechanism and
13753 has a much larger code and data size. Note that these values will
13754 vary depending on the efficiency of the compiler and the compiler
13755 options used during generation.
13758 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13759 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13761 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13762 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13767 Fixed an oops on module insertion/removal (Matthew Tippett)
13769 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
13771 (2.5) Replace pr_debug (Randy Dunlap)
13773 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
13775 (Both) Eliminate spawning of thread from timer callback, in favor
13778 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
13780 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
13782 (Both) Add missing statics to button.c (Pavel Machek)
13784 Several changes have been made to the source code translation
13785 utility that generates the Linux Code in order to make the code
13788 All typedefs on structs and unions have been removed in keeping
13789 with the Linux coding style.
13791 Removed the non-Linux SourceSafe module revision number from each
13794 Completed major overhaul of symbols to be lowercased for linux.
13795 Doubled the number of symbols that are lowercased.
13797 Fixed a problem where identifiers within procedure headers and
13798 within quotes were not fully lower cased (they were left with a
13801 Some C macros whose only purpose is to allow the generation of 16-
13802 bit code are now completely removed in the Linux code, increasing
13803 readability and maintainability.
13805 ----------------------------------------
13807 12 December 2002. Summary of changes for version 20021212.
13810 1) ACPI CA Core Subsystem:
13812 Fixed a problem where the creation of a zero-length AML Buffer
13813 would cause a fault.
13815 Fixed a problem where a Buffer object that pointed to a static AML
13816 buffer (in an ACPI table) could inadvertently be deleted, causing
13819 Fixed a problem where a user buffer (passed in to the external
13820 ACPI CA interfaces) could be overwritten if the buffer was too
13821 small to complete the operation, causing memory corruption.
13823 Fixed a problem in the Buffer-to-String conversion code where a
13824 string of length one was always returned, regardless of the size
13825 of the input Buffer object.
13827 Removed the NATIVE_CHAR data type across the entire source due to
13828 lack of need and lack of consistent use.
13830 Code and Data Size: Current core subsystem library sizes are shown
13831 below. These are the code and data sizes for the acpica.lib
13832 produced by the Microsoft Visual C++ 6.0 compiler, and these
13833 values do not include any ACPI driver or OSPM code. The debug
13834 version of the code includes the debug output trace mechanism and
13835 has a much larger code and data size. Note that these values will
13836 vary depending on the efficiency of the compiler and the compiler
13837 options used during generation.
13840 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13841 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13843 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
13844 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
13847 ----------------------------------------
13848 05 December 2002. Summary of changes for version 20021205.
13850 1) ACPI CA Core Subsystem:
13852 Fixed a problem where a store to a String or Buffer object could
13853 cause corruption of the DSDT if the object type being stored was
13854 the same as the target object type and the length of the object
13855 being stored was equal to or smaller than the original (existing)
13856 target object. This was seen to cause corruption of battery _BIF
13857 buffers if the _BIF method modified the buffer on the fly.
13859 Fixed a problem where an internal error was generated if a control
13860 method invocation was used in an OperationRegion, Buffer, or
13861 Package declaration. This was caused by the deferred parsing of
13862 the control method and thus the deferred creation of the internal
13863 method object. The solution to this problem was to create the
13864 internal method object at the moment the method is encountered in
13865 the first pass - so that subsequent references to the method will
13866 able to obtain the required parameter count and thus properly
13867 parse the method invocation. This problem presented itself as an
13868 AE_AML_INTERNAL during the pass 1 parse phase during table load.
13870 Fixed a problem where the internal String object copy routine did
13871 not always allocate sufficient memory for the target String object
13872 and caused memory corruption. This problem was seen to cause
13873 "Allocation already present in list!" errors as memory allocation
13876 Implemented a new function for the evaluation of namespace objects
13877 that allows the specification of the allowable return object
13878 types. This simplifies a lot of code that checks for a return
13879 object of one or more specific objects returned from the
13880 evaluation (such as _STA, etc.) This may become and external
13881 function if it would be useful to ACPI-related drivers.
13883 Completed another round of prefixing #defines with "ACPI_" for
13886 Completed additional code restructuring to allow more modular
13887 linking for iASL compiler and AcpiExec. Several files were split
13888 creating new files. New files: nsparse.c dsinit.c evgpe.c
13890 Implemented an abort mechanism to terminate an executing control
13891 method via the AML debugger. This feature is useful for debugging
13892 control methods that depend (wait) for specific hardware
13895 Code and Data Size: Current core subsystem library sizes are shown
13896 below. These are the code and data sizes for the acpica.lib
13897 produced by the Microsoft Visual C++ 6.0 compiler, and these
13898 values do not include any ACPI driver or OSPM code. The debug
13899 version of the code includes the debug output trace mechanism and
13900 has a much larger code and data size. Note that these values will
13901 vary depending on the efficiency of the compiler and the compiler
13902 options used during generation.
13905 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13906 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13908 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
13909 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
13912 2) iASL Compiler/Disassembler
13914 Fixed a compiler code generation problem for "Interrupt" Resource
13915 Descriptors. If specified in the ASL, the optional "Resource
13916 Source Index" and "Resource Source" fields were not inserted into
13917 the correct location within the AML resource descriptor, creating
13918 an invalid descriptor.
13920 Fixed a disassembler problem for "Interrupt" resource descriptors.
13921 The optional "Resource Source Index" and "Resource Source" fields
13925 ----------------------------------------
13926 22 November 2002. Summary of changes for version 20021122.
13929 1) ACPI CA Core Subsystem:
13931 Fixed a reported problem where an object stored to a Method Local
13932 or Arg was not copied to a new object during the store - the
13933 object pointer was simply copied to the Local/Arg. This caused
13934 all subsequent operations on the Local/Arg to also affect the
13935 original source of the store operation.
13937 Fixed a problem where a store operation to a Method Local or Arg
13938 was not completed properly if the Local/Arg contained a reference
13939 (from RefOf) to a named field. The general-purpose store-to-
13940 namespace-node code is now used so that this case is handled
13943 Fixed a problem where the internal object copy routine would cause
13944 a protection fault if the object being copied was a Package and
13945 contained either 1) a NULL package element or 2) a nested sub-
13948 Fixed a problem with the GPE initialization that resulted from an
13949 ambiguity in the ACPI specification. One section of the
13950 specification states that both the address and length of the GPE
13951 block must be zero if the block is not supported. Another section
13952 implies that only the address need be zero if the block is not
13953 supported. The code has been changed so that both the address and
13954 the length must be non-zero to indicate a valid GPE block (i.e.,
13955 if either the address or the length is zero, the GPE block is
13958 Code and Data Size: Current core subsystem library sizes are shown
13959 below. These are the code and data sizes for the acpica.lib
13960 produced by the Microsoft Visual C++ 6.0 compiler, and these
13961 values do not include any ACPI driver or OSPM code. The debug
13962 version of the code includes the debug output trace mechanism and
13963 has a much larger code and data size. Note that these values will
13964 vary depending on the efficiency of the compiler and the compiler
13965 options used during generation.
13968 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
13969 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
13971 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
13972 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
13977 Cleaned up EC driver. Exported an external EC read/write
13978 interface. By going through this, other drivers (most notably
13979 sonypi) will be able to serialize access to the EC.
13982 3) iASL Compiler/Disassembler
13984 Implemented support to optionally generate include files for both
13985 ASM and C (the -i switch). This simplifies BIOS development by
13986 automatically creating include files that contain external
13987 declarations for the symbols that are created within the
13989 (optionally generated) ASM and C AML source files.
13992 ----------------------------------------
13993 15 November 2002. Summary of changes for version 20021115.
13995 1) ACPI CA Core Subsystem:
13997 Fixed a memory leak problem where an error during resolution of
13999 method arguments during a method invocation from another method
14000 failed to cleanup properly by deleting all successfully resolved
14003 Fixed a problem where the target of the Index() operator was not
14004 correctly constructed if the source object was a package. This
14005 problem has not been detected because the use of a target operand
14006 with Index() is very rare.
14008 Fixed a problem with the Index() operator where an attempt was
14009 made to delete the operand objects twice.
14011 Fixed a problem where an attempt was made to delete an operand
14012 twice during execution of the CondRefOf() operator if the target
14015 Implemented the first of perhaps several internal create object
14016 functions that create and initialize a specific object type. This
14017 consolidates duplicated code wherever the object is created, thus
14018 shrinking the size of the subsystem.
14020 Implemented improved debug/error messages for errors that occur
14021 during nested method invocations. All executing method pathnames
14022 are displayed (with the error) as the call stack is unwound - thus
14025 Fixed a problem introduced in the 10/02 release that caused
14026 premature deletion of a buffer object if a buffer was used as an
14027 ASL operand where an integer operand is required (Thus causing an
14028 implicit object conversion from Buffer to Integer.) The change in
14029 the 10/02 release was attempting to fix a memory leak (albeit
14032 Code and Data Size: Current core subsystem library sizes are shown
14033 below. These are the code and data sizes for the acpica.lib
14034 produced by the Microsoft Visual C++ 6.0 compiler, and these
14035 values do not include any ACPI driver or OSPM code. The debug
14036 version of the code includes the debug output trace mechanism and
14037 has a much larger code and data size. Note that these values will
14038 vary depending on the efficiency of the compiler and the compiler
14039 options used during generation.
14042 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
14043 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
14045 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
14046 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
14051 Changed the implementation of the ACPI semaphores to use down()
14052 instead of down_interruptable(). It is important that the
14053 execution of ACPI control methods not be interrupted by signals.
14054 Methods must run to completion, or the system may be left in an
14055 unknown/unstable state.
14057 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
14061 3) iASL Compiler/Disassembler
14064 Changed the default location of output files. All output files
14065 are now placed in the current directory by default instead of in
14066 the directory of the source file. This change may affect some
14067 existing makefiles, but it brings the behavior of the compiler in
14068 line with other similar tools. The location of the output files
14069 can be overridden with the -p command line switch.
14072 ----------------------------------------
14073 11 November 2002. Summary of changes for version 20021111.
14076 0) ACPI Specification 2.0B is released and is now available at:
14077 http://www.acpi.info/index.html
14080 1) ACPI CA Core Subsystem:
14082 Implemented support for the ACPI 2.0 SMBus Operation Regions.
14083 This includes the early detection and handoff of the request to
14084 the SMBus region handler (avoiding all of the complex field
14085 support code), and support for the bidirectional return packet
14086 from an SMBus write operation. This paves the way for the
14087 development of SMBus drivers in each host operating system.
14089 Fixed a problem where the semaphore WAIT_FOREVER constant was
14090 defined as 32 bits, but must be 16 bits according to the ACPI
14091 specification. This had the side effect of causing ASL
14092 Mutex/Event timeouts even though the ASL code requested a wait
14093 forever. Changed all internal references to the ACPI timeout
14094 parameter to 16 bits to prevent future problems. Changed the name
14095 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
14097 Code and Data Size: Current core subsystem library sizes are shown
14098 below. These are the code and data sizes for the acpica.lib
14099 produced by the Microsoft Visual C++ 6.0 compiler, and these
14100 values do not include any ACPI driver or OSPM code. The debug
14101 version of the code includes the debug output trace mechanism and
14102 has a much larger code and data size. Note that these values will
14103 vary depending on the efficiency of the compiler and the compiler
14104 options used during generation.
14107 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14108 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
14110 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
14111 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
14116 Module loading/unloading fixes (John Cagle)
14119 3) iASL Compiler/Disassembler
14121 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
14123 Implemented support for the disassembly of all SMBus protocol
14124 keywords (SMBQuick, SMBWord, etc.)
14126 ----------------------------------------
14127 01 November 2002. Summary of changes for version 20021101.
14130 1) ACPI CA Core Subsystem:
14132 Fixed a problem where platforms that have a GPE1 block but no GPE0
14133 block were not handled correctly. This resulted in a "GPE
14134 overlap" error message. GPE0 is no longer required.
14136 Removed code added in the previous release that inserted nodes
14137 into the namespace in alphabetical order. This caused some side-
14138 effects on various machines. The root cause of the problem is
14139 still under investigation since in theory, the internal ordering
14140 of the namespace nodes should not matter.
14143 Enhanced error reporting for the case where a named object is not
14144 found during control method execution. The full ACPI namepath
14145 (name reference) of the object that was not found is displayed in
14148 Note: as a result of the overhaul of the namespace object types in
14149 the previous release, the namespace nodes for the predefined
14150 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
14151 instead of ACPI_TYPE_ANY. This simplifies the namespace
14152 management code but may affect code that walks the namespace tree
14153 looking for specific object types.
14155 Code and Data Size: Current core subsystem library sizes are shown
14156 below. These are the code and data sizes for the acpica.lib
14157 produced by the Microsoft Visual C++ 6.0 compiler, and these
14158 values do not include any ACPI driver or OSPM code. The debug
14159 version of the code includes the debug output trace mechanism and
14160 has a much larger code and data size. Note that these values will
14161 vary depending on the efficiency of the compiler and the compiler
14162 options used during generation.
14165 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
14166 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
14168 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
14169 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
14174 Fixed a problem introduced in the previous release where the
14175 Processor and Thermal objects were not recognized and installed in
14176 /proc. This was related to the scope type change described above.
14179 3) iASL Compiler/Disassembler
14181 Implemented the -g option to get all of the required ACPI tables
14182 from the registry and save them to files (Windows version of the
14183 compiler only.) The required tables are the FADT, FACS, and DSDT.
14185 Added ACPI table checksum validation during table disassembly in
14186 order to catch corrupted tables.
14189 ----------------------------------------
14190 22 October 2002. Summary of changes for version 20021022.
14192 1) ACPI CA Core Subsystem:
14194 Implemented a restriction on the Scope operator that the target
14195 must already exist in the namespace at the time the operator is
14196 encountered (during table load or method execution). In other
14197 words, forward references are not allowed and Scope() cannot
14198 create a new object. This changes the previous behavior where the
14199 interpreter would create the name if not found. This new behavior
14200 correctly enables the search-to-root algorithm during namespace
14201 lookup of the target name. Because of this upsearch, this fixes
14202 the known Compaq _SB_.OKEC problem and makes both the AML
14203 interpreter and iASL compiler compatible with other ACPI
14206 Completed a major overhaul of the internal ACPI object types for
14207 the ACPI Namespace and the associated operand objects. Many of
14208 these types had become obsolete with the introduction of the two-
14209 pass namespace load. This cleanup simplifies the code and makes
14210 the entire namespace load mechanism much clearer and easier to
14213 Improved debug output for tracking scope opening/closing to help
14214 diagnose scoping issues. The old scope name as well as the new
14215 scope name are displayed. Also improved error messages for
14216 problems with ASL Mutex objects and error messages for GPE
14219 Cleaned up the namespace dump code, removed obsolete code.
14221 All string output (for all namespace/object dumps) now uses the
14222 common ACPI string output procedure which handles escapes properly
14223 and does not emit non-printable characters.
14225 Fixed some issues with constants in the 64-bit version of the
14226 local C library (utclib.c)
14231 EC Driver: No longer attempts to acquire the Global Lock at
14235 3) iASL Compiler/Disassembler
14237 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
14238 2 opcodes outside of a control method. This means that the
14239 "executable" operators (versus the "namespace" operators) cannot
14240 be used at the table level; they can only be used within a control
14243 Implemented the restriction on the Scope() operator where the
14244 target must already exist in the namespace at the time the
14245 operator is encountered (during ASL compilation). In other words,
14246 forward references are not allowed and Scope() cannot create a new
14247 object. This makes the iASL compiler compatible with other ACPI
14248 implementations and makes the Scope() implementation adhere to the
14249 ACPI specification.
14251 Fixed a problem where namepath optimization for the Alias operator
14252 was optimizing the wrong path (of the two namepaths.) This caused
14253 a "Missing alias link" error message.
14255 Fixed a problem where an "unknown reserved name" warning could be
14256 incorrectly generated for names like "_SB" when the trailing
14257 underscore is not used in the original ASL.
14259 Fixed a problem where the reserved name check did not handle
14260 NamePaths with multiple NameSegs correctly. The first nameseg of
14261 the NamePath was examined instead of the last NameSeg.
14264 ----------------------------------------
14266 02 October 2002. Summary of changes for this release.
14269 1) ACPI CA Core Subsystem version 20021002:
14271 Fixed a problem where a store/copy of a string to an existing
14272 string did not always set the string length properly in the String
14275 Fixed a reported problem with the ToString operator where the
14276 behavior was identical to the ToHexString operator instead of just
14277 simply converting a raw buffer to a string data type.
14279 Fixed a problem where CopyObject and the other "explicit"
14280 conversion operators were not updating the internal namespace node
14281 type as part of the store operation.
14283 Fixed a memory leak during implicit source operand conversion
14284 where the original object was not deleted if it was converted to a
14285 new object of a different type.
14287 Enhanced error messages for all problems associated with namespace
14288 lookups. Common procedure generates and prints the lookup name as
14289 well as the formatted status.
14291 Completed implementation of a new design for the Alias support
14292 within the namespace. The existing design did not handle the case
14293 where a new object was assigned to one of the two names due to the
14294 use of an explicit conversion operator, resulting in the two names
14295 pointing to two different objects. The new design simply points
14296 the Alias name to the original name node - not to the object.
14297 This results in a level of indirection that must be handled in the
14298 name resolution mechanism.
14300 Code and Data Size: Current core subsystem library sizes are shown
14301 below. These are the code and data sizes for the acpica.lib
14302 produced by the Microsoft Visual C++ 6.0 compiler, and these
14303 values do not include any ACPI driver or OSPM code. The debug
14304 version of the code includes the debug output trace mechanism and
14305 has a larger code and data size. Note that these values will vary
14306 depending on the efficiency of the compiler and the compiler
14307 options used during generation.
14310 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
14311 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
14313 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
14314 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
14319 Initialize thermal driver's timer before it is used. (Knut
14322 Allow handling negative celsius values. (Kochi Takayoshi)
14324 Fix thermal management and make trip points. R/W (Pavel Machek)
14326 Fix /proc/acpi/sleep. (P. Christeas)
14328 IA64 fixes. (David Mosberger)
14330 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
14332 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
14336 3) iASL Compiler/Disassembler
14338 Clarified some warning/error messages.
14341 ----------------------------------------
14342 18 September 2002. Summary of changes for this release.
14345 1) ACPI CA Core Subsystem version 20020918:
14347 Fixed a reported problem with reference chaining (via the Index()
14348 and RefOf() operators) in the ObjectType() and SizeOf() operators.
14349 The definition of these operators includes the dereferencing of
14350 all chained references to return information on the base object.
14352 Fixed a problem with stores to indexed package elements - the
14353 existing code would not complete the store if an "implicit
14354 conversion" was not performed. In other words, if the existing
14355 object (package element) was to be replaced completely, the code
14356 didn't handle this case.
14358 Relaxed typechecking on the ASL "Scope" operator to allow the
14359 target name to refer to an object of type Integer, String, or
14360 Buffer, in addition to the scoping object types (Device,
14361 predefined Scopes, Processor, PowerResource, and ThermalZone.)
14362 This allows existing AML code that has workarounds for a bug in
14363 Windows to function properly. A warning is issued, however. This
14364 affects both the AML interpreter and the iASL compiler. Below is
14365 an example of this type of ASL code:
14371 Fixed some reported problems with 64-bit integer support in the
14372 local implementation of C library functions (clib.c)
14377 Use ACPI fix map region instead of IOAPIC region, since it is
14378 undefined in non-SMP.
14380 Ensure that the SCI has the proper polarity and trigger, even on
14381 systems that do not have an interrupt override entry in the MADT.
14383 2.5 big driver reorganization (Pat Mochel)
14385 Use early table mapping code from acpitable.c (Andi Kleen)
14387 New blacklist entries (Andi Kleen)
14389 Blacklist improvements. Split blacklist code out into a separate
14390 file. Move checking the blacklist to very early. Previously, we
14391 would use ACPI tables, and then halfway through init, check the
14392 blacklist -- too late. Now, it's early enough to completely fall-
14396 3) iASL Compiler/Disassembler version 20020918:
14398 Fixed a problem where the typechecking code didn't know that an
14399 alias could point to a method. In other words, aliases were not
14400 being dereferenced during typechecking.
14403 ----------------------------------------
14404 29 August 2002. Summary of changes for this release.
14406 1) ACPI CA Core Subsystem Version 20020829:
14408 If the target of a Scope() operator already exists, it must be an
14409 object type that actually opens a scope -- such as a Device,
14410 Method, Scope, etc. This is a fatal runtime error. Similar error
14411 check has been added to the iASL compiler also.
14413 Tightened up the namespace load to disallow multiple names in the
14414 same scope. This previously was allowed if both objects were of
14415 the same type. (i.e., a lookup was the same as entering a new
14421 Ensure that the ACPI interrupt has the proper trigger and
14424 local_irq_disable is extraneous. (Matthew Wilcox)
14426 Make "acpi=off" actually do what it says, and not use the ACPI
14427 interpreter *or* the tables.
14429 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
14433 3) iASL Compiler/Disassembler Version 20020829:
14435 Implemented namepath optimization for name declarations. For
14436 example, a declaration like "Method (\_SB_.ABCD)" would get
14437 optimized to "Method (ABCD)" if the declaration is within the
14438 \_SB_ scope. This optimization is in addition to the named
14439 reference path optimization first released in the previous
14440 version. This would seem to complete all possible optimizations
14441 for namepaths within the ASL/AML.
14443 If the target of a Scope() operator already exists, it must be an
14444 object type that actually opens a scope -- such as a Device,
14445 Method, Scope, etc.
14447 Implemented a check and warning for unreachable code in the same
14448 block below a Return() statement.
14450 Fixed a problem where the listing file was not generated if the
14451 compiler aborted if the maximum error count was exceeded (200).
14453 Fixed a problem where the typechecking of method return values was
14454 broken. This includes the check for a return value when the
14455 method is invoked as a TermArg (a return value is expected.)
14457 Fixed a reported problem where EOF conditions during a quoted
14458 string or comment caused a fault.
14461 ----------------------------------------
14462 15 August 2002. Summary of changes for this release.
14464 1) ACPI CA Core Subsystem Version 20020815:
14466 Fixed a reported problem where a Store to a method argument that
14467 contains a reference did not perform the indirect store correctly.
14468 This problem was created during the conversion to the new
14469 reference object model - the indirect store to a method argument
14470 code was not updated to reflect the new model.
14472 Reworked the ACPI mode change code to better conform to ACPI 2.0,
14473 handle corner cases, and improve code legibility (Kochi Takayoshi)
14475 Fixed a problem with the pathname parsing for the carat (^)
14476 prefix. The heavy use of the carat operator by the new namepath
14477 optimization in the iASL compiler uncovered a problem with the AML
14478 interpreter handling of this prefix. In the case where one or
14479 more carats precede a single nameseg, the nameseg was treated as
14480 standalone and the search rule (to root) was inadvertently
14481 applied. This could cause both the iASL compiler and the
14482 interpreter to find the wrong object or to miss the error that
14483 should occur if the object does not exist at that exact pathname.
14485 Found and fixed the problem where the HP Pavilion DSDT would not
14486 load. This was a relatively minor tweak to the table loading code
14487 (a problem caused by the unexpected encounter with a method
14488 invocation not within a control method), but it does not solve the
14489 overall issue of the execution of AML code at the table level.
14490 This investigation is still ongoing.
14492 Code and Data Size: Current core subsystem library sizes are shown
14493 below. These are the code and data sizes for the acpica.lib
14494 produced by the Microsoft Visual C++ 6.0 compiler, and these
14495 values do not include any ACPI driver or OSPM code. The debug
14496 version of the code includes the debug output trace mechanism and
14497 has a larger code and data size. Note that these values will vary
14498 depending on the efficiency of the compiler and the compiler
14499 options used during generation.
14502 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
14503 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
14505 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
14506 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
14511 Remove redundant slab.h include (Brad Hards)
14513 Fix several bugs in thermal.c (Herbert Nachtnebel)
14515 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
14517 Change acpi_system_suspend to use updated irq functions (Pavel
14520 Export acpi_get_firmware_table (Matthew Wilcox)
14522 Use proper root proc entry for ACPI (Kochi Takayoshi)
14524 Fix early-boot table parsing (Bjorn Helgaas)
14527 3) iASL Compiler/Disassembler
14529 Reworked the compiler options to make them more consistent and to
14530 use two-letter options where appropriate. We were running out of
14531 sensible letters. This may break some makefiles, so check the
14532 current options list by invoking the compiler with no parameters.
14534 Completed the design and implementation of the ASL namepath
14535 optimization option for the compiler. This option optimizes all
14536 references to named objects to the shortest possible path. The
14537 first attempt tries to utilize a single nameseg (4 characters) and
14538 the "search-to-root" algorithm used by the interpreter. If that
14539 cannot be used (because either the name is not in the search path
14540 or there is a conflict with another object with the same name),
14541 the pathname is optimized using the carat prefix (usually a
14542 shorter string than specifying the entire path from the root.)
14544 Implemented support to obtain the DSDT from the Windows registry
14545 (when the disassembly option is specified with no input file).
14546 Added this code as the implementation for AcpiOsTableOverride in
14547 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
14548 utility) to scan memory for the DSDT to the AcpiOsTableOverride
14549 function in the DOS OSL to make the disassembler truly OS
14552 Implemented a new option to disassemble and compile in one step.
14553 When used without an input filename, this option will grab the
14554 DSDT from the local machine, disassemble it, and compile it in one
14557 Added a warning message for invalid escapes (a backslash followed
14558 by any character other than the allowable escapes). This catches
14559 the quoted string error "\_SB_" (which should be "\\_SB_" ).
14561 Also, there are numerous instances in the ACPI specification where
14564 Added a compiler option to disable all optimizations. This is
14565 basically the "compatibility mode" because by using this option,
14566 the AML code will come out exactly the same as other ASL
14569 Added error messages for incorrectly ordered dependent resource
14570 functions. This includes: missing EndDependentFn macro at end of
14571 dependent resource list, nested dependent function macros (both
14572 start and end), and missing StartDependentFn macro. These are
14573 common errors that should be caught at compile time.
14575 Implemented _OSI support for the disassembler and compiler. _OSI
14576 must be included in the namespace for proper disassembly (because
14577 the disassembler must know the number of arguments.)
14579 Added an "optimization" message type that is optional (off by
14580 default). This message is used for all optimizations - including
14581 constant folding, integer optimization, and namepath optimization.
14583 ----------------------------------------
14584 25 July 2002. Summary of changes for this release.
14587 1) ACPI CA Core Subsystem Version 20020725:
14589 The AML Disassembler has been enhanced to produce compilable ASL
14590 code and has been integrated into the iASL compiler (see below) as
14591 well as the single-step disassembly for the AML debugger and the
14592 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
14593 resource templates and macros are fully supported. The
14594 disassembler has been tested on over 30 different AML files,
14595 producing identical AML when the resulting disassembled ASL file
14596 is recompiled with the same ASL compiler.
14598 Modified the Resource Manager to allow zero interrupts and zero
14599 dma channels during the GetCurrentResources call. This was
14600 causing problems on some platforms.
14602 Added the AcpiOsRedirectOutput interface to the OSL to simplify
14603 output redirection for the AcpiOsPrintf and AcpiOsVprintf
14606 Code and Data Size: Current core subsystem library sizes are shown
14607 below. These are the code and data sizes for the acpica.lib
14608 produced by the Microsoft Visual C++ 6.0 compiler, and these
14609 values do not include any ACPI driver or OSPM code. The debug
14610 version of the code includes the debug output trace mechanism and
14611 has a larger code and data size. Note that these values will vary
14612 depending on the efficiency of the compiler and the compiler
14613 options used during generation.
14616 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14617 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14619 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
14620 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
14625 Fixed a panic in the EC driver (Dominik Brodowski)
14627 Implemented checksum of the R/XSDT itself during Linux table scan
14633 The AML disassembler is integrated into the compiler. The "-d"
14634 option invokes the disassembler to completely disassemble an
14635 input AML file, producing as output a text ASL file with the
14636 extension ".dsl" (to avoid name collisions with existing .asl
14637 source files.) A future enhancement will allow the disassembler
14638 to obtain the BIOS DSDT from the registry under Windows.
14640 Fixed a problem with the VendorShort and VendorLong resource
14641 descriptors where an invalid AML sequence was created.
14643 Implemented a fix for BufferData term in the ASL parser. It was
14644 inadvertently defined twice, allowing invalid syntax to pass and
14645 causing reduction conflicts.
14647 Fixed a problem where the Ones opcode could get converted to a
14648 value of zero if "Ones" was used where a byte, word or dword value
14649 was expected. The 64-bit value is now truncated to the correct
14650 size with the correct value.
14654 ----------------------------------------
14655 02 July 2002. Summary of changes for this release.
14658 1) ACPI CA Core Subsystem Version 20020702:
14660 The Table Manager code has been restructured to add several new
14661 features. Tables that are not required by the core subsystem
14662 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
14663 validated in any way and are returned from AcpiGetFirmwareTable if
14664 requested. The AcpiOsTableOverride interface is now called for
14665 each table that is loaded by the subsystem in order to allow the
14666 host to override any table it chooses. Previously, only the DSDT
14667 could be overridden. Added one new files, tbrsdt.c and
14670 Fixed a problem with the conversion of internal package objects to
14671 external objects (when a package is returned from a control
14672 method.) The return buffer length was set to zero instead of the
14673 proper length of the package object.
14675 Fixed a reported problem with the use of the RefOf and DeRefOf
14676 operators when passing reference arguments to control methods. A
14677 new type of Reference object is used internally for references
14678 produced by the RefOf operator.
14680 Added additional error messages in the Resource Manager to explain
14681 AE_BAD_DATA errors when they occur during resource parsing.
14683 Split the AcpiEnableSubsystem into two primitives to enable a
14684 finer granularity initialization sequence. These two calls should
14685 be called in this order: AcpiEnableSubsystem (flags),
14686 AcpiInitializeObjects (flags). The flags parameter remains the
14692 Updated the ACPI utilities module to understand the new style of
14693 fully resolved package objects that are now returned from the core
14694 subsystem. This eliminates errors of the form:
14696 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
14697 acpi_utils-0430 [145] acpi_evaluate_reference:
14698 Invalid element in package (not a device reference)
14700 The method evaluation utility uses the new buffer allocation
14701 scheme instead of calling AcpiEvaluate Object twice.
14703 Added support for ECDT. This allows the use of the Embedded
14705 Controller before the namespace has been fully initialized, which
14706 is necessary for ACPI 2.0 support, and for some laptops to
14707 initialize properly. (Laptops using ECDT are still rare, so only
14708 limited testing was performed of the added functionality.)
14710 Fixed memory leaks in the EC driver.
14712 Eliminated a brittle code structure in acpi_bus_init().
14714 Eliminated the acpi_evaluate() helper function in utils.c. It is
14715 no longer needed since acpi_evaluate_object can optionally
14716 allocate memory for the return object.
14718 Implemented fix for keyboard hang when getting battery readings on
14719 some systems (Stephen White)
14721 PCI IRQ routing update (Dominik Brodowski)
14723 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
14726 ----------------------------------------
14727 11 June 2002. Summary of changes for this release.
14730 1) ACPI CA Core Subsystem Version 20020611:
14732 Fixed a reported problem where constants such as Zero and One
14733 appearing within _PRT packages were not handled correctly within
14734 the resource manager code. Originally reported against the ASL
14735 compiler because the code generator now optimizes integers to
14736 their minimal AML representation (i.e. AML constants if possible.)
14737 The _PRT code now handles all AML constant opcodes correctly
14738 (Zero, One, Ones, Revision).
14740 Fixed a problem with the Concatenate operator in the AML
14741 interpreter where a buffer result object was incorrectly marked as
14742 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
14744 All package sub-objects are now fully resolved before they are
14745 returned from the external ACPI interfaces. This means that name
14746 strings are resolved to object handles, and constant operators
14747 (Zero, One, Ones, Revision) are resolved to Integers.
14749 Implemented immediate resolution of the AML Constant opcodes
14750 (Zero, One, Ones, Revision) to Integer objects upon detection
14751 within the AML stream. This has simplified and reduced the
14752 generated code size of the subsystem by eliminating about 10
14753 switch statements for these constants (which previously were
14754 contained in Reference objects.) The complicating issues are that
14755 the Zero opcode is used as a "placeholder" for unspecified
14756 optional target operands and stores to constants are defined to be
14759 Code and Data Size: Current core subsystem library sizes are shown
14760 below. These are the code and data sizes for the acpica.lib
14761 produced by the Microsoft Visual C++ 6.0 compiler, and these
14762 values do not include any ACPI driver or OSPM code. The debug
14763 version of the code includes the debug output trace mechanism and
14764 has a larger code and data size. Note that these values will vary
14765 depending on the efficiency of the compiler and the compiler
14766 options used during generation.
14769 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14770 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14772 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
14773 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
14779 Added preliminary support for obtaining _TRA data for PCI root
14780 bridges (Bjorn Helgaas).
14783 3) iASL Compiler Version X2046:
14785 Fixed a problem where the "_DDN" reserved name was defined to be a
14786 control method with one argument. There are no arguments, and
14787 _DDN does not have to be a control method.
14789 Fixed a problem with the Linux version of the compiler where the
14790 source lines printed with error messages were the wrong lines.
14791 This turned out to be the "LF versus CR/LF" difference between
14792 Windows and Unix. This appears to be the longstanding issue
14793 concerning listing output and error messages.
14795 Fixed a problem with the Linux version of compiler where opcode
14796 names within error messages were wrong. This was caused by a
14797 slight difference in the output of the Flex tool on Linux versus
14800 Fixed a problem with the Linux compiler where the hex output files
14801 contained some garbage data caused by an internal buffer overrun.
14804 ----------------------------------------
14805 17 May 2002. Summary of changes for this release.
14808 1) ACPI CA Core Subsystem Version 20020517:
14810 Implemented a workaround to an BIOS bug discovered on the HP
14811 OmniBook where the FADT revision number and the table size are
14812 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
14813 behavior is to fallback to using only the ACPI 1.0 fields of the
14814 FADT if the table is too small to be a ACPI 2.0 table as claimed
14815 by the revision number. Although this is a BIOS bug, this is a
14816 case where the workaround is simple enough and with no side
14817 effects, so it seemed prudent to add it. A warning message is
14820 Implemented minimum size checks for the fixed-length ACPI tables -
14821 - the FADT and FACS, as well as consistency checks between the
14822 revision number and the table size.
14824 Fixed a reported problem in the table override support where the
14825 new table pointer was incorrectly treated as a physical address
14826 instead of a logical address.
14828 Eliminated the use of the AE_AML_ERROR exception and replaced it
14829 with more descriptive codes.
14831 Fixed a problem where an exception would occur if an ASL Field was
14832 defined with no named Field Units underneath it (used by some
14835 Code and Data Size: Current core subsystem library sizes are shown
14836 below. These are the code and data sizes for the acpica.lib
14837 produced by the Microsoft Visual C++ 6.0 compiler, and these
14838 values do not include any ACPI driver or OSPM code. The debug
14839 version of the code includes the debug output trace mechanism and
14840 has a larger code and data size. Note that these values will vary
14841 depending on the efficiency of the compiler and the compiler
14842 options used during generation.
14845 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14846 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14848 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
14849 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
14855 Much work done on ACPI init (MADT and PCI IRQ routing support).
14856 (Paul D. and Dominik Brodowski)
14858 Fix PCI IRQ-related panic on boot (Sam Revitch)
14860 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
14862 Fix "MHz" typo (Dominik Brodowski)
14864 Fix RTC year 2000 issue (Dominik Brodowski)
14866 Preclude multiple button proc entries (Eric Brunet)
14868 Moved arch-specific code out of include/platform/aclinux.h
14870 3) iASL Compiler Version X2044:
14872 Implemented error checking for the string used in the EISAID macro
14873 (Usually used in the definition of the _HID object.) The code now
14874 strictly enforces the PnP format - exactly 7 characters, 3
14875 uppercase letters and 4 hex digits.
14877 If a raw string is used in the definition of the _HID object
14878 (instead of the EISAID macro), the string must contain all
14879 alphanumeric characters (e.g., "*PNP0011" is not allowed because
14882 Implemented checking for invalid use of ACPI reserved names for
14883 most of the name creation operators (Name, Device, Event, Mutex,
14884 OperationRegion, PowerResource, Processor, and ThermalZone.)
14885 Previously, this check was only performed for control methods.
14887 Implemented an additional check on the Name operator to emit an
14888 error if a reserved name that must be implemented in ASL as a
14889 control method is used. We know that a reserved name must be a
14890 method if it is defined with input arguments.
14892 The warning emitted when a namespace object reference is not found
14893 during the cross reference phase has been changed into an error.
14894 The "External" directive should be used for names defined in other
14898 4) Tools and Utilities
14900 The 16-bit tools (adump16 and aexec16) have been regenerated and
14903 Fixed a problem with the output of both acpidump and adump16 where
14904 the indentation of closing parentheses and brackets was not
14906 aligned properly with the parent block.
14909 ----------------------------------------
14910 03 May 2002. Summary of changes for this release.
14913 1) ACPI CA Core Subsystem Version 20020503:
14915 Added support a new OSL interface that allows the host operating
14917 system software to override the DSDT found in the firmware -
14918 AcpiOsTableOverride. With this interface, the OSL can examine the
14919 version of the firmware DSDT and replace it with a different one
14922 Added new external interfaces for accessing ACPI registers from
14923 device drivers and other system software - AcpiGetRegister and
14924 AcpiSetRegister. This was simply an externalization of the
14925 existing AcpiHwBitRegister interfaces.
14927 Fixed a regression introduced in the previous build where the
14928 ASL/AML CreateField operator always returned an error,
14929 "destination must be a NS Node".
14931 Extended the maximum time (before failure) to successfully enable
14932 ACPI mode to 3 seconds.
14934 Code and Data Size: Current core subsystem library sizes are shown
14935 below. These are the code and data sizes for the acpica.lib
14936 produced by the Microsoft Visual C++ 6.0 compiler, and these
14937 values do not include any ACPI driver or OSPM code. The debug
14938 version of the code includes the debug output trace mechanism and
14939 has a larger code and data size. Note that these values will vary
14940 depending on the efficiency of the compiler and the compiler
14941 options used during generation.
14944 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
14945 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
14947 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
14948 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
14953 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
14954 free. While 3 out of 4 of our in-house systems work fine, the last
14955 one still hangs when testing the LAPIC timer.
14957 Renamed many files in 2.5 kernel release to omit "acpi_" from the
14960 Added warning on boot for Presario 711FR.
14962 Sleep improvements (Pavel Machek)
14964 ACPI can now be built without CONFIG_PCI enabled.
14966 IA64: Fixed memory map functions (JI Lee)
14969 3) iASL Compiler Version X2043:
14971 Added support to allow the compiler to be integrated into the MS
14972 VC++ development environment for one-button compilation of single
14973 files or entire projects -- with error-to-source-line mapping.
14975 Implemented support for compile-time constant folding for the
14976 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
14977 specification. This allows the ASL writer to use expressions
14978 instead of Integer/Buffer/String constants in terms that must
14979 evaluate to constants at compile time and will also simplify the
14980 emitted AML in any such sub-expressions that can be folded
14981 (evaluated at compile-time.) This increases the size of the
14982 compiler significantly because a portion of the ACPI CA AML
14983 interpreter is included within the compiler in order to pre-
14984 evaluate constant expressions.
14987 Fixed a problem with the "Unicode" ASL macro that caused the
14988 compiler to fault. (This macro is used in conjunction with the
14989 _STR reserved name.)
14991 Implemented an AML opcode optimization to use the Zero, One, and
14992 Ones opcodes where possible to further reduce the size of integer
14993 constants and thus reduce the overall size of the generated AML
14996 Implemented error checking for new reserved terms for ACPI version
14999 Implemented the -qr option to display the current list of ACPI
15000 reserved names known to the compiler.
15002 Implemented the -qc option to display the current list of ASL
15003 operators that are allowed within constant expressions and can
15004 therefore be folded at compile time if the operands are constants.
15009 Updated the Programmer's Reference for new interfaces, data types,
15010 and memory allocation model options.
15012 Updated the iASL Compiler User Reference to apply new format and
15013 add information about new features and options.
15015 ----------------------------------------
15016 19 April 2002. Summary of changes for this release.
15018 1) ACPI CA Core Subsystem Version 20020419:
15020 The source code base for the Core Subsystem has been completely
15021 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
15022 versions. The Lint option files used are included in the
15023 /acpi/generate/lint directory.
15025 Implemented enhanced status/error checking across the entire
15026 Hardware manager subsystem. Any hardware errors (reported from
15027 the OSL) are now bubbled up and will abort a running control
15031 Fixed a problem where the per-ACPI-table integer width (32 or 64)
15032 was stored only with control method nodes, causing a fault when
15033 non-control method code was executed during table loading. The
15034 solution implemented uses a global variable to indicate table
15035 width across the entire ACPI subsystem. Therefore, ACPI CA does
15036 not support mixed integer widths across different ACPI tables
15039 Fixed a problem where NULL extended fields (X fields) in an ACPI
15040 2.0 ACPI FADT caused the table load to fail. Although the
15041 existing ACPI specification is a bit fuzzy on this topic, the new
15042 behavior is to fall back on a ACPI 1.0 field if the corresponding
15043 ACPI 2.0 X field is zero (even though the table revision indicates
15044 a full ACPI 2.0 table.) The ACPI specification will be updated to
15045 clarify this issue.
15047 Fixed a problem with the SystemMemory operation region handler
15048 where memory was always accessed byte-wise even if the AML-
15049 specified access width was larger than a byte. This caused
15050 problems on systems with memory-mapped I/O. Memory is now
15051 accessed with the width specified. On systems that do not support
15052 non-aligned transfers, a check is made to guarantee proper address
15053 alignment before proceeding in order to avoid an AML-caused
15054 alignment fault within the kernel.
15057 Fixed a problem with the ExtendedIrq resource where only one byte
15058 of the 4-byte Irq field was extracted.
15060 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
15061 function was out of date and required a rewrite.
15063 Code and Data Size: Current core subsystem library sizes are shown
15064 below. These are the code and data sizes for the acpica.lib
15065 produced by the Microsoft Visual C++ 6.0 compiler, and these
15066 values do not include any ACPI driver or OSPM code. The debug
15067 version of the code includes the debug output trace mechanism and
15068 has a larger code and data size. Note that these values will vary
15069 depending on the efficiency of the compiler and the compiler
15070 options used during generation.
15073 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
15074 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
15076 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
15077 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
15082 PCI IRQ routing fixes (Dominik Brodowski)
15085 3) iASL Compiler Version X2042:
15087 Implemented an additional compile-time error check for a field
15088 unit whose size + minimum access width would cause a run-time
15089 access beyond the end-of-region. Previously, only the field size
15090 itself was checked.
15092 The Core subsystem and iASL compiler now share a common parse
15093 object in preparation for compile-time evaluation of the type
15094 3/4/5 ASL operators.
15097 ----------------------------------------
15098 Summary of changes for this release: 03_29_02
15100 1) ACPI CA Core Subsystem Version 20020329:
15102 Implemented support for late evaluation of TermArg operands to
15103 Buffer and Package objects. This allows complex expressions to be
15104 used in the declarations of these object types.
15106 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
15107 1.0, if the field was larger than 32 bits, it was returned as a
15108 buffer - otherwise it was returned as an integer. In ACPI 2.0,
15109 the field is returned as a buffer only if the field is larger than
15110 64 bits. The TableRevision is now considered when making this
15111 conversion to avoid incompatibility with existing ASL code.
15113 Implemented logical addressing for AcpiOsGetRootPointer. This
15114 allows an RSDP with either a logical or physical address. With
15115 this support, the host OS can now override all ACPI tables with
15116 one logical RSDP. Includes implementation of "typed" pointer
15117 support to allow a common data type for both physical and logical
15118 pointers internally. This required a change to the
15119 AcpiOsGetRootPointer interface.
15121 Implemented the use of ACPI 2.0 Generic Address Structures for all
15122 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
15123 mapped I/O for these ACPI features.
15125 Initialization now ignores not only non-required tables (All
15126 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
15127 not validate the table headers of unrecognized tables.
15129 Fixed a problem where a notify handler could only be
15130 installed/removed on an object of type Device. All "notify"
15132 objects are now supported -- Devices, Processor, Power, and
15135 Removed most verbosity from the ACPI_DB_INFO debug level. Only
15136 critical information is returned when this debug level is enabled.
15138 Code and Data Size: Current core subsystem library sizes are shown
15139 below. These are the code and data sizes for the acpica.lib
15140 produced by the Microsoft Visual C++ 6.0 compiler, and these
15141 values do not include any ACPI driver or OSPM code. The debug
15142 version of the code includes the debug output trace mechanism and
15143 has a larger code and data size. Note that these values will vary
15144 depending on the efficiency of the compiler and the compiler
15145 options used during generation.
15148 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
15149 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
15151 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
15152 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
15157 The processor driver (acpi_processor.c) now fully supports ACPI
15158 2.0-based processor performance control (e.g. Intel(R)
15159 SpeedStep(TM) technology) Note that older laptops that only have
15160 the Intel "applet" interface are not supported through this. The
15161 'limit' and 'performance' interface (/proc) are fully functional.
15162 [Note that basic policy for controlling performance state
15163 transitions will be included in the next version of ospmd.] The
15164 idle handler was modified to more aggressively use C2, and PIIX4
15165 errata handling underwent a complete overhaul (big thanks to
15166 Dominik Brodowski).
15168 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
15169 based devices in the ACPI namespace are now dynamically bound
15170 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
15171 This allows, among other things, ACPI to resolve bus numbers for
15172 subordinate PCI bridges.
15174 Enhanced PCI IRQ routing to get the proper bus number for _PRT
15175 entries defined underneath PCI bridges.
15177 Added IBM 600E to bad bios list due to invalid _ADR value for
15178 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
15180 In the process of adding full MADT support (e.g. IOAPIC) for IA32
15181 (acpi.c, mpparse.c) -- stay tuned.
15183 Added back visual differentiation between fixed-feature and
15184 control-method buttons in dmesg. Buttons are also subtyped (e.g.
15185 button/power/PWRF) to simplify button identification.
15187 We no longer use -Wno-unused when compiling debug. Please ignore
15188 any "_THIS_MODULE defined but not used" messages.
15190 Can now shut down the system using "magic sysrq" key.
15193 3) iASL Compiler version 2041:
15195 Fixed a problem where conversion errors for hex/octal/decimal
15196 constants were not reported.
15198 Implemented a fix for the General Register template Address field.
15199 This field was 8 bits when it should be 64.
15201 Fixed a problem where errors/warnings were no longer being emitted
15202 within the listing output file.
15204 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
15205 exactly 4 characters, alphanumeric only.
15210 ----------------------------------------
15211 Summary of changes for this release: 03_08_02
15214 1) ACPI CA Core Subsystem Version 20020308:
15216 Fixed a problem with AML Fields where the use of the "AccessAny"
15217 keyword could cause an interpreter error due to attempting to read
15218 or write beyond the end of the parent Operation Region.
15220 Fixed a problem in the SystemMemory Operation Region handler where
15221 an attempt was made to map memory beyond the end of the region.
15222 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
15223 errors on some Linux systems.
15225 Fixed a problem where the interpreter/namespace "search to root"
15226 algorithm was not functioning for some object types. Relaxed the
15227 internal restriction on the search to allow upsearches for all
15228 external object types as well as most internal types.
15233 We now use safe_halt() macro versus individual calls to sti | hlt.
15235 Writing to the processor limit interface should now work. "echo 1"
15236 will increase the limit, 2 will decrease, and 0 will reset to the
15243 Fixed segfault on Linux version.
15246 ----------------------------------------
15247 Summary of changes for this release: 02_25_02
15249 1) ACPI CA Core Subsystem:
15252 Fixed a problem where the GPE bit masks were not initialized
15253 properly, causing erratic GPE behavior.
15255 Implemented limited support for multiple calling conventions. The
15256 code can be generated with either the VPL (variable parameter
15257 list, or "C") convention, or the FPL (fixed parameter list, or
15258 "Pascal") convention. The core subsystem is about 3.4% smaller
15259 when generated with FPL.
15264 Re-add some /proc/acpi/event functionality that was lost during
15267 Resolved issue with /proc events for fixed-feature buttons showing
15268 up as the system device.
15270 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
15272 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
15274 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
15276 Fixed limit interface & usage to fix bugs with passive cooling
15279 Restructured PRT support.
15282 ----------------------------------------
15283 Summary of changes for this label: 02_14_02
15286 1) ACPI CA Core Subsystem:
15288 Implemented support in AcpiLoadTable to allow loading of FACS and
15291 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
15292 been removed. All 64-bit platforms should be migrated to the ACPI
15293 2.0 tables. The actbl71.h header has been removed from the source
15296 All C macros defined within the subsystem have been prefixed with
15297 "ACPI_" to avoid collision with other system include files.
15299 Removed the return value for the two AcpiOsPrint interfaces, since
15300 it is never used and causes lint warnings for ignoring the return
15303 Added error checking to all internal mutex acquire and release
15304 calls. Although a failure from one of these interfaces is
15305 probably a fatal system error, these checks will cause the
15306 immediate abort of the currently executing method or interface.
15308 Fixed a problem where the AcpiSetCurrentResources interface could
15309 fault. This was a side effect of the deployment of the new memory
15312 Fixed a couple of problems with the Global Lock support introduced
15313 in the last major build. The "common" (1.0/2.0) internal FACS was
15314 being overwritten with the FACS signature and clobbering the
15315 Global Lock pointer. Also, the actual firmware FACS was being
15316 unmapped after construction of the "common" FACS, preventing
15317 access to the actual Global Lock field within it. The "common"
15318 internal FACS is no longer installed as an actual ACPI table; it
15319 is used simply as a global.
15321 Code and Data Size: Current core subsystem library sizes are shown
15322 below. These are the code and data sizes for the acpica.lib
15323 produced by the Microsoft Visual C++ 6.0 compiler, and these
15324 values do not include any ACPI driver or OSPM code. The debug
15325 version of the code includes the debug output trace mechanism and
15326 has a larger code and data size. Note that these values will vary
15327 depending on the efficiency of the compiler and the compiler
15328 options used during generation.
15330 Previous Release (02_07_01)
15331 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
15332 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
15334 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
15335 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
15340 Updated Linux-specific code for core macro and OSL interface
15341 changes described above.
15343 Improved /proc/acpi/event. It now can be opened only once and has
15344 proper poll functionality.
15346 Fixed and restructured power management (acpi_bus).
15348 Only create /proc "view by type" when devices of that class exist.
15350 Fixed "charging/discharging" bug (and others) in acpi_battery.
15352 Improved thermal zone code.
15355 3) ASL Compiler, version X2039:
15358 Implemented the new compiler restriction on ASL String hex/octal
15359 escapes to non-null, ASCII values. An error results if an invalid
15360 value is used. (This will require an ACPI 2.0 specification
15363 AML object labels that are output to the optional C and ASM source
15364 are now prefixed with both the ACPI table signature and table ID
15365 to help guarantee uniqueness within a large BIOS project.
15368 ----------------------------------------
15369 Summary of changes for this label: 02_01_02
15371 1) ACPI CA Core Subsystem:
15373 ACPI 2.0 support is complete in the entire Core Subsystem and the
15374 ASL compiler. All new ACPI 2.0 operators are implemented and all
15375 other changes for ACPI 2.0 support are complete. With
15376 simultaneous code and data optimizations throughout the subsystem,
15377 ACPI 2.0 support has been implemented with almost no additional
15378 cost in terms of code and data size.
15380 Implemented a new mechanism for allocation of return buffers. If
15381 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
15382 be allocated on behalf of the caller. Consolidated all return
15383 buffer validation and allocation to a common procedure. Return
15384 buffers will be allocated via the primary OSL allocation interface
15385 since it appears that a separate pool is not needed by most users.
15386 If a separate pool is required for these buffers, the caller can
15387 still use the original mechanism and pre-allocate the buffer(s).
15389 Implemented support for string operands within the DerefOf
15392 Restructured the Hardware and Event managers to be table driven,
15393 simplifying the source code and reducing the amount of generated
15396 Split the common read/write low-level ACPI register bitfield
15397 procedure into a separate read and write, simplifying the code
15400 Obsoleted the AcpiOsCallocate OSL interface. This interface was
15401 used only a handful of times and didn't have enough critical mass
15402 for a separate interface. Replaced with a common calloc procedure
15405 Fixed a reported problem with the GPE number mapping mechanism
15406 that allows GPE1 numbers to be non-contiguous with GPE0.
15407 Reorganized the GPE information and shrunk a large array that was
15408 originally large enough to hold info for all possible GPEs (256)
15409 to simply large enough to hold all GPEs up to the largest GPE
15410 number on the machine.
15412 Fixed a reported problem with resource structure alignment on 64-
15415 Changed the AcpiEnableEvent and AcpiDisableEvent external
15416 interfaces to not require any flags for the common case of
15417 enabling/disabling a GPE.
15419 Implemented support to allow a "Notify" on a Processor object.
15421 Most TBDs in comments within the source code have been resolved
15425 Fixed a problem in the interpreter where a standalone parent
15426 prefix (^) was not handled correctly in the interpreter and
15429 Removed obsolete and unnecessary GPE save/restore code.
15431 Implemented Field support in the ASL Load operator. This allows a
15432 table to be loaded from a named field, in addition to loading a
15433 table directly from an Operation Region.
15435 Implemented timeout and handle support in the external Global Lock
15438 Fixed a problem in the AcpiDump utility where pathnames were no
15439 longer being generated correctly during the dump of named objects.
15441 Modified the AML debugger to give a full display of if/while
15442 predicates instead of just one AML opcode at a time. (The
15443 predicate can have several nested ASL statements.) The old method
15444 was confusing during single stepping.
15446 Code and Data Size: Current core subsystem library sizes are shown
15447 below. These are the code and data sizes for the acpica.lib
15448 produced by the Microsoft Visual C++ 6.0 compiler, and these
15449 values do not include any ACPI driver or OSPM code. The debug
15450 version of the code includes the debug output trace mechanism and
15451 has a larger code and data size. Note that these values will vary
15452 depending on the efficiency of the compiler and the compiler
15453 options used during generation.
15455 Previous Release (12_18_01)
15456 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
15457 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
15459 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
15460 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
15464 Implemented fix for PIIX reverse throttling errata (Processor
15467 Added new Limit interface (Processor and Thermal drivers)
15469 New thermal policy (Thermal driver)
15471 Many updates to /proc
15473 Battery "low" event support (Battery driver)
15475 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
15477 IA32 - IA64 initialization unification, no longer experimental
15479 Menuconfig options redesigned
15481 3) ASL Compiler, version X2037:
15483 Implemented several new output features to simplify integration of
15484 AML code into firmware: 1) Output the AML in C source code with
15485 labels for each named ASL object. The original ASL source code
15486 is interleaved as C comments. 2) Output the AML in ASM source code
15487 with labels and interleaved ASL source. 3) Output the AML in
15488 raw hex table form, in either C or ASM.
15490 Implemented support for optional string parameters to the
15491 LoadTable operator.
15493 Completed support for embedded escape sequences within string
15494 literals. The compiler now supports all single character escapes
15495 as well as the Octal and Hex escapes. Note: the insertion of a
15496 null byte into a string literal (via the hex/octal escape) causes
15497 the string to be immediately terminated. A warning is issued.
15499 Fixed a problem where incorrect AML was generated for the case
15500 where an ASL namepath consists of a single parent prefix (
15502 ) with no trailing name segments.
15504 The compiler has been successfully generated with a 64-bit C
15510 ----------------------------------------
15511 Summary of changes for this label: 12_18_01
15515 Enhanced blacklist with reason and severity fields. Any table's
15516 signature may now be used to identify a blacklisted system.
15518 Call _PIC control method to inform the firmware which interrupt
15519 model the OS is using. Turn on any disabled link devices.
15521 Cleaned up busmgr /proc error handling (Andreas Dilger)
15523 2) ACPI CA Core Subsystem:
15525 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
15528 Completed implementation of the ACPI 2.0 "Continue",
15529 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
15530 operators. All new ACPI 2.0 operators are now implemented in both
15531 the ASL compiler and the AML interpreter. The only remaining ACPI
15532 2.0 task is support for the String data type in the DerefOf
15533 operator. Fixed a problem with AcquireMutex where the status code
15534 was lost if the caller had to actually wait for the mutex.
15536 Increased the maximum ASL Field size from 64K bits to 4G bits.
15538 Completed implementation of the external Global Lock interfaces --
15539 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
15540 Handler parameters were added.
15542 Completed another pass at removing warnings and issues when
15543 compiling with 64-bit compilers. The code now compiles cleanly
15544 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
15545 add and subtract (diff) macros have changed considerably.
15548 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
15549 64-bit platforms, 32-bits on all others. This type is used
15550 wherever memory allocation and/or the C sizeof() operator is used,
15551 and affects the OSL memory allocation interfaces AcpiOsAllocate
15552 and AcpiOsCallocate.
15554 Implemented sticky user breakpoints in the AML debugger.
15556 Code and Data Size: Current core subsystem library sizes are shown
15557 below. These are the code and data sizes for the acpica.lib
15558 produced by the Microsoft Visual C++ 6.0 compiler, and these
15559 values do not include any ACPI driver or OSPM code. The debug
15560 version of the code includes the debug output trace mechanism and
15561 has a larger code and data size. Note that these values will vary
15562 depending on the efficiency of the compiler and the compiler
15563 options used during generation.
15565 Previous Release (12_05_01)
15566 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15567 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
15569 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
15570 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
15572 3) ASL Compiler, version X2034:
15574 Now checks for (and generates an error if detected) the use of a
15575 Break or Continue statement without an enclosing While statement.
15578 Successfully generated the compiler with the Intel 64-bit C
15581 ----------------------------------------
15582 Summary of changes for this label: 12_05_01
15584 1) ACPI CA Core Subsystem:
15586 The ACPI 2.0 CopyObject operator is fully implemented. This
15587 operator creates a new copy of an object (and is also used to
15588 bypass the "implicit conversion" mechanism of the Store operator.)
15590 The ACPI 2.0 semantics for the SizeOf operator are fully
15591 implemented. The change is that performing a SizeOf on a
15592 reference object causes an automatic dereference of the object to
15593 tha actual value before the size is evaluated. This behavior was
15594 undefined in ACPI 1.0.
15596 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
15597 have been implemented. The interrupt polarity and mode are now
15600 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
15601 appearing in Package objects were not properly converted to
15602 integers when the internal Package was converted to an external
15603 object (via the AcpiEvaluateObject interface.)
15605 Fixed a problem with the namespace object deletion mechanism for
15606 objects created by control methods. There were two parts to this
15607 problem: 1) Objects created during the initialization phase method
15608 parse were not being deleted, and 2) The object owner ID mechanism
15609 to track objects was broken.
15611 Fixed a problem where the use of the ASL Scope operator within a
15612 control method would result in an invalid opcode exception.
15614 Fixed a problem introduced in the previous label where the buffer
15615 length required for the _PRT structure was not being returned
15618 Code and Data Size: Current core subsystem library sizes are shown
15619 below. These are the code and data sizes for the acpica.lib
15620 produced by the Microsoft Visual C++ 6.0 compiler, and these
15621 values do not include any ACPI driver or OSPM code. The debug
15622 version of the code includes the debug output trace mechanism and
15623 has a larger code and data size. Note that these values will vary
15624 depending on the efficiency of the compiler and the compiler
15625 options used during generation.
15627 Previous Release (11_20_01)
15628 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15629 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15632 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
15633 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
15637 Updated all files to apply cleanly against 2.4.16.
15639 Added basic PCI Interrupt Routing Table (PRT) support for IA32
15640 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
15641 version supports both static and dyanmic PRT entries, but dynamic
15642 entries are treated as if they were static (not yet
15643 reconfigurable). Architecture- specific code to use this data is
15644 absent on IA32 but should be available shortly.
15646 Changed the initialization sequence to start the ACPI interpreter
15647 (acpi_init) prior to initialization of the PCI driver (pci_init)
15648 in init/main.c. This ordering is required to support PRT and
15649 facilitate other (future) enhancement. A side effect is that the
15650 ACPI bus driver and certain device drivers can no longer be loaded
15653 Modified the 'make menuconfig' options to allow PCI Interrupt
15654 Routing support to be included without the ACPI Bus and other
15657 3) ASL Compiler, version X2033:
15659 Fixed some issues with the use of the new CopyObject and
15660 DataTableRegion operators. Both are fully functional.
15662 ----------------------------------------
15663 Summary of changes for this label: 11_20_01
15665 20 November 2001. Summary of changes for this release.
15667 1) ACPI CA Core Subsystem:
15669 Updated Index support to match ACPI 2.0 semantics. Storing a
15670 Integer, String, or Buffer to an Index of a Buffer will store only
15671 the least-significant byte of the source to the Indexed buffer
15672 byte. Multiple writes are not performed.
15674 Fixed a problem where the access type used in an AccessAs ASL
15675 operator was not recorded correctly into the field object.
15677 Fixed a problem where ASL Event objects were created in a
15678 signalled state. Events are now created in an unsignalled state.
15680 The internal object cache is now purged after table loading and
15681 initialization to reduce the use of dynamic kernel memory -- on
15682 the assumption that object use is greatest during the parse phase
15683 of the entire table (versus the run-time use of individual control
15686 ACPI 2.0 variable-length packages are now fully operational.
15688 Code and Data Size: Code and Data optimizations have permitted new
15689 feature development with an actual reduction in the library size.
15690 Current core subsystem library sizes are shown below. These are
15691 the code and data sizes for the acpica.lib produced by the
15692 Microsoft Visual C++ 6.0 compiler, and these values do not include
15693 any ACPI driver or OSPM code. The debug version of the code
15694 includes the debug output trace mechanism and has a larger code
15695 and data size. Note that these values will vary depending on the
15696 efficiency of the compiler and the compiler options used during
15699 Previous Release (11_09_01):
15700 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15701 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15704 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
15705 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
15709 Enhanced the ACPI boot-time initialization code to allow the use
15710 of Local APIC tables for processor enumeration on IA-32, and to
15711 pave the way for a fully MPS-free boot (on SMP systems) in the
15712 near future. This functionality replaces
15713 arch/i386/kernel/acpitables.c, which was introduced in an earlier
15714 2.4.15-preX release. To enable this feature you must add
15715 "acpi_boot=on" to the kernel command line -- see the help entry
15716 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
15719 Restructured the configuration options to allow boot-time table
15720 parsing support without inclusion of the ACPI Interpreter (and
15723 NOTE: This release does not include fixes for the reported events,
15724 power-down, and thermal passive cooling issues (coming soon).
15728 Added additional typechecking for Fields within restricted access
15729 Operation Regions. All fields within EC and CMOS regions must be
15730 declared with ByteAcc. All fields withing SMBus regions must be
15731 declared with the BufferAcc access type.
15733 Fixed a problem where the listing file output of control methods
15734 no longer interleaved the actual AML code with the ASL source
15740 ----------------------------------------
15741 Summary of changes for this label: 11_09_01
15743 1) ACPI CA Core Subsystem:
15745 Implemented ACPI 2.0-defined support for writes to fields with a
15746 Buffer, String, or Integer source operand that is smaller than the
15747 target field. In these cases, the source operand is zero-extended
15748 to fill the target field.
15750 Fixed a problem where a Field starting bit offset (within the
15751 parent operation region) was calculated incorrectly if the
15753 alignment of the field differed from the access width. This
15754 affected CreateWordField, CreateDwordField, CreateQwordField, and
15755 possibly other fields that use the "AccessAny" keyword.
15757 Fixed a problem introduced in the 11_02_01 release where indirect
15758 stores through method arguments did not operate correctly.
15762 Implemented boot-time ACPI table parsing support
15763 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
15764 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
15765 legacy BIOS interfaces (e.g. MPS) for the configuration of system
15766 processors, memory, and interrupts during setup_arch(). Note that
15767 this patch does not include the required architecture-specific
15768 changes required to apply this information -- subsequent patches
15769 will be posted for both IA32 and IA64 to achieve this.
15771 Added low-level sleep support for IA32 platforms, courtesy of Pat
15772 Mochel. This allows IA32 systems to transition to/from various
15773 sleeping states (e.g. S1, S3), although the lack of a centralized
15774 driver model and power-manageable drivers will prevent its
15775 (successful) use on most systems.
15777 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
15778 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
15779 tables" option, etc.
15781 Increased the default timeout for the EC driver from 1ms to 10ms
15782 (1000 cycles of 10us) to try to address AE_TIME errors during EC
15785 ----------------------------------------
15786 Summary of changes for this label: 11_02_01
15788 1) ACPI CA Core Subsystem:
15790 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
15791 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
15794 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
15795 changes to support ACPI 2.0 Qword field access. Read/Write
15796 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
15797 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
15798 the value parameter for the address space handler interface is now
15799 an ACPI_INTEGER. OSL implementations of these interfaces must now
15800 handle the case where the Width parameter is 64.
15802 Index Fields: Fixed a problem where unaligned bit assembly and
15803 disassembly for IndexFields was not supported correctly.
15805 Index and Bank Fields: Nested Index and Bank Fields are now
15806 supported. During field access, a check is performed to ensure
15807 that the value written to an Index or Bank register is not out of
15808 the range of the register. The Index (or Bank) register is
15809 written before each access to the field data. Future support will
15810 include allowing individual IndexFields to be wider than the
15811 DataRegister width.
15813 Fields: Fixed a problem where the AML interpreter was incorrectly
15814 attempting to write beyond the end of a Field/OpRegion. This was
15815 a boundary case that occurred when a DWORD field was written to a
15816 BYTE access OpRegion, forcing multiple writes and causing the
15817 interpreter to write one datum too many.
15819 Fields: Fixed a problem with Field/OpRegion access where the
15820 starting bit address of a field was incorrectly calculated if the
15821 current access type was wider than a byte (WordAcc, DwordAcc, or
15824 Fields: Fixed a problem where forward references to individual
15825 FieldUnits (individual Field names within a Field definition) were
15826 not resolved during the AML table load.
15828 Fields: Fixed a problem where forward references from a Field
15829 definition to the parent Operation Region definition were not
15830 resolved during the AML table load.
15832 Fields: Duplicate FieldUnit names within a scope are now detected
15833 during AML table load.
15835 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
15836 returned an incorrect name for the root node.
15838 Code and Data Size: Code and Data optimizations have permitted new
15839 feature development with an actual reduction in the library size.
15840 Current core subsystem library sizes are shown below. These are
15841 the code and data sizes for the acpica.lib produced by the
15842 Microsoft Visual C++ 6.0 compiler, and these values do not include
15843 any ACPI driver or OSPM code. The debug version of the code
15844 includes the debug output trace mechanism and has a larger code
15845 and data size. Note that these values will vary depending on the
15846 efficiency of the compiler and the compiler options used during
15849 Previous Release (10_18_01):
15850 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15851 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15854 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
15855 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
15859 Improved /proc processor output (Pavel Machek) Re-added
15860 MODULE_LICENSE("GPL") to all modules.
15862 3) ASL Compiler version X2030:
15864 Duplicate FieldUnit names within a scope are now detected and
15869 Programmer Reference updated to reflect OSL and address space
15870 handler interface changes described above.
15872 ----------------------------------------
15873 Summary of changes for this label: 10_18_01
15875 ACPI CA Core Subsystem:
15877 Fixed a problem with the internal object reference count mechanism
15878 that occasionally caused premature object deletion. This resolves
15879 all of the outstanding problem reports where an object is deleted
15880 in the middle of an interpreter evaluation. Although this problem
15881 only showed up in rather obscure cases, the solution to the
15882 problem involved an adjustment of all reference counts involving
15883 objects attached to namespace nodes.
15885 Fixed a problem with Field support in the interpreter where
15886 writing to an aligned field whose length is an exact multiple (2
15887 or greater) of the field access granularity would cause an attempt
15888 to write beyond the end of the field.
15890 The top level AML opcode execution functions within the
15891 interpreter have been renamed with a more meaningful and
15892 consistent naming convention. The modules exmonad.c and
15893 exdyadic.c were eliminated. New modules are exoparg1.c,
15894 exoparg2.c, exoparg3.c, and exoparg6.c.
15896 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
15898 Fixed a problem where the AML debugger was causing some internal
15899 objects to not be deleted during subsystem termination.
15901 Fixed a problem with the external AcpiEvaluateObject interface
15902 where the subsystem would fault if the named object to be
15903 evaluated refered to a constant such as Zero, Ones, etc.
15905 Fixed a problem with IndexFields and BankFields where the
15906 subsystem would fault if the index, data, or bank registers were
15907 not defined in the same scope as the field itself.
15909 Added printf format string checking for compilers that support
15910 this feature. Corrected more than 50 instances of issues with
15911 format specifiers within invocations of ACPI_DEBUG_PRINT
15912 throughout the core subsystem code.
15914 The ASL "Revision" operator now returns the ACPI support level
15915 implemented in the core - the value "2" since the ACPI 2.0 support
15916 is more than 50% implemented.
15918 Enhanced the output of the AML debugger "dump namespace" command
15919 to output in a more human-readable form.
15921 Current core subsystem library code sizes are shown below. These
15923 are the code and data sizes for the acpica.lib produced by the
15924 Microsoft Visual C++ 6.0 compiler, and these values do not include
15925 any ACPI driver or OSPM code. The debug version of the code
15926 includes the full debug trace mechanism -- leading to a much
15928 larger code and data size. Note that these values will vary
15929 depending on the efficiency of the compiler and the compiler
15930 options used during generation.
15932 Previous Label (09_20_01):
15933 Non-Debug Version: 65K Code, 5K Data, 70K Total
15934 Debug Version: 138K Code, 58K Data, 196K Total
15938 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
15939 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
15943 Implemented a "Bad BIOS Blacklist" to track machines that have
15944 known ASL/AML problems.
15946 Enhanced the /proc interface for the thermal zone driver and added
15947 support for _HOT (the critical suspend trip point). The 'info'
15948 file now includes threshold/policy information, and allows setting
15949 of _SCP (cooling preference) and _TZP (polling frequency) values
15950 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
15951 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
15952 preference to the passive/quiet mode (if supported by the ASL).
15954 Implemented a workaround for a gcc bug that resuted in an OOPs
15955 when loading the control method battery driver.
15957 ----------------------------------------
15958 Summary of changes for this label: 09_20_01
15960 ACPI CA Core Subsystem:
15962 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
15963 modified to allow individual GPE levels to be flagged as wake-
15964 enabled (i.e., these GPEs are to remain enabled when the platform
15967 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
15968 support wake-enabled GPEs. This means that upon entering the
15969 sleep state, all GPEs that are not wake-enabled are disabled.
15970 When leaving the sleep state, these GPEs are reenabled.
15972 A local double-precision divide/modulo module has been added to
15973 enhance portability to OS kernels where a 64-bit math library is
15974 not available. The new module is "utmath.c".
15976 Several optimizations have been made to reduce the use of CPU
15977 stack. Originally over 2K, the maximum stack usage is now below
15978 2K at 1860 bytes (1.82k)
15980 Fixed a problem with the AcpiGetFirmwareTable interface where the
15981 root table pointer was not mapped into a logical address properly.
15983 Fixed a problem where a NULL pointer was being dereferenced in the
15984 interpreter code for the ASL Notify operator.
15986 Fixed a problem where the use of the ASL Revision operator
15987 returned an error. This operator now returns the current version
15988 of the ACPI CA core subsystem.
15990 Fixed a problem where objects passed as control method parameters
15991 to AcpiEvaluateObject were always deleted at method termination.
15992 However, these objects may end up being stored into the namespace
15993 by the called method. The object reference count mechanism was
15994 applied to these objects instead of a force delete.
15996 Fixed a problem where static strings or buffers (contained in the
15997 AML code) that are declared as package elements within the ASL
15998 code could cause a fault because the interpreter would attempt to
15999 delete them. These objects are now marked with the "static
16000 object" flag to prevent any attempt to delete them.
16002 Implemented an interpreter optimization to use operands directly
16003 from the state object instead of extracting the operands to local
16004 variables. This reduces stack use and code size, and improves
16007 The module exxface.c was eliminated as it was an unnecessary extra
16010 Current core subsystem library code sizes are shown below. These
16011 are the code and data sizes for the acpica.lib produced by the
16012 Microsoft Visual C++ 6.0 compiler, and these values do not include
16013 any ACPI driver or OSPM code. The debug version of the code
16014 includes the full debug trace mechanism -- leading to a much
16015 larger code and data size. Note that these values will vary
16016 depending on the efficiency of the compiler and the compiler
16017 options used during generation.
16019 Non-Debug Version: 65K Code, 5K Data, 70K Total
16020 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
16021 Total (Previously 195K)
16025 Support for ACPI 2.0 64-bit integers has been added. All ACPI
16026 Integer objects are now 64 bits wide
16028 All Acpi data types and structures are now in lower case. Only
16029 Acpi macros are upper case for differentiation.
16033 Changes to the external interfaces as described above.
16035 ----------------------------------------
16036 Summary of changes for this label: 08_31_01
16038 ACPI CA Core Subsystem:
16040 A bug with interpreter implementation of the ASL Divide operator
16041 was found and fixed. The implicit function return value (not the
16042 explicit store operands) was returning the remainder instead of
16043 the quotient. This was a longstanding bug and it fixes several
16044 known outstanding issues on various platforms.
16046 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
16047 been further optimized for size. There are 700 invocations of the
16048 DEBUG_PRINT macro alone, so each optimization reduces the size of
16049 the debug version of the subsystem significantly.
16051 A stack trace mechanism has been implemented. The maximum stack
16052 usage is about 2K on 32-bit platforms. The debugger command "stat
16053 stack" will display the current maximum stack usage.
16055 All public symbols and global variables within the subsystem are
16056 now prefixed with the string "Acpi". This keeps all of the
16057 symbols grouped together in a kernel map, and avoids conflicts
16058 with other kernel subsystems.
16060 Most of the internal fixed lookup tables have been moved into the
16061 code segment via the const operator.
16063 Several enhancements have been made to the interpreter to both
16064 reduce the code size and improve performance.
16066 Current core subsystem library code sizes are shown below. These
16067 are the code and data sizes for the acpica.lib produced by the
16068 Microsoft Visual C++ 6.0 compiler, and these values do not include
16069 any ACPI driver or OSPM code. The debug version of the code
16070 includes the full debug trace mechanism which contains over 700
16071 invocations of the DEBUG_PRINT macro, 500 function entry macro
16072 invocations, and over 900 function exit macro invocations --
16073 leading to a much larger code and data size. Note that these
16074 values will vary depending on the efficiency of the compiler and
16075 the compiler options used during generation.
16077 Non-Debug Version: 64K Code, 5K Data, 69K Total
16078 Debug Version: 137K Code, 58K Data, 195K Total
16082 Implemented wbinvd() macro, pending a kernel-wide definition.
16084 Fixed /proc/acpi/event to handle poll() and short reads.
16086 ASL Compiler, version X2026:
16088 Fixed a problem introduced in the previous label where the AML
16090 code emitted for package objects produced packages with zero
16093 ----------------------------------------
16094 Summary of changes for this label: 08_16_01
16096 ACPI CA Core Subsystem:
16098 The following ACPI 2.0 ASL operators have been implemented in the
16099 AML interpreter (These are already supported by the Intel ASL
16100 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
16101 ToBuffer. Support for 64-bit AML constants is implemented in the
16102 AML parser, debugger, and disassembler.
16104 The internal memory tracking mechanism (leak detection code) has
16105 been upgraded to reduce the memory overhead (a separate tracking
16106 block is no longer allocated for each memory allocation), and now
16107 supports all of the internal object caches.
16109 The data structures and code for the internal object caches have
16110 been coelesced and optimized so that there is a single cache and
16111 memory list data structure and a single group of functions that
16112 implement generic cache management. This has reduced the code
16113 size in both the debug and release versions of the subsystem.
16115 The DEBUG_PRINT macro(s) have been optimized for size and replaced
16116 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
16117 different, because it generates a single call to an internal
16118 function. This results in a savings of about 90 bytes per
16119 invocation, resulting in an overall code and data savings of about
16120 16% in the debug version of the subsystem.
16124 Fixed C3 disk corruption problems and re-enabled C3 on supporting
16127 Integrated low-level sleep code by Patrick Mochel.
16129 Further tweaked source code Linuxization.
16135 Support for ACPI 2.0 variable length packages is fixed/completed.
16137 Fixed a problem where the optional length parameter for the ACPI
16138 2.0 ToString operator.
16140 Fixed multiple extraneous error messages when a syntax error is
16141 detected within the declaration line of a control method.
16143 ----------------------------------------
16144 Summary of changes for this label: 07_17_01
16146 ACPI CA Core Subsystem:
16148 Added a new interface named AcpiGetFirmwareTable to obtain any
16149 ACPI table via the ACPI signature. The interface can be called at
16150 any time during kernel initialization, even before the kernel
16151 virtual memory manager is initialized and paging is enabled. This
16152 allows kernel subsystems to obtain ACPI tables very early, even
16153 before the ACPI CA subsystem is initialized.
16155 Fixed a problem where Fields defined with the AnyAcc attribute
16156 could be resolved to the incorrect address under the following
16157 conditions: 1) the field width is larger than 8 bits and 2) the
16158 parent operation region is not defined on a DWORD boundary.
16160 Fixed a problem where the interpreter is not being locked during
16161 namespace initialization (during execution of the _INI control
16162 methods), causing an error when an attempt is made to release it
16165 ACPI 2.0 support in the AML Interpreter has begun and will be
16166 ongoing throughout the rest of this year. In this label, The Mod
16167 operator is implemented.
16169 Added a new data type to contain full PCI addresses named
16170 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
16171 and Function values.
16175 Enhanced the Linux version of the source code to change most
16176 capitalized ACPI type names to lowercase. For example, all
16177 instances of ACPI_STATUS are changed to acpi_status. This will
16178 result in a large diff, but the change is strictly cosmetic and
16179 aligns the CA code closer to the Linux coding standard.
16183 The interfaces to the PCI configuration space have been changed to
16184 add the PCI Segment number and to split the single 32-bit combined
16185 DeviceFunction field into two 16-bit fields. This was
16186 accomplished by moving the four values that define an address in
16187 PCI configuration space (segment, bus, device, and function) to
16188 the new ACPI_PCI_ID structure.
16190 The changes to the PCI configuration space interfaces led to a
16191 reexamination of the complete set of address space access
16192 interfaces for PCI, I/O, and Memory. The previously existing 18
16193 interfaces have proven difficult to maintain (any small change
16194 must be propagated across at least 6 interfaces) and do not easily
16195 allow for future expansion to 64 bits if necessary. Also, on some
16196 systems, it would not be appropriate to demultiplex the access
16197 width (8, 16, 32,or 64) before calling the OSL if the
16198 corresponding native OS interfaces contain a similar access width
16199 parameter. For these reasons, the 18 address space interfaces
16200 have been replaced by these 6 new ones:
16202 AcpiOsReadPciConfiguration
16203 AcpiOsWritePciConfiguration
16209 Added a new interface named AcpiOsGetRootPointer to allow the OSL
16210 to perform the platform and/or OS-specific actions necessary to
16211 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
16212 interface will simply call down to the CA core to perform the low-
16213 memory search for the table. On IA-64, the RSDP is obtained from
16214 EFI. Migrating this interface to the OSL allows the CA core to
16216 remain OS and platform independent.
16218 Added a new interface named AcpiOsSignal to provide a generic
16219 "function code and pointer" interface for various miscellaneous
16220 signals and notifications that must be made to the host OS. The
16221 first such signals are intended to support the ASL Fatal and
16222 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
16223 interface has been obsoleted.
16225 The definition of the AcpiFormatException interface has been
16226 changed to simplify its use. The caller no longer must supply a
16227 buffer to the call; A pointer to a const string is now returned
16228 directly. This allows the call to be easily used in printf
16229 statements, etc. since the caller does not have to manage a local
16233 ASL Compiler, Version X2025:
16235 The ACPI 2.0 Switch/Case/Default operators have been implemented
16236 and are fully functional. They will work with all ACPI 1.0
16237 interpreters, since the operators are simply translated to If/Else
16240 The ACPI 2.0 ElseIf operator is implemented and will also work
16241 with 1.0 interpreters, for the same reason.
16243 Implemented support for ACPI 2.0 variable-length packages. These
16244 packages have a separate opcode, and their size is determined by
16245 the interpreter at run-time.
16247 Documentation The ACPI CA Programmer Reference has been updated to
16248 reflect the new interfaces and changes to existing interfaces.
16250 ------------------------------------------
16251 Summary of changes for this label: 06_15_01
16253 ACPI CA Core Subsystem:
16255 Fixed a problem where a DWORD-accessed field within a Buffer
16256 object would get its byte address inadvertently rounded down to
16257 the nearest DWORD. Buffers are always Byte-accessible.
16259 ASL Compiler, version X2024:
16261 Fixed a problem where the Switch() operator would either fault or
16262 hang the compiler. Note however, that the AML code for this ACPI
16263 2.0 operator is not yet implemented.
16265 Compiler uses the new AcpiOsGetTimer interface to obtain compile
16268 Implementation of the CreateField operator automatically converts
16269 a reference to a named field within a resource descriptor from a
16270 byte offset to a bit offset if required.
16272 Added some missing named fields from the resource descriptor
16273 support. These are the names that are automatically created by the
16274 compiler to reference fields within a descriptor. They are only
16275 valid at compile time and are not passed through to the AML
16278 Resource descriptor named fields are now typed as Integers and
16279 subject to compile-time typechecking when used in expressions.
16281 ------------------------------------------
16282 Summary of changes for this label: 05_18_01
16284 ACPI CA Core Subsystem:
16286 Fixed a couple of problems in the Field support code where bits
16287 from adjacent fields could be returned along with the proper field
16288 bits. Restructured the field support code to improve performance,
16289 readability and maintainability.
16291 New DEBUG_PRINTP macro automatically inserts the procedure name
16292 into the output, saving hundreds of copies of procedure name
16293 strings within the source, shrinking the memory footprint of the
16294 debug version of the core subsystem.
16296 Source Code Structure:
16298 The source code directory tree was restructured to reflect the
16299 current organization of the component architecture. Some files
16300 and directories have been moved and/or renamed.
16304 Fixed leaking kacpidpc processes.
16306 Fixed queueing event data even when /proc/acpi/event is not
16309 ASL Compiler, version X2020:
16311 Memory allocation performance enhancement - over 24X compile time
16312 improvement on large ASL files. Parse nodes and namestring
16313 buffers are now allocated from a large internal compiler buffer.
16315 The temporary .SRC file is deleted unless the "-s" option is
16318 The "-d" debug output option now sends all output to the .DBG file
16319 instead of the console.
16321 "External" second parameter is now optional
16323 "ElseIf" syntax now properly allows the predicate
16325 Last operand to "Load" now recognized as a Target operand
16327 Debug object can now be used anywhere as a normal object.
16329 ResourceTemplate now returns an object of type BUFFER
16331 EISAID now returns an object of type INTEGER
16333 "Index" now works with a STRING operand
16335 "LoadTable" now accepts optional parameters
16337 "ToString" length parameter is now optional
16339 "Interrupt (ResourceType," parse error fixed.
16341 "Register" with a user-defined region space parse error fixed
16343 Escaped backslash at the end of a string ("\\") scan/parse error
16346 "Revision" is now an object of type INTEGER.
16350 ------------------------------------------
16351 Summary of changes for this label: 05_02_01
16355 /proc/acpi/event now blocks properly.
16357 Removed /proc/sys/acpi. You can still dump your DSDT from
16360 ACPI CA Core Subsystem:
16362 Fixed a problem introduced in the previous label where some of the
16363 "small" resource descriptor types were not recognized.
16365 Improved error messages for the case where an ASL Field is outside
16366 the range of the parent operation region.
16368 ASL Compiler, version X2018:
16371 Added error detection for ASL Fields that extend beyond the length
16372 of the parent operation region (only if the length of the region
16373 is known at compile time.) This includes fields that have a
16374 minimum access width that is smaller than the parent region, and
16375 individual field units that are partially or entirely beyond the
16376 extent of the parent.
16380 ------------------------------------------
16381 Summary of changes for this label: 04_27_01
16383 ACPI CA Core Subsystem:
16385 Fixed a problem where the namespace mutex could be released at the
16386 wrong time during execution of AcpiRemoveAddressSpaceHandler.
16388 Added optional thread ID output for debug traces, to simplify
16389 debugging of multiple threads. Added context switch notification
16390 when the debug code realizes that a different thread is now
16391 executing ACPI code.
16393 Some additional external data types have been prefixed with the
16394 string "ACPI_" for consistency. This may effect existing code.
16395 The data types affected are the external callback typedefs - e.g.,
16397 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
16401 Fixed an issue with the OSL semaphore implementation where a
16402 thread was waking up with an error from receiving a SIGCHLD
16405 Linux version of ACPI CA now uses the system C library for string
16406 manipulation routines instead of a local implementation.
16408 Cleaned up comments and removed TBDs.
16410 ASL Compiler, version X2017:
16412 Enhanced error detection and reporting for all file I/O
16417 Programmer Reference updated to version 1.06.
16421 ------------------------------------------
16422 Summary of changes for this label: 04_13_01
16424 ACPI CA Core Subsystem:
16426 Restructured support for BufferFields and RegionFields.
16427 BankFields support is now fully operational. All known 32-bit
16428 limitations on field sizes have been removed. Both BufferFields
16429 and (Operation) RegionFields are now supported by the same field
16432 Resource support now supports QWORD address and IO resources. The
16433 16/32/64 bit address structures and the Extended IRQ structure
16434 have been changed to properly handle Source Resource strings.
16436 A ThreadId of -1 is now used to indicate a "mutex not acquired"
16437 condition internally and must never be returned by AcpiOsThreadId.
16438 This reserved value was changed from 0 since Unix systems allow a
16443 Driver code reorganized to enhance portability
16445 Added a kernel configuration option to control ACPI_DEBUG
16447 Fixed the EC driver to honor _GLK.
16449 ASL Compiler, version X2016:
16451 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
16452 address space was set to 0, not 0x7f as it should be.
16454 ------------------------------------------
16455 Summary of changes for this label: 03_13_01
16457 ACPI CA Core Subsystem:
16459 During ACPI initialization, the _SB_._INI method is now run if
16462 Notify handler fix - notifies are deferred until the parent method
16463 completes execution. This fixes the "mutex already acquired"
16464 issue seen occasionally.
16466 Part of the "implicit conversion" rules in ACPI 2.0 have been
16467 found to cause compatibility problems with existing ASL/AML. The
16468 convert "result-to-target-type" implementation has been removed
16469 for stores to method Args and Locals. Source operand conversion
16470 is still fully implemented. Possible changes to ACPI 2.0
16471 specification pending.
16473 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
16476 Fix for compiler warnings for 64-bit compiles.
16480 /proc output aligned for easier parsing.
16482 Release-version compile problem fixed.
16484 New kernel configuration options documented in Configure.help.
16486 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
16491 Power resource driver integrated with bus manager.
16493 Fixed kernel fault during active cooling for thermal zones.
16497 The source code tree has been restructured.
16501 ------------------------------------------
16502 Summary of changes for this label: 03_02_01
16504 Linux OS Services Layer (OSL):
16506 Major revision of all Linux-specific code.
16508 Modularized all ACPI-specific drivers.
16510 Added new thermal zone and power resource drivers.
16512 Revamped /proc interface (new functionality is under /proc/acpi).
16514 New kernel configuration options.
16516 Linux known issues:
16518 New kernel configuration options not documented in Configure.help
16522 Module dependencies not currently implemented. If used, they
16523 should be loaded in this order: busmgr, power, ec, system,
16524 processor, battery, ac_adapter, button, thermal.
16526 Modules will not load if CONFIG_MODVERSION is set.
16528 IBM 600E - entering S5 may reboot instead of shutting down.
16530 IBM 600E - Sleep button may generate "Invalid <NULL> context"
16533 Some systems may fail with "execution mutex already acquired"
16536 ACPI CA Core Subsystem:
16538 Added a new OSL Interface, AcpiOsGetThreadId. This was required
16539 for the deadlock detection code. Defined to return a non-zero, 32-
16540 bit thread ID for the currently executing thread. May be a non-
16541 zero constant integer on single-thread systems.
16543 Implemented deadlock detection for internal subsystem mutexes. We
16544 may add conditional compilation for this code (debug only) later.
16546 ASL/AML Mutex object semantics are now fully supported. This
16547 includes multiple acquires/releases by owner and support for the
16549 Mutex SyncLevel parameter.
16551 A new "Force Release" mechanism automatically frees all ASL
16552 Mutexes that have been acquired but not released when a thread
16553 exits the interpreter. This forces conformance to the ACPI spec
16554 ("All mutexes must be released when an invocation exits") and
16555 prevents deadlocked ASL threads. This mechanism can be expanded
16556 (later) to monitor other resource acquisitions if OEM ASL code
16557 continues to misbehave (which it will).
16559 Several new ACPI exception codes have been added for the Mutex
16562 Recursive method calls are now allowed and supported (the ACPI
16563 spec does in fact allow recursive method calls.) The number of
16564 recursive calls is subject to the restrictions imposed by the
16565 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
16568 Implemented support for the SyncLevel parameter for control
16569 methods (ACPI 2.0 feature)
16571 Fixed a deadlock problem when multiple threads attempted to use
16574 Fixed a problem where the string length of a String package
16575 element was not always set in a package returned from
16576 AcpiEvaluateObject.
16578 Fixed a problem where the length of a String package element was
16579 not always included in the length of the overall package returned
16580 from AcpiEvaluateObject.
16582 Added external interfaces (Acpi*) to the ACPI debug memory
16583 manager. This manager keeps a list of all outstanding
16584 allocations, and can therefore detect memory leaks and attempts to
16585 free memory blocks more than once. Useful for code such as the
16586 power manager, etc. May not be appropriate for device drivers.
16587 Performance with the debug code enabled is slow.
16589 The ACPI Global Lock is now an optional hardware element.
16591 ASL Compiler Version X2015:
16593 Integrated changes to allow the compiler to be generated on
16594 multiple platforms.
16596 Linux makefile added to generate the compiler on Linux
16600 All platform-specific headers have been moved to their own
16601 subdirectory, Include/Platform.
16603 New source file added, Interpreter/ammutex.c
16605 New header file, Include/acstruct.h
16609 The programmer reference has been updated for the following new
16610 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
16612 ------------------------------------------
16613 Summary of changes for this label: 02_08_01
16615 Core ACPI CA Subsystem: Fixed a problem where an error was
16616 incorrectly returned if the return resource buffer was larger than
16617 the actual data (in the resource interfaces).
16619 References to named objects within packages are resolved to the
16621 full pathname string before packages are returned directly (via
16622 the AcpiEvaluateObject interface) or indirectly via the resource
16625 Linux OS Services Layer (OSL):
16627 Improved /proc battery interface.
16630 Added C-state debugging output and other miscellaneous fixes.
16632 ASL Compiler Version X2014:
16634 All defined method arguments can now be used as local variables,
16635 including the ones that are not actually passed in as parameters.
16636 The compiler tracks initialization of the arguments and issues an
16637 exception if they are used without prior assignment (just like
16640 The -o option now specifies a filename prefix that is used for all
16641 output files, including the AML output file. Otherwise, the
16642 default behavior is as follows: 1) the AML goes to the file
16643 specified in the DSDT. 2) all other output files use the input
16644 source filename as the base.
16646 ------------------------------------------
16647 Summary of changes for this label: 01_25_01
16649 Core ACPI CA Subsystem: Restructured the implementation of object
16650 store support within the interpreter. This includes support for
16651 the Store operator as well as any ASL operators that include a
16654 Partially implemented support for Implicit Result-to-Target
16655 conversion. This is when a result object is converted on the fly
16656 to the type of an existing target object. Completion of this
16657 support is pending further analysis of the ACPI specification
16658 concerning this matter.
16660 CPU-specific code has been removed from the subsystem (hardware
16663 New Power Management Timer functions added
16665 Linux OS Services Layer (OSL): Moved system state transition code
16666 to the core, fixed it, and modified Linux OSL accordingly.
16668 Fixed C2 and C3 latency calculations.
16671 We no longer use the compilation date for the version message on
16672 initialization, but retrieve the version from AcpiGetSystemInfo().
16674 Incorporated for fix Sony VAIO machines.
16676 Documentation: The Programmer Reference has been updated and
16680 ASL Compiler: Version X2013: Fixed a problem where the line
16681 numbering and error reporting could get out of sync in the
16682 presence of multiple include files.
16684 ------------------------------------------
16685 Summary of changes for this label: 01_15_01
16687 Core ACPI CA Subsystem:
16689 Implemented support for type conversions in the execution of the
16690 ASL Concatenate operator (The second operand is converted to
16691 match the type of the first operand before concatenation.)
16693 Support for implicit source operand conversion is partially
16694 implemented. The ASL source operand types Integer, Buffer, and
16695 String are freely interchangeable for most ASL operators and are
16696 converted by the interpreter on the fly as required. Implicit
16697 Target operand conversion (where the result is converted to the
16698 target type before storing) is not yet implemented.
16700 Support for 32-bit and 64-bit BCD integers is implemented.
16702 Problem fixed where a field read on an aligned field could cause a
16703 read past the end of the field.
16705 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
16706 does not return a value, but the caller expects one. (The ASL
16707 compiler flags this as a warning.)
16712 1. Static typechecking of all operands is implemented. This
16713 prevents the use of invalid objects (such as using a Package where
16714 an Integer is required) at compile time instead of at interpreter
16716 2. The ASL source line is printed with ALL errors and warnings.
16717 3. Bug fix for source EOF without final linefeed.
16718 4. Debug option is split into a parse trace and a namespace trace.
16719 5. Namespace output option (-n) includes initial values for
16720 integers and strings.
16721 6. Parse-only option added for quick syntax checking.
16722 7. Compiler checks for duplicate ACPI name declarations
16725 1. Relaxed typechecking to allow interchangeability between
16726 strings, integers, and buffers. These types are now converted by
16727 the interpreter at runtime.
16728 2. Compiler reports time taken by each internal subsystem in the
16732 ------------------------------------------
16733 Summary of changes for this label: 12_14_00
16737 This is the first official release of the compiler. Since the
16738 compiler requires elements of the Core Subsystem, this label
16739 synchronizes everything.
16741 ------------------------------------------
16742 Summary of changes for this label: 12_08_00
16745 Fixed a problem where named references within the ASL definition
16746 of both OperationRegions and CreateXXXFields did not work
16747 properly. The symptom was an AE_AML_OPERAND_TYPE during
16748 initialization of the region/field. This is similar (but not
16749 related internally) to the problem that was fixed in the last
16752 Implemented both 32-bit and 64-bit support for the BCD ASL
16753 functions ToBCD and FromBCD.
16755 Updated all legal headers to include "2000" in the copyright
16758 ------------------------------------------
16759 Summary of changes for this label: 12_01_00
16761 Fixed a problem where method invocations within the ASL definition
16762 of both OperationRegions and CreateXXXFields did not work
16763 properly. The symptom was an AE_AML_OPERAND_TYPE during
16764 initialization of the region/field:
16766 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
16767 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
16770 Fixed a problem where operators with more than one nested
16771 subexpression would fail. The symptoms were varied, by mostly
16772 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
16773 problem that has gone unnoticed until now.
16775 Subtract (Add (1,2), Multiply (3,4))
16777 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
16778 previous build (The prefix part of a relative path was handled
16781 Fixed a problem where Operation Region initialization failed if
16782 the operation region name was a "namepath" instead of a simple
16783 "nameseg". Symptom was an AE_NO_OPERAND error.
16785 Fixed a problem where an assignment to a local variable via the
16786 indirect RefOf mechanism only worked for the first such
16787 assignment. Subsequent assignments were ignored.
16789 ------------------------------------------
16790 Summary of changes for this label: 11_15_00
16792 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
16793 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
16794 the AML interpreter does NOT have support for the new 2.0 ASL
16795 grammar terms at this time.
16797 All ACPI hardware access is via the GAS structures in the ACPI 2.0
16800 All physical memory addresses across all platforms are now 64 bits
16801 wide. Logical address width remains dependent on the platform
16804 AcpiOsMapMemory interface changed to a 64-bit physical address.
16806 The AML interpreter integer size is now 64 bits, as per the ACPI
16809 For backwards compatibility with ACPI 1.0, ACPI tables with a
16810 revision number less than 2 use 32-bit integers only.
16812 Fixed a problem where the evaluation of OpRegion operands did not
16813 always resolve them to numbers properly.
16815 ------------------------------------------
16816 Summary of changes for this label: 10_20_00
16818 Fix for CBN_._STA issue. This fix will allow correct access to
16819 CBN_ OpRegions when the _STA returns 0x8.
16821 Support to convert ACPI constants (Ones, Zeros, One) to actual
16822 values before a package object is returned
16824 Fix for method call as predicate to if/while construct causing
16825 incorrect if/while behavior
16827 Fix for Else block package lengths sometimes calculated wrong (if
16830 Fix for Processor object length field, was always zero
16832 Table load abort if FACP sanity check fails
16834 Fix for problem with Scope(name) if name already exists
16836 Warning emitted if a named object referenced cannot be found
16837 (resolved) during method execution.
16843 ------------------------------------------
16844 Summary of changes for this label: 9_29_00
16846 New table initialization interfaces: AcpiInitializeSubsystem no
16847 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
16848 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
16849 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
16852 Note: These interface changes require changes to all existing OSDs
16854 The PCI_Config default address space handler is always installed
16855 at the root namespace object.
16857 -------------------------------------------
16858 Summary of changes for this label: 09_15_00
16860 The new initialization architecture is implemented. New
16861 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
16862 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
16864 (Namespace is automatically loaded when a table is loaded)
16866 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
16867 52 bytes to 32 bytes. There is usually one of these for every
16868 namespace object, so the memory savings is significant.
16870 Implemented just-in-time evaluation of the CreateField operators.
16872 Bug fixes for IA-64 support have been integrated.
16874 Additional code review comments have been implemented
16876 The so-called "third pass parse" has been replaced by a final walk
16877 through the namespace to initialize all operation regions (address
16878 spaces) and fields that have not yet been initialized during the
16879 execution of the various _INI and REG methods.
16881 New file - namespace/nsinit.c
16883 -------------------------------------------
16884 Summary of changes for this label: 09_01_00
16886 Namespace manager data structures have been reworked to change the
16887 primary object from a table to a single object. This has
16888 resulted in dynamic memory savings of 3X within the namespace and
16889 2X overall in the ACPI CA subsystem.
16891 Fixed problem where the call to AcpiEvFindPciRootBuses was
16892 inadvertently left commented out.
16894 Reduced the warning count when generating the source with the GCC
16897 Revision numbers added to each module header showing the
16898 SourceSafe version of the file. Please refer to this version
16899 number when giving us feedback or comments on individual modules.
16901 The main object types within the subsystem have been renamed to
16902 clarify their purpose:
16904 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
16905 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
16906 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
16908 NOTE: no changes to the initialization sequence are included in
16911 -------------------------------------------
16912 Summary of changes for this label: 08_23_00
16914 Fixed problem where TerminateControlMethod was being called
16915 multiple times per method
16917 Fixed debugger problem where single stepping caused a semaphore to
16920 Improved performance through additional parse object caching -
16921 added ACPI_EXTENDED_OP type
16923 -------------------------------------------
16924 Summary of changes for this label: 08_10_00
16926 Parser/Interpreter integration: Eliminated the creation of
16927 complete parse trees for ACPI tables and control methods.
16928 Instead, parse subtrees are created and then deleted as soon as
16929 they are processed (Either entered into the namespace or executed
16930 by the interpreter). This reduces the use of dynamic kernel
16931 memory significantly. (about 10X)
16933 Exception codes broken into classes and renumbered. Be sure to
16934 recompile all code that includes acexcep.h. Hopefully we won't
16935 have to renumber the codes again now that they are split into
16936 classes (environment, programmer, AML code, ACPI table, and
16939 Fixed some additional alignment issues in the Resource Manager
16942 Implemented semaphore tracking in the AcpiExec utility, and fixed
16943 several places where mutexes/semaphores were being unlocked
16944 without a corresponding lock operation. There are no known
16945 semaphore or mutex "leaks" at this time.
16947 Fixed the case where an ASL Return operator is used to return an
16950 -------------------------------------------
16951 Summary of changes for this label: 07_28_00
16953 Fixed a problem with the way addresses were calculated in
16954 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
16955 manifested itself when a Field was created with WordAccess or
16956 DwordAccess, but the field unit defined within the Field was less
16958 than a Word or Dword.
16960 Fixed a problem in AmlDumpOperands() module's loop to pull
16961 operands off of the operand stack to display information. The
16962 problem manifested itself as a TLB error on 64-bit systems when
16963 accessing an operand stack with two or more operands.
16965 Fixed a problem with the PCI configuration space handlers where
16966 context was getting confused between accesses. This required a
16967 change to the generic address space handler and address space
16968 setup definitions. Handlers now get both a global handler context
16969 (this is the one passed in by the user when executing
16970 AcpiInstallAddressSpaceHandler() and a specific region context
16971 that is unique to each region (For example, the _ADR, _SEG and
16972 _BBN values associated with a specific region). The generic
16973 function definitions have changed to the following:
16975 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
16976 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
16977 *HandlerContext, // This used to be void *Context void
16978 *RegionContext); // This is an additional parameter
16980 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
16981 RegionHandle, UINT32 Function, void *HandlerContext, void
16982 **RegionContext); // This used to be **ReturnContext
16984 -------------------------------------------
16985 Summary of changes for this label: 07_21_00
16987 Major file consolidation and rename. All files within the
16988 interpreter have been renamed as well as most header files. This
16989 was done to prevent collisions with existing files in the host
16990 OSs -- filenames such as "config.h" and "global.h" seem to be
16991 quite common. The VC project files have been updated. All
16992 makefiles will require modification.
16994 The parser/interpreter integration continues in Phase 5 with the
16995 implementation of a complete 2-pass parse (the AML is parsed
16996 twice) for each table; This avoids the construction of a huge
16997 parse tree and therefore reduces the amount of dynamic memory
16998 required by the subsystem. Greater use of the parse object cache
16999 means that performance is unaffected.
17001 Many comments from the two code reviews have been rolled in.
17003 The 64-bit alignment support is complete.
17005 -------------------------------------------
17006 Summary of changes for this label: 06_30_00
17008 With a nod and a tip of the hat to the technology of yesteryear,
17009 we've added support in the source code for 80 column output
17010 devices. The code is now mostly constrained to 80 columns or
17011 less to support environments and editors that 1) cannot display
17012 or print more than 80 characters on a single line, and 2) cannot
17013 disable line wrapping.
17015 A major restructuring of the namespace data structure has been
17016 completed. The result is 1) cleaner and more
17017 understandable/maintainable code, and 2) a significant reduction
17018 in the dynamic memory requirement for each named ACPI object
17021 -------------------------------------------
17022 Summary of changes for this label: 06_23_00
17024 Linux support has been added. In order to obtain approval to get
17025 the ACPI CA subsystem into the Linux kernel, we've had to make
17026 quite a few changes to the base subsystem that will affect all
17027 users (all the changes are generic and OS- independent). The
17028 effects of these global changes have been somewhat far reaching.
17029 Files have been merged and/or renamed and interfaces have been
17030 renamed. The major changes are described below.
17032 Osd* interfaces renamed to AcpiOs* to eliminate namespace
17033 pollution/confusion within our target kernels. All OSD
17034 interfaces must be modified to match the new naming convention.
17036 Files merged across the subsystem. A number of the smaller source
17037 and header files have been merged to reduce the file count and
17038 increase the density of the existing files. There are too many
17039 to list here. In general, makefiles that call out individual
17040 files will require rebuilding.
17042 Interpreter files renamed. All interpreter files now have the
17043 prefix am* instead of ie* and is*.
17045 Header files renamed: The acapi.h file is now acpixf.h. The
17046 acpiosd.h file is now acpiosxf.h. We are removing references to
17047 the acronym "API" since it is somewhat windowsy. The new name is
17048 "external interface" or xface or xf in the filenames.j
17051 All manifest constants have been forced to upper case (some were
17052 mixed case.) Also, the string "ACPI_" has been prepended to many
17053 (not all) of the constants, typedefs, and structs.
17055 The globals "DebugLevel" and "DebugLayer" have been renamed
17056 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
17058 All other globals within the subsystem are now prefixed with
17059 "AcpiGbl_" Internal procedures within the subsystem are now
17060 prefixed with "Acpi" (with only a few exceptions). The original
17061 two-letter abbreviation for the subcomponent remains after "Acpi"
17062 - for example, CmCallocate became AcpiCmCallocate.
17064 Added a source code translation/conversion utility. Used to
17065 generate the Linux source code, it can be modified to generate
17066 other types of source as well. Can also be used to cleanup
17067 existing source by removing extraneous spaces and blank lines.
17068 Found in tools/acpisrc/*
17070 OsdUnMapMemory was renamed to OsdUnmapMemory and then
17071 AcpiOsUnmapMemory. (UnMap became Unmap).
17073 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
17074 When set to one, this indicates that the caller wants to use the
17076 semaphore as a mutex, not a counting semaphore. ACPI CA uses
17077 both types. However, implementers of this call may want to use
17078 different OS primitives depending on the type of semaphore
17079 requested. For example, some operating systems provide separate
17081 "mutex" and "semaphore" interfaces - where the mutex interface is
17082 much faster because it doesn't have all the overhead of a full
17083 semaphore implementation.
17085 Fixed a deadlock problem where a method that accesses the PCI
17086 address space can block forever if it is the first access to the
17089 -------------------------------------------
17090 Summary of changes for this label: 06_02_00
17092 Support for environments that cannot handle unaligned data
17093 accesses (e.g. firmware and OS environments devoid of alignment
17094 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
17095 been added (via configurable macros) in these three areas: -
17096 Transfer of data from the raw AML byte stream is done via byte
17097 moves instead of word/dword/qword moves. - External objects are
17098 aligned within the user buffer, including package elements (sub-
17099 objects). - Conversion of name strings to UINT32 Acpi Names is now
17102 The Store operator was modified to mimic Microsoft's
17103 implementation when storing to a Buffer Field.
17105 Added a check of the BM_STS bit before entering C3.
17107 The methods subdirectory has been obsoleted and removed. A new
17108 file, cmeval.c subsumes the functionality.
17110 A 16-bit (DOS) version of AcpiExec has been developed. The
17111 makefile is under the acpiexec directory.