1 ----------------------------------------
2 14 January 2014. Summary of changes for version 20140114:
4 1) ACPICA kernel-resident subsystem:
6 Updated all ACPICA copyrights and signons to 2014. Added the 2014
7 copyright to all module headers and signons, including the standard Linux
8 header. This affects virtually every file in the ACPICA core subsystem,
9 iASL compiler, all ACPICA utilities, and the test suites.
11 Improved parameter validation for AcpiInstallGpeBlock. Added the
13 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
14 2) There is not already a GPE block attached to the device.
15 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
18 Correctly support "references" in the ACPI_OBJECT. This change fixes the
19 support to allow references (namespace nodes) to be passed as arguments
20 to control methods via the evaluate object interface. This is probably
21 most useful for testing purposes, however.
23 Improved support for 32/64 bit physical addresses in printf()-like
24 output. This change improves the support for physical addresses in printf
25 debug statements and other output on both 32-bit and 64-bit hosts. It
26 consistently outputs the appropriate number of bytes for each host. The
27 %p specifier is unsatisfactory since it does not emit uniform output on
28 all hosts/clib implementations (on some, leading zeros are not supported,
29 leading to difficult-to-read output).
31 Example Code and Data Size: These are the sizes for the OS-independent
32 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
33 debug version of the code includes the debug output trace mechanism and
34 has a much larger code and data size.
37 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
38 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
40 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
41 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
44 2) iASL Compiler/Disassembler and Tools:
46 iASL: Fix a possible fault when using the Connection() operator. Fixes a
47 problem if the parent Field definition for the Connection operator refers
48 to an operation region that does not exist. ACPICA BZ 1064.
50 AcpiExec: Load of local test tables is now optional. The utility has the
51 capability to load some various tables to test features of ACPICA.
52 However, there are enough of them that the output of the utility became
53 confusing. With this change, only the required local tables are displayed
54 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
55 line specification. This makes the default output simler and easier to
56 understand. The -el command line option restores the original behavior
59 AcpiExec: Added support for overlapping operation regions. This change
60 expands the simulation of operation regions by supporting regions that
61 overlap within the given address space. Supports SystemMemory and
62 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
64 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
65 allows AcpiExec to simulate these address spaces, similar to the current
66 support for SystemMemory and SystemIO.
68 Debugger: Added new command to read/write/compare all namespace objects.
69 The command "test objects" will exercise the entire namespace by writing
70 new values to each data object, and ensuring that the write was
71 successful. The original value is then restored and verified.
73 Debugger: Added the "test predefined" command. This change makes this
74 test public and puts it under the new "test" command. The test executes
75 each and every predefined name within the current namespace.
77 ----------------------------------------
78 18 December 2013. Summary of changes for version 20131218:
80 Global note: The ACPI 5.0A specification was released this month. There
81 are no changes needed for ACPICA since this release of ACPI is an
82 errata/clarification release. The specification is available at
86 1) ACPICA kernel-resident subsystem:
88 Added validation of the XSDT root table if it is present. Some older
89 platforms contain an XSDT that is ill-formed or otherwise invalid (such
90 as containing some or all entries that are NULL pointers). This change
91 adds a new function to validate the XSDT before actually using it. If the
92 XSDT is found to be invalid, ACPICA will now automatically fall back to
93 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
94 ACPICA and enhanced by Lv Zheng and Bob Moore.
96 Added a runtime option to ignore the XSDT and force the use of the RSDT.
97 This change adds a runtime option that will force ACPICA to use the RSDT
98 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
99 requires that an XSDT be used instead of the RSDT, the XSDT has been
100 found to be corrupt or ill-formed on some machines. Lv Zheng.
102 Added a runtime option to favor 32-bit FADT register addresses over the
103 64-bit addresses. This change adds an option to favor 32-bit FADT
104 addresses when there is a conflict between the 32-bit and 64-bit versions
105 of the same register. The default behavior is to use the 64-bit version
106 in accordance with the ACPI specification. This can now be overridden via
107 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
109 During the change above, the internal "Convert FADT" and "Verify FADT"
110 functions have been merged to simplify the code, making it easier to
111 understand and maintain. ACPICA BZ 933.
113 Improve exception reporting and handling for GPE block installation.
114 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
115 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
117 Added helper macros to extract bus/segment numbers from the HEST table.
118 This change adds two macros to extract the encoded bus and segment
119 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
120 Betty Dall <betty.dall@hp.com>
122 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
123 by ACPICA. It is not a public macro, so it should have no effect on
124 existing OSV code. Lv Zheng.
126 Example Code and Data Size: These are the sizes for the OS-independent
127 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
128 debug version of the code includes the debug output trace mechanism and
129 has a much larger code and data size.
132 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
133 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
135 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
136 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
139 2) iASL Compiler/Disassembler and Tools:
141 Disassembler: Improved pathname support for emitted External()
142 statements. This change adds full pathname support for external names
143 that have been resolved internally by the inclusion of additional ACPI
144 tables (via the iASL -e option). Without this change, the disassembler
145 can emit multiple externals for the same object, or it become confused
146 when the Scope() operator is used on an external object. Overall, greatly
147 improves the ability to actually recompile the emitted ASL code when
148 objects a referenced across multiple ACPI tables. Reported by Michael
149 Tsirkin (mst@redhat.com).
151 Tests/ASLTS: Updated functional control suite to execute with no errors.
152 David Box. Fixed several errors related to the testing of the interpreter
153 slack mode. Lv Zheng.
155 iASL: Added support to detect names that are declared within a control
156 method, but are unused (these are temporary names that are only valid
157 during the time the method is executing). A remark is issued for these
158 cases. ACPICA BZ 1022.
160 iASL: Added full support for the DBG2 table. Adds full disassembler,
161 table compiler, and template generator support for the DBG2 table (Debug
164 iASL: Added full support for the PCCT table, update the table definition.
165 Updates the PCCT table definition in the actbl3.h header and adds table
166 compiler and template generator support.
168 iASL: Added an option to emit only error messages (no warnings/remarks).
169 The -ve option will enable only error messages, warnings and remarks are
170 suppressed. This can simplify debugging when only the errors are
171 important, such as when an ACPI table is disassembled and there are many
172 warnings and remarks -- but only the actual errors are of real interest.
174 Example ACPICA code (source/tools/examples): Updated the example code so
175 that it builds to an actual working program, not just example code. Added
176 ACPI tables and execution of an example control method in the DSDT. Added
177 makefile support for Unix generation.
179 ----------------------------------------
180 15 November 2013. Summary of changes for version 20131115:
182 This release is available at https://acpica.org/downloads
185 1) ACPICA kernel-resident subsystem:
187 Resource Manager: Fixed loop termination for the "get AML length"
188 function. The loop previously had an error termination on a NULL resource
189 pointer, which can never happen since the loop simply increments a valid
190 resource pointer. This fix changes the loop to terminate with an error on
191 an invalid end-of-buffer condition. The problem can be seen as an
192 infinite loop by callers to AcpiSetCurrentResources with an invalid or
193 corrupted resource descriptor, or a resource descriptor that is missing
194 an END_TAG descriptor. Reported by Dan Carpenter
195 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
197 Table unload and ACPICA termination: Delete all attached data objects
198 during namespace node deletion. This fix updates namespace node deletion
199 to delete the entire list of attached objects (attached via
200 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
201 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
203 ACPICA termination: Added support to delete all objects attached to the
204 root namespace node. This fix deletes any and all objects that have been
205 attached to the root node via AcpiAttachData. Previously, none of these
206 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
208 Debug output: Do not emit the function nesting level for the in-kernel
209 build. The nesting level is really only useful during a single-thread
210 execution. Therefore, only enable this output for the AcpiExec utility.
211 Also, only emit the thread ID when executing under AcpiExec (Context
212 switches are still always detected and a message is emitted). ACPICA BZ
215 Example Code and Data Size: These are the sizes for the OS-independent
216 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
217 debug version of the code includes the debug output trace mechanism and
218 has a much larger code and data size.
221 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
222 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
224 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
225 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
228 2) iASL Compiler/Disassembler and Tools:
230 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
231 correct portable POSIX header for terminal control functions.
233 Disassembler: Fixed control method invocation issues related to the use
234 of the CondRefOf() operator. The problem is seen in the disassembly where
235 control method invocations may not be disassembled properly if the
236 control method name has been used previously as an argument to CondRefOf.
237 The solution is to not attempt to emit an external declaration for the
238 CondRefOf target (it is not necessary in the first place). This prevents
239 disassembler object type confusion. ACPICA BZ 988.
241 Unix Makefiles: Added an option to disable compiler optimizations and the
242 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
243 with optimizations (reportedly, gcc 4.4 for example). This change adds a
244 command line option for make (NOOPT) that disables all compiler
245 optimizations and the _FORTIFY_SOURCE compiler flag. The default
246 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
247 1034. Lv Zheng, Bob Moore.
249 Tests/ASLTS: Added options to specify individual test cases and modes.
250 This allows testers running aslts.sh to optionally specify individual
251 test modes and test cases. Also added an option to disable the forced
252 generation of the ACPICA tools from source if desired. Lv Zheng.
254 ----------------------------------------
255 27 September 2013. Summary of changes for version 20130927:
257 This release is available at https://acpica.org/downloads
260 1) ACPICA kernel-resident subsystem:
262 Fixed a problem with store operations to reference objects. This change
263 fixes a problem where a Store operation to an ArgX object that contained
265 reference to a field object did not complete the automatic dereference
267 then write to the actual field object. Instead, the object type of the
268 field object was inadvertently changed to match the type of the source
269 operand. The new behavior will actually write to the field object (buffer
270 field or field unit), thus matching the correct ACPI-defined behavior.
272 Implemented support to allow the host to redefine individual OSL
273 prototypes. This change enables the host to redefine OSL prototypes found
274 in the acpiosxf.h file. This allows the host to implement OSL interfaces
275 with a macro or inlined function. Further, it allows the host to add any
276 additional required modifiers such as __iomem, __init, __exit, etc., as
277 necessary on a per-interface basis. Enables maximum flexibility for the
278 OSL interfaces. Lv Zheng.
280 Hardcoded the access width for the FADT-defined reset register. The ACPI
281 specification requires the reset register width to be 8 bits. ACPICA now
282 hardcodes the width to 8 and ignores the FADT width value. This provides
283 compatibility with other ACPI implementations that have allowed BIOS code
284 with bad register width values to go unnoticed. Matthew Garett, Bob
288 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
290 in the OSL header (acpiosxf). The change modifies the position of this
291 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
292 build issues if the OSL defines the implementation of the interface to be
293 an inline stub function. Lv Zheng.
295 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
296 initialization interfaces. This change adds a new macro for the main init
297 and terminate external interfaces in order to support hosts that require
298 additional or different processing for these functions. Changed from
299 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
302 Cleaned up the memory allocation macros for configurability. In the
304 case, the ACPI_ALLOCATE and related macros now resolve directly to their
305 respective AcpiOs* OSL interfaces. Two options:
306 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
307 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
308 2) For AcpiExec (and for debugging), the macros can optionally be
310 to the local ACPICA interfaces that track each allocation (local tracking
311 is used to immediately detect memory leaks).
314 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
315 to predefine this macro to either TRUE or FALSE during the system build.
317 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
319 Example Code and Data Size: These are the sizes for the OS-independent
320 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
321 debug version of the code includes the debug output trace mechanism and
322 has a much larger code and data size.
325 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
326 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
328 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
329 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
332 2) iASL Compiler/Disassembler and Tools:
334 iASL: Implemented wildcard support for the -e option. This simplifies use
335 when there are many SSDTs that must be included to resolve external
337 declarations. ACPICA BZ 1041. Example:
338 iasl -e ssdt*.dat -d dsdt.dat
340 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
341 adds a portable module that implements full history and limited line
342 editing for Unix and Linux systems. It does not use readline() due to
343 portability issues. Instead it uses the POSIX termio interface to put the
344 terminal in raw input mode so that the various special keys can be
346 (such as up/down-arrow for history support and left/right-arrow for line
347 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
349 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
350 one or more spaces. This provides compatible with early or different
351 versions of the AcpiDump utility. ACPICA BZ 1044.
353 AcpiDump: Do not ignore tables that contain only an ACPI table header.
354 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
355 no other data. This change adds support to dump these tables. Any tables
356 shorter than the length of an ACPI table header remain in error (an error
357 message is emitted). Reported by Yi Li.
359 Debugger: Echo actual command along with the "unknown command" message.
361 ----------------------------------------
362 23 August 2013. Summary of changes for version 20130823:
364 1) ACPICA kernel-resident subsystem:
366 Implemented support for host-installed System Control Interrupt (SCI)
367 handlers. Certain ACPI functionality requires the host to handle raw
368 SCIs. For example, the "SCI Doorbell" that is defined for memory power
369 state support requires the host device driver to handle SCIs to examine
370 if the doorbell has been activated. Multiple SCI handlers can be
371 installed to allow for future expansion. New external interfaces are
372 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
373 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
375 Operation region support: Never locally free the handler "context"
376 pointer. This change removes some dangerous code that attempts to free
377 the handler context pointer in some (rare) circumstances. The owner of
378 the handler owns this pointer and the ACPICA code should never touch it.
379 Although not seen to be an issue in any kernel, it did show up as a
380 problem (fault) under AcpiExec. Also, set the internal storage field for
381 the context pointer to zero when the region is deactivated, simply for
382 sanity. David Box. ACPICA BZ 1039.
384 AcpiRead: On error, do not modify the return value target location. If an
385 error happens in the middle of a split 32/32 64-bit I/O operation, do not
386 modify the target of the return value pointer. Makes the code consistent
387 with the rest of ACPICA. Bjorn Helgaas.
389 Example Code and Data Size: These are the sizes for the OS-independent
390 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
391 debug version of the code includes the debug output trace mechanism and
392 has a much larger code and data size.
395 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
396 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
398 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
399 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
402 2) iASL Compiler/Disassembler and Tools:
404 AcpiDump: Implemented several new features and fixed some problems:
405 1) Added support to dump the RSDP, RSDT, and XSDT tables.
406 2) Added support for multiple table instances (SSDT, UEFI).
407 3) Added option to dump "customized" (overridden) tables (-c).
408 4) Fixed a problem where some table filenames were improperly
410 5) Improved some error messages, removed some unnecessary messages.
412 iASL: Implemented additional support for disassembly of ACPI tables that
413 contain invocations of external control methods. The -fe<file> option
414 allows the import of a file that specifies the external methods along
415 with the required number of arguments for each -- allowing for the
416 correct disassembly of the table. This is a workaround for a limitation
417 of AML code where the disassembler often cannot determine the number of
418 arguments required for an external control method and generates incorrect
419 ASL code. See the iASL reference for details. ACPICA BZ 1030.
421 Debugger: Implemented a new command (paths) that displays the full
422 pathnames (namepaths) and object types of all objects in the namespace.
423 This is an alternative to the namespace command.
425 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
426 mechanism and any installed handlers.
428 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
429 This can occur if there are too many parent prefixes in a namepath (for
430 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
432 Application OSLs: Set the return value for the PCI read functions. These
433 functions simply return AE_OK, but should set the return value to zero
434 also. This change implements this. ACPICA BZ 1038.
436 Debugger: Prevent possible command line buffer overflow. Increase the
437 size of a couple of the debugger line buffers, and ensure that overflow
438 cannot happen. ACPICA BZ 1037.
440 iASL: Changed to abort immediately on serious errors during the parsing
441 phase. Due to the nature of ASL, there is no point in attempting to
442 compile these types of errors, and they typically end up causing a
443 cascade of hundreds of errors which obscure the original problem.
445 ----------------------------------------
446 25 July 2013. Summary of changes for version 20130725:
448 1) ACPICA kernel-resident subsystem:
450 Fixed a problem with the DerefOf operator where references to FieldUnits
451 and BufferFields incorrectly returned the parent object, not the actual
452 value of the object. After this change, a dereference of a FieldUnit
453 reference results in a read operation on the field to get the value, and
454 likewise, the appropriate BufferField value is extracted from the target
457 Fixed a problem where the _WAK method could cause a fault under these
458 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
459 method returned no value. The problem is rarely seen because most kernels
460 run ACPICA in slack mode.
462 For the DerefOf operator, a fatal error now results if an attempt is made
463 to dereference a reference (created by the Index operator) to a NULL
464 package element. Provides compatibility with other ACPI implementations,
465 and this behavior will be added to a future version of the ACPI
468 The ACPI Power Management Timer (defined in the FADT) is now optional.
469 This provides compatibility with other ACPI implementations and will
470 appear in the next version of the ACPI specification. If there is no PM
471 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
472 zero in the FADT indicates no PM timer.
474 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
475 allows the host to globally enable/disable all vendor strings, all
476 feature strings, or both. Intended to be primarily used for debugging
477 purposes only. Lv Zheng.
479 Expose the collected _OSI data to the host via a global variable. This
480 data tracks the highest level vendor ID that has been invoked by the BIOS
481 so that the host (and potentially ACPICA itself) can change behaviors
482 based upon the age of the BIOS.
484 Example Code and Data Size: These are the sizes for the OS-independent
485 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
486 debug version of the code includes the debug output trace mechanism and
487 has a much larger code and data size.
490 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
491 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
493 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
494 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
497 2) iASL Compiler/Disassembler and Tools:
499 iASL: Created the following enhancements for the -so option (create
501 1)Add offsets for the last nameseg in each namepath for every supported
503 2)Add support for Processor, Device, Thermal Zone, and Scope objects
504 3)Add the actual AML opcode for the parent object of every supported
506 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
508 Disassembler: Emit all unresolved external symbols in a single block.
509 These are external references to control methods that could not be
510 resolved, and thus, the disassembler had to make a guess at the number of
513 iASL: The argument to the -T option (create table template) is now
514 optional. If not specified, the default table is a DSDT, typically the
517 ----------------------------------------
518 26 June 2013. Summary of changes for version 20130626:
520 1) ACPICA kernel-resident subsystem:
522 Fixed an issue with runtime repair of the _CST object. Null or invalid
523 elements were not always removed properly. Lv Zheng.
525 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
526 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
527 the maximum number of GPEs is 1016. Use of multiple GPE block devices
528 makes the system-wide number of GPEs essentially unlimited.
530 Example Code and Data Size: These are the sizes for the OS-independent
531 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
532 debug version of the code includes the debug output trace mechanism and
533 has a much larger code and data size.
536 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
537 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
539 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
540 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
543 2) iASL Compiler/Disassembler and Tools:
545 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
546 hosts. Now supports Linux, FreeBSD, and Windows.
548 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
549 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
551 iASL/Preprocessor: Implemented full support for nested
552 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
554 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
555 max. The original purpose of this constraint was to limit the amount of
556 debug output. However, the string function in question (UtPrintString) is
557 now used for the disassembler also, where 256 bytes is insufficient.
558 Reported by RehabMan@GitHub.
560 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
561 tables. ACPICA BZ 999. Lv Zheng.
563 iASL: Fixed a couple of error exit issues that could result in a "Could
564 not delete <file>" message during ASL compilation.
566 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
567 the actual signatures for these tables are "FACP" and "APIC",
570 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
571 tables are allowed to have multiple instances.
573 ----------------------------------------
574 17 May 2013. Summary of changes for version 20130517:
576 1) ACPICA kernel-resident subsystem:
578 Fixed a regression introduced in version 20130328 for _INI methods. This
579 change fixes a problem introduced in 20130328 where _INI methods are no
580 longer executed properly because of a memory block that was not
581 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
582 <tomasz.nowicki@linaro.org>.
584 Fixed a possible problem with the new extended sleep registers in the
586 5.0 FADT. Do not use these registers (even if populated) unless the HW-
587 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
590 Implemented return value repair code for _CST predefined objects: Sort
592 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
594 Implemented a debug-only option to disable loading of SSDTs from the
595 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
596 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
597 acglobal.h - ACPICA BZ 1005. Lv Zheng.
599 Fixed some issues in the ACPICA initialization and termination code:
600 Tomasz Nowicki <tomasz.nowicki@linaro.org>
601 1) Clear events initialized flag upon event component termination. ACPICA
603 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
604 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
605 4) Clear debug buffer global on termination to prevent possible multiple
606 delete. ACPICA BZ 1010.
608 Standardized all switch() blocks across the entire source base. After
610 years, different formatting for switch() had crept in. This change makes
611 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
613 Split some files to enhance ACPICA modularity and configurability:
614 1) Split buffer dump routines into utilities/utbuffer.c
615 2) Split internal error message routines into utilities/uterror.c
616 3) Split table print utilities into tables/tbprint.c
617 4) Split iASL command-line option processing into asloptions.c
619 Makefile enhancements:
620 1) Support for all new files above.
621 2) Abort make on errors from any subcomponent. Chao Guan.
622 3) Add build support for Apple Mac OS X. Liang Qi.
624 Example Code and Data Size: These are the sizes for the OS-independent
625 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
626 debug version of the code includes the debug output trace mechanism and
627 has a much larger code and data size.
630 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
631 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
633 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
634 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
637 2) iASL Compiler/Disassembler and Tools:
639 New utility: Implemented an easily portable version of the acpidump
640 utility to extract ACPI tables from the system (or a file) in an ASCII
642 dump format. The top-level code implements the various command line
643 options, file I/O, and table dump routines. To port to a new host, only
644 three functions need to be implemented to get tables -- since this
645 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
646 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
647 1) The Windows version obtains the ACPI tables from the Registry.
648 2) The Linux version is under development.
649 3) Other hosts - If an OS-dependent module is submitted, it will be
650 distributed with ACPICA.
652 iASL: Fixed a regression for -D preprocessor option (define symbol). A
653 restructuring/change to the initialization sequence caused this option to
654 no longer work properly.
656 iASL: Implemented a mechanism to disable specific warnings and remarks.
657 Adds a new command line option, "-vw <messageid> as well as "#pragma
658 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
660 iASL: Fix for too-strict package object validation. The package object
661 validation for return values from the predefined names is a bit too
662 strict, it does not allow names references within the package (which will
663 be resolved at runtime.) These types of references cannot be validated at
664 compile time. This change ignores named references within package objects
665 for names that return or define static packages.
667 Debugger: Fixed the 80-character command line limitation for the History
668 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
670 iASL: Added control method and package support for the -so option
671 (generates AML offset table for BIOS support.)
673 iASL: issue a remark if a non-serialized method creates named objects. If
674 a thread blocks within the method for any reason, and another thread
675 enters the method, the method will fail because an attempt will be made
677 create the same (named) object twice. In this case, issue a remark that
678 the method should be marked serialized. NOTE: may become a warning later.
681 ----------------------------------------
682 18 April 2013. Summary of changes for version 20130418:
684 1) ACPICA kernel-resident subsystem:
686 Fixed a possible buffer overrun during some rare but specific field unit
687 read operations. This overrun can only happen if the DSDT version is 1 --
688 meaning that all AML integers are 32 bits -- and the field length is
689 between 33 and 55 bits long. During the read, an internal buffer object
691 created for the field unit because the field is larger than an integer
693 bits). However, in this case, the buffer will be incorrectly written
694 beyond the end because the buffer length is less than the internal
696 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
697 long, but a full 8 bytes will be written.
699 Updated the Embedded Controller "orphan" _REG method support. This refers
700 to _REG methods under the EC device that have no corresponding operation
701 region. This is allowed by the ACPI specification. This update removes a
702 dependency on the existence an ECDT table. It will execute an orphan _REG
703 method as long as the operation region handler for the EC is installed at
704 the EC device node and not the namespace root. Rui Zhang (original
705 update), Bob Moore (update/integrate).
707 Implemented run-time argument typechecking for all predefined ACPI names
708 (_STA, _BIF, etc.) This change performs object typechecking on all
709 incoming arguments for all predefined names executed via
710 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
711 passing correct object types as well as the correct number of arguments
712 (therefore identifying any issues immediately). Also, the ASL/namespace
713 definition of the predefined name is checked against the ACPI
714 specification for the proper argument count. Adds one new file,
717 Changed an exception code for the ASL UnLoad() operator. Changed the
718 exception code for the case where the input DdbHandle is invalid, from
719 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
721 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
722 global makefile. The use of this flag causes compiler errors on earlier
723 versions of GCC, so it has been removed for compatibility.
725 Miscellaneous cleanup:
726 1) Removed some unused/obsolete macros
727 2) Fixed a possible memory leak in the _OSI support
728 3) Removed an unused variable in the predefined name support
729 4) Windows OSL: remove obsolete reference to a memory list field
731 Example Code and Data Size: These are the sizes for the OS-independent
732 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
733 debug version of the code includes the debug output trace mechanism and
734 has a much larger code and data size.
737 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
738 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
740 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
741 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
744 2) iASL Compiler/Disassembler and Tools:
746 AcpiExec: Added installation of a handler for the SystemCMOS address
747 space. This prevents control method abort if a method accesses this
750 AcpiExec: Added support for multiple EC devices, and now install EC
751 operation region handler(s) at the actual EC device instead of the
752 namespace root. This reflects the typical behavior of host operating
755 AcpiExec: Updated to ensure that all operation region handlers are
756 installed before the _REG methods are executed. This prevents a _REG
757 method from aborting if it accesses an address space has no handler.
758 AcpiExec installs a handler for every possible address space.
760 Debugger: Enhanced the "handlers" command to display non-root handlers.
761 This change enhances the handlers command to display handlers associated
762 with individual devices throughout the namespace, in addition to the
763 currently supported display of handlers associated with the root
767 ASL Test Suite: Several test suite errors have been identified and
768 resolved, reducing the total error count during execution. Chao Guan.
770 ----------------------------------------
771 28 March 2013. Summary of changes for version 20130328:
773 1) ACPICA kernel-resident subsystem:
775 Fixed several possible race conditions with the internal object reference
776 counting mechanism. Some of the external ACPICA interfaces update object
777 reference counts without holding the interpreter or namespace lock. This
778 change adds a spinlock to protect reference count updates on the internal
779 ACPICA objects. Reported by and with assistance from Andriy Gapon
782 FADT support: Removed an extraneous warning for very large GPE register
783 sets. This change removes a size mismatch warning if the legacy length
784 field for a GPE register set is larger than the 64-bit GAS structure can
785 accommodate. GPE register sets can be larger than the 255-bit width
786 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
788 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
789 return from this interface. Handles a possible timeout case if
790 ACPI_WAIT_FOREVER is modified by the host to be a value less than
791 "forever". Jung-uk Kim.
793 Predefined name support: Add allowed/required argument type information
795 the master predefined info table. This change adds the infrastructure to
796 enable typechecking on incoming arguments for all predefined
797 methods/objects. It does not actually contain the code that will fully
798 utilize this information, this is still under development. Also condenses
799 some duplicate code for the predefined names into a new module,
802 Example Code and Data Size: These are the sizes for the OS-independent
803 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
804 debug version of the code includes the debug output trace mechanism and
805 has a much larger code and data size.
808 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
809 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
811 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
812 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
815 2) iASL Compiler/Disassembler and Tools:
817 iASL: Implemented a new option to simplify the development of ACPI-
819 BIOS code. Adds support for a new "offset table" output file. The -so
820 option will create a C table containing the AML table offsets of various
821 named objects in the namespace so that BIOS code can modify them easily
823 boot time. This can simplify BIOS runtime code by eliminating expensive
824 searches for "magic values", enhancing boot times and adding greater
825 reliability. With assistance from Lee Hamel.
827 iASL: Allow additional predefined names to return zero-length packages.
828 Now, all predefined names that are defined by the ACPI specification to
829 return a "variable-length package of packages" are allowed to return a
830 zero length top-level package. This allows the BIOS to tell the host that
831 the requested feature is not supported, and supports existing BIOS/ASL
834 iASL: Changed the "result not used" warning to an error. This is the case
835 where an ASL operator is effectively a NOOP because the result of the
836 operation is not stored anywhere. For example:
838 There is no target (missing 3rd argument), nor is the function return
839 value used. This is potentially a very serious problem -- since the code
840 was probably intended to do something, but for whatever reason, the value
841 was not stored. Therefore, this issue has been upgraded from a warning to
844 AcpiHelp: Added allowable/required argument types to the predefined names
845 info display. This feature utilizes the recent update to the predefined
848 ----------------------------------------
849 14 February 2013. Summary of changes for version 20130214:
851 1) ACPICA Kernel-resident Subsystem:
853 Fixed a possible regression on some hosts: Reinstated the safe return
854 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
855 evaluated only once. Although these macros are not needed for the ACPICA
856 code itself, they are often used by ACPI-related host device drivers
858 the safe feature may be necessary.
860 Fixed several issues related to the ACPI 5.0 reduced hardware support
861 (SOC): Now ensure that if the platform declares itself as hardware-
863 via the FADT, the following functions become NOOPs (and always return
864 AE_OK) because ACPI is always enabled by definition on these machines:
870 Dynamic Object Repair: Implemented additional runtime repairs for
871 predefined name return values. Both of these repairs can simplify code in
872 the related device drivers that invoke these methods:
873 1) For the _STR and _MLS names, automatically repair/convert an ASCII
874 string to a Unicode buffer.
875 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
877 lone end tag descriptor in the following cases: A Return(0) was executed,
878 a null buffer was returned, or no object at all was returned (non-slack
879 mode only). Adds a new file, nsconvert.c
880 ACPICA BZ 998. Bob Moore, Lv Zheng.
882 Resource Manager: Added additional code to prevent possible infinite
884 while traversing corrupted or ill-formed resource template buffers. Check
885 for zero-length resource descriptors in all code that loops through
886 resource templates (the length field is used to index through the
887 template). This change also hardens the external AcpiWalkResources and
888 AcpiWalkResourceBuffer interfaces.
890 Local Cache Manager: Enhanced the main data structure to eliminate an
891 unnecessary mechanism to access the next object in the list. Actually
892 provides a small performance enhancement for hosts that use the local
893 ACPICA cache manager. Jung-uk Kim.
895 Example Code and Data Size: These are the sizes for the OS-independent
896 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
897 debug version of the code includes the debug output trace mechanism and
898 has a much larger code and data size.
901 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
902 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
904 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
905 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
908 2) iASL Compiler/Disassembler and Tools:
910 iASL/Disassembler: Fixed several issues with the definition of the ACPI
911 5.0 RASF table (RAS Feature Table). This change incorporates late changes
912 that were made to the ACPI 5.0 specification.
914 iASL/Disassembler: Added full support for the following new ACPI tables:
915 1) The MTMR table (MID Timer Table)
916 2) The VRTC table (Virtual Real Time Clock Table).
917 Includes header file, disassembler, table compiler, and template support
920 iASL: Implemented compile-time validation of package objects returned by
921 predefined names. This new feature validates static package objects
922 returned by the various predefined names defined to return packages. Both
923 object types and package lengths are validated, for both parent packages
924 and sub-packages, if any. The code is similar in structure and behavior
926 the runtime repair mechanism within the AML interpreter and uses the
927 existing predefined name information table. Adds a new file, aslprepkg.c.
930 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
931 This feature detects a binary file with a valid ACPI table header and
932 invokes the disassembler automatically. Eliminates the need to
933 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
935 iASL/Disassembler: Added several warnings for the case where there are
936 unresolved control methods during the disassembly. This can potentially
937 cause errors when the output file is compiled, because the disassembler
938 assumes zero method arguments in these cases (it cannot determine the
939 actual number of arguments without resolution/definition of the method).
941 Debugger: Added support to display all resources with a single command.
942 Invocation of the resources command with no arguments will now display
944 resources within the current namespace.
946 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
949 ----------------------------------------
950 17 January 2013. Summary of changes for version 20130117:
952 1) ACPICA Kernel-resident Subsystem:
954 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
955 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
956 objects to return a package containing one integer, most BIOS code
958 two integers and the previous code reflects that. However, we also need
960 support BIOS code that actually implements to the ACPI spec, and this
961 change reflects this.
963 Fixed two issues with the ACPI_DEBUG_PRINT macros:
964 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
965 C compilers that require this support.
966 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
967 ACPI_DEBUG is already used by many of the various hosts.
969 Updated all ACPICA copyrights and signons to 2013. Added the 2013
970 copyright to all module headers and signons, including the standard Linux
971 header. This affects virtually every file in the ACPICA core subsystem,
972 iASL compiler, all ACPICA utilities, and the test suites.
974 Example Code and Data Size: These are the sizes for the OS-independent
975 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
976 debug version of the code includes the debug output trace mechanism and
977 has a much larger code and data size.
980 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
981 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
983 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
984 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
987 2) iASL Compiler/Disassembler and Tools:
989 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
990 prevent a possible fault on some hosts. Some C libraries modify the arg
991 pointer parameter to vfprintf making it difficult to call it twice in the
992 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
993 does not affect the Windows OSL since the Win C library does not modify
994 the arg pointer. Chao Guan, Bob Moore.
996 iASL: Fixed a possible infinite loop when the maximum error count is
997 reached. If an output file other than the .AML file is specified (such as
998 a listing file), and the maximum number of errors is reached, do not
999 attempt to flush data to the output file(s) as the compiler is aborting.
1000 This can cause an infinite loop as the max error count code essentially
1001 keeps calling itself.
1003 iASL/Disassembler: Added an option (-in) to ignore NOOP
1005 Implemented for both the compiler and the disassembler. Often, the NOOP
1006 opcode is used as padding for packages that are changed dynamically by
1008 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
1009 errors. This option causes the disassembler to ignore all NOOP opcodes
1010 (0xA3), and it also causes the compiler to ignore all ASL source code
1014 Debugger: Enhanced the Sleep command to execute all sleep states. This
1015 change allows Sleep to be invoked with no arguments and causes the
1016 debugger to execute all of the sleep states, 0-5, automatically.
1018 ----------------------------------------
1019 20 December 2012. Summary of changes for version 20121220:
1021 1) ACPICA Kernel-resident Subsystem:
1023 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
1024 alternate entry point for AcpiWalkResources and improves the usability of
1025 the resource manager by accepting as input a buffer containing the output
1026 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
1027 input buffer is not deleted by this interface so that it can be used by
1028 the host later. See the ACPICA reference for details.
1030 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
1031 (DSDT version < 2). The constant will be truncated and this warning
1032 reflects that behavior.
1034 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
1035 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
1036 both get and set the new wake bit in these descriptors, separately from
1037 the existing share bit. Reported by Aaron Lu.
1039 Interpreter: Fix Store() when an implicit conversion is not possible. For
1040 example, in the cases such as a store of a string to an existing package
1041 object, implement the store as a CopyObject(). This is a small departure
1042 from the ACPI specification which states that the control method should
1044 aborted in this case. However, the ASLTS suite depends on this behavior.
1046 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
1047 macros: check if debug output is currently enabled as soon as possible to
1048 minimize performance impact if debug is in fact not enabled.
1050 Source code restructuring: Cleanup to improve modularity. The following
1051 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
1052 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
1053 Associated makefiles and project files have been updated.
1055 Changed an exception code for LoadTable operator. For the case where one
1056 of the input strings is too long, change the returned exception code from
1057 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
1059 Fixed a possible memory leak in dispatcher error path. On error, delete
1060 the mutex object created during method mutex creation. Reported by
1061 tim.gardner@canonical.com.
1063 Example Code and Data Size: These are the sizes for the OS-independent
1064 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1065 debug version of the code includes the debug output trace mechanism and
1066 has a much larger code and data size.
1069 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
1070 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1072 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
1073 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
1076 2) iASL Compiler/Disassembler and Tools:
1078 iASL: Disallow a method call as argument to the ObjectType ASL operator.
1079 This change tracks an errata to the ACPI 5.0 document. The AML grammar
1080 will not allow the interpreter to differentiate between a method and a
1081 method invocation when these are used as an argument to the ObjectType
1082 operator. The ACPI specification change is to disallow a method
1084 (UserTerm) for the ObjectType operator.
1086 Finish support for the TPM2 and CSRT tables in the headers, table
1087 compiler, and disassembler.
1089 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
1090 always expires immediately if the semaphore is not available. The
1092 code was using a relative-time timeout, but sem_timedwait requires the
1094 of an absolute time.
1096 iASL: Added a remark if the Timer() operator is used within a 32-bit
1097 table. This operator returns a 64-bit time value that will be truncated
1098 within a 32-bit table.
1100 iASL Source code restructuring: Cleanup to improve modularity. The
1101 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
1102 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
1106 ----------------------------------------
1107 14 November 2012. Summary of changes for version 20121114:
1109 1) ACPICA Kernel-resident Subsystem:
1111 Implemented a performance enhancement for ACPI/AML Package objects. This
1112 change greatly increases the performance of Package objects within the
1113 interpreter. It changes the processing of reference counts for packages
1115 optimizing for the most common case where the package sub-objects are
1116 either Integers, Strings, or Buffers. Increases the overall performance
1118 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
1120 Chao Guan. ACPICA BZ 943.
1122 Implemented and deployed common macros to extract flag bits from resource
1123 descriptors. Improves readability and maintainability of the code. Fixes
1125 problem with the UART serial bus descriptor for the number of data bits
1126 flags (was incorrectly 2 bits, should be 3).
1128 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
1129 of the macros and changed the SETx macros to the style of (destination,
1130 source). Also added ACPI_CASTx companion macros. Lv Zheng.
1132 Example Code and Data Size: These are the sizes for the OS-independent
1133 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1134 debug version of the code includes the debug output trace mechanism and
1135 has a much larger code and data size.
1138 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
1139 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1141 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
1142 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1145 2) iASL Compiler/Disassembler and Tools:
1147 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
1148 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
1149 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
1151 Disassembler: Fixed a problem with external declaration generation. Fixes
1152 a problem where an incorrect pathname could be generated for an external
1153 declaration if the original reference to the object includes leading
1154 carats (^). ACPICA BZ 984.
1156 Debugger: Completed a major update for the Disassemble<method> command.
1157 This command was out-of-date and did not properly disassemble control
1158 methods that had any reasonable complexity. This fix brings the command
1160 to the same level as the rest of the disassembler. Adds one new file,
1161 dmdeferred.c, which is existing code that is now common with the main
1162 disassembler and the debugger disassemble command. ACPICA MZ 978.
1164 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
1165 Newer versions of Bison emit this prototype, so moved the prototype out
1167 the iASL header to where it is actually used in order to avoid a
1171 iASL/Tools: Standardized use of the stream I/O functions:
1172 1) Ensure check for I/O error after every fopen/fread/fwrite
1173 2) Ensure proper order of size/count arguments for fread/fwrite
1174 3) Use test of (Actual != Requested) after all fwrite, and most fread
1175 4) Standardize I/O error messages
1176 Improves reliability and maintainability of the code. Bob Moore, Lv
1180 Disassembler: Prevent duplicate External() statements. During generation
1181 of external statements, detect similar pathnames that are actually
1182 duplicates such as these:
1185 Remove all leading '\' characters from pathnames during the external
1186 statement generation so that duplicates will be detected and tossed.
1189 Tools: Replace low-level I/O with stream I/O functions. Replace
1190 open/read/write/close with the stream I/O equivalents
1191 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
1194 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
1195 name header so that AcpiXtract recognizes the output file/table.
1197 iASL: Remove obsolete -2 option flag. Originally intended to force the
1198 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
1199 and the entire concept is now obsolete.
1201 ----------------------------------------
1202 18 October 2012. Summary of changes for version 20121018:
1205 1) ACPICA Kernel-resident Subsystem:
1207 Updated support for the ACPI 5.0 MPST table. Fixes some problems
1208 introduced by late changes to the table as it was added to the ACPI 5.0
1209 specification. Includes header, disassembler, and data table compiler
1210 support as well as a new version of the MPST template.
1212 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
1213 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
1214 methods: _HID, _CID, and _UID.
1216 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
1217 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
1218 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
1219 names for their various drivers. Affects the AcpiGetObjectInfo external
1220 interface, and other internal interfaces as well.
1222 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
1223 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
1224 on machines that support non-aligned transfers. Optimizes for this case
1225 rather than using a strncpy. With assistance from Zheng Lv.
1227 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
1228 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
1230 Added a new debug print message for AML mutex objects that are force-
1231 released. At control method termination, any currently acquired mutex
1232 objects are force-released. Adds a new debug-only message for each one
1235 Audited/updated all ACPICA return macros and the function debug depth
1236 counter: 1) Ensure that all functions that use the various TRACE macros
1237 also use the appropriate ACPICA return macros. 2) Ensure that all normal
1238 return statements surround the return expression (value) with parens to
1239 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
1240 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
1242 Global source code changes/maintenance: All extra lines at the start and
1243 end of each source file have been removed for consistency. Also, within
1244 comments, all new sentences start with a single space instead of a double
1245 space, again for consistency across the code base.
1247 Example Code and Data Size: These are the sizes for the OS-independent
1248 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1249 debug version of the code includes the debug output trace mechanism and
1250 has a much larger code and data size.
1253 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
1254 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
1256 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
1257 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1260 2) iASL Compiler/Disassembler and Tools:
1262 AcpiExec: Improved the algorithm used for memory leak/corruption
1263 detection. Added some intelligence to the code that maintains the global
1264 list of allocated memory. The list is now ordered by allocated memory
1265 address, significantly improving performance. When running AcpiExec on
1266 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
1267 on the platform and/or the environment. Note, this performance
1268 enhancement affects the AcpiExec utility only, not the kernel-resident
1271 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
1272 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
1273 incorrect table offset reported for invalid opcodes. Report the original
1274 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
1276 Disassembler: Enhanced the -vt option to emit the binary table data in
1277 hex format to assist with debugging.
1279 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
1280 size of file structure. Colin Ian King.
1282 ----------------------------------------
1283 13 September 2012. Summary of changes for version 20120913:
1286 1) ACPICA Kernel-resident Subsystem:
1288 ACPI 5.0: Added two new notify types for the Hardware Error Notification
1289 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
1293 Table Manager: Merged/removed duplicate code in the root table resize
1294 functions. One function is external, the other is internal. Lv Zheng,
1298 Makefiles: Completely removed the obsolete "Linux" makefiles under
1299 acpica/generate/linux. These makefiles are obsolete and have been
1302 the generic unix makefiles under acpica/generate/unix.
1304 Makefiles: Ensure that binary files always copied properly. Minor rule
1306 to ensure that the final binary output files are always copied up to the
1307 appropriate binary directory (bin32 or bin64.)
1309 Example Code and Data Size: These are the sizes for the OS-independent
1310 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1312 version of the code includes the debug output trace mechanism and has a
1314 larger code and data size.
1317 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
1318 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
1320 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
1321 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
1324 2) iASL Compiler/Disassembler and Tools:
1326 Disassembler: Fixed a possible fault during the disassembly of resource
1327 descriptors when a second parse is required because of the invocation of
1328 external control methods within the table. With assistance from
1329 adq@lidskialf.net. ACPICA BZ 976.
1331 iASL: Fixed a namepath optimization problem. An error can occur if the
1333 node that contains the namepath to be optimized does not have a parent
1335 that is a named object. This change fixes the problem.
1337 iASL: Fixed a regression where the AML file is not deleted on errors. The
1339 output file should be deleted if there are any errors during the
1342 only exception is if the -f (force output) option is used. ACPICA BZ 974.
1344 iASL: Added a feature to automatically increase internal line buffer
1346 Via realloc(), automatically increase the internal line buffer sizes as
1347 necessary to support very long source code lines. The current version of
1349 preprocessor requires a buffer long enough to contain full source code
1351 This change increases the line buffer(s) if the input lines go beyond the
1352 current buffer size. This eliminates errors that occurred when a source
1354 line was longer than the buffer.
1356 iASL: Fixed a problem with constant folding in method declarations. The
1357 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
1359 Type3 opcode was used.
1361 Debugger: Improved command help support. For incorrect argument count,
1363 full help for the command. For help command itself, allow an argument to
1366 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
1367 errors during execution of the suite. Guan Chao.
1369 ----------------------------------------
1370 16 August 2012. Summary of changes for version 20120816:
1373 1) ACPICA Kernel-resident Subsystem:
1375 Removed all use of the deprecated _GTS and _BFS predefined methods. The
1377 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
1378 deprecated and will probably be removed from the ACPI specification.
1380 does not invoke them, and reportedly never will. The final nail in the
1382 is that the ACPI specification states that these methods must be run with
1383 interrupts off, which is not going to happen in a kernel interpreter.
1385 Linux has removed all use of the methods also. It was discovered that
1386 invoking these functions caused failures on some machines, probably
1388 they were never tested since Windows does not call them. Affects two
1390 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
1393 Implemented support for complex bit-packed buffers returned from the _PLD
1394 (Physical Location of Device) predefined method. Adds a new external
1395 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
1397 structure. Note: C Bitfields cannot be used for this type of predefined
1398 structure since the memory layout of individual bitfields is not defined
1400 the C language. In addition, there are endian concerns where a compiler
1402 change the bitfield ordering based on the machine type. The new ACPICA
1403 interface eliminates these issues, and should be called after _PLD is
1404 executed. ACPICA BZ 954.
1406 Implemented a change to allow a scope change to root (via "Scope (\)")
1408 execution of module-level ASL code (code that is executed at table load
1411 Added the Windows8/Server2012 string for the _OSI method. This change
1414 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
1417 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
1419 and CSRT (Core System Resource Table).
1421 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
1422 names. This simplifies access to the buffers returned by these predefined
1423 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
1425 GPE support: Removed an extraneous parameter from the various low-level
1426 internal GPE functions. Tang Feng.
1428 Removed the linux makefiles from the unix packages. The generate/linux
1429 makefiles are obsolete and have been removed from the unix tarball
1431 packages. The replacement makefiles are under generate/unix, and there is
1433 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
1435 Updates for Unix makefiles:
1436 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
1437 2) Update linker flags (move to end of command line) for AcpiExec
1441 Split ACPICA initialization functions to new file, utxfinit.c. Split from
1442 utxface.c to improve modularity and reduce file size.
1444 Example Code and Data Size: These are the sizes for the OS-independent
1445 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1446 debug version of the code includes the debug output trace mechanism and
1448 much larger code and data size.
1451 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1452 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1454 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
1455 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
1458 2) iASL Compiler/Disassembler and Tools:
1460 iASL: Fixed a problem with constant folding for fixed-length constant
1461 expressions. The constant-folding code was not being invoked for constant
1462 expressions that allow the use of type 3/4/5 opcodes to generate
1464 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
1466 in the generation of invalid AML bytecode. ACPICA BZ 970.
1468 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
1469 apparently automatically emit some of the necessary externals. This
1471 handles these versions in order to eliminate generation warnings.
1473 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
1475 Disassembler: Add support to decode _PLD buffers. The decoded buffer
1477 within comments in the output file.
1479 Debugger: Fixed a regression with the "Threads" command where
1480 AE_BAD_PARAMETER was always returned.
1482 ----------------------------------------
1483 11 July 2012. Summary of changes for version 20120711:
1485 1) ACPICA Kernel-resident Subsystem:
1487 Fixed a possible fault in the return package object repair code. Fixes a
1488 problem that can occur when a lone package object is wrapped with an
1490 package object in order to force conformance to the ACPI specification.
1492 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
1496 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
1497 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
1498 ARB_DIS bit must be implemented in the host-dependent C3 processor power
1500 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
1502 Intel and other vendors. (for Intel: ICH4-M and earlier)
1504 This change removes the code to disable/enable bus master arbitration
1506 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
1508 resume problems on some machines. The change has been in use for over
1512 Implemented two new external interfaces to support host-directed dynamic
1514 table load and unload. They are intended to simplify the host
1516 of hot-plug support:
1517 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
1518 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
1520 See the ACPICA reference for additional details. Adds one new file,
1521 components/tables/tbxfload.c
1523 Implemented and deployed two new interfaces for errors and warnings that
1525 known to be caused by BIOS/firmware issues:
1526 AcpiBiosError: Prints "ACPI Firmware Error" message.
1527 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
1528 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
1530 and FADT errors. Additional deployment to be completed as appropriate in
1532 future. The associated conditional macros are ACPI_BIOS_ERROR and
1533 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
1538 Implicit notify support: ensure that no memory allocation occurs within a
1539 critical region. This fix moves a memory allocation outside of the time
1541 spinlock is held. Fixes issues on systems that do not allow this
1545 Split exception code utilities and tables into a new file,
1548 Example Code and Data Size: These are the sizes for the OS-independent
1549 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1551 version of the code includes the debug output trace mechanism and has a
1553 larger code and data size.
1556 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1557 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1559 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1560 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1563 2) iASL Compiler/Disassembler and Tools:
1565 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
1569 Debugger: Enhanced the "tables" command to emit additional information
1571 the current set of ACPI tables, including the owner ID and flags decode.
1573 Debugger: Reimplemented the "unload" command to use the new
1574 AcpiUnloadParentTable external interface. This command was disable
1576 due to need for an unload interface.
1578 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
1580 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
1582 ----------------------------------------
1583 20 June 2012. Summary of changes for version 20120620:
1586 1) ACPICA Kernel-resident Subsystem:
1588 Implemented support to expand the "implicit notify" feature to allow
1590 devices to be notified by a single GPE. This feature automatically
1592 runtime device notification in the absence of a BIOS-provided GPE control
1593 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
1595 provided by ACPICA for Windows compatibility, and is a workaround for
1598 code errors. See the description of the AcpiSetupGpeForWake interface in
1600 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
1602 Changed some comments and internal function names to simplify and ensure
1603 correctness of the Linux code translation. No functional changes.
1605 Example Code and Data Size: These are the sizes for the OS-independent
1606 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1608 version of the code includes the debug output trace mechanism and has a
1610 larger code and data size.
1613 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
1614 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
1616 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1617 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1620 2) iASL Compiler/Disassembler and Tools:
1622 Disassembler: Added support to emit short, commented descriptions for the
1624 predefined names in order to improve the readability of the disassembled
1625 output. ACPICA BZ 959. Changes include:
1626 1) Emit descriptions for all standard predefined names (_INI, _STA,
1629 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1630 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
1633 AcpiSrc: Fixed several long-standing Linux code translation issues.
1635 descriptions in function headers are now translated properly to lower
1638 underscores. ACPICA BZ 961. Also fixes translation problems such as
1644 local_fADT -> local_FADT
1645 execute_oSI -> execute_OSI
1647 iASL: Fixed a problem where null bytes were inadvertently emitted into
1651 iASL: Added the existing debug options to the standard help screen. There
1653 no longer two different help screens. ACPICA BZ 957.
1655 AcpiHelp: Fixed some typos in the various predefined name descriptions.
1657 expand some of the descriptions where appropriate.
1659 iASL: Fixed the -ot option (display compile times/statistics). Was not
1661 properly for standard output; only worked for the debug file case.
1663 ----------------------------------------
1664 18 May 2012. Summary of changes for version 20120518:
1667 1) ACPICA Core Subsystem:
1669 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
1671 to block until asynchronous events such as notifies and GPEs have
1673 Within ACPICA, it is only called before a notify or GPE handler is
1674 removed/uninstalled. It also may be useful for the host OS within related
1675 drivers such as the Embedded Controller driver. See the ACPICA reference
1677 additional information. ACPICA BZ 868.
1679 ACPI Tables: Added a new error message for a possible overflow failure
1681 the conversion of FADT 32-bit legacy register addresses to internal
1684 bit GAS structure representation. The GAS has a one-byte "bit length"
1686 thus limiting the register length to 255 bits. ACPICA BZ 953.
1688 Example Code and Data Size: These are the sizes for the OS-independent
1689 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1691 version of the code includes the debug output trace mechanism and has a
1693 larger code and data size.
1696 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1697 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
1699 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
1700 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
1703 2) iASL Compiler/Disassembler and Tools:
1705 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
1707 This keyword was added late in the ACPI 5.0 release cycle and was not
1708 implemented until now.
1710 Disassembler: Added support for Operation Region externals. Adds missing
1711 support for operation regions that are defined in another table, and
1712 referenced locally via a Field or BankField ASL operator. Now generates
1714 correct External statement.
1716 Disassembler: Several additional fixes for the External() statement
1718 related to some ASL operators. Also, order the External() statements
1719 alphabetically in the disassembler output. Fixes the External()
1722 the Create* field, Alias, and Scope operators:
1723 1) Create* buffer field operators - fix type mismatch warning on
1725 2) Alias - implement missing External support
1726 3) Scope - fix to make sure all necessary externals are emitted.
1728 iASL: Improved pathname support. For include files, merge the prefix
1730 with the file pathname and eliminate unnecessary components. Convert
1731 backslashes in all pathnames to forward slashes, for readability. Include
1733 pathname changes affect both #include and Include() type operators.
1735 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
1737 of a valid line by inserting a newline and then returning the EOF during
1739 next call to GetNextLine. Prevents the line from being ignored due to EOF
1742 iASL: Implemented some changes to enhance the IDE support (-vi option.)
1744 and Warning messages are now correctly recognized for both the source
1746 browser and the global error and warning counts.
1748 ----------------------------------------
1749 20 April 2012. Summary of changes for version 20120420:
1752 1) ACPICA Core Subsystem:
1754 Implemented support for multiple notify handlers. This change adds
1757 allow multiple system and device notify handlers on Device, Thermal Zone,
1759 Processor objects. This can simplify the host OS notification
1761 Also re-worked and restructured the entire notify support code to
1763 handler installation, handler removal, notify event queuing, and notify
1764 dispatch to handler(s). Note: there can still only be two global notify
1765 handlers - one for system notifies and one for device notifies. There are
1767 changes to the existing handler install/remove interfaces. Lin Ming, Bob
1768 Moore, Rafael Wysocki.
1770 Fixed a regression in the package repair code where the object reference
1771 count was calculated incorrectly. Regression was introduced in the commit
1772 "Support to add Package wrappers".
1774 Fixed a couple possible memory leaks in the AML parser, in the error
1776 path. Jesper Juhl, Lin Ming.
1778 Example Code and Data Size: These are the sizes for the OS-independent
1779 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1780 debug version of the code includes the debug output trace mechanism and
1782 much larger code and data size.
1785 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1786 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1788 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1789 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
1792 2) iASL Compiler/Disassembler and Tools:
1794 iASL: Fixed a problem with the resource descriptor support where the
1796 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
1797 included in cumulative descriptor offset, resulting in incorrect values
1799 resource tags within resource descriptors appearing after a
1801 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
1803 iASL and Preprocessor: Implemented full support for the #line directive
1805 correctly track original source file line numbers through the .i
1807 output file - for error and warning messages.
1809 iASL: Expand the allowable byte constants for address space IDs.
1811 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
1812 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
1814 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1816 iASL: Add option to completely disable the preprocessor (-Pn).
1818 iASL: Now emit all error/warning messages to standard error (stderr) by
1819 default (instead of the previous stdout).
1821 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
1823 for resource descriptor offset fix above. Update/cleanup error output
1824 routines. Enable and send iASL errors/warnings to an error logfile
1825 (error.txt). Send all other iASL output to a logfile (compiler.txt).
1827 several extraneous "unrecognized operator" messages.
1829 ----------------------------------------
1830 20 March 2012. Summary of changes for version 20120320:
1833 1) ACPICA Core Subsystem:
1835 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
1836 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
1838 does not execute these methods, and therefore these methods are often
1839 untested. It has been seen on some systems where the execution of these
1840 methods causes errors and also prevents the machine from entering S5. It
1842 therefore suggested that host operating systems do not execute these
1844 by default. In the future, perhaps these methods can be optionally
1846 based on the age of the system and/or what is the newest version of
1848 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
1850 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
1853 Fixed a problem where the length of the local/common FADT was set too
1855 The local FADT table length cannot be set to the common length until the
1856 original length has been examined. There is code that checks the table
1858 and sets various fields appropriately. This can affect older machines
1860 early FADT versions. For example, this can cause inadvertent writes to
1862 CST_CNT register. Julian Anastasov.
1864 Fixed a mapping issue related to a physical table override. Use the
1866 mapping mechanism for tables loaded via the physical override OSL
1868 This allows for early mapping before the virtual memory manager is
1870 Thomas Renninger, Bob Moore.
1872 Enhanced the automatic return-object repair code: Repair a common problem
1874 predefined methods that are defined to return a variable-length Package
1876 sub-objects. If there is only one sub-object, some BIOS ASL code
1878 simply returns the single object instead of a Package with one sub-
1880 This new support will repair this error by wrapping a Package object
1882 the original object, creating the correct and expected Package with one
1884 object. Names that can be repaired in this manner include: _ALR, _CSD,
1886 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
1889 Changed the exception code returned for invalid ACPI paths passed as
1890 parameters to external interfaces such as AcpiEvaluateObject. Was
1891 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1893 Example Code and Data Size: These are the sizes for the OS-independent
1894 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1896 version of the code includes the debug output trace mechanism and has a
1898 larger code and data size.
1901 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
1902 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1904 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1905 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1908 2) iASL Compiler/Disassembler and Tools:
1910 iASL: Added the infrastructure and initial implementation of a integrated
1912 like preprocessor. This will simplify BIOS development process by
1914 the need for a separate preprocessing step during builds. On Windows, it
1916 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
1917 features including full #define() macro support are still under
1919 These preprocessor directives are supported:
1932 In addition, these new command line options are supported:
1933 -D <symbol> Define symbol for preprocessor use
1934 -li Create preprocessed output file (*.i)
1935 -P Preprocess only and create preprocessor output file (*.i)
1937 Table Compiler: Fixed a problem where the equals operator within an
1939 did not work properly.
1941 Updated iASL to use the current versions of Bison/Flex. Updated the
1943 project file to invoke these tools from the standard location. ACPICA BZ
1946 Flex for Windows: V2.5.4
1947 Bison for Windows: V2.4.1
1949 ----------------------------------------
1950 15 February 2012. Summary of changes for version 20120215:
1953 1) ACPICA Core Subsystem:
1955 There have been some major changes to the sleep/wake support code, as
1956 described below (a - e).
1958 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
1959 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
1960 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
1962 time the _BFS method is called and the _WAK method is called. NOTE: all
1964 must update their wake/resume code or else sleep/wake will not work
1968 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
1970 method. Some machines require that the GPEs are enabled before the _WAK
1972 is executed. Thomas Renninger.
1974 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
1976 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
1978 determine whether the system is rebooting or resuming. Matthew Garrett.
1980 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
1982 match the ACPI specification requirement. Rafael Wysocki.
1984 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
1985 registers within the V5 FADT. This support adds two new files:
1986 hardware/hwesleep.c implements the support for the new registers. Moved
1988 sleep/wake external interfaces to hardware/hwxfsleep.c.
1991 Added a new OSL interface for ACPI table overrides,
1992 AcpiOsPhysicalTableOverride. This interface allows the host to override a
1993 table via a physical address, instead of the logical address required by
1994 AcpiOsTableOverride. This simplifies the host implementation. Initial
1995 implementation by Thomas Renninger. The ACPICA implementation creates a
1997 shared function for table overrides that attempts both a logical and a
2000 Expanded the OSL memory read/write interfaces to 64-bit data
2001 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
2002 transfer support for GAS register structures passed to AcpiRead and
2005 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
2007 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
2009 See the ACPICA reference for details. ACPICA BZ 942. This option removes
2011 10% of the code and 5% of the static data, and the following hardware
2013 features become unavailable:
2014 PM Event and Control registers
2015 SCI interrupt (and handler)
2017 General Purpose Events (GPEs)
2020 FACS table (Waking vectors and Global Lock)
2022 Updated the unix tarball directory structure to match the ACPICA git
2024 tree. This ensures that the generic unix makefiles work properly (in
2025 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
2028 Updated the return value of the _REV predefined method to integer value 5
2030 reflect ACPI 5.0 support.
2032 Moved the external ACPI PM timer interface prototypes to the public
2034 file where they belong.
2036 Example Code and Data Size: These are the sizes for the OS-independent
2037 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2039 version of the code includes the debug output trace mechanism and has a
2041 larger code and data size.
2044 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
2045 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
2047 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
2048 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
2051 2) iASL Compiler/Disassembler and Tools:
2053 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
2054 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
2055 incorrectly displayed.
2057 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
2060 ----------------------------------------
2061 11 January 2012. Summary of changes for version 20120111:
2064 1) ACPICA Core Subsystem:
2066 Implemented a new mechanism to allow host device drivers to check for
2068 range conflicts with ACPI Operation Regions. Both SystemMemory and
2070 address spaces are supported. A new external interface,
2071 AcpiCheckAddressRange,
2072 allows drivers to check an address range against the ACPI namespace. See
2074 ACPICA reference for additional details. Adds one new file,
2075 utilities/utaddress.c. Lin Ming, Bob Moore.
2077 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
2080 Status registers, update the ACPI 5.0 flags, and update internal data
2081 structures to handle an FADT larger than 256 bytes. The size of the ACPI
2085 Updated all ACPICA copyrights and signons to 2012. Added the 2012
2087 all module headers and signons, including the standard Linux header. This
2088 affects virtually every file in the ACPICA core subsystem, iASL compiler,
2090 all ACPICA utilities.
2092 Example Code and Data Size: These are the sizes for the OS-independent
2093 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2095 version of the code includes the debug output trace mechanism and has a
2097 larger code and data size.
2100 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
2101 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
2103 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
2104 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
2107 2) iASL Compiler/Disassembler and Tools:
2109 Disassembler: fixed a problem with the automatic resource tag generation
2110 support. Fixes a problem where the resource tags are inadvertently not
2111 constructed if the table being disassembled contains external references
2113 control methods. Moved the actual construction of the tags to after the
2115 namespace is constructed (after 2nd parse is invoked due to external
2117 method references.) ACPICA BZ 941.
2119 Table Compiler: Make all "generic" operators caseless. These are the
2121 like UINT8, String, etc. Making these caseless improves ease-of-use.
2125 ----------------------------------------
2126 23 November 2011. Summary of changes for version 20111123:
2128 0) ACPI 5.0 Support:
2130 This release contains full support for the ACPI 5.0 specification, as
2133 Reduced Hardware Support:
2134 -------------------------
2136 This support allows for ACPI systems without the usual ACPI hardware.
2138 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
2140 not attempt to initialize or use any of the usual ACPI hardware. Note,
2142 this flag is set, all of the following ACPI hardware is assumed to be not
2143 present and is not initialized or accessed:
2145 General Purpose Events (GPEs)
2146 Fixed Events (PM1a/PM1b and PM Control)
2147 Power Management Timer and Console Buttons (power/sleep)
2148 Real-time Clock Alarm
2150 System Control Interrupt (SCI)
2151 The FACS is assumed to be non-existent
2156 All new tables and updates to existing tables are fully supported in the
2157 ACPICA headers (for use by device drivers), the disassembler, and the
2159 Data Table Compiler. ACPI 5.0 defines these new tables:
2161 BGRT /* Boot Graphics Resource Table */
2162 DRTM /* Dynamic Root of Trust for Measurement table */
2163 FPDT /* Firmware Performance Data Table */
2164 GTDT /* Generic Timer Description Table */
2165 MPST /* Memory Power State Table */
2166 PCCT /* Platform Communications Channel Table */
2167 PMTT /* Platform Memory Topology Table */
2168 RASF /* RAS Feature table */
2170 Operation Regions/SpaceIDs:
2171 ---------------------------
2173 All new operation regions are fully supported by the iASL compiler, the
2174 disassembler, and the ACPICA runtime code (for dispatch to region
2176 The new operation region Space IDs are:
2181 Resource Descriptors:
2182 ---------------------
2184 All new ASL resource descriptors are fully supported by the iASL
2187 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
2189 all new predefined resource tags). New descriptors are:
2198 ASL/AML Operators, New and Modified:
2199 ------------------------------------
2201 One new operator is added, the Connection operator, which is used to
2203 a GeneralPurposeIo or GenericSerialBus resource descriptor with
2205 field objects within an operation region. Several new protocols are
2207 with the AccessAs operator. All are fully supported by the iASL compiler,
2208 disassembler, and runtime ACPICA AML interpreter:
2210 Connection // Declare Field Connection
2212 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
2213 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
2215 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
2216 RawDataBuffer // Data type for Vendor Data
2219 Predefined ASL/AML Objects:
2220 ---------------------------
2222 All new predefined objects/control-methods are supported by the iASL
2224 and the ACPICA runtime validation/repair (arguments and return values.)
2226 predefined names include the following:
2228 Standard Predefined Names (Objects or Control Methods):
2229 _AEI, _CLS, _CPC, _CWS, _DEP,
2230 _DLM, _EVT, _GCP, _CRT, _GWS,
2231 _HRV, _PRE, _PSE, _SRT, _SUB.
2233 Resource Tags (Names used to access individual fields within resource
2235 _DBT, _DPL, _DRS, _END, _FLC,
2236 _IOR, _LIN, _MOD, _PAR, _PHA,
2237 _PIN, _PPI, _POL, _RXL, _SLV,
2238 _SPE, _STB, _TXL, _VEN.
2240 ACPICA External Interfaces:
2241 ---------------------------
2243 Several new interfaces have been defined for use by ACPI-related device
2244 drivers and other host OS services:
2246 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
2248 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
2249 provided by the BIOS. They are intended to be used in conjunction with
2251 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
2252 mutual exclusion with the AML code/interpreter.
2254 AcpiGetEventResources: Returns the (formatted) resource descriptors as
2256 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
2258 resource descriptors associated with hardware-reduced platform events,
2260 to the AcpiGetCurrentResources interface.
2262 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
2263 operation regions, information about the Connection() object and any
2265 length information is passed to the region handler within the Context
2268 AcpiBufferToResource: This interface converts a raw AML buffer containing
2270 resource template or resource descriptor to the ACPI_RESOURCE internal
2272 suitable for use by device drivers. Can be used by an operation region
2274 to convert the Connection() buffer object into a ACPI_RESOURCE.
2276 Miscellaneous/Tools/TestSuites:
2277 -------------------------------
2279 Support for extended _HID names (Four alpha characters instead of three).
2280 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
2281 Support for ACPI 5.0 features in the ASLTS test suite.
2282 Fully updated documentation (ACPICA and iASL reference documents.)
2284 ACPI Table Definition Language:
2285 -------------------------------
2287 Support for this language was implemented and released as a subsystem of
2289 iASL compiler in 2010. (See the iASL compiler User Guide.)
2292 Non-ACPI 5.0 changes for this release:
2293 --------------------------------------
2295 1) ACPICA Core Subsystem:
2297 Fix a problem with operation region declarations where a failure can
2300 the region name and an argument that evaluates to an object (such as the
2301 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
2304 Do not abort an ACPI table load if an invalid space ID is found within.
2306 will be caught later if the offending method is executed. ACPICA BZ 925.
2308 Fixed an issue with the FFixedHW space ID where the ID was not always
2309 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
2311 Fixed a problem with the 32-bit generation of the unix-specific OSL
2312 (osunixxf.c). Lin Ming, ACPICA BZ 936.
2314 Several changes made to enable generation with the GCC 4.6 compiler.
2318 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
2320 field registers out-of-range.
2322 2) iASL Compiler/Disassembler and Tools:
2324 iASL: Implemented the __PATH__ operator, which returns the full pathname
2326 the current source file.
2328 AcpiHelp: Automatically display expanded keyword information for all ASL
2331 Debugger: Add "Template" command to disassemble/dump resource template
2334 Added a new master script to generate and execute the ASLTS test suite.
2335 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
2337 iASL: Fix problem with listing generation during processing of the
2339 operator where AML listing was disabled until the entire Switch block was
2342 iASL: Improve support for semicolon statement terminators. Fix "invalid
2343 character" message for some cases when the semicolon is used. Semicolons
2345 now allowed after every <Term> grammar element. ACPICA BZ 927.
2347 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
2350 Disassembler: Fix problem with disassembly of the DataTableRegion
2352 where an inadvertent "Unhandled deferred opcode" message could be
2355 3) Example Code and Data Size
2357 These are the sizes for the OS-independent acpica.lib produced by the
2358 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2359 includes the debug output trace mechanism and has a much larger code and
2364 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2365 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2367 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
2368 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
2370 ----------------------------------------
2371 22 September 2011. Summary of changes for version 20110922:
2375 Support for ACPI 5.0 in ACPICA has been underway for several months and
2377 be released at the same time that ACPI 5.0 is officially released.
2379 The ACPI 5.0 specification is on track for release in the next few
2382 1) ACPICA Core Subsystem:
2384 Fixed a problem where the maximum sleep time for the Sleep() operator was
2385 intended to be limited to two seconds, but was inadvertently limited to
2389 Linux and Unix makefiles: Added header file dependencies to ensure
2391 generation of ACPICA core code and utilities. Also simplified the
2393 considerably through the use of the vpath variable to specify search
2397 2) iASL Compiler/Disassembler and Tools:
2399 iASL: Implemented support to check the access length for all fields
2401 access named Resource Descriptor fields. For example, if a resource field
2403 defined to be two bits, a warning is issued if a CreateXxxxField() is
2405 with an incorrect bit length. This is implemented for all current
2407 descriptor names. ACPICA BZ 930.
2409 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
2413 iASL: Fixed a couple of issues associated with variable-length package
2414 objects. 1) properly handle constants like One, Ones, Zero -- do not make
2416 VAR_PACKAGE when these are used as a package length. 2) Allow the
2418 opcode (in addition to PACKAGE) when validating object types for
2422 iASL: Emit statistics for all output files (instead of just the ASL input
2424 AML output). Includes listings, hex files, etc.
2426 iASL: Added -G option to the table compiler to allow the compilation of
2428 ACPI tables. The only part of a table that is required is the standard
2433 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
2435 which also adds correct 64-bit support. Also, now all output filenames
2437 completely lower case.
2439 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
2440 loading table files. A warning is issued for any such tables. The only
2441 exception is an FADT. This also fixes a possible fault when attempting to
2443 non-AML tables. ACPICA BZ 932.
2445 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
2447 missing table terminator could cause a fault when using the -p option.
2449 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
2452 3) Example Code and Data Size
2454 These are the sizes for the OS-independent acpica.lib produced by the
2455 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2456 includes the debug output trace mechanism and has a much larger code and
2460 Previous Release (VC 9.0):
2461 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2462 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2463 Current Release (VC 9.0):
2464 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2465 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2468 ----------------------------------------
2469 23 June 2011. Summary of changes for version 20110623:
2471 1) ACPI CA Core Subsystem:
2473 Updated the predefined name repair mechanism to not attempt repair of a
2475 return object if a _PSS object is present. We can only sort the _TSS
2477 package if there is no _PSS within the same scope. This is because if
2480 present, the ACPI specification dictates that the _TSS Power Dissipation
2482 is to be ignored, and therefore some BIOSs leave garbage values in the
2484 Power field(s). In this case, it is best to just return the _TSS package
2486 is. Reported by, and fixed with assistance from Fenghua Yu.
2488 Added an option to globally disable the control method return value
2490 and repair. This runtime option can be used to disable return value
2493 this is causing a problem on a particular machine. Also added an option
2495 AcpiExec (-dr) to set this disable flag.
2497 All makefiles and project files: Major changes to improve generation of
2499 tools. ACPICA BZ 912:
2500 Reduce default optimization levels to improve compatibility
2501 For Linux, add strict-aliasing=0 for gcc 4
2502 Cleanup and simplify use of command line defines
2503 Cleanup multithread library support
2504 Improve usage messages
2506 Linux-specific header: update handling of THREAD_ID and pthread. For the
2508 bit case, improve casting to eliminate possible warnings, especially with
2512 Example Code and Data Size: These are the sizes for the OS-independent
2513 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2515 version of the code includes the debug output trace mechanism and has a
2517 larger code and data size.
2519 Previous Release (VC 9.0):
2520 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2521 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2522 Current Release (VC 9.0):
2523 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2524 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2526 2) iASL Compiler/Disassembler and Tools:
2528 With this release, a new utility named "acpihelp" has been added to the
2530 package. This utility summarizes the ACPI specification chapters for the
2532 and AML languages. It generates under Linux/Unix as well as Windows, and
2533 provides the following functionality:
2534 Find/display ASL operator(s) -- with description and syntax.
2535 Find/display ASL keyword(s) -- with exact spelling and descriptions.
2536 Find/display ACPI predefined name(s) -- with description, number
2537 of arguments, and the return value data type.
2538 Find/display AML opcode name(s) -- with opcode, arguments, and
2540 Decode/display AML opcode -- with opcode name, arguments, and
2543 Service Layers: Make multi-thread support configurable. Conditionally
2545 the multi-thread support so that threading libraries will not be linked
2548 necessary. The only tool that requires multi-thread support is AcpiExec.
2550 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
2552 Bison appear to want the interface to yyerror to be a const char * (or at
2553 least this is a problem when generating iASL on some systems.) ACPICA BZ
2557 Tools: Fix for systems where O_BINARY is not defined. Only used for
2559 versions of the tools.
2561 ----------------------------------------
2562 27 May 2011. Summary of changes for version 20110527:
2564 1) ACPI CA Core Subsystem:
2566 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
2568 signature. Now, only allow SSDT, OEMx, and a null signature. History:
2569 1) Originally, we checked the table signature for "SSDT" or "PSDT".
2570 (PSDT is now obsolete.)
2571 2) We added support for OEMx tables, signature "OEM" plus a fourth
2572 "don't care" character.
2573 3) Valid tables were encountered with a null signature, so we just
2574 gave up on validating the signature, (05/2008).
2575 4) We encountered non-AML tables such as the MADT, which caused
2576 interpreter errors and kernel faults. So now, we once again allow
2577 only SSDT, OEMx, and now, also a null signature. (05/2011).
2579 Added the missing _TDL predefined name to the global name list in order
2581 enable validation. Affects both the core ACPICA code and the iASL
2584 Example Code and Data Size: These are the sizes for the OS-independent
2585 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2587 version of the code includes the debug output trace mechanism and has a
2589 larger code and data size.
2591 Previous Release (VC 9.0):
2592 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
2593 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
2594 Current Release (VC 9.0):
2595 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2596 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2598 2) iASL Compiler/Disassembler and Tools:
2600 Debugger/AcpiExec: Implemented support for "complex" method arguments on
2602 debugger command line. This adds support beyond simple integers --
2604 Strings, Buffers, and Packages. Includes support for nested packages.
2605 Increased the default command line buffer size to accommodate these
2607 See the ACPICA reference for details and syntax. ACPICA BZ 917.
2609 Debugger/AcpiExec: Implemented support for "default" method arguments for
2611 Execute/Debug command. Now, the debugger will always invoke a control
2613 with the required number of arguments -- even if the command line
2615 none or insufficient arguments. It uses default integer values for any
2617 arguments. Also fixes a bug where only six method arguments maximum were
2618 supported instead of the required seven.
2620 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
2622 also return status in order to prevent buffer overruns. See the ACPICA
2623 reference for details and syntax. ACPICA BZ 921
2625 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
2626 makefiles to simplify support for the two different but similar parser
2627 generators, bison and yacc.
2629 Updated the generic unix makefile for gcc 4. The default gcc version is
2631 expected to be 4 or greater, since options specific to gcc 4 are used.
2633 ----------------------------------------
2634 13 April 2011. Summary of changes for version 20110413:
2636 1) ACPI CA Core Subsystem:
2638 Implemented support to execute a so-called "orphan" _REG method under the
2640 device. This change will force the execution of a _REG method underneath
2643 device even if there is no corresponding operation region of type
2644 EmbeddedControl. Fixes a problem seen on some machines and apparently is
2645 compatible with Windows behavior. ACPICA BZ 875.
2647 Added more predefined methods that are eligible for automatic NULL
2649 element removal. This change adds another group of predefined names to
2652 of names that can be repaired by having NULL package elements dynamically
2653 removed. This group are those methods that return a single variable-
2655 package containing simple data types such as integers, buffers, strings.
2657 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
2660 and _TZD. ACPICA BZ 914.
2662 Split and segregated all internal global lock functions to a new file,
2665 Updated internal address SpaceID for DataTable regions. Moved this
2668 id in preparation for ACPI 5.0 changes that will include some new space
2671 change should not affect user/host code.
2673 Example Code and Data Size: These are the sizes for the OS-independent
2675 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2677 the code includes the debug output trace mechanism and has a much larger
2682 Previous Release (VC 9.0):
2683 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
2684 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
2685 Current Release (VC 9.0):
2686 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
2687 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
2689 2) iASL Compiler/Disassembler and Tools:
2691 iASL/DTC: Major update for new grammar features. Allow generic data types
2693 custom ACPI tables. Field names are now optional. Any line can be split
2695 multiple lines using the continuation char (\). Large buffers now use
2697 continuation character(s) and no colon on the continuation lines. See the
2699 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
2702 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
2704 Since the parser stuffs a "zero" as the return value for these statements
2707 the underlying AML grammar), they were seen as "return with value" by the
2709 semantic checking. They are now seen correctly as "null" return
2712 iASL: Check if a_REG declaration has a corresponding Operation Region.
2714 check for each _REG to ensure that there is in fact a corresponding
2716 region declaration in the same scope. If not, the _REG method is not very
2718 since it probably won't be executed. ACPICA BZ 915.
2720 iASL/DTC: Finish support for expression evaluation. Added a new
2723 that implements c-style operator precedence and parenthesization. ACPICA
2727 Disassembler/DTC: Remove support for () and <> style comments in data
2730 that DTC has full expression support, we don't want to have comment
2733 start with a parentheses or a less-than symbol. Now, only the standard /*
2736 comments are supported, as well as the bracket [] comments.
2738 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
2740 headers in the acpidump file. Update the header validation to support
2742 tables. Problem introduced in previous AcpiXtract version in the change
2744 support "wrong checksum" error messages emitted by acpidump utility.
2746 iASL: Add a * option to generate all template files (as a synonym for
2750 "iasl -T *" or "iasl -T ALL".
2752 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
2754 abort the compiler on "fatal" errors, simply should abort the current
2756 This allows multiple compiles with a single (possibly wildcard) compiler
2759 ----------------------------------------
2760 16 March 2011. Summary of changes for version 20110316:
2762 1) ACPI CA Core Subsystem:
2764 Fixed a problem caused by a _PRW method appearing at the namespace root
2766 during the setup of wake GPEs. A fault could occur if a _PRW directly
2769 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
2771 Implemented support for "spurious" Global Lock interrupts. On some
2773 global lock interrupt can occur without the pending flag being set. Upon
2776 interrupt, we now ensure that a thread is actually waiting for the lock
2778 signaling GL availability. Rafael Wysocki, Bob Moore.
2780 Example Code and Data Size: These are the sizes for the OS-independent
2782 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2784 the code includes the debug output trace mechanism and has a much larger
2789 Previous Release (VC 9.0):
2790 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2791 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2792 Current Release (VC 9.0):
2793 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
2794 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
2796 2) iASL Compiler/Disassembler and Tools:
2798 Implemented full support for the "SLIC" ACPI table. Includes support in
2800 header files, disassembler, table compiler, and template generator. Bob
2804 AcpiXtract: Correctly handle embedded comments and messages from
2806 Apparently some or all versions of acpidump will occasionally emit a
2809 "Wrong checksum", etc., into the dump file. This was causing problems for
2810 AcpiXtract. ACPICA BZ 905.
2812 iASL: Fix the Linux makefile by removing an inadvertent double file
2816 AcpiExec: Update installation of operation region handlers. Install one
2818 for a user-defined address space. This is used by the ASL test suite
2821 ----------------------------------------
2822 11 February 2011. Summary of changes for version 20110211:
2824 1) ACPI CA Core Subsystem:
2826 Added a mechanism to defer _REG methods for some early-installed
2828 Most user handlers should be installed before call to
2829 AcpiEnableSubsystem.
2830 However, Event handlers and region handlers should be installed after
2831 AcpiInitializeObjects. Override handlers for the "default" regions should
2833 installed early, however. This change executes all _REG methods for the
2834 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
2835 chicken/egg issues between them. ACPICA BZ 848.
2837 Implemented an optimization for GPE detection. This optimization will
2839 ignore GPE registers that contain no enabled GPEs -- there is no need to
2840 read the register since this information is available internally. This
2841 becomes more important on machines with a large GPE space. ACPICA
2843 884. Lin Ming. Suggestion from Joe Liu.
2845 Removed all use of the highly unreliable FADT revision field. The
2847 number in the FADT has been found to be completely unreliable and cannot
2849 trusted. Only the actual table length can be used to infer the version.
2851 change updates the ACPICA core and the disassembler so that both no
2853 even look at the FADT version and instead depend solely upon the FADT
2856 Fix an unresolved name issue for the no-debug and no-error-message source
2857 generation cases. The _AcpiModuleName was left undefined in these cases,
2859 it is actually needed as a parameter to some interfaces. Define
2860 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
2862 Split several large files (makefiles and project files updated)
2863 utglobal.c -> utdecode.c
2864 dbcomds.c -> dbmethod.c dbnames.c
2865 dsopcode.c -> dsargs.c dscontrol.c
2866 dsload.c -> dsload2.c
2867 aslanalyze.c -> aslbtypes.c aslwalks.c
2869 Example Code and Data Size: These are the sizes for the OS-independent
2870 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2871 debug version of the code includes the debug output trace mechanism and
2873 a much larger code and data size.
2875 Previous Release (VC 9.0):
2876 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2877 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2878 Current Release (VC 9.0):
2879 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2880 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2882 2) iASL Compiler/Disassembler and Tools:
2884 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
2885 These are useful C-style macros with the standard definitions. ACPICA
2888 iASL/DTC: Added support for integer expressions and labels. Support for
2890 expressions for all integer fields in all ACPI tables. Support for labels
2892 "generic" portions of tables such as UEFI. See the iASL reference manual.
2894 Debugger: Added a command to display the status of global handlers. The
2895 "handlers" command will display op region, fixed event, and miscellaneous
2896 global handlers. installation status -- and for op regions, whether
2898 or user-installed handler will be used.
2900 iASL: Warn if reserved method incorrectly returns a value. Many
2902 names are defined such that they do not return a value. If implemented as
2904 method, issue a warning if such a name explicitly returns a value. ACPICA
2907 iASL: Added detection of GPE method name conflicts. Detects a conflict
2909 there are two GPE methods of the form _Lxy and _Exy in the same scope.
2911 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2913 iASL/DTC: Fixed a couple input scanner issues with comments and line
2914 numbers. Comment remover could get confused and miss a comment ending.
2916 a problem with line counter maintenance.
2918 iASL/DTC: Reduced the severity of some errors from fatal to error. There
2920 no need to abort on simple errors within a field definition.
2922 Debugger: Simplified the output of the help command. All help output now
2924 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2926 ----------------------------------------
2927 12 January 2011. Summary of changes for version 20110112:
2929 1) ACPI CA Core Subsystem:
2931 Fixed a race condition between method execution and namespace walks that
2933 possibly cause a fault. The problem was apparently introduced in version
2934 20100528 as a result of a performance optimization that reduces the
2937 namespace walks upon method exit by using the delete_namespace_subtree
2938 function instead of the delete_namespace_by_owner function used
2940 Bug is a missing namespace lock in the delete_namespace_subtree function.
2941 dana.myers@oracle.com
2943 Fixed several issues and a possible fault with the automatic "serialized"
2944 method support. History: This support changes a method to "serialized" on
2946 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
2947 possibility that it cannot handle reentrancy. This fix repairs a couple
2949 issues seen in the field, especially on machines with many cores:
2951 1) Delete method children only upon the exit of the last thread,
2952 so as to not delete objects out from under other running threads
2953 (and possibly causing a fault.)
2954 2) Set the "serialized" bit for the method only upon the exit of the
2955 Last thread, so as to not cause deadlock when running threads
2957 3) Cleanup the use of the AML "MethodFlags" and internal method flags
2958 so that there is no longer any confusion between the two.
2960 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2962 Debugger: Now lock the namespace for duration of a namespace dump.
2964 issues if the namespace is changing dynamically underneath the debugger.
2965 Especially affects temporary namespace nodes, since the debugger displays
2968 Updated the ordering of include files. The ACPICA headers should appear
2969 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
2971 any necessary compiler-specific defines, etc. Affects the ACPI-related
2975 Updated all ACPICA copyrights and signons to 2011. Added the 2011
2977 to all module headers and signons, including the Linux header. This
2979 virtually every file in the ACPICA core subsystem, iASL compiler, and all
2982 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
2983 project files for VC++ 6.0 are now obsolete. New project files can be
2985 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
2988 Example Code and Data Size: These are the sizes for the OS-independent
2989 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2990 debug version of the code includes the debug output trace mechanism and
2992 much larger code and data size.
2994 Previous Release (VC 6.0):
2995 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
2996 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
2997 Current Release (VC 9.0):
2998 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2999 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
3001 2) iASL Compiler/Disassembler and Tools:
3003 iASL: Added generic data types to the Data Table compiler. Add "generic"
3005 types such as UINT32, String, Unicode, etc., to simplify the generation
3007 platform-defined tables such as UEFI. Lin Ming.
3009 iASL: Added listing support for the Data Table Compiler. Adds listing
3011 (-l) to display actual binary output for each line of input code.
3013 ----------------------------------------
3014 09 December 2010. Summary of changes for version 20101209:
3016 1) ACPI CA Core Subsystem:
3018 Completed the major overhaul of the GPE support code that was begun in
3020 2010. Major features include: removal of _PRW execution in ACPICA (host
3021 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
3022 changes to existing interfaces, simplification of GPE handler operation,
3024 a handful of new interfaces:
3030 One new file, evxfgpe.c to consolidate all external GPE interfaces.
3032 See the ACPICA Programmer Reference for full details and programming
3033 information. See the new section 4.4 "General Purpose Event (GPE)
3035 for a full overview, and section 8.7 "ACPI General Purpose Event
3037 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
3039 Bob Moore, Rafael Wysocki.
3041 Implemented a new GPE feature for Windows compatibility, the "Implicit
3043 GPE Notify". This feature will automatically issue a Notify(2) on a
3045 when a Wake GPE is received if there is no corresponding GPE method or
3046 handler. ACPICA BZ 870.
3048 Fixed a problem with the Scope() operator during table parse and load
3050 During load phase (table load or method execution), the scope operator
3052 not enter the target into the namespace. Instead, it should open a new
3054 at the target location. Linux BZ 19462, ACPICA BZ 882.
3056 Example Code and Data Size: These are the sizes for the OS-independent
3057 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3058 debug version of the code includes the debug output trace mechanism and
3060 much larger code and data size.
3063 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
3064 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
3066 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3067 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3069 2) iASL Compiler/Disassembler and Tools:
3071 iASL: Relax the alphanumeric restriction on _CID strings. These strings
3073 "bus-specific" per the ACPI specification, and therefore any characters
3075 acceptable. The only checks that can be performed are for a null string
3077 perhaps for a leading asterisk. ACPICA BZ 886.
3079 iASL: Fixed a problem where a syntax error that caused a premature EOF
3080 condition on the source file emitted a very confusing error message. The
3081 premature EOF is now detected correctly. ACPICA BZ 891.
3083 Disassembler: Decode the AccessSize within a Generic Address Structure
3085 access, word access, etc.) Note, this field does not allow arbitrary bit
3086 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
3088 New: AcpiNames utility - Example namespace dump utility. Shows an example
3090 ACPICA configuration for a minimal namespace dump utility. Uses table and
3091 namespace managers, but no AML interpreter. Does not add any
3093 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
3094 partition and configure ACPICA. ACPICA BZ 883.
3096 AML Debugger: Increased the debugger buffer size for method return
3098 Was 4K, increased to 16K. Also enhanced error messages for debugger
3100 execution, including the buffer overflow case.
3102 ----------------------------------------
3103 13 October 2010. Summary of changes for version 20101013:
3105 1) ACPI CA Core Subsystem:
3107 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
3109 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
3110 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
3112 Changed the type of the predefined namespace object _TZ from ThermalZone
3114 Device. This was found to be confusing to the host software that
3116 the various thermal zones, since _TZ is not really a ThermalZone.
3119 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
3122 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
3123 string is "Windows 2006 SP2".
3125 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
3127 code automatically repairs _HID-related strings, this type of code is no
3128 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
3131 Example Code and Data Size: These are the sizes for the OS-independent
3132 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3133 debug version of the code includes the debug output trace mechanism and
3135 much larger code and data size.
3138 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3139 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3141 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3142 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3144 2) iASL Compiler/Disassembler and Tools:
3146 iASL: Implemented additional compile-time validation for _HID strings.
3148 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
3151 the string must be exactly seven or eight characters. For both _HID and
3153 strings, all characters must be alphanumeric. ACPICA BZ 874.
3155 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
3156 descriptors that are mostly or all zeros, with the expectation that they
3158 be filled in at runtime. iASL now allows this as long as there is a
3160 tag" (name) associated with the descriptor, which gives the ASL a handle
3161 needed to modify the descriptor. ACPICA BZ 873.
3163 Added single-thread support to the generic Unix application OSL.
3165 for iASL support, this change removes the use of semaphores in the
3167 threaded ACPICA tools/applications - increasing performance. The
3168 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
3169 option. ACPICA BZ 879.
3171 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
3173 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
3175 iASL: Moved all compiler messages to a new file, aslmessages.h.
3177 ----------------------------------------
3178 15 September 2010. Summary of changes for version 20100915:
3180 1) ACPI CA Core Subsystem:
3182 Removed the AcpiOsDerivePciId OSL interface. The various host
3184 of this function were not OS-dependent and are now obsolete and can be
3185 removed from all host OSLs. This function has been replaced by
3186 AcpiHwDerivePciId, which is now part of the ACPICA core code.
3187 AcpiHwDerivePciId has been implemented without recursion. Adds one new
3188 module, hwpci.c. ACPICA BZ 857.
3190 Implemented a dynamic repair for _HID and _CID strings. The following
3191 problems are now repaired at runtime: 1) Remove a leading asterisk in the
3192 string, and 2) the entire string is uppercased. Both repairs are in
3193 accordance with the ACPI specification and will simplify host driver
3197 The ACPI_THREAD_ID type is no longer configurable, internally it is now
3198 always UINT64. This simplifies the ACPICA code, especially any printf
3200 UINT64 is the only common data type for all thread_id types across all
3201 operating systems. It is now up to the host OSL to cast the native
3203 type to UINT64 before returning the value to ACPICA (via
3205 Lin Ming, Bob Moore.
3207 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
3209 keyword is not standard across compilers, and this type allows inline to
3211 configured on a per-compiler basis. Lin Ming.
3213 Made the system global AcpiGbl_SystemAwakeAndRunning publically
3215 Added an extern for this boolean in acpixf.h. Some hosts utilize this
3217 during suspend/restore operations. ACPICA BZ 869.
3219 All code that implements error/warning messages with the "ACPI:" prefix
3221 been moved to a new module, utxferror.c.
3223 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
3225 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
3227 Example Code and Data Size: These are the sizes for the OS-independent
3228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3229 debug version of the code includes the debug output trace mechanism and
3231 much larger code and data size.
3234 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
3235 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
3237 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3238 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3240 2) iASL Compiler/Disassembler and Tools:
3242 iASL/Disassembler: Write ACPI errors to stderr instead of the output
3244 This keeps the output files free of random error messages that may
3246 from within the namespace/interpreter code. Used this opportunity to
3248 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
3249 866. Lin Ming, Bob Moore.
3251 Tools: update some printfs for ansi warnings on size_t. Handle width
3253 of size_t on 32-bit versus 64-bit generations. Lin Ming.
3255 ----------------------------------------
3256 06 August 2010. Summary of changes for version 20100806:
3258 1) ACPI CA Core Subsystem:
3260 Designed and implemented a new host interface to the _OSI support code.
3262 will allow the host to dynamically add or remove multiple _OSI strings,
3264 well as install an optional handler that is called for each _OSI
3266 Also added a new AML debugger command, 'osi' to display and modify the
3268 _OSI string table, and test support in the AcpiExec utility. See the
3270 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
3272 AcpiInstallInterface - Add an _OSI string.
3273 AcpiRemoveInterface - Delete an _OSI string.
3274 AcpiInstallInterfaceHandler - Install optional _OSI handler.
3276 AcpiOsValidateInterface - no longer used.
3278 source/components/utilities/utosi.c
3280 Re-introduced the support to enable multi-byte transfers for Embedded
3281 Controller (EC) operation regions. A reported problem was found to be a
3283 in the host OS, not in the multi-byte support. Previously, the maximum
3285 size passed to the EC operation region handler was a single byte. There
3287 often EC Fields larger than one byte that need to be transferred, and it
3289 useful for the EC driver to lock these as a single transaction. This
3291 enables single transfers larger than 8 bits. This effectively changes the
3292 access to the EC space from ByteAcc to AnyAcc, and will probably require
3293 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
3295 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
3297 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
3298 prototype in acpiosxf.h had the output value pointer as a (void *).
3299 It should be a (UINT64 *). This may affect some host OSL code.
3301 Fixed a couple problems with the recently modified Linux makefiles for
3303 and AcpiExec. These new makefiles place the generated object files in the
3304 local directory so that there can be no collisions between the files that
3306 shared between them that are compiled with different options.
3308 Example Code and Data Size: These are the sizes for the OS-independent
3309 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3310 debug version of the code includes the debug output trace mechanism and
3312 much larger code and data size.
3315 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3316 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
3318 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
3319 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
3321 2) iASL Compiler/Disassembler and Tools:
3323 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
3325 namespace from and disassemble an entire group of AML files. Useful for
3326 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
3328 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
3330 iASL: Allow multiple invocations of -e option. This change allows
3332 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
3336 ----------------------------------------
3337 02 July 2010. Summary of changes for version 20100702:
3339 1) ACPI CA Core Subsystem:
3341 Implemented several updates to the recently added GPE reference count
3342 support. The model for "wake" GPEs is changing to give the host OS
3344 control of these GPEs. Eventually, the ACPICA core will not execute any
3346 methods, since the host already must execute them. Also, additional
3348 were made to help ensure that the reference counts are kept in proper
3349 synchronization with reality. Rafael J. Wysocki.
3351 1) Ensure that GPEs are not enabled twice during initialization.
3352 2) Ensure that GPE enable masks stay in sync with the reference count.
3353 3) Do not inadvertently enable GPEs when writing GPE registers.
3354 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
3355 interface. This interface will set or clear individual GPEs for wakeup.
3356 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
3358 are now used for "runtime" GPEs only.
3360 Changed the behavior of the GPE install/remove handler interfaces. The
3363 no longer disabled during this process, as it was found to cause problems
3365 some machines. Rafael J. Wysocki.
3367 Reverted a change introduced in version 20100528 to enable Embedded
3368 Controller multi-byte transfers. This change was found to cause problems
3370 Index Fields and possibly Bank Fields. It will be reintroduced when these
3371 problems have been resolved.
3373 Fixed a problem with references to Alias objects within Package Objects.
3375 reference to an Alias within the definition of a Package was not always
3376 resolved properly. Aliases to objects like Processors, Thermal zones,
3378 were resolved to the actual object instead of a reference to the object
3381 should be. Package objects are only allowed to contain integer, string,
3382 buffer, package, and reference objects. Redhat bugzilla 608648.
3384 Example Code and Data Size: These are the sizes for the OS-independent
3385 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3386 debug version of the code includes the debug output trace mechanism and
3388 much larger code and data size.
3391 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3392 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3394 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3395 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
3397 2) iASL Compiler/Disassembler and Tools:
3399 iASL: Implemented a new compiler subsystem to allow definition and
3400 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
3402 are called "ACPI Data Tables", and the new compiler is the "Data Table
3403 Compiler". This compiler is intended to simplify the existing error-prone
3404 process of creating these tables for the BIOS, as well as allowing the
3405 disassembly, modification, recompilation, and override of existing ACPI
3407 tables. See the iASL User Guide for detailed information.
3409 iASL: Implemented a new Template Generator option in support of the new
3411 Table Compiler. This option will create examples of all known ACPI tables
3412 that can be used as the basis for table development. See the iASL
3413 documentation and the -T option.
3415 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
3418 Updated the Linux makefiles for iASL and AcpiExec to place the generated
3419 object files in the local directory so that there can be no collisions
3420 between the shared files between them that are generated with different
3423 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
3425 the #define __APPLE__ to enable this support.
3427 ----------------------------------------
3428 28 May 2010. Summary of changes for version 20100528:
3430 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
3431 available at www.acpi.info. This is primarily an errata release.
3433 1) ACPI CA Core Subsystem:
3435 Undefined ACPI tables: We are looking for the definitions for the
3437 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
3439 Implemented support to enable multi-byte transfers for Embedded
3441 (EC) operation regions. Previously, the maximum data size passed to the
3443 operation region handler was a single byte. There are often EC Fields
3445 than one byte that need to be transferred, and it is useful for the EC
3447 to lock these as a single transaction. This change enables single
3449 larger than 8 bits. This effectively changes the access to the EC space
3451 ByteAcc to AnyAcc, and will probably require changes to the host OS
3453 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
3455 transfers. Alexey Starikovskiy, Lin Ming
3457 Implemented a performance enhancement for namespace search and access.
3459 change enhances the performance of namespace searches and walks by adding
3461 backpointer to the parent in each namespace node. On large namespaces,
3463 change can improve overall ACPI performance by up to 9X. Adding a pointer
3465 each namespace node increases the overall size of the internal namespace
3467 about 5%, since each namespace entry usually consists of both a namespace
3468 node and an ACPI operand object. However, this is the first growth of the
3469 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
3471 Implemented a performance optimization that reduces the number of
3473 walks. On control method exit, only walk the namespace if the method is
3475 to have created namespace objects outside of its local scope. Previously,
3477 entire namespace was traversed on each control method exit. This change
3479 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
3482 Added support to truncate I/O addresses to 16 bits for Windows
3484 Some ASL code has been seen in the field that inadvertently has bits set
3485 above bit 15. This feature is optional and is enabled if the BIOS
3487 any Windows OSI strings. It can also be enabled by the host OS. Matthew
3490 Added support to limit the maximum time for the ASL Sleep() operator. To
3491 prevent accidental deep sleeps, limit the maximum time that Sleep() will
3492 actually sleep. Configurable, the default maximum is two seconds. ACPICA
3495 Added run-time validation support for the _WDG and_WED Microsoft
3497 methods. These objects are defined by "Windows Instrumentation", and are
3499 part of the ACPI spec. ACPICA BZ 860.
3501 Expanded all statistic counters used during namespace and device
3502 initialization from 16 to 32 bits in order to support very large
3505 Replaced all instances of %d in printf format specifiers with %u since
3507 all integers in ACPICA are unsigned.
3509 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
3513 Example Code and Data Size: These are the sizes for the OS-independent
3514 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3515 debug version of the code includes the debug output trace mechanism and
3517 much larger code and data size.
3520 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3521 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3523 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3524 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3526 2) iASL Compiler/Disassembler and Tools:
3528 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
3529 methods. These objects are defined by "Windows Instrumentation", and are
3531 part of the ACPI spec. ACPICA BZ 860.
3533 AcpiExec: added option to disable the memory tracking mechanism. The -dt
3534 option will disable the tracking mechanism, which improves performance
3537 AcpiExec: Restructured the command line options into -d (disable) and -e
3540 ----------------------------------------
3541 28 April 2010. Summary of changes for version 20100428:
3543 1) ACPI CA Core Subsystem:
3545 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
3546 including FADT-based and GPE Block Devices, execute any _PRW methods in
3548 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
3549 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
3550 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
3551 Devices. Provides compatibility with other ACPI implementations. Two new
3552 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
3555 Fixed a regression introduced in version 20100331 within the table
3557 where initial table loading could fail. This was introduced in the fix
3559 AcpiReallocateRootTable. Also, renamed some of fields in the table
3561 data structures to clarify their meaning and use.
3563 Fixed a possible allocation overrun during internal object copy in
3564 AcpiUtCopySimpleObject. The original code did not correctly handle the
3566 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
3569 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
3570 possible access beyond end-of-allocation. Also, now fully validate
3572 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
3574 Example Code and Data Size: These are the sizes for the OS-independent
3575 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3576 debug version of the code includes the debug output trace mechanism and
3578 much larger code and data size.
3581 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
3582 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
3584 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3585 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3587 2) iASL Compiler/Disassembler and Tools:
3589 iASL: Implemented Min/Max/Len/Gran validation for address resource
3590 descriptors. This change implements validation for the address fields
3592 are common to all address-type resource descriptors. These checks are
3593 implemented: Checks for valid Min/Max, length within the Min/Max window,
3594 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
3596 table 6-40 in the ACPI 4.0a specification. Also split the large
3598 and aslrestype2.c files into five new files. ACPICA BZ 840.
3600 iASL: Added support for the _Wxx predefined names. This support was
3602 and these names were not recognized by the compiler as valid predefined
3603 names. ACPICA BZ 851.
3605 iASL: Added an error for all predefined names that are defined to return
3607 value and thus must be implemented as Control Methods. These include all
3609 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
3610 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
3612 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
3614 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
3616 dynamically loaded via the Load() operator. Also cleaned up output for
3619 ta and -tc options. ACPICA BZ 853.
3621 Tests: Added a new file with examples of extended iASL error checking.
3622 Demonstrates the advanced error checking ability of the iASL compiler.
3623 Available at tests/misc/badcode.asl.
3625 ----------------------------------------
3626 31 March 2010. Summary of changes for version 20100331:
3628 1) ACPI CA Core Subsystem:
3630 Completed a major update for the GPE support in order to improve support
3632 shared GPEs and to simplify both host OS and ACPICA code. Added a
3634 count mechanism to support shared GPEs that require multiple device
3636 Several external interfaces have changed. One external interface has been
3637 removed. One new external interface was added. Most of the GPE external
3638 interfaces now use the GPE spinlock instead of the events mutex (and the
3639 Flags parameter for many GPE interfaces has been removed.) See the
3641 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
3643 Wysocki. ACPICA BZ 831.
3646 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
3652 Implemented write support for DataTable operation regions. These regions
3654 defined via the DataTableRegion() operator. Previously, only read support
3656 implemented. The ACPI specification allows DataTableRegions to be
3660 Implemented a new subsystem option to force a copy of the DSDT to local
3661 memory. Optionally copy the entire DSDT to local memory (instead of
3663 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
3665 the original DSDT, creating the need for this option. Default is FALSE,
3669 Implemented detection of a corrupted or replaced DSDT. This change adds
3670 support to detect a DSDT that has been corrupted and/or replaced from
3672 the OS (by firmware). This is typically catastrophic for the system, but
3674 been seen on some machines. Once this problem has been detected, the DSDT
3675 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
3677 Fixed two problems with AcpiReallocateRootTable during the root table
3679 When copying the root table to the new allocation, the length used was
3680 incorrect. The new size was used instead of the current table size,
3682 too much data was copied. Also, the count of available slots for ACPI
3684 was not set correctly. Alexey Starikovskiy, Bob Moore.
3686 Example Code and Data Size: These are the sizes for the OS-independent
3687 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3688 debug version of the code includes the debug output trace mechanism and
3690 much larger code and data size.
3693 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
3694 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
3696 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
3697 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
3699 2) iASL Compiler/Disassembler and Tools:
3701 iASL: Implement limited typechecking for values returned from predefined
3702 control methods. The type of any returned static (unnamed) object is now
3703 validated. For example, Return(1). ACPICA BZ 786.
3705 iASL: Fixed a predefined name object verification regression. Fixes a
3707 introduced in version 20100304. An error is incorrectly generated if a
3708 predefined name is declared as a static named object with a value defined
3709 using the keywords "Zero", "One", or "Ones". Lin Ming.
3711 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
3713 reducing the requested registry access rights. ACPICA BZ 842.
3715 Disassembler: fixed a possible fault when generating External()
3717 Introduced in commit ae7d6fd: Properly handle externals with parent-
3719 (carat). Fixes a string length allocation calculation. Lin Ming.
3721 ----------------------------------------
3722 04 March 2010. Summary of changes for version 20100304:
3724 1) ACPI CA Core Subsystem:
3726 Fixed a possible problem with the AML Mutex handling function
3727 AcpiExReleaseMutex where the function could fault under the very rare
3728 condition when the interpreter has blocked, the interpreter lock is
3730 the interpreter is then reentered via the same thread, and attempts to
3731 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
3735 Implemented additional configuration support for the AML "Debug Object".
3736 Output from the debug object can now be enabled via a global variable,
3737 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
3739 This debug output is now available in the release version of ACPICA
3741 of just the debug version. Also, the entire debug output module can now
3743 configured out of the ACPICA build if desired. One new file added,
3744 executer/exdebug.c. Lin Ming, Bob Moore.
3746 Added header support for the ACPI MCHI table (Management Controller Host
3747 Interface Table). This table was added in ACPI 4.0, but the defining
3749 has only recently become available.
3751 Standardized output of integer values for ACPICA warnings/errors. Always
3753 0x prefix for hex output, always use %u for unsigned integer decimal
3755 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
3757 invocations.) These invocations were converted from the original
3758 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
3760 Example Code and Data Size: These are the sizes for the OS-independent
3761 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3762 debug version of the code includes the debug output trace mechanism and
3764 much larger code and data size.
3767 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
3768 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
3770 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
3771 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
3773 2) iASL Compiler/Disassembler and Tools:
3775 iASL: Implemented typechecking support for static (non-control method)
3776 predefined named objects that are declared with the Name() operator. For
3777 example, the type of this object is now validated to be of type Integer:
3778 Name(_BBN, 1). This change migrates the compiler to using the core
3780 name table instead of maintaining a local version. Added a new file,
3781 aslpredef.c. ACPICA BZ 832.
3783 Disassembler: Added support for the ACPI 4.0 MCHI table.
3785 ----------------------------------------
3786 21 January 2010. Summary of changes for version 20100121:
3788 1) ACPI CA Core Subsystem:
3790 Added the 2010 copyright to all module headers and signons. This affects
3791 virtually every file in the ACPICA core subsystem, the iASL compiler, the
3792 tools/utilities, and the test suites.
3794 Implemented a change to the AcpiGetDevices interface to eliminate
3796 invocations of the _STA method. In the case where a specific _HID is
3797 requested, do not run _STA until a _HID match is found. This eliminates
3798 potentially dozens of _STA calls during a search for a particular
3800 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
3802 Implemented an additional repair for predefined method return values.
3804 to repair unexpected NULL elements within returned Package objects.
3807 Integer of value zero, a NULL String, or a zero-length Buffer as
3809 ACPICA BZ 818. Lin Ming, Bob Moore.
3811 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
3813 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
3815 64-bit AML integers). It is now obsolete and this change removes it from
3817 ACPICA code base, replaced by UINT64. The original typedef has been
3819 for now for compatibility with existing device driver code. ACPICA BZ
3822 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
3824 the parse tree object.
3826 Added additional warning options for the gcc-4 generation. Updated the
3828 accordingly. This includes some code restructuring to eliminate
3830 code, elimination of some gotos, elimination of unused return values,
3832 additional casting, and removal of redundant declarations.
3834 Example Code and Data Size: These are the sizes for the OS-independent
3835 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3836 debug version of the code includes the debug output trace mechanism and
3838 much larger code and data size.
3841 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
3842 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
3844 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
3845 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
3847 2) iASL Compiler/Disassembler and Tools:
3849 No functional changes for this release.
3851 ----------------------------------------
3852 14 December 2009. Summary of changes for version 20091214:
3854 1) ACPI CA Core Subsystem:
3856 Enhanced automatic data type conversions for predefined name repairs.
3858 change expands the automatic repairs/conversions for predefined name
3860 values to make Integers, Strings, and Buffers fully interchangeable.
3863 Buffer can be converted to a Package of Integers if necessary. The
3865 module was completely restructured. Lin Ming, Bob Moore.
3867 Implemented automatic removal of null package elements during predefined
3869 repairs. This change will automatically remove embedded and trailing NULL
3870 package elements from returned package objects that are defined to
3873 variable number of sub-packages. The driver is then presented with a
3875 with no null elements to deal with. ACPICA BZ 819.
3877 Implemented a repair for the predefined _FDE and _GTM names. The expected
3878 return value for both names is a Buffer of 5 DWORDs. This repair fixes
3880 possible problems (both seen in the field), where a package of integers
3882 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
3885 Implemented additional module-level code support. This change will
3887 execute module-level code that is not at the root of the namespace (under
3889 Device object, etc.). Now executes the code within the current scope
3891 of the root. ACPICA BZ 762. Lin Ming.
3893 Fixed possible mutex acquisition errors when running _REG methods. Fixes
3895 problem where mutex errors can occur when running a _REG method that is
3897 the same scope as a method-defined operation region or an operation
3899 under a module-level IF block. This type of code is rare, so the problem
3901 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
3903 Fixed a possible memory leak during module-level code execution. An
3905 could be leaked for each block of executed module-level code if the
3906 interpreter slack mode is enabled This change deletes any implicitly
3908 object from the module-level code block. Lin Ming.
3910 Removed messages for successful predefined repair(s). The repair
3912 was considered too wordy. Now, messages are only unconditionally emitted
3914 the return object cannot be repaired. Existing messages for successful
3915 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
3918 Example Code and Data Size: These are the sizes for the OS-independent
3919 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3920 debug version of the code includes the debug output trace mechanism and
3922 much larger code and data size.
3925 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
3926 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
3928 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
3929 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
3931 2) iASL Compiler/Disassembler and Tools:
3933 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
3935 were no longer automatically removed at the termination of the compile.
3937 acpiexec: Implemented the -f option to specify default region fill value.
3938 This option specifies the value used to initialize buffers that simulate
3939 operation regions. Default value is zero. Useful for debugging problems
3941 depend on a specific initial value for a region or field.
3943 ----------------------------------------
3944 12 November 2009. Summary of changes for version 20091112:
3946 1) ACPI CA Core Subsystem:
3948 Implemented a post-order callback to AcpiWalkNamespace. The existing
3949 interface only has a pre-order callback. This change adds an additional
3950 parameter for a post-order callback which will be more useful for bus
3952 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3954 Modified the behavior of the operation region memory mapping cache for
3955 SystemMemory. Ensure that the memory mappings created for operation
3957 do not cross 4K page boundaries. Crossing a page boundary while mapping
3958 regions can cause kernel warnings on some hosts if the pages have
3960 attributes. Such regions are probably BIOS bugs, and this is the
3962 Linux BZ 14445. Lin Ming.
3964 Implemented an automatic repair for predefined methods that must return
3965 sorted lists. This change will repair (by sorting) packages returned by
3967 _PSS, and _TSS. Drivers can now assume that the packages are correctly
3969 and do not contain NULL package elements. Adds one new file,
3970 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3972 Fixed a possible fault during predefined name validation if a return
3974 object contains NULL elements. Also adds a warning if a NULL element is
3975 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
3977 include repair or removal of all such NULL elements where possible.
3979 Implemented additional module-level executable AML code support. This
3981 will execute module-level code that is not at the root of the namespace
3982 (under a Device object, etc.) at table load time. Module-level executable
3984 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3986 Implemented a new internal function to create Integer objects. This
3988 simplifies miscellaneous object creation code. ACPICA BZ 823.
3990 Reduced the severity of predefined repair messages, Warning to Info.
3992 the object was successfully repaired, a warning is too severe. Reduced to
3994 info message for now. These messages may eventually be changed to debug-
3998 Example Code and Data Size: These are the sizes for the OS-independent
3999 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4000 debug version of the code includes the debug output trace mechanism and
4002 much larger code and data size.
4005 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
4006 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
4008 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
4009 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
4011 2) iASL Compiler/Disassembler and Tools:
4013 iASL: Implemented Switch() with While(1) so that Break works correctly.
4015 change correctly implements the Switch operator with a surrounding
4017 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
4019 iASL: Added a message if a package initializer list is shorter than
4021 length. Adds a new remark for a Package() declaration if an initializer
4023 exists, but is shorter than the declared length of the package. Although
4024 technically legal, this is probably a coding error and it is seen in the
4025 field. ACPICA BZ 815. Lin Ming, Bob Moore.
4027 iASL: Fixed a problem where the compiler could fault after the maximum
4029 of errors was reached (200).
4031 acpixtract: Fixed a possible warning for pointer cast if the compiler
4033 level set very high.
4035 ----------------------------------------
4036 13 October 2009. Summary of changes for version 20091013:
4038 1) ACPI CA Core Subsystem:
4040 Fixed a problem where an Operation Region _REG method could be executed
4042 than once. If a custom address space handler is installed by the host
4044 the "initialize operation regions" phase of the ACPICA initialization,
4046 _REG methods for that address space could be executed twice. This change
4047 fixes the problem. ACPICA BZ 427. Lin Ming.
4049 Fixed a possible memory leak for the Scope() ASL operator. When the exact
4050 invocation of "Scope(\)" is executed (change scope to root), one internal
4051 operand object was leaked. Lin Ming.
4053 Implemented a run-time repair for the _MAT predefined method. If the _MAT
4054 return value is defined as a Field object in the AML, and the field
4055 size is less than or equal to the default width of an integer (32 or
4057 can incorrectly return an Integer instead of a Buffer. ACPICA now
4058 automatically repairs this problem. ACPICA BZ 810.
4060 Implemented a run-time repair for the _BIF and _BIX predefined methods.
4062 "OEM Information" field is often incorrectly returned as an Integer with
4063 value zero if the field is not supported by the platform. This is due to
4065 ambiguity in the ACPI specification. The field should always be a string.
4066 ACPICA now automatically repairs this problem by returning a NULL string
4067 within the returned Package. ACPICA BZ 807.
4069 Example Code and Data Size: These are the sizes for the OS-independent
4070 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4071 debug version of the code includes the debug output trace mechanism and
4073 much larger code and data size.
4076 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
4077 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
4079 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
4080 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
4082 2) iASL Compiler/Disassembler and Tools:
4084 Disassembler: Fixed a problem where references to external symbols that
4085 contained one or more parent-prefixes (carats) were not handled
4087 possibly causing a fault. ACPICA BZ 806. Lin Ming.
4089 Disassembler: Restructured the code so that all functions that handle
4090 external symbols are in a single module. One new file is added,
4093 AML Debugger: Added a max count argument for the Batch command (which
4094 executes multiple predefined methods within the namespace.)
4096 iASL: Updated the compiler documentation (User Reference.) Available at
4097 http://www.acpica.org/documentation/. ACPICA BZ 750.
4099 AcpiXtract: Updated for Lint and other formatting changes. Close all open
4102 ----------------------------------------
4103 03 September 2009. Summary of changes for version 20090903:
4105 1) ACPI CA Core Subsystem:
4107 For Windows Vista compatibility, added the automatic execution of an _INI
4108 method located at the namespace root (\_INI). This method is executed at
4109 table load time. This support is in addition to the automatic execution
4111 \_SB._INI. Lin Ming.
4113 Fixed a possible memory leak in the interpreter for AML package objects
4115 the package initializer list is longer than the defined size of the
4117 This apparently can only happen if the BIOS changes the package size on
4119 fly (seen in a _PSS object), as ASL compilers do not allow this. The
4120 interpreter will truncate the package to the defined size (and issue an
4122 message), but previously could leave the extra objects undeleted if they
4124 pre-created during the argument processing (such is the case if the
4126 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
4128 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
4129 This has been reported in the field. Previously, ACPICA would zero out
4131 buffer/string. Now, the operation is treated as a noop. Provides Windows
4132 compatibility. ACPICA BZ 803. Lin Ming.
4134 Removed an extraneous error message for ASL constructs of the form
4135 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
4137 are seen in many BIOSs and are once again treated as NOOPs and no error
4139 emitted when they are encountered. ACPICA BZ 785.
4141 Fixed an extraneous warning message if a _DSM reserved method returns a
4142 Package object. _DSM can return any type of object, so validation on the
4143 return type cannot be performed. ACPICA BZ 802.
4145 Example Code and Data Size: These are the sizes for the OS-independent
4146 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4147 debug version of the code includes the debug output trace mechanism and
4149 much larger code and data size.
4152 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
4153 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
4155 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
4156 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
4158 2) iASL Compiler/Disassembler and Tools:
4160 iASL: Fixed a problem with the use of the Alias operator and Resource
4161 Templates. The correct alias is now constructed and no error is emitted.
4164 iASL: Implemented the -I option to specify additional search directories
4166 include files. Allows multiple additional search paths for include files.
4167 Directories are searched in the order specified on the command line
4169 the local directory is searched.) ACPICA BZ 800.
4171 iASL: Fixed a problem where the full pathname for include files was not
4172 emitted for warnings/errors. This caused the IDE support to not work
4173 properly. ACPICA BZ 765.
4175 iASL: Implemented the -@ option to specify a Windows-style response file
4176 containing additional command line options. ACPICA BZ 801.
4178 AcpiExec: Added support to load multiple AML files simultaneously (such
4181 DSDT and multiple SSDTs). Also added support for wildcards within the AML
4182 pathname. These features allow all machine tables to be easily loaded and
4183 debugged together. ACPICA BZ 804.
4185 Disassembler: Added missing support for disassembly of HEST table Error
4189 ----------------------------------------
4190 30 July 2009. Summary of changes for version 20090730:
4192 The ACPI 4.0 implementation for ACPICA is complete with this release.
4194 1) ACPI CA Core Subsystem:
4196 ACPI 4.0: Added header file support for all new and changed ACPI tables.
4197 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
4199 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
4201 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
4203 have been some ACPI 4.0 changes to other existing tables. Split the large
4204 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
4206 ACPI 4.0: Implemented predefined name validation for all new names. There
4208 31 new names in ACPI 4.0. The predefined validation module was split into
4210 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
4212 Implemented support for so-called "module-level executable code". This is
4213 executable AML code that exists outside of any control method and is
4215 to be executed at table load time. Although illegal since ACPI 2.0, this
4217 of code still exists and is apparently still being created. Blocks of
4219 code are now detected and executed as intended. Currently, the code
4221 must exist under either an If, Else, or While construct; these are the
4222 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
4224 Implemented an automatic dynamic repair for predefined names that return
4225 nested Package objects. This applies to predefined names that are defined
4227 return a variable-length Package of sub-packages. If the number of sub-
4228 packages is one, BIOS code is occasionally seen that creates a simple
4230 package with no sub-packages. This code attempts to fix the problem by
4231 wrapping a new package object around the existing package. These methods
4233 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
4237 Fixed a regression introduced in 20090625 for the AcpiGetDevices
4239 The _HID/_CID matching was broken and no longer matched IDs correctly.
4243 Fixed a problem with AcpiReset where the reset would silently fail if the
4244 register was one of the protected I/O ports. AcpiReset now bypasses the
4246 validation mechanism. This may eventually be driven into the
4250 Fixed a regression related to the recent update of the AcpiRead/Write
4251 interfaces. A sleep/suspend could fail if the optional PM2 Control
4253 does not exist during an attempt to write the Bus Master Arbitration bit.
4254 (However, some hosts already delete the code that writes this bit, and
4256 code may in fact be obsolete at this date.) ACPICA BZ 799.
4258 Fixed a problem where AcpiTerminate could fault if inadvertently called
4260 in succession. ACPICA BZ 795.
4262 Example Code and Data Size: These are the sizes for the OS-independent
4263 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4264 debug version of the code includes the debug output trace mechanism and
4266 much larger code and data size.
4269 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
4270 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
4272 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
4273 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
4275 2) iASL Compiler/Disassembler and Tools:
4277 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
4278 changes to existing tables. ACPICA BZ 775.
4280 ----------------------------------------
4281 25 June 2009. Summary of changes for version 20090625:
4283 The ACPI 4.0 Specification was released on June 16 and is available at
4284 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
4285 continue for the next few releases.
4287 1) ACPI CA Core Subsystem:
4289 ACPI 4.0: Implemented interpreter support for the IPMI operation region
4290 address space. Includes support for bi-directional data buffers and an
4292 address space handler (to be installed by an IPMI device driver.) ACPICA
4296 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
4298 support in both the header files and the disassembler.
4300 Completed a major update for the AcpiGetObjectInfo external interface.
4302 - Support for variable, unlimited length HID, UID, and CID strings.
4303 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
4305 - Call the _SxW power methods on behalf of a device object.
4306 - Determine if a device is a PCI root bridge.
4307 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
4308 These changes will require an update to all callers of this interface.
4310 the updated ACPICA Programmer Reference for details. One new source file
4312 been added - utilities/utids.c. ACPICA BZ 368, 780.
4314 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
4315 transfers. The Value parameter has been extended from 32 bits to 64 bits
4317 order to support new ACPI 4.0 tables. These changes will require an
4320 all callers of these interfaces. See the ACPICA Programmer Reference for
4321 details. ACPICA BZ 768.
4323 Fixed several problems with AcpiAttachData. The handler was not invoked
4325 the host node was deleted. The data sub-object was not automatically
4327 when the host node was deleted. The interface to the handler had an
4329 parameter, this was removed. ACPICA BZ 778.
4331 Enhanced the function that dumps ACPI table headers. All non-printable
4332 characters in the string fields are now replaced with '?' (Signature,
4334 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
4335 these fields are occasionally seen in the field. ACPICA BZ 788.
4337 Fixed a problem with predefined method repair code where the code that
4338 attempts to repair/convert an object of incorrect type is only executed
4340 the first time the predefined method is called. The mechanism that
4342 warnings on subsequent calls was interfering with the repair mechanism.
4345 Fixed a possible memory leak in the predefined validation/repair code
4348 buffer is automatically converted to an expected string object.
4350 Removed obsolete 16-bit files from the distribution and from the current
4352 tree head. ACPICA BZ 776.
4354 Example Code and Data Size: These are the sizes for the OS-independent
4355 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4356 debug version of the code includes the debug output trace mechanism and
4358 much larger code and data size.
4361 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
4362 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
4364 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
4365 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
4367 2) iASL Compiler/Disassembler and Tools:
4369 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
4370 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
4372 ACPI 4.0: iASL - implemented compile-time validation support for all new
4373 predefined names and control methods (31 total). ACPICA BZ 769.
4375 ----------------------------------------
4376 21 May 2009. Summary of changes for version 20090521:
4378 1) ACPI CA Core Subsystem:
4380 Disabled the preservation of the SCI enable bit in the PM1 control
4382 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
4385 a "preserved" bit - "OSPM always preserves this bit position", section
4386 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
4387 because the bit needs to be explicitly set by the OS as a workaround. No
4388 machines fail if the bit is not preserved. Therefore, ACPICA no longer
4389 attempts to preserve this bit.
4391 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
4392 incorrectly formed _PRT package could cause a fault. Added validation to
4393 ensure that each package element is actually a sub-package.
4395 Implemented a new interface to install or override a single control
4397 AcpiInstallMethod. This interface is useful when debugging in order to
4399 an existing method or to install a missing method without having to
4401 the entire ACPI table. See the ACPICA Programmer Reference for use and
4402 examples. Lin Ming, Bob Moore.
4404 Fixed several reference count issues with the DdbHandle object that is
4405 created from a Load or LoadTable operator. Prevent premature deletion of
4407 object. Also, mark the object as invalid once the table has been
4409 This is needed because the handle itself may not be deleted after the
4411 unload, depending on whether it has been stored in a named object by the
4414 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
4415 mutexes of the same sync level are acquired but then not released in
4417 opposite order, the internally maintained Current Sync Level becomes
4419 and can cause subsequent execution errors. ACPICA BZ 471.
4421 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
4422 specification has been changed to make the SyncLevel for mutex objects
4424 useful. When releasing a mutex, the SyncLevel of the mutex must now be
4426 same as the current sync level. This makes more sense than the previous
4428 (SyncLevel less than or equal). This change updates the code to match the
4431 Fixed a problem with the local version of the AcpiOsPurgeCache function.
4433 (local) cache must be locked during all cache object deletions. Andrew
4436 Updated the Load operator to use operation region interfaces. This
4438 direct memory mapping with region access calls. Now, all region accesses
4440 through the installed region handler as they should.
4442 Simplified and optimized the NsGetNextNode function. Reduced parameter
4444 and reduced code for this frequently used function.
4446 Example Code and Data Size: These are the sizes for the OS-independent
4447 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4448 debug version of the code includes the debug output trace mechanism and
4450 much larger code and data size.
4453 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
4454 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
4456 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
4457 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
4459 2) iASL Compiler/Disassembler and Tools:
4461 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
4463 with sub-table disassembly and handling invalid sub-tables. Attempt
4465 after an invalid sub-table ID.
4467 ----------------------------------------
4468 22 April 2009. Summary of changes for version 20090422:
4470 1) ACPI CA Core Subsystem:
4472 Fixed a compatibility issue with the recently released I/O port
4474 mechanism. For windows compatibility, 1) On a port protection violation,
4475 simply ignore the request and do not return an exception (allow the
4477 method to continue execution.) 2) If only part of the request overlaps a
4478 protected port, read/write the individual ports that are not protected.
4482 Enhanced the execution of the ASL/AML BreakPoint operator so that it
4484 breaks into the AML debugger if the debugger is present. This matches the
4485 ACPI-defined behavior.
4487 Fixed several possible warnings related to the use of the configurable
4488 ACPI_THREAD_ID. This type can now be configured as either an integer or a
4489 pointer with no warnings. Also fixes several warnings in printf-like
4490 statements for the 64-bit build when the type is configured as a pointer.
4493 Fixed a number of possible warnings when compiling with gcc 4+ (depending
4495 warning options.) Examples include printf formats, aliasing, unused
4497 missing prototypes, missing switch default statements, use of non-ANSI
4498 library functions, use of non-ANSI constructs. See generate/unix/Makefile
4500 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
4502 Example Code and Data Size: These are the sizes for the OS-independent
4503 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4504 debug version of the code includes the debug output trace mechanism and
4506 much larger code and data size.
4509 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
4510 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
4512 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
4513 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
4515 2) iASL Compiler/Disassembler and Tools:
4517 iASL: Fixed a generation warning from Bison 2.3 and fixed several
4522 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
4524 correctly digest Windows/DOS formatted files (with CR/LF).
4526 iASL: Added a new option for "quiet mode" (-va) that produces only the
4527 compilation summary, not individual errors and warnings. Useful for large
4530 AcpiExec: Implemented a new option (-z) to enable a forced
4532 timeout that can be used to detect hang conditions during execution of
4534 code (includes both internal semaphores and AML-defined mutexes and
4537 Added new makefiles for the generation of acpica in a generic unix-like
4538 environment. These makefiles are intended to generate the acpica tools
4540 utilities from the original acpica git source tree structure.
4542 Test Suites: Updated and cleaned up the documentation files. Updated the
4543 copyrights to 2009, affecting all source files. Use the new version of
4545 with quiet mode. Increased the number of available semaphores in the
4547 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
4549 an alternate implementation of the semaphore timeout to allow aslts to
4550 execute fully on Cygwin.
4552 ----------------------------------------
4553 20 March 2009. Summary of changes for version 20090320:
4555 1) ACPI CA Core Subsystem:
4557 Fixed a possible race condition between AcpiWalkNamespace and dynamic
4559 unloads. Added a reader/writer locking mechanism to allow multiple
4561 namespace walks (readers), but block a dynamic table unload until it can
4563 exclusive write access to the namespace. This fixes a problem where a
4565 unload could (possibly catastrophically) delete the portion of the
4567 that is currently being examined by a walk. Adds a new file, utlock.c,
4569 implements the reader/writer lock mechanism. ACPICA BZ 749.
4571 Fixed a regression introduced in version 20090220 where a change to the
4573 handling could cause the ACPICA subsystem to access non-existent I/O
4576 Modified the handling of FADT register and table (FACS/DSDT) addresses.
4578 FADT can contain both 32-bit and 64-bit versions of these addresses.
4579 Previously, the 64-bit versions were favored, meaning that if both 32 and
4581 versions were valid, but not equal, the 64-bit version was used. This was
4582 found to cause some machines to fail. Now, in this case, the 32-bit
4584 is used instead. This now matches the Windows behavior.
4586 Implemented a new mechanism to protect certain I/O ports. Provides
4588 compatibility and protects the standard PC I/O ports from access via AML
4589 code. Adds a new file, hwvalid.c
4591 Fixed a possible extraneous warning message from the FADT support. The
4592 message warns of a 32/64 length mismatch between the legacy and GAS
4593 definitions for a register.
4595 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
4597 made obsolete by the port protection mechanism above. It was previously
4599 to validate the entire address range of an operation region, which could
4601 incorrect if the range included illegal ports, but fields within the
4602 operation region did not actually access those ports. Validation is now
4603 performed on a per-field basis instead of the entire region.
4605 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
4606 Ignored bits must be "preserved" according to the ACPI spec. Usually,
4608 means a read/modify/write when writing to the register. However, for
4610 registers, writing a one means clear the event. Writing a zero means
4612 the event (do not clear.) This behavior is clarified in the ACPI 4.0
4614 and the ACPICA code now simply always writes a zero to the ignored bit.
4616 Modified the handling of ignored bits for the PM1 A/B Control Registers.
4618 per the ACPI specification, for the control registers, preserve
4619 (read/modify/write) all bits that are defined as either reserved or
4622 Updated the handling of write-only bits in the PM1 A/B Control Registers.
4623 When reading the register, zero the write-only bits as per the ACPI spec.
4624 ACPICA BZ 443. Lin Ming.
4626 Removed "Linux" from the list of supported _OSI strings. Linux no longer
4627 wants to reply true to this request. The Windows strings are the only
4629 through the AML that are tested and known to work properly.
4632 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
4633 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
4635 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
4636 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
4638 2) iASL Compiler/Disassembler and Tools:
4640 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
4644 ----------------------------------------
4645 20 February 2009. Summary of changes for version 20090220:
4647 1) ACPI CA Core Subsystem:
4649 Optimized the ACPI register locking. Removed locking for reads from the
4651 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
4653 not required when reading the single-bit registers. The
4654 AcpiGetRegisterUnlocked function is no longer needed and has been
4656 This will improve performance for reads on these registers. ACPICA BZ
4659 Fixed the parameter validation for AcpiRead/Write. Now return
4660 AE_BAD_PARAMETER if the input register pointer is null, and
4663 the register has an address of zero. Previously, these cases simply
4665 AE_OK. For optional registers such as PM1B status/enable/control, the
4667 should check for a valid register address before calling. ACPICA BZ 748.
4669 Renamed the external ACPI bit register access functions. Renamed
4670 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
4671 functions. The new names are AcpiReadBitRegister and
4672 AcpiWriteBitRegister.
4673 Also, restructured the code for these functions by simplifying the code
4675 and condensing duplicate code to reduce code size.
4677 Added new functions to transparently handle the possibly split PM1 A/B
4678 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
4680 now handle the split registers for PM1 Status, Enable, and Control.
4685 Added a function to handle the PM1 control registers,
4686 AcpiHwWritePm1Control.
4687 This function writes both of the PM1 control registers (A/B). These
4689 are different than the PM1 A/B status and enable registers in that
4691 values can be written to the A/B registers. Most notably, the SLP_TYP
4693 can be different, as per the values returned from the _Sx predefined
4696 Removed an extra register write within AcpiHwClearAcpiStatus. This
4698 was writing an optional PM1B status register twice. The existing call to
4700 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
4702 register. ACPICA BZ 751.
4704 Split out the PM1 Status registers from the FADT. Added new globals for
4706 registers (A/B), similar to the way the PM1 Enable registers are handled.
4707 Instead of overloading the FADT Event Register blocks. This makes the
4709 clearer and less prone to error.
4711 Fixed the warning message for when the platform contains too many ACPI
4713 for the default size of the global root table data structure. The
4715 for the truncation value was incorrect.
4717 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
4718 obsolete macro, since it is now a simple reference to ->common.type.
4720 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
4722 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
4723 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
4724 simply SLEEP_TYPE. ACPICA BZ 754.
4726 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
4727 function is only needed on 64-bit host operating systems and is thus not
4728 included for 32-bit hosts.
4730 Debug output: print the input and result for invocations of the _OSI
4732 control method via the ACPI_LV_INFO debug level. Also, reduced some of
4734 verbosity of this debug level. Len Brown.
4736 Example Code and Data Size: These are the sizes for the OS-independent
4737 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4738 debug version of the code includes the debug output trace mechanism and
4740 much larger code and data size.
4743 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
4744 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
4746 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
4747 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
4749 2) iASL Compiler/Disassembler and Tools:
4751 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
4752 various legal performance profiles.
4754 ----------------------------------------
4755 23 January 2009. Summary of changes for version 20090123:
4757 1) ACPI CA Core Subsystem:
4759 Added the 2009 copyright to all module headers and signons. This affects
4760 virtually every file in the ACPICA core subsystem, the iASL compiler, and
4761 the tools/utilities.
4763 Implemented a change to allow the host to override any ACPI table,
4765 dynamically loaded tables. Previously, only the DSDT could be replaced by
4767 host. With this change, the AcpiOsTableOverride interface is called for
4769 table found in the RSDT/XSDT during ACPICA initialization, and also
4771 a table is dynamically loaded via the AML Load operator.
4773 Updated FADT flag definitions, especially the Boot Architecture flags.
4775 Debugger: For the Find command, automatically pad the input ACPI name
4777 underscores if the name is shorter than 4 characters. This enables a
4779 with the actual namespace entry which is itself padded with underscores.
4781 Example Code and Data Size: These are the sizes for the OS-independent
4782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4783 debug version of the code includes the debug output trace mechanism and
4785 much larger code and data size.
4788 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
4789 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
4791 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
4792 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
4794 2) iASL Compiler/Disassembler and Tools:
4796 Fix build error under Bison-2.4.
4798 Dissasembler: Enhanced FADT support. Added decoding of the Boot
4800 flags. Now decode all flags, regardless of the FADT version. Flag output
4801 includes the FADT version which first defined each flag.
4803 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
4805 DSDT). Windows only.
4807 ----------------------------------------
4808 04 December 2008. Summary of changes for version 20081204:
4810 1) ACPI CA Core Subsystem:
4812 The ACPICA Programmer Reference has been completely updated and revamped
4814 this release. This includes updates to the external interfaces, OSL
4815 interfaces, the overview sections, and the debugger reference.
4817 Several new ACPICA interfaces have been implemented and documented in the
4818 programmer reference:
4819 AcpiReset - Writes the reset value to the FADT-defined reset register.
4820 AcpiDisableAllGpes - Disable all available GPEs.
4821 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
4822 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
4823 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
4824 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
4825 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
4827 Most of the public ACPI hardware-related interfaces have been moved to a
4829 file, components/hardware/hwxface.c
4831 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
4832 register lengths within the FADT are now used, and the low level ACPI
4833 register access no longer hardcodes the ACPI register lengths. Given that
4834 there may be some risk in actually trusting the FADT register lengths, a
4836 time option was added to fall back to the default hardcoded lengths if
4838 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
4839 option is set to true for now, and a warning is issued if a suspicious
4841 register length is overridden with the default value.
4843 Fixed a reference count issue in NsRepairObject. This problem was
4845 in version 20081031 as part of a fix to repair Buffer objects within
4848 Added semaphore support to the Linux/Unix application OS-services layer
4849 (OSL). ACPICA BZ 448. Lin Ming.
4851 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
4853 be implemented in the OSL, or will binary semaphores be used instead.
4855 Example Code and Data Size: These are the sizes for the OS-independent
4856 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4857 debug version of the code includes the debug output trace mechanism and
4859 much larger code and data size.
4862 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
4863 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
4865 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
4866 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
4868 2) iASL Compiler/Disassembler and Tools:
4870 iASL: Completed the '-e' option to include additional ACPI tables in
4873 aid with disassembly and External statement generation. ACPICA BZ 742.
4877 iASL: Removed the "named object in while loop" error. The compiler cannot
4878 determine how many times a loop will execute. ACPICA BZ 730.
4880 Disassembler: Implemented support for FADT revision 2 (MS extension).
4884 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
4887 ----------------------------------------
4888 31 October 2008. Summary of changes for version 20081031:
4890 1) ACPI CA Core Subsystem:
4892 Restructured the ACPICA header files into public/private. acpi.h now
4894 only the "public" acpica headers. All other acpica headers are "private"
4896 should not be included by acpica users. One new file, accommon.h is used
4898 include the commonly used private headers for acpica code generation.
4900 plans include moving all private headers to a new subdirectory.
4902 Implemented an automatic Buffer->String return value conversion for
4903 predefined ACPI methods. For these methods (such as _BIF), added
4905 conversion for return objects that are required to be a String, but a
4907 was found instead. This can happen when reading string battery data from
4909 operation region, because it used to be difficult to convert the data
4911 buffer to string from within the ASL. Ensures that the host OS is
4913 with a valid null-terminated string. Linux BZ 11822.
4915 Updated the FACS waking vector interfaces. Split
4916 AcpiSetFirmwareWakingVector
4917 into two: one for the 32-bit vector, another for the 64-bit vector. This
4919 required because the host OS must setup the wake much differently for
4921 vector (real vs. protected mode, etc.) and the interface itself should
4924 deciding which vector to use. Also, eliminated the
4925 GetFirmwareWakingVector
4926 interface, as it served no purpose (only the firmware reads the vector,
4928 only writes the vector.) ACPICA BZ 731.
4930 Implemented a mechanism to escape infinite AML While() loops. Added a
4932 counter to force exit from AML While loops if the count becomes too
4934 This can occur in poorly written AML when the hardware does not respond
4935 within a while loop and the loop does not implement a timeout. The
4937 loop count is configurable. A new exception code is returned when a loop
4939 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
4941 Optimized the execution of AML While loops. Previously, a control state
4942 object was allocated and freed for each execution of the loop. The
4943 optimization is to simply reuse the control state for each iteration.
4945 speeds up the raw loop execution time by about 5%.
4947 Enhanced the implicit return mechanism. For Windows compatibility, return
4949 implicit integer of value zero for methods that contain no executable
4951 Such methods are seen in the field as stubs (presumably), and can cause
4952 drivers to fail if they expect a return value. Lin Ming.
4954 Allow multiple backslashes as root prefixes in namepaths. In a fully
4955 qualified namepath, allow multiple backslash prefixes. This can happen
4957 is seen in the field) because of the use of a double-backslash in strings
4958 (since backslash is the escape character) causing confusion. ACPICA BZ
4962 Emit a warning if two different FACS or DSDT tables are discovered in the
4963 FADT. Checks if there are two valid but different addresses for the FACS
4965 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
4967 Consolidated the method argument count validation code. Merged the code
4969 validates control method argument counts into the predefined validation
4970 module. Eliminates possible multiple warnings for incorrect argument
4973 Implemented ACPICA example code. Includes code for ACPICA initialization,
4974 handler installation, and calling a control method. Available at
4975 source/tools/examples.
4977 Added a global pointer for FACS table to simplify internal FACS access.
4979 the global pointer instead of using AcpiGetTableByIndex for each FACS
4981 This simplifies the code for the Global Lock and the Firmware Waking
4984 Example Code and Data Size: These are the sizes for the OS-independent
4985 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4986 debug version of the code includes the debug output trace mechanism and
4988 much larger code and data size.
4991 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
4992 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
4994 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
4995 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
4997 2) iASL Compiler/Disassembler and Tools:
4999 iASL: Improved disassembly of external method calls. Added the -e option
5001 allow the inclusion of additional ACPI tables to help with the
5004 method invocations and the generation of external declarations during the
5005 disassembly. Certain external method invocations cannot be disassembled
5006 properly without the actual declaration of the method. Use the -e option
5008 include the table where the external method(s) are actually declared.
5010 useful for disassembling SSDTs that make method calls back to the master
5011 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
5013 -e dsdt.aml ssdt1.aml
5015 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
5016 problem where the use of an alias within a namepath would result in a not
5017 found error or cause the compiler to fault. Also now allows forward
5018 references from the Alias operator itself. ACPICA BZ 738.
5020 ----------------------------------------
5021 26 September 2008. Summary of changes for version 20080926:
5023 1) ACPI CA Core Subsystem:
5025 Designed and implemented a mechanism to validate predefined ACPI methods
5027 objects. This code validates the predefined ACPI objects (objects whose
5029 start with underscore) that appear in the namespace, at the time they are
5030 evaluated. The argument count and the type of the returned object are
5031 validated against the ACPI specification. The purpose of this validation
5033 to detect problems with the BIOS-implemented predefined ACPI objects
5035 the results are returned to the ACPI-related drivers. Future enhancements
5037 include actual repair of incorrect return objects where possible. Two new
5038 files are nspredef.c and acpredef.h.
5040 Fixed a fault in the AML parser if a memory allocation fails during the
5042 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
5044 Fixed an issue with implicit return compatibility. This change improves
5046 implicit return mechanism to be more compatible with the MS interpreter.
5048 Ming, ACPICA BZ 349.
5050 Implemented support for zero-length buffer-to-string conversions. Allow
5052 length strings during interpreter buffer-to-string conversions. For
5054 during the ToDecimalString and ToHexString operators, as well as implicit
5055 conversions. Fiodor Suietov, ACPICA BZ 585.
5057 Fixed two possible memory leaks in the error exit paths of
5058 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
5060 similar in that they use a stack of state objects in order to eliminate
5061 recursion. The stack must be fully unwound and deallocated if an error
5062 occurs. Lin Ming. ACPICA BZ 383.
5064 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
5066 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
5067 Moore ACPICA BZ 442.
5069 Removed the obsolete version number in module headers. Removed the
5070 "$Revision" number that appeared in each module header. This version
5072 was useful under SourceSafe and CVS, but has no meaning under git. It is
5074 only incorrect, it could also be misleading.
5076 Example Code and Data Size: These are the sizes for the OS-independent
5077 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5078 debug version of the code includes the debug output trace mechanism and
5080 much larger code and data size.
5083 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5084 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
5086 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
5087 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
5089 ----------------------------------------
5090 29 August 2008. Summary of changes for version 20080829:
5092 1) ACPI CA Core Subsystem:
5094 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
5095 Reference. Changes include the elimination of cheating on the Object
5097 for the DdbHandle subtype, addition of a reference class field to
5098 differentiate the various reference types (instead of an AML opcode), and
5100 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
5102 Reduce an error to a warning for an incorrect method argument count.
5103 Previously aborted with an error if too few arguments were passed to a
5104 control method via the external ACPICA interface. Now issue a warning
5106 and continue. Handles the case where the method inadvertently declares
5108 many arguments, but does not actually use the extra ones. Applies mainly
5110 the predefined methods. Lin Ming. Linux BZ 11032.
5112 Disallow the evaluation of named object types with no intrinsic value.
5114 AE_TYPE for objects that have no value and therefore evaluation is
5116 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
5118 these types were allowed, but an exception would be generated at some
5120 during the evaluation. Now, the error is generated up front.
5122 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
5123 (nsnames.c). Fixes a leak in the error exit path.
5125 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
5127 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
5129 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
5132 Removed obsolete and/or unused exception codes from the acexcep.h header.
5133 There is the possibility that certain device drivers may be affected if
5135 use any of these exceptions.
5137 The ACPICA documentation has been added to the public git source tree,
5139 acpica/documents. Included are the ACPICA programmer reference, the iASL
5140 compiler reference, and the changes.txt release logfile.
5142 Example Code and Data Size: These are the sizes for the OS-independent
5143 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5144 debug version of the code includes the debug output trace mechanism and
5146 much larger code and data size.
5149 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5150 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
5152 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5153 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
5155 2) iASL Compiler/Disassembler and Tools:
5157 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
5158 defines _SCP with 3 arguments. Previous versions defined it with only 1
5159 argument. iASL now allows both definitions.
5161 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
5163 length subtables when disassembling ACPI tables. Also fixed a couple of
5164 errors where a full 16-bit table type field was not extracted from the
5168 acpisrc: Improve comment counting mechanism for generating source code
5169 statistics. Count first and last lines of multi-line comments as
5171 not comment lines. Handle Linux legal header in addition to standard
5175 ----------------------------------------
5177 29 July 2008. Summary of changes for version 20080729:
5179 1) ACPI CA Core Subsystem:
5181 Fix a possible deadlock in the GPE dispatch. Remove call to
5182 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
5184 to acquire the GPE lock but can deadlock since the GPE lock is already
5186 at dispatch time. This code was introduced in version 20060831 as a
5188 to Linux BZ 6881 and has since been removed from Linux.
5190 Add a function to dereference returned reference objects. Examines the
5192 object from a call to AcpiEvaluateObject. Any Index or RefOf references
5194 automatically dereferenced in an attempt to return something useful
5196 reference types cannot be converted into an external ACPI_OBJECT.)
5198 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
5200 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
5201 subtables for the MADT and one new subtable for the SRAT. Includes
5202 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
5204 Specification, June 2008.
5206 Additional error checking for pathname utilities. Add error check after
5208 calls to AcpiNsGetPathnameLength. Add status return from
5209 AcpiNsBuildExternalPath and check after all calls. Add parameter
5211 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
5213 Return status from the global init function AcpiUtGlobalInitialize. This
5215 used by both the kernel subsystem and the utilities such as iASL
5217 The function could possibly fail when the caches are initialized. Yang
5220 Add a function to decode reference object types to strings. Created for
5221 improved error messages.
5223 Improve object conversion error messages. Better error messages during
5225 conversion from internal to the external ACPI_OBJECT. Used for external
5227 to AcpiEvaluateObject.
5229 Example Code and Data Size: These are the sizes for the OS-independent
5230 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5231 debug version of the code includes the debug output trace mechanism and
5233 much larger code and data size.
5236 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
5237 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
5239 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
5240 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
5242 2) iASL Compiler/Disassembler and Tools:
5244 Debugger: fix a possible hang when evaluating non-methods. Fixes a
5246 introduced in version 20080701. If the object being evaluated (via
5248 command) is not a method, the debugger can hang while trying to obtain
5250 existent parameters.
5252 iASL: relax error for using reserved "_T_x" identifiers. These names can
5253 appear in a disassembled ASL file if they were emitted by the original
5254 compiler. Instead of issuing an error or warning and forcing the user to
5255 manually change these names, issue a remark instead.
5257 iASL: error if named object created in while loop. Emit an error if any
5259 object is created within a While loop. If allowed, this code will
5262 run-time error on the second iteration of the loop when an attempt is
5265 create the same named object twice. ACPICA bugzilla 730.
5267 iASL: Support absolute pathnames for include files. Add support for
5269 pathnames within the Include operator. previously, only relative
5273 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
5275 The ACPI spec requires one interrupt minimum. BZ 423
5277 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
5278 Handles the case for the Interrupt Resource Descriptor where
5279 the ResourceSource argument is omitted but ResourceSourceIndex
5280 is present. Now leave room for the Index. BZ 426
5282 iASL: Prevent error message if CondRefOf target does not exist. Fixes
5284 where an error message is emitted if the target does not exist. BZ 516
5286 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
5287 (get ACPI tables on Windows). This was apparently broken in version
5290 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
5292 the EOF happens immediately after the last table in the input file. Print
5293 completion message. Previously, no message was displayed in this case.
5295 ----------------------------------------
5296 01 July 2008. Summary of changes for version 20080701:
5298 0) Git source tree / acpica.org
5300 Fixed a problem where a git-clone from http would not transfer the entire
5303 1) ACPI CA Core Subsystem:
5305 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
5306 enable bit. Now performs a read-change-write of the enable register
5308 of simply writing out the cached enable mask. This will prevent
5310 enabling of GPEs if a rogue GPE is received during initialization (before
5312 handlers are installed.)
5314 Implemented a copy for dynamically loaded tables. Previously, dynamically
5315 loaded tables were simply mapped - but on some machines this memory is
5316 corrupted after suspend. Now copy the table to a local buffer. For the
5317 OpRegion case, added checksum verify. Use the table length from the table
5318 header, not the region length. For the Buffer case, use the table length
5319 also. Dennis Noordsij, Bob Moore. BZ 10734
5321 Fixed a problem where the same ACPI table could not be dynamically loaded
5323 unloaded more than once. Without this change, a table cannot be loaded
5325 once it has been loaded/unloaded one time. The current mechanism does not
5326 unregister a table upon an unload. During a load, if the same table is
5328 this no longer returns an exception. BZ 722
5330 Fixed a problem where the wrong descriptor length was calculated for the
5331 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
5333 are calculated as 12 bytes long, but the actual length in the internal
5334 descriptor is 16 because of the round-up to 8 on the 64-bit build.
5336 by Linn Crosetto. BZ 728
5338 Fixed a possible memory leak in the Unload operator. The DdbHandle
5340 by Load() did not have its reference count decremented during unload,
5342 to a memory leak. Lin Ming. BZ 727
5344 Fixed a possible memory leak when deleting thermal/processor objects. Any
5345 associated notify handlers (and objects) were not being deleted. Fiodor
5348 Fixed the ordering of the ASCII names in the global mutex table to match
5350 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
5352 Vegard Nossum. BZ 726
5354 Enhanced the AcpiGetObjectInfo interface to return the number of required
5355 arguments if the object is a control method. Added this call to the
5357 so the proper number of default arguments are passed to a method. This
5358 prevents a warning when executing methods from AcpiExec.
5360 Added a check for an invalid handle in AcpiGetObjectInfo. Return
5361 AE_BAD_PARAMETER if input handle is invalid. BZ 474
5363 Fixed an extraneous warning from exconfig.c on the 64-bit build.
5365 Example Code and Data Size: These are the sizes for the OS-independent
5366 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5367 debug version of the code includes the debug output trace mechanism and
5369 much larger code and data size.
5372 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
5373 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
5375 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
5376 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
5378 2) iASL Compiler/Disassembler and Tools:
5380 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
5381 resource descriptor names.
5383 iASL: Detect invalid ASCII characters in input (windows version). Removed
5385 "-CF" flag from the flex compile, enables correct detection of non-ASCII
5386 characters in the input. BZ 441
5388 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
5390 "result of operation not used" warning when the DDB handle returned from
5391 LoadTable is not used. The warning is not needed. BZ 590
5393 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
5396 pass address of table to the AML. Added option to disable OpRegion
5398 to allow creation of an OpRegion with a real address that was passed to
5400 All of this allows testing of the Load and Unload operators from
5403 Debugger: update tables command for unloaded tables. Handle unloaded
5405 and use the standard table header output routine.
5407 ----------------------------------------
5408 09 June 2008. Summary of changes for version 20080609:
5410 1) ACPI CA Core Subsystem:
5412 Implemented a workaround for reversed _PRT entries. A significant number
5414 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
5415 change dynamically detects and repairs this problem. Provides
5417 with MS ACPI. BZ 6859
5419 Simplified the internal ACPI hardware interfaces to eliminate the locking
5420 flag parameter from Register Read/Write. Added a new external interface,
5421 AcpiGetRegisterUnlocked.
5423 Fixed a problem where the invocation of a GPE control method could hang.
5425 was a regression introduced in 20080514. The new method argument count
5426 validation mechanism can enter an infinite loop when a GPE method is
5427 dispatched. Problem fixed by removing the obsolete code that passed GPE
5429 information to the notify handler via the control method parameter
5432 Fixed a problem where the _SST execution status was incorrectly returned
5434 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
5436 20080514. _SST is optional and a NOT_FOUND exception should never be
5439 Fixed a problem where a deleted object could be accessed from within the
5441 parser. This was a regression introduced in version 20080123 as a fix for
5443 Unload operator. Lin Ming. BZ 10669
5445 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
5447 and eliminated the use of a negative index in a loop. Operands are now
5448 displayed in the correct order, not backwards. This also fixes a
5450 introduced in 20080514 on 64-bit systems where the elimination of
5451 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
5454 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
5456 path did not delete a locally allocated structure.
5458 Updated definitions for the DMAR and SRAT tables to synchronize with the
5459 current specifications. Includes disassembler support.
5461 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
5462 loop termination value was used. Loop terminated on iteration early,
5464 one mutex. Linn Crosetto
5466 Example Code and Data Size: These are the sizes for the OS-independent
5467 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5468 debug version of the code includes the debug output trace mechanism and
5470 much larger code and data size.
5473 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
5474 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
5476 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
5477 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
5479 2) iASL Compiler/Disassembler and Tools:
5481 Disassembler: Implemented support for EisaId() within _CID objects. Now
5482 disassemble integer _CID objects back to EisaId invocations, including
5483 multiple integers within _CID packages. Includes single-step support for
5486 Disassembler: Added support for DMAR and SRAT table definition changes.
5488 ----------------------------------------
5489 14 May 2008. Summary of changes for version 20080514:
5491 1) ACPI CA Core Subsystem:
5493 Fixed a problem where GPEs were enabled too early during the ACPICA
5494 initialization. This could lead to "handler not installed" errors on some
5495 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
5497 ensures that all operation regions and devices throughout the namespace
5499 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
5501 Implemented a change to the enter sleep code. Moved execution of the _GTS
5502 method to just before setting sleep enable bit. The execution was moved
5504 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
5505 immediately before the SLP_EN bit is set, as per the ACPI specification.
5508 Implemented a fix to disable unknown GPEs (2nd version). Now always
5510 the GPE, even if ACPICA thinks that that it is already disabled. It is
5511 possible that the AML or some other code has enabled the GPE unbeknownst
5515 Fixed a problem with the Field operator where zero-length fields would
5517 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
5519 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
5521 Implemented a fix for the Load operator, now load the table at the
5523 root. This reverts a change introduced in version 20071019. The table is
5525 loaded at the namespace root even though this goes against the ACPI
5526 specification. This provides compatibility with other ACPI
5528 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
5531 Fixed a problem where ACPICA would not Load() tables with unusual
5533 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
5534 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
5535 Therefore, signature validation is worthless. Apparently MS ACPI accepts
5537 signatures, ACPICA must be compatible. BZ 10454.
5539 Fixed a possible negative array index in AcpiUtValidateException. Added
5541 fields to the exception string arrays to eliminate a -1 subtraction on
5545 Updated the debug tracking macros to reduce overall code and data size.
5546 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
5547 instead of pointers to static strings. Jan Beulich and Bob Moore.
5549 Implemented argument count checking in control method invocation via
5550 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
5552 many. This applies only to extern programmatic control method execution,
5554 method-to-method calls within the AML. Lin Ming.
5556 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
5558 longer needed, especially with the removal of 16-bit support. It was
5560 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
5563 32/64-bit platforms is required.
5565 Added the C const qualifier for appropriate string constants -- mostly
5566 MODULE_NAME and printf format strings. Jan Beulich.
5568 Example Code and Data Size: These are the sizes for the OS-independent
5569 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5570 debug version of the code includes the debug output trace mechanism and
5572 much larger code and data size.
5575 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
5576 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
5578 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
5579 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
5581 2) iASL Compiler/Disassembler and Tools:
5583 Implemented ACPI table revision ID validation in the disassembler. Zero
5585 always invalid. For DSDTs, the ID controls the interpreter integer width.
5587 means 32-bit and this is unusual. 2 or greater is 64-bit.
5589 ----------------------------------------
5590 21 March 2008. Summary of changes for version 20080321:
5592 1) ACPI CA Core Subsystem:
5594 Implemented an additional change to the GPE support in order to suppress
5595 spurious or stray GPEs. The AcpiEvDisableGpe function will now
5597 disable incoming GPEs that are neither enabled nor disabled -- meaning
5599 the GPE is unknown to the system. This should prevent future interrupt
5601 from that GPE. BZ 6217 (Zhang Rui)
5603 Fixed a problem where NULL package elements were not returned to the
5604 AcpiEvaluateObject interface correctly. The element was simply ignored
5605 instead of returning a NULL ACPI_OBJECT package element, potentially
5607 a buffer overflow and/or confusing the caller who expected a fixed number
5609 elements. BZ 10132 (Lin Ming, Bob Moore)
5611 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
5613 Qword), Field, BankField, and IndexField operators when invoked from
5615 an executing control method. In this case, these operators created
5617 nodes that were incorrectly left marked as permanent nodes instead of
5618 temporary nodes. This could cause a problem if there is race condition
5619 between an exiting control method and a running namespace walk. (Reported
5623 Fixed a problem where the CreateField and CreateXXXField operators would
5624 incorrectly allow duplicate names (the name of the field) with no
5628 Implemented several changes for Notify handling. Added support for new
5630 values (ACPI 2.0+) and improved the Notify debug output. Notify on
5631 PowerResource objects is no longer allowed, as per the ACPI
5633 (Bob Moore, Zhang Rui)
5635 All Reference Objects returned via the AcpiEvaluateObject interface are
5637 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
5639 NULL objects - either NULL package elements or unresolved named
5642 Fixed a problem where an extraneous debug message was produced for
5644 objects (when debugging enabled). The message "Package List length larger
5645 than NumElements count" is now produced in the correct case, and is now
5647 error message rather than a debug message. Added a debug message for the
5648 opposite case, where NumElements is larger than the Package List (the
5650 will be padded out with NULL elements as per the ACPI spec.)
5652 Implemented several improvements for the output of the ASL "Debug" object
5654 clarify and keep all data for a given object on one output line.
5656 Fixed two size calculation issues with the variable-length Start
5658 resource descriptor.
5660 Example Code and Data Size: These are the sizes for the OS-independent
5661 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5662 debug version of the code includes the debug output trace mechanism and
5664 a much larger code and data size.
5667 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
5668 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
5670 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
5671 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
5673 2) iASL Compiler/Disassembler and Tools:
5675 Fixed a problem with the use of the Switch operator where execution of
5677 containing method by multiple concurrent threads could cause an
5678 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
5679 actual Switch opcode, it must be simulated with local named temporary
5680 variables and if/else pairs. The solution chosen was to mark any method
5682 uses Switch as Serialized, thus preventing multiple thread entries. BZ
5685 ----------------------------------------
5686 13 February 2008. Summary of changes for version 20080213:
5688 1) ACPI CA Core Subsystem:
5690 Implemented another MS compatibility design change for GPE/Notify
5692 GPEs are now cleared/enabled asynchronously to allow all pending notifies
5694 complete first. It is expected that the OSL will queue the enable request
5695 behind all pending notify requests (may require changes to the local host
5697 in AcpiOsExecute). Alexey Starikovskiy.
5699 Fixed a problem where buffer and package objects passed as arguments to a
5700 control method via the external AcpiEvaluateObject interface could cause
5702 AE_AML_INTERNAL exception depending on the order and type of operators
5703 executed by the target control method.
5705 Fixed a problem where resource descriptor size optimization could cause a
5706 problem when a _CRS resource template is passed to a _SRS method. The
5708 resource template must use the same descriptors (with the same size) as
5709 returned from _CRS. This change affects the following resource
5711 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
5714 Fixed a problem where a CopyObject to RegionField, BankField, and
5716 objects did not perform an implicit conversion as it should. These types
5718 retain their initial type permanently as per the ACPI specification.
5720 a CopyObject to all other object types should not perform an implicit
5721 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
5723 Fixed a problem with the AcpiGetDevices interface where the mechanism to
5724 match device CIDs did not examine the entire list of available CIDs, but
5725 instead aborted on the first non-matching CID. Andrew Patterson.
5727 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
5729 inadvertently changed to return a 16-bit value instead of a 32-bit value,
5730 truncating the upper dword of a 64-bit value. This macro is only used to
5731 display debug output, so no incorrect calculations were made. Also,
5732 reimplemented the macro so that a 64-bit shift is not performed by
5733 inefficient compilers.
5735 Added missing va_end statements that should correspond with each va_start
5738 Example Code and Data Size: These are the sizes for the OS-independent
5739 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5740 debug version of the code includes the debug output trace mechanism and
5742 a much larger code and data size.
5745 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
5746 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
5748 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
5749 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
5751 2) iASL Compiler/Disassembler and Tools:
5753 Implemented full disassembler support for the following new ACPI tables:
5754 BERT, EINJ, and ERST. Implemented partial disassembler support for the
5755 complicated HEST table. These tables support the Windows Hardware Error
5756 Architecture (WHEA).
5758 ----------------------------------------
5759 23 January 2008. Summary of changes for version 20080123:
5761 1) ACPI CA Core Subsystem:
5763 Added the 2008 copyright to all module headers and signons. This affects
5764 virtually every file in the ACPICA core subsystem, the iASL compiler, and
5765 the tools/utilities.
5767 Fixed a problem with the SizeOf operator when used with Package and
5769 objects. These objects have deferred execution for some arguments, and
5771 execution is now completed before the SizeOf is executed. This problem
5773 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
5777 Implemented an enhancement to the interpreter "slack mode". In the
5780 an explicit return or an implicitly returned object from the last
5782 opcode, a control method will now implicitly return an integer of value 0
5784 Microsoft compatibility. (Lin Ming) BZ 392
5786 Fixed a problem with the Load operator where an exception was not
5789 the case where the table is already loaded. (Lin Ming) BZ 463
5791 Implemented support for the use of DDBHandles as an Indexed Reference, as
5793 the ACPI spec. (Lin Ming) BZ 486
5795 Implemented support for UserTerm (Method invocation) for the Unload
5797 as per the ACPI spec. (Lin Ming) BZ 580
5799 Fixed a problem with the LoadTable operator where the OemId and
5801 input strings could cause unexpected failures if they were shorter than
5803 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
5805 Implemented support for UserTerm (Method invocation) for the Unload
5807 as per the ACPI spec. (Lin Ming) BZ 580
5809 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
5811 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
5813 Example Code and Data Size: These are the sizes for the OS-independent
5814 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5815 debug version of the code includes the debug output trace mechanism and
5817 a much larger code and data size.
5820 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
5821 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
5823 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
5824 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
5826 2) iASL Compiler/Disassembler and Tools:
5828 Implemented support in the disassembler for checksum validation on
5830 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
5832 header dump at the start of the disassembly.
5834 Implemented additional debugging information in the namespace listing
5836 created during compilation. In addition to the namespace hierarchy, the
5838 pathname to each namespace object is displayed.
5840 Fixed a problem with the disassembler where invalid ACPI tables could
5842 faults or infinite loops.
5844 Fixed an unexpected parse error when using the optional "parameter types"
5845 list in a control method declaration. (Lin Ming) BZ 397
5847 Fixed a problem where two External declarations with the same name did
5849 cause an error (Lin Ming) BZ 509
5851 Implemented support for full TermArgs (adding Argx, Localx and method
5852 invocation) for the ParameterData parameter to the LoadTable operator.
5856 ----------------------------------------
5857 19 December 2007. Summary of changes for version 20071219:
5859 1) ACPI CA Core Subsystem:
5861 Implemented full support for deferred execution for the TermArg string
5862 arguments for DataTableRegion. This enables forward references and full
5863 operand resolution for the three string arguments. Similar to
5865 deferred argument execution.) Lin Ming. BZ 430
5867 Implemented full argument resolution support for the BankValue argument
5869 BankField. Previously, only constants were supported, now any TermArg may
5871 used. Lin Ming BZ 387, 393
5873 Fixed a problem with AcpiGetDevices where the search of a branch of the
5874 device tree could be terminated prematurely. In accordance with the ACPI
5875 specification, the search down the current branch is terminated if a
5877 is both not present and not functional (instead of just not present.)
5881 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
5883 the underlying AML code changed the GPE enable registers. Now, any
5885 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
5887 instead of simply ignored. Rui Zhang.
5889 Fixed a problem with Index Fields where the Index register was
5891 limited to a maximum of 32 bits. Now any size may be used.
5893 Fixed a couple memory leaks associated with "implicit return" objects
5895 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
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 a much larger code and data size.
5904 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
5905 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
5907 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
5908 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
5910 ----------------------------------------
5911 14 November 2007. Summary of changes for version 20071114:
5913 1) ACPI CA Core Subsystem:
5915 Implemented event counters for each of the Fixed Events, the ACPI SCI
5916 (interrupt) itself, and control methods executed. Named
5917 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
5919 should be useful for debugging and statistics.
5921 Implemented a new external interface, AcpiGetStatistics, to retrieve the
5922 contents of the various event counters. Returns the current values for
5923 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
5924 AcpiMethodCount. The interface can be expanded in the future if new
5926 are added. Device drivers should use this interface rather than access
5930 Fixed a problem with the FromBCD and ToBCD operators. With some
5932 the ShortDivide function worked incorrectly, causing problems with the
5934 functions with large input values. A truncation from 64-bit to 32-bit
5935 inadvertently occurred. Internal BZ 435. Lin Ming
5937 Fixed a problem with Index references passed as method arguments.
5939 passed as arguments to control methods were dereferenced immediately
5941 control was passed to the called method). The references are now
5943 passed directly to the called method. BZ 5389. Lin Ming
5945 Fixed a problem with CopyObject used in conjunction with the Index
5947 The reference was incorrectly dereferenced before the copy. The reference
5949 now correctly copied. BZ 5391. Lin Ming
5951 Fixed a problem with Control Method references within Package objects.
5953 references are now correctly generated. This completes the package
5954 construction overhaul that began in version 20071019.
5956 Example Code and Data Size: These are the sizes for the OS-independent
5957 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5958 debug version of the code includes the debug output trace mechanism and
5960 a much larger code and data size.
5963 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
5964 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
5966 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
5967 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
5970 2) iASL Compiler/Disassembler and Tools:
5972 The AcpiExec utility now installs handlers for all of the predefined
5973 Operation Region types. New types supported are: PCI_Config, CMOS, and
5976 Fixed a problem with the 64-bit version of AcpiExec where the extended
5978 bit) address fields for the DSDT and FACS within the FADT were not being
5979 used, causing truncation of the upper 32-bits of these addresses. Lin
5983 ----------------------------------------
5984 19 October 2007. Summary of changes for version 20071019:
5986 1) ACPI CA Core Subsystem:
5988 Fixed a problem with the Alias operator when the target of the alias is a
5989 named ASL operator that opens a new scope -- Scope, Device,
5991 Processor, and ThermalZone. In these cases, any children of the original
5992 operator could not be accessed via the alias, potentially causing
5994 AE_NOT_FOUND exceptions. (BZ 9067)
5996 Fixed a problem with the Package operator where all named references were
5997 created as object references and left otherwise unresolved. According to
5999 ACPI specification, a Package can only contain Data Objects or references
6001 control methods. The implication is that named references to Data Objects
6002 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
6003 immediately upon package creation. This is the approach taken with this
6004 change. References to all other named objects (Methods, Devices, Scopes,
6005 etc.) are all now properly created as reference objects. (BZ 5328)
6007 Reverted a change to Notify handling that was introduced in version
6008 20070508. This version changed the Notify handling from asynchronous to
6009 fully synchronous (Device driver Notify handling with respect to the
6011 ASL operator). It was found that this change caused more problems than it
6012 solved and was removed by most users.
6014 Fixed a problem with the Increment and Decrement operators where the type
6016 the target object could be unexpectedly and incorrectly changed. (BZ 353)
6019 Fixed a problem with the Load and LoadTable operators where the table
6020 location within the namespace was ignored. Instead, the table was always
6021 loaded into the root or current scope. Lin Ming.
6023 Fixed a problem with the Load operator when loading a table from a buffer
6024 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
6026 Fixed a problem with the Debug object where a store of a DdbHandle
6028 object to the Debug object could cause a fault.
6030 Added a table checksum verification for the Load operator, in the case
6032 the load is from a buffer. (BZ 578).
6034 Implemented additional parameter validation for the LoadTable operator.
6036 length of the input strings SignatureString, OemIdString, and OemTableId
6038 now checked for maximum lengths. (BZ 582) Lin Ming.
6040 Example Code and Data Size: These are the sizes for the OS-independent
6041 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6042 debug version of the code includes the debug output trace mechanism and
6044 a much larger code and data size.
6047 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
6048 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
6050 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
6051 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
6054 2) iASL Compiler/Disassembler:
6056 Fixed a problem where if a single file was specified and the file did not
6057 exist, no error message was emitted. (Introduced with wildcard support in
6060 ----------------------------------------
6061 19 September 2007. Summary of changes for version 20070919:
6063 1) ACPI CA Core Subsystem:
6065 Designed and implemented new external interfaces to install and remove
6066 handlers for ACPI table-related events. Current events that are defined
6068 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
6069 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
6070 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
6072 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
6073 (acpi_serialized option on Linux) could cause some systems to hang during
6074 initialization. (Bob Moore) BZ 8171
6076 Fixed a problem where objects of certain types (Device, ThermalZone,
6077 Processor, PowerResource) can be not found if they are declared and
6078 referenced from within the same control method (Lin Ming) BZ 341
6080 Example Code and Data Size: These are the sizes for the OS-independent
6081 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6082 debug version of the code includes the debug output trace mechanism and
6084 a much larger code and data size.
6087 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
6088 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
6090 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
6091 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
6094 2) iASL Compiler/Disassembler:
6096 Implemented support to allow multiple files to be compiled/disassembled
6099 single invocation. This includes command line wildcard support for both
6101 Windows and Unix versions of the compiler. This feature simplifies the
6102 disassembly and compilation of multiple ACPI tables in a single
6105 ----------------------------------------
6106 08 May 2007. Summary of changes for version 20070508:
6108 1) ACPI CA Core Subsystem:
6110 Implemented a Microsoft compatibility design change for the handling of
6112 Notify AML operator. Previously, notify handlers were dispatched and
6113 executed completely asynchronously in a deferred thread. The new design
6114 still executes the notify handlers in a different thread, but the
6116 thread that executed the Notify() now waits at a synchronization point
6118 the notify handler to complete. Some machines depend on a synchronous
6120 operator in order to operate correctly.
6122 Implemented support to allow Package objects to be passed as method
6123 arguments to the external AcpiEvaluateObject interface. Previously, this
6124 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
6125 implemented since there were no reserved control methods that required it
6128 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
6130 contained invalid non-zero values in reserved fields could cause later
6131 failures because these fields have meaning in later revisions of the
6133 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
6135 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
6137 Fixed a problem where the Global Lock handle was not properly updated if
6139 thread that acquired the Global Lock via executing AML code then
6141 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
6145 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
6146 could be corrupted if the interrupt being removed was at the head of the
6147 list. Reported by Linn Crosetto.
6149 Example Code and Data Size: These are the sizes for the OS-independent
6150 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6151 debug version of the code includes the debug output trace mechanism and
6153 a much larger code and data size.
6156 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6157 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
6159 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
6160 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
6162 ----------------------------------------
6163 20 March 2007. Summary of changes for version 20070320:
6165 1) ACPI CA Core Subsystem:
6167 Implemented a change to the order of interpretation and evaluation of AML
6168 operand objects within the AML interpreter. The interpreter now evaluates
6169 operands in the order that they appear in the AML stream (and the
6170 corresponding ASL code), instead of in the reverse order (after the
6172 operand list has been parsed). The previous behavior caused several
6174 incompatibilities with the Microsoft AML interpreter as well as being
6175 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
6177 Implemented a change to the ACPI Global Lock support. All interfaces to
6179 global lock now allow the same thread to acquire the lock multiple times.
6180 This affects the AcpiAcquireGlobalLock external interface to the global
6182 as well as the internal use of the global lock to support AML fields -- a
6183 control method that is holding the global lock can now simultaneously
6185 AML fields that require global lock protection. Previously, in both
6187 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
6189 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
6190 Controller. There is no change to the behavior of the AML Acquire
6192 as this can already be used to acquire a mutex multiple times by the same
6193 thread. BZ 8066. With assistance from Alexey Starikovskiy.
6195 Fixed a problem where invalid objects could be referenced in the AML
6196 Interpreter after error conditions. During operand evaluation, ensure
6198 the internal "Return Object" field is cleared on error and only valid
6199 pointers are stored there. Caused occasional access to deleted objects
6201 resulted in "large reference count" warning messages. Valery Podrezov.
6203 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
6205 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
6208 Fixed an internal problem with the handling of result objects on the
6209 interpreter result stack. BZ 7872. Valery Podrezov.
6211 Removed obsolete code that handled the case where AML_NAME_OP is the
6213 of a reference (Reference.Opcode). This code was no longer necessary. BZ
6214 7874. Valery Podrezov.
6216 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
6219 remnant from the previously discontinued 16-bit support.
6221 Example Code and Data Size: These are the sizes for the OS-independent
6222 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6223 debug version of the code includes the debug output trace mechanism and
6225 a much larger code and data size.
6228 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6229 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6231 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6232 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
6234 ----------------------------------------
6235 26 January 2007. Summary of changes for version 20070126:
6237 1) ACPI CA Core Subsystem:
6239 Added the 2007 copyright to all module headers and signons. This affects
6240 virtually every file in the ACPICA core subsystem, the iASL compiler, and
6243 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
6244 during a table load. A bad pointer was passed in the case where the DSDT
6246 overridden, causing a fault in this case.
6248 Example Code and Data Size: These are the sizes for the OS-independent
6249 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6250 debug version of the code includes the debug output trace mechanism and
6252 a much larger code and data size.
6255 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6256 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6258 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6259 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6261 ----------------------------------------
6262 15 December 2006. Summary of changes for version 20061215:
6264 1) ACPI CA Core Subsystem:
6266 Support for 16-bit ACPICA has been completely removed since it is no
6268 necessary and it clutters the code. All 16-bit macros, types, and
6269 conditional compiles have been removed, cleaning up and simplifying the
6271 across the entire subsystem. DOS support is no longer needed since the
6272 bootable Linux firmware kit is now available.
6274 The handler for the Global Lock is now removed during AcpiTerminate to
6275 enable a clean subsystem restart, via the implementation of the
6276 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
6279 Implemented enhancements to the multithreading support within the
6281 to enable improved multithreading debugging and evaluation of the
6285 Debugger: Enhanced the Statistics/Memory command to emit the total
6287 memory used during the execution, as well as the maximum memory consumed
6289 each of the various object types. (Valery Podrezov)
6291 Example Code and Data Size: These are the sizes for the OS-independent
6292 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6293 debug version of the code includes the debug output trace mechanism and
6295 a much larger code and data size.
6298 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
6299 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
6301 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
6302 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
6305 2) iASL Compiler/Disassembler and Tools:
6307 AcpiExec: Implemented a new option (-m) to display full memory use
6308 statistics upon subsystem/program termination. (Valery Podrezov)
6310 ----------------------------------------
6311 09 November 2006. Summary of changes for version 20061109:
6313 1) ACPI CA Core Subsystem:
6315 Optimized the Load ASL operator in the case where the source operand is
6317 operation region. Simply map the operation region memory, instead of
6318 performing a bytewise read. (Region must be of type SystemMemory, see
6321 Fixed the Load ASL operator for the case where the source operand is a
6322 region field. A buffer object is also allowed as the source operand. BZ
6325 Fixed a problem where the Load ASL operator allowed the source operand to
6327 an operation region of any type. It is now restricted to regions of type
6328 SystemMemory, as per the ACPI specification. BZ 481
6330 Additional cleanup and optimizations for the new Table Manager code.
6332 AcpiEnable will now fail if all of the required ACPI tables are not
6334 (FADT, FACS, DSDT). BZ 477
6336 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
6338 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
6339 manually optimized to be aligned and will not work if it is byte-packed.
6341 Example Code and Data Size: These are the sizes for the OS-independent
6342 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6343 debug version of the code includes the debug output trace mechanism and
6345 a much larger code and data size.
6348 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
6349 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
6351 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
6352 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
6355 2) iASL Compiler/Disassembler and Tools:
6357 Fixed a problem where the presence of the _OSI predefined control method
6358 within complex expressions could cause an internal compiler error.
6360 AcpiExec: Implemented full region support for multiple address spaces.
6361 SpaceId is now part of the REGION object. BZ 429
6363 ----------------------------------------
6364 11 October 2006. Summary of changes for version 20061011:
6366 1) ACPI CA Core Subsystem:
6368 Completed an AML interpreter performance enhancement for control method
6369 execution. Previously a 2-pass parse/execution, control methods are now
6370 completely parsed and executed in a single pass. This improves overall
6371 interpreter performance by ~25%, reduces code size, and reduces CPU stack
6372 use. (Valery Podrezov + interpreter changes in version 20051202 that
6373 eliminated namespace loading during the pass one parse.)
6375 Implemented _CID support for PCI Root Bridge detection. If the _HID does
6377 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
6379 obtained and also checked for an ID match.
6381 Implemented additional support for the PCI _ADR execution: upsearch until
6383 device scope is found before executing _ADR. This allows PCI_Config
6384 operation regions to be declared locally within control methods
6388 Fixed a problem with a possible race condition between threads executing
6389 AcpiWalkNamespace and the AML interpreter. This condition was removed by
6390 modifying AcpiWalkNamespace to (by default) ignore all temporary
6392 entries created during any concurrent control method execution. An
6393 additional namespace race condition is known to exist between
6394 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
6397 Restructured the AML ParseLoop function, breaking it into several
6398 subfunctions in order to reduce CPU stack use and improve
6402 AcpiGetHandle: Fix for parameter validation to detect invalid
6404 of prefix handle and pathname. BZ 478
6406 Example Code and Data Size: These are the sizes for the OS-independent
6407 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6408 debug version of the code includes the debug output trace mechanism and
6410 a much larger code and data size.
6413 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6414 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
6416 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
6417 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
6419 2) iASL Compiler/Disassembler and Tools:
6421 Ported the -g option (get local ACPI tables) to the new ACPICA Table
6423 to restore original behavior.
6425 ----------------------------------------
6426 27 September 2006. Summary of changes for version 20060927:
6428 1) ACPI CA Core Subsystem:
6430 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
6431 These functions now use a spinlock for mutual exclusion and the interrupt
6432 level indication flag is not needed.
6434 Fixed a problem with the Global Lock where the lock could appear to be
6435 obtained before it is actually obtained. The global lock semaphore was
6436 inadvertently created with one unit instead of zero units. (BZ 464)
6440 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
6442 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
6444 Example Code and Data Size: These are the sizes for the OS-independent
6445 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6446 debug version of the code includes the debug output trace mechanism and
6448 a much larger code and data size.
6451 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6452 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
6454 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6455 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
6458 2) iASL Compiler/Disassembler and Tools:
6460 Fixed a compilation problem with the pre-defined Resource Descriptor
6462 names where an "object does not exist" error could be incorrectly
6464 if the parent ResourceTemplate pathname places the template within a
6465 different namespace scope than the current scope. (BZ 7212)
6467 Fixed a problem where the compiler could hang after syntax errors
6469 in an ElseIf construct. (BZ 453)
6471 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
6472 operator. An incorrect output filename was produced when this parameter
6474 a null string (""). Now, the original input filename is used as the AML
6475 output filename, with an ".aml" extension.
6477 Implemented a generic batch command mode for the AcpiExec utility
6479 any AML debugger command) (Valery Podrezov).
6481 ----------------------------------------
6482 12 September 2006. Summary of changes for version 20060912:
6484 1) ACPI CA Core Subsystem:
6486 Enhanced the implementation of the "serialized mode" of the interpreter
6487 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
6488 specified, instead of creating a serialization semaphore per control
6490 the interpreter lock is simply no longer released before a blocking
6491 operation during control method execution. This effectively makes the AML
6492 Interpreter single-threaded. The overhead of a semaphore per-method is
6495 Fixed a regression where an error was no longer emitted if a control
6497 attempts to create 2 objects of the same name. This once again returns
6498 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
6500 will dynamically serialize the control method to possible prevent future
6503 Integrated a fix for a problem with PCI Express HID detection in the PCI
6504 Config Space setup procedure. (BZ 7145)
6506 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
6507 AcpiHwInitialize function - the FADT registers are now validated when the
6510 Added two new warnings during FADT verification - 1) if the FADT is
6512 than the largest known FADT version, and 2) if there is a mismatch
6515 32-bit block address and the 64-bit X counterpart (when both are non-
6518 Example Code and Data Size: These are the sizes for the OS-independent
6519 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6520 debug version of the code includes the debug output trace mechanism and
6522 a much larger code and data size.
6525 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
6526 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
6528 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6529 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
6532 2) iASL Compiler/Disassembler and Tools:
6534 Fixed a problem with the implementation of the Switch() operator where
6536 temporary variable was declared too close to the actual Switch, instead
6538 at method level. This could cause a problem if the Switch() operator is
6539 within a while loop, causing an error on the second iteration. (BZ 460)
6541 Disassembler - fix for error emitted for unknown type for target of scope
6542 operator. Now, ignore it and continue.
6544 Disassembly of an FADT now verifies the input FADT and reports any errors
6545 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
6547 Disassembly of raw data buffers with byte initialization data now
6549 each output line with the current buffer offset.
6551 Disassembly of ASF! table now includes all variable-length data fields at
6552 the end of some of the subtables.
6554 The disassembler now emits a comment if a buffer appears to be a
6555 ResourceTemplate, but cannot be disassembled as such because the EndTag
6557 not appear at the very end of the buffer.
6559 AcpiExec - Added the "-t" command line option to enable the serialized
6561 of the AML interpreter.
6563 ----------------------------------------
6564 31 August 2006. Summary of changes for version 20060831:
6566 1) ACPI CA Core Subsystem:
6568 Miscellaneous fixes for the Table Manager:
6569 - Correctly initialize internal common FADT for all 64-bit "X" fields
6570 - Fixed a couple table mapping issues during table load
6571 - Fixed a couple alignment issues for IA64
6572 - Initialize input array to zero in AcpiInitializeTables
6573 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
6576 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
6578 immediately disabled to prevent the waking GPE from firing again and to
6579 prevent other wake GPEs from interrupting the wake process.
6581 Added the AcpiGpeCount global that tracks the number of processed GPEs,
6583 be used for debugging systems with a large number of ACPI interrupts.
6585 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
6586 both the ACPICA headers and the disassembler.
6588 Example Code and Data Size: These are the sizes for the OS-independent
6589 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6590 debug version of the code includes the debug output trace mechanism and
6592 a much larger code and data size.
6595 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
6596 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
6598 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
6599 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
6602 2) iASL Compiler/Disassembler and Tools:
6604 Disassembler support for the DMAR ACPI table.
6606 ----------------------------------------
6607 23 August 2006. Summary of changes for version 20060823:
6609 1) ACPI CA Core Subsystem:
6611 The Table Manager component has been completely redesigned and
6612 reimplemented. The new design is much simpler, and reduces the overall
6614 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
6616 now possible to obtain the ACPI tables very early during kernel
6617 initialization, even before dynamic memory management is initialized.
6618 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
6620 Obsolete ACPICA interfaces:
6622 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
6625 - AcpiLoadTable: Not needed.
6626 - AcpiUnloadTable: Not needed.
6628 New ACPICA interfaces:
6630 - AcpiInitializeTables: Must be called before the table manager can be
6632 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
6633 allocated memory after it becomes available.
6634 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
6638 Other ACPICA changes:
6640 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
6642 AcpiOsUnmapMemory to free this mapping.
6643 - AcpiGetTable returns the actual mapped table. The mapping is managed
6644 internally and must not be deleted by the caller. Use of this interface
6645 causes no additional dynamic memory allocation.
6646 - AcpiFindRootPointer: Support for physical addressing has been
6648 it appeared to be unused.
6649 - The interface to AcpiOsMapMemory has changed to be consistent with the
6650 other allocation interfaces.
6651 - The interface to AcpiOsGetRootPointer has changed to eliminate
6654 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
6656 bit platforms. Was previously 64 bits on all platforms.
6657 - The interface to the ACPI Global Lock acquire/release macros have
6659 slightly since ACPICA no longer keeps a local copy of the FACS with a
6660 constructed pointer to the actual global lock.
6662 Porting to the new table manager:
6664 - AcpiInitializeTables: Must be called once, and can be called anytime
6665 during the OS initialization process. It allows the host to specify an
6667 of memory to be used to store the internal version of the RSDT/XSDT (root
6668 table). This allows the host to access ACPI tables before memory
6670 is initialized and running.
6671 - AcpiReallocateRootTable: Can be called after memory management is
6673 to copy the root table to a dynamically allocated array, freeing up the
6674 scratch memory specified in the call to AcpiInitializeTables.
6675 - AcpiSubsystemInitialize: This existing interface is independent of the
6676 Table Manager, and does not have to be called before the Table Manager
6678 be used, it only must be called before the rest of ACPICA can be used.
6679 - ACPI Tables: Some changes have been made to the names and structure of
6681 actbl.h and actbl1.h header files and may require changes to existing
6683 For example, bitfields have been completely removed because of their lack
6685 portability across C compilers.
6686 - Update interfaces to the Global Lock acquire/release macros if local
6687 versions are used. (see acwin.h)
6689 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
6693 Example Code and Data Size: These are the sizes for the OS-independent
6694 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6695 debug version of the code includes the debug output trace mechanism and
6697 a much larger code and data size.
6700 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6701 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6703 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
6704 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
6707 2) iASL Compiler/Disassembler and Tools:
6709 No changes for this release.
6711 ----------------------------------------
6712 21 July 2006. Summary of changes for version 20060721:
6714 1) ACPI CA Core Subsystem:
6716 The full source code for the ASL test suite used to validate the iASL
6717 compiler and the ACPICA core subsystem is being released with the ACPICA
6718 source for the first time. The source is contained in a separate package
6720 consists of over 1100 files that exercise all ASL/AML operators. The
6722 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
6726 Completed a new design and implementation for support of the ACPI Global
6727 Lock. On the OS side, the global lock is now treated as a standard AML
6728 mutex. Previously, multiple OS threads could "acquire" the global lock
6729 simultaneously. However, this could cause the BIOS to be starved out of
6731 lock - especially in cases such as the Embedded Controller driver where
6732 there is a tight coupling between the OS and the BIOS.
6734 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
6735 The Global Lock interrupt handler no longer queues the execution of a
6736 separate thread to signal the global lock semaphore. Instead, the
6738 is signaled directly from the interrupt handler.
6740 Implemented support within the AML interpreter for package objects that
6741 contain a larger AML length (package list length) than the package
6743 count. In this case, the length of the package is truncated to match the
6744 package element count. Some BIOS code apparently modifies the package
6746 on the fly, and this change supports this behavior. Provides
6748 with the MS AML interpreter. (With assistance from Fiodor Suietov)
6750 Implemented a temporary fix for the BankValue parameter of a Bank Field
6752 support all constant values, now including the Zero and One opcodes.
6753 Evaluation of this parameter must eventually be converted to a full
6755 evaluation. A not-implemented error is now returned (temporarily) for
6757 constant values for this parameter.
6759 Fixed problem reports (Fiodor Suietov) integrated:
6760 - Fix for premature object deletion after CopyObject on Operation Region
6764 Example Code and Data Size: These are the sizes for the OS-independent
6765 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6766 debug version of the code includes the debug output trace mechanism and
6768 a much larger code and data size.
6771 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
6772 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
6774 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6775 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6778 2) iASL Compiler/Disassembler and Tools:
6780 No changes for this release.
6782 ----------------------------------------
6783 07 July 2006. Summary of changes for version 20060707:
6785 1) ACPI CA Core Subsystem:
6787 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
6788 that do not allow the initialization of address pointers within packed
6789 structures - even though the hardware itself may support misaligned
6790 transfers. Some of the debug data structures are packed by default to
6793 Added an error message for the case where AcpiOsGetThreadId() returns
6795 A non-zero value is required by the core ACPICA code to ensure the proper
6796 operation of AML mutexes and recursive control methods.
6798 The DSDT is now the only ACPI table that determines whether the AML
6799 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
6801 the hooks for per-table 32/64 switching have been removed from the code.
6803 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
6805 Fixed a possible leak of an OwnerID in the error path of
6806 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
6807 deletion to a single place in AcpiTbUninstallTable to correct possible
6809 when using the AcpiTbDeleteTablesByType interface (with assistance from
6812 Fixed a problem with Serialized control methods where the semaphore
6813 associated with the method could be over-signaled after multiple method
6816 Fixed two issues with the locking of the internal namespace data
6818 Both the Unload() operator and AcpiUnloadTable interface now lock the
6819 namespace during the namespace deletion associated with the table unload
6820 (with assistance from Linn Crosetto.)
6822 Fixed problem reports (Valery Podrezov) integrated:
6823 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
6825 Fixed problem reports (Fiodor Suietov) integrated:
6826 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
6827 - On Address Space handler deletion, needless deactivation call (BZ 374)
6828 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
6830 - Possible memory leak, Notify sub-objects of Processor, Power,
6833 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
6834 - Minimum Length of RSDT should be validated (BZ 379)
6835 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
6837 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
6841 Example Code and Data Size: These are the sizes for the OS-independent
6842 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6843 debug version of the code includes the debug output trace mechanism and
6845 a much larger code and data size.
6848 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
6849 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
6851 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6852 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6855 2) iASL Compiler/Disassembler and Tools:
6857 Fixed problem reports:
6858 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
6861 ----------------------------------------
6862 23 June 2006. Summary of changes for version 20060623:
6864 1) ACPI CA Core Subsystem:
6866 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
6867 allows the type to be customized to the host OS for improved efficiency
6868 (since a spinlock is usually a very small object.)
6870 Implemented support for "ignored" bits in the ACPI registers. According
6872 the ACPI specification, these bits should be preserved when writing the
6873 registers via a read/modify/write cycle. There are 3 bits preserved in
6875 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
6877 Implemented the initial deployment of new OSL mutex interfaces. Since
6879 host operating systems have separate mutex and semaphore objects, this
6880 feature was requested. The base code now uses mutexes (and the new mutex
6881 interfaces) wherever a binary semaphore was used previously. However, for
6882 the current release, the mutex interfaces are defined as macros to map
6884 to the existing semaphore interfaces. Therefore, no OSL changes are
6886 at this time. (See acpiosxf.h)
6888 Fixed several problems with the support for the control method SyncLevel
6889 parameter. The SyncLevel now works according to the ACPI specification
6891 in concert with the Mutex SyncLevel parameter, since the current
6893 is a property of the executing thread. Mutual exclusion for control
6895 is now implemented with a mutex instead of a semaphore.
6897 Fixed three instances of the use of the C shift operator in the bitfield
6898 support code (exfldio.c) to avoid the use of a shift value larger than
6900 target data width. The behavior of C compilers is undefined in this case
6902 can cause unpredictable results, and therefore the case must be detected
6904 avoided. (Fiodor Suietov)
6906 Added an info message whenever an SSDT or OEM table is loaded dynamically
6907 via the Load() or LoadTable() ASL operators. This should improve
6909 capability since it will show exactly what tables have been loaded
6911 the tables present in the RSDT/XSDT.)
6913 Example Code and Data Size: These are the sizes for the OS-independent
6914 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6915 debug version of the code includes the debug output trace mechanism and
6917 a much larger code and data size.
6920 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
6921 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
6923 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
6924 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
6927 2) iASL Compiler/Disassembler and Tools:
6929 No changes for this release.
6931 ----------------------------------------
6932 08 June 2006. Summary of changes for version 20060608:
6934 1) ACPI CA Core Subsystem:
6936 Converted the locking mutex used for the ACPI hardware to a spinlock.
6938 change should eliminate all problems caused by attempting to acquire a
6939 semaphore at interrupt level, and it means that all ACPICA external
6940 interfaces that directly access the ACPI hardware can be safely called
6942 interrupt level. OSL code that implements the semaphore interfaces should
6944 able to eliminate any workarounds for being called at interrupt level.
6946 Fixed a regression introduced in 20060526 where the ACPI device
6947 initialization could be prematurely aborted with an AE_NOT_FOUND if a
6949 did not have an optional _INI method.
6951 Fixed an IndexField issue where a write to the Data Register should be
6952 limited in size to the AccessSize (width) of the IndexField itself. (BZ
6956 Fixed problem reports (Valery Podrezov) integrated:
6957 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
6959 Fixed problem reports (Fiodor Suietov) integrated:
6960 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
6962 Removed four global mutexes that were obsolete and were no longer being
6965 Example Code and Data Size: These are the sizes for the OS-independent
6966 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6967 debug version of the code includes the debug output trace mechanism and
6969 a much larger code and data size.
6972 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
6973 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
6975 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
6976 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
6979 2) iASL Compiler/Disassembler and Tools:
6981 Fixed a fault when using -g option (get tables from registry) on Windows
6984 Fixed problem reports integrated:
6985 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
6986 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
6988 - Global table revision override (-r) is ignored (BZ 413)
6990 ----------------------------------------
6991 26 May 2006. Summary of changes for version 20060526:
6993 1) ACPI CA Core Subsystem:
6995 Restructured, flattened, and simplified the internal interfaces for
6996 namespace object evaluation - resulting in smaller code, less CPU stack
6998 and fewer interfaces. (With assistance from Mikhail Kouzmich)
7000 Fixed a problem with the CopyObject operator where the first parameter
7002 not typed correctly for the parser, interpreter, compiler, and
7004 Caused various errors and unexpected behavior.
7006 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
7007 produced incorrect results with some C compilers. Since the behavior of C
7008 compilers when the shift value is larger than the datatype width is
7009 apparently not well defined, the interpreter now detects this condition
7011 simply returns zero as expected in all such cases. (BZ 395)
7013 Fixed problem reports (Valery Podrezov) integrated:
7014 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
7015 - Allow interpreter to handle nested method declarations (BZ 5361)
7017 Fixed problem reports (Fiodor Suietov) integrated:
7018 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
7020 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
7022 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
7023 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
7024 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
7025 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
7026 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
7027 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
7028 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
7030 - Status of the Global Initialization Handler call not used (BZ 366)
7031 - Incorrect object parameter to Global Initialization Handler (BZ 367)
7033 Example Code and Data Size: These are the sizes for the OS-independent
7034 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7035 debug version of the code includes the debug output trace mechanism and
7037 a much larger code and data size.
7040 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
7041 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
7043 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
7044 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
7047 2) iASL Compiler/Disassembler and Tools:
7049 Modified the parser to allow the names IO, DMA, and IRQ to be used as
7050 namespace identifiers with no collision with existing resource descriptor
7051 macro names. This provides compatibility with other ASL compilers and is
7052 most useful for disassembly/recompilation of existing tables without
7054 errors. (With assistance from Thomas Renninger)
7056 Disassembler: fixed an incorrect disassembly problem with the
7057 DataTableRegion and CopyObject operators. Fixed a possible fault during
7058 disassembly of some Alias operators.
7060 ----------------------------------------
7061 12 May 2006. Summary of changes for version 20060512:
7063 1) ACPI CA Core Subsystem:
7065 Replaced the AcpiOsQueueForExecution interface with a new interface named
7066 AcpiOsExecute. The major difference is that the new interface does not
7068 a Priority parameter, this appeared to be useless and has been replaced
7071 Type parameter. The Type tells the host what type of execution is being
7072 requested, such as global lock handler, notify handler, GPE handler, etc.
7073 This allows the host to queue and execute the request as appropriate for
7075 request type, possibly using different work queues and different
7077 for the various request types. This enables fixes for multithreading
7078 deadlock problems such as BZ #5534, and will require changes to all
7080 OS interface layers. (Alexey Starikovskiy and Bob Moore)
7082 Fixed a possible memory leak associated with the support for the so-
7084 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
7087 Fixed a problem with the Load() operator where a table load from an
7088 operation region could overwrite an internal table buffer by up to 7
7090 and cause alignment faults on IPF systems. (With assistance from Luming
7093 Example Code and Data Size: These are the sizes for the OS-independent
7094 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7095 debug version of the code includes the debug output trace mechanism and
7097 a much larger code and data size.
7100 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
7101 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
7103 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
7104 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
7108 2) iASL Compiler/Disassembler and Tools:
7110 Disassembler: Implemented support to cross reference the internal
7112 and automatically generate ASL External() statements for symbols not
7114 within the current table being disassembled. This will simplify the
7115 disassembly and recompilation of interdependent tables such as SSDTs
7117 these statements will no longer have to be added manually.
7119 Disassembler: Implemented experimental support to automatically detect
7120 invocations of external control methods and generate appropriate
7122 statements. This is problematic because the AML cannot be correctly
7124 until the number of arguments for each control method is known.
7126 standalone method invocations and invocations as the source operand of a
7127 Store() statement are supported.
7129 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
7130 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
7131 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
7132 more readable and likely closer to the original ASL source.
7134 ----------------------------------------
7135 21 April 2006. Summary of changes for version 20060421:
7137 1) ACPI CA Core Subsystem:
7139 Removed a device initialization optimization introduced in 20051216 where
7140 the _STA method was not run unless an _INI was also present for the same
7141 device. This optimization could cause problems because it could allow
7143 methods to be run within a not-present device subtree. (If a not-present
7144 device had no _INI, _STA would not be run, the not-present status would
7146 be discovered, and the children of the device would be incorrectly
7149 Implemented a new _STA optimization where namespace subtrees that do not
7150 contain _INI are identified and ignored during device initialization.
7151 Selectively running _STA can significantly improve boot time on large
7152 machines (with assistance from Len Brown.)
7154 Implemented support for the device initialization case where the returned
7155 _STA flags indicate a device not-present but functioning. In this case,
7157 is not run, but the device children are examined for presence, as per the
7160 Implemented an additional change to the IndexField support in order to
7161 conform to MS behavior. The value written to the Index Register is not
7162 simply a byte offset, it is a byte offset in units of the access width of
7163 the parent Index Field. (Fiodor Suietov)
7165 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
7166 interface is called during the creation of all AML operation regions, and
7167 allows the host OS to exert control over what addresses it will allow the
7168 AML code to access. Operation Regions whose addresses are disallowed will
7169 cause a runtime exception when they are actually accessed (will not
7171 or abort table loading.) See oswinxf or osunixxf for an example
7174 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
7175 interface allows the host OS to match the various "optional"
7176 interface/behavior strings for the _OSI predefined control method as
7177 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
7178 for an example implementation.
7180 Restructured and corrected various problems in the exception handling
7182 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
7183 (with assistance from Takayoshi Kochi.)
7185 Modified the Linux source converter to ignore quoted string literals
7187 converting identifiers from mixed to lower case. This will correct
7189 with the disassembler and other areas where such strings must not be
7192 The ACPI_FUNCTION_* macros no longer require quotes around the function
7193 name. This allows the Linux source converter to convert the names, now
7195 the converter ignores quoted strings.
7197 Example Code and Data Size: These are the sizes for the OS-independent
7198 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7199 debug version of the code includes the debug output trace mechanism and
7201 a much larger code and data size.
7205 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
7206 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
7208 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
7209 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
7212 2) iASL Compiler/Disassembler and Tools:
7214 Implemented 3 new warnings for iASL, and implemented multiple warning
7218 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
7220 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
7221 check for the possible timeout, a warning is issued.
7223 2) Useless operators: If an ASL operator does not specify an optional
7225 operand and it also does not use the function return value from the
7226 operator, a warning is issued since the operator effectively does
7229 3) Unreferenced objects: If a namespace object is created, but never
7230 referenced, a warning is issued. This is a warning level 2 since there
7232 cases where this is ok, such as when a secondary table is loaded that
7234 the unreferenced objects. Even so, care is taken to only flag objects
7236 don't look like they will ever be used. For example, the reserved methods
7237 (starting with an underscore) are usually not referenced because it is
7238 expected that the OS will invoke them.
7240 ----------------------------------------
7241 31 March 2006. Summary of changes for version 20060331:
7243 1) ACPI CA Core Subsystem:
7245 Implemented header file support for the following additional ACPI tables:
7246 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
7248 all current and known ACPI tables are now defined in the ACPICA headers
7250 are available for use by device drivers and other software.
7252 Implemented support to allow tables that contain ACPI names with invalid
7253 characters to be loaded. Previously, this would cause the table load to
7254 fail, but since there are several known cases of such tables on existing
7255 machines, this change was made to enable ACPI support for them. Also,
7257 matches the behavior of the Microsoft ACPI implementation.
7259 Fixed a couple regressions introduced during the memory optimization in
7261 20060317 release. The namespace node definition required additional
7262 reorganization and an internal datatype that had been changed to 8-bit
7264 restored to 32-bit. (Valery Podrezov)
7266 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
7267 could be passed through to AcpiOsReleaseObject which is unexpected. Such
7268 null pointers are now trapped and ignored, matching the behavior of the
7269 previous implementation before the deployment of AcpiOsReleaseObject.
7270 (Valery Podrezov, Fiodor Suietov)
7272 Fixed a memory mapping leak during the deletion of a SystemMemory
7274 region where a cached memory mapping was not deleted. This became a
7275 noticeable problem for operation regions that are defined within
7277 used control methods. (Dana Meyers)
7279 Reorganized the ACPI table header files into two main files: one for the
7280 ACPI tables consumed by the ACPICA core, and another for the
7282 ACPI tables that are consumed by the drivers and other software. The
7284 FADT definitions were merged into one common section and three different
7285 tables (ACPI 1.0, 1.0+, and 2.0)
7287 Example Code and Data Size: These are the sizes for the OS-independent
7288 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7289 debug version of the code includes the debug output trace mechanism and
7291 a much larger code and data size.
7294 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
7295 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
7297 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
7298 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
7301 2) iASL Compiler/Disassembler and Tools:
7303 Disassembler: Implemented support to decode and format all non-AML ACPI
7304 tables (tables other than DSDTs and SSDTs.) This includes the new tables
7305 added to the ACPICA headers, therefore all current and known ACPI tables
7309 Disassembler: The change to allow ACPI names with invalid characters also
7310 enables the disassembly of such tables. Invalid characters within names
7312 changed to '*' to make the name printable; the iASL compiler will still
7313 generate an error for such names, however, since this is an invalid ACPI
7316 Implemented an option for AcpiXtract (-a) to extract all tables found in
7318 input file. The default invocation extracts only the DSDTs and SSDTs.
7320 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
7321 makefile for the AcpiXtract utility.
7323 ----------------------------------------
7324 17 March 2006. Summary of changes for version 20060317:
7326 1) ACPI CA Core Subsystem:
7328 Implemented the use of a cache object for all internal namespace nodes.
7329 Since there are about 1000 static nodes in a typical system, this will
7330 decrease memory use for cache implementations that minimize per-
7332 overhead (such as a slab allocator.)
7334 Removed the reference count mechanism for internal namespace nodes, since
7336 was deemed unnecessary. This reduces the size of each namespace node by
7337 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
7339 and 32 bytes for the 64-bit case.
7341 Optimized several internal data structures to reduce object size on 64-
7343 platforms by packing data within the 64-bit alignment. This includes the
7344 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
7345 instances corresponding to the namespace objects.
7347 Added two new strings for the predefined _OSI method: "Windows 2001.1
7351 Split the allocation tracking mechanism out to a separate file, from
7352 utalloc.c to uttrack.c. This mechanism appears to be only useful for
7353 application-level code. Kernels may wish to not include uttrack.c in
7356 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
7358 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
7361 Code and Data Size: These are the sizes for the acpica.lib produced by
7363 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7365 driver or OSPM code. The debug version of the code includes the debug
7367 trace mechanism and has a much larger code and data size. Note that these
7368 values will vary depending on the efficiency of the compiler and the
7369 compiler options used during generation.
7372 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7373 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
7375 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
7376 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
7379 2) iASL Compiler/Disassembler and Tools:
7381 Implemented an ANSI C version of the acpixtract utility. This version
7383 automatically extract the DSDT and all SSDTs from the input acpidump text
7384 file and dump the binary output to separate files. It can also display a
7385 summary of the input file including the headers for each table found and
7386 will extract any single ACPI table, with any signature. (See
7387 source/tools/acpixtract)
7389 ----------------------------------------
7390 10 March 2006. Summary of changes for version 20060310:
7392 1) ACPI CA Core Subsystem:
7394 Tagged all external interfaces to the subsystem with the new
7395 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
7397 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
7398 macro. The default definition is NULL.
7400 Added the ACPI_THREAD_ID type for the return value from
7402 This allows the host to define this as necessary to simplify kernel
7403 integration. The default definition is ACPI_NATIVE_UINT.
7405 Fixed two interpreter problems related to error processing, the deletion
7407 objects, and placing invalid pointers onto the internal operator result
7408 stack. BZ 6028, 6151 (Valery Podrezov)
7410 Increased the reference count threshold where a warning is emitted for
7412 reference counts in order to eliminate unnecessary warnings on systems
7414 large namespaces (especially 64-bit.) Increased the value from 0x400 to
7417 Due to universal disagreement as to the meaning of the 'c' in the
7419 function, the ACPI_MEM_CALLOCATE macro has been renamed to
7420 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
7421 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
7424 Code and Data Size: These are the sizes for the acpica.lib produced by
7426 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7428 driver or OSPM code. The debug version of the code includes the debug
7430 trace mechanism and has a much larger code and data size. Note that these
7431 values will vary depending on the efficiency of the compiler and the
7432 compiler options used during generation.
7435 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
7436 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
7438 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7439 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
7442 2) iASL Compiler/Disassembler:
7444 Disassembler: implemented support for symbolic resource descriptor
7445 references. If a CreateXxxxField operator references a fixed offset
7448 resource descriptor, a name is assigned to the descriptor and the offset
7450 translated to the appropriate resource tag and pathname. The addition of
7451 this support brings the disassembled code very close to the original ASL
7452 source code and helps eliminate run-time errors when the disassembled
7454 is modified (and recompiled) in such a way as to invalidate the original
7457 Implemented support for a Descriptor Name as the last parameter to the
7459 Register() macro. This parameter was inadvertently left out of the ACPI
7460 specification, and will be added for ACPI 3.0b.
7462 Fixed a problem where the use of the "_OSI" string (versus the full path
7463 "\_OSI") caused an internal compiler error. ("No back ptr to op")
7465 Fixed a problem with the error message that occurs when an invalid string
7467 used for a _HID object (such as one with an embedded asterisk:
7469 The correct message is now displayed.
7471 ----------------------------------------
7472 17 February 2006. Summary of changes for version 20060217:
7474 1) ACPI CA Core Subsystem:
7476 Implemented a change to the IndexField support to match the behavior of
7478 Microsoft AML interpreter. The value written to the Index register is now
7480 byte offset, no longer an index based upon the width of the Data
7482 This should fix IndexField problems seen on some machines where the Data
7483 register is not exactly one byte wide. The ACPI specification will be
7484 clarified on this point.
7486 Fixed a problem where several resource descriptor types could overrun the
7487 internal descriptor buffer due to size miscalculation: VendorShort,
7488 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
7489 affect all platforms.
7491 Fixed a problem where individual resource descriptors were misaligned
7493 the internal buffer, causing alignment faults on IA64 platforms.
7495 Code and Data Size: These are the sizes for the acpica.lib produced by
7497 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7499 driver or OSPM code. The debug version of the code includes the debug
7501 trace mechanism and has a much larger code and data size. Note that these
7502 values will vary depending on the efficiency of the compiler and the
7503 compiler options used during generation.
7506 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7507 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
7509 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
7510 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
7513 2) iASL Compiler/Disassembler:
7515 Implemented support for new reserved names: _WDG and _WED are Microsoft
7516 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
7517 defined method (Throttling Depth Limit.)
7519 Fixed a problem where a zero-length VendorShort or VendorLong resource
7520 descriptor was incorrectly emitted as a descriptor of length one.
7522 ----------------------------------------
7523 10 February 2006. Summary of changes for version 20060210:
7525 1) ACPI CA Core Subsystem:
7527 Removed a couple of extraneous ACPI_ERROR messages that appeared during
7528 normal execution. These became apparent after the conversion from
7531 Fixed a problem where the CreateField operator could hang if the BitIndex
7533 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
7535 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
7536 failed with an exception. This also fixes a couple of related RefOf and
7537 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
7539 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
7541 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
7545 Implemented a memory cleanup at the end of the execution of each
7547 of an AML While() loop, preventing the accumulation of outstanding
7549 (Valery Podrezov, BZ 5427)
7551 Eliminated a chunk of duplicate code in the object resolution code.
7555 Fixed several warnings during the 64-bit code generation.
7557 The AcpiSrc source code conversion tool now inserts one line of
7559 after an if() statement that is followed immediately by a comment,
7561 readability of the Linux code.
7563 Code and Data Size: The current and previous library sizes for the core
7564 subsystem are shown below. These are the code and data sizes for the
7565 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7567 values do not include any ACPI driver or OSPM code. The debug version of
7569 code includes the debug output trace mechanism and has a much larger code
7570 and data size. Note that these values will vary depending on the
7572 of the compiler and the compiler options used during generation.
7575 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
7576 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
7578 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7579 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
7582 2) iASL Compiler/Disassembler:
7584 Fixed a problem with the disassembly of a BankField operator with a
7586 expression for the BankValue parameter.
7588 ----------------------------------------
7589 27 January 2006. Summary of changes for version 20060127:
7591 1) ACPI CA Core Subsystem:
7593 Implemented support in the Resource Manager to allow unresolved
7595 references within resource package objects for the _PRT method. This
7597 is in addition to the previously implemented unresolved reference support
7598 within the AML parser. If the interpreter slack mode is enabled, these
7599 unresolved references will be passed through to the caller as a NULL
7603 Implemented and deployed new macros and functions for error and warning
7604 messages across the subsystem. These macros are simpler and generate less
7605 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
7606 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
7607 macros remain defined to allow ACPI drivers time to migrate to the new
7610 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
7612 Acquire/Release Lock OSL interfaces.
7614 Fixed a problem where Alias ASL operators are sometimes not correctly
7615 resolved, in both the interpreter and the iASL compiler.
7617 Fixed several problems with the implementation of the
7618 ConcatenateResTemplate
7619 ASL operator. As per the ACPI specification, zero length buffers are now
7620 treated as a single EndTag. One-length buffers always cause a fatal
7621 exception. Non-zero length buffers that do not end with a full 2-byte
7623 cause a fatal exception.
7625 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
7626 interface. (With assistance from Thomas Renninger)
7628 Code and Data Size: The current and previous library sizes for the core
7629 subsystem are shown below. These are the code and data sizes for the
7630 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7632 values do not include any ACPI driver or OSPM code. The debug version of
7634 code includes the debug output trace mechanism and has a much larger code
7635 and data size. Note that these values will vary depending on the
7637 of the compiler and the compiler options used during generation.
7640 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
7641 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
7643 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
7644 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
7647 2) iASL Compiler/Disassembler:
7649 Fixed an internal error that was generated for any forward references to
7653 ----------------------------------------
7654 13 January 2006. Summary of changes for version 20060113:
7656 1) ACPI CA Core Subsystem:
7658 Added 2006 copyright to all module headers and signons. This affects
7659 virtually every file in the ACPICA core subsystem, iASL compiler, and the
7662 Enhanced the ACPICA error reporting in order to simplify user migration
7664 the non-debug version of ACPICA. Replaced all instances of the
7665 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
7667 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
7668 respectively. This preserves all error and warning messages in the non-
7670 version of the ACPICA code (this has been referred to as the "debug lite"
7671 option.) Over 200 cases were converted to create a total of over 380
7672 error/warning messages across the ACPICA code. This increases the code
7674 data size of the default non-debug version of the code somewhat (about
7676 but all error/warning reporting may be disabled if desired (and code
7677 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
7678 configuration option. The size of the debug version of ACPICA remains
7682 Fixed a memory leak within the AML Debugger "Set" command. One object was
7683 not properly deleted for every successful invocation of the command.
7685 Code and Data Size: The current and previous library sizes for the core
7686 subsystem are shown below. These are the code and data sizes for the
7687 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7689 values do not include any ACPI driver or OSPM code. The debug version of
7691 code includes the debug output trace mechanism and has a much larger code
7692 and data size. Note that these values will vary depending on the
7694 of the compiler and the compiler options used during generation.
7697 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
7698 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
7700 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
7701 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
7704 2) iASL Compiler/Disassembler:
7706 The compiler now officially supports the ACPI 3.0a specification that was
7707 released on December 30, 2005. (Specification is available at
7710 ----------------------------------------
7711 16 December 2005. Summary of changes for version 20051216:
7713 1) ACPI CA Core Subsystem:
7715 Implemented optional support to allow unresolved names within ASL Package
7716 objects. A null object is inserted in the package when a named reference
7717 cannot be located in the current namespace. Enabled via the interpreter
7718 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
7720 that contain such code.
7722 Implemented an optimization to the initialization sequence that can
7724 boot time. During ACPI device initialization, the _STA method is now run
7726 and only if the _INI method exists. The _STA method is used to determine
7728 the device is present; An _INI can only be run if _STA returns present,
7730 it is a waste of time to run the _STA method if the _INI does not exist.
7731 (Prototype and assistance from Dong Wei)
7733 Implemented use of the C99 uintptr_t for the pointer casting macros if it
7735 available in the current compiler. Otherwise, the default (void *) cast
7739 Fixed some possible memory leaks found within the execution path of the
7740 Break, Continue, If, and CreateField operators. (Valery Podrezov)
7742 Fixed a problem introduced in the 20051202 release where an exception is
7743 generated during method execution if a control method attempts to declare
7746 Moved resource descriptor string constants that are used by both the AML
7747 disassembler and AML debugger to the common utilities directory so that
7748 these components are independent.
7750 Implemented support in the AcpiExec utility (-e switch) to globally
7752 exceptions during control method execution (method is not aborted.)
7754 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
7757 Code and Data Size: The current and previous library sizes for the core
7758 subsystem are shown below. These are the code and data sizes for the
7759 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7761 values do not include any ACPI driver or OSPM code. The debug version of
7763 code includes the debug output trace mechanism and has a much larger code
7764 and data size. Note that these values will vary depending on the
7766 of the compiler and the compiler options used during generation.
7769 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7770 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
7772 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
7773 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
7776 2) iASL Compiler/Disassembler:
7778 Fixed a problem where a CPU stack overflow fault could occur if a
7780 method call was made from within a Return statement.
7782 ----------------------------------------
7783 02 December 2005. Summary of changes for version 20051202:
7785 1) ACPI CA Core Subsystem:
7787 Modified the parsing of control methods to no longer create namespace
7788 objects during the first pass of the parse. Objects are now created only
7789 during the execute phase, at the moment the namespace creation operator
7791 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
7793 should eliminate ALREADY_EXISTS exceptions seen on some machines where
7794 reentrant control methods are protected by an AML mutex. The mutex will
7796 correctly block multiple threads from attempting to create the same
7800 Increased the number of available Owner Ids for namespace object tracking
7801 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
7803 some machines with a large number of ACPI tables (either static or
7806 Fixed a problem with the AcpiExec utility where a fault could occur when
7808 -b switch (batch mode) is used.
7810 Enhanced the namespace dump routine to output the owner ID for each
7813 Code and Data Size: The current and previous library sizes for the core
7814 subsystem are shown below. These are the code and data sizes for the
7815 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7817 values do not include any ACPI driver or OSPM code. The debug version of
7819 code includes the debug output trace mechanism and has a much larger code
7820 and data size. Note that these values will vary depending on the
7822 of the compiler and the compiler options used during generation.
7825 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7826 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7828 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7829 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
7832 2) iASL Compiler/Disassembler:
7834 Fixed a parse error during compilation of certain Switch/Case constructs.
7836 simplify the parse, the grammar now allows for multiple Default
7838 and this error is now detected and flagged during the analysis phase.
7840 Disassembler: The disassembly now includes the contents of the original
7841 table header within a comment at the start of the file. This includes the
7842 name and version of the original ASL compiler.
7844 ----------------------------------------
7845 17 November 2005. Summary of changes for version 20051117:
7847 1) ACPI CA Core Subsystem:
7849 Fixed a problem in the AML parser where the method thread count could be
7850 decremented below zero if any errors occurred during the method parse
7852 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
7854 This also fixed a related regression with the mechanism that detects and
7855 corrects methods that cannot properly handle reentrancy (related to the
7856 deployment of the new OwnerId mechanism.)
7858 Eliminated the pre-parsing of control methods (to detect errors) during
7859 table load. Related to the problem above, this was causing unwind issues
7861 any errors occurred during the parse, and it seemed to be overkill. A
7863 load should not be aborted if there are problems with any single control
7864 method, thus rendering this feature rather pointless.
7866 Fixed a problem with the new table-driven resource manager where an
7868 buffer overflow could occur for small resource templates.
7870 Implemented a new external interface, AcpiGetVendorResource. This
7872 will find and return a vendor-defined resource descriptor within a _CRS
7874 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
7877 Removed the length limit (200) on string objects as per the upcoming ACPI
7878 3.0A specification. This affects the following areas of the interpreter:
7880 any implicit conversion of a Buffer to a String, 2) a String object
7882 of the ASL Concatentate operator, 3) the String object result of the ASL
7885 Fixed a problem in the Windows OS interface layer (OSL) where a
7887 on a semaphore object would incorrectly timeout. This allows the
7888 multithreading features of the AcpiExec utility to work properly under
7891 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
7892 the recently added file named "utresrc.c".
7894 Code and Data Size: The current and previous library sizes for the core
7895 subsystem are shown below. These are the code and data sizes for the
7896 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7898 values do not include any ACPI driver or OSPM code. The debug version of
7900 code includes the debug output trace mechanism and has a much larger code
7901 and data size. Note that these values will vary depending on the
7903 of the compiler and the compiler options used during generation.
7906 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
7907 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7909 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7910 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7913 2) iASL Compiler/Disassembler:
7915 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
7916 specification. For the iASL compiler, this means that string literals
7918 the source ASL can be of any length.
7920 Enhanced the listing output to dump the AML code for resource descriptors
7921 immediately after the ASL code for each descriptor, instead of in a block
7923 the end of the entire resource template.
7925 Enhanced the compiler debug output to dump the entire original parse tree
7926 constructed during the parse phase, before any transforms are applied to
7928 tree. The transformed tree is dumped also.
7930 ----------------------------------------
7931 02 November 2005. Summary of changes for version 20051102:
7933 1) ACPI CA Core Subsystem:
7935 Modified the subsystem initialization sequence to improve GPE support.
7937 GPE initialization has been split into two parts in order to defer
7939 of the _PRW methods (Power Resources for Wake) until after the hardware
7941 fully initialized and the SCI handler is installed. This allows the _PRW
7942 methods to access fields protected by the Global Lock. This will fix
7944 where a NO_GLOBAL_LOCK exception has been seen during initialization.
7946 Converted the ACPI internal object disassemble and display code within
7948 AML debugger to fully table-driven operation, reducing code size and
7949 increasing maintainability.
7951 Fixed a regression with the ConcatenateResTemplate() ASL operator
7953 in the 20051021 release.
7955 Implemented support for "local" internal ACPI object types within the
7956 debugger "Object" command and the AcpiWalkNamespace external interfaces.
7957 These local types include RegionFields, BankFields, IndexFields, Alias,
7961 Moved common AML resource handling code into a new file, "utresrc.c".
7963 code is shared by both the Resource Manager and the AML Debugger.
7965 Code and Data Size: The current and previous library sizes for the core
7966 subsystem are shown below. These are the code and data sizes for the
7967 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7969 values do not include any ACPI driver or OSPM code. The debug version of
7971 code includes the debug output trace mechanism and has a much larger code
7972 and data size. Note that these values will vary depending on the
7974 of the compiler and the compiler options used during generation.
7977 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
7978 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
7980 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
7981 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7984 2) iASL Compiler/Disassembler:
7986 Fixed a problem with very large initializer lists (more than 4000
7988 for both Buffer and Package objects where the parse stack could overflow.
7990 Enhanced the pre-compile source code scan for non-ASCII characters to
7992 characters within comment fields. The scan is now always performed and is
7994 longer optional, detecting invalid characters within a source file
7995 immediately rather than during the parse phase or later.
7997 Enhanced the ASL grammar definition to force early reductions on all
7999 style grammar elements so that the overall parse stack usage is greatly
8000 reduced. This should improve performance and reduce the possibility of
8004 Eliminated all reduce/reduce conflicts in the iASL parser generation.
8006 with the addition of a %expected statement, the compiler generates from
8007 source with no warnings.
8009 Fixed a possible segment fault in the disassembler if the input filename
8010 does not contain a "dot" extension (Thomas Renninger).
8012 ----------------------------------------
8013 21 October 2005. Summary of changes for version 20051021:
8015 1) ACPI CA Core Subsystem:
8017 Implemented support for the EM64T and other x86-64 processors. This
8018 essentially entails recognizing that these processors support non-aligned
8019 memory transfers. Previously, all 64-bit processors were assumed to lack
8020 hardware support for non-aligned transfers.
8022 Completed conversion of the Resource Manager to nearly full table-driven
8023 operation. Specifically, the resource conversion code (convert AML to
8024 internal format and the reverse) and the debug code to dump internal
8025 resource descriptors are fully table-driven, reducing code and data size
8027 improving maintainability.
8029 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
8031 on 64-bit processors instead of a fixed 32-bit word. (With assistance
8033 Alexey Starikovskiy)
8035 Implemented support within the resource conversion code for the Type-
8036 Specific byte within the various ACPI 3.0 *WordSpace macros.
8038 Fixed some issues within the resource conversion code for the type-
8040 flags for both Memory and I/O address resource descriptors. For Memory,
8041 implemented support for the MTP and TTP flags. For I/O, split the TRS and
8042 TTP flags into two separate fields.
8044 Code and Data Size: The current and previous library sizes for the core
8045 subsystem are shown below. These are the code and data sizes for the
8046 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
8048 values do not include any ACPI driver or OSPM code. The debug version of
8050 code includes the debug output trace mechanism and has a much larger code
8051 and data size. Note that these values will vary depending on the
8053 of the compiler and the compiler options used during generation.
8056 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
8057 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
8059 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
8060 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
8064 2) iASL Compiler/Disassembler:
8066 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
8068 corresponding ResourceSource string was not also present in a resource
8069 descriptor declaration. This restriction caused problems with existing
8070 AML/ASL code that includes the Index byte without the string. When such
8072 was disassembled, it could not be compiled without modification. Further,
8073 the modified code created a resource template with a different size than
8075 original, breaking code that used fixed offsets into the resource
8079 Removed a recent feature of the disassembler to ignore a lone
8081 byte. This byte is now emitted if present so that the exact AML can be
8082 reproduced when the disassembled code is recompiled.
8084 Improved comments and text alignment for the resource descriptor code
8085 emitted by the disassembler.
8087 Implemented disassembler support for the ACPI 3.0 AccessSize field within
8089 Register() resource descriptor.
8091 ----------------------------------------
8092 30 September 2005. Summary of changes for version 20050930:
8094 1) ACPI CA Core Subsystem:
8096 Completed a major overhaul of the Resource Manager code - specifically,
8097 optimizations in the area of the AML/internal resource conversion code.
8099 code has been optimized to simplify and eliminate duplicated code, CPU
8101 use has been decreased by optimizing function parameters and local
8102 variables, and naming conventions across the manager have been
8104 for clarity and ease of maintenance (this includes function, parameter,
8105 variable, and struct/typedef names.) The update may force changes in some
8106 driver code, depending on how resources are handled by the host OS.
8108 All Resource Manager dispatch and information tables have been moved to a
8109 single location for clarity and ease of maintenance. One new file was
8110 created, named "rsinfo.c".
8112 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
8113 guarantee that the argument is not evaluated twice, making them less
8115 to macro side-effects. However, since there exists the possibility of
8116 additional stack use if a particular compiler cannot optimize them (such
8118 in the debug generation case), the original macros are optionally
8120 Note that some invocations of the return_VALUE macro may now cause size
8121 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
8123 eliminate these. (From Randy Dunlap)
8125 Implemented a new mechanism to enable debug tracing for individual
8127 methods. A new external interface, AcpiDebugTrace, is provided to enable
8128 this mechanism. The intent is to allow the host OS to easily enable and
8129 disable tracing for problematic control methods. This interface can be
8130 easily exposed to a user or debugger interface if desired. See the file
8131 psxface.c for details.
8133 AcpiUtCallocate will now return a valid pointer if a length of zero is
8134 specified - a length of one is used and a warning is issued. This matches
8135 the behavior of AcpiUtAllocate.
8137 Code and Data Size: The current and previous library sizes for the core
8138 subsystem are shown below. These are the code and data sizes for the
8139 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
8141 values do not include any ACPI driver or OSPM code. The debug version of
8143 code includes the debug output trace mechanism and has a much larger code
8144 and data size. Note that these values will vary depending on the
8146 of the compiler and the compiler options used during generation.
8149 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
8150 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
8152 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
8153 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
8156 2) iASL Compiler/Disassembler:
8158 A remark is issued if the effective compile-time length of a package or
8159 buffer is zero. Previously, this was a warning.
8161 ----------------------------------------
8162 16 September 2005. Summary of changes for version 20050916:
8164 1) ACPI CA Core Subsystem:
8166 Fixed a problem within the Resource Manager where support for the Generic
8167 Register descriptor was not fully implemented. This descriptor is now
8169 recognized, parsed, disassembled, and displayed.
8171 Completely restructured the Resource Manager code to utilize table-driven
8172 dispatch and lookup, eliminating many of the large switch() statements.
8174 reduces overall subsystem code size and code complexity. Affects the
8175 resource parsing and construction, disassembly, and debug dump output.
8177 Cleaned up and restructured the debug dump output for all resource
8178 descriptors. Improved readability of the output and reduced code size.
8180 Fixed a problem where changes to internal data structures caused the
8181 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
8183 Code and Data Size: The current and previous library sizes for the core
8184 subsystem are shown below. These are the code and data sizes for the
8185 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
8187 values do not include any ACPI driver or OSPM code. The debug version of
8189 code includes the debug output trace mechanism and has a much larger code
8190 and data size. Note that these values will vary depending on the
8192 of the compiler and the compiler options used during generation.
8195 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
8196 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
8198 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
8199 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
8202 2) iASL Compiler/Disassembler:
8204 Updated the disassembler to automatically insert an EndDependentFn()
8206 into the ASL stream if this macro is missing in the original AML code,
8207 simplifying compilation of the resulting ASL module.
8209 Fixed a problem in the disassembler where a disassembled ResourceSource
8210 string (within a large resource descriptor) was not surrounded by quotes
8212 not followed by a comma, causing errors when the resulting ASL module was
8213 compiled. Also, escape sequences within a ResourceSource string are now
8214 handled correctly (especially "\\")
8216 ----------------------------------------
8217 02 September 2005. Summary of changes for version 20050902:
8219 1) ACPI CA Core Subsystem:
8221 Fixed a problem with the internal Owner ID allocation and deallocation
8222 mechanisms for control method execution and recursive method invocation.
8223 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
8224 messages seen on some systems. Recursive method invocation depth is
8225 currently limited to 255. (Alexey Starikovskiy)
8227 Completely eliminated all vestiges of support for the "module-level
8228 executable code" until this support is fully implemented and debugged.
8230 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
8231 some systems that invoke this support.
8233 Fixed a problem within the resource manager code where the transaction
8235 for a 64-bit address descriptor were handled incorrectly in the type-
8238 Consolidated duplicate code within the address descriptor resource
8240 code, reducing overall subsystem code size.
8242 Fixed a fault when using the AML debugger "disassemble" command to
8243 disassemble individual control methods.
8245 Removed references to the "release_current" directory within the Unix
8248 Code and Data Size: The current and previous core subsystem library sizes
8249 are shown below. These are the code and data sizes for the acpica.lib
8250 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
8251 include any ACPI driver or OSPM code. The debug version of the code
8253 the debug output trace mechanism and has a much larger code and data
8255 Note that these values will vary depending on the efficiency of the
8257 and the compiler options used during generation.
8260 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8261 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
8263 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
8264 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
8267 2) iASL Compiler/Disassembler:
8269 Implemented an error check for illegal duplicate values in the interrupt
8271 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
8274 Implemented error checking for the Irq() and IrqNoFlags() macros to
8276 too many values in the interrupt list (16 max) and invalid values in the
8279 The maximum length string literal within an ASL file is now restricted to
8280 200 characters as per the ACPI specification.
8282 Fixed a fault when using the -ln option (generate namespace listing).
8284 Implemented an error check to determine if a DescriptorName within a
8285 resource descriptor has already been used within the current scope.
8287 ----------------------------------------
8288 15 August 2005. Summary of changes for version 20050815:
8290 1) ACPI CA Core Subsystem:
8292 Implemented a full bytewise compare to determine if a table load request
8294 attempting to load a duplicate table. The compare is performed if the
8296 signatures and table lengths match. This will allow different tables with
8297 the same OEM Table ID and revision to be loaded - probably against the
8299 specification, but discovered in the field nonetheless.
8301 Added the changes.txt logfile to each of the zipped release packages.
8303 Code and Data Size: Current and previous core subsystem library sizes are
8304 shown below. These are the code and data sizes for the acpica.lib
8306 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8307 any ACPI driver or OSPM code. The debug version of the code includes the
8308 debug output trace mechanism and has a much larger code and data size.
8310 that these values will vary depending on the efficiency of the compiler
8312 the compiler options used during generation.
8315 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8316 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
8318 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8319 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
8322 2) iASL Compiler/Disassembler:
8324 Fixed a problem where incorrect AML code could be generated for Package
8325 objects if optimization is disabled (via the -oa switch).
8327 Fixed a problem with where incorrect AML code is generated for variable-
8328 length packages when the package length is not specified and the number
8330 initializer values is greater than 255.
8333 ----------------------------------------
8334 29 July 2005. Summary of changes for version 20050729:
8336 1) ACPI CA Core Subsystem:
8338 Implemented support to ignore an attempt to install/load a particular
8340 table more than once. Apparently there exists BIOS code that repeatedly
8341 attempts to load the same SSDT upon certain events. With assistance from
8342 Venkatesh Pallipadi.
8344 Restructured the main interface to the AML parser in order to correctly
8345 handle all exceptional conditions. This will prevent leakage of the
8347 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
8349 machines. With assistance from Alexey Starikovskiy.
8351 Support for "module level code" has been disabled in this version due to
8353 number of issues that have appeared on various machines. The support can
8355 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
8356 compilation. When the issues are fully resolved, the code will be enabled
8360 Modified the internal functions for debug print support to define the
8361 FunctionName parameter as a (const char *) for compatibility with
8363 built-in macros such as __FUNCTION__, etc.
8365 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
8367 Implemented support to display an object count summary for the AML
8369 commands Object and Methods.
8371 Code and Data Size: Current and previous core subsystem library sizes are
8372 shown below. These are the code and data sizes for the acpica.lib
8374 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8375 any ACPI driver or OSPM code. The debug version of the code includes the
8376 debug output trace mechanism and has a much larger code and data size.
8378 that these values will vary depending on the efficiency of the compiler
8380 the compiler options used during generation.
8383 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
8384 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
8386 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8387 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
8390 2) iASL Compiler/Disassembler:
8392 Fixed a regression that appeared in the 20050708 version of the compiler
8393 where an error message was inadvertently emitted for invocations of the
8395 reserved control method.
8397 ----------------------------------------
8398 08 July 2005. Summary of changes for version 20050708:
8400 1) ACPI CA Core Subsystem:
8402 The use of the CPU stack in the debug version of the subsystem has been
8403 considerably reduced. Previously, a debug structure was declared in every
8404 function that used the debug macros. This structure has been removed in
8405 favor of declaring the individual elements as parameters to the debug
8406 functions. This reduces the cumulative stack use during nested execution
8408 ACPI function calls at the cost of a small increase in the code size of
8410 debug version of the subsystem. With assistance from Alexey Starikovskiy
8414 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
8415 headers to define a macro that will return the current function name at
8416 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
8418 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
8419 compiler-dependent header, the function name is saved on the CPU stack
8421 pointer per function.) This mechanism is used because apparently there
8422 exists no standard ANSI-C defined macro that that returns the function
8425 Redesigned and reimplemented the "Owner ID" mechanism used to track
8426 namespace objects created/deleted by ACPI tables and control method
8427 execution. A bitmap is now used to allocate and free the IDs, thus
8429 the wraparound problem present in the previous implementation. The size
8431 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
8434 Removed the UINT32_BIT and UINT16_BIT types that were used for the
8436 flag definitions within the headers for the predefined ACPI tables. These
8437 have been replaced by UINT8_BIT in order to increase the code portability
8439 the subsystem. If the use of UINT8 remains a problem, we may be forced to
8440 eliminate bitfields entirely because of a lack of portability.
8442 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
8444 is a frequently used function and this improvement increases the
8446 of the entire subsystem (Alexey Starikovskiy).
8448 Fixed several possible memory leaks and the inverse - premature object
8449 deletion (Alexey Starikovskiy).
8451 Code and Data Size: Current and previous core subsystem library sizes are
8452 shown below. These are the code and data sizes for the acpica.lib
8454 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8455 any ACPI driver or OSPM code. The debug version of the code includes the
8456 debug output trace mechanism and has a much larger code and data size.
8458 that these values will vary depending on the efficiency of the compiler
8460 the compiler options used during generation.
8463 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
8464 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
8466 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
8467 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
8469 ----------------------------------------
8470 24 June 2005. Summary of changes for version 20050624:
8472 1) ACPI CA Core Subsystem:
8474 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
8475 the host-defined cache object. This allows the OSL implementation to
8477 and type this object in any manner desired, simplifying the OSL
8478 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
8479 Linux, and should be defined in the OS-specific header file for other
8480 operating systems as required.
8482 Changed the interface to AcpiOsAcquireObject to directly return the
8483 requested object as the function return (instead of ACPI_STATUS.) This
8484 change was made for performance reasons, since this is the purpose of the
8485 interface in the first place. AcpiOsAcquireObject is now similar to the
8486 AcpiOsAllocate interface.
8488 Implemented a new AML debugger command named Businfo. This command
8490 information about all devices that have an associate _PRT object. The
8492 _HID, _UID, and _CID are displayed for these devices.
8494 Modified the initialization sequence in AcpiInitializeSubsystem to call
8496 OSL interface AcpiOslInitialize first, before any local initialization.
8498 change was required because the global initialization now calls OSL
8501 Enhanced the Dump command to display the entire contents of Package
8503 (including all sub-objects and their values.)
8505 Restructured the code base to split some files because of size and/or
8506 because the code logically belonged in a separate file. New files are
8508 below. All makefiles and project files included in the ACPI CA release
8511 utilities/utcache.c /* Local cache interfaces */
8512 utilities/utmutex.c /* Local mutex support */
8513 utilities/utstate.c /* State object support */
8514 interpreter/parser/psloop.c /* Main AML parse loop */
8516 Code and Data Size: Current and previous core subsystem library sizes are
8517 shown below. These are the code and data sizes for the acpica.lib
8519 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8520 any ACPI driver or OSPM code. The debug version of the code includes the
8521 debug output trace mechanism and has a much larger code and data size.
8523 that these values will vary depending on the efficiency of the compiler
8525 the compiler options used during generation.
8528 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
8529 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
8531 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
8532 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
8535 2) iASL Compiler/Disassembler:
8537 Fixed a regression introduced in version 20050513 where the use of a
8539 object within a Case() statement caused a compile time exception. The
8540 original behavior has been restored (a Match() operator is emitted.)
8542 ----------------------------------------
8543 17 June 2005. Summary of changes for version 20050617:
8545 1) ACPI CA Core Subsystem:
8547 Moved the object cache operations into the OS interface layer (OSL) to
8549 the host OS to handle these operations if desired (for example, the Linux
8550 OSL will invoke the slab allocator). This support is optional; the
8552 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
8554 code in the ACPI CA core. The new OSL interfaces are shown below. See
8555 utalloc.c for an example implementation, and acpiosxf.h for the exact
8556 interface definitions. With assistance from Alexey Starikovskiy.
8563 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
8565 and restore a flags parameter. This fits better with many OS lock models.
8566 Note: the current execution state (interrupt handler or not) is no longer
8567 passed to these interfaces. If necessary, the OSL must determine this
8569 by itself, a simple and fast operation. With assistance from Alexey
8572 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
8573 present if the revision of the RSDP was 2 or greater. According to the
8575 specification, the XSDT is optional in all cases, and the table manager
8576 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
8577 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
8581 Fixed an interpreter problem with the Mid() operator in the case of an
8583 string where the resulting output string is of zero length. It now
8585 returns a valid, null terminated string object instead of a string object
8586 with a null pointer.
8588 Fixed a problem with the control method argument handling to allow a
8590 to an Arg object that already contains an object of type Device. The
8592 object is now correctly overwritten. Previously, an error was returned.
8595 Enhanced the debugger Find command to emit object values in addition to
8597 found object pathnames. The output format is the same as the dump
8601 Enhanced the debugger Set command. It now has the ability to set the
8603 of any Named integer object in the namespace (Previously, only method
8605 and args could be set.)
8607 Code and Data Size: Current and previous core subsystem library sizes are
8608 shown below. These are the code and data sizes for the acpica.lib
8610 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8611 any ACPI driver or OSPM code. The debug version of the code includes the
8612 debug output trace mechanism and has a much larger code and data size.
8614 that these values will vary depending on the efficiency of the compiler
8616 the compiler options used during generation.
8619 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
8620 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
8622 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
8623 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
8626 2) iASL Compiler/Disassembler:
8628 Fixed a regression in the disassembler where if/else/while constructs
8630 output incorrectly. This problem was introduced in the previous release
8631 (20050526). This problem also affected the single-step disassembly in the
8634 Fixed a problem where compiling the reserved _OSI method would randomly
8636 rarely) produce compile errors.
8638 Enhanced the disassembler to emit compilable code in the face of
8640 AML resource descriptors. If the optional ResourceSourceIndex is present,
8641 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
8642 disassembly. Otherwise, the resulting code cannot be compiled without
8645 ----------------------------------------
8646 26 May 2005. Summary of changes for version 20050526:
8648 1) ACPI CA Core Subsystem:
8650 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
8651 the module level (not within a control method.) These opcodes are
8653 exactly once at the time the table is loaded. This type of code was legal
8655 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
8657 order to provide backwards compatibility with earlier BIOS
8659 This eliminates the "Encountered executable code at module level" warning
8660 that was previously generated upon detection of such code.
8662 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
8663 inadvertently be generated during the lookup of namespace objects in the
8664 second pass parse of ACPI tables and control methods. It appears that
8666 problem could occur during the resolution of forward references to
8670 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
8671 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
8672 allows the deadlock detection debug code to be compiled out in the normal
8673 case, improving mutex performance (and overall subsystem performance)
8676 Implemented a handful of miscellaneous fixes for possible memory leaks on
8677 error conditions and error handling control paths. These fixes were
8678 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
8680 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
8682 to prevent a fault in this error case.
8684 Code and Data Size: Current and previous core subsystem library sizes are
8685 shown below. These are the code and data sizes for the acpica.lib
8687 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8688 any ACPI driver or OSPM code. The debug version of the code includes the
8689 debug output trace mechanism and has a much larger code and data size.
8691 that these values will vary depending on the efficiency of the compiler
8693 the compiler options used during generation.
8696 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8697 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8699 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
8700 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
8703 2) iASL Compiler/Disassembler:
8705 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
8706 the module level (not within a control method.) These operators will be
8707 executed once at the time the table is loaded. This type of code was
8709 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
8710 compiler in order to provide backwards compatibility with earlier BIOS
8714 The ACPI integer width (specified via the table revision ID or the -r
8715 override, 32 or 64 bits) is now used internally during compile-time
8717 folding to ensure that constants are truncated to 32 bits if necessary.
8718 Previously, the revision ID value was only emitted in the AML table
8721 An error message is now generated for the Mutex and Method operators if
8723 SyncLevel parameter is outside the legal range of 0 through 15.
8725 Fixed a problem with the Method operator ParameterTypes list handling
8727 3.0). Previously, more than 2 types or 2 arguments generated a syntax
8729 The actual underlying implementation of method argument typechecking is
8730 still under development, however.
8732 ----------------------------------------
8733 13 May 2005. Summary of changes for version 20050513:
8735 1) ACPI CA Core Subsystem:
8737 Implemented support for PCI Express root bridges -- added support for
8739 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
8741 The interpreter now automatically truncates incoming 64-bit constants to
8743 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
8745 also affects the iASL compiler constant folding. (Note: as per below, the
8746 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
8748 Fixed a problem where string and buffer objects with "static" pointers
8749 (pointers to initialization data within an ACPI table) were not handled
8750 consistently. The internal object copy operation now always copies the
8752 to a newly allocated buffer, regardless of whether the source object is
8755 Fixed a problem with the FromBCD operator where an implicit result
8756 conversion was improperly performed while storing the result to the
8758 operand. Since this is an "explicit conversion" operator, the implicit
8759 conversion should never be performed on the output.
8761 Fixed a problem with the CopyObject operator where a copy to an existing
8762 named object did not always completely overwrite the existing object
8764 at name. Specifically, a buffer-to-buffer copy did not delete the
8768 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
8770 structs for consistency.
8772 Code and Data Size: Current and previous core subsystem library sizes are
8773 shown below. These are the code and data sizes for the acpica.lib
8775 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8776 any ACPI driver or OSPM code. The debug version of the code includes the
8777 debug output trace mechanism and has a much larger code and data size.
8779 that these values will vary depending on the efficiency of the compiler
8781 the compiler options used during generation.
8784 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8785 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8786 Current Release: (Same sizes)
8787 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8788 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8791 2) iASL Compiler/Disassembler:
8793 The compiler now emits a warning if an attempt is made to generate a 64-
8795 integer constant from within a 32-bit ACPI table (Revision < 2). The
8797 is truncated to 32 bits.
8799 Fixed a problem with large package objects: if the static length of the
8800 package is greater than 255, the "variable length package" opcode is
8801 emitted. Previously, this caused an error. This requires an update to the
8802 ACPI spec, since it currently (incorrectly) states that packages larger
8804 255 elements are not allowed.
8806 The disassembler now correctly handles variable length packages and
8808 larger than 255 elements.
8810 ----------------------------------------
8811 08 April 2005. Summary of changes for version 20050408:
8813 1) ACPI CA Core Subsystem:
8815 Fixed three cases in the interpreter where an "index" argument to an ASL
8816 function was still (internally) 32 bits instead of the required 64 bits.
8817 This was the Index argument to the Index, Mid, and Match operators.
8819 The "strupr" function is now permanently local (AcpiUtStrupr), since this
8821 not a POSIX-defined function and not present in most kernel-level C
8822 libraries. All references to the C library strupr function have been
8826 Completed the deployment of static functions/prototypes. All prototypes
8828 the static attribute have been moved from the headers to the owning C
8831 Implemented an extract option (-e) for the AcpiBin utility (AML binary
8832 utility). This option allows the utility to extract individual ACPI
8834 from the output of AcpiDmp. It provides the same functionality of the
8835 acpixtract.pl perl script without the worry of setting the correct perl
8836 options. AcpiBin runs on Windows and has not yet been generated/validated
8838 the Linux/Unix environment (but should be soon).
8840 Updated and fixed the table dump option for AcpiBin (-d). This option
8841 converts a single ACPI table to a hex/ascii file, similar to the output
8845 Code and Data Size: Current and previous core subsystem library sizes are
8846 shown below. These are the code and data sizes for the acpica.lib
8848 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8849 any ACPI driver or OSPM code. The debug version of the code includes the
8850 debug output trace mechanism and has a much larger code and data size.
8852 that these values will vary depending on the efficiency of the compiler
8854 the compiler options used during generation.
8857 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
8858 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
8860 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8861 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8864 2) iASL Compiler/Disassembler:
8866 Disassembler fix: Added a check to ensure that the table length found in
8868 ACPI table header within the input file is not longer than the actual
8870 file size. This indicates some kind of file or table corruption.
8872 ----------------------------------------
8873 29 March 2005. Summary of changes for version 20050329:
8875 1) ACPI CA Core Subsystem:
8877 An error is now generated if an attempt is made to create a Buffer Field
8879 length zero (A CreateField with a length operand of zero.)
8881 The interpreter now issues a warning whenever executable code at the
8883 level is detected during ACPI table load. This will give some idea of the
8884 prevalence of this type of code.
8886 Implemented support for references to named objects (other than control
8887 methods) within package objects.
8889 Enhanced package object output for the debug object. Package objects are
8891 completely dumped, showing all elements.
8893 Enhanced miscellaneous object output for the debug object. Any object can
8894 now be written to the debug object (for example, a device object can be
8895 written, and the type of the object will be displayed.)
8897 The "static" qualifier has been added to all local functions across both
8899 core subsystem and the iASL compiler.
8901 The number of "long" lines (> 80 chars) within the source has been
8902 significantly reduced, by about 1/3.
8904 Cleaned up all header files to ensure that all CA/iASL functions are
8905 prototyped (even static functions) and the formatting is consistent.
8907 Two new header files have been added, acopcode.h and acnames.h.
8909 Removed several obsolete functions that were no longer used.
8911 Code and Data Size: Current and previous core subsystem library sizes are
8912 shown below. These are the code and data sizes for the acpica.lib
8914 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8915 any ACPI driver or OSPM code. The debug version of the code includes the
8916 debug output trace mechanism and has a much larger code and data size.
8918 that these values will vary depending on the efficiency of the compiler
8920 the compiler options used during generation.
8923 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8924 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
8926 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
8927 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
8931 2) iASL Compiler/Disassembler:
8933 Fixed a problem with the resource descriptor generation/support. For the
8934 ResourceSourceIndex and the ResourceSource fields, both must be present,
8936 both must be not present - can't have one without the other.
8938 The compiler now returns non-zero from the main procedure if any errors
8940 occurred during the compilation.
8943 ----------------------------------------
8944 09 March 2005. Summary of changes for version 20050309:
8946 1) ACPI CA Core Subsystem:
8948 The string-to-buffer implicit conversion code has been modified again
8950 a change to the ACPI specification. In order to match the behavior of
8952 other major ACPI implementation, the target buffer is no longer truncated
8954 the source string is smaller than an existing target buffer. This change
8955 requires an update to the ACPI spec, and should eliminate the recent
8956 AE_AML_BUFFER_LIMIT issues.
8958 The "implicit return" support was rewritten to a new algorithm that
8960 the general case. Rather than attempt to determine when a method is about
8962 exit, the result of every ASL operator is saved momentarily until the
8964 next ASL operator is executed. Therefore, no matter how the method exits,
8965 there will always be a saved implicit return value. This feature is only
8966 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
8968 AE_AML_NO_RETURN_VALUE errors when enabled.
8970 Implemented implicit conversion support for the predicate (operand) of
8972 If, Else, and While operators. String and Buffer arguments are
8974 converted to Integers.
8976 Changed the string-to-integer conversion behavior to match the new ACPI
8977 errata: "If no integer object exists, a new integer is created. The ASCII
8978 string is interpreted as a hexadecimal constant. Each string character is
8979 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
8980 with the first character as the most significant digit, and ending with
8982 first non-hexadecimal character or end-of-string." This means that the
8984 non-hex character terminates the conversion and this is the code that was
8987 Fixed a problem where the ObjectType operator would fail (fault) when
8989 on an Index of a Package which pointed to a null package element. The
8990 operator now properly returns zero (Uninitialized) in this case.
8992 Fixed a problem where the While operator used excessive memory by not
8993 properly popping the result stack during execution. There was no memory
8995 after execution, however. (Code provided by Valery Podrezov.)
8997 Fixed a problem where references to control methods within Package
8999 caused the method to be invoked, instead of producing a reference object
9000 pointing to the method.
9002 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
9004 improve performance and reduce code size. (Code provided by Alexey
9007 Code and Data Size: Current and previous core subsystem library sizes are
9008 shown below. These are the code and data sizes for the acpica.lib
9010 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9011 any ACPI driver or OSPM code. The debug version of the code includes the
9012 debug output trace mechanism and has a much larger code and data size.
9014 that these values will vary depending on the efficiency of the compiler
9016 the compiler options used during generation.
9019 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9020 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
9022 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9023 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
9026 2) iASL Compiler/Disassembler:
9028 Fixed a problem with the Return operator with no arguments. Since the AML
9029 grammar for the byte encoding requires an operand for the Return opcode,
9031 compiler now emits a Return(Zero) for this case. An ACPI specification
9032 update has been written for this case.
9034 For tables other than the DSDT, namepath optimization is automatically
9035 disabled. This is because SSDTs can be loaded anywhere in the namespace,
9037 compiler has no knowledge of where, and thus cannot optimize namepaths.
9039 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
9040 inadvertently omitted from the ACPI specification, and will require an
9043 The source file scan for ASCII characters is now optional (-a). This
9045 was made because some vendors place non-ascii characters within comments.
9046 However, the scan is simply a brute-force byte compare to ensure all
9047 characters in the file are in the range 0x00 to 0x7F.
9049 Fixed a problem with the CondRefOf operator where the compiler was
9050 inappropriately checking for the existence of the target. Since the point
9052 the operator is to check for the existence of the target at run-time, the
9053 compiler no longer checks for the target existence.
9055 Fixed a problem where errors generated from the internal AML interpreter
9056 during constant folding were not handled properly, causing a fault.
9058 Fixed a problem with overly aggressive range checking for the Stall
9059 operator. The valid range (max 255) is now only checked if the operand is
9061 type Integer. All other operand types cannot be statically checked.
9063 Fixed a problem where control method references within the RefOf,
9065 and ObjectType operators were not treated properly. They are now treated
9067 actual references, not method invocations.
9069 Fixed and enhanced the "list namespace" option (-ln). This option was
9071 a number of releases ago.
9073 Improved error handling for the Field, IndexField, and BankField
9075 The compiler now cleanly reports and recovers from errors in the field
9076 component (FieldUnit) list.
9078 Fixed a disassembler problem where the optional ResourceDescriptor fields
9079 TRS and TTP were not always handled correctly.
9081 Disassembler - Comments in output now use "//" instead of "/*"
9083 ----------------------------------------
9084 28 February 2005. Summary of changes for version 20050228:
9086 1) ACPI CA Core Subsystem:
9088 Fixed a problem where the result of an Index() operator (an object
9089 reference) must increment the reference count on the target object for
9091 life of the object reference.
9093 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
9094 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
9096 resource descriptors.
9098 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
9099 Space Descriptor" string, indicating interpreter support for the
9103 Implemented header support for the new ACPI 3.0 FADT flag bits.
9105 Implemented header support for the new ACPI 3.0 PCI Express bits for the
9107 status/enable registers.
9109 Updated header support for the MADT processor local Apic struct and MADT
9110 platform interrupt source struct for new ACPI 3.0 fields.
9112 Implemented header support for the SRAT and SLIT ACPI tables.
9114 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
9118 Code and Data Size: Current and previous core subsystem library sizes are
9119 shown below. These are the code and data sizes for the acpica.lib
9121 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9122 any ACPI driver or OSPM code. The debug version of the code includes the
9123 debug output trace mechanism and has a much larger code and data size.
9125 that these values will vary depending on the efficiency of the compiler
9127 the compiler options used during generation.
9130 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
9131 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
9133 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9134 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
9137 2) iASL Compiler/Disassembler:
9139 Fixed a problem with the internal 64-bit String-to-integer conversion
9141 strings less than two characters long.
9143 Fixed a problem with constant folding where the result of the Index()
9144 operator can not be considered a constant. This means that Index() cannot
9146 a type3 opcode and this will require an update to the ACPI specification.
9148 Disassembler: Implemented support for the TTP, MTP, and TRS resource
9149 descriptor fields. These fields were inadvertently ignored and not output
9151 the disassembly of the resource descriptor.
9154 ----------------------------------------
9155 11 February 2005. Summary of changes for version 20050211:
9157 1) ACPI CA Core Subsystem:
9159 Implemented ACPI 3.0 support for implicit conversion within the Match()
9160 operator. MatchObjects can now be of type integer, buffer, or string
9162 of just type integer. Package elements are implicitly converted to the
9164 of the MatchObject. This change aligns the behavior of Match() with the
9165 behavior of the other logical operators (LLess(), etc.) It also requires
9167 errata change to the ACPI specification as this support was intended for
9168 ACPI 3.0, but was inadvertently omitted.
9170 Fixed a problem with the internal implicit "to buffer" conversion.
9172 that are converted to buffers will cause buffer truncation if the string
9174 smaller than the target buffer. Integers that are converted to buffers
9176 not cause buffer truncation, only zero extension (both as per the ACPI
9177 spec.) The problem was introduced when code was added to truncate the
9178 buffer, but this should not be performed in all cases, only the string
9181 Fixed a problem with the Buffer and Package operators where the
9183 would get confused if two such operators were used as operands to an ASL
9184 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
9185 stack was not being popped after the execution of these operators,
9187 in an AE_NO_RETURN_VALUE exception.
9189 Fixed a problem with constructs of the form Store(Index(...),...). The
9190 reference object returned from Index was inadvertently resolved to an
9192 value. This problem was introduced in version 20050114 when the behavior
9194 Store() was modified to restrict the object types that can be used as the
9195 source operand (to match the ACPI specification.)
9197 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
9199 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
9201 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
9203 Code and Data Size: Current and previous core subsystem library sizes are
9204 shown below. These are the code and data sizes for the acpica.lib
9206 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9207 any ACPI driver or OSPM code. The debug version of the code includes the
9208 debug output trace mechanism and has a much larger code and data size.
9210 that these values will vary depending on the efficiency of the compiler
9212 the compiler options used during generation.
9215 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
9216 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
9218 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
9219 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
9222 2) iASL Compiler/Disassembler:
9224 Fixed a code generation problem in the constant folding optimization code
9225 where incorrect code was generated if a constant was reduced to a buffer
9226 object (i.e., a reduced type 5 opcode.)
9228 Fixed a typechecking problem for the ToBuffer operator. Caused by an
9229 incorrect return type in the internal opcode information table.
9231 ----------------------------------------
9232 25 January 2005. Summary of changes for version 20050125:
9234 1) ACPI CA Core Subsystem:
9236 Fixed a recently introduced problem with the Global Lock where the
9237 underlying semaphore was not created. This problem was introduced in
9238 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
9239 Acquire() operation on _GL.
9241 The local object cache is now optional, and is disabled by default. Both
9242 AcpiExec and the iASL compiler enable the cache because they run in user
9243 mode and this enhances their performance. #define
9244 ACPI_ENABLE_OBJECT_CACHE
9245 to enable the local cache.
9247 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
9249 optional "implicit return" support where an error was returned if no
9251 object was expected, but one was implicitly returned. AE_OK is now
9253 in this case and the implicitly returned object is deleted.
9254 AcpiUtEvaluateObject is only occasionally used, and only to execute
9256 methods such as _STA and _INI where the return type is known up front.
9258 Fixed a few issues with the internal convert-to-integer code. It now
9260 an error if an attempt is made to convert a null string, a string of only
9261 blanks/tabs, or a zero-length buffer. This affects both implicit
9263 and explicit conversion via the ToInteger() operator.
9265 The internal debug code in AcpiUtAcquireMutex has been commented out. It
9267 not needed for normal operation and should increase the performance of
9269 entire subsystem. The code remains in case it is needed for debug
9273 The AcpiExec source and makefile are included in the Unix/Linux package
9277 Code and Data Size: Current and previous core subsystem library sizes are
9278 shown below. These are the code and data sizes for the acpica.lib
9280 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9281 any ACPI driver or OSPM code. The debug version of the code includes the
9282 debug output trace mechanism and has a much larger code and data size.
9284 that these values will vary depending on the efficiency of the compiler
9286 the compiler options used during generation.
9289 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
9290 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
9292 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
9293 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
9295 2) iASL Compiler/Disassembler:
9297 Switch/Case support: A warning is now issued if the type of the Switch
9299 cannot be determined at compile time. For example, Switch(Arg0) will
9300 generate the warning, and the type is assumed to be an integer. As per
9302 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
9306 Switch/Case support: Implemented support for buffer and string objects as
9307 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
9308 buffers and strings.
9310 Switch/Case support: The emitted code for the LEqual() comparisons now
9312 the switch value as the first operand, not the second. The case value is
9314 the second operand, and this allows the case value to be implicitly
9315 converted to the type of the switch value, not the other way around.
9317 Switch/Case support: Temporary variables are now emitted immediately
9319 the control method, not at the global level. This means that there are
9321 36 temps available per-method, not 36 temps per-module as was the case
9323 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
9325 ----------------------------------------
9326 14 January 2005. Summary of changes for version 20050114:
9328 Added 2005 copyright to all module headers. This affects every module in
9329 the core subsystem, iASL compiler, and the utilities.
9331 1) ACPI CA Core Subsystem:
9333 Fixed an issue with the String-to-Buffer conversion code where the string
9334 null terminator was not included in the buffer after conversion, but
9336 is existing ASL that assumes the string null terminator is included. This
9338 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
9339 introduced in the previous version when the code was updated to correctly
9340 set the converted buffer size as per the ACPI specification. The ACPI
9342 is ambiguous and will be updated to specify that the null terminator must
9344 included in the converted buffer. This also affects the ToBuffer() ASL
9347 Fixed a problem with the Mid() ASL/AML operator where it did not work
9348 correctly on Buffer objects. Newly created sub-buffers were not being
9353 Fixed a problem in AcpiTbFindTable where incorrect string compares were
9354 performed on the OemId and OemTableId table header fields. These fields
9356 not null terminated, so strncmp is now used instead of strcmp.
9358 Implemented a restriction on the Store() ASL/AML operator to align the
9359 behavior with the ACPI specification. Previously, any object could be
9361 as the source operand. Now, the only objects that may be used are
9363 Buffers, Strings, Packages, Object References, and DDB Handles. If
9364 necessary, the original behavior can be restored by enabling the
9365 EnableInterpreterSlack flag.
9367 Enhanced the optional "implicit return" support to allow an implicit
9369 value from methods that are invoked externally via the AcpiEvaluateObject
9370 interface. This enables implicit returns from the _STA and _INI methods,
9373 Changed the Revision() ASL/AML operator to return the current version of
9375 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
9377 the supported ACPI version (This is the function of the _REV method).
9379 Updated the _REV predefined method to return the currently supported
9383 Implemented batch mode option for the AcpiExec utility (-b).
9385 Code and Data Size: Current and previous core subsystem library sizes are
9386 shown below. These are the code and data sizes for the acpica.lib
9388 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9389 any ACPI driver or OSPM code. The debug version of the code includes the
9390 debug output trace mechanism and has a much larger code and data size.
9392 that these values will vary depending on the efficiency of the compiler
9394 the compiler options used during generation.
9397 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9398 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
9400 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
9401 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
9403 ----------------------------------------
9404 10 December 2004. Summary of changes for version 20041210:
9406 ACPI 3.0 support is nearing completion in both the iASL compiler and the
9407 ACPI CA core subsystem.
9409 1) ACPI CA Core Subsystem:
9411 Fixed a problem in the ToDecimalString operator where the resulting
9413 length was incorrectly calculated. The length is now calculated exactly,
9414 eliminating incorrect AE_STRING_LIMIT exceptions.
9416 Fixed a problem in the ToHexString operator to allow a maximum 200
9418 string to be produced.
9420 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
9422 routine where the length of the resulting buffer was not truncated to the
9423 new size (if the target buffer already existed).
9425 Code and Data Size: Current and previous core subsystem library sizes are
9426 shown below. These are the code and data sizes for the acpica.lib
9428 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9429 any ACPI driver or OSPM code. The debug version of the code includes the
9430 debug output trace mechanism and has a much larger code and data size.
9432 that these values will vary depending on the efficiency of the compiler
9434 the compiler options used during generation.
9437 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9438 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
9440 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9441 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
9444 2) iASL Compiler/Disassembler:
9446 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
9447 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
9448 Includes support in the disassembler.
9450 Implemented support for the new (ACPI 3.0) parameter to the Register
9454 Fixed a problem where the _HE resource name for the Interrupt macro was
9455 referencing bit 0 instead of bit 1.
9457 Implemented check for maximum 255 interrupts in the Interrupt macro.
9459 Fixed a problem with the predefined resource descriptor names where
9460 incorrect AML code was generated if the offset within the resource buffer
9461 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
9462 but did not update the surrounding package lengths.
9464 Changes to the Dma macro: All channels within the channel list must be
9466 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
9467 optional (default is BusMaster).
9469 Implemented check for maximum 7 data bytes for the VendorShort macro.
9471 The ReadWrite parameter is now optional for the Memory32 and similar
9474 ----------------------------------------
9475 03 December 2004. Summary of changes for version 20041203:
9477 1) ACPI CA Core Subsystem:
9479 The low-level field insertion/extraction code (exfldio) has been
9481 rewritten to eliminate unnecessary complexity, bugs, and boundary
9484 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
9486 operators where the input operand could be inadvertently deleted if no
9487 conversion was necessary (e.g., if the input to ToInteger was an Integer
9490 Fixed a problem with the ToDecimalString and ToHexString where an
9492 exception code was returned if the resulting string would be > 200 chars.
9493 AE_STRING_LIMIT is now returned.
9495 Fixed a problem with the Concatenate operator where AE_OK was always
9496 returned, even if the operation failed.
9498 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
9499 semaphores to be allocated.
9501 Code and Data Size: Current and previous core subsystem library sizes are
9502 shown below. These are the code and data sizes for the acpica.lib
9504 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9505 any ACPI driver or OSPM code. The debug version of the code includes the
9506 debug output trace mechanism and has a much larger code and data size.
9508 that these values will vary depending on the efficiency of the compiler
9510 the compiler options used during generation.
9513 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9514 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9516 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9517 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
9520 2) iASL Compiler/Disassembler:
9522 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
9523 recently introduced in 20041119.
9525 Fixed a problem with the ToUUID macro where the upper nybble of each
9527 byte was inadvertently set to zero.
9529 ----------------------------------------
9530 19 November 2004. Summary of changes for version 20041119:
9532 1) ACPI CA Core Subsystem:
9534 Fixed a problem in the internal ConvertToInteger routine where new
9536 were not truncated to 32 bits for 32-bit ACPI tables. This routine
9538 buffers and strings to integers.
9540 Implemented support to store a value to an Index() on a String object.
9542 is an ACPI 2.0 feature that had not yet been implemented.
9544 Implemented new behavior for storing objects to individual package
9546 (via the Index() operator). The previous behavior was to invoke the
9548 conversion rules if an object was already present at the index. The new
9549 behavior is to simply delete any existing object and directly store the
9551 object. Although the ACPI specification seems unclear on this subject,
9553 ACPI implementations behave in this manner. (This is the root of the
9554 AE_BAD_HEX_CONSTANT issue.)
9556 Modified the RSDP memory scan mechanism to support the extended checksum
9558 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
9559 RSDP signature is found with a valid checksum.
9561 Code and Data Size: Current and previous core subsystem library sizes are
9562 shown below. These are the code and data sizes for the acpica.lib
9564 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9565 any ACPI driver or OSPM code. The debug version of the code includes the
9566 debug output trace mechanism and has a much larger code and data size.
9568 that these values will vary depending on the efficiency of the compiler
9570 the compiler options used during generation.
9573 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9574 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9576 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9577 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9580 2) iASL Compiler/Disassembler:
9582 Fixed a missing semicolon in the aslcompiler.y file.
9584 ----------------------------------------
9585 05 November 2004. Summary of changes for version 20041105:
9587 1) ACPI CA Core Subsystem:
9589 Implemented support for FADT revision 2. This was an interim table
9591 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
9593 Implemented optional support to allow uninitialized LocalX and ArgX
9594 variables in a control method. The variables are initialized to an
9596 object with a value of zero. This support is enabled by setting the
9597 AcpiGbl_EnableInterpreterSlack flag to TRUE.
9599 Implemented support for Integer objects for the SizeOf operator. Either
9601 or 8 is returned, depending on the current integer size (32-bit or 64-
9603 depending on the parent table revision).
9605 Fixed a problem in the implementation of the SizeOf and ObjectType
9607 where the operand was resolved to a value too early, causing incorrect
9608 return values for some objects.
9610 Fixed some possible memory leaks during exceptional conditions.
9612 Code and Data Size: Current and previous core subsystem library sizes are
9613 shown below. These are the code and data sizes for the acpica.lib
9615 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9616 any ACPI driver or OSPM code. The debug version of the code includes the
9617 debug output trace mechanism and has a much larger code and data size.
9619 that these values will vary depending on the efficiency of the compiler
9621 the compiler options used during generation.
9624 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9625 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
9627 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9628 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9631 2) iASL Compiler/Disassembler:
9633 Implemented support for all ACPI 3.0 reserved names and methods.
9635 Implemented all ACPI 3.0 grammar elements in the front-end, including
9636 support for semicolons.
9638 Implemented the ACPI 3.0 Function() and ToUUID() macros
9640 Fixed a problem in the disassembler where a Scope() operator would not be
9641 emitted properly if the target of the scope was in another table.
9643 ----------------------------------------
9644 15 October 2004. Summary of changes for version 20041015:
9646 Note: ACPI CA is currently undergoing an in-depth and complete formal
9647 evaluation to test/verify the following areas. Other suggestions are
9648 welcome. This will result in an increase in the frequency of releases and
9649 the number of bug fixes in the next few months.
9650 - Functional tests for all ASL/AML operators
9651 - All implicit/explicit type conversions
9652 - Bit fields and operation regions
9653 - 64-bit math support and 32-bit-only "truncated" math support
9654 - Exceptional conditions, both compiler and interpreter
9655 - Dynamic object deletion and memory leaks
9656 - ACPI 3.0 support when implemented
9657 - External interfaces to the ACPI subsystem
9660 1) ACPI CA Core Subsystem:
9662 Fixed two alignment issues on 64-bit platforms - within debug statements
9664 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
9666 field within the non-aligned ACPI generic address structure.
9668 Fixed a problem in the Increment and Decrement operators where incorrect
9669 operand resolution could result in the inadvertent modification of the
9670 original integer when the integer is passed into another method as an
9671 argument and the arg is then incremented/decremented.
9673 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
9675 BCD number were truncated during conversion.
9677 Fixed a problem in the ToDecimal operator where the length of the
9679 string could be set incorrectly too long if the input operand was a
9683 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
9685 within a buffer would prematurely terminate a compare between buffer
9688 Added a check for string overflow (>200 characters as per the ACPI
9689 specification) during the Concatenate operator with two string operands.
9691 Code and Data Size: Current and previous core subsystem library sizes are
9692 shown below. These are the code and data sizes for the acpica.lib
9694 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9695 any ACPI driver or OSPM code. The debug version of the code includes the
9696 debug output trace mechanism and has a much larger code and data size.
9698 that these values will vary depending on the efficiency of the compiler
9700 the compiler options used during generation.
9703 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9704 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
9706 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9707 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
9711 2) iASL Compiler/Disassembler:
9713 Allow the use of the ObjectType operator on uninitialized Locals and Args
9714 (returns 0 as per the ACPI specification).
9716 Fixed a problem where the compiler would fault if there was a syntax
9718 in the FieldName of all of the various CreateXXXField operators.
9720 Disallow the use of lower case letters within the EISAID macro, as per
9722 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
9724 U is an uppercase letter and N is a hex digit.
9727 ----------------------------------------
9728 06 October 2004. Summary of changes for version 20041006:
9730 1) ACPI CA Core Subsystem:
9732 Implemented support for the ACPI 3.0 Timer operator. This ASL function
9733 implements a 64-bit timer with 100 nanosecond granularity.
9735 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
9736 implement the ACPI 3.0 Timer operator. This allows the host OS to
9738 the timer with the best clock available. Also, it keeps the core
9740 out of the clock handling business, since the host OS (usually) performs
9743 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
9744 functions use a 64-bit address which is part of the packed ACPI Generic
9745 Address Structure. Since the structure is non-aligned, the alignment
9747 are now used to extract the address to a local variable before use.
9749 Fixed a problem where the ToInteger operator assumed all input strings
9751 hexadecimal. The operator now handles both decimal strings and hex
9753 (prefixed with "0x").
9755 Fixed a problem where the string length in the string object created as a
9756 result of the internal ConvertToString procedure could be incorrect. This
9757 potentially affected all implicit conversions and also the
9759 and ToHexString operators.
9761 Fixed two problems in the ToString operator. If the length parameter was
9762 zero, an incorrect string object was created and the value of the input
9763 length parameter was inadvertently changed from zero to Ones.
9765 Fixed a problem where the optional ResourceSource string in the
9767 resource macro was ignored.
9769 Simplified the interfaces to the internal division functions, reducing
9771 size and complexity.
9773 Code and Data Size: Current and previous core subsystem library sizes are
9774 shown below. These are the code and data sizes for the acpica.lib
9776 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9777 any ACPI driver or OSPM code. The debug version of the code includes the
9778 debug output trace mechanism and has a much larger code and data size.
9780 that these values will vary depending on the efficiency of the compiler
9782 the compiler options used during generation.
9785 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
9786 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
9788 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9789 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
9792 2) iASL Compiler/Disassembler:
9794 Implemented support for the ACPI 3.0 Timer operator.
9796 Fixed a problem where the Default() operator was inadvertently ignored in
9798 Switch/Case block. This was a problem in the translation of the Switch
9799 statement to If...Else pairs.
9801 Added support to allow a standalone Return operator, with no parentheses
9805 Fixed a problem with code generation for the ElseIf operator where the
9806 translated Else...If parse tree was improperly constructed leading to the
9809 ----------------------------------------
9810 22 September 2004. Summary of changes for version 20040922:
9812 1) ACPI CA Core Subsystem:
9814 Fixed a problem with the implementation of the LNot() operator where
9816 was not returned for the TRUE case. Changed the code to return Ones
9818 of (!Arg) which was usually 1. This change affects iASL constant folding
9822 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
9824 initialized properly -- Now zero the entire buffer in this case where the
9825 buffer already exists.
9827 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
9828 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
9829 related code considerably. This will require changes/updates to all OS
9830 interface layers (OSLs.)
9832 Implemented a new external interface, AcpiInstallExceptionHandler, to
9834 a system exception handler to be installed. This handler is invoked upon
9836 run-time exception that occurs during control method execution.
9838 Added support for the DSDT in AcpiTbFindTable. This allows the
9839 DataTableRegion() operator to access the local copy of the DSDT.
9841 Code and Data Size: Current and previous core subsystem library sizes are
9842 shown below. These are the code and data sizes for the acpica.lib
9844 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9845 any ACPI driver or OSPM code. The debug version of the code includes the
9846 debug output trace mechanism and has a much larger code and data size.
9848 that these values will vary depending on the efficiency of the compiler
9850 the compiler options used during generation.
9853 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
9854 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
9856 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
9857 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
9860 2) iASL Compiler/Disassembler:
9862 Fixed a problem with constant folding and the LNot operator. LNot was
9863 returning 1 in the TRUE case, not Ones as per the ACPI specification.
9865 could result in the generation of an incorrect folded/reduced constant.
9867 End-Of-File is now allowed within a "//"-style comment. A parse error no
9868 longer occurs if such a comment is at the very end of the input ASL
9872 Implemented the "-r" option to override the Revision in the table header.
9873 The initial use of this option will be to simplify the evaluation of the
9875 interpreter by allowing a single ASL source module to be compiled for
9877 32-bit or 64-bit integers.
9880 ----------------------------------------
9881 27 August 2004. Summary of changes for version 20040827:
9883 1) ACPI CA Core Subsystem:
9885 - Implemented support for implicit object conversion in the non-numeric
9886 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
9888 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
9889 the second operand is implicitly converted on the fly to match the type
9891 the first operand. For example:
9893 LEqual (Source1, Source2)
9895 Source1 and Source2 must each evaluate to an integer, a string, or a
9897 The data type of Source1 dictates the required type of Source2. Source2
9899 implicitly converted if necessary to match the type of Source1.
9901 - Updated and corrected the behavior of the string conversion support.
9903 rules concerning conversion of buffers to strings (according to the ACPI
9904 specification) are as follows:
9906 ToDecimalString - explicit byte-wise conversion of buffer to string of
9907 decimal values (0-255) separated by commas. ToHexString - explicit byte-
9909 conversion of buffer to string of hex values (0-FF) separated by commas.
9910 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
9912 copy with no transform except NULL terminated. Any other implicit buffer-
9914 string conversion - byte-wise conversion of buffer to string of hex
9916 (0-FF) separated by spaces.
9918 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
9920 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
9922 one byte too short in the case of a node in the root scope. This could
9923 cause a fault during debug output.
9925 - Code and Data Size: Current and previous core subsystem library sizes
9927 shown below. These are the code and data sizes for the acpica.lib
9929 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9930 any ACPI driver or OSPM code. The debug version of the code includes the
9931 debug output trace mechanism and has a much larger code and data size.
9933 that these values will vary depending on the efficiency of the compiler
9935 the compiler options used during generation.
9938 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
9939 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
9941 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
9942 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
9945 2) iASL Compiler/Disassembler:
9947 - Fixed a Linux generation error.
9950 ----------------------------------------
9951 16 August 2004. Summary of changes for version 20040816:
9953 1) ACPI CA Core Subsystem:
9955 Designed and implemented support within the AML interpreter for the so-
9956 called "implicit return". This support returns the result of the last
9958 operation within a control method, in the absence of an explicit Return()
9959 operator. A few machines depend on this behavior, even though it is not
9960 explicitly supported by the ASL language. It is optional support that
9962 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
9964 Removed support for the PCI_Config address space from the internal low
9966 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
9967 support was not used internally, and would not work correctly anyway
9969 the PCI bus number and segment number were not supported. There are
9970 separate interfaces for PCI configuration space access because of the
9974 Code and Data Size: Current and previous core subsystem library sizes are
9975 shown below. These are the code and data sizes for the acpica.lib
9977 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9978 any ACPI driver or OSPM code. The debug version of the code includes the
9979 debug output trace mechanism and has a much larger code and data size.
9981 that these values will vary depending on the efficiency of the compiler
9983 the compiler options used during generation.
9986 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9987 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
9989 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
9990 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
9993 2) iASL Compiler/Disassembler:
9995 Fixed a problem where constants in ASL expressions at the root level (not
9996 within a control method) could be inadvertently truncated during code
9997 generation. This problem was introduced in the 20040715 release.
10000 ----------------------------------------
10001 15 July 2004. Summary of changes for version 20040715:
10003 1) ACPI CA Core Subsystem:
10005 Restructured the internal HW GPE interfaces to pass/track the current
10007 of interrupts (enabled/disabled) in order to avoid possible deadlock and
10008 increase flexibility of the interfaces.
10010 Implemented a "lexicographical compare" for String and Buffer objects
10012 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
10014 as per further clarification to the ACPI specification. Behavior is
10016 to C library "strcmp".
10018 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
10019 external function. In the 32-bit non-debug case, the stack use has been
10020 reduced from 168 bytes to 32 bytes.
10022 Deployed a new run-time configuration flag,
10023 AcpiGbl_EnableInterpreterSlack,
10024 whose purpose is to allow the AML interpreter to forgive certain bad AML
10025 constructs. Default setting is FALSE.
10027 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
10029 support code. If enabled, it allows field access to go beyond the end of
10031 region definition if the field is within the region length rounded up to
10033 next access width boundary (a common coding error.)
10035 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
10036 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
10038 symbols are lowercased by the latest version of the AcpiSrc tool.
10040 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
10041 rename "Register" to simply "Reg" to prevent certain compilers from
10044 Code and Data Size: Current and previous core subsystem library sizes are
10045 shown below. These are the code and data sizes for the acpica.lib
10047 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10048 any ACPI driver or OSPM code. The debug version of the code includes the
10049 debug output trace mechanism and has a much larger code and data size.
10051 that these values will vary depending on the efficiency of the compiler
10053 the compiler options used during generation.
10056 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
10057 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
10059 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
10060 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
10063 2) iASL Compiler/Disassembler:
10065 Implemented full support for Package objects within the Case() operator.
10066 Note: The Break() operator is currently not supported within Case blocks
10067 (TermLists) as there is some question about backward compatibility with
10072 Fixed a problem where complex terms were not supported properly within
10076 Eliminated extraneous warning for compiler-emitted reserved names of the
10077 form "_T_x". (Used in Switch/Case operators.)
10079 Eliminated optimization messages for "_T_x" objects and small constants
10080 within the DefinitionBlock operator.
10083 ----------------------------------------
10084 15 June 2004. Summary of changes for version 20040615:
10086 1) ACPI CA Core Subsystem:
10088 Implemented support for Buffer and String objects (as per ACPI 2.0) for
10090 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
10093 All directory names in the entire source package are lower case, as they
10094 were in earlier releases.
10096 Implemented "Disassemble" command in the AML debugger that will
10098 a single control method.
10100 Code and Data Size: Current and previous core subsystem library sizes are
10101 shown below. These are the code and data sizes for the acpica.lib
10103 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10104 any ACPI driver or OSPM code. The debug version of the code includes the
10105 debug output trace mechanism and has a much larger code and data size.
10107 that these values will vary depending on the efficiency of the compiler
10109 the compiler options used during generation.
10112 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
10113 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
10116 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
10117 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
10120 2) iASL Compiler/Disassembler:
10122 Implemented support for Buffer and String objects (as per ACPI 2.0) for
10124 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
10127 All directory names in the entire source package are lower case, as they
10128 were in earlier releases.
10130 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
10133 Fixed an issue with the Windows version of the compiler where later
10135 of Windows place the FADT in the registry under the name "FADT" and not
10136 "FACP" as earlier versions did. This applies when using the -g or -
10137 d<nofilename> options. The compiler now looks for both strings as
10140 Fixed a problem with compiler namepath optimization where a namepath
10142 the Scope() operator could not be optimized if the namepath was a subpath
10144 the current scope path.
10146 ----------------------------------------
10147 27 May 2004. Summary of changes for version 20040527:
10149 1) ACPI CA Core Subsystem:
10151 Completed a new design and implementation for EBDA (Extended BIOS Data
10153 support in the RSDP scan code. The original code improperly scanned for
10155 EBDA by simply scanning from memory location 0 to 0x400. The correct
10157 is to first obtain the EBDA pointer from within the BIOS data area, then
10158 scan 1K of memory starting at the EBDA pointer. There appear to be few
10160 any machines that place the RSDP in the EBDA, however.
10162 Integrated a fix for a possible fault during evaluation of BufferField
10163 arguments. Obsolete code that was causing the problem was removed.
10165 Found and fixed a problem in the Field Support Code where data could be
10166 corrupted on a bit field read that starts on an aligned boundary but does
10167 not end on an aligned boundary. Merged the read/write "datum length"
10168 calculation code into a common procedure.
10170 Rolled in a couple of changes to the FreeBSD-specific header.
10173 Code and Data Size: Current and previous core subsystem library sizes are
10174 shown below. These are the code and data sizes for the acpica.lib
10176 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10177 any ACPI driver or OSPM code. The debug version of the code includes the
10178 debug output trace mechanism and has a much larger code and data size.
10180 that these values will vary depending on the efficiency of the compiler
10182 the compiler options used during generation.
10185 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10186 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
10188 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
10189 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
10192 2) iASL Compiler/Disassembler:
10194 Fixed a generation warning produced by some overly-verbose compilers for
10198 ----------------------------------------
10199 14 May 2004. Summary of changes for version 20040514:
10201 1) ACPI CA Core Subsystem:
10203 Fixed a problem where hardware GPE enable bits sometimes not set properly
10204 during and after GPE method execution. Result of 04/27 changes.
10206 Removed extra "clear all GPEs" when sleeping/waking.
10208 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
10209 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
10211 the new AcpiEv* calls as appropriate.
10213 ACPI_OS_NAME was removed from the OS-specific headers. The default name
10215 now "Microsoft Windows NT" for maximum compatibility. However this can
10217 changed by modifying the acconfig.h file.
10219 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
10220 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
10222 Run _INI methods on ThermalZone objects. This is against the ACPI
10223 specification, but there is apparently ASL code in the field that has
10225 _INI methods, and apparently "other" AML interpreters execute them.
10227 Performed a full 16/32/64 bit lint that resulted in some small changes.
10229 Added a sleep simulation command to the AML debugger to test sleep code.
10231 Code and Data Size: Current and previous core subsystem library sizes are
10232 shown below. These are the code and data sizes for the acpica.lib
10234 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10235 any ACPI driver or OSPM code. The debug version of the code includes the
10236 debug output trace mechanism and has a much larger code and data size.
10238 that these values will vary depending on the efficiency of the compiler
10240 the compiler options used during generation.
10243 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10244 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
10246 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10247 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
10249 ----------------------------------------
10250 27 April 2004. Summary of changes for version 20040427:
10252 1) ACPI CA Core Subsystem:
10254 Completed a major overhaul of the GPE handling within ACPI CA. There are
10255 now three types of GPEs: wake-only, runtime-only, and combination
10257 The only GPEs allowed to be combination wake/run are for button-style
10258 devices such as a control-method power button, control-method sleep
10260 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
10262 referenced by any _PRW methods are marked for "runtime" and hardware
10263 enabled. Any GPE that is referenced by a _PRW method is marked for
10265 (and disabled at runtime). However, at sleep time, only those GPEs that
10266 have been specifically enabled for wake via the AcpiEnableGpe interface
10268 actually be hardware enabled.
10270 A new external interface has been added, AcpiSetGpeType(), that is meant
10272 be used by device drivers to force a GPE to a particular type. It will
10274 especially useful for the drivers for the button devices mentioned above.
10276 Completed restructuring of the ACPI CA initialization sequence so that
10277 default operation region handlers are installed before GPEs are
10279 and the _PRW methods are executed. This will prevent errors when the
10281 methods attempt to access system memory or I/O space.
10283 GPE enable/disable no longer reads the GPE enable register. We now keep
10285 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
10286 thus no longer depend on the hardware to maintain these bits.
10288 Always clear the wake status and fixed/GPE status bits before sleep, even
10291 Improved the AML debugger output for displaying the GPE blocks and their
10294 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
10298 Fixed a problem where the physical address was incorrectly calculated
10300 the Load() operator was used to directly load from an Operation Region
10302 loading from a Field object.) Also added check for minimum table length
10306 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
10309 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
10310 consistency with the other fields returned.
10312 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
10313 structure for each GPE in the system, so the size of this structure is
10316 CPU stack requirement reduction: Cleaned up the method execution and
10318 evaluation paths so that now a parameter structure is passed, instead of
10319 copying the various method parameters over and over again.
10321 In evregion.c: Correctly exit and reenter the interpreter region if and
10322 only if dispatching an operation region request to a user-installed
10324 Do not exit/reenter when dispatching to a default handler (e.g., default
10325 system memory or I/O handlers)
10328 Notes for updating drivers for the new GPE support. The following
10330 must be made to ACPI-related device drivers that are attached to one or
10332 GPEs: (This information will be added to the ACPI CA Programmer
10335 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
10337 explicitly call AcpiEnableGpe.
10338 2) There is a new interface called AcpiSetGpeType. This should be called
10339 before enabling the GPE. Also, this interface will automatically disable
10340 the GPE if it is currently enabled.
10341 3) AcpiEnableGpe no longer supports a GPE type flag.
10343 Specific drivers that must be changed:
10345 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
10346 AeGpeHandler, NULL);
10347 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
10348 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
10350 2) Button Drivers (Power, Lid, Sleep):
10351 Run _PRW method under parent device
10352 If _PRW exists: /* This is a control-method button */
10353 Extract GPE number and possibly GpeDevice
10354 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
10355 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
10357 For all other devices that have _PRWs, we automatically set the GPE type
10359 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
10361 must be done on a selective basis, usually requiring some kind of user
10363 to allow the user to pick the wake devices.
10366 Code and Data Size: Current and previous core subsystem library sizes are
10367 shown below. These are the code and data sizes for the acpica.lib
10369 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10370 any ACPI driver or OSPM code. The debug version of the code includes the
10371 debug output trace mechanism and has a much larger code and data size.
10373 that these values will vary depending on the efficiency of the compiler
10375 the compiler options used during generation.
10378 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
10379 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
10382 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10383 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
10387 ----------------------------------------
10388 02 April 2004. Summary of changes for version 20040402:
10390 1) ACPI CA Core Subsystem:
10392 Fixed an interpreter problem where an indirect store through an ArgX
10393 parameter was incorrectly applying the "implicit conversion rules" during
10394 the store. From the ACPI specification: "If the target is a method local
10396 argument (LocalX or ArgX), no conversion is performed and the result is
10397 stored directly to the target". The new behavior is to disable implicit
10398 conversion during ALL stores to an ArgX.
10400 Changed the behavior of the _PRW method scan to ignore any and all errors
10401 returned by a given _PRW. This prevents the scan from aborting from the
10402 failure of any single _PRW.
10404 Moved the runtime configuration parameters from the global init procedure
10406 static variables in acglobal.h. This will allow the host to override the
10407 default values easily.
10409 Code and Data Size: Current and previous core subsystem library sizes are
10410 shown below. These are the code and data sizes for the acpica.lib
10412 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10413 any ACPI driver or OSPM code. The debug version of the code includes the
10414 debug output trace mechanism and has a much larger code and data size.
10416 that these values will vary depending on the efficiency of the compiler
10418 the compiler options used during generation.
10421 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
10422 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
10424 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
10425 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
10428 2) iASL Compiler/Disassembler:
10430 iASL now fully disassembles SSDTs. However, External() statements are
10432 generated automatically for unresolved symbols at this time. This is a
10433 planned feature for future implementation.
10435 Fixed a scoping problem in the disassembler that occurs when the type of
10437 target of a Scope() operator is overridden. This problem caused an
10438 incorrectly nested internal namespace to be constructed.
10440 Any warnings or errors that are emitted during disassembly are now
10442 out automatically so that the resulting file can be recompiled without
10446 ----------------------------------------
10447 26 March 2004. Summary of changes for version 20040326:
10449 1) ACPI CA Core Subsystem:
10451 Implemented support for "wake" GPEs via interaction between GPEs and the
10452 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
10453 identified as a WAKE GPE and by default will no longer be enabled at
10454 runtime. Previously, we were blindly enabling all GPEs with a
10456 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
10458 believe this has been the cause of thousands of "spurious" GPEs on some
10461 This new GPE behavior is can be reverted to the original behavior (enable
10462 ALL GPEs at runtime) via a runtime flag.
10464 Fixed a problem where aliased control methods could not access objects
10465 properly. The proper scope within the namespace was not initialized
10466 (transferred to the target of the aliased method) before executing the
10469 Fixed a potential race condition on internal object deletion on the
10471 object in AcpiEvaluateObject.
10473 Integrated a fix for resource descriptors where both _MEM and _MTP were
10474 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
10475 wide, 0x0F instead of 0x03.)
10477 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
10480 fault in some cases.
10482 Updated Notify() values for debug statements in evmisc.c
10484 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
10486 Code and Data Size: Current and previous core subsystem library sizes are
10487 shown below. These are the code and data sizes for the acpica.lib
10489 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10490 any ACPI driver or OSPM code. The debug version of the code includes the
10491 debug output trace mechanism and has a much larger code and data size.
10493 that these values will vary depending on the efficiency of the compiler
10495 the compiler options used during generation.
10499 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
10500 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
10502 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
10503 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
10505 ----------------------------------------
10506 11 March 2004. Summary of changes for version 20040311:
10508 1) ACPI CA Core Subsystem:
10510 Fixed a problem where errors occurring during the parse phase of control
10511 method execution did not abort cleanly. For example, objects created and
10512 installed in the namespace were not deleted. This caused all subsequent
10513 invocations of the method to return the AE_ALREADY_EXISTS exception.
10515 Implemented a mechanism to force a control method to "Serialized"
10517 if the method attempts to create namespace objects. (The root of the
10518 AE_ALREADY_EXISTS problem.)
10520 Implemented support for the predefined _OSI "internal" control method.
10521 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
10523 "Windows 2001.1", and can be easily upgraded for new strings as
10525 This feature will allow "other" operating systems to execute the fully
10526 tested, "Windows" code path through the ASL code
10528 Global Lock Support: Now allows multiple acquires and releases with any
10529 internal thread. Removed concept of "owning thread" for this special
10532 Fixed two functions that were inappropriately declaring large objects on
10534 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
10536 method execution considerably.
10538 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
10539 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
10541 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
10542 defined on the machine.
10544 Implemented two runtime options: One to force all control method
10546 to "Serialized" to mimic Windows behavior, another to disable _OSI
10548 if it causes problems on a given machine.
10550 Code and Data Size: Current and previous core subsystem library sizes are
10551 shown below. These are the code and data sizes for the acpica.lib
10553 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10554 any ACPI driver or OSPM code. The debug version of the code includes the
10555 debug output trace mechanism and has a much larger code and data size.
10557 that these values will vary depending on the efficiency of the compiler
10559 the compiler options used during generation.
10562 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
10563 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
10565 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
10566 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
10568 2) iASL Compiler/Disassembler:
10570 Fixed an array size problem for FreeBSD that would cause the compiler to
10573 ----------------------------------------
10574 20 February 2004. Summary of changes for version 20040220:
10577 1) ACPI CA Core Subsystem:
10579 Implemented execution of _SxD methods for Device objects in the
10580 GetObjectInfo interface.
10582 Fixed calls to _SST method to pass the correct arguments.
10584 Added a call to _SST on wake to restore to "working" state.
10586 Check for End-Of-Buffer failure case in the WalkResources interface.
10588 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
10589 structures to the beginning of the file.
10591 After wake, clear GPE status register(s) before enabling GPEs.
10593 After wake, clear/enable power button. (Perhaps we should clear/enable
10595 fixed events upon wake.)
10597 Fixed a couple of possible memory leaks in the Namespace manager.
10599 Integrated latest acnetbsd.h file.
10601 ----------------------------------------
10602 11 February 2004. Summary of changes for version 20040211:
10605 1) ACPI CA Core Subsystem:
10607 Completed investigation and implementation of the call-by-reference
10608 mechanism for control method arguments.
10610 Fixed a problem where a store of an object into an indexed package could
10611 fail if the store occurs within a different method than the method that
10612 created the package.
10614 Fixed a problem where the ToDecimal operator could return incorrect
10617 Fixed a problem where the CopyObject operator could fail on some of the
10619 obscure objects (e.g., Reference objects.)
10621 Improved the output of the Debug object to display buffer, package, and
10624 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
10626 the expected result.
10628 Added permanent ACPI_REPORT_ERROR macros for all instances of the
10629 ACPI_AML_INTERNAL exception.
10631 Integrated latest version of acfreebsd.h
10633 ----------------------------------------
10634 16 January 2004. Summary of changes for version 20040116:
10636 The purpose of this release is primarily to update the copyright years in
10637 each module, thus causing a huge number of diffs. There are a few small
10638 functional changes, however.
10640 1) ACPI CA Core Subsystem:
10642 Improved error messages when there is a problem finding one or more of
10644 required base ACPI tables
10646 Reintroduced the definition of APIC_HEADER in actbl.h
10648 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
10650 Removed extraneous reference to NewObj in dsmthdat.c
10654 Fixed a problem introduced in December that disabled the correct
10656 of Resource Templates
10659 ----------------------------------------
10660 03 December 2003. Summary of changes for version 20031203:
10662 1) ACPI CA Core Subsystem:
10664 Changed the initialization of Operation Regions during subsystem
10665 init to perform two entire walks of the ACPI namespace; The first
10666 to initialize the regions themselves, the second to execute the
10667 _REG methods. This fixed some interdependencies across _REG
10668 methods found on some machines.
10670 Fixed a problem where a Store(Local0, Local1) could simply update
10671 the object reference count, and not create a new copy of the
10672 object if the Local1 is uninitialized.
10674 Implemented support for the _SST reserved method during sleep
10677 Implemented support to clear the SLP_TYP and SLP_EN bits when
10678 waking up, this is apparently required by some machines.
10680 When sleeping, clear the wake status only if SleepState is not S5.
10682 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
10683 pointer arithmetic advanced a string pointer too far.
10685 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
10686 could be returned if the requested table has not been loaded.
10688 Within the support for IRQ resources, restructured the handling of
10689 the active and edge/level bits.
10691 Fixed a few problems in AcpiPsxExecute() where memory could be
10692 leaked under certain error conditions.
10694 Improved error messages for the cases where the ACPI mode could
10697 Code and Data Size: Current and previous core subsystem library
10698 sizes are shown below. These are the code and data sizes for the
10699 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10700 these values do not include any ACPI driver or OSPM code. The
10701 debug version of the code includes the debug output trace
10702 mechanism and has a much larger code and data size. Note that
10703 these values will vary depending on the efficiency of the compiler
10704 and the compiler options used during generation.
10706 Previous Release (20031029):
10707 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
10708 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
10710 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
10711 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
10713 2) iASL Compiler/Disassembler:
10715 Implemented a fix for the iASL disassembler where a bad index was
10716 generated. This was most noticeable on 64-bit platforms
10719 ----------------------------------------
10720 29 October 2003. Summary of changes for version 20031029:
10722 1) ACPI CA Core Subsystem:
10725 Fixed a problem where a level-triggered GPE with an associated
10726 _Lxx control method was incorrectly cleared twice.
10728 Fixed a problem with the Field support code where an access can
10729 occur beyond the end-of-region if the field is non-aligned but
10730 extends to the very end of the parent region (resulted in an
10731 AE_AML_REGION_LIMIT exception.)
10733 Fixed a problem with ACPI Fixed Events where an RT Clock handler
10734 would not get invoked on an RTC event. The RTC event bitmasks for
10735 the PM1 registers were not being initialized properly.
10737 Implemented support for executing _STA and _INI methods for
10738 Processor objects. Although this is currently not part of the
10739 ACPI specification, there is existing ASL code that depends on the
10740 init-time execution of these methods.
10742 Implemented and deployed a GetDescriptorName function to decode
10743 the various types of internal descriptors. Guards against null
10744 descriptors during debug output also.
10746 Implemented and deployed a GetNodeName function to extract the 4-
10747 character namespace node name. This function simplifies the debug
10748 and error output, as well as guarding against null pointers during
10751 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
10752 simplify the debug and error output of 64-bit integers. This
10753 macro replaces the HIDWORD and LODWORD macros for dumping these
10756 Updated the implementation of the Stall() operator to only call
10757 AcpiOsStall(), and also return an error if the operand is larger
10758 than 255. This preserves the required behavior of not
10759 relinquishing the processor, as would happen if AcpiOsSleep() was
10760 called for "long stalls".
10762 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
10763 initialized are now treated as NOOPs.
10765 Cleaned up a handful of warnings during 64-bit generation.
10767 Fixed a reported error where and incorrect GPE number was passed
10768 to the GPE dispatch handler. This value is only used for error
10769 output, however. Used this opportunity to clean up and streamline
10770 the GPE dispatch code.
10772 Code and Data Size: Current and previous core subsystem library
10773 sizes are shown below. These are the code and data sizes for the
10774 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10775 these values do not include any ACPI driver or OSPM code. The
10777 debug version of the code includes the debug output trace
10778 mechanism and has a much larger code and data size. Note that
10779 these values will vary depending on the efficiency of the compiler
10780 and the compiler options used during generation.
10782 Previous Release (20031002):
10783 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
10784 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
10786 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
10787 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
10790 2) iASL Compiler/Disassembler:
10792 Updated the iASL compiler to return an error if the operand to the
10793 Stall() operator is larger than 255.
10796 ----------------------------------------
10797 02 October 2003. Summary of changes for version 20031002:
10800 1) ACPI CA Core Subsystem:
10802 Fixed a problem with Index Fields where the index was not
10803 incremented for fields that require multiple writes to the
10804 index/data registers (Fields that are wider than the data
10807 Fixed a problem with all Field objects where a write could go
10808 beyond the end-of-field if the field was larger than the access
10809 granularity and therefore required multiple writes to complete the
10810 request. An extra write beyond the end of the field could happen
10813 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
10814 would incorrectly be returned if the width of the Data Register
10815 was larger than the specified field access width.
10817 Completed fixes for LoadTable() and Unload() and verified their
10818 operation. Implemented full support for the "DdbHandle" object
10819 throughout the ACPI CA subsystem.
10821 Implemented full support for the MADT and ECDT tables in the ACPI
10822 CA header files. Even though these tables are not directly
10823 consumed by ACPI CA, the header definitions are useful for ACPI
10826 Integrated resource descriptor fixes posted to the Linux ACPI
10827 list. This included checks for minimum descriptor length, and
10828 support for trailing NULL strings within descriptors that have
10829 optional string elements.
10831 Code and Data Size: Current and previous core subsystem library
10832 sizes are shown below. These are the code and data sizes for the
10833 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10834 these values do not include any ACPI driver or OSPM code. The
10835 debug version of the code includes the debug output trace
10836 mechanism and has a much larger code and data size. Note that
10837 these values will vary depending on the efficiency of the compiler
10838 and the compiler options used during generation.
10840 Previous Release (20030918):
10841 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
10842 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
10844 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
10845 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
10850 Implemented detection of non-ASCII characters within the input
10851 source ASL file. This catches attempts to compile binary (AML)
10852 files early in the compile, with an informative error message.
10854 Fixed a problem where the disassembler would fault if the output
10855 filename could not be generated or if the output file could not be
10858 ----------------------------------------
10859 18 September 2003. Summary of changes for version 20030918:
10862 1) ACPI CA Core Subsystem:
10864 Found and fixed a longstanding problem with the late execution of
10865 the various deferred AML opcodes (such as Operation Regions,
10866 Buffer Fields, Buffers, and Packages). If the name string
10867 specified for the name of the new object placed the object in a
10868 scope other than the current scope, the initialization/execution
10869 of the opcode failed. The solution to this problem was to
10870 implement a mechanism where the late execution of such opcodes
10871 does not attempt to lookup/create the name a second time in an
10872 incorrect scope. This fixes the "region size computed
10873 incorrectly" problem.
10875 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
10876 Global Lock AE_BAD_PARAMETER error.
10878 Fixed several 64-bit issues with prototypes, casting and data
10881 Removed duplicate prototype from acdisasm.h
10883 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
10885 Code and Data Size: Current and previous core subsystem library
10886 sizes are shown below. These are the code and data sizes for the
10887 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10888 these values do not include any ACPI driver or OSPM code. The
10889 debug version of the code includes the debug output trace
10890 mechanism and has a much larger code and data size. Note that
10891 these values will vary depending on the efficiency of the compiler
10892 and the compiler options used during generation.
10896 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
10897 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
10899 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
10900 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
10905 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
10906 correct sleep time in seconds.
10908 ----------------------------------------
10909 14 July 2003. Summary of changes for version 20030619:
10911 1) ACPI CA Core Subsystem:
10913 Parse SSDTs in order discovered, as opposed to reverse order
10916 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
10923 Dynamically allocate SDT list (suggested by Andi Kleen)
10925 proc function return value cleanups (Andi Kleen)
10927 Correctly handle NMI watchdog during long stalls (Andrew Morton)
10929 Make it so acpismp=force works (reported by Andrew Morton)
10932 ----------------------------------------
10933 19 June 2003. Summary of changes for version 20030619:
10935 1) ACPI CA Core Subsystem:
10937 Fix To/FromBCD, eliminating the need for an arch-specific #define.
10939 Do not acquire a semaphore in the S5 shutdown path.
10941 Fix ex_digits_needed for 0. (Takayoshi Kochi)
10943 Fix sleep/stall code reversal. (Andi Kleen)
10945 Revert a change having to do with control method calling
10950 acpiphp update (Takayoshi Kochi)
10952 Export acpi_disabled for sonypi (Stelian Pop)
10954 Mention acpismp=force in config help
10956 Re-add acpitable.c and acpismp=force. This improves backwards
10958 compatibility and also cleans up the code to a significant degree.
10960 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
10962 ----------------------------------------
10963 22 May 2003. Summary of changes for version 20030522:
10965 1) ACPI CA Core Subsystem:
10967 Found and fixed a reported problem where an AE_NOT_FOUND error
10968 occurred occasionally during _BST evaluation. This turned out to
10969 be an Owner ID allocation issue where a called method did not get
10970 a new ID assigned to it. Eventually, (after 64k calls), the Owner
10971 ID UINT16 would wraparound so that the ID would be the same as the
10972 caller's and the called method would delete the caller's
10975 Implemented extended error reporting for control methods that are
10976 aborted due to a run-time exception. Output includes the exact
10977 AML instruction that caused the method abort, a dump of the method
10978 locals and arguments at the time of the abort, and a trace of all
10979 nested control method calls.
10981 Modified the interpreter to allow the creation of buffers of zero
10982 length from the AML code. Implemented new code to ensure that no
10983 attempt is made to actually allocate a memory buffer (of length
10984 zero) - instead, a simple buffer object with a NULL buffer pointer
10985 and length zero is created. A warning is no longer issued when
10986 the AML attempts to create a zero-length buffer.
10988 Implemented a workaround for the "leading asterisk issue" in
10989 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
10990 asterisk is automatically removed if present in any HID, UID, or
10991 CID strings. The iASL compiler will still flag this asterisk as
10994 Implemented full support for _CID methods that return a package of
10995 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
10996 now additionally returns a device _CID list if present. This
10997 required a change to the external interface in order to pass an
10998 ACPI_BUFFER object as a parameter since the _CID list is of
11001 Fixed a problem with the new AE_SAME_HANDLER exception where
11002 handler initialization code did not know about this exception.
11004 Code and Data Size: Current and previous core subsystem library
11005 sizes are shown below. These are the code and data sizes for the
11006 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
11007 these values do not include any ACPI driver or OSPM code. The
11008 debug version of the code includes the debug output trace
11009 mechanism and has a much larger code and data size. Note that
11010 these values will vary depending on the efficiency of the compiler
11011 and the compiler options used during generation.
11013 Previous Release (20030509):
11014 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
11015 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
11017 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
11018 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
11023 Fixed a bug in which we would reinitialize the ACPI interrupt
11024 after it was already working, thus disabling all ACPI and the IRQs
11025 for any other device sharing the interrupt. (Thanks to Stian
11028 Toshiba driver update (John Belmonte)
11030 Return only 0 or 1 for our interrupt handler status (Andrew
11036 Fixed a reported problem where multiple (nested) ElseIf()
11037 statements were not handled correctly by the compiler, resulting
11038 in incorrect warnings and incorrect AML code. This was a problem
11039 in both the ASL parser and the code generator.
11044 Added changes to existing interfaces, new exception codes, and new
11045 text concerning reference count object management versus garbage
11048 ----------------------------------------
11049 09 May 2003. Summary of changes for version 20030509.
11052 1) ACPI CA Core Subsystem:
11054 Changed the subsystem initialization sequence to hold off
11055 installation of address space handlers until the hardware has been
11056 initialized and the system has entered ACPI mode. This is because
11057 the installation of space handlers can cause _REG methods to be
11058 run. Previously, the _REG methods could potentially be run before
11059 ACPI mode was enabled.
11061 Fixed some memory leak issues related to address space handler and
11062 notify handler installation. There were some problems with the
11063 reference count mechanism caused by the fact that the handler
11064 objects are shared across several namespace objects.
11066 Fixed a reported problem where reference counts within the
11067 namespace were not properly updated when named objects created by
11068 method execution were deleted.
11070 Fixed a reported problem where multiple SSDTs caused a deletion
11071 issue during subsystem termination. Restructured the table data
11072 structures to simplify the linked lists and the related code.
11074 Fixed a problem where the table ID associated with secondary
11075 tables (SSDTs) was not being propagated into the namespace objects
11076 created by those tables. This would only present a problem for
11077 tables that are unloaded at run-time, however.
11079 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
11080 type as the length parameter (instead of UINT32).
11082 Solved a long-standing problem where an ALREADY_EXISTS error
11083 appears on various systems. This problem could happen when there
11084 are multiple PCI_Config operation regions under a single PCI root
11085 bus. This doesn't happen very frequently, but there are some
11086 systems that do this in the ASL.
11088 Fixed a reported problem where the internal DeleteNode function
11089 was incorrectly handling the case where a namespace node was the
11090 first in the parent's child list, and had additional peers (not
11091 the only child, but first in the list of children.)
11093 Code and Data Size: Current core subsystem library sizes are shown
11094 below. These are the code and data sizes for the acpica.lib
11095 produced by the Microsoft Visual C++ 6.0 compiler, and these
11096 values do not include any ACPI driver or OSPM code. The debug
11097 version of the code includes the debug output trace mechanism and
11098 has a much larger code and data size. Note that these values will
11099 vary depending on the efficiency of the compiler and the compiler
11100 options used during generation.
11103 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
11104 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
11106 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
11107 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
11112 Allow ":" in OS override string (Ducrot Bruno)
11114 Kobject fix (Greg KH)
11117 3 iASL Compiler/Disassembler:
11119 Fixed a problem in the generation of the C source code files (AML
11120 is emitted in C source statements for BIOS inclusion) where the
11121 Ascii dump that appears within a C comment at the end of each line
11122 could cause a compile time error if the AML sequence happens to
11123 have an open comment or close comment sequence embedded.
11126 ----------------------------------------
11127 24 April 2003. Summary of changes for version 20030424.
11130 1) ACPI CA Core Subsystem:
11132 Support for big-endian systems has been implemented. Most of the
11133 support has been invisibly added behind big-endian versions of the
11134 ACPI_MOVE_* macros.
11136 Fixed a problem in AcpiHwDisableGpeBlock() and
11137 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
11138 low level hardware write routine. The offset parameter was
11139 actually eliminated from the low level read/write routines because
11140 they had become obsolete.
11142 Fixed a problem where a handler object was deleted twice during
11143 the removal of a fixed event handler.
11148 A fix for SMP systems with link devices was contributed by
11152 (2.5) Return whether we handled the interrupt in our IRQ handler.
11153 (Linux ISRs no longer return void, so we can propagate the handler
11154 return value from the ACPI CA core back to the OS.)
11160 The ACPI CA Programmer Reference has been updated to reflect new
11161 interfaces and changes to existing interfaces.
11163 ----------------------------------------
11164 28 March 2003. Summary of changes for version 20030328.
11166 1) ACPI CA Core Subsystem:
11168 The GPE Block Device support has been completed. New interfaces
11169 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
11170 interfaces (enable, disable, clear, getstatus) have been split
11171 into separate interfaces for Fixed Events and General Purpose
11172 Events (GPEs) in order to support GPE Block Devices properly.
11174 Fixed a problem where the error message "Failed to acquire
11175 semaphore" would appear during operations on the embedded
11178 Code and Data Size: Current core subsystem library sizes are shown
11179 below. These are the code and data sizes for the acpica.lib
11180 produced by the Microsoft Visual C++ 6.0 compiler, and these
11181 values do not include any ACPI driver or OSPM code. The debug
11182 version of the code includes the debug output trace mechanism and
11183 has a much larger code and data size. Note that these values will
11184 vary depending on the efficiency of the compiler and the compiler
11185 options used during generation.
11188 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
11189 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
11191 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
11192 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
11195 ----------------------------------------
11196 28 February 2003. Summary of changes for version 20030228.
11199 1) ACPI CA Core Subsystem:
11201 The GPE handling and dispatch code has been completely overhauled
11202 in preparation for support of GPE Block Devices (ID ACPI0006).
11203 This affects internal data structures and code only; there should
11204 be no differences visible externally. One new file has been
11207 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
11208 fields that are used to determine the GPE block lengths. The
11209 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
11210 structures are ignored. This is per the ACPI specification but it
11211 isn't very clear. The full 256 Block 0/1 GPEs are now supported
11212 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
11214 In the SCI interrupt handler, removed the read of the PM1_CONTROL
11215 register to look at the SCI_EN bit. On some machines, this read
11216 causes an SMI event and greatly slows down SCI events. (This may
11217 in fact be the cause of slow battery status response on some
11220 Fixed a problem where a store of a NULL string to a package object
11221 could cause the premature deletion of the object. This was seen
11222 during execution of the battery _BIF method on some systems,
11223 resulting in no battery data being returned.
11225 Added AcpiWalkResources interface to simplify parsing of resource
11228 Code and Data Size: Current core subsystem library sizes are shown
11229 below. These are the code and data sizes for the acpica.lib
11230 produced by the Microsoft Visual C++ 6.0 compiler, and these
11231 values do not include any ACPI driver or OSPM code. The debug
11232 version of the code includes the debug output trace mechanism and
11233 has a much larger code and data size. Note that these values will
11234 vary depending on the efficiency of the compiler and the compiler
11235 options used during generation.
11238 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11239 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11241 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
11242 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
11247 S3 fixes (Ole Rohne)
11249 Update ACPI PHP driver with to use new acpi_walk_resource API
11252 Add S4BIOS support (Pavel Machek)
11254 Map in entire table before performing checksum (John Stultz)
11256 Expand the mem= cmdline to allow the specification of reserved and
11257 ACPI DATA blocks (Pavel Machek)
11259 Never use ACPI on VISWS
11261 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
11263 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
11264 causing us to think that some systems support C2 when they really
11267 Do not count processor objects for non-present CPUs (Thanks to
11273 Fixed a problem where ASL include files could not be found and
11276 Added support for the _PDC reserved name.
11279 ----------------------------------------
11280 22 January 2003. Summary of changes for version 20030122.
11283 1) ACPI CA Core Subsystem:
11285 Added a check for constructs of the form: Store (Local0, Local0)
11286 where Local0 is not initialized. Apparently, some BIOS
11287 programmers believe that this is a NOOP. Since this store doesn't
11288 do anything anyway, the new prototype behavior will ignore this
11289 error. This is a case where we can relax the strict checking in
11290 the interpreter in the name of compatibility.
11295 The AcpiSrc Source Conversion Utility has been released with the
11296 Linux package for the first time. This is the utility that is
11297 used to convert the ACPI CA base source code to the Linux version.
11299 (Both) Handle P_BLK lengths shorter than 6 more gracefully
11301 (Both) Move more headers to include/acpi, and delete an unused
11304 (Both) Move drivers/acpi/include directory to include/acpi
11306 (Both) Boot functions don't use cmdline, so don't pass it around
11308 (Both) Remove include of unused header (Adrian Bunk)
11310 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
11312 former now also includes the latter, acpiphp.h only needs the one,
11315 (2.5) Make it possible to select method of bios restoring after S3
11316 resume. [=> no more ugly ifdefs] (Pavel Machek)
11318 (2.5) Make proc write interfaces work (Pavel Machek)
11320 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
11322 (2.5) Break out ACPI Perf code into its own module, under cpufreq
11323 (Dominik Brodowski)
11325 (2.4) S4BIOS support (Ducrot Bruno)
11327 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
11333 Added support to disassemble SSDT and PSDTs.
11335 Implemented support to obtain SSDTs from the Windows registry if
11339 ----------------------------------------
11340 09 January 2003. Summary of changes for version 20030109.
11342 1) ACPI CA Core Subsystem:
11344 Changed the behavior of the internal Buffer-to-String conversion
11345 function. The current ACPI specification states that the contents
11346 of the buffer are "converted to a string of two-character
11347 hexadecimal numbers, each separated by a space". Unfortunately,
11348 this definition is not backwards compatible with existing ACPI 1.0
11349 implementations (although the behavior was not defined in the ACPI
11350 1.0 specification). The new behavior simply copies data from the
11351 buffer to the string until a null character is found or the end of
11352 the buffer is reached. The new String object is always null
11353 terminated. This problem was seen during the generation of _BIF
11354 battery data where incorrect strings were returned for battery
11355 type, etc. This will also require an errata to the ACPI
11358 Renamed all instances of NATIVE_UINT and NATIVE_INT to
11359 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
11361 Copyright in all module headers (both Linux and non-Linux) has be
11364 Code and Data Size: Current core subsystem library sizes are shown
11365 below. These are the code and data sizes for the acpica.lib
11366 produced by the Microsoft Visual C++ 6.0 compiler, and these
11367 values do not include any ACPI driver or OSPM code. The debug
11368 version of the code includes the debug output trace mechanism and
11369 has a much larger code and data size. Note that these values will
11370 vary depending on the efficiency of the compiler and the compiler
11371 options used during generation.
11374 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11375 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11377 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11378 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11383 Fixed an oops on module insertion/removal (Matthew Tippett)
11385 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
11387 (2.5) Replace pr_debug (Randy Dunlap)
11389 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
11391 (Both) Eliminate spawning of thread from timer callback, in favor
11394 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
11396 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
11398 (Both) Add missing statics to button.c (Pavel Machek)
11400 Several changes have been made to the source code translation
11401 utility that generates the Linux Code in order to make the code
11404 All typedefs on structs and unions have been removed in keeping
11405 with the Linux coding style.
11407 Removed the non-Linux SourceSafe module revision number from each
11410 Completed major overhaul of symbols to be lowercased for linux.
11411 Doubled the number of symbols that are lowercased.
11413 Fixed a problem where identifiers within procedure headers and
11414 within quotes were not fully lower cased (they were left with a
11417 Some C macros whose only purpose is to allow the generation of 16-
11418 bit code are now completely removed in the Linux code, increasing
11419 readability and maintainability.
11421 ----------------------------------------
11423 12 December 2002. Summary of changes for version 20021212.
11426 1) ACPI CA Core Subsystem:
11428 Fixed a problem where the creation of a zero-length AML Buffer
11429 would cause a fault.
11431 Fixed a problem where a Buffer object that pointed to a static AML
11432 buffer (in an ACPI table) could inadvertently be deleted, causing
11435 Fixed a problem where a user buffer (passed in to the external
11436 ACPI CA interfaces) could be overwritten if the buffer was too
11437 small to complete the operation, causing memory corruption.
11439 Fixed a problem in the Buffer-to-String conversion code where a
11440 string of length one was always returned, regardless of the size
11441 of the input Buffer object.
11443 Removed the NATIVE_CHAR data type across the entire source due to
11444 lack of need and lack of consistent use.
11446 Code and Data Size: Current core subsystem library sizes are shown
11447 below. These are the code and data sizes for the acpica.lib
11448 produced by the Microsoft Visual C++ 6.0 compiler, and these
11449 values do not include any ACPI driver or OSPM code. The debug
11450 version of the code includes the debug output trace mechanism and
11451 has a much larger code and data size. Note that these values will
11452 vary depending on the efficiency of the compiler and the compiler
11453 options used during generation.
11456 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
11457 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
11459 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11460 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11463 ----------------------------------------
11464 05 December 2002. Summary of changes for version 20021205.
11466 1) ACPI CA Core Subsystem:
11468 Fixed a problem where a store to a String or Buffer object could
11469 cause corruption of the DSDT if the object type being stored was
11470 the same as the target object type and the length of the object
11471 being stored was equal to or smaller than the original (existing)
11472 target object. This was seen to cause corruption of battery _BIF
11473 buffers if the _BIF method modified the buffer on the fly.
11475 Fixed a problem where an internal error was generated if a control
11476 method invocation was used in an OperationRegion, Buffer, or
11477 Package declaration. This was caused by the deferred parsing of
11478 the control method and thus the deferred creation of the internal
11479 method object. The solution to this problem was to create the
11480 internal method object at the moment the method is encountered in
11481 the first pass - so that subsequent references to the method will
11482 able to obtain the required parameter count and thus properly
11483 parse the method invocation. This problem presented itself as an
11484 AE_AML_INTERNAL during the pass 1 parse phase during table load.
11486 Fixed a problem where the internal String object copy routine did
11487 not always allocate sufficient memory for the target String object
11488 and caused memory corruption. This problem was seen to cause
11489 "Allocation already present in list!" errors as memory allocation
11492 Implemented a new function for the evaluation of namespace objects
11493 that allows the specification of the allowable return object
11494 types. This simplifies a lot of code that checks for a return
11495 object of one or more specific objects returned from the
11496 evaluation (such as _STA, etc.) This may become and external
11497 function if it would be useful to ACPI-related drivers.
11499 Completed another round of prefixing #defines with "ACPI_" for
11502 Completed additional code restructuring to allow more modular
11503 linking for iASL compiler and AcpiExec. Several files were split
11504 creating new files. New files: nsparse.c dsinit.c evgpe.c
11506 Implemented an abort mechanism to terminate an executing control
11507 method via the AML debugger. This feature is useful for debugging
11508 control methods that depend (wait) for specific hardware
11511 Code and Data Size: Current core subsystem library sizes are shown
11512 below. These are the code and data sizes for the acpica.lib
11513 produced by the Microsoft Visual C++ 6.0 compiler, and these
11514 values do not include any ACPI driver or OSPM code. The debug
11515 version of the code includes the debug output trace mechanism and
11516 has a much larger code and data size. Note that these values will
11517 vary depending on the efficiency of the compiler and the compiler
11518 options used during generation.
11521 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11522 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
11524 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
11525 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
11528 2) iASL Compiler/Disassembler
11530 Fixed a compiler code generation problem for "Interrupt" Resource
11531 Descriptors. If specified in the ASL, the optional "Resource
11532 Source Index" and "Resource Source" fields were not inserted into
11533 the correct location within the AML resource descriptor, creating
11534 an invalid descriptor.
11536 Fixed a disassembler problem for "Interrupt" resource descriptors.
11537 The optional "Resource Source Index" and "Resource Source" fields
11541 ----------------------------------------
11542 22 November 2002. Summary of changes for version 20021122.
11545 1) ACPI CA Core Subsystem:
11547 Fixed a reported problem where an object stored to a Method Local
11548 or Arg was not copied to a new object during the store - the
11549 object pointer was simply copied to the Local/Arg. This caused
11550 all subsequent operations on the Local/Arg to also affect the
11551 original source of the store operation.
11553 Fixed a problem where a store operation to a Method Local or Arg
11554 was not completed properly if the Local/Arg contained a reference
11555 (from RefOf) to a named field. The general-purpose store-to-
11556 namespace-node code is now used so that this case is handled
11559 Fixed a problem where the internal object copy routine would cause
11560 a protection fault if the object being copied was a Package and
11561 contained either 1) a NULL package element or 2) a nested sub-
11564 Fixed a problem with the GPE initialization that resulted from an
11565 ambiguity in the ACPI specification. One section of the
11566 specification states that both the address and length of the GPE
11567 block must be zero if the block is not supported. Another section
11568 implies that only the address need be zero if the block is not
11569 supported. The code has been changed so that both the address and
11570 the length must be non-zero to indicate a valid GPE block (i.e.,
11571 if either the address or the length is zero, the GPE block is
11574 Code and Data Size: Current core subsystem library sizes are shown
11575 below. These are the code and data sizes for the acpica.lib
11576 produced by the Microsoft Visual C++ 6.0 compiler, and these
11577 values do not include any ACPI driver or OSPM code. The debug
11578 version of the code includes the debug output trace mechanism and
11579 has a much larger code and data size. Note that these values will
11580 vary depending on the efficiency of the compiler and the compiler
11581 options used during generation.
11584 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
11585 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
11587 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11588 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
11593 Cleaned up EC driver. Exported an external EC read/write
11594 interface. By going through this, other drivers (most notably
11595 sonypi) will be able to serialize access to the EC.
11598 3) iASL Compiler/Disassembler
11600 Implemented support to optionally generate include files for both
11601 ASM and C (the -i switch). This simplifies BIOS development by
11602 automatically creating include files that contain external
11603 declarations for the symbols that are created within the
11605 (optionally generated) ASM and C AML source files.
11608 ----------------------------------------
11609 15 November 2002. Summary of changes for version 20021115.
11611 1) ACPI CA Core Subsystem:
11613 Fixed a memory leak problem where an error during resolution of
11615 method arguments during a method invocation from another method
11616 failed to cleanup properly by deleting all successfully resolved
11619 Fixed a problem where the target of the Index() operator was not
11620 correctly constructed if the source object was a package. This
11621 problem has not been detected because the use of a target operand
11622 with Index() is very rare.
11624 Fixed a problem with the Index() operator where an attempt was
11625 made to delete the operand objects twice.
11627 Fixed a problem where an attempt was made to delete an operand
11628 twice during execution of the CondRefOf() operator if the target
11631 Implemented the first of perhaps several internal create object
11632 functions that create and initialize a specific object type. This
11633 consolidates duplicated code wherever the object is created, thus
11634 shrinking the size of the subsystem.
11636 Implemented improved debug/error messages for errors that occur
11637 during nested method invocations. All executing method pathnames
11638 are displayed (with the error) as the call stack is unwound - thus
11641 Fixed a problem introduced in the 10/02 release that caused
11642 premature deletion of a buffer object if a buffer was used as an
11643 ASL operand where an integer operand is required (Thus causing an
11644 implicit object conversion from Buffer to Integer.) The change in
11645 the 10/02 release was attempting to fix a memory leak (albeit
11648 Code and Data Size: Current core subsystem library sizes are shown
11649 below. These are the code and data sizes for the acpica.lib
11650 produced by the Microsoft Visual C++ 6.0 compiler, and these
11651 values do not include any ACPI driver or OSPM code. The debug
11652 version of the code includes the debug output trace mechanism and
11653 has a much larger code and data size. Note that these values will
11654 vary depending on the efficiency of the compiler and the compiler
11655 options used during generation.
11658 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
11659 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
11661 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
11662 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
11667 Changed the implementation of the ACPI semaphores to use down()
11668 instead of down_interruptable(). It is important that the
11669 execution of ACPI control methods not be interrupted by signals.
11670 Methods must run to completion, or the system may be left in an
11671 unknown/unstable state.
11673 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
11677 3) iASL Compiler/Disassembler
11680 Changed the default location of output files. All output files
11681 are now placed in the current directory by default instead of in
11682 the directory of the source file. This change may affect some
11683 existing makefiles, but it brings the behavior of the compiler in
11684 line with other similar tools. The location of the output files
11685 can be overridden with the -p command line switch.
11688 ----------------------------------------
11689 11 November 2002. Summary of changes for version 20021111.
11692 0) ACPI Specification 2.0B is released and is now available at:
11693 http://www.acpi.info/index.html
11696 1) ACPI CA Core Subsystem:
11698 Implemented support for the ACPI 2.0 SMBus Operation Regions.
11699 This includes the early detection and handoff of the request to
11700 the SMBus region handler (avoiding all of the complex field
11701 support code), and support for the bidirectional return packet
11702 from an SMBus write operation. This paves the way for the
11703 development of SMBus drivers in each host operating system.
11705 Fixed a problem where the semaphore WAIT_FOREVER constant was
11706 defined as 32 bits, but must be 16 bits according to the ACPI
11707 specification. This had the side effect of causing ASL
11708 Mutex/Event timeouts even though the ASL code requested a wait
11709 forever. Changed all internal references to the ACPI timeout
11710 parameter to 16 bits to prevent future problems. Changed the name
11711 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
11713 Code and Data Size: Current core subsystem library sizes are shown
11714 below. These are the code and data sizes for the acpica.lib
11715 produced by the Microsoft Visual C++ 6.0 compiler, and these
11716 values do not include any ACPI driver or OSPM code. The debug
11717 version of the code includes the debug output trace mechanism and
11718 has a much larger code and data size. Note that these values will
11719 vary depending on the efficiency of the compiler and the compiler
11720 options used during generation.
11723 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11724 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
11726 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
11727 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
11732 Module loading/unloading fixes (John Cagle)
11735 3) iASL Compiler/Disassembler
11737 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
11739 Implemented support for the disassembly of all SMBus protocol
11740 keywords (SMBQuick, SMBWord, etc.)
11742 ----------------------------------------
11743 01 November 2002. Summary of changes for version 20021101.
11746 1) ACPI CA Core Subsystem:
11748 Fixed a problem where platforms that have a GPE1 block but no GPE0
11749 block were not handled correctly. This resulted in a "GPE
11750 overlap" error message. GPE0 is no longer required.
11752 Removed code added in the previous release that inserted nodes
11753 into the namespace in alphabetical order. This caused some side-
11754 effects on various machines. The root cause of the problem is
11755 still under investigation since in theory, the internal ordering
11756 of the namespace nodes should not matter.
11759 Enhanced error reporting for the case where a named object is not
11760 found during control method execution. The full ACPI namepath
11761 (name reference) of the object that was not found is displayed in
11764 Note: as a result of the overhaul of the namespace object types in
11765 the previous release, the namespace nodes for the predefined
11766 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
11767 instead of ACPI_TYPE_ANY. This simplifies the namespace
11768 management code but may affect code that walks the namespace tree
11769 looking for specific object types.
11771 Code and Data Size: Current core subsystem library sizes are shown
11772 below. These are the code and data sizes for the acpica.lib
11773 produced by the Microsoft Visual C++ 6.0 compiler, and these
11774 values do not include any ACPI driver or OSPM code. The debug
11775 version of the code includes the debug output trace mechanism and
11776 has a much larger code and data size. Note that these values will
11777 vary depending on the efficiency of the compiler and the compiler
11778 options used during generation.
11781 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
11782 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
11784 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11785 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
11790 Fixed a problem introduced in the previous release where the
11791 Processor and Thermal objects were not recognized and installed in
11792 /proc. This was related to the scope type change described above.
11795 3) iASL Compiler/Disassembler
11797 Implemented the -g option to get all of the required ACPI tables
11798 from the registry and save them to files (Windows version of the
11799 compiler only.) The required tables are the FADT, FACS, and DSDT.
11801 Added ACPI table checksum validation during table disassembly in
11802 order to catch corrupted tables.
11805 ----------------------------------------
11806 22 October 2002. Summary of changes for version 20021022.
11808 1) ACPI CA Core Subsystem:
11810 Implemented a restriction on the Scope operator that the target
11811 must already exist in the namespace at the time the operator is
11812 encountered (during table load or method execution). In other
11813 words, forward references are not allowed and Scope() cannot
11814 create a new object. This changes the previous behavior where the
11815 interpreter would create the name if not found. This new behavior
11816 correctly enables the search-to-root algorithm during namespace
11817 lookup of the target name. Because of this upsearch, this fixes
11818 the known Compaq _SB_.OKEC problem and makes both the AML
11819 interpreter and iASL compiler compatible with other ACPI
11822 Completed a major overhaul of the internal ACPI object types for
11823 the ACPI Namespace and the associated operand objects. Many of
11824 these types had become obsolete with the introduction of the two-
11825 pass namespace load. This cleanup simplifies the code and makes
11826 the entire namespace load mechanism much clearer and easier to
11829 Improved debug output for tracking scope opening/closing to help
11830 diagnose scoping issues. The old scope name as well as the new
11831 scope name are displayed. Also improved error messages for
11832 problems with ASL Mutex objects and error messages for GPE
11835 Cleaned up the namespace dump code, removed obsolete code.
11837 All string output (for all namespace/object dumps) now uses the
11838 common ACPI string output procedure which handles escapes properly
11839 and does not emit non-printable characters.
11841 Fixed some issues with constants in the 64-bit version of the
11842 local C library (utclib.c)
11847 EC Driver: No longer attempts to acquire the Global Lock at
11851 3) iASL Compiler/Disassembler
11853 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
11854 2 opcodes outside of a control method. This means that the
11855 "executable" operators (versus the "namespace" operators) cannot
11856 be used at the table level; they can only be used within a control
11859 Implemented the restriction on the Scope() operator where the
11860 target must already exist in the namespace at the time the
11861 operator is encountered (during ASL compilation). In other words,
11862 forward references are not allowed and Scope() cannot create a new
11863 object. This makes the iASL compiler compatible with other ACPI
11864 implementations and makes the Scope() implementation adhere to the
11865 ACPI specification.
11867 Fixed a problem where namepath optimization for the Alias operator
11868 was optimizing the wrong path (of the two namepaths.) This caused
11869 a "Missing alias link" error message.
11871 Fixed a problem where an "unknown reserved name" warning could be
11872 incorrectly generated for names like "_SB" when the trailing
11873 underscore is not used in the original ASL.
11875 Fixed a problem where the reserved name check did not handle
11876 NamePaths with multiple NameSegs correctly. The first nameseg of
11877 the NamePath was examined instead of the last NameSeg.
11880 ----------------------------------------
11882 02 October 2002. Summary of changes for this release.
11885 1) ACPI CA Core Subsystem version 20021002:
11887 Fixed a problem where a store/copy of a string to an existing
11888 string did not always set the string length properly in the String
11891 Fixed a reported problem with the ToString operator where the
11892 behavior was identical to the ToHexString operator instead of just
11893 simply converting a raw buffer to a string data type.
11895 Fixed a problem where CopyObject and the other "explicit"
11896 conversion operators were not updating the internal namespace node
11897 type as part of the store operation.
11899 Fixed a memory leak during implicit source operand conversion
11900 where the original object was not deleted if it was converted to a
11901 new object of a different type.
11903 Enhanced error messages for all problems associated with namespace
11904 lookups. Common procedure generates and prints the lookup name as
11905 well as the formatted status.
11907 Completed implementation of a new design for the Alias support
11908 within the namespace. The existing design did not handle the case
11909 where a new object was assigned to one of the two names due to the
11910 use of an explicit conversion operator, resulting in the two names
11911 pointing to two different objects. The new design simply points
11912 the Alias name to the original name node - not to the object.
11913 This results in a level of indirection that must be handled in the
11914 name resolution mechanism.
11916 Code and Data Size: Current core subsystem library sizes are shown
11917 below. These are the code and data sizes for the acpica.lib
11918 produced by the Microsoft Visual C++ 6.0 compiler, and these
11919 values do not include any ACPI driver or OSPM code. The debug
11920 version of the code includes the debug output trace mechanism and
11921 has a larger code and data size. Note that these values will vary
11922 depending on the efficiency of the compiler and the compiler
11923 options used during generation.
11926 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
11927 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
11929 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
11930 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
11935 Initialize thermal driver's timer before it is used. (Knut
11938 Allow handling negative celsius values. (Kochi Takayoshi)
11940 Fix thermal management and make trip points. R/W (Pavel Machek)
11942 Fix /proc/acpi/sleep. (P. Christeas)
11944 IA64 fixes. (David Mosberger)
11946 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
11948 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
11952 3) iASL Compiler/Disassembler
11954 Clarified some warning/error messages.
11957 ----------------------------------------
11958 18 September 2002. Summary of changes for this release.
11961 1) ACPI CA Core Subsystem version 20020918:
11963 Fixed a reported problem with reference chaining (via the Index()
11964 and RefOf() operators) in the ObjectType() and SizeOf() operators.
11965 The definition of these operators includes the dereferencing of
11966 all chained references to return information on the base object.
11968 Fixed a problem with stores to indexed package elements - the
11969 existing code would not complete the store if an "implicit
11970 conversion" was not performed. In other words, if the existing
11971 object (package element) was to be replaced completely, the code
11972 didn't handle this case.
11974 Relaxed typechecking on the ASL "Scope" operator to allow the
11975 target name to refer to an object of type Integer, String, or
11976 Buffer, in addition to the scoping object types (Device,
11977 predefined Scopes, Processor, PowerResource, and ThermalZone.)
11978 This allows existing AML code that has workarounds for a bug in
11979 Windows to function properly. A warning is issued, however. This
11980 affects both the AML interpreter and the iASL compiler. Below is
11981 an example of this type of ASL code:
11987 Fixed some reported problems with 64-bit integer support in the
11988 local implementation of C library functions (clib.c)
11993 Use ACPI fix map region instead of IOAPIC region, since it is
11994 undefined in non-SMP.
11996 Ensure that the SCI has the proper polarity and trigger, even on
11997 systems that do not have an interrupt override entry in the MADT.
11999 2.5 big driver reorganization (Pat Mochel)
12001 Use early table mapping code from acpitable.c (Andi Kleen)
12003 New blacklist entries (Andi Kleen)
12005 Blacklist improvements. Split blacklist code out into a separate
12006 file. Move checking the blacklist to very early. Previously, we
12007 would use ACPI tables, and then halfway through init, check the
12008 blacklist -- too late. Now, it's early enough to completely fall-
12012 3) iASL Compiler/Disassembler version 20020918:
12014 Fixed a problem where the typechecking code didn't know that an
12015 alias could point to a method. In other words, aliases were not
12016 being dereferenced during typechecking.
12019 ----------------------------------------
12020 29 August 2002. Summary of changes for this release.
12022 1) ACPI CA Core Subsystem Version 20020829:
12024 If the target of a Scope() operator already exists, it must be an
12025 object type that actually opens a scope -- such as a Device,
12026 Method, Scope, etc. This is a fatal runtime error. Similar error
12027 check has been added to the iASL compiler also.
12029 Tightened up the namespace load to disallow multiple names in the
12030 same scope. This previously was allowed if both objects were of
12031 the same type. (i.e., a lookup was the same as entering a new
12037 Ensure that the ACPI interrupt has the proper trigger and
12040 local_irq_disable is extraneous. (Matthew Wilcox)
12042 Make "acpi=off" actually do what it says, and not use the ACPI
12043 interpreter *or* the tables.
12045 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
12049 3) iASL Compiler/Disassembler Version 20020829:
12051 Implemented namepath optimization for name declarations. For
12052 example, a declaration like "Method (\_SB_.ABCD)" would get
12053 optimized to "Method (ABCD)" if the declaration is within the
12054 \_SB_ scope. This optimization is in addition to the named
12055 reference path optimization first released in the previous
12056 version. This would seem to complete all possible optimizations
12057 for namepaths within the ASL/AML.
12059 If the target of a Scope() operator already exists, it must be an
12060 object type that actually opens a scope -- such as a Device,
12061 Method, Scope, etc.
12063 Implemented a check and warning for unreachable code in the same
12064 block below a Return() statement.
12066 Fixed a problem where the listing file was not generated if the
12067 compiler aborted if the maximum error count was exceeded (200).
12069 Fixed a problem where the typechecking of method return values was
12070 broken. This includes the check for a return value when the
12071 method is invoked as a TermArg (a return value is expected.)
12073 Fixed a reported problem where EOF conditions during a quoted
12074 string or comment caused a fault.
12077 ----------------------------------------
12078 15 August 2002. Summary of changes for this release.
12080 1) ACPI CA Core Subsystem Version 20020815:
12082 Fixed a reported problem where a Store to a method argument that
12083 contains a reference did not perform the indirect store correctly.
12084 This problem was created during the conversion to the new
12085 reference object model - the indirect store to a method argument
12086 code was not updated to reflect the new model.
12088 Reworked the ACPI mode change code to better conform to ACPI 2.0,
12089 handle corner cases, and improve code legibility (Kochi Takayoshi)
12091 Fixed a problem with the pathname parsing for the carat (^)
12092 prefix. The heavy use of the carat operator by the new namepath
12093 optimization in the iASL compiler uncovered a problem with the AML
12094 interpreter handling of this prefix. In the case where one or
12095 more carats precede a single nameseg, the nameseg was treated as
12096 standalone and the search rule (to root) was inadvertently
12097 applied. This could cause both the iASL compiler and the
12098 interpreter to find the wrong object or to miss the error that
12099 should occur if the object does not exist at that exact pathname.
12101 Found and fixed the problem where the HP Pavilion DSDT would not
12102 load. This was a relatively minor tweak to the table loading code
12103 (a problem caused by the unexpected encounter with a method
12104 invocation not within a control method), but it does not solve the
12105 overall issue of the execution of AML code at the table level.
12106 This investigation is still ongoing.
12108 Code and Data Size: Current core subsystem library sizes are shown
12109 below. These are the code and data sizes for the acpica.lib
12110 produced by the Microsoft Visual C++ 6.0 compiler, and these
12111 values do not include any ACPI driver or OSPM code. The debug
12112 version of the code includes the debug output trace mechanism and
12113 has a larger code and data size. Note that these values will vary
12114 depending on the efficiency of the compiler and the compiler
12115 options used during generation.
12118 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
12119 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
12121 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
12122 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
12127 Remove redundant slab.h include (Brad Hards)
12129 Fix several bugs in thermal.c (Herbert Nachtnebel)
12131 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
12133 Change acpi_system_suspend to use updated irq functions (Pavel
12136 Export acpi_get_firmware_table (Matthew Wilcox)
12138 Use proper root proc entry for ACPI (Kochi Takayoshi)
12140 Fix early-boot table parsing (Bjorn Helgaas)
12143 3) iASL Compiler/Disassembler
12145 Reworked the compiler options to make them more consistent and to
12146 use two-letter options where appropriate. We were running out of
12147 sensible letters. This may break some makefiles, so check the
12148 current options list by invoking the compiler with no parameters.
12150 Completed the design and implementation of the ASL namepath
12151 optimization option for the compiler. This option optimizes all
12152 references to named objects to the shortest possible path. The
12153 first attempt tries to utilize a single nameseg (4 characters) and
12154 the "search-to-root" algorithm used by the interpreter. If that
12155 cannot be used (because either the name is not in the search path
12156 or there is a conflict with another object with the same name),
12157 the pathname is optimized using the carat prefix (usually a
12158 shorter string than specifying the entire path from the root.)
12160 Implemented support to obtain the DSDT from the Windows registry
12161 (when the disassembly option is specified with no input file).
12162 Added this code as the implementation for AcpiOsTableOverride in
12163 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
12164 utility) to scan memory for the DSDT to the AcpiOsTableOverride
12165 function in the DOS OSL to make the disassembler truly OS
12168 Implemented a new option to disassemble and compile in one step.
12169 When used without an input filename, this option will grab the
12170 DSDT from the local machine, disassemble it, and compile it in one
12173 Added a warning message for invalid escapes (a backslash followed
12174 by any character other than the allowable escapes). This catches
12175 the quoted string error "\_SB_" (which should be "\\_SB_" ).
12177 Also, there are numerous instances in the ACPI specification where
12180 Added a compiler option to disable all optimizations. This is
12181 basically the "compatibility mode" because by using this option,
12182 the AML code will come out exactly the same as other ASL
12185 Added error messages for incorrectly ordered dependent resource
12186 functions. This includes: missing EndDependentFn macro at end of
12187 dependent resource list, nested dependent function macros (both
12188 start and end), and missing StartDependentFn macro. These are
12189 common errors that should be caught at compile time.
12191 Implemented _OSI support for the disassembler and compiler. _OSI
12192 must be included in the namespace for proper disassembly (because
12193 the disassembler must know the number of arguments.)
12195 Added an "optimization" message type that is optional (off by
12196 default). This message is used for all optimizations - including
12197 constant folding, integer optimization, and namepath optimization.
12199 ----------------------------------------
12200 25 July 2002. Summary of changes for this release.
12203 1) ACPI CA Core Subsystem Version 20020725:
12205 The AML Disassembler has been enhanced to produce compilable ASL
12206 code and has been integrated into the iASL compiler (see below) as
12207 well as the single-step disassembly for the AML debugger and the
12208 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
12209 resource templates and macros are fully supported. The
12210 disassembler has been tested on over 30 different AML files,
12211 producing identical AML when the resulting disassembled ASL file
12212 is recompiled with the same ASL compiler.
12214 Modified the Resource Manager to allow zero interrupts and zero
12215 dma channels during the GetCurrentResources call. This was
12216 causing problems on some platforms.
12218 Added the AcpiOsRedirectOutput interface to the OSL to simplify
12219 output redirection for the AcpiOsPrintf and AcpiOsVprintf
12222 Code and Data Size: Current core subsystem library sizes are shown
12223 below. These are the code and data sizes for the acpica.lib
12224 produced by the Microsoft Visual C++ 6.0 compiler, and these
12225 values do not include any ACPI driver or OSPM code. The debug
12226 version of the code includes the debug output trace mechanism and
12227 has a larger code and data size. Note that these values will vary
12228 depending on the efficiency of the compiler and the compiler
12229 options used during generation.
12232 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
12233 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
12235 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
12236 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
12241 Fixed a panic in the EC driver (Dominik Brodowski)
12243 Implemented checksum of the R/XSDT itself during Linux table scan
12249 The AML disassembler is integrated into the compiler. The "-d"
12250 option invokes the disassembler to completely disassemble an
12251 input AML file, producing as output a text ASL file with the
12252 extension ".dsl" (to avoid name collisions with existing .asl
12253 source files.) A future enhancement will allow the disassembler
12254 to obtain the BIOS DSDT from the registry under Windows.
12256 Fixed a problem with the VendorShort and VendorLong resource
12257 descriptors where an invalid AML sequence was created.
12259 Implemented a fix for BufferData term in the ASL parser. It was
12260 inadvertently defined twice, allowing invalid syntax to pass and
12261 causing reduction conflicts.
12263 Fixed a problem where the Ones opcode could get converted to a
12264 value of zero if "Ones" was used where a byte, word or dword value
12265 was expected. The 64-bit value is now truncated to the correct
12266 size with the correct value.
12270 ----------------------------------------
12271 02 July 2002. Summary of changes for this release.
12274 1) ACPI CA Core Subsystem Version 20020702:
12276 The Table Manager code has been restructured to add several new
12277 features. Tables that are not required by the core subsystem
12278 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
12279 validated in any way and are returned from AcpiGetFirmwareTable if
12280 requested. The AcpiOsTableOverride interface is now called for
12281 each table that is loaded by the subsystem in order to allow the
12282 host to override any table it chooses. Previously, only the DSDT
12283 could be overridden. Added one new files, tbrsdt.c and
12286 Fixed a problem with the conversion of internal package objects to
12287 external objects (when a package is returned from a control
12288 method.) The return buffer length was set to zero instead of the
12289 proper length of the package object.
12291 Fixed a reported problem with the use of the RefOf and DeRefOf
12292 operators when passing reference arguments to control methods. A
12293 new type of Reference object is used internally for references
12294 produced by the RefOf operator.
12296 Added additional error messages in the Resource Manager to explain
12297 AE_BAD_DATA errors when they occur during resource parsing.
12299 Split the AcpiEnableSubsystem into two primitives to enable a
12300 finer granularity initialization sequence. These two calls should
12301 be called in this order: AcpiEnableSubsystem (flags),
12302 AcpiInitializeObjects (flags). The flags parameter remains the
12308 Updated the ACPI utilities module to understand the new style of
12309 fully resolved package objects that are now returned from the core
12310 subsystem. This eliminates errors of the form:
12312 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
12313 acpi_utils-0430 [145] acpi_evaluate_reference:
12314 Invalid element in package (not a device reference)
12316 The method evaluation utility uses the new buffer allocation
12317 scheme instead of calling AcpiEvaluate Object twice.
12319 Added support for ECDT. This allows the use of the Embedded
12321 Controller before the namespace has been fully initialized, which
12322 is necessary for ACPI 2.0 support, and for some laptops to
12323 initialize properly. (Laptops using ECDT are still rare, so only
12324 limited testing was performed of the added functionality.)
12326 Fixed memory leaks in the EC driver.
12328 Eliminated a brittle code structure in acpi_bus_init().
12330 Eliminated the acpi_evaluate() helper function in utils.c. It is
12331 no longer needed since acpi_evaluate_object can optionally
12332 allocate memory for the return object.
12334 Implemented fix for keyboard hang when getting battery readings on
12335 some systems (Stephen White)
12337 PCI IRQ routing update (Dominik Brodowski)
12339 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
12342 ----------------------------------------
12343 11 June 2002. Summary of changes for this release.
12346 1) ACPI CA Core Subsystem Version 20020611:
12348 Fixed a reported problem where constants such as Zero and One
12349 appearing within _PRT packages were not handled correctly within
12350 the resource manager code. Originally reported against the ASL
12351 compiler because the code generator now optimizes integers to
12352 their minimal AML representation (i.e. AML constants if possible.)
12353 The _PRT code now handles all AML constant opcodes correctly
12354 (Zero, One, Ones, Revision).
12356 Fixed a problem with the Concatenate operator in the AML
12357 interpreter where a buffer result object was incorrectly marked as
12358 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
12360 All package sub-objects are now fully resolved before they are
12361 returned from the external ACPI interfaces. This means that name
12362 strings are resolved to object handles, and constant operators
12363 (Zero, One, Ones, Revision) are resolved to Integers.
12365 Implemented immediate resolution of the AML Constant opcodes
12366 (Zero, One, Ones, Revision) to Integer objects upon detection
12367 within the AML stream. This has simplified and reduced the
12368 generated code size of the subsystem by eliminating about 10
12369 switch statements for these constants (which previously were
12370 contained in Reference objects.) The complicating issues are that
12371 the Zero opcode is used as a "placeholder" for unspecified
12372 optional target operands and stores to constants are defined to be
12375 Code and Data Size: Current core subsystem library sizes are shown
12376 below. These are the code and data sizes for the acpica.lib
12377 produced by the Microsoft Visual C++ 6.0 compiler, and these
12378 values do not include any ACPI driver or OSPM code. The debug
12379 version of the code includes the debug output trace mechanism and
12380 has a larger code and data size. Note that these values will vary
12381 depending on the efficiency of the compiler and the compiler
12382 options used during generation.
12385 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
12386 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
12388 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
12389 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
12395 Added preliminary support for obtaining _TRA data for PCI root
12396 bridges (Bjorn Helgaas).
12399 3) iASL Compiler Version X2046:
12401 Fixed a problem where the "_DDN" reserved name was defined to be a
12402 control method with one argument. There are no arguments, and
12403 _DDN does not have to be a control method.
12405 Fixed a problem with the Linux version of the compiler where the
12406 source lines printed with error messages were the wrong lines.
12407 This turned out to be the "LF versus CR/LF" difference between
12408 Windows and Unix. This appears to be the longstanding issue
12409 concerning listing output and error messages.
12411 Fixed a problem with the Linux version of compiler where opcode
12412 names within error messages were wrong. This was caused by a
12413 slight difference in the output of the Flex tool on Linux versus
12416 Fixed a problem with the Linux compiler where the hex output files
12417 contained some garbage data caused by an internal buffer overrun.
12420 ----------------------------------------
12421 17 May 2002. Summary of changes for this release.
12424 1) ACPI CA Core Subsystem Version 20020517:
12426 Implemented a workaround to an BIOS bug discovered on the HP
12427 OmniBook where the FADT revision number and the table size are
12428 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
12429 behavior is to fallback to using only the ACPI 1.0 fields of the
12430 FADT if the table is too small to be a ACPI 2.0 table as claimed
12431 by the revision number. Although this is a BIOS bug, this is a
12432 case where the workaround is simple enough and with no side
12433 effects, so it seemed prudent to add it. A warning message is
12436 Implemented minimum size checks for the fixed-length ACPI tables -
12437 - the FADT and FACS, as well as consistency checks between the
12438 revision number and the table size.
12440 Fixed a reported problem in the table override support where the
12441 new table pointer was incorrectly treated as a physical address
12442 instead of a logical address.
12444 Eliminated the use of the AE_AML_ERROR exception and replaced it
12445 with more descriptive codes.
12447 Fixed a problem where an exception would occur if an ASL Field was
12448 defined with no named Field Units underneath it (used by some
12451 Code and Data Size: Current core subsystem library sizes are shown
12452 below. These are the code and data sizes for the acpica.lib
12453 produced by the Microsoft Visual C++ 6.0 compiler, and these
12454 values do not include any ACPI driver or OSPM code. The debug
12455 version of the code includes the debug output trace mechanism and
12456 has a larger code and data size. Note that these values will vary
12457 depending on the efficiency of the compiler and the compiler
12458 options used during generation.
12461 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
12462 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
12464 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
12465 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
12471 Much work done on ACPI init (MADT and PCI IRQ routing support).
12472 (Paul D. and Dominik Brodowski)
12474 Fix PCI IRQ-related panic on boot (Sam Revitch)
12476 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
12478 Fix "MHz" typo (Dominik Brodowski)
12480 Fix RTC year 2000 issue (Dominik Brodowski)
12482 Preclude multiple button proc entries (Eric Brunet)
12484 Moved arch-specific code out of include/platform/aclinux.h
12486 3) iASL Compiler Version X2044:
12488 Implemented error checking for the string used in the EISAID macro
12489 (Usually used in the definition of the _HID object.) The code now
12490 strictly enforces the PnP format - exactly 7 characters, 3
12491 uppercase letters and 4 hex digits.
12493 If a raw string is used in the definition of the _HID object
12494 (instead of the EISAID macro), the string must contain all
12495 alphanumeric characters (e.g., "*PNP0011" is not allowed because
12498 Implemented checking for invalid use of ACPI reserved names for
12499 most of the name creation operators (Name, Device, Event, Mutex,
12500 OperationRegion, PowerResource, Processor, and ThermalZone.)
12501 Previously, this check was only performed for control methods.
12503 Implemented an additional check on the Name operator to emit an
12504 error if a reserved name that must be implemented in ASL as a
12505 control method is used. We know that a reserved name must be a
12506 method if it is defined with input arguments.
12508 The warning emitted when a namespace object reference is not found
12509 during the cross reference phase has been changed into an error.
12510 The "External" directive should be used for names defined in other
12514 4) Tools and Utilities
12516 The 16-bit tools (adump16 and aexec16) have been regenerated and
12519 Fixed a problem with the output of both acpidump and adump16 where
12520 the indentation of closing parentheses and brackets was not
12522 aligned properly with the parent block.
12525 ----------------------------------------
12526 03 May 2002. Summary of changes for this release.
12529 1) ACPI CA Core Subsystem Version 20020503:
12531 Added support a new OSL interface that allows the host operating
12533 system software to override the DSDT found in the firmware -
12534 AcpiOsTableOverride. With this interface, the OSL can examine the
12535 version of the firmware DSDT and replace it with a different one
12538 Added new external interfaces for accessing ACPI registers from
12539 device drivers and other system software - AcpiGetRegister and
12540 AcpiSetRegister. This was simply an externalization of the
12541 existing AcpiHwBitRegister interfaces.
12543 Fixed a regression introduced in the previous build where the
12544 ASL/AML CreateField operator always returned an error,
12545 "destination must be a NS Node".
12547 Extended the maximum time (before failure) to successfully enable
12548 ACPI mode to 3 seconds.
12550 Code and Data Size: Current core subsystem library sizes are shown
12551 below. These are the code and data sizes for the acpica.lib
12552 produced by the Microsoft Visual C++ 6.0 compiler, and these
12553 values do not include any ACPI driver or OSPM code. The debug
12554 version of the code includes the debug output trace mechanism and
12555 has a larger code and data size. Note that these values will vary
12556 depending on the efficiency of the compiler and the compiler
12557 options used during generation.
12560 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
12561 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
12563 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
12564 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
12569 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
12570 free. While 3 out of 4 of our in-house systems work fine, the last
12571 one still hangs when testing the LAPIC timer.
12573 Renamed many files in 2.5 kernel release to omit "acpi_" from the
12576 Added warning on boot for Presario 711FR.
12578 Sleep improvements (Pavel Machek)
12580 ACPI can now be built without CONFIG_PCI enabled.
12582 IA64: Fixed memory map functions (JI Lee)
12585 3) iASL Compiler Version X2043:
12587 Added support to allow the compiler to be integrated into the MS
12588 VC++ development environment for one-button compilation of single
12589 files or entire projects -- with error-to-source-line mapping.
12591 Implemented support for compile-time constant folding for the
12592 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
12593 specification. This allows the ASL writer to use expressions
12594 instead of Integer/Buffer/String constants in terms that must
12595 evaluate to constants at compile time and will also simplify the
12596 emitted AML in any such sub-expressions that can be folded
12597 (evaluated at compile-time.) This increases the size of the
12598 compiler significantly because a portion of the ACPI CA AML
12599 interpreter is included within the compiler in order to pre-
12600 evaluate constant expressions.
12603 Fixed a problem with the "Unicode" ASL macro that caused the
12604 compiler to fault. (This macro is used in conjunction with the
12605 _STR reserved name.)
12607 Implemented an AML opcode optimization to use the Zero, One, and
12608 Ones opcodes where possible to further reduce the size of integer
12609 constants and thus reduce the overall size of the generated AML
12612 Implemented error checking for new reserved terms for ACPI version
12615 Implemented the -qr option to display the current list of ACPI
12616 reserved names known to the compiler.
12618 Implemented the -qc option to display the current list of ASL
12619 operators that are allowed within constant expressions and can
12620 therefore be folded at compile time if the operands are constants.
12625 Updated the Programmer's Reference for new interfaces, data types,
12626 and memory allocation model options.
12628 Updated the iASL Compiler User Reference to apply new format and
12629 add information about new features and options.
12631 ----------------------------------------
12632 19 April 2002. Summary of changes for this release.
12634 1) ACPI CA Core Subsystem Version 20020419:
12636 The source code base for the Core Subsystem has been completely
12637 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
12638 versions. The Lint option files used are included in the
12639 /acpi/generate/lint directory.
12641 Implemented enhanced status/error checking across the entire
12642 Hardware manager subsystem. Any hardware errors (reported from
12643 the OSL) are now bubbled up and will abort a running control
12647 Fixed a problem where the per-ACPI-table integer width (32 or 64)
12648 was stored only with control method nodes, causing a fault when
12649 non-control method code was executed during table loading. The
12650 solution implemented uses a global variable to indicate table
12651 width across the entire ACPI subsystem. Therefore, ACPI CA does
12652 not support mixed integer widths across different ACPI tables
12655 Fixed a problem where NULL extended fields (X fields) in an ACPI
12656 2.0 ACPI FADT caused the table load to fail. Although the
12657 existing ACPI specification is a bit fuzzy on this topic, the new
12658 behavior is to fall back on a ACPI 1.0 field if the corresponding
12659 ACPI 2.0 X field is zero (even though the table revision indicates
12660 a full ACPI 2.0 table.) The ACPI specification will be updated to
12661 clarify this issue.
12663 Fixed a problem with the SystemMemory operation region handler
12664 where memory was always accessed byte-wise even if the AML-
12665 specified access width was larger than a byte. This caused
12666 problems on systems with memory-mapped I/O. Memory is now
12667 accessed with the width specified. On systems that do not support
12668 non-aligned transfers, a check is made to guarantee proper address
12669 alignment before proceeding in order to avoid an AML-caused
12670 alignment fault within the kernel.
12673 Fixed a problem with the ExtendedIrq resource where only one byte
12674 of the 4-byte Irq field was extracted.
12676 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
12677 function was out of date and required a rewrite.
12679 Code and Data Size: Current core subsystem library sizes are shown
12680 below. These are the code and data sizes for the acpica.lib
12681 produced by the Microsoft Visual C++ 6.0 compiler, and these
12682 values do not include any ACPI driver or OSPM code. The debug
12683 version of the code includes the debug output trace mechanism and
12684 has a larger code and data size. Note that these values will vary
12685 depending on the efficiency of the compiler and the compiler
12686 options used during generation.
12689 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
12690 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
12692 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
12693 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
12698 PCI IRQ routing fixes (Dominik Brodowski)
12701 3) iASL Compiler Version X2042:
12703 Implemented an additional compile-time error check for a field
12704 unit whose size + minimum access width would cause a run-time
12705 access beyond the end-of-region. Previously, only the field size
12706 itself was checked.
12708 The Core subsystem and iASL compiler now share a common parse
12709 object in preparation for compile-time evaluation of the type
12710 3/4/5 ASL operators.
12713 ----------------------------------------
12714 Summary of changes for this release: 03_29_02
12716 1) ACPI CA Core Subsystem Version 20020329:
12718 Implemented support for late evaluation of TermArg operands to
12719 Buffer and Package objects. This allows complex expressions to be
12720 used in the declarations of these object types.
12722 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
12723 1.0, if the field was larger than 32 bits, it was returned as a
12724 buffer - otherwise it was returned as an integer. In ACPI 2.0,
12725 the field is returned as a buffer only if the field is larger than
12726 64 bits. The TableRevision is now considered when making this
12727 conversion to avoid incompatibility with existing ASL code.
12729 Implemented logical addressing for AcpiOsGetRootPointer. This
12730 allows an RSDP with either a logical or physical address. With
12731 this support, the host OS can now override all ACPI tables with
12732 one logical RSDP. Includes implementation of "typed" pointer
12733 support to allow a common data type for both physical and logical
12734 pointers internally. This required a change to the
12735 AcpiOsGetRootPointer interface.
12737 Implemented the use of ACPI 2.0 Generic Address Structures for all
12738 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
12739 mapped I/O for these ACPI features.
12741 Initialization now ignores not only non-required tables (All
12742 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
12743 not validate the table headers of unrecognized tables.
12745 Fixed a problem where a notify handler could only be
12746 installed/removed on an object of type Device. All "notify"
12748 objects are now supported -- Devices, Processor, Power, and
12751 Removed most verbosity from the ACPI_DB_INFO debug level. Only
12752 critical information is returned when this debug level is enabled.
12754 Code and Data Size: Current core subsystem library sizes are shown
12755 below. These are the code and data sizes for the acpica.lib
12756 produced by the Microsoft Visual C++ 6.0 compiler, and these
12757 values do not include any ACPI driver or OSPM code. The debug
12758 version of the code includes the debug output trace mechanism and
12759 has a larger code and data size. Note that these values will vary
12760 depending on the efficiency of the compiler and the compiler
12761 options used during generation.
12764 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
12765 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
12767 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
12768 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
12773 The processor driver (acpi_processor.c) now fully supports ACPI
12774 2.0-based processor performance control (e.g. Intel(R)
12775 SpeedStep(TM) technology) Note that older laptops that only have
12776 the Intel "applet" interface are not supported through this. The
12777 'limit' and 'performance' interface (/proc) are fully functional.
12778 [Note that basic policy for controlling performance state
12779 transitions will be included in the next version of ospmd.] The
12780 idle handler was modified to more aggressively use C2, and PIIX4
12781 errata handling underwent a complete overhaul (big thanks to
12782 Dominik Brodowski).
12784 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
12785 based devices in the ACPI namespace are now dynamically bound
12786 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
12787 This allows, among other things, ACPI to resolve bus numbers for
12788 subordinate PCI bridges.
12790 Enhanced PCI IRQ routing to get the proper bus number for _PRT
12791 entries defined underneath PCI bridges.
12793 Added IBM 600E to bad bios list due to invalid _ADR value for
12794 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
12796 In the process of adding full MADT support (e.g. IOAPIC) for IA32
12797 (acpi.c, mpparse.c) -- stay tuned.
12799 Added back visual differentiation between fixed-feature and
12800 control-method buttons in dmesg. Buttons are also subtyped (e.g.
12801 button/power/PWRF) to simplify button identification.
12803 We no longer use -Wno-unused when compiling debug. Please ignore
12804 any "_THIS_MODULE defined but not used" messages.
12806 Can now shut down the system using "magic sysrq" key.
12809 3) iASL Compiler version 2041:
12811 Fixed a problem where conversion errors for hex/octal/decimal
12812 constants were not reported.
12814 Implemented a fix for the General Register template Address field.
12815 This field was 8 bits when it should be 64.
12817 Fixed a problem where errors/warnings were no longer being emitted
12818 within the listing output file.
12820 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
12821 exactly 4 characters, alphanumeric only.
12826 ----------------------------------------
12827 Summary of changes for this release: 03_08_02
12830 1) ACPI CA Core Subsystem Version 20020308:
12832 Fixed a problem with AML Fields where the use of the "AccessAny"
12833 keyword could cause an interpreter error due to attempting to read
12834 or write beyond the end of the parent Operation Region.
12836 Fixed a problem in the SystemMemory Operation Region handler where
12837 an attempt was made to map memory beyond the end of the region.
12838 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
12839 errors on some Linux systems.
12841 Fixed a problem where the interpreter/namespace "search to root"
12842 algorithm was not functioning for some object types. Relaxed the
12843 internal restriction on the search to allow upsearches for all
12844 external object types as well as most internal types.
12849 We now use safe_halt() macro versus individual calls to sti | hlt.
12851 Writing to the processor limit interface should now work. "echo 1"
12852 will increase the limit, 2 will decrease, and 0 will reset to the
12859 Fixed segfault on Linux version.
12862 ----------------------------------------
12863 Summary of changes for this release: 02_25_02
12865 1) ACPI CA Core Subsystem:
12868 Fixed a problem where the GPE bit masks were not initialized
12869 properly, causing erratic GPE behavior.
12871 Implemented limited support for multiple calling conventions. The
12872 code can be generated with either the VPL (variable parameter
12873 list, or "C") convention, or the FPL (fixed parameter list, or
12874 "Pascal") convention. The core subsystem is about 3.4% smaller
12875 when generated with FPL.
12880 Re-add some /proc/acpi/event functionality that was lost during
12883 Resolved issue with /proc events for fixed-feature buttons showing
12884 up as the system device.
12886 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
12888 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
12890 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
12892 Fixed limit interface & usage to fix bugs with passive cooling
12895 Restructured PRT support.
12898 ----------------------------------------
12899 Summary of changes for this label: 02_14_02
12902 1) ACPI CA Core Subsystem:
12904 Implemented support in AcpiLoadTable to allow loading of FACS and
12907 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
12908 been removed. All 64-bit platforms should be migrated to the ACPI
12909 2.0 tables. The actbl71.h header has been removed from the source
12912 All C macros defined within the subsystem have been prefixed with
12913 "ACPI_" to avoid collision with other system include files.
12915 Removed the return value for the two AcpiOsPrint interfaces, since
12916 it is never used and causes lint warnings for ignoring the return
12919 Added error checking to all internal mutex acquire and release
12920 calls. Although a failure from one of these interfaces is
12921 probably a fatal system error, these checks will cause the
12922 immediate abort of the currently executing method or interface.
12924 Fixed a problem where the AcpiSetCurrentResources interface could
12925 fault. This was a side effect of the deployment of the new memory
12928 Fixed a couple of problems with the Global Lock support introduced
12929 in the last major build. The "common" (1.0/2.0) internal FACS was
12930 being overwritten with the FACS signature and clobbering the
12931 Global Lock pointer. Also, the actual firmware FACS was being
12932 unmapped after construction of the "common" FACS, preventing
12933 access to the actual Global Lock field within it. The "common"
12934 internal FACS is no longer installed as an actual ACPI table; it
12935 is used simply as a global.
12937 Code and Data Size: Current core subsystem library sizes are shown
12938 below. These are the code and data sizes for the acpica.lib
12939 produced by the Microsoft Visual C++ 6.0 compiler, and these
12940 values do not include any ACPI driver or OSPM code. The debug
12941 version of the code includes the debug output trace mechanism and
12942 has a larger code and data size. Note that these values will vary
12943 depending on the efficiency of the compiler and the compiler
12944 options used during generation.
12946 Previous Release (02_07_01)
12947 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
12948 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
12950 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
12951 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
12956 Updated Linux-specific code for core macro and OSL interface
12957 changes described above.
12959 Improved /proc/acpi/event. It now can be opened only once and has
12960 proper poll functionality.
12962 Fixed and restructured power management (acpi_bus).
12964 Only create /proc "view by type" when devices of that class exist.
12966 Fixed "charging/discharging" bug (and others) in acpi_battery.
12968 Improved thermal zone code.
12971 3) ASL Compiler, version X2039:
12974 Implemented the new compiler restriction on ASL String hex/octal
12975 escapes to non-null, ASCII values. An error results if an invalid
12976 value is used. (This will require an ACPI 2.0 specification
12979 AML object labels that are output to the optional C and ASM source
12980 are now prefixed with both the ACPI table signature and table ID
12981 to help guarantee uniqueness within a large BIOS project.
12984 ----------------------------------------
12985 Summary of changes for this label: 02_01_02
12987 1) ACPI CA Core Subsystem:
12989 ACPI 2.0 support is complete in the entire Core Subsystem and the
12990 ASL compiler. All new ACPI 2.0 operators are implemented and all
12991 other changes for ACPI 2.0 support are complete. With
12992 simultaneous code and data optimizations throughout the subsystem,
12993 ACPI 2.0 support has been implemented with almost no additional
12994 cost in terms of code and data size.
12996 Implemented a new mechanism for allocation of return buffers. If
12997 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
12998 be allocated on behalf of the caller. Consolidated all return
12999 buffer validation and allocation to a common procedure. Return
13000 buffers will be allocated via the primary OSL allocation interface
13001 since it appears that a separate pool is not needed by most users.
13002 If a separate pool is required for these buffers, the caller can
13003 still use the original mechanism and pre-allocate the buffer(s).
13005 Implemented support for string operands within the DerefOf
13008 Restructured the Hardware and Event managers to be table driven,
13009 simplifying the source code and reducing the amount of generated
13012 Split the common read/write low-level ACPI register bitfield
13013 procedure into a separate read and write, simplifying the code
13016 Obsoleted the AcpiOsCallocate OSL interface. This interface was
13017 used only a handful of times and didn't have enough critical mass
13018 for a separate interface. Replaced with a common calloc procedure
13021 Fixed a reported problem with the GPE number mapping mechanism
13022 that allows GPE1 numbers to be non-contiguous with GPE0.
13023 Reorganized the GPE information and shrunk a large array that was
13024 originally large enough to hold info for all possible GPEs (256)
13025 to simply large enough to hold all GPEs up to the largest GPE
13026 number on the machine.
13028 Fixed a reported problem with resource structure alignment on 64-
13031 Changed the AcpiEnableEvent and AcpiDisableEvent external
13032 interfaces to not require any flags for the common case of
13033 enabling/disabling a GPE.
13035 Implemented support to allow a "Notify" on a Processor object.
13037 Most TBDs in comments within the source code have been resolved
13041 Fixed a problem in the interpreter where a standalone parent
13042 prefix (^) was not handled correctly in the interpreter and
13045 Removed obsolete and unnecessary GPE save/restore code.
13047 Implemented Field support in the ASL Load operator. This allows a
13048 table to be loaded from a named field, in addition to loading a
13049 table directly from an Operation Region.
13051 Implemented timeout and handle support in the external Global Lock
13054 Fixed a problem in the AcpiDump utility where pathnames were no
13055 longer being generated correctly during the dump of named objects.
13057 Modified the AML debugger to give a full display of if/while
13058 predicates instead of just one AML opcode at a time. (The
13059 predicate can have several nested ASL statements.) The old method
13060 was confusing during single stepping.
13062 Code and Data Size: Current core subsystem library sizes are shown
13063 below. These are the code and data sizes for the acpica.lib
13064 produced by the Microsoft Visual C++ 6.0 compiler, and these
13065 values do not include any ACPI driver or OSPM code. The debug
13066 version of the code includes the debug output trace mechanism and
13067 has a larger code and data size. Note that these values will vary
13068 depending on the efficiency of the compiler and the compiler
13069 options used during generation.
13071 Previous Release (12_18_01)
13072 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
13073 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
13075 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
13076 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
13080 Implemented fix for PIIX reverse throttling errata (Processor
13083 Added new Limit interface (Processor and Thermal drivers)
13085 New thermal policy (Thermal driver)
13087 Many updates to /proc
13089 Battery "low" event support (Battery driver)
13091 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
13093 IA32 - IA64 initialization unification, no longer experimental
13095 Menuconfig options redesigned
13097 3) ASL Compiler, version X2037:
13099 Implemented several new output features to simplify integration of
13100 AML code into firmware: 1) Output the AML in C source code with
13101 labels for each named ASL object. The original ASL source code
13102 is interleaved as C comments. 2) Output the AML in ASM source code
13103 with labels and interleaved ASL source. 3) Output the AML in
13104 raw hex table form, in either C or ASM.
13106 Implemented support for optional string parameters to the
13107 LoadTable operator.
13109 Completed support for embedded escape sequences within string
13110 literals. The compiler now supports all single character escapes
13111 as well as the Octal and Hex escapes. Note: the insertion of a
13112 null byte into a string literal (via the hex/octal escape) causes
13113 the string to be immediately terminated. A warning is issued.
13115 Fixed a problem where incorrect AML was generated for the case
13116 where an ASL namepath consists of a single parent prefix (
13118 ) with no trailing name segments.
13120 The compiler has been successfully generated with a 64-bit C
13126 ----------------------------------------
13127 Summary of changes for this label: 12_18_01
13131 Enhanced blacklist with reason and severity fields. Any table's
13132 signature may now be used to identify a blacklisted system.
13134 Call _PIC control method to inform the firmware which interrupt
13135 model the OS is using. Turn on any disabled link devices.
13137 Cleaned up busmgr /proc error handling (Andreas Dilger)
13139 2) ACPI CA Core Subsystem:
13141 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
13144 Completed implementation of the ACPI 2.0 "Continue",
13145 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
13146 operators. All new ACPI 2.0 operators are now implemented in both
13147 the ASL compiler and the AML interpreter. The only remaining ACPI
13148 2.0 task is support for the String data type in the DerefOf
13149 operator. Fixed a problem with AcquireMutex where the status code
13150 was lost if the caller had to actually wait for the mutex.
13152 Increased the maximum ASL Field size from 64K bits to 4G bits.
13154 Completed implementation of the external Global Lock interfaces --
13155 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
13156 Handler parameters were added.
13158 Completed another pass at removing warnings and issues when
13159 compiling with 64-bit compilers. The code now compiles cleanly
13160 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
13161 add and subtract (diff) macros have changed considerably.
13164 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
13165 64-bit platforms, 32-bits on all others. This type is used
13166 wherever memory allocation and/or the C sizeof() operator is used,
13167 and affects the OSL memory allocation interfaces AcpiOsAllocate
13168 and AcpiOsCallocate.
13170 Implemented sticky user breakpoints in the AML debugger.
13172 Code and Data Size: Current core subsystem library sizes are shown
13173 below. These are the code and data sizes for the acpica.lib
13174 produced by the Microsoft Visual C++ 6.0 compiler, and these
13175 values do not include any ACPI driver or OSPM code. The debug
13176 version of the code includes the debug output trace mechanism and
13177 has a larger code and data size. Note that these values will vary
13178 depending on the efficiency of the compiler and the compiler
13179 options used during generation.
13181 Previous Release (12_05_01)
13182 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
13183 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
13185 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
13186 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
13188 3) ASL Compiler, version X2034:
13190 Now checks for (and generates an error if detected) the use of a
13191 Break or Continue statement without an enclosing While statement.
13194 Successfully generated the compiler with the Intel 64-bit C
13197 ----------------------------------------
13198 Summary of changes for this label: 12_05_01
13200 1) ACPI CA Core Subsystem:
13202 The ACPI 2.0 CopyObject operator is fully implemented. This
13203 operator creates a new copy of an object (and is also used to
13204 bypass the "implicit conversion" mechanism of the Store operator.)
13206 The ACPI 2.0 semantics for the SizeOf operator are fully
13207 implemented. The change is that performing a SizeOf on a
13208 reference object causes an automatic dereference of the object to
13209 tha actual value before the size is evaluated. This behavior was
13210 undefined in ACPI 1.0.
13212 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
13213 have been implemented. The interrupt polarity and mode are now
13216 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
13217 appearing in Package objects were not properly converted to
13218 integers when the internal Package was converted to an external
13219 object (via the AcpiEvaluateObject interface.)
13221 Fixed a problem with the namespace object deletion mechanism for
13222 objects created by control methods. There were two parts to this
13223 problem: 1) Objects created during the initialization phase method
13224 parse were not being deleted, and 2) The object owner ID mechanism
13225 to track objects was broken.
13227 Fixed a problem where the use of the ASL Scope operator within a
13228 control method would result in an invalid opcode exception.
13230 Fixed a problem introduced in the previous label where the buffer
13231 length required for the _PRT structure was not being returned
13234 Code and Data Size: Current core subsystem library sizes are shown
13235 below. These are the code and data sizes for the acpica.lib
13236 produced by the Microsoft Visual C++ 6.0 compiler, and these
13237 values do not include any ACPI driver or OSPM code. The debug
13238 version of the code includes the debug output trace mechanism and
13239 has a larger code and data size. Note that these values will vary
13240 depending on the efficiency of the compiler and the compiler
13241 options used during generation.
13243 Previous Release (11_20_01)
13244 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
13245 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
13248 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
13249 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
13253 Updated all files to apply cleanly against 2.4.16.
13255 Added basic PCI Interrupt Routing Table (PRT) support for IA32
13256 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
13257 version supports both static and dyanmic PRT entries, but dynamic
13258 entries are treated as if they were static (not yet
13259 reconfigurable). Architecture- specific code to use this data is
13260 absent on IA32 but should be available shortly.
13262 Changed the initialization sequence to start the ACPI interpreter
13263 (acpi_init) prior to initialization of the PCI driver (pci_init)
13264 in init/main.c. This ordering is required to support PRT and
13265 facilitate other (future) enhancement. A side effect is that the
13266 ACPI bus driver and certain device drivers can no longer be loaded
13269 Modified the 'make menuconfig' options to allow PCI Interrupt
13270 Routing support to be included without the ACPI Bus and other
13273 3) ASL Compiler, version X2033:
13275 Fixed some issues with the use of the new CopyObject and
13276 DataTableRegion operators. Both are fully functional.
13278 ----------------------------------------
13279 Summary of changes for this label: 11_20_01
13281 20 November 2001. Summary of changes for this release.
13283 1) ACPI CA Core Subsystem:
13285 Updated Index support to match ACPI 2.0 semantics. Storing a
13286 Integer, String, or Buffer to an Index of a Buffer will store only
13287 the least-significant byte of the source to the Indexed buffer
13288 byte. Multiple writes are not performed.
13290 Fixed a problem where the access type used in an AccessAs ASL
13291 operator was not recorded correctly into the field object.
13293 Fixed a problem where ASL Event objects were created in a
13294 signalled state. Events are now created in an unsignalled state.
13296 The internal object cache is now purged after table loading and
13297 initialization to reduce the use of dynamic kernel memory -- on
13298 the assumption that object use is greatest during the parse phase
13299 of the entire table (versus the run-time use of individual control
13302 ACPI 2.0 variable-length packages are now fully operational.
13304 Code and Data Size: Code and Data optimizations have permitted new
13305 feature development with an actual reduction in the library size.
13306 Current core subsystem library sizes are shown below. These are
13307 the code and data sizes for the acpica.lib produced by the
13308 Microsoft Visual C++ 6.0 compiler, and these values do not include
13309 any ACPI driver or OSPM code. The debug version of the code
13310 includes the debug output trace mechanism and has a larger code
13311 and data size. Note that these values will vary depending on the
13312 efficiency of the compiler and the compiler options used during
13315 Previous Release (11_09_01):
13316 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
13317 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
13320 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
13321 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
13325 Enhanced the ACPI boot-time initialization code to allow the use
13326 of Local APIC tables for processor enumeration on IA-32, and to
13327 pave the way for a fully MPS-free boot (on SMP systems) in the
13328 near future. This functionality replaces
13329 arch/i386/kernel/acpitables.c, which was introduced in an earlier
13330 2.4.15-preX release. To enable this feature you must add
13331 "acpi_boot=on" to the kernel command line -- see the help entry
13332 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
13335 Restructured the configuration options to allow boot-time table
13336 parsing support without inclusion of the ACPI Interpreter (and
13339 NOTE: This release does not include fixes for the reported events,
13340 power-down, and thermal passive cooling issues (coming soon).
13344 Added additional typechecking for Fields within restricted access
13345 Operation Regions. All fields within EC and CMOS regions must be
13346 declared with ByteAcc. All fields withing SMBus regions must be
13347 declared with the BufferAcc access type.
13349 Fixed a problem where the listing file output of control methods
13350 no longer interleaved the actual AML code with the ASL source
13356 ----------------------------------------
13357 Summary of changes for this label: 11_09_01
13359 1) ACPI CA Core Subsystem:
13361 Implemented ACPI 2.0-defined support for writes to fields with a
13362 Buffer, String, or Integer source operand that is smaller than the
13363 target field. In these cases, the source operand is zero-extended
13364 to fill the target field.
13366 Fixed a problem where a Field starting bit offset (within the
13367 parent operation region) was calculated incorrectly if the
13369 alignment of the field differed from the access width. This
13370 affected CreateWordField, CreateDwordField, CreateQwordField, and
13371 possibly other fields that use the "AccessAny" keyword.
13373 Fixed a problem introduced in the 11_02_01 release where indirect
13374 stores through method arguments did not operate correctly.
13378 Implemented boot-time ACPI table parsing support
13379 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
13380 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
13381 legacy BIOS interfaces (e.g. MPS) for the configuration of system
13382 processors, memory, and interrupts during setup_arch(). Note that
13383 this patch does not include the required architecture-specific
13384 changes required to apply this information -- subsequent patches
13385 will be posted for both IA32 and IA64 to achieve this.
13387 Added low-level sleep support for IA32 platforms, courtesy of Pat
13388 Mochel. This allows IA32 systems to transition to/from various
13389 sleeping states (e.g. S1, S3), although the lack of a centralized
13390 driver model and power-manageable drivers will prevent its
13391 (successful) use on most systems.
13393 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
13394 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
13395 tables" option, etc.
13397 Increased the default timeout for the EC driver from 1ms to 10ms
13398 (1000 cycles of 10us) to try to address AE_TIME errors during EC
13401 ----------------------------------------
13402 Summary of changes for this label: 11_02_01
13404 1) ACPI CA Core Subsystem:
13406 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
13407 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
13410 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
13411 changes to support ACPI 2.0 Qword field access. Read/Write
13412 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
13413 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
13414 the value parameter for the address space handler interface is now
13415 an ACPI_INTEGER. OSL implementations of these interfaces must now
13416 handle the case where the Width parameter is 64.
13418 Index Fields: Fixed a problem where unaligned bit assembly and
13419 disassembly for IndexFields was not supported correctly.
13421 Index and Bank Fields: Nested Index and Bank Fields are now
13422 supported. During field access, a check is performed to ensure
13423 that the value written to an Index or Bank register is not out of
13424 the range of the register. The Index (or Bank) register is
13425 written before each access to the field data. Future support will
13426 include allowing individual IndexFields to be wider than the
13427 DataRegister width.
13429 Fields: Fixed a problem where the AML interpreter was incorrectly
13430 attempting to write beyond the end of a Field/OpRegion. This was
13431 a boundary case that occurred when a DWORD field was written to a
13432 BYTE access OpRegion, forcing multiple writes and causing the
13433 interpreter to write one datum too many.
13435 Fields: Fixed a problem with Field/OpRegion access where the
13436 starting bit address of a field was incorrectly calculated if the
13437 current access type was wider than a byte (WordAcc, DwordAcc, or
13440 Fields: Fixed a problem where forward references to individual
13441 FieldUnits (individual Field names within a Field definition) were
13442 not resolved during the AML table load.
13444 Fields: Fixed a problem where forward references from a Field
13445 definition to the parent Operation Region definition were not
13446 resolved during the AML table load.
13448 Fields: Duplicate FieldUnit names within a scope are now detected
13449 during AML table load.
13451 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
13452 returned an incorrect name for the root node.
13454 Code and Data Size: Code and Data optimizations have permitted new
13455 feature development with an actual reduction in the library size.
13456 Current core subsystem library sizes are shown below. These are
13457 the code and data sizes for the acpica.lib produced by the
13458 Microsoft Visual C++ 6.0 compiler, and these values do not include
13459 any ACPI driver or OSPM code. The debug version of the code
13460 includes the debug output trace mechanism and has a larger code
13461 and data size. Note that these values will vary depending on the
13462 efficiency of the compiler and the compiler options used during
13465 Previous Release (10_18_01):
13466 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
13467 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
13470 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
13471 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
13475 Improved /proc processor output (Pavel Machek) Re-added
13476 MODULE_LICENSE("GPL") to all modules.
13478 3) ASL Compiler version X2030:
13480 Duplicate FieldUnit names within a scope are now detected and
13485 Programmer Reference updated to reflect OSL and address space
13486 handler interface changes described above.
13488 ----------------------------------------
13489 Summary of changes for this label: 10_18_01
13491 ACPI CA Core Subsystem:
13493 Fixed a problem with the internal object reference count mechanism
13494 that occasionally caused premature object deletion. This resolves
13495 all of the outstanding problem reports where an object is deleted
13496 in the middle of an interpreter evaluation. Although this problem
13497 only showed up in rather obscure cases, the solution to the
13498 problem involved an adjustment of all reference counts involving
13499 objects attached to namespace nodes.
13501 Fixed a problem with Field support in the interpreter where
13502 writing to an aligned field whose length is an exact multiple (2
13503 or greater) of the field access granularity would cause an attempt
13504 to write beyond the end of the field.
13506 The top level AML opcode execution functions within the
13507 interpreter have been renamed with a more meaningful and
13508 consistent naming convention. The modules exmonad.c and
13509 exdyadic.c were eliminated. New modules are exoparg1.c,
13510 exoparg2.c, exoparg3.c, and exoparg6.c.
13512 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
13514 Fixed a problem where the AML debugger was causing some internal
13515 objects to not be deleted during subsystem termination.
13517 Fixed a problem with the external AcpiEvaluateObject interface
13518 where the subsystem would fault if the named object to be
13519 evaluated refered to a constant such as Zero, Ones, etc.
13521 Fixed a problem with IndexFields and BankFields where the
13522 subsystem would fault if the index, data, or bank registers were
13523 not defined in the same scope as the field itself.
13525 Added printf format string checking for compilers that support
13526 this feature. Corrected more than 50 instances of issues with
13527 format specifiers within invocations of ACPI_DEBUG_PRINT
13528 throughout the core subsystem code.
13530 The ASL "Revision" operator now returns the ACPI support level
13531 implemented in the core - the value "2" since the ACPI 2.0 support
13532 is more than 50% implemented.
13534 Enhanced the output of the AML debugger "dump namespace" command
13535 to output in a more human-readable form.
13537 Current core subsystem library code sizes are shown below. These
13539 are the code and data sizes for the acpica.lib produced by the
13540 Microsoft Visual C++ 6.0 compiler, and these values do not include
13541 any ACPI driver or OSPM code. The debug version of the code
13542 includes the full debug trace mechanism -- leading to a much
13544 larger code and data size. Note that these values will vary
13545 depending on the efficiency of the compiler and the compiler
13546 options used during generation.
13548 Previous Label (09_20_01):
13549 Non-Debug Version: 65K Code, 5K Data, 70K Total
13550 Debug Version: 138K Code, 58K Data, 196K Total
13554 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
13555 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
13559 Implemented a "Bad BIOS Blacklist" to track machines that have
13560 known ASL/AML problems.
13562 Enhanced the /proc interface for the thermal zone driver and added
13563 support for _HOT (the critical suspend trip point). The 'info'
13564 file now includes threshold/policy information, and allows setting
13565 of _SCP (cooling preference) and _TZP (polling frequency) values
13566 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
13567 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
13568 preference to the passive/quiet mode (if supported by the ASL).
13570 Implemented a workaround for a gcc bug that resuted in an OOPs
13571 when loading the control method battery driver.
13573 ----------------------------------------
13574 Summary of changes for this label: 09_20_01
13576 ACPI CA Core Subsystem:
13578 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
13579 modified to allow individual GPE levels to be flagged as wake-
13580 enabled (i.e., these GPEs are to remain enabled when the platform
13583 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
13584 support wake-enabled GPEs. This means that upon entering the
13585 sleep state, all GPEs that are not wake-enabled are disabled.
13586 When leaving the sleep state, these GPEs are reenabled.
13588 A local double-precision divide/modulo module has been added to
13589 enhance portability to OS kernels where a 64-bit math library is
13590 not available. The new module is "utmath.c".
13592 Several optimizations have been made to reduce the use of CPU
13593 stack. Originally over 2K, the maximum stack usage is now below
13594 2K at 1860 bytes (1.82k)
13596 Fixed a problem with the AcpiGetFirmwareTable interface where the
13597 root table pointer was not mapped into a logical address properly.
13599 Fixed a problem where a NULL pointer was being dereferenced in the
13600 interpreter code for the ASL Notify operator.
13602 Fixed a problem where the use of the ASL Revision operator
13603 returned an error. This operator now returns the current version
13604 of the ACPI CA core subsystem.
13606 Fixed a problem where objects passed as control method parameters
13607 to AcpiEvaluateObject were always deleted at method termination.
13608 However, these objects may end up being stored into the namespace
13609 by the called method. The object reference count mechanism was
13610 applied to these objects instead of a force delete.
13612 Fixed a problem where static strings or buffers (contained in the
13613 AML code) that are declared as package elements within the ASL
13614 code could cause a fault because the interpreter would attempt to
13615 delete them. These objects are now marked with the "static
13616 object" flag to prevent any attempt to delete them.
13618 Implemented an interpreter optimization to use operands directly
13619 from the state object instead of extracting the operands to local
13620 variables. This reduces stack use and code size, and improves
13623 The module exxface.c was eliminated as it was an unnecessary extra
13626 Current core subsystem library code sizes are shown below. These
13627 are the code and data sizes for the acpica.lib produced by the
13628 Microsoft Visual C++ 6.0 compiler, and these values do not include
13629 any ACPI driver or OSPM code. The debug version of the code
13630 includes the full debug trace mechanism -- leading to a much
13631 larger code and data size. Note that these values will vary
13632 depending on the efficiency of the compiler and the compiler
13633 options used during generation.
13635 Non-Debug Version: 65K Code, 5K Data, 70K Total
13636 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
13637 Total (Previously 195K)
13641 Support for ACPI 2.0 64-bit integers has been added. All ACPI
13642 Integer objects are now 64 bits wide
13644 All Acpi data types and structures are now in lower case. Only
13645 Acpi macros are upper case for differentiation.
13649 Changes to the external interfaces as described above.
13651 ----------------------------------------
13652 Summary of changes for this label: 08_31_01
13654 ACPI CA Core Subsystem:
13656 A bug with interpreter implementation of the ASL Divide operator
13657 was found and fixed. The implicit function return value (not the
13658 explicit store operands) was returning the remainder instead of
13659 the quotient. This was a longstanding bug and it fixes several
13660 known outstanding issues on various platforms.
13662 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
13663 been further optimized for size. There are 700 invocations of the
13664 DEBUG_PRINT macro alone, so each optimization reduces the size of
13665 the debug version of the subsystem significantly.
13667 A stack trace mechanism has been implemented. The maximum stack
13668 usage is about 2K on 32-bit platforms. The debugger command "stat
13669 stack" will display the current maximum stack usage.
13671 All public symbols and global variables within the subsystem are
13672 now prefixed with the string "Acpi". This keeps all of the
13673 symbols grouped together in a kernel map, and avoids conflicts
13674 with other kernel subsystems.
13676 Most of the internal fixed lookup tables have been moved into the
13677 code segment via the const operator.
13679 Several enhancements have been made to the interpreter to both
13680 reduce the code size and improve performance.
13682 Current core subsystem library code sizes are shown below. These
13683 are the code and data sizes for the acpica.lib produced by the
13684 Microsoft Visual C++ 6.0 compiler, and these values do not include
13685 any ACPI driver or OSPM code. The debug version of the code
13686 includes the full debug trace mechanism which contains over 700
13687 invocations of the DEBUG_PRINT macro, 500 function entry macro
13688 invocations, and over 900 function exit macro invocations --
13689 leading to a much larger code and data size. Note that these
13690 values will vary depending on the efficiency of the compiler and
13691 the compiler options used during generation.
13693 Non-Debug Version: 64K Code, 5K Data, 69K Total
13694 Debug Version: 137K Code, 58K Data, 195K Total
13698 Implemented wbinvd() macro, pending a kernel-wide definition.
13700 Fixed /proc/acpi/event to handle poll() and short reads.
13702 ASL Compiler, version X2026:
13704 Fixed a problem introduced in the previous label where the AML
13706 code emitted for package objects produced packages with zero
13709 ----------------------------------------
13710 Summary of changes for this label: 08_16_01
13712 ACPI CA Core Subsystem:
13714 The following ACPI 2.0 ASL operators have been implemented in the
13715 AML interpreter (These are already supported by the Intel ASL
13716 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
13717 ToBuffer. Support for 64-bit AML constants is implemented in the
13718 AML parser, debugger, and disassembler.
13720 The internal memory tracking mechanism (leak detection code) has
13721 been upgraded to reduce the memory overhead (a separate tracking
13722 block is no longer allocated for each memory allocation), and now
13723 supports all of the internal object caches.
13725 The data structures and code for the internal object caches have
13726 been coelesced and optimized so that there is a single cache and
13727 memory list data structure and a single group of functions that
13728 implement generic cache management. This has reduced the code
13729 size in both the debug and release versions of the subsystem.
13731 The DEBUG_PRINT macro(s) have been optimized for size and replaced
13732 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
13733 different, because it generates a single call to an internal
13734 function. This results in a savings of about 90 bytes per
13735 invocation, resulting in an overall code and data savings of about
13736 16% in the debug version of the subsystem.
13740 Fixed C3 disk corruption problems and re-enabled C3 on supporting
13743 Integrated low-level sleep code by Patrick Mochel.
13745 Further tweaked source code Linuxization.
13751 Support for ACPI 2.0 variable length packages is fixed/completed.
13753 Fixed a problem where the optional length parameter for the ACPI
13754 2.0 ToString operator.
13756 Fixed multiple extraneous error messages when a syntax error is
13757 detected within the declaration line of a control method.
13759 ----------------------------------------
13760 Summary of changes for this label: 07_17_01
13762 ACPI CA Core Subsystem:
13764 Added a new interface named AcpiGetFirmwareTable to obtain any
13765 ACPI table via the ACPI signature. The interface can be called at
13766 any time during kernel initialization, even before the kernel
13767 virtual memory manager is initialized and paging is enabled. This
13768 allows kernel subsystems to obtain ACPI tables very early, even
13769 before the ACPI CA subsystem is initialized.
13771 Fixed a problem where Fields defined with the AnyAcc attribute
13772 could be resolved to the incorrect address under the following
13773 conditions: 1) the field width is larger than 8 bits and 2) the
13774 parent operation region is not defined on a DWORD boundary.
13776 Fixed a problem where the interpreter is not being locked during
13777 namespace initialization (during execution of the _INI control
13778 methods), causing an error when an attempt is made to release it
13781 ACPI 2.0 support in the AML Interpreter has begun and will be
13782 ongoing throughout the rest of this year. In this label, The Mod
13783 operator is implemented.
13785 Added a new data type to contain full PCI addresses named
13786 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
13787 and Function values.
13791 Enhanced the Linux version of the source code to change most
13792 capitalized ACPI type names to lowercase. For example, all
13793 instances of ACPI_STATUS are changed to acpi_status. This will
13794 result in a large diff, but the change is strictly cosmetic and
13795 aligns the CA code closer to the Linux coding standard.
13799 The interfaces to the PCI configuration space have been changed to
13800 add the PCI Segment number and to split the single 32-bit combined
13801 DeviceFunction field into two 16-bit fields. This was
13802 accomplished by moving the four values that define an address in
13803 PCI configuration space (segment, bus, device, and function) to
13804 the new ACPI_PCI_ID structure.
13806 The changes to the PCI configuration space interfaces led to a
13807 reexamination of the complete set of address space access
13808 interfaces for PCI, I/O, and Memory. The previously existing 18
13809 interfaces have proven difficult to maintain (any small change
13810 must be propagated across at least 6 interfaces) and do not easily
13811 allow for future expansion to 64 bits if necessary. Also, on some
13812 systems, it would not be appropriate to demultiplex the access
13813 width (8, 16, 32,or 64) before calling the OSL if the
13814 corresponding native OS interfaces contain a similar access width
13815 parameter. For these reasons, the 18 address space interfaces
13816 have been replaced by these 6 new ones:
13818 AcpiOsReadPciConfiguration
13819 AcpiOsWritePciConfiguration
13825 Added a new interface named AcpiOsGetRootPointer to allow the OSL
13826 to perform the platform and/or OS-specific actions necessary to
13827 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
13828 interface will simply call down to the CA core to perform the low-
13829 memory search for the table. On IA-64, the RSDP is obtained from
13830 EFI. Migrating this interface to the OSL allows the CA core to
13832 remain OS and platform independent.
13834 Added a new interface named AcpiOsSignal to provide a generic
13835 "function code and pointer" interface for various miscellaneous
13836 signals and notifications that must be made to the host OS. The
13837 first such signals are intended to support the ASL Fatal and
13838 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
13839 interface has been obsoleted.
13841 The definition of the AcpiFormatException interface has been
13842 changed to simplify its use. The caller no longer must supply a
13843 buffer to the call; A pointer to a const string is now returned
13844 directly. This allows the call to be easily used in printf
13845 statements, etc. since the caller does not have to manage a local
13849 ASL Compiler, Version X2025:
13851 The ACPI 2.0 Switch/Case/Default operators have been implemented
13852 and are fully functional. They will work with all ACPI 1.0
13853 interpreters, since the operators are simply translated to If/Else
13856 The ACPI 2.0 ElseIf operator is implemented and will also work
13857 with 1.0 interpreters, for the same reason.
13859 Implemented support for ACPI 2.0 variable-length packages. These
13860 packages have a separate opcode, and their size is determined by
13861 the interpreter at run-time.
13863 Documentation The ACPI CA Programmer Reference has been updated to
13864 reflect the new interfaces and changes to existing interfaces.
13866 ------------------------------------------
13867 Summary of changes for this label: 06_15_01
13869 ACPI CA Core Subsystem:
13871 Fixed a problem where a DWORD-accessed field within a Buffer
13872 object would get its byte address inadvertently rounded down to
13873 the nearest DWORD. Buffers are always Byte-accessible.
13875 ASL Compiler, version X2024:
13877 Fixed a problem where the Switch() operator would either fault or
13878 hang the compiler. Note however, that the AML code for this ACPI
13879 2.0 operator is not yet implemented.
13881 Compiler uses the new AcpiOsGetTimer interface to obtain compile
13884 Implementation of the CreateField operator automatically converts
13885 a reference to a named field within a resource descriptor from a
13886 byte offset to a bit offset if required.
13888 Added some missing named fields from the resource descriptor
13889 support. These are the names that are automatically created by the
13890 compiler to reference fields within a descriptor. They are only
13891 valid at compile time and are not passed through to the AML
13894 Resource descriptor named fields are now typed as Integers and
13895 subject to compile-time typechecking when used in expressions.
13897 ------------------------------------------
13898 Summary of changes for this label: 05_18_01
13900 ACPI CA Core Subsystem:
13902 Fixed a couple of problems in the Field support code where bits
13903 from adjacent fields could be returned along with the proper field
13904 bits. Restructured the field support code to improve performance,
13905 readability and maintainability.
13907 New DEBUG_PRINTP macro automatically inserts the procedure name
13908 into the output, saving hundreds of copies of procedure name
13909 strings within the source, shrinking the memory footprint of the
13910 debug version of the core subsystem.
13912 Source Code Structure:
13914 The source code directory tree was restructured to reflect the
13915 current organization of the component architecture. Some files
13916 and directories have been moved and/or renamed.
13920 Fixed leaking kacpidpc processes.
13922 Fixed queueing event data even when /proc/acpi/event is not
13925 ASL Compiler, version X2020:
13927 Memory allocation performance enhancement - over 24X compile time
13928 improvement on large ASL files. Parse nodes and namestring
13929 buffers are now allocated from a large internal compiler buffer.
13931 The temporary .SRC file is deleted unless the "-s" option is
13934 The "-d" debug output option now sends all output to the .DBG file
13935 instead of the console.
13937 "External" second parameter is now optional
13939 "ElseIf" syntax now properly allows the predicate
13941 Last operand to "Load" now recognized as a Target operand
13943 Debug object can now be used anywhere as a normal object.
13945 ResourceTemplate now returns an object of type BUFFER
13947 EISAID now returns an object of type INTEGER
13949 "Index" now works with a STRING operand
13951 "LoadTable" now accepts optional parameters
13953 "ToString" length parameter is now optional
13955 "Interrupt (ResourceType," parse error fixed.
13957 "Register" with a user-defined region space parse error fixed
13959 Escaped backslash at the end of a string ("\\") scan/parse error
13962 "Revision" is now an object of type INTEGER.
13966 ------------------------------------------
13967 Summary of changes for this label: 05_02_01
13971 /proc/acpi/event now blocks properly.
13973 Removed /proc/sys/acpi. You can still dump your DSDT from
13976 ACPI CA Core Subsystem:
13978 Fixed a problem introduced in the previous label where some of the
13979 "small" resource descriptor types were not recognized.
13981 Improved error messages for the case where an ASL Field is outside
13982 the range of the parent operation region.
13984 ASL Compiler, version X2018:
13987 Added error detection for ASL Fields that extend beyond the length
13988 of the parent operation region (only if the length of the region
13989 is known at compile time.) This includes fields that have a
13990 minimum access width that is smaller than the parent region, and
13991 individual field units that are partially or entirely beyond the
13992 extent of the parent.
13996 ------------------------------------------
13997 Summary of changes for this label: 04_27_01
13999 ACPI CA Core Subsystem:
14001 Fixed a problem where the namespace mutex could be released at the
14002 wrong time during execution of AcpiRemoveAddressSpaceHandler.
14004 Added optional thread ID output for debug traces, to simplify
14005 debugging of multiple threads. Added context switch notification
14006 when the debug code realizes that a different thread is now
14007 executing ACPI code.
14009 Some additional external data types have been prefixed with the
14010 string "ACPI_" for consistency. This may effect existing code.
14011 The data types affected are the external callback typedefs - e.g.,
14013 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
14017 Fixed an issue with the OSL semaphore implementation where a
14018 thread was waking up with an error from receiving a SIGCHLD
14021 Linux version of ACPI CA now uses the system C library for string
14022 manipulation routines instead of a local implementation.
14024 Cleaned up comments and removed TBDs.
14026 ASL Compiler, version X2017:
14028 Enhanced error detection and reporting for all file I/O
14033 Programmer Reference updated to version 1.06.
14037 ------------------------------------------
14038 Summary of changes for this label: 04_13_01
14040 ACPI CA Core Subsystem:
14042 Restructured support for BufferFields and RegionFields.
14043 BankFields support is now fully operational. All known 32-bit
14044 limitations on field sizes have been removed. Both BufferFields
14045 and (Operation) RegionFields are now supported by the same field
14048 Resource support now supports QWORD address and IO resources. The
14049 16/32/64 bit address structures and the Extended IRQ structure
14050 have been changed to properly handle Source Resource strings.
14052 A ThreadId of -1 is now used to indicate a "mutex not acquired"
14053 condition internally and must never be returned by AcpiOsThreadId.
14054 This reserved value was changed from 0 since Unix systems allow a
14059 Driver code reorganized to enhance portability
14061 Added a kernel configuration option to control ACPI_DEBUG
14063 Fixed the EC driver to honor _GLK.
14065 ASL Compiler, version X2016:
14067 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
14068 address space was set to 0, not 0x7f as it should be.
14070 ------------------------------------------
14071 Summary of changes for this label: 03_13_01
14073 ACPI CA Core Subsystem:
14075 During ACPI initialization, the _SB_._INI method is now run if
14078 Notify handler fix - notifies are deferred until the parent method
14079 completes execution. This fixes the "mutex already acquired"
14080 issue seen occasionally.
14082 Part of the "implicit conversion" rules in ACPI 2.0 have been
14083 found to cause compatibility problems with existing ASL/AML. The
14084 convert "result-to-target-type" implementation has been removed
14085 for stores to method Args and Locals. Source operand conversion
14086 is still fully implemented. Possible changes to ACPI 2.0
14087 specification pending.
14089 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
14092 Fix for compiler warnings for 64-bit compiles.
14096 /proc output aligned for easier parsing.
14098 Release-version compile problem fixed.
14100 New kernel configuration options documented in Configure.help.
14102 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
14107 Power resource driver integrated with bus manager.
14109 Fixed kernel fault during active cooling for thermal zones.
14113 The source code tree has been restructured.
14117 ------------------------------------------
14118 Summary of changes for this label: 03_02_01
14120 Linux OS Services Layer (OSL):
14122 Major revision of all Linux-specific code.
14124 Modularized all ACPI-specific drivers.
14126 Added new thermal zone and power resource drivers.
14128 Revamped /proc interface (new functionality is under /proc/acpi).
14130 New kernel configuration options.
14132 Linux known issues:
14134 New kernel configuration options not documented in Configure.help
14138 Module dependencies not currently implemented. If used, they
14139 should be loaded in this order: busmgr, power, ec, system,
14140 processor, battery, ac_adapter, button, thermal.
14142 Modules will not load if CONFIG_MODVERSION is set.
14144 IBM 600E - entering S5 may reboot instead of shutting down.
14146 IBM 600E - Sleep button may generate "Invalid <NULL> context"
14149 Some systems may fail with "execution mutex already acquired"
14152 ACPI CA Core Subsystem:
14154 Added a new OSL Interface, AcpiOsGetThreadId. This was required
14155 for the deadlock detection code. Defined to return a non-zero, 32-
14156 bit thread ID for the currently executing thread. May be a non-
14157 zero constant integer on single-thread systems.
14159 Implemented deadlock detection for internal subsystem mutexes. We
14160 may add conditional compilation for this code (debug only) later.
14162 ASL/AML Mutex object semantics are now fully supported. This
14163 includes multiple acquires/releases by owner and support for the
14165 Mutex SyncLevel parameter.
14167 A new "Force Release" mechanism automatically frees all ASL
14168 Mutexes that have been acquired but not released when a thread
14169 exits the interpreter. This forces conformance to the ACPI spec
14170 ("All mutexes must be released when an invocation exits") and
14171 prevents deadlocked ASL threads. This mechanism can be expanded
14172 (later) to monitor other resource acquisitions if OEM ASL code
14173 continues to misbehave (which it will).
14175 Several new ACPI exception codes have been added for the Mutex
14178 Recursive method calls are now allowed and supported (the ACPI
14179 spec does in fact allow recursive method calls.) The number of
14180 recursive calls is subject to the restrictions imposed by the
14181 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
14184 Implemented support for the SyncLevel parameter for control
14185 methods (ACPI 2.0 feature)
14187 Fixed a deadlock problem when multiple threads attempted to use
14190 Fixed a problem where the string length of a String package
14191 element was not always set in a package returned from
14192 AcpiEvaluateObject.
14194 Fixed a problem where the length of a String package element was
14195 not always included in the length of the overall package returned
14196 from AcpiEvaluateObject.
14198 Added external interfaces (Acpi*) to the ACPI debug memory
14199 manager. This manager keeps a list of all outstanding
14200 allocations, and can therefore detect memory leaks and attempts to
14201 free memory blocks more than once. Useful for code such as the
14202 power manager, etc. May not be appropriate for device drivers.
14203 Performance with the debug code enabled is slow.
14205 The ACPI Global Lock is now an optional hardware element.
14207 ASL Compiler Version X2015:
14209 Integrated changes to allow the compiler to be generated on
14210 multiple platforms.
14212 Linux makefile added to generate the compiler on Linux
14216 All platform-specific headers have been moved to their own
14217 subdirectory, Include/Platform.
14219 New source file added, Interpreter/ammutex.c
14221 New header file, Include/acstruct.h
14225 The programmer reference has been updated for the following new
14226 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
14228 ------------------------------------------
14229 Summary of changes for this label: 02_08_01
14231 Core ACPI CA Subsystem: Fixed a problem where an error was
14232 incorrectly returned if the return resource buffer was larger than
14233 the actual data (in the resource interfaces).
14235 References to named objects within packages are resolved to the
14237 full pathname string before packages are returned directly (via
14238 the AcpiEvaluateObject interface) or indirectly via the resource
14241 Linux OS Services Layer (OSL):
14243 Improved /proc battery interface.
14246 Added C-state debugging output and other miscellaneous fixes.
14248 ASL Compiler Version X2014:
14250 All defined method arguments can now be used as local variables,
14251 including the ones that are not actually passed in as parameters.
14252 The compiler tracks initialization of the arguments and issues an
14253 exception if they are used without prior assignment (just like
14256 The -o option now specifies a filename prefix that is used for all
14257 output files, including the AML output file. Otherwise, the
14258 default behavior is as follows: 1) the AML goes to the file
14259 specified in the DSDT. 2) all other output files use the input
14260 source filename as the base.
14262 ------------------------------------------
14263 Summary of changes for this label: 01_25_01
14265 Core ACPI CA Subsystem: Restructured the implementation of object
14266 store support within the interpreter. This includes support for
14267 the Store operator as well as any ASL operators that include a
14270 Partially implemented support for Implicit Result-to-Target
14271 conversion. This is when a result object is converted on the fly
14272 to the type of an existing target object. Completion of this
14273 support is pending further analysis of the ACPI specification
14274 concerning this matter.
14276 CPU-specific code has been removed from the subsystem (hardware
14279 New Power Management Timer functions added
14281 Linux OS Services Layer (OSL): Moved system state transition code
14282 to the core, fixed it, and modified Linux OSL accordingly.
14284 Fixed C2 and C3 latency calculations.
14287 We no longer use the compilation date for the version message on
14288 initialization, but retrieve the version from AcpiGetSystemInfo().
14290 Incorporated for fix Sony VAIO machines.
14292 Documentation: The Programmer Reference has been updated and
14296 ASL Compiler: Version X2013: Fixed a problem where the line
14297 numbering and error reporting could get out of sync in the
14298 presence of multiple include files.
14300 ------------------------------------------
14301 Summary of changes for this label: 01_15_01
14303 Core ACPI CA Subsystem:
14305 Implemented support for type conversions in the execution of the
14306 ASL Concatenate operator (The second operand is converted to
14307 match the type of the first operand before concatenation.)
14309 Support for implicit source operand conversion is partially
14310 implemented. The ASL source operand types Integer, Buffer, and
14311 String are freely interchangeable for most ASL operators and are
14312 converted by the interpreter on the fly as required. Implicit
14313 Target operand conversion (where the result is converted to the
14314 target type before storing) is not yet implemented.
14316 Support for 32-bit and 64-bit BCD integers is implemented.
14318 Problem fixed where a field read on an aligned field could cause a
14319 read past the end of the field.
14321 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
14322 does not return a value, but the caller expects one. (The ASL
14323 compiler flags this as a warning.)
14328 1. Static typechecking of all operands is implemented. This
14329 prevents the use of invalid objects (such as using a Package where
14330 an Integer is required) at compile time instead of at interpreter
14332 2. The ASL source line is printed with ALL errors and warnings.
14333 3. Bug fix for source EOF without final linefeed.
14334 4. Debug option is split into a parse trace and a namespace trace.
14335 5. Namespace output option (-n) includes initial values for
14336 integers and strings.
14337 6. Parse-only option added for quick syntax checking.
14338 7. Compiler checks for duplicate ACPI name declarations
14341 1. Relaxed typechecking to allow interchangeability between
14342 strings, integers, and buffers. These types are now converted by
14343 the interpreter at runtime.
14344 2. Compiler reports time taken by each internal subsystem in the
14348 ------------------------------------------
14349 Summary of changes for this label: 12_14_00
14353 This is the first official release of the compiler. Since the
14354 compiler requires elements of the Core Subsystem, this label
14355 synchronizes everything.
14357 ------------------------------------------
14358 Summary of changes for this label: 12_08_00
14361 Fixed a problem where named references within the ASL definition
14362 of both OperationRegions and CreateXXXFields did not work
14363 properly. The symptom was an AE_AML_OPERAND_TYPE during
14364 initialization of the region/field. This is similar (but not
14365 related internally) to the problem that was fixed in the last
14368 Implemented both 32-bit and 64-bit support for the BCD ASL
14369 functions ToBCD and FromBCD.
14371 Updated all legal headers to include "2000" in the copyright
14374 ------------------------------------------
14375 Summary of changes for this label: 12_01_00
14377 Fixed a problem where method invocations within the ASL definition
14378 of both OperationRegions and CreateXXXFields did not work
14379 properly. The symptom was an AE_AML_OPERAND_TYPE during
14380 initialization of the region/field:
14382 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
14383 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
14386 Fixed a problem where operators with more than one nested
14387 subexpression would fail. The symptoms were varied, by mostly
14388 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
14389 problem that has gone unnoticed until now.
14391 Subtract (Add (1,2), Multiply (3,4))
14393 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
14394 previous build (The prefix part of a relative path was handled
14397 Fixed a problem where Operation Region initialization failed if
14398 the operation region name was a "namepath" instead of a simple
14399 "nameseg". Symptom was an AE_NO_OPERAND error.
14401 Fixed a problem where an assignment to a local variable via the
14402 indirect RefOf mechanism only worked for the first such
14403 assignment. Subsequent assignments were ignored.
14405 ------------------------------------------
14406 Summary of changes for this label: 11_15_00
14408 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
14409 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
14410 the AML interpreter does NOT have support for the new 2.0 ASL
14411 grammar terms at this time.
14413 All ACPI hardware access is via the GAS structures in the ACPI 2.0
14416 All physical memory addresses across all platforms are now 64 bits
14417 wide. Logical address width remains dependent on the platform
14420 AcpiOsMapMemory interface changed to a 64-bit physical address.
14422 The AML interpreter integer size is now 64 bits, as per the ACPI
14425 For backwards compatibility with ACPI 1.0, ACPI tables with a
14426 revision number less than 2 use 32-bit integers only.
14428 Fixed a problem where the evaluation of OpRegion operands did not
14429 always resolve them to numbers properly.
14431 ------------------------------------------
14432 Summary of changes for this label: 10_20_00
14434 Fix for CBN_._STA issue. This fix will allow correct access to
14435 CBN_ OpRegions when the _STA returns 0x8.
14437 Support to convert ACPI constants (Ones, Zeros, One) to actual
14438 values before a package object is returned
14440 Fix for method call as predicate to if/while construct causing
14441 incorrect if/while behavior
14443 Fix for Else block package lengths sometimes calculated wrong (if
14446 Fix for Processor object length field, was always zero
14448 Table load abort if FACP sanity check fails
14450 Fix for problem with Scope(name) if name already exists
14452 Warning emitted if a named object referenced cannot be found
14453 (resolved) during method execution.
14459 ------------------------------------------
14460 Summary of changes for this label: 9_29_00
14462 New table initialization interfaces: AcpiInitializeSubsystem no
14463 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
14464 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
14465 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
14468 Note: These interface changes require changes to all existing OSDs
14470 The PCI_Config default address space handler is always installed
14471 at the root namespace object.
14473 -------------------------------------------
14474 Summary of changes for this label: 09_15_00
14476 The new initialization architecture is implemented. New
14477 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
14478 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
14480 (Namespace is automatically loaded when a table is loaded)
14482 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
14483 52 bytes to 32 bytes. There is usually one of these for every
14484 namespace object, so the memory savings is significant.
14486 Implemented just-in-time evaluation of the CreateField operators.
14488 Bug fixes for IA-64 support have been integrated.
14490 Additional code review comments have been implemented
14492 The so-called "third pass parse" has been replaced by a final walk
14493 through the namespace to initialize all operation regions (address
14494 spaces) and fields that have not yet been initialized during the
14495 execution of the various _INI and REG methods.
14497 New file - namespace/nsinit.c
14499 -------------------------------------------
14500 Summary of changes for this label: 09_01_00
14502 Namespace manager data structures have been reworked to change the
14503 primary object from a table to a single object. This has
14504 resulted in dynamic memory savings of 3X within the namespace and
14505 2X overall in the ACPI CA subsystem.
14507 Fixed problem where the call to AcpiEvFindPciRootBuses was
14508 inadvertently left commented out.
14510 Reduced the warning count when generating the source with the GCC
14513 Revision numbers added to each module header showing the
14514 SourceSafe version of the file. Please refer to this version
14515 number when giving us feedback or comments on individual modules.
14517 The main object types within the subsystem have been renamed to
14518 clarify their purpose:
14520 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
14521 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
14522 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
14524 NOTE: no changes to the initialization sequence are included in
14527 -------------------------------------------
14528 Summary of changes for this label: 08_23_00
14530 Fixed problem where TerminateControlMethod was being called
14531 multiple times per method
14533 Fixed debugger problem where single stepping caused a semaphore to
14536 Improved performance through additional parse object caching -
14537 added ACPI_EXTENDED_OP type
14539 -------------------------------------------
14540 Summary of changes for this label: 08_10_00
14542 Parser/Interpreter integration: Eliminated the creation of
14543 complete parse trees for ACPI tables and control methods.
14544 Instead, parse subtrees are created and then deleted as soon as
14545 they are processed (Either entered into the namespace or executed
14546 by the interpreter). This reduces the use of dynamic kernel
14547 memory significantly. (about 10X)
14549 Exception codes broken into classes and renumbered. Be sure to
14550 recompile all code that includes acexcep.h. Hopefully we won't
14551 have to renumber the codes again now that they are split into
14552 classes (environment, programmer, AML code, ACPI table, and
14555 Fixed some additional alignment issues in the Resource Manager
14558 Implemented semaphore tracking in the AcpiExec utility, and fixed
14559 several places where mutexes/semaphores were being unlocked
14560 without a corresponding lock operation. There are no known
14561 semaphore or mutex "leaks" at this time.
14563 Fixed the case where an ASL Return operator is used to return an
14566 -------------------------------------------
14567 Summary of changes for this label: 07_28_00
14569 Fixed a problem with the way addresses were calculated in
14570 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
14571 manifested itself when a Field was created with WordAccess or
14572 DwordAccess, but the field unit defined within the Field was less
14574 than a Word or Dword.
14576 Fixed a problem in AmlDumpOperands() module's loop to pull
14577 operands off of the operand stack to display information. The
14578 problem manifested itself as a TLB error on 64-bit systems when
14579 accessing an operand stack with two or more operands.
14581 Fixed a problem with the PCI configuration space handlers where
14582 context was getting confused between accesses. This required a
14583 change to the generic address space handler and address space
14584 setup definitions. Handlers now get both a global handler context
14585 (this is the one passed in by the user when executing
14586 AcpiInstallAddressSpaceHandler() and a specific region context
14587 that is unique to each region (For example, the _ADR, _SEG and
14588 _BBN values associated with a specific region). The generic
14589 function definitions have changed to the following:
14591 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
14592 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
14593 *HandlerContext, // This used to be void *Context void
14594 *RegionContext); // This is an additional parameter
14596 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
14597 RegionHandle, UINT32 Function, void *HandlerContext, void
14598 **RegionContext); // This used to be **ReturnContext
14600 -------------------------------------------
14601 Summary of changes for this label: 07_21_00
14603 Major file consolidation and rename. All files within the
14604 interpreter have been renamed as well as most header files. This
14605 was done to prevent collisions with existing files in the host
14606 OSs -- filenames such as "config.h" and "global.h" seem to be
14607 quite common. The VC project files have been updated. All
14608 makefiles will require modification.
14610 The parser/interpreter integration continues in Phase 5 with the
14611 implementation of a complete 2-pass parse (the AML is parsed
14612 twice) for each table; This avoids the construction of a huge
14613 parse tree and therefore reduces the amount of dynamic memory
14614 required by the subsystem. Greater use of the parse object cache
14615 means that performance is unaffected.
14617 Many comments from the two code reviews have been rolled in.
14619 The 64-bit alignment support is complete.
14621 -------------------------------------------
14622 Summary of changes for this label: 06_30_00
14624 With a nod and a tip of the hat to the technology of yesteryear,
14625 we've added support in the source code for 80 column output
14626 devices. The code is now mostly constrained to 80 columns or
14627 less to support environments and editors that 1) cannot display
14628 or print more than 80 characters on a single line, and 2) cannot
14629 disable line wrapping.
14631 A major restructuring of the namespace data structure has been
14632 completed. The result is 1) cleaner and more
14633 understandable/maintainable code, and 2) a significant reduction
14634 in the dynamic memory requirement for each named ACPI object
14637 -------------------------------------------
14638 Summary of changes for this label: 06_23_00
14640 Linux support has been added. In order to obtain approval to get
14641 the ACPI CA subsystem into the Linux kernel, we've had to make
14642 quite a few changes to the base subsystem that will affect all
14643 users (all the changes are generic and OS- independent). The
14644 effects of these global changes have been somewhat far reaching.
14645 Files have been merged and/or renamed and interfaces have been
14646 renamed. The major changes are described below.
14648 Osd* interfaces renamed to AcpiOs* to eliminate namespace
14649 pollution/confusion within our target kernels. All OSD
14650 interfaces must be modified to match the new naming convention.
14652 Files merged across the subsystem. A number of the smaller source
14653 and header files have been merged to reduce the file count and
14654 increase the density of the existing files. There are too many
14655 to list here. In general, makefiles that call out individual
14656 files will require rebuilding.
14658 Interpreter files renamed. All interpreter files now have the
14659 prefix am* instead of ie* and is*.
14661 Header files renamed: The acapi.h file is now acpixf.h. The
14662 acpiosd.h file is now acpiosxf.h. We are removing references to
14663 the acronym "API" since it is somewhat windowsy. The new name is
14664 "external interface" or xface or xf in the filenames.j
14667 All manifest constants have been forced to upper case (some were
14668 mixed case.) Also, the string "ACPI_" has been prepended to many
14669 (not all) of the constants, typedefs, and structs.
14671 The globals "DebugLevel" and "DebugLayer" have been renamed
14672 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
14674 All other globals within the subsystem are now prefixed with
14675 "AcpiGbl_" Internal procedures within the subsystem are now
14676 prefixed with "Acpi" (with only a few exceptions). The original
14677 two-letter abbreviation for the subcomponent remains after "Acpi"
14678 - for example, CmCallocate became AcpiCmCallocate.
14680 Added a source code translation/conversion utility. Used to
14681 generate the Linux source code, it can be modified to generate
14682 other types of source as well. Can also be used to cleanup
14683 existing source by removing extraneous spaces and blank lines.
14684 Found in tools/acpisrc/*
14686 OsdUnMapMemory was renamed to OsdUnmapMemory and then
14687 AcpiOsUnmapMemory. (UnMap became Unmap).
14689 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
14690 When set to one, this indicates that the caller wants to use the
14692 semaphore as a mutex, not a counting semaphore. ACPI CA uses
14693 both types. However, implementers of this call may want to use
14694 different OS primitives depending on the type of semaphore
14695 requested. For example, some operating systems provide separate
14697 "mutex" and "semaphore" interfaces - where the mutex interface is
14698 much faster because it doesn't have all the overhead of a full
14699 semaphore implementation.
14701 Fixed a deadlock problem where a method that accesses the PCI
14702 address space can block forever if it is the first access to the
14705 -------------------------------------------
14706 Summary of changes for this label: 06_02_00
14708 Support for environments that cannot handle unaligned data
14709 accesses (e.g. firmware and OS environments devoid of alignment
14710 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
14711 been added (via configurable macros) in these three areas: -
14712 Transfer of data from the raw AML byte stream is done via byte
14713 moves instead of word/dword/qword moves. - External objects are
14714 aligned within the user buffer, including package elements (sub-
14715 objects). - Conversion of name strings to UINT32 Acpi Names is now
14718 The Store operator was modified to mimic Microsoft's
14719 implementation when storing to a Buffer Field.
14721 Added a check of the BM_STS bit before entering C3.
14723 The methods subdirectory has been obsoleted and removed. A new
14724 file, cmeval.c subsumes the functionality.
14726 A 16-bit (DOS) version of AcpiExec has been developed. The
14727 makefile is under the acpiexec directory.