1 ----------------------------------------
2 27 June 2014. Summary of changes for version 20140627:
4 1) ACPICA kernel-resident subsystem:
6 Formatted Output: Implemented local versions of standard formatted output
7 utilities such as printf, etc. Over time, it has been discovered that
8 there are in fact many portability issues with printf, and the addition
9 of this feature will fix/prevent these issues once and for all. Some
10 known issues are summarized below:
12 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
13 for the Linux kernel and is %uI64 for some MSVC versions.
14 2) Invoking printf consistently in a manner that is portable across both
15 32-bit and 64-bit platforms is difficult at best in many situations.
16 3) The output format for pointers varies from system to system (leading
17 zeros especially), and leads to inconsistent output from ACPICA across
19 4) Certain platform-specific printf formats may conflict with ACPICA use.
20 5) If there is no local C library available, ACPICA now has local support
23 -- To address these printf issues in a complete manner, ACPICA now
24 directly implements a small subset of printf format specifiers, only
25 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
27 Implemented support for ACPICA generation within the EFI environment.
28 Initially, the AcpiDump utility is supported in the UEFI shell
29 environment. Lv Zheng.
31 Added a new external interface, AcpiLogError, to improve ACPICA
32 portability. This allows the host to redirect error messages from the
33 ACPICA utilities. Lv Zheng.
35 Added and deployed new OSL file I/O interfaces to improve ACPICA
43 There are C library implementations of these functions in the new file
44 service_layers/oslibcfs.c -- however, the functions can be implemented by
45 the local host in any way necessary. Lv Zheng.
47 Implemented a mechanism to disable/enable ACPI table checksum validation
48 at runtime. This can be useful when loading tables very early during OS
49 initialization when it may not be possible to map the entire table in
50 order to compute the checksum. Lv Zheng.
52 Fixed a buffer allocation issue for the Generic Serial Bus support.
53 Originally, a fixed buffer length was used. This change allows for
54 variable-length buffers based upon the protocol indicated by the field
55 access attributes. Reported by Lan Tianyu. Lv Zheng.
57 Fixed a problem where an object detached from a namespace node was not
58 properly terminated/cleared and could cause a circular list problem if
59 reattached. ACPICA BZ 1063. David Box.
61 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
63 Fixed a possible memory leak in an error return path within the function
64 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
66 Example Code and Data Size: These are the sizes for the OS-independent
67 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
68 debug version of the code includes the debug output trace mechanism and
69 has a much larger code and data size.
72 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
73 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
75 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
76 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
79 2) iASL Compiler/Disassembler and Tools:
81 Disassembler: Add dump of ASCII equivalent text within a comment at the
82 end of each line of the output for the Buffer() ASL operator.
84 AcpiDump: Miscellaneous changes:
85 Fixed repetitive table dump in -n mode.
86 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
87 the ACPI 2.0 GUID fails.
89 iASL: Fixed a problem where the compiler could fault if incorrectly given
90 an acpidump output file as input. ACPICA BZ 1088. David Box.
92 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
93 they are invoked without any arguments.
95 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
98 Disassembler: Cleaned up a block of code that extracts a parent Op
99 object. Added a comment that explains that the parent is guaranteed to be
100 valid in this case. ACPICA BZ 1069.
102 ----------------------------------------
103 24 April 2014. Summary of changes for version 20140424:
105 1) ACPICA kernel-resident subsystem:
107 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
108 Some of these tables are known to contain a trailing NULL entry. Lv
111 Removed an extraneous error message for the case where there are a large
112 number of system GPEs (> 124). This was the "32-bit FADT register is too
113 long to convert to GAS struct" message, which is irrelevant for GPEs
114 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
115 (limited capacity) GAS bit length. Also, several changes to ensure proper
116 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
119 Implemented and deployed additional configuration support for the public
120 ACPICA external interfaces. Entire classes of interfaces can now be
121 easily modified or configured out, replaced by stubbed inline functions
122 by default. Lv Zheng.
124 Moved all public ACPICA runtime configuration globals to the public
125 ACPICA external interface file for convenience. Also, removed some
126 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
128 Documentation: Added a new section to the ACPICA reference describing the
129 maximum number of GPEs that can be supported by the FADT-defined GPEs in
130 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
133 Example Code and Data Size: These are the sizes for the OS-independent
134 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
135 debug version of the code includes the debug output trace mechanism and
136 has a much larger code and data size.
139 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
140 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
142 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
143 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
146 2) iASL Compiler/Disassembler and Tools:
148 iASL and disassembler: Add full support for the LPIT table (Low Power
149 Idle Table). Includes support in the disassembler, data table compiler,
150 and template generator.
153 1) Add option to force the use of the RSDT (over the XSDT).
154 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
156 iASL: Add check for predefined packages that are too large. For
157 predefined names that contain subpackages, check if each subpackage is
158 too large. (Check for too small already exists.)
160 Debugger: Updated the GPE command (which simulates a GPE by executing the
161 GPE code paths in ACPICA). The GPE device is now optional, and defaults
162 to the GPE 0/1 FADT-defined blocks.
164 Unix application OSL: Update line-editing support. Add additional error
165 checking and take care not to reset terminal attributes on exit if they
166 were never set. This should help guarantee that the terminal is always
167 left in the previous state on program exit.
169 ----------------------------------------
170 25 March 2014. Summary of changes for version 20140325:
172 1) ACPICA kernel-resident subsystem:
174 Updated the auto-serialize feature for control methods. This feature
175 automatically serializes all methods that create named objects in order
176 to prevent runtime errors. The update adds support to ignore the
177 currently executing AML SyncLevel when invoking such a method, in order
178 to prevent disruption of any existing SyncLevel priorities that may exist
179 in the AML code. Although the use of SyncLevels is relatively rare, this
180 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
181 appear on some machines starting with the 20140214 release.
183 Added a new external interface to allow the host to install ACPI tables
184 very early, before the namespace is even created. AcpiInstallTable gives
185 the host additional flexibility for ACPI table management. Tables can be
186 installed directly by the host as if they had originally appeared in the
187 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
188 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
189 with additional internal restructuring and cleanup. See the ACPICA
190 Reference for interface details. Lv Zheng.
192 Added validation of the checksum for all incoming dynamically loaded
193 tables (via external interfaces or via AML Load/LoadTable operators). Lv
196 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
197 and GPE handler removal. Restructured calls to eliminate possible race
198 conditions. Lv Zheng.
200 Added a warning for the use/execution of the ASL/AML Unload (table)
201 operator. This will help detect and identify machines that use this
202 operator if and when it is ever used. This operator has never been seen
203 in the field and the usage model and possible side-effects of the drastic
204 runtime action of a full table removal are unknown.
206 Reverted the use of #pragma push/pop which was introduced in the 20140214
207 release. It appears that push and pop are not implemented by enough
208 compilers to make the use of this feature feasible for ACPICA at this
209 time. However, these operators may be deployed in a future ACPICA
212 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
215 Source code generation:
216 1) Disabled the use of the "strchr" macro for the gcc-specific
217 generation. For some versions of gcc, this macro can periodically expose
218 a compiler bug which in turn causes compile-time error(s).
219 2) Added support for PPC64 compilation. Colin Ian King.
221 Example Code and Data Size: These are the sizes for the OS-independent
222 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
223 debug version of the code includes the debug output trace mechanism and
224 has a much larger code and data size.
227 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
228 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
230 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
231 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
234 2) iASL Compiler/Disassembler and Tools:
236 Disassembler: Added several new features to improve the readability of
237 the resulting ASL code. Extra information is emitted within comment
238 fields in the ASL code:
239 1) Known _HID/_CID values are decoded to descriptive text.
240 2) Standard values for the Notify() operator are decoded to descriptive
242 3) Target operands are expanded to full pathnames (in a comment) when
245 Disassembler: Miscellaneous updates for extern() handling:
246 1) Abort compiler if file specified by -fe option does not exist.
247 2) Silence unnecessary warnings about argument count mismatches.
248 3) Update warning messages concerning unresolved method externals.
249 4) Emit "UnknownObj" keyword for externals whose type cannot be
253 1) Added the -a option to display both the ASL syntax and the AML
254 encoding for an input ASL operator. This effectively displays all known
255 information about an ASL operator with one AcpiHelp invocation.
256 2) Added substring match support (similar to a wildcard) for the -i
257 (_HID/PNP IDs) option.
259 iASL/Disassembler: Since this tool does not yet support execution on big-
260 endian machines, added detection of endianness and an error message if
261 execution is attempted on big-endian. Support for big-endian within iASL
262 is a feature that is on the ACPICA to-be-done list.
265 1) Remove option to extract binary files from an acpidump; this function
266 is made obsolete by the AcpiXtract utility.
267 2) General cleanup of open files and allocated buffers.
269 ----------------------------------------
270 14 February 2014. Summary of changes for version 20140214:
272 1) ACPICA kernel-resident subsystem:
274 Implemented a new mechanism to proactively prevent problems with ill-
275 behaved reentrant control methods that create named ACPI objects. This
276 behavior is illegal as per the ACPI specification, but is nonetheless
277 frequently seen in the field. Previously, this could lead to an
278 AE_ALREADY_EXISTS exception if the method was actually entered by more
279 than one thread. This new mechanism detects such methods at table load
280 time and marks them "serialized" to prevent reentrancy. A new global
281 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
282 feature if desired. This mechanism and global option obsoletes and
283 supersedes the previous AcpiGbl_SerializeAllMethods option.
285 Added the "Windows 2013" string to the _OSI support. ACPICA will now
286 respond TRUE to _OSI queries with this string. It is the stated policy of
287 ACPICA to add new strings to the _OSI support as soon as possible after
288 they are defined. See the full ACPICA _OSI policy which has been added to
289 the utilities/utosi.c file.
291 Hardened/updated the _PRT return value auto-repair code:
292 1) Do not abort the repair on a single subpackage failure, continue to
293 check all subpackages.
294 2) Add check for the minimum subpackage length (4).
295 3) Properly handle extraneous NULL package elements.
297 Added support to avoid the possibility of infinite loops when traversing
298 object linked lists. Never allow an infinite loop, even in the face of
299 corrupted object lists.
301 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
302 pack(pop) directives to ensure that the ACPICA headers are independent of
303 compiler settings or other host headers.
305 Example Code and Data Size: These are the sizes for the OS-independent
306 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
307 debug version of the code includes the debug output trace mechanism and
308 has a much larger code and data size.
311 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
312 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
314 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
315 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
318 2) iASL Compiler/Disassembler and Tools:
320 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
321 first reserved field was incorrectly forced to have a value of zero. This
322 change correctly forces the field to have a value of one. ACPICA BZ 1081.
324 Debugger: Added missing support for the "Extra" and "Data" subobjects
325 when displaying object data.
327 Debugger: Added support to display entire object linked lists when
328 displaying object data.
330 iASL: Removed the obsolete -g option to obtain ACPI tables from the
331 Windows registry. This feature has been superseded by the acpidump
334 ----------------------------------------
335 14 January 2014. Summary of changes for version 20140114:
337 1) ACPICA kernel-resident subsystem:
339 Updated all ACPICA copyrights and signons to 2014. Added the 2014
340 copyright to all module headers and signons, including the standard Linux
341 header. This affects virtually every file in the ACPICA core subsystem,
342 iASL compiler, all ACPICA utilities, and the test suites.
344 Improved parameter validation for AcpiInstallGpeBlock. Added the
346 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
347 2) There is not already a GPE block attached to the device.
348 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
351 Correctly support "references" in the ACPI_OBJECT. This change fixes the
352 support to allow references (namespace nodes) to be passed as arguments
353 to control methods via the evaluate object interface. This is probably
354 most useful for testing purposes, however.
356 Improved support for 32/64 bit physical addresses in printf()-like
357 output. This change improves the support for physical addresses in printf
358 debug statements and other output on both 32-bit and 64-bit hosts. It
359 consistently outputs the appropriate number of bytes for each host. The
360 %p specifier is unsatisfactory since it does not emit uniform output on
361 all hosts/clib implementations (on some, leading zeros are not supported,
362 leading to difficult-to-read output).
364 Example Code and Data Size: These are the sizes for the OS-independent
365 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
366 debug version of the code includes the debug output trace mechanism and
367 has a much larger code and data size.
370 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
371 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
373 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
374 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
377 2) iASL Compiler/Disassembler and Tools:
379 iASL: Fix a possible fault when using the Connection() operator. Fixes a
380 problem if the parent Field definition for the Connection operator refers
381 to an operation region that does not exist. ACPICA BZ 1064.
383 AcpiExec: Load of local test tables is now optional. The utility has the
384 capability to load some various tables to test features of ACPICA.
385 However, there are enough of them that the output of the utility became
386 confusing. With this change, only the required local tables are displayed
387 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
388 line specification. This makes the default output simler and easier to
389 understand. The -el command line option restores the original behavior
390 for testing purposes.
392 AcpiExec: Added support for overlapping operation regions. This change
393 expands the simulation of operation regions by supporting regions that
394 overlap within the given address space. Supports SystemMemory and
395 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
397 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
398 allows AcpiExec to simulate these address spaces, similar to the current
399 support for SystemMemory and SystemIO.
401 Debugger: Added new command to read/write/compare all namespace objects.
402 The command "test objects" will exercise the entire namespace by writing
403 new values to each data object, and ensuring that the write was
404 successful. The original value is then restored and verified.
406 Debugger: Added the "test predefined" command. This change makes this
407 test public and puts it under the new "test" command. The test executes
408 each and every predefined name within the current namespace.
410 ----------------------------------------
411 18 December 2013. Summary of changes for version 20131218:
413 Global note: The ACPI 5.0A specification was released this month. There
414 are no changes needed for ACPICA since this release of ACPI is an
415 errata/clarification release. The specification is available at
419 1) ACPICA kernel-resident subsystem:
421 Added validation of the XSDT root table if it is present. Some older
422 platforms contain an XSDT that is ill-formed or otherwise invalid (such
423 as containing some or all entries that are NULL pointers). This change
424 adds a new function to validate the XSDT before actually using it. If the
425 XSDT is found to be invalid, ACPICA will now automatically fall back to
426 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
427 ACPICA and enhanced by Lv Zheng and Bob Moore.
429 Added a runtime option to ignore the XSDT and force the use of the RSDT.
430 This change adds a runtime option that will force ACPICA to use the RSDT
431 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
432 requires that an XSDT be used instead of the RSDT, the XSDT has been
433 found to be corrupt or ill-formed on some machines. Lv Zheng.
435 Added a runtime option to favor 32-bit FADT register addresses over the
436 64-bit addresses. This change adds an option to favor 32-bit FADT
437 addresses when there is a conflict between the 32-bit and 64-bit versions
438 of the same register. The default behavior is to use the 64-bit version
439 in accordance with the ACPI specification. This can now be overridden via
440 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
442 During the change above, the internal "Convert FADT" and "Verify FADT"
443 functions have been merged to simplify the code, making it easier to
444 understand and maintain. ACPICA BZ 933.
446 Improve exception reporting and handling for GPE block installation.
447 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
448 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
450 Added helper macros to extract bus/segment numbers from the HEST table.
451 This change adds two macros to extract the encoded bus and segment
452 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
453 Betty Dall <betty.dall@hp.com>
455 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
456 by ACPICA. It is not a public macro, so it should have no effect on
457 existing OSV code. Lv Zheng.
459 Example Code and Data Size: These are the sizes for the OS-independent
460 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
461 debug version of the code includes the debug output trace mechanism and
462 has a much larger code and data size.
465 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
466 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
468 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
469 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
472 2) iASL Compiler/Disassembler and Tools:
474 Disassembler: Improved pathname support for emitted External()
475 statements. This change adds full pathname support for external names
476 that have been resolved internally by the inclusion of additional ACPI
477 tables (via the iASL -e option). Without this change, the disassembler
478 can emit multiple externals for the same object, or it become confused
479 when the Scope() operator is used on an external object. Overall, greatly
480 improves the ability to actually recompile the emitted ASL code when
481 objects a referenced across multiple ACPI tables. Reported by Michael
482 Tsirkin (mst@redhat.com).
484 Tests/ASLTS: Updated functional control suite to execute with no errors.
485 David Box. Fixed several errors related to the testing of the interpreter
486 slack mode. Lv Zheng.
488 iASL: Added support to detect names that are declared within a control
489 method, but are unused (these are temporary names that are only valid
490 during the time the method is executing). A remark is issued for these
491 cases. ACPICA BZ 1022.
493 iASL: Added full support for the DBG2 table. Adds full disassembler,
494 table compiler, and template generator support for the DBG2 table (Debug
497 iASL: Added full support for the PCCT table, update the table definition.
498 Updates the PCCT table definition in the actbl3.h header and adds table
499 compiler and template generator support.
501 iASL: Added an option to emit only error messages (no warnings/remarks).
502 The -ve option will enable only error messages, warnings and remarks are
503 suppressed. This can simplify debugging when only the errors are
504 important, such as when an ACPI table is disassembled and there are many
505 warnings and remarks -- but only the actual errors are of real interest.
507 Example ACPICA code (source/tools/examples): Updated the example code so
508 that it builds to an actual working program, not just example code. Added
509 ACPI tables and execution of an example control method in the DSDT. Added
510 makefile support for Unix generation.
512 ----------------------------------------
513 15 November 2013. Summary of changes for version 20131115:
515 This release is available at https://acpica.org/downloads
518 1) ACPICA kernel-resident subsystem:
520 Resource Manager: Fixed loop termination for the "get AML length"
521 function. The loop previously had an error termination on a NULL resource
522 pointer, which can never happen since the loop simply increments a valid
523 resource pointer. This fix changes the loop to terminate with an error on
524 an invalid end-of-buffer condition. The problem can be seen as an
525 infinite loop by callers to AcpiSetCurrentResources with an invalid or
526 corrupted resource descriptor, or a resource descriptor that is missing
527 an END_TAG descriptor. Reported by Dan Carpenter
528 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
530 Table unload and ACPICA termination: Delete all attached data objects
531 during namespace node deletion. This fix updates namespace node deletion
532 to delete the entire list of attached objects (attached via
533 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
534 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
536 ACPICA termination: Added support to delete all objects attached to the
537 root namespace node. This fix deletes any and all objects that have been
538 attached to the root node via AcpiAttachData. Previously, none of these
539 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
541 Debug output: Do not emit the function nesting level for the in-kernel
542 build. The nesting level is really only useful during a single-thread
543 execution. Therefore, only enable this output for the AcpiExec utility.
544 Also, only emit the thread ID when executing under AcpiExec (Context
545 switches are still always detected and a message is emitted). ACPICA BZ
548 Example Code and Data Size: These are the sizes for the OS-independent
549 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
550 debug version of the code includes the debug output trace mechanism and
551 has a much larger code and data size.
554 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
555 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
557 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
558 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
561 2) iASL Compiler/Disassembler and Tools:
563 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
564 correct portable POSIX header for terminal control functions.
566 Disassembler: Fixed control method invocation issues related to the use
567 of the CondRefOf() operator. The problem is seen in the disassembly where
568 control method invocations may not be disassembled properly if the
569 control method name has been used previously as an argument to CondRefOf.
570 The solution is to not attempt to emit an external declaration for the
571 CondRefOf target (it is not necessary in the first place). This prevents
572 disassembler object type confusion. ACPICA BZ 988.
574 Unix Makefiles: Added an option to disable compiler optimizations and the
575 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
576 with optimizations (reportedly, gcc 4.4 for example). This change adds a
577 command line option for make (NOOPT) that disables all compiler
578 optimizations and the _FORTIFY_SOURCE compiler flag. The default
579 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
580 1034. Lv Zheng, Bob Moore.
582 Tests/ASLTS: Added options to specify individual test cases and modes.
583 This allows testers running aslts.sh to optionally specify individual
584 test modes and test cases. Also added an option to disable the forced
585 generation of the ACPICA tools from source if desired. Lv Zheng.
587 ----------------------------------------
588 27 September 2013. Summary of changes for version 20130927:
590 This release is available at https://acpica.org/downloads
593 1) ACPICA kernel-resident subsystem:
595 Fixed a problem with store operations to reference objects. This change
596 fixes a problem where a Store operation to an ArgX object that contained
598 reference to a field object did not complete the automatic dereference
600 then write to the actual field object. Instead, the object type of the
601 field object was inadvertently changed to match the type of the source
602 operand. The new behavior will actually write to the field object (buffer
603 field or field unit), thus matching the correct ACPI-defined behavior.
605 Implemented support to allow the host to redefine individual OSL
606 prototypes. This change enables the host to redefine OSL prototypes found
607 in the acpiosxf.h file. This allows the host to implement OSL interfaces
608 with a macro or inlined function. Further, it allows the host to add any
609 additional required modifiers such as __iomem, __init, __exit, etc., as
610 necessary on a per-interface basis. Enables maximum flexibility for the
611 OSL interfaces. Lv Zheng.
613 Hardcoded the access width for the FADT-defined reset register. The ACPI
614 specification requires the reset register width to be 8 bits. ACPICA now
615 hardcodes the width to 8 and ignores the FADT width value. This provides
616 compatibility with other ACPI implementations that have allowed BIOS code
617 with bad register width values to go unnoticed. Matthew Garett, Bob
621 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
623 in the OSL header (acpiosxf). The change modifies the position of this
624 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
625 build issues if the OSL defines the implementation of the interface to be
626 an inline stub function. Lv Zheng.
628 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
629 initialization interfaces. This change adds a new macro for the main init
630 and terminate external interfaces in order to support hosts that require
631 additional or different processing for these functions. Changed from
632 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
635 Cleaned up the memory allocation macros for configurability. In the
637 case, the ACPI_ALLOCATE and related macros now resolve directly to their
638 respective AcpiOs* OSL interfaces. Two options:
639 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
640 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
641 2) For AcpiExec (and for debugging), the macros can optionally be
643 to the local ACPICA interfaces that track each allocation (local tracking
644 is used to immediately detect memory leaks).
647 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
648 to predefine this macro to either TRUE or FALSE during the system build.
650 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
652 Example Code and Data Size: These are the sizes for the OS-independent
653 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
654 debug version of the code includes the debug output trace mechanism and
655 has a much larger code and data size.
658 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
659 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
661 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
662 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
665 2) iASL Compiler/Disassembler and Tools:
667 iASL: Implemented wildcard support for the -e option. This simplifies use
668 when there are many SSDTs that must be included to resolve external
670 declarations. ACPICA BZ 1041. Example:
671 iasl -e ssdt*.dat -d dsdt.dat
673 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
674 adds a portable module that implements full history and limited line
675 editing for Unix and Linux systems. It does not use readline() due to
676 portability issues. Instead it uses the POSIX termio interface to put the
677 terminal in raw input mode so that the various special keys can be
679 (such as up/down-arrow for history support and left/right-arrow for line
680 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
682 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
683 one or more spaces. This provides compatible with early or different
684 versions of the AcpiDump utility. ACPICA BZ 1044.
686 AcpiDump: Do not ignore tables that contain only an ACPI table header.
687 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
688 no other data. This change adds support to dump these tables. Any tables
689 shorter than the length of an ACPI table header remain in error (an error
690 message is emitted). Reported by Yi Li.
692 Debugger: Echo actual command along with the "unknown command" message.
694 ----------------------------------------
695 23 August 2013. Summary of changes for version 20130823:
697 1) ACPICA kernel-resident subsystem:
699 Implemented support for host-installed System Control Interrupt (SCI)
700 handlers. Certain ACPI functionality requires the host to handle raw
701 SCIs. For example, the "SCI Doorbell" that is defined for memory power
702 state support requires the host device driver to handle SCIs to examine
703 if the doorbell has been activated. Multiple SCI handlers can be
704 installed to allow for future expansion. New external interfaces are
705 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
706 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
708 Operation region support: Never locally free the handler "context"
709 pointer. This change removes some dangerous code that attempts to free
710 the handler context pointer in some (rare) circumstances. The owner of
711 the handler owns this pointer and the ACPICA code should never touch it.
712 Although not seen to be an issue in any kernel, it did show up as a
713 problem (fault) under AcpiExec. Also, set the internal storage field for
714 the context pointer to zero when the region is deactivated, simply for
715 sanity. David Box. ACPICA BZ 1039.
717 AcpiRead: On error, do not modify the return value target location. If an
718 error happens in the middle of a split 32/32 64-bit I/O operation, do not
719 modify the target of the return value pointer. Makes the code consistent
720 with the rest of ACPICA. Bjorn Helgaas.
722 Example Code and Data Size: These are the sizes for the OS-independent
723 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
724 debug version of the code includes the debug output trace mechanism and
725 has a much larger code and data size.
728 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
729 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
731 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
732 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
735 2) iASL Compiler/Disassembler and Tools:
737 AcpiDump: Implemented several new features and fixed some problems:
738 1) Added support to dump the RSDP, RSDT, and XSDT tables.
739 2) Added support for multiple table instances (SSDT, UEFI).
740 3) Added option to dump "customized" (overridden) tables (-c).
741 4) Fixed a problem where some table filenames were improperly
743 5) Improved some error messages, removed some unnecessary messages.
745 iASL: Implemented additional support for disassembly of ACPI tables that
746 contain invocations of external control methods. The -fe<file> option
747 allows the import of a file that specifies the external methods along
748 with the required number of arguments for each -- allowing for the
749 correct disassembly of the table. This is a workaround for a limitation
750 of AML code where the disassembler often cannot determine the number of
751 arguments required for an external control method and generates incorrect
752 ASL code. See the iASL reference for details. ACPICA BZ 1030.
754 Debugger: Implemented a new command (paths) that displays the full
755 pathnames (namepaths) and object types of all objects in the namespace.
756 This is an alternative to the namespace command.
758 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
759 mechanism and any installed handlers.
761 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
762 This can occur if there are too many parent prefixes in a namepath (for
763 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
765 Application OSLs: Set the return value for the PCI read functions. These
766 functions simply return AE_OK, but should set the return value to zero
767 also. This change implements this. ACPICA BZ 1038.
769 Debugger: Prevent possible command line buffer overflow. Increase the
770 size of a couple of the debugger line buffers, and ensure that overflow
771 cannot happen. ACPICA BZ 1037.
773 iASL: Changed to abort immediately on serious errors during the parsing
774 phase. Due to the nature of ASL, there is no point in attempting to
775 compile these types of errors, and they typically end up causing a
776 cascade of hundreds of errors which obscure the original problem.
778 ----------------------------------------
779 25 July 2013. Summary of changes for version 20130725:
781 1) ACPICA kernel-resident subsystem:
783 Fixed a problem with the DerefOf operator where references to FieldUnits
784 and BufferFields incorrectly returned the parent object, not the actual
785 value of the object. After this change, a dereference of a FieldUnit
786 reference results in a read operation on the field to get the value, and
787 likewise, the appropriate BufferField value is extracted from the target
790 Fixed a problem where the _WAK method could cause a fault under these
791 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
792 method returned no value. The problem is rarely seen because most kernels
793 run ACPICA in slack mode.
795 For the DerefOf operator, a fatal error now results if an attempt is made
796 to dereference a reference (created by the Index operator) to a NULL
797 package element. Provides compatibility with other ACPI implementations,
798 and this behavior will be added to a future version of the ACPI
801 The ACPI Power Management Timer (defined in the FADT) is now optional.
802 This provides compatibility with other ACPI implementations and will
803 appear in the next version of the ACPI specification. If there is no PM
804 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
805 zero in the FADT indicates no PM timer.
807 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
808 allows the host to globally enable/disable all vendor strings, all
809 feature strings, or both. Intended to be primarily used for debugging
810 purposes only. Lv Zheng.
812 Expose the collected _OSI data to the host via a global variable. This
813 data tracks the highest level vendor ID that has been invoked by the BIOS
814 so that the host (and potentially ACPICA itself) can change behaviors
815 based upon the age of the BIOS.
817 Example Code and Data Size: These are the sizes for the OS-independent
818 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
819 debug version of the code includes the debug output trace mechanism and
820 has a much larger code and data size.
823 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
824 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
826 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
827 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
830 2) iASL Compiler/Disassembler and Tools:
832 iASL: Created the following enhancements for the -so option (create
834 1)Add offsets for the last nameseg in each namepath for every supported
836 2)Add support for Processor, Device, Thermal Zone, and Scope objects
837 3)Add the actual AML opcode for the parent object of every supported
839 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
841 Disassembler: Emit all unresolved external symbols in a single block.
842 These are external references to control methods that could not be
843 resolved, and thus, the disassembler had to make a guess at the number of
846 iASL: The argument to the -T option (create table template) is now
847 optional. If not specified, the default table is a DSDT, typically the
850 ----------------------------------------
851 26 June 2013. Summary of changes for version 20130626:
853 1) ACPICA kernel-resident subsystem:
855 Fixed an issue with runtime repair of the _CST object. Null or invalid
856 elements were not always removed properly. Lv Zheng.
858 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
859 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
860 the maximum number of GPEs is 1016. Use of multiple GPE block devices
861 makes the system-wide number of GPEs essentially unlimited.
863 Example Code and Data Size: These are the sizes for the OS-independent
864 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
865 debug version of the code includes the debug output trace mechanism and
866 has a much larger code and data size.
869 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
870 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
872 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
873 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
876 2) iASL Compiler/Disassembler and Tools:
878 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
879 hosts. Now supports Linux, FreeBSD, and Windows.
881 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
882 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
884 iASL/Preprocessor: Implemented full support for nested
885 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
887 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
888 max. The original purpose of this constraint was to limit the amount of
889 debug output. However, the string function in question (UtPrintString) is
890 now used for the disassembler also, where 256 bytes is insufficient.
891 Reported by RehabMan@GitHub.
893 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
894 tables. ACPICA BZ 999. Lv Zheng.
896 iASL: Fixed a couple of error exit issues that could result in a "Could
897 not delete <file>" message during ASL compilation.
899 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
900 the actual signatures for these tables are "FACP" and "APIC",
903 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
904 tables are allowed to have multiple instances.
906 ----------------------------------------
907 17 May 2013. Summary of changes for version 20130517:
909 1) ACPICA kernel-resident subsystem:
911 Fixed a regression introduced in version 20130328 for _INI methods. This
912 change fixes a problem introduced in 20130328 where _INI methods are no
913 longer executed properly because of a memory block that was not
914 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
915 <tomasz.nowicki@linaro.org>.
917 Fixed a possible problem with the new extended sleep registers in the
919 5.0 FADT. Do not use these registers (even if populated) unless the HW-
920 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
923 Implemented return value repair code for _CST predefined objects: Sort
925 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
927 Implemented a debug-only option to disable loading of SSDTs from the
928 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
929 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
930 acglobal.h - ACPICA BZ 1005. Lv Zheng.
932 Fixed some issues in the ACPICA initialization and termination code:
933 Tomasz Nowicki <tomasz.nowicki@linaro.org>
934 1) Clear events initialized flag upon event component termination. ACPICA
936 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
937 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
938 4) Clear debug buffer global on termination to prevent possible multiple
939 delete. ACPICA BZ 1010.
941 Standardized all switch() blocks across the entire source base. After
943 years, different formatting for switch() had crept in. This change makes
944 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
946 Split some files to enhance ACPICA modularity and configurability:
947 1) Split buffer dump routines into utilities/utbuffer.c
948 2) Split internal error message routines into utilities/uterror.c
949 3) Split table print utilities into tables/tbprint.c
950 4) Split iASL command-line option processing into asloptions.c
952 Makefile enhancements:
953 1) Support for all new files above.
954 2) Abort make on errors from any subcomponent. Chao Guan.
955 3) Add build support for Apple Mac OS X. Liang Qi.
957 Example Code and Data Size: These are the sizes for the OS-independent
958 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
959 debug version of the code includes the debug output trace mechanism and
960 has a much larger code and data size.
963 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
964 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
966 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
967 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
970 2) iASL Compiler/Disassembler and Tools:
972 New utility: Implemented an easily portable version of the acpidump
973 utility to extract ACPI tables from the system (or a file) in an ASCII
975 dump format. The top-level code implements the various command line
976 options, file I/O, and table dump routines. To port to a new host, only
977 three functions need to be implemented to get tables -- since this
978 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
979 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
980 1) The Windows version obtains the ACPI tables from the Registry.
981 2) The Linux version is under development.
982 3) Other hosts - If an OS-dependent module is submitted, it will be
983 distributed with ACPICA.
985 iASL: Fixed a regression for -D preprocessor option (define symbol). A
986 restructuring/change to the initialization sequence caused this option to
987 no longer work properly.
989 iASL: Implemented a mechanism to disable specific warnings and remarks.
990 Adds a new command line option, "-vw <messageid> as well as "#pragma
991 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
993 iASL: Fix for too-strict package object validation. The package object
994 validation for return values from the predefined names is a bit too
995 strict, it does not allow names references within the package (which will
996 be resolved at runtime.) These types of references cannot be validated at
997 compile time. This change ignores named references within package objects
998 for names that return or define static packages.
1000 Debugger: Fixed the 80-character command line limitation for the History
1001 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
1003 iASL: Added control method and package support for the -so option
1004 (generates AML offset table for BIOS support.)
1006 iASL: issue a remark if a non-serialized method creates named objects. If
1007 a thread blocks within the method for any reason, and another thread
1008 enters the method, the method will fail because an attempt will be made
1010 create the same (named) object twice. In this case, issue a remark that
1011 the method should be marked serialized. NOTE: may become a warning later.
1014 ----------------------------------------
1015 18 April 2013. Summary of changes for version 20130418:
1017 1) ACPICA kernel-resident subsystem:
1019 Fixed a possible buffer overrun during some rare but specific field unit
1020 read operations. This overrun can only happen if the DSDT version is 1 --
1021 meaning that all AML integers are 32 bits -- and the field length is
1022 between 33 and 55 bits long. During the read, an internal buffer object
1024 created for the field unit because the field is larger than an integer
1026 bits). However, in this case, the buffer will be incorrectly written
1027 beyond the end because the buffer length is less than the internal
1029 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
1030 long, but a full 8 bytes will be written.
1032 Updated the Embedded Controller "orphan" _REG method support. This refers
1033 to _REG methods under the EC device that have no corresponding operation
1034 region. This is allowed by the ACPI specification. This update removes a
1035 dependency on the existence an ECDT table. It will execute an orphan _REG
1036 method as long as the operation region handler for the EC is installed at
1037 the EC device node and not the namespace root. Rui Zhang (original
1038 update), Bob Moore (update/integrate).
1040 Implemented run-time argument typechecking for all predefined ACPI names
1041 (_STA, _BIF, etc.) This change performs object typechecking on all
1042 incoming arguments for all predefined names executed via
1043 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
1044 passing correct object types as well as the correct number of arguments
1045 (therefore identifying any issues immediately). Also, the ASL/namespace
1046 definition of the predefined name is checked against the ACPI
1047 specification for the proper argument count. Adds one new file,
1050 Changed an exception code for the ASL UnLoad() operator. Changed the
1051 exception code for the case where the input DdbHandle is invalid, from
1052 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
1054 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
1055 global makefile. The use of this flag causes compiler errors on earlier
1056 versions of GCC, so it has been removed for compatibility.
1058 Miscellaneous cleanup:
1059 1) Removed some unused/obsolete macros
1060 2) Fixed a possible memory leak in the _OSI support
1061 3) Removed an unused variable in the predefined name support
1062 4) Windows OSL: remove obsolete reference to a memory list field
1064 Example Code and Data Size: These are the sizes for the OS-independent
1065 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1066 debug version of the code includes the debug output trace mechanism and
1067 has a much larger code and data size.
1070 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
1071 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
1073 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
1074 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
1077 2) iASL Compiler/Disassembler and Tools:
1079 AcpiExec: Added installation of a handler for the SystemCMOS address
1080 space. This prevents control method abort if a method accesses this
1083 AcpiExec: Added support for multiple EC devices, and now install EC
1084 operation region handler(s) at the actual EC device instead of the
1085 namespace root. This reflects the typical behavior of host operating
1088 AcpiExec: Updated to ensure that all operation region handlers are
1089 installed before the _REG methods are executed. This prevents a _REG
1090 method from aborting if it accesses an address space has no handler.
1091 AcpiExec installs a handler for every possible address space.
1093 Debugger: Enhanced the "handlers" command to display non-root handlers.
1094 This change enhances the handlers command to display handlers associated
1095 with individual devices throughout the namespace, in addition to the
1096 currently supported display of handlers associated with the root
1100 ASL Test Suite: Several test suite errors have been identified and
1101 resolved, reducing the total error count during execution. Chao Guan.
1103 ----------------------------------------
1104 28 March 2013. Summary of changes for version 20130328:
1106 1) ACPICA kernel-resident subsystem:
1108 Fixed several possible race conditions with the internal object reference
1109 counting mechanism. Some of the external ACPICA interfaces update object
1110 reference counts without holding the interpreter or namespace lock. This
1111 change adds a spinlock to protect reference count updates on the internal
1112 ACPICA objects. Reported by and with assistance from Andriy Gapon
1115 FADT support: Removed an extraneous warning for very large GPE register
1116 sets. This change removes a size mismatch warning if the legacy length
1117 field for a GPE register set is larger than the 64-bit GAS structure can
1118 accommodate. GPE register sets can be larger than the 255-bit width
1119 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
1121 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
1122 return from this interface. Handles a possible timeout case if
1123 ACPI_WAIT_FOREVER is modified by the host to be a value less than
1124 "forever". Jung-uk Kim.
1126 Predefined name support: Add allowed/required argument type information
1128 the master predefined info table. This change adds the infrastructure to
1129 enable typechecking on incoming arguments for all predefined
1130 methods/objects. It does not actually contain the code that will fully
1131 utilize this information, this is still under development. Also condenses
1132 some duplicate code for the predefined names into a new module,
1133 utilities/utpredef.c
1135 Example Code and Data Size: These are the sizes for the OS-independent
1136 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1137 debug version of the code includes the debug output trace mechanism and
1138 has a much larger code and data size.
1141 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
1142 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
1144 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
1145 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
1148 2) iASL Compiler/Disassembler and Tools:
1150 iASL: Implemented a new option to simplify the development of ACPI-
1152 BIOS code. Adds support for a new "offset table" output file. The -so
1153 option will create a C table containing the AML table offsets of various
1154 named objects in the namespace so that BIOS code can modify them easily
1156 boot time. This can simplify BIOS runtime code by eliminating expensive
1157 searches for "magic values", enhancing boot times and adding greater
1158 reliability. With assistance from Lee Hamel.
1160 iASL: Allow additional predefined names to return zero-length packages.
1161 Now, all predefined names that are defined by the ACPI specification to
1162 return a "variable-length package of packages" are allowed to return a
1163 zero length top-level package. This allows the BIOS to tell the host that
1164 the requested feature is not supported, and supports existing BIOS/ASL
1167 iASL: Changed the "result not used" warning to an error. This is the case
1168 where an ASL operator is effectively a NOOP because the result of the
1169 operation is not stored anywhere. For example:
1171 There is no target (missing 3rd argument), nor is the function return
1172 value used. This is potentially a very serious problem -- since the code
1173 was probably intended to do something, but for whatever reason, the value
1174 was not stored. Therefore, this issue has been upgraded from a warning to
1177 AcpiHelp: Added allowable/required argument types to the predefined names
1178 info display. This feature utilizes the recent update to the predefined
1179 names table (above).
1181 ----------------------------------------
1182 14 February 2013. Summary of changes for version 20130214:
1184 1) ACPICA Kernel-resident Subsystem:
1186 Fixed a possible regression on some hosts: Reinstated the safe return
1187 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
1188 evaluated only once. Although these macros are not needed for the ACPICA
1189 code itself, they are often used by ACPI-related host device drivers
1191 the safe feature may be necessary.
1193 Fixed several issues related to the ACPI 5.0 reduced hardware support
1194 (SOC): Now ensure that if the platform declares itself as hardware-
1196 via the FADT, the following functions become NOOPs (and always return
1197 AE_OK) because ACPI is always enabled by definition on these machines:
1203 Dynamic Object Repair: Implemented additional runtime repairs for
1204 predefined name return values. Both of these repairs can simplify code in
1205 the related device drivers that invoke these methods:
1206 1) For the _STR and _MLS names, automatically repair/convert an ASCII
1207 string to a Unicode buffer.
1208 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
1210 lone end tag descriptor in the following cases: A Return(0) was executed,
1211 a null buffer was returned, or no object at all was returned (non-slack
1212 mode only). Adds a new file, nsconvert.c
1213 ACPICA BZ 998. Bob Moore, Lv Zheng.
1215 Resource Manager: Added additional code to prevent possible infinite
1217 while traversing corrupted or ill-formed resource template buffers. Check
1218 for zero-length resource descriptors in all code that loops through
1219 resource templates (the length field is used to index through the
1220 template). This change also hardens the external AcpiWalkResources and
1221 AcpiWalkResourceBuffer interfaces.
1223 Local Cache Manager: Enhanced the main data structure to eliminate an
1224 unnecessary mechanism to access the next object in the list. Actually
1225 provides a small performance enhancement for hosts that use the local
1226 ACPICA cache manager. Jung-uk Kim.
1228 Example Code and Data Size: These are the sizes for the OS-independent
1229 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1230 debug version of the code includes the debug output trace mechanism and
1231 has a much larger code and data size.
1234 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
1235 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
1237 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
1238 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
1241 2) iASL Compiler/Disassembler and Tools:
1243 iASL/Disassembler: Fixed several issues with the definition of the ACPI
1244 5.0 RASF table (RAS Feature Table). This change incorporates late changes
1245 that were made to the ACPI 5.0 specification.
1247 iASL/Disassembler: Added full support for the following new ACPI tables:
1248 1) The MTMR table (MID Timer Table)
1249 2) The VRTC table (Virtual Real Time Clock Table).
1250 Includes header file, disassembler, table compiler, and template support
1253 iASL: Implemented compile-time validation of package objects returned by
1254 predefined names. This new feature validates static package objects
1255 returned by the various predefined names defined to return packages. Both
1256 object types and package lengths are validated, for both parent packages
1257 and sub-packages, if any. The code is similar in structure and behavior
1259 the runtime repair mechanism within the AML interpreter and uses the
1260 existing predefined name information table. Adds a new file, aslprepkg.c.
1263 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
1264 This feature detects a binary file with a valid ACPI table header and
1265 invokes the disassembler automatically. Eliminates the need to
1266 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
1268 iASL/Disassembler: Added several warnings for the case where there are
1269 unresolved control methods during the disassembly. This can potentially
1270 cause errors when the output file is compiled, because the disassembler
1271 assumes zero method arguments in these cases (it cannot determine the
1272 actual number of arguments without resolution/definition of the method).
1274 Debugger: Added support to display all resources with a single command.
1275 Invocation of the resources command with no arguments will now display
1277 resources within the current namespace.
1279 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
1282 ----------------------------------------
1283 17 January 2013. Summary of changes for version 20130117:
1285 1) ACPICA Kernel-resident Subsystem:
1287 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
1288 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
1289 objects to return a package containing one integer, most BIOS code
1291 two integers and the previous code reflects that. However, we also need
1293 support BIOS code that actually implements to the ACPI spec, and this
1294 change reflects this.
1296 Fixed two issues with the ACPI_DEBUG_PRINT macros:
1297 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
1298 C compilers that require this support.
1299 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
1300 ACPI_DEBUG is already used by many of the various hosts.
1302 Updated all ACPICA copyrights and signons to 2013. Added the 2013
1303 copyright to all module headers and signons, including the standard Linux
1304 header. This affects virtually every file in the ACPICA core subsystem,
1305 iASL compiler, all ACPICA utilities, and the test suites.
1307 Example Code and Data Size: These are the sizes for the OS-independent
1308 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1309 debug version of the code includes the debug output trace mechanism and
1310 has a much larger code and data size.
1313 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
1314 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
1316 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
1317 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
1320 2) iASL Compiler/Disassembler and Tools:
1322 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
1323 prevent a possible fault on some hosts. Some C libraries modify the arg
1324 pointer parameter to vfprintf making it difficult to call it twice in the
1325 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
1326 does not affect the Windows OSL since the Win C library does not modify
1327 the arg pointer. Chao Guan, Bob Moore.
1329 iASL: Fixed a possible infinite loop when the maximum error count is
1330 reached. If an output file other than the .AML file is specified (such as
1331 a listing file), and the maximum number of errors is reached, do not
1332 attempt to flush data to the output file(s) as the compiler is aborting.
1333 This can cause an infinite loop as the max error count code essentially
1334 keeps calling itself.
1336 iASL/Disassembler: Added an option (-in) to ignore NOOP
1338 Implemented for both the compiler and the disassembler. Often, the NOOP
1339 opcode is used as padding for packages that are changed dynamically by
1341 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
1342 errors. This option causes the disassembler to ignore all NOOP opcodes
1343 (0xA3), and it also causes the compiler to ignore all ASL source code
1347 Debugger: Enhanced the Sleep command to execute all sleep states. This
1348 change allows Sleep to be invoked with no arguments and causes the
1349 debugger to execute all of the sleep states, 0-5, automatically.
1351 ----------------------------------------
1352 20 December 2012. Summary of changes for version 20121220:
1354 1) ACPICA Kernel-resident Subsystem:
1356 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
1357 alternate entry point for AcpiWalkResources and improves the usability of
1358 the resource manager by accepting as input a buffer containing the output
1359 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
1360 input buffer is not deleted by this interface so that it can be used by
1361 the host later. See the ACPICA reference for details.
1363 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
1364 (DSDT version < 2). The constant will be truncated and this warning
1365 reflects that behavior.
1367 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
1368 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
1369 both get and set the new wake bit in these descriptors, separately from
1370 the existing share bit. Reported by Aaron Lu.
1372 Interpreter: Fix Store() when an implicit conversion is not possible. For
1373 example, in the cases such as a store of a string to an existing package
1374 object, implement the store as a CopyObject(). This is a small departure
1375 from the ACPI specification which states that the control method should
1377 aborted in this case. However, the ASLTS suite depends on this behavior.
1379 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
1380 macros: check if debug output is currently enabled as soon as possible to
1381 minimize performance impact if debug is in fact not enabled.
1383 Source code restructuring: Cleanup to improve modularity. The following
1384 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
1385 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
1386 Associated makefiles and project files have been updated.
1388 Changed an exception code for LoadTable operator. For the case where one
1389 of the input strings is too long, change the returned exception code from
1390 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
1392 Fixed a possible memory leak in dispatcher error path. On error, delete
1393 the mutex object created during method mutex creation. Reported by
1394 tim.gardner@canonical.com.
1396 Example Code and Data Size: These are the sizes for the OS-independent
1397 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1398 debug version of the code includes the debug output trace mechanism and
1399 has a much larger code and data size.
1402 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
1403 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1405 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
1406 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
1409 2) iASL Compiler/Disassembler and Tools:
1411 iASL: Disallow a method call as argument to the ObjectType ASL operator.
1412 This change tracks an errata to the ACPI 5.0 document. The AML grammar
1413 will not allow the interpreter to differentiate between a method and a
1414 method invocation when these are used as an argument to the ObjectType
1415 operator. The ACPI specification change is to disallow a method
1417 (UserTerm) for the ObjectType operator.
1419 Finish support for the TPM2 and CSRT tables in the headers, table
1420 compiler, and disassembler.
1422 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
1423 always expires immediately if the semaphore is not available. The
1425 code was using a relative-time timeout, but sem_timedwait requires the
1427 of an absolute time.
1429 iASL: Added a remark if the Timer() operator is used within a 32-bit
1430 table. This operator returns a 64-bit time value that will be truncated
1431 within a 32-bit table.
1433 iASL Source code restructuring: Cleanup to improve modularity. The
1434 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
1435 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
1439 ----------------------------------------
1440 14 November 2012. Summary of changes for version 20121114:
1442 1) ACPICA Kernel-resident Subsystem:
1444 Implemented a performance enhancement for ACPI/AML Package objects. This
1445 change greatly increases the performance of Package objects within the
1446 interpreter. It changes the processing of reference counts for packages
1448 optimizing for the most common case where the package sub-objects are
1449 either Integers, Strings, or Buffers. Increases the overall performance
1451 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
1453 Chao Guan. ACPICA BZ 943.
1455 Implemented and deployed common macros to extract flag bits from resource
1456 descriptors. Improves readability and maintainability of the code. Fixes
1458 problem with the UART serial bus descriptor for the number of data bits
1459 flags (was incorrectly 2 bits, should be 3).
1461 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
1462 of the macros and changed the SETx macros to the style of (destination,
1463 source). Also added ACPI_CASTx companion macros. Lv Zheng.
1465 Example Code and Data Size: These are the sizes for the OS-independent
1466 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1467 debug version of the code includes the debug output trace mechanism and
1468 has a much larger code and data size.
1471 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
1472 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1474 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
1475 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1478 2) iASL Compiler/Disassembler and Tools:
1480 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
1481 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
1482 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
1484 Disassembler: Fixed a problem with external declaration generation. Fixes
1485 a problem where an incorrect pathname could be generated for an external
1486 declaration if the original reference to the object includes leading
1487 carats (^). ACPICA BZ 984.
1489 Debugger: Completed a major update for the Disassemble<method> command.
1490 This command was out-of-date and did not properly disassemble control
1491 methods that had any reasonable complexity. This fix brings the command
1493 to the same level as the rest of the disassembler. Adds one new file,
1494 dmdeferred.c, which is existing code that is now common with the main
1495 disassembler and the debugger disassemble command. ACPICA MZ 978.
1497 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
1498 Newer versions of Bison emit this prototype, so moved the prototype out
1500 the iASL header to where it is actually used in order to avoid a
1504 iASL/Tools: Standardized use of the stream I/O functions:
1505 1) Ensure check for I/O error after every fopen/fread/fwrite
1506 2) Ensure proper order of size/count arguments for fread/fwrite
1507 3) Use test of (Actual != Requested) after all fwrite, and most fread
1508 4) Standardize I/O error messages
1509 Improves reliability and maintainability of the code. Bob Moore, Lv
1513 Disassembler: Prevent duplicate External() statements. During generation
1514 of external statements, detect similar pathnames that are actually
1515 duplicates such as these:
1518 Remove all leading '\' characters from pathnames during the external
1519 statement generation so that duplicates will be detected and tossed.
1522 Tools: Replace low-level I/O with stream I/O functions. Replace
1523 open/read/write/close with the stream I/O equivalents
1524 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
1527 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
1528 name header so that AcpiXtract recognizes the output file/table.
1530 iASL: Remove obsolete -2 option flag. Originally intended to force the
1531 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
1532 and the entire concept is now obsolete.
1534 ----------------------------------------
1535 18 October 2012. Summary of changes for version 20121018:
1538 1) ACPICA Kernel-resident Subsystem:
1540 Updated support for the ACPI 5.0 MPST table. Fixes some problems
1541 introduced by late changes to the table as it was added to the ACPI 5.0
1542 specification. Includes header, disassembler, and data table compiler
1543 support as well as a new version of the MPST template.
1545 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
1546 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
1547 methods: _HID, _CID, and _UID.
1549 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
1550 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
1551 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
1552 names for their various drivers. Affects the AcpiGetObjectInfo external
1553 interface, and other internal interfaces as well.
1555 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
1556 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
1557 on machines that support non-aligned transfers. Optimizes for this case
1558 rather than using a strncpy. With assistance from Zheng Lv.
1560 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
1561 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
1563 Added a new debug print message for AML mutex objects that are force-
1564 released. At control method termination, any currently acquired mutex
1565 objects are force-released. Adds a new debug-only message for each one
1568 Audited/updated all ACPICA return macros and the function debug depth
1569 counter: 1) Ensure that all functions that use the various TRACE macros
1570 also use the appropriate ACPICA return macros. 2) Ensure that all normal
1571 return statements surround the return expression (value) with parens to
1572 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
1573 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
1575 Global source code changes/maintenance: All extra lines at the start and
1576 end of each source file have been removed for consistency. Also, within
1577 comments, all new sentences start with a single space instead of a double
1578 space, again for consistency across the code base.
1580 Example Code and Data Size: These are the sizes for the OS-independent
1581 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1582 debug version of the code includes the debug output trace mechanism and
1583 has a much larger code and data size.
1586 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
1587 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
1589 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
1590 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
1593 2) iASL Compiler/Disassembler and Tools:
1595 AcpiExec: Improved the algorithm used for memory leak/corruption
1596 detection. Added some intelligence to the code that maintains the global
1597 list of allocated memory. The list is now ordered by allocated memory
1598 address, significantly improving performance. When running AcpiExec on
1599 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
1600 on the platform and/or the environment. Note, this performance
1601 enhancement affects the AcpiExec utility only, not the kernel-resident
1604 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
1605 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
1606 incorrect table offset reported for invalid opcodes. Report the original
1607 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
1609 Disassembler: Enhanced the -vt option to emit the binary table data in
1610 hex format to assist with debugging.
1612 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
1613 size of file structure. Colin Ian King.
1615 ----------------------------------------
1616 13 September 2012. Summary of changes for version 20120913:
1619 1) ACPICA Kernel-resident Subsystem:
1621 ACPI 5.0: Added two new notify types for the Hardware Error Notification
1622 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
1626 Table Manager: Merged/removed duplicate code in the root table resize
1627 functions. One function is external, the other is internal. Lv Zheng,
1631 Makefiles: Completely removed the obsolete "Linux" makefiles under
1632 acpica/generate/linux. These makefiles are obsolete and have been
1635 the generic unix makefiles under acpica/generate/unix.
1637 Makefiles: Ensure that binary files always copied properly. Minor rule
1639 to ensure that the final binary output files are always copied up to the
1640 appropriate binary directory (bin32 or bin64.)
1642 Example Code and Data Size: These are the sizes for the OS-independent
1643 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1645 version of the code includes the debug output trace mechanism and has a
1647 larger code and data size.
1650 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
1651 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
1653 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
1654 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
1657 2) iASL Compiler/Disassembler and Tools:
1659 Disassembler: Fixed a possible fault during the disassembly of resource
1660 descriptors when a second parse is required because of the invocation of
1661 external control methods within the table. With assistance from
1662 adq@lidskialf.net. ACPICA BZ 976.
1664 iASL: Fixed a namepath optimization problem. An error can occur if the
1666 node that contains the namepath to be optimized does not have a parent
1668 that is a named object. This change fixes the problem.
1670 iASL: Fixed a regression where the AML file is not deleted on errors. The
1672 output file should be deleted if there are any errors during the
1675 only exception is if the -f (force output) option is used. ACPICA BZ 974.
1677 iASL: Added a feature to automatically increase internal line buffer
1679 Via realloc(), automatically increase the internal line buffer sizes as
1680 necessary to support very long source code lines. The current version of
1682 preprocessor requires a buffer long enough to contain full source code
1684 This change increases the line buffer(s) if the input lines go beyond the
1685 current buffer size. This eliminates errors that occurred when a source
1687 line was longer than the buffer.
1689 iASL: Fixed a problem with constant folding in method declarations. The
1690 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
1692 Type3 opcode was used.
1694 Debugger: Improved command help support. For incorrect argument count,
1696 full help for the command. For help command itself, allow an argument to
1699 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
1700 errors during execution of the suite. Guan Chao.
1702 ----------------------------------------
1703 16 August 2012. Summary of changes for version 20120816:
1706 1) ACPICA Kernel-resident Subsystem:
1708 Removed all use of the deprecated _GTS and _BFS predefined methods. The
1710 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
1711 deprecated and will probably be removed from the ACPI specification.
1713 does not invoke them, and reportedly never will. The final nail in the
1715 is that the ACPI specification states that these methods must be run with
1716 interrupts off, which is not going to happen in a kernel interpreter.
1718 Linux has removed all use of the methods also. It was discovered that
1719 invoking these functions caused failures on some machines, probably
1721 they were never tested since Windows does not call them. Affects two
1723 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
1726 Implemented support for complex bit-packed buffers returned from the _PLD
1727 (Physical Location of Device) predefined method. Adds a new external
1728 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
1730 structure. Note: C Bitfields cannot be used for this type of predefined
1731 structure since the memory layout of individual bitfields is not defined
1733 the C language. In addition, there are endian concerns where a compiler
1735 change the bitfield ordering based on the machine type. The new ACPICA
1736 interface eliminates these issues, and should be called after _PLD is
1737 executed. ACPICA BZ 954.
1739 Implemented a change to allow a scope change to root (via "Scope (\)")
1741 execution of module-level ASL code (code that is executed at table load
1744 Added the Windows8/Server2012 string for the _OSI method. This change
1747 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
1750 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
1752 and CSRT (Core System Resource Table).
1754 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
1755 names. This simplifies access to the buffers returned by these predefined
1756 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
1758 GPE support: Removed an extraneous parameter from the various low-level
1759 internal GPE functions. Tang Feng.
1761 Removed the linux makefiles from the unix packages. The generate/linux
1762 makefiles are obsolete and have been removed from the unix tarball
1764 packages. The replacement makefiles are under generate/unix, and there is
1766 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
1768 Updates for Unix makefiles:
1769 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
1770 2) Update linker flags (move to end of command line) for AcpiExec
1774 Split ACPICA initialization functions to new file, utxfinit.c. Split from
1775 utxface.c to improve modularity and reduce file size.
1777 Example Code and Data Size: These are the sizes for the OS-independent
1778 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1779 debug version of the code includes the debug output trace mechanism and
1781 much larger code and data size.
1784 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1785 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1787 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
1788 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
1791 2) iASL Compiler/Disassembler and Tools:
1793 iASL: Fixed a problem with constant folding for fixed-length constant
1794 expressions. The constant-folding code was not being invoked for constant
1795 expressions that allow the use of type 3/4/5 opcodes to generate
1797 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
1799 in the generation of invalid AML bytecode. ACPICA BZ 970.
1801 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
1802 apparently automatically emit some of the necessary externals. This
1804 handles these versions in order to eliminate generation warnings.
1806 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
1808 Disassembler: Add support to decode _PLD buffers. The decoded buffer
1810 within comments in the output file.
1812 Debugger: Fixed a regression with the "Threads" command where
1813 AE_BAD_PARAMETER was always returned.
1815 ----------------------------------------
1816 11 July 2012. Summary of changes for version 20120711:
1818 1) ACPICA Kernel-resident Subsystem:
1820 Fixed a possible fault in the return package object repair code. Fixes a
1821 problem that can occur when a lone package object is wrapped with an
1823 package object in order to force conformance to the ACPI specification.
1825 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
1829 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
1830 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
1831 ARB_DIS bit must be implemented in the host-dependent C3 processor power
1833 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
1835 Intel and other vendors. (for Intel: ICH4-M and earlier)
1837 This change removes the code to disable/enable bus master arbitration
1839 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
1841 resume problems on some machines. The change has been in use for over
1845 Implemented two new external interfaces to support host-directed dynamic
1847 table load and unload. They are intended to simplify the host
1849 of hot-plug support:
1850 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
1851 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
1853 See the ACPICA reference for additional details. Adds one new file,
1854 components/tables/tbxfload.c
1856 Implemented and deployed two new interfaces for errors and warnings that
1858 known to be caused by BIOS/firmware issues:
1859 AcpiBiosError: Prints "ACPI Firmware Error" message.
1860 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
1861 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
1863 and FADT errors. Additional deployment to be completed as appropriate in
1865 future. The associated conditional macros are ACPI_BIOS_ERROR and
1866 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
1871 Implicit notify support: ensure that no memory allocation occurs within a
1872 critical region. This fix moves a memory allocation outside of the time
1874 spinlock is held. Fixes issues on systems that do not allow this
1878 Split exception code utilities and tables into a new file,
1881 Example Code and Data Size: These are the sizes for the OS-independent
1882 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1884 version of the code includes the debug output trace mechanism and has a
1886 larger code and data size.
1889 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1890 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1892 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1893 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1896 2) iASL Compiler/Disassembler and Tools:
1898 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
1902 Debugger: Enhanced the "tables" command to emit additional information
1904 the current set of ACPI tables, including the owner ID and flags decode.
1906 Debugger: Reimplemented the "unload" command to use the new
1907 AcpiUnloadParentTable external interface. This command was disable
1909 due to need for an unload interface.
1911 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
1913 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
1915 ----------------------------------------
1916 20 June 2012. Summary of changes for version 20120620:
1919 1) ACPICA Kernel-resident Subsystem:
1921 Implemented support to expand the "implicit notify" feature to allow
1923 devices to be notified by a single GPE. This feature automatically
1925 runtime device notification in the absence of a BIOS-provided GPE control
1926 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
1928 provided by ACPICA for Windows compatibility, and is a workaround for
1931 code errors. See the description of the AcpiSetupGpeForWake interface in
1933 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
1935 Changed some comments and internal function names to simplify and ensure
1936 correctness of the Linux code translation. No functional changes.
1938 Example Code and Data Size: These are the sizes for the OS-independent
1939 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1941 version of the code includes the debug output trace mechanism and has a
1943 larger code and data size.
1946 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
1947 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
1949 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1950 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1953 2) iASL Compiler/Disassembler and Tools:
1955 Disassembler: Added support to emit short, commented descriptions for the
1957 predefined names in order to improve the readability of the disassembled
1958 output. ACPICA BZ 959. Changes include:
1959 1) Emit descriptions for all standard predefined names (_INI, _STA,
1962 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1963 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
1966 AcpiSrc: Fixed several long-standing Linux code translation issues.
1968 descriptions in function headers are now translated properly to lower
1971 underscores. ACPICA BZ 961. Also fixes translation problems such as
1977 local_fADT -> local_FADT
1978 execute_oSI -> execute_OSI
1980 iASL: Fixed a problem where null bytes were inadvertently emitted into
1984 iASL: Added the existing debug options to the standard help screen. There
1986 no longer two different help screens. ACPICA BZ 957.
1988 AcpiHelp: Fixed some typos in the various predefined name descriptions.
1990 expand some of the descriptions where appropriate.
1992 iASL: Fixed the -ot option (display compile times/statistics). Was not
1994 properly for standard output; only worked for the debug file case.
1996 ----------------------------------------
1997 18 May 2012. Summary of changes for version 20120518:
2000 1) ACPICA Core Subsystem:
2002 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
2004 to block until asynchronous events such as notifies and GPEs have
2006 Within ACPICA, it is only called before a notify or GPE handler is
2007 removed/uninstalled. It also may be useful for the host OS within related
2008 drivers such as the Embedded Controller driver. See the ACPICA reference
2010 additional information. ACPICA BZ 868.
2012 ACPI Tables: Added a new error message for a possible overflow failure
2014 the conversion of FADT 32-bit legacy register addresses to internal
2017 bit GAS structure representation. The GAS has a one-byte "bit length"
2019 thus limiting the register length to 255 bits. ACPICA BZ 953.
2021 Example Code and Data Size: These are the sizes for the OS-independent
2022 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2024 version of the code includes the debug output trace mechanism and has a
2026 larger code and data size.
2029 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
2030 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
2032 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
2033 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
2036 2) iASL Compiler/Disassembler and Tools:
2038 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
2040 This keyword was added late in the ACPI 5.0 release cycle and was not
2041 implemented until now.
2043 Disassembler: Added support for Operation Region externals. Adds missing
2044 support for operation regions that are defined in another table, and
2045 referenced locally via a Field or BankField ASL operator. Now generates
2047 correct External statement.
2049 Disassembler: Several additional fixes for the External() statement
2051 related to some ASL operators. Also, order the External() statements
2052 alphabetically in the disassembler output. Fixes the External()
2055 the Create* field, Alias, and Scope operators:
2056 1) Create* buffer field operators - fix type mismatch warning on
2058 2) Alias - implement missing External support
2059 3) Scope - fix to make sure all necessary externals are emitted.
2061 iASL: Improved pathname support. For include files, merge the prefix
2063 with the file pathname and eliminate unnecessary components. Convert
2064 backslashes in all pathnames to forward slashes, for readability. Include
2066 pathname changes affect both #include and Include() type operators.
2068 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
2070 of a valid line by inserting a newline and then returning the EOF during
2072 next call to GetNextLine. Prevents the line from being ignored due to EOF
2075 iASL: Implemented some changes to enhance the IDE support (-vi option.)
2077 and Warning messages are now correctly recognized for both the source
2079 browser and the global error and warning counts.
2081 ----------------------------------------
2082 20 April 2012. Summary of changes for version 20120420:
2085 1) ACPICA Core Subsystem:
2087 Implemented support for multiple notify handlers. This change adds
2090 allow multiple system and device notify handlers on Device, Thermal Zone,
2092 Processor objects. This can simplify the host OS notification
2094 Also re-worked and restructured the entire notify support code to
2096 handler installation, handler removal, notify event queuing, and notify
2097 dispatch to handler(s). Note: there can still only be two global notify
2098 handlers - one for system notifies and one for device notifies. There are
2100 changes to the existing handler install/remove interfaces. Lin Ming, Bob
2101 Moore, Rafael Wysocki.
2103 Fixed a regression in the package repair code where the object reference
2104 count was calculated incorrectly. Regression was introduced in the commit
2105 "Support to add Package wrappers".
2107 Fixed a couple possible memory leaks in the AML parser, in the error
2109 path. Jesper Juhl, Lin Ming.
2111 Example Code and Data Size: These are the sizes for the OS-independent
2112 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2113 debug version of the code includes the debug output trace mechanism and
2115 much larger code and data size.
2118 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
2119 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
2121 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
2122 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
2125 2) iASL Compiler/Disassembler and Tools:
2127 iASL: Fixed a problem with the resource descriptor support where the
2129 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
2130 included in cumulative descriptor offset, resulting in incorrect values
2132 resource tags within resource descriptors appearing after a
2134 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
2136 iASL and Preprocessor: Implemented full support for the #line directive
2138 correctly track original source file line numbers through the .i
2140 output file - for error and warning messages.
2142 iASL: Expand the allowable byte constants for address space IDs.
2144 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
2145 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
2147 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
2149 iASL: Add option to completely disable the preprocessor (-Pn).
2151 iASL: Now emit all error/warning messages to standard error (stderr) by
2152 default (instead of the previous stdout).
2154 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
2156 for resource descriptor offset fix above. Update/cleanup error output
2157 routines. Enable and send iASL errors/warnings to an error logfile
2158 (error.txt). Send all other iASL output to a logfile (compiler.txt).
2160 several extraneous "unrecognized operator" messages.
2162 ----------------------------------------
2163 20 March 2012. Summary of changes for version 20120320:
2166 1) ACPICA Core Subsystem:
2168 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
2169 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
2171 does not execute these methods, and therefore these methods are often
2172 untested. It has been seen on some systems where the execution of these
2173 methods causes errors and also prevents the machine from entering S5. It
2175 therefore suggested that host operating systems do not execute these
2177 by default. In the future, perhaps these methods can be optionally
2179 based on the age of the system and/or what is the newest version of
2181 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
2183 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
2186 Fixed a problem where the length of the local/common FADT was set too
2188 The local FADT table length cannot be set to the common length until the
2189 original length has been examined. There is code that checks the table
2191 and sets various fields appropriately. This can affect older machines
2193 early FADT versions. For example, this can cause inadvertent writes to
2195 CST_CNT register. Julian Anastasov.
2197 Fixed a mapping issue related to a physical table override. Use the
2199 mapping mechanism for tables loaded via the physical override OSL
2201 This allows for early mapping before the virtual memory manager is
2203 Thomas Renninger, Bob Moore.
2205 Enhanced the automatic return-object repair code: Repair a common problem
2207 predefined methods that are defined to return a variable-length Package
2209 sub-objects. If there is only one sub-object, some BIOS ASL code
2211 simply returns the single object instead of a Package with one sub-
2213 This new support will repair this error by wrapping a Package object
2215 the original object, creating the correct and expected Package with one
2217 object. Names that can be repaired in this manner include: _ALR, _CSD,
2219 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
2222 Changed the exception code returned for invalid ACPI paths passed as
2223 parameters to external interfaces such as AcpiEvaluateObject. Was
2224 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
2226 Example Code and Data Size: These are the sizes for the OS-independent
2227 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2229 version of the code includes the debug output trace mechanism and has a
2231 larger code and data size.
2234 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
2235 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
2237 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
2238 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
2241 2) iASL Compiler/Disassembler and Tools:
2243 iASL: Added the infrastructure and initial implementation of a integrated
2245 like preprocessor. This will simplify BIOS development process by
2247 the need for a separate preprocessing step during builds. On Windows, it
2249 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
2250 features including full #define() macro support are still under
2252 These preprocessor directives are supported:
2265 In addition, these new command line options are supported:
2266 -D <symbol> Define symbol for preprocessor use
2267 -li Create preprocessed output file (*.i)
2268 -P Preprocess only and create preprocessor output file (*.i)
2270 Table Compiler: Fixed a problem where the equals operator within an
2272 did not work properly.
2274 Updated iASL to use the current versions of Bison/Flex. Updated the
2276 project file to invoke these tools from the standard location. ACPICA BZ
2279 Flex for Windows: V2.5.4
2280 Bison for Windows: V2.4.1
2282 ----------------------------------------
2283 15 February 2012. Summary of changes for version 20120215:
2286 1) ACPICA Core Subsystem:
2288 There have been some major changes to the sleep/wake support code, as
2289 described below (a - e).
2291 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
2292 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
2293 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
2295 time the _BFS method is called and the _WAK method is called. NOTE: all
2297 must update their wake/resume code or else sleep/wake will not work
2301 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
2303 method. Some machines require that the GPEs are enabled before the _WAK
2305 is executed. Thomas Renninger.
2307 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
2309 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
2311 determine whether the system is rebooting or resuming. Matthew Garrett.
2313 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
2315 match the ACPI specification requirement. Rafael Wysocki.
2317 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
2318 registers within the V5 FADT. This support adds two new files:
2319 hardware/hwesleep.c implements the support for the new registers. Moved
2321 sleep/wake external interfaces to hardware/hwxfsleep.c.
2324 Added a new OSL interface for ACPI table overrides,
2325 AcpiOsPhysicalTableOverride. This interface allows the host to override a
2326 table via a physical address, instead of the logical address required by
2327 AcpiOsTableOverride. This simplifies the host implementation. Initial
2328 implementation by Thomas Renninger. The ACPICA implementation creates a
2330 shared function for table overrides that attempts both a logical and a
2333 Expanded the OSL memory read/write interfaces to 64-bit data
2334 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
2335 transfer support for GAS register structures passed to AcpiRead and
2338 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
2340 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
2342 See the ACPICA reference for details. ACPICA BZ 942. This option removes
2344 10% of the code and 5% of the static data, and the following hardware
2346 features become unavailable:
2347 PM Event and Control registers
2348 SCI interrupt (and handler)
2350 General Purpose Events (GPEs)
2353 FACS table (Waking vectors and Global Lock)
2355 Updated the unix tarball directory structure to match the ACPICA git
2357 tree. This ensures that the generic unix makefiles work properly (in
2358 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
2361 Updated the return value of the _REV predefined method to integer value 5
2363 reflect ACPI 5.0 support.
2365 Moved the external ACPI PM timer interface prototypes to the public
2367 file where they belong.
2369 Example Code and Data Size: These are the sizes for the OS-independent
2370 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2372 version of the code includes the debug output trace mechanism and has a
2374 larger code and data size.
2377 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
2378 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
2380 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
2381 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
2384 2) iASL Compiler/Disassembler and Tools:
2386 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
2387 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
2388 incorrectly displayed.
2390 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
2393 ----------------------------------------
2394 11 January 2012. Summary of changes for version 20120111:
2397 1) ACPICA Core Subsystem:
2399 Implemented a new mechanism to allow host device drivers to check for
2401 range conflicts with ACPI Operation Regions. Both SystemMemory and
2403 address spaces are supported. A new external interface,
2404 AcpiCheckAddressRange,
2405 allows drivers to check an address range against the ACPI namespace. See
2407 ACPICA reference for additional details. Adds one new file,
2408 utilities/utaddress.c. Lin Ming, Bob Moore.
2410 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
2413 Status registers, update the ACPI 5.0 flags, and update internal data
2414 structures to handle an FADT larger than 256 bytes. The size of the ACPI
2418 Updated all ACPICA copyrights and signons to 2012. Added the 2012
2420 all module headers and signons, including the standard Linux header. This
2421 affects virtually every file in the ACPICA core subsystem, iASL compiler,
2423 all ACPICA utilities.
2425 Example Code and Data Size: These are the sizes for the OS-independent
2426 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2428 version of the code includes the debug output trace mechanism and has a
2430 larger code and data size.
2433 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
2434 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
2436 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
2437 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
2440 2) iASL Compiler/Disassembler and Tools:
2442 Disassembler: fixed a problem with the automatic resource tag generation
2443 support. Fixes a problem where the resource tags are inadvertently not
2444 constructed if the table being disassembled contains external references
2446 control methods. Moved the actual construction of the tags to after the
2448 namespace is constructed (after 2nd parse is invoked due to external
2450 method references.) ACPICA BZ 941.
2452 Table Compiler: Make all "generic" operators caseless. These are the
2454 like UINT8, String, etc. Making these caseless improves ease-of-use.
2458 ----------------------------------------
2459 23 November 2011. Summary of changes for version 20111123:
2461 0) ACPI 5.0 Support:
2463 This release contains full support for the ACPI 5.0 specification, as
2466 Reduced Hardware Support:
2467 -------------------------
2469 This support allows for ACPI systems without the usual ACPI hardware.
2471 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
2473 not attempt to initialize or use any of the usual ACPI hardware. Note,
2475 this flag is set, all of the following ACPI hardware is assumed to be not
2476 present and is not initialized or accessed:
2478 General Purpose Events (GPEs)
2479 Fixed Events (PM1a/PM1b and PM Control)
2480 Power Management Timer and Console Buttons (power/sleep)
2481 Real-time Clock Alarm
2483 System Control Interrupt (SCI)
2484 The FACS is assumed to be non-existent
2489 All new tables and updates to existing tables are fully supported in the
2490 ACPICA headers (for use by device drivers), the disassembler, and the
2492 Data Table Compiler. ACPI 5.0 defines these new tables:
2494 BGRT /* Boot Graphics Resource Table */
2495 DRTM /* Dynamic Root of Trust for Measurement table */
2496 FPDT /* Firmware Performance Data Table */
2497 GTDT /* Generic Timer Description Table */
2498 MPST /* Memory Power State Table */
2499 PCCT /* Platform Communications Channel Table */
2500 PMTT /* Platform Memory Topology Table */
2501 RASF /* RAS Feature table */
2503 Operation Regions/SpaceIDs:
2504 ---------------------------
2506 All new operation regions are fully supported by the iASL compiler, the
2507 disassembler, and the ACPICA runtime code (for dispatch to region
2509 The new operation region Space IDs are:
2514 Resource Descriptors:
2515 ---------------------
2517 All new ASL resource descriptors are fully supported by the iASL
2520 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
2522 all new predefined resource tags). New descriptors are:
2531 ASL/AML Operators, New and Modified:
2532 ------------------------------------
2534 One new operator is added, the Connection operator, which is used to
2536 a GeneralPurposeIo or GenericSerialBus resource descriptor with
2538 field objects within an operation region. Several new protocols are
2540 with the AccessAs operator. All are fully supported by the iASL compiler,
2541 disassembler, and runtime ACPICA AML interpreter:
2543 Connection // Declare Field Connection
2545 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
2546 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
2548 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
2549 RawDataBuffer // Data type for Vendor Data
2552 Predefined ASL/AML Objects:
2553 ---------------------------
2555 All new predefined objects/control-methods are supported by the iASL
2557 and the ACPICA runtime validation/repair (arguments and return values.)
2559 predefined names include the following:
2561 Standard Predefined Names (Objects or Control Methods):
2562 _AEI, _CLS, _CPC, _CWS, _DEP,
2563 _DLM, _EVT, _GCP, _CRT, _GWS,
2564 _HRV, _PRE, _PSE, _SRT, _SUB.
2566 Resource Tags (Names used to access individual fields within resource
2568 _DBT, _DPL, _DRS, _END, _FLC,
2569 _IOR, _LIN, _MOD, _PAR, _PHA,
2570 _PIN, _PPI, _POL, _RXL, _SLV,
2571 _SPE, _STB, _TXL, _VEN.
2573 ACPICA External Interfaces:
2574 ---------------------------
2576 Several new interfaces have been defined for use by ACPI-related device
2577 drivers and other host OS services:
2579 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
2581 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
2582 provided by the BIOS. They are intended to be used in conjunction with
2584 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
2585 mutual exclusion with the AML code/interpreter.
2587 AcpiGetEventResources: Returns the (formatted) resource descriptors as
2589 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
2591 resource descriptors associated with hardware-reduced platform events,
2593 to the AcpiGetCurrentResources interface.
2595 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
2596 operation regions, information about the Connection() object and any
2598 length information is passed to the region handler within the Context
2601 AcpiBufferToResource: This interface converts a raw AML buffer containing
2603 resource template or resource descriptor to the ACPI_RESOURCE internal
2605 suitable for use by device drivers. Can be used by an operation region
2607 to convert the Connection() buffer object into a ACPI_RESOURCE.
2609 Miscellaneous/Tools/TestSuites:
2610 -------------------------------
2612 Support for extended _HID names (Four alpha characters instead of three).
2613 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
2614 Support for ACPI 5.0 features in the ASLTS test suite.
2615 Fully updated documentation (ACPICA and iASL reference documents.)
2617 ACPI Table Definition Language:
2618 -------------------------------
2620 Support for this language was implemented and released as a subsystem of
2622 iASL compiler in 2010. (See the iASL compiler User Guide.)
2625 Non-ACPI 5.0 changes for this release:
2626 --------------------------------------
2628 1) ACPICA Core Subsystem:
2630 Fix a problem with operation region declarations where a failure can
2633 the region name and an argument that evaluates to an object (such as the
2634 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
2637 Do not abort an ACPI table load if an invalid space ID is found within.
2639 will be caught later if the offending method is executed. ACPICA BZ 925.
2641 Fixed an issue with the FFixedHW space ID where the ID was not always
2642 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
2644 Fixed a problem with the 32-bit generation of the unix-specific OSL
2645 (osunixxf.c). Lin Ming, ACPICA BZ 936.
2647 Several changes made to enable generation with the GCC 4.6 compiler.
2651 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
2653 field registers out-of-range.
2655 2) iASL Compiler/Disassembler and Tools:
2657 iASL: Implemented the __PATH__ operator, which returns the full pathname
2659 the current source file.
2661 AcpiHelp: Automatically display expanded keyword information for all ASL
2664 Debugger: Add "Template" command to disassemble/dump resource template
2667 Added a new master script to generate and execute the ASLTS test suite.
2668 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
2670 iASL: Fix problem with listing generation during processing of the
2672 operator where AML listing was disabled until the entire Switch block was
2675 iASL: Improve support for semicolon statement terminators. Fix "invalid
2676 character" message for some cases when the semicolon is used. Semicolons
2678 now allowed after every <Term> grammar element. ACPICA BZ 927.
2680 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
2683 Disassembler: Fix problem with disassembly of the DataTableRegion
2685 where an inadvertent "Unhandled deferred opcode" message could be
2688 3) Example Code and Data Size
2690 These are the sizes for the OS-independent acpica.lib produced by the
2691 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2692 includes the debug output trace mechanism and has a much larger code and
2697 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2698 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2700 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
2701 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
2703 ----------------------------------------
2704 22 September 2011. Summary of changes for version 20110922:
2708 Support for ACPI 5.0 in ACPICA has been underway for several months and
2710 be released at the same time that ACPI 5.0 is officially released.
2712 The ACPI 5.0 specification is on track for release in the next few
2715 1) ACPICA Core Subsystem:
2717 Fixed a problem where the maximum sleep time for the Sleep() operator was
2718 intended to be limited to two seconds, but was inadvertently limited to
2722 Linux and Unix makefiles: Added header file dependencies to ensure
2724 generation of ACPICA core code and utilities. Also simplified the
2726 considerably through the use of the vpath variable to specify search
2730 2) iASL Compiler/Disassembler and Tools:
2732 iASL: Implemented support to check the access length for all fields
2734 access named Resource Descriptor fields. For example, if a resource field
2736 defined to be two bits, a warning is issued if a CreateXxxxField() is
2738 with an incorrect bit length. This is implemented for all current
2740 descriptor names. ACPICA BZ 930.
2742 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
2746 iASL: Fixed a couple of issues associated with variable-length package
2747 objects. 1) properly handle constants like One, Ones, Zero -- do not make
2749 VAR_PACKAGE when these are used as a package length. 2) Allow the
2751 opcode (in addition to PACKAGE) when validating object types for
2755 iASL: Emit statistics for all output files (instead of just the ASL input
2757 AML output). Includes listings, hex files, etc.
2759 iASL: Added -G option to the table compiler to allow the compilation of
2761 ACPI tables. The only part of a table that is required is the standard
2766 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
2768 which also adds correct 64-bit support. Also, now all output filenames
2770 completely lower case.
2772 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
2773 loading table files. A warning is issued for any such tables. The only
2774 exception is an FADT. This also fixes a possible fault when attempting to
2776 non-AML tables. ACPICA BZ 932.
2778 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
2780 missing table terminator could cause a fault when using the -p option.
2782 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
2785 3) Example Code and Data Size
2787 These are the sizes for the OS-independent acpica.lib produced by the
2788 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2789 includes the debug output trace mechanism and has a much larger code and
2793 Previous Release (VC 9.0):
2794 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2795 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2796 Current Release (VC 9.0):
2797 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2798 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2801 ----------------------------------------
2802 23 June 2011. Summary of changes for version 20110623:
2804 1) ACPI CA Core Subsystem:
2806 Updated the predefined name repair mechanism to not attempt repair of a
2808 return object if a _PSS object is present. We can only sort the _TSS
2810 package if there is no _PSS within the same scope. This is because if
2813 present, the ACPI specification dictates that the _TSS Power Dissipation
2815 is to be ignored, and therefore some BIOSs leave garbage values in the
2817 Power field(s). In this case, it is best to just return the _TSS package
2819 is. Reported by, and fixed with assistance from Fenghua Yu.
2821 Added an option to globally disable the control method return value
2823 and repair. This runtime option can be used to disable return value
2826 this is causing a problem on a particular machine. Also added an option
2828 AcpiExec (-dr) to set this disable flag.
2830 All makefiles and project files: Major changes to improve generation of
2832 tools. ACPICA BZ 912:
2833 Reduce default optimization levels to improve compatibility
2834 For Linux, add strict-aliasing=0 for gcc 4
2835 Cleanup and simplify use of command line defines
2836 Cleanup multithread library support
2837 Improve usage messages
2839 Linux-specific header: update handling of THREAD_ID and pthread. For the
2841 bit case, improve casting to eliminate possible warnings, especially with
2845 Example Code and Data Size: These are the sizes for the OS-independent
2846 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2848 version of the code includes the debug output trace mechanism and has a
2850 larger code and data size.
2852 Previous Release (VC 9.0):
2853 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2854 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2855 Current Release (VC 9.0):
2856 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2857 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2859 2) iASL Compiler/Disassembler and Tools:
2861 With this release, a new utility named "acpihelp" has been added to the
2863 package. This utility summarizes the ACPI specification chapters for the
2865 and AML languages. It generates under Linux/Unix as well as Windows, and
2866 provides the following functionality:
2867 Find/display ASL operator(s) -- with description and syntax.
2868 Find/display ASL keyword(s) -- with exact spelling and descriptions.
2869 Find/display ACPI predefined name(s) -- with description, number
2870 of arguments, and the return value data type.
2871 Find/display AML opcode name(s) -- with opcode, arguments, and
2873 Decode/display AML opcode -- with opcode name, arguments, and
2876 Service Layers: Make multi-thread support configurable. Conditionally
2878 the multi-thread support so that threading libraries will not be linked
2881 necessary. The only tool that requires multi-thread support is AcpiExec.
2883 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
2885 Bison appear to want the interface to yyerror to be a const char * (or at
2886 least this is a problem when generating iASL on some systems.) ACPICA BZ
2890 Tools: Fix for systems where O_BINARY is not defined. Only used for
2892 versions of the tools.
2894 ----------------------------------------
2895 27 May 2011. Summary of changes for version 20110527:
2897 1) ACPI CA Core Subsystem:
2899 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
2901 signature. Now, only allow SSDT, OEMx, and a null signature. History:
2902 1) Originally, we checked the table signature for "SSDT" or "PSDT".
2903 (PSDT is now obsolete.)
2904 2) We added support for OEMx tables, signature "OEM" plus a fourth
2905 "don't care" character.
2906 3) Valid tables were encountered with a null signature, so we just
2907 gave up on validating the signature, (05/2008).
2908 4) We encountered non-AML tables such as the MADT, which caused
2909 interpreter errors and kernel faults. So now, we once again allow
2910 only SSDT, OEMx, and now, also a null signature. (05/2011).
2912 Added the missing _TDL predefined name to the global name list in order
2914 enable validation. Affects both the core ACPICA code and the iASL
2917 Example Code and Data Size: These are the sizes for the OS-independent
2918 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2920 version of the code includes the debug output trace mechanism and has a
2922 larger code and data size.
2924 Previous Release (VC 9.0):
2925 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
2926 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
2927 Current Release (VC 9.0):
2928 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2929 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2931 2) iASL Compiler/Disassembler and Tools:
2933 Debugger/AcpiExec: Implemented support for "complex" method arguments on
2935 debugger command line. This adds support beyond simple integers --
2937 Strings, Buffers, and Packages. Includes support for nested packages.
2938 Increased the default command line buffer size to accommodate these
2940 See the ACPICA reference for details and syntax. ACPICA BZ 917.
2942 Debugger/AcpiExec: Implemented support for "default" method arguments for
2944 Execute/Debug command. Now, the debugger will always invoke a control
2946 with the required number of arguments -- even if the command line
2948 none or insufficient arguments. It uses default integer values for any
2950 arguments. Also fixes a bug where only six method arguments maximum were
2951 supported instead of the required seven.
2953 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
2955 also return status in order to prevent buffer overruns. See the ACPICA
2956 reference for details and syntax. ACPICA BZ 921
2958 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
2959 makefiles to simplify support for the two different but similar parser
2960 generators, bison and yacc.
2962 Updated the generic unix makefile for gcc 4. The default gcc version is
2964 expected to be 4 or greater, since options specific to gcc 4 are used.
2966 ----------------------------------------
2967 13 April 2011. Summary of changes for version 20110413:
2969 1) ACPI CA Core Subsystem:
2971 Implemented support to execute a so-called "orphan" _REG method under the
2973 device. This change will force the execution of a _REG method underneath
2976 device even if there is no corresponding operation region of type
2977 EmbeddedControl. Fixes a problem seen on some machines and apparently is
2978 compatible with Windows behavior. ACPICA BZ 875.
2980 Added more predefined methods that are eligible for automatic NULL
2982 element removal. This change adds another group of predefined names to
2985 of names that can be repaired by having NULL package elements dynamically
2986 removed. This group are those methods that return a single variable-
2988 package containing simple data types such as integers, buffers, strings.
2990 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
2993 and _TZD. ACPICA BZ 914.
2995 Split and segregated all internal global lock functions to a new file,
2998 Updated internal address SpaceID for DataTable regions. Moved this
3001 id in preparation for ACPI 5.0 changes that will include some new space
3004 change should not affect user/host code.
3006 Example Code and Data Size: These are the sizes for the OS-independent
3008 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
3010 the code includes the debug output trace mechanism and has a much larger
3015 Previous Release (VC 9.0):
3016 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
3017 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
3018 Current Release (VC 9.0):
3019 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
3020 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
3022 2) iASL Compiler/Disassembler and Tools:
3024 iASL/DTC: Major update for new grammar features. Allow generic data types
3026 custom ACPI tables. Field names are now optional. Any line can be split
3028 multiple lines using the continuation char (\). Large buffers now use
3030 continuation character(s) and no colon on the continuation lines. See the
3032 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
3035 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
3037 Since the parser stuffs a "zero" as the return value for these statements
3040 the underlying AML grammar), they were seen as "return with value" by the
3042 semantic checking. They are now seen correctly as "null" return
3045 iASL: Check if a_REG declaration has a corresponding Operation Region.
3047 check for each _REG to ensure that there is in fact a corresponding
3049 region declaration in the same scope. If not, the _REG method is not very
3051 since it probably won't be executed. ACPICA BZ 915.
3053 iASL/DTC: Finish support for expression evaluation. Added a new
3056 that implements c-style operator precedence and parenthesization. ACPICA
3060 Disassembler/DTC: Remove support for () and <> style comments in data
3063 that DTC has full expression support, we don't want to have comment
3066 start with a parentheses or a less-than symbol. Now, only the standard /*
3069 comments are supported, as well as the bracket [] comments.
3071 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
3073 headers in the acpidump file. Update the header validation to support
3075 tables. Problem introduced in previous AcpiXtract version in the change
3077 support "wrong checksum" error messages emitted by acpidump utility.
3079 iASL: Add a * option to generate all template files (as a synonym for
3083 "iasl -T *" or "iasl -T ALL".
3085 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
3087 abort the compiler on "fatal" errors, simply should abort the current
3089 This allows multiple compiles with a single (possibly wildcard) compiler
3092 ----------------------------------------
3093 16 March 2011. Summary of changes for version 20110316:
3095 1) ACPI CA Core Subsystem:
3097 Fixed a problem caused by a _PRW method appearing at the namespace root
3099 during the setup of wake GPEs. A fault could occur if a _PRW directly
3102 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
3104 Implemented support for "spurious" Global Lock interrupts. On some
3106 global lock interrupt can occur without the pending flag being set. Upon
3109 interrupt, we now ensure that a thread is actually waiting for the lock
3111 signaling GL availability. Rafael Wysocki, Bob Moore.
3113 Example Code and Data Size: These are the sizes for the OS-independent
3115 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
3117 the code includes the debug output trace mechanism and has a much larger
3122 Previous Release (VC 9.0):
3123 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
3124 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
3125 Current Release (VC 9.0):
3126 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
3127 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
3129 2) iASL Compiler/Disassembler and Tools:
3131 Implemented full support for the "SLIC" ACPI table. Includes support in
3133 header files, disassembler, table compiler, and template generator. Bob
3137 AcpiXtract: Correctly handle embedded comments and messages from
3139 Apparently some or all versions of acpidump will occasionally emit a
3142 "Wrong checksum", etc., into the dump file. This was causing problems for
3143 AcpiXtract. ACPICA BZ 905.
3145 iASL: Fix the Linux makefile by removing an inadvertent double file
3149 AcpiExec: Update installation of operation region handlers. Install one
3151 for a user-defined address space. This is used by the ASL test suite
3154 ----------------------------------------
3155 11 February 2011. Summary of changes for version 20110211:
3157 1) ACPI CA Core Subsystem:
3159 Added a mechanism to defer _REG methods for some early-installed
3161 Most user handlers should be installed before call to
3162 AcpiEnableSubsystem.
3163 However, Event handlers and region handlers should be installed after
3164 AcpiInitializeObjects. Override handlers for the "default" regions should
3166 installed early, however. This change executes all _REG methods for the
3167 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
3168 chicken/egg issues between them. ACPICA BZ 848.
3170 Implemented an optimization for GPE detection. This optimization will
3172 ignore GPE registers that contain no enabled GPEs -- there is no need to
3173 read the register since this information is available internally. This
3174 becomes more important on machines with a large GPE space. ACPICA
3176 884. Lin Ming. Suggestion from Joe Liu.
3178 Removed all use of the highly unreliable FADT revision field. The
3180 number in the FADT has been found to be completely unreliable and cannot
3182 trusted. Only the actual table length can be used to infer the version.
3184 change updates the ACPICA core and the disassembler so that both no
3186 even look at the FADT version and instead depend solely upon the FADT
3189 Fix an unresolved name issue for the no-debug and no-error-message source
3190 generation cases. The _AcpiModuleName was left undefined in these cases,
3192 it is actually needed as a parameter to some interfaces. Define
3193 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
3195 Split several large files (makefiles and project files updated)
3196 utglobal.c -> utdecode.c
3197 dbcomds.c -> dbmethod.c dbnames.c
3198 dsopcode.c -> dsargs.c dscontrol.c
3199 dsload.c -> dsload2.c
3200 aslanalyze.c -> aslbtypes.c aslwalks.c
3202 Example Code and Data Size: These are the sizes for the OS-independent
3203 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3204 debug version of the code includes the debug output trace mechanism and
3206 a much larger code and data size.
3208 Previous Release (VC 9.0):
3209 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
3210 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
3211 Current Release (VC 9.0):
3212 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
3213 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
3215 2) iASL Compiler/Disassembler and Tools:
3217 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
3218 These are useful C-style macros with the standard definitions. ACPICA
3221 iASL/DTC: Added support for integer expressions and labels. Support for
3223 expressions for all integer fields in all ACPI tables. Support for labels
3225 "generic" portions of tables such as UEFI. See the iASL reference manual.
3227 Debugger: Added a command to display the status of global handlers. The
3228 "handlers" command will display op region, fixed event, and miscellaneous
3229 global handlers. installation status -- and for op regions, whether
3231 or user-installed handler will be used.
3233 iASL: Warn if reserved method incorrectly returns a value. Many
3235 names are defined such that they do not return a value. If implemented as
3237 method, issue a warning if such a name explicitly returns a value. ACPICA
3240 iASL: Added detection of GPE method name conflicts. Detects a conflict
3242 there are two GPE methods of the form _Lxy and _Exy in the same scope.
3244 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
3246 iASL/DTC: Fixed a couple input scanner issues with comments and line
3247 numbers. Comment remover could get confused and miss a comment ending.
3249 a problem with line counter maintenance.
3251 iASL/DTC: Reduced the severity of some errors from fatal to error. There
3253 no need to abort on simple errors within a field definition.
3255 Debugger: Simplified the output of the help command. All help output now
3257 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
3259 ----------------------------------------
3260 12 January 2011. Summary of changes for version 20110112:
3262 1) ACPI CA Core Subsystem:
3264 Fixed a race condition between method execution and namespace walks that
3266 possibly cause a fault. The problem was apparently introduced in version
3267 20100528 as a result of a performance optimization that reduces the
3270 namespace walks upon method exit by using the delete_namespace_subtree
3271 function instead of the delete_namespace_by_owner function used
3273 Bug is a missing namespace lock in the delete_namespace_subtree function.
3274 dana.myers@oracle.com
3276 Fixed several issues and a possible fault with the automatic "serialized"
3277 method support. History: This support changes a method to "serialized" on
3279 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
3280 possibility that it cannot handle reentrancy. This fix repairs a couple
3282 issues seen in the field, especially on machines with many cores:
3284 1) Delete method children only upon the exit of the last thread,
3285 so as to not delete objects out from under other running threads
3286 (and possibly causing a fault.)
3287 2) Set the "serialized" bit for the method only upon the exit of the
3288 Last thread, so as to not cause deadlock when running threads
3290 3) Cleanup the use of the AML "MethodFlags" and internal method flags
3291 so that there is no longer any confusion between the two.
3293 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
3295 Debugger: Now lock the namespace for duration of a namespace dump.
3297 issues if the namespace is changing dynamically underneath the debugger.
3298 Especially affects temporary namespace nodes, since the debugger displays
3301 Updated the ordering of include files. The ACPICA headers should appear
3302 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
3304 any necessary compiler-specific defines, etc. Affects the ACPI-related
3308 Updated all ACPICA copyrights and signons to 2011. Added the 2011
3310 to all module headers and signons, including the Linux header. This
3312 virtually every file in the ACPICA core subsystem, iASL compiler, and all
3315 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
3316 project files for VC++ 6.0 are now obsolete. New project files can be
3318 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
3321 Example Code and Data Size: These are the sizes for the OS-independent
3322 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3323 debug version of the code includes the debug output trace mechanism and
3325 much larger code and data size.
3327 Previous Release (VC 6.0):
3328 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
3329 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
3330 Current Release (VC 9.0):
3331 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
3332 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
3334 2) iASL Compiler/Disassembler and Tools:
3336 iASL: Added generic data types to the Data Table compiler. Add "generic"
3338 types such as UINT32, String, Unicode, etc., to simplify the generation
3340 platform-defined tables such as UEFI. Lin Ming.
3342 iASL: Added listing support for the Data Table Compiler. Adds listing
3344 (-l) to display actual binary output for each line of input code.
3346 ----------------------------------------
3347 09 December 2010. Summary of changes for version 20101209:
3349 1) ACPI CA Core Subsystem:
3351 Completed the major overhaul of the GPE support code that was begun in
3353 2010. Major features include: removal of _PRW execution in ACPICA (host
3354 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
3355 changes to existing interfaces, simplification of GPE handler operation,
3357 a handful of new interfaces:
3363 One new file, evxfgpe.c to consolidate all external GPE interfaces.
3365 See the ACPICA Programmer Reference for full details and programming
3366 information. See the new section 4.4 "General Purpose Event (GPE)
3368 for a full overview, and section 8.7 "ACPI General Purpose Event
3370 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
3372 Bob Moore, Rafael Wysocki.
3374 Implemented a new GPE feature for Windows compatibility, the "Implicit
3376 GPE Notify". This feature will automatically issue a Notify(2) on a
3378 when a Wake GPE is received if there is no corresponding GPE method or
3379 handler. ACPICA BZ 870.
3381 Fixed a problem with the Scope() operator during table parse and load
3383 During load phase (table load or method execution), the scope operator
3385 not enter the target into the namespace. Instead, it should open a new
3387 at the target location. Linux BZ 19462, ACPICA BZ 882.
3389 Example Code and Data Size: These are the sizes for the OS-independent
3390 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3391 debug version of the code includes the debug output trace mechanism and
3393 much larger code and data size.
3396 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
3397 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
3399 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3400 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3402 2) iASL Compiler/Disassembler and Tools:
3404 iASL: Relax the alphanumeric restriction on _CID strings. These strings
3406 "bus-specific" per the ACPI specification, and therefore any characters
3408 acceptable. The only checks that can be performed are for a null string
3410 perhaps for a leading asterisk. ACPICA BZ 886.
3412 iASL: Fixed a problem where a syntax error that caused a premature EOF
3413 condition on the source file emitted a very confusing error message. The
3414 premature EOF is now detected correctly. ACPICA BZ 891.
3416 Disassembler: Decode the AccessSize within a Generic Address Structure
3418 access, word access, etc.) Note, this field does not allow arbitrary bit
3419 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
3421 New: AcpiNames utility - Example namespace dump utility. Shows an example
3423 ACPICA configuration for a minimal namespace dump utility. Uses table and
3424 namespace managers, but no AML interpreter. Does not add any
3426 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
3427 partition and configure ACPICA. ACPICA BZ 883.
3429 AML Debugger: Increased the debugger buffer size for method return
3431 Was 4K, increased to 16K. Also enhanced error messages for debugger
3433 execution, including the buffer overflow case.
3435 ----------------------------------------
3436 13 October 2010. Summary of changes for version 20101013:
3438 1) ACPI CA Core Subsystem:
3440 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
3442 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
3443 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
3445 Changed the type of the predefined namespace object _TZ from ThermalZone
3447 Device. This was found to be confusing to the host software that
3449 the various thermal zones, since _TZ is not really a ThermalZone.
3452 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
3455 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
3456 string is "Windows 2006 SP2".
3458 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
3460 code automatically repairs _HID-related strings, this type of code is no
3461 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
3464 Example Code and Data Size: These are the sizes for the OS-independent
3465 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3466 debug version of the code includes the debug output trace mechanism and
3468 much larger code and data size.
3471 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3472 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3474 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3475 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3477 2) iASL Compiler/Disassembler and Tools:
3479 iASL: Implemented additional compile-time validation for _HID strings.
3481 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
3484 the string must be exactly seven or eight characters. For both _HID and
3486 strings, all characters must be alphanumeric. ACPICA BZ 874.
3488 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
3489 descriptors that are mostly or all zeros, with the expectation that they
3491 be filled in at runtime. iASL now allows this as long as there is a
3493 tag" (name) associated with the descriptor, which gives the ASL a handle
3494 needed to modify the descriptor. ACPICA BZ 873.
3496 Added single-thread support to the generic Unix application OSL.
3498 for iASL support, this change removes the use of semaphores in the
3500 threaded ACPICA tools/applications - increasing performance. The
3501 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
3502 option. ACPICA BZ 879.
3504 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
3506 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
3508 iASL: Moved all compiler messages to a new file, aslmessages.h.
3510 ----------------------------------------
3511 15 September 2010. Summary of changes for version 20100915:
3513 1) ACPI CA Core Subsystem:
3515 Removed the AcpiOsDerivePciId OSL interface. The various host
3517 of this function were not OS-dependent and are now obsolete and can be
3518 removed from all host OSLs. This function has been replaced by
3519 AcpiHwDerivePciId, which is now part of the ACPICA core code.
3520 AcpiHwDerivePciId has been implemented without recursion. Adds one new
3521 module, hwpci.c. ACPICA BZ 857.
3523 Implemented a dynamic repair for _HID and _CID strings. The following
3524 problems are now repaired at runtime: 1) Remove a leading asterisk in the
3525 string, and 2) the entire string is uppercased. Both repairs are in
3526 accordance with the ACPI specification and will simplify host driver
3530 The ACPI_THREAD_ID type is no longer configurable, internally it is now
3531 always UINT64. This simplifies the ACPICA code, especially any printf
3533 UINT64 is the only common data type for all thread_id types across all
3534 operating systems. It is now up to the host OSL to cast the native
3536 type to UINT64 before returning the value to ACPICA (via
3538 Lin Ming, Bob Moore.
3540 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
3542 keyword is not standard across compilers, and this type allows inline to
3544 configured on a per-compiler basis. Lin Ming.
3546 Made the system global AcpiGbl_SystemAwakeAndRunning publically
3548 Added an extern for this boolean in acpixf.h. Some hosts utilize this
3550 during suspend/restore operations. ACPICA BZ 869.
3552 All code that implements error/warning messages with the "ACPI:" prefix
3554 been moved to a new module, utxferror.c.
3556 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
3558 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
3560 Example Code and Data Size: These are the sizes for the OS-independent
3561 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3562 debug version of the code includes the debug output trace mechanism and
3564 much larger code and data size.
3567 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
3568 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
3570 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
3571 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
3573 2) iASL Compiler/Disassembler and Tools:
3575 iASL/Disassembler: Write ACPI errors to stderr instead of the output
3577 This keeps the output files free of random error messages that may
3579 from within the namespace/interpreter code. Used this opportunity to
3581 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
3582 866. Lin Ming, Bob Moore.
3584 Tools: update some printfs for ansi warnings on size_t. Handle width
3586 of size_t on 32-bit versus 64-bit generations. Lin Ming.
3588 ----------------------------------------
3589 06 August 2010. Summary of changes for version 20100806:
3591 1) ACPI CA Core Subsystem:
3593 Designed and implemented a new host interface to the _OSI support code.
3595 will allow the host to dynamically add or remove multiple _OSI strings,
3597 well as install an optional handler that is called for each _OSI
3599 Also added a new AML debugger command, 'osi' to display and modify the
3601 _OSI string table, and test support in the AcpiExec utility. See the
3603 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
3605 AcpiInstallInterface - Add an _OSI string.
3606 AcpiRemoveInterface - Delete an _OSI string.
3607 AcpiInstallInterfaceHandler - Install optional _OSI handler.
3609 AcpiOsValidateInterface - no longer used.
3611 source/components/utilities/utosi.c
3613 Re-introduced the support to enable multi-byte transfers for Embedded
3614 Controller (EC) operation regions. A reported problem was found to be a
3616 in the host OS, not in the multi-byte support. Previously, the maximum
3618 size passed to the EC operation region handler was a single byte. There
3620 often EC Fields larger than one byte that need to be transferred, and it
3622 useful for the EC driver to lock these as a single transaction. This
3624 enables single transfers larger than 8 bits. This effectively changes the
3625 access to the EC space from ByteAcc to AnyAcc, and will probably require
3626 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
3628 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
3630 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
3631 prototype in acpiosxf.h had the output value pointer as a (void *).
3632 It should be a (UINT64 *). This may affect some host OSL code.
3634 Fixed a couple problems with the recently modified Linux makefiles for
3636 and AcpiExec. These new makefiles place the generated object files in the
3637 local directory so that there can be no collisions between the files that
3639 shared between them that are compiled with different options.
3641 Example Code and Data Size: These are the sizes for the OS-independent
3642 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3643 debug version of the code includes the debug output trace mechanism and
3645 much larger code and data size.
3648 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3649 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
3651 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
3652 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
3654 2) iASL Compiler/Disassembler and Tools:
3656 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
3658 namespace from and disassemble an entire group of AML files. Useful for
3659 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
3661 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
3663 iASL: Allow multiple invocations of -e option. This change allows
3665 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
3669 ----------------------------------------
3670 02 July 2010. Summary of changes for version 20100702:
3672 1) ACPI CA Core Subsystem:
3674 Implemented several updates to the recently added GPE reference count
3675 support. The model for "wake" GPEs is changing to give the host OS
3677 control of these GPEs. Eventually, the ACPICA core will not execute any
3679 methods, since the host already must execute them. Also, additional
3681 were made to help ensure that the reference counts are kept in proper
3682 synchronization with reality. Rafael J. Wysocki.
3684 1) Ensure that GPEs are not enabled twice during initialization.
3685 2) Ensure that GPE enable masks stay in sync with the reference count.
3686 3) Do not inadvertently enable GPEs when writing GPE registers.
3687 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
3688 interface. This interface will set or clear individual GPEs for wakeup.
3689 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
3691 are now used for "runtime" GPEs only.
3693 Changed the behavior of the GPE install/remove handler interfaces. The
3696 no longer disabled during this process, as it was found to cause problems
3698 some machines. Rafael J. Wysocki.
3700 Reverted a change introduced in version 20100528 to enable Embedded
3701 Controller multi-byte transfers. This change was found to cause problems
3703 Index Fields and possibly Bank Fields. It will be reintroduced when these
3704 problems have been resolved.
3706 Fixed a problem with references to Alias objects within Package Objects.
3708 reference to an Alias within the definition of a Package was not always
3709 resolved properly. Aliases to objects like Processors, Thermal zones,
3711 were resolved to the actual object instead of a reference to the object
3714 should be. Package objects are only allowed to contain integer, string,
3715 buffer, package, and reference objects. Redhat bugzilla 608648.
3717 Example Code and Data Size: These are the sizes for the OS-independent
3718 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3719 debug version of the code includes the debug output trace mechanism and
3721 much larger code and data size.
3724 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3725 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3727 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3728 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
3730 2) iASL Compiler/Disassembler and Tools:
3732 iASL: Implemented a new compiler subsystem to allow definition and
3733 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
3735 are called "ACPI Data Tables", and the new compiler is the "Data Table
3736 Compiler". This compiler is intended to simplify the existing error-prone
3737 process of creating these tables for the BIOS, as well as allowing the
3738 disassembly, modification, recompilation, and override of existing ACPI
3740 tables. See the iASL User Guide for detailed information.
3742 iASL: Implemented a new Template Generator option in support of the new
3744 Table Compiler. This option will create examples of all known ACPI tables
3745 that can be used as the basis for table development. See the iASL
3746 documentation and the -T option.
3748 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
3751 Updated the Linux makefiles for iASL and AcpiExec to place the generated
3752 object files in the local directory so that there can be no collisions
3753 between the shared files between them that are generated with different
3756 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
3758 the #define __APPLE__ to enable this support.
3760 ----------------------------------------
3761 28 May 2010. Summary of changes for version 20100528:
3763 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
3764 available at www.acpi.info. This is primarily an errata release.
3766 1) ACPI CA Core Subsystem:
3768 Undefined ACPI tables: We are looking for the definitions for the
3770 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
3772 Implemented support to enable multi-byte transfers for Embedded
3774 (EC) operation regions. Previously, the maximum data size passed to the
3776 operation region handler was a single byte. There are often EC Fields
3778 than one byte that need to be transferred, and it is useful for the EC
3780 to lock these as a single transaction. This change enables single
3782 larger than 8 bits. This effectively changes the access to the EC space
3784 ByteAcc to AnyAcc, and will probably require changes to the host OS
3786 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
3788 transfers. Alexey Starikovskiy, Lin Ming
3790 Implemented a performance enhancement for namespace search and access.
3792 change enhances the performance of namespace searches and walks by adding
3794 backpointer to the parent in each namespace node. On large namespaces,
3796 change can improve overall ACPI performance by up to 9X. Adding a pointer
3798 each namespace node increases the overall size of the internal namespace
3800 about 5%, since each namespace entry usually consists of both a namespace
3801 node and an ACPI operand object. However, this is the first growth of the
3802 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
3804 Implemented a performance optimization that reduces the number of
3806 walks. On control method exit, only walk the namespace if the method is
3808 to have created namespace objects outside of its local scope. Previously,
3810 entire namespace was traversed on each control method exit. This change
3812 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
3815 Added support to truncate I/O addresses to 16 bits for Windows
3817 Some ASL code has been seen in the field that inadvertently has bits set
3818 above bit 15. This feature is optional and is enabled if the BIOS
3820 any Windows OSI strings. It can also be enabled by the host OS. Matthew
3823 Added support to limit the maximum time for the ASL Sleep() operator. To
3824 prevent accidental deep sleeps, limit the maximum time that Sleep() will
3825 actually sleep. Configurable, the default maximum is two seconds. ACPICA
3828 Added run-time validation support for the _WDG and_WED Microsoft
3830 methods. These objects are defined by "Windows Instrumentation", and are
3832 part of the ACPI spec. ACPICA BZ 860.
3834 Expanded all statistic counters used during namespace and device
3835 initialization from 16 to 32 bits in order to support very large
3838 Replaced all instances of %d in printf format specifiers with %u since
3840 all integers in ACPICA are unsigned.
3842 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
3846 Example Code and Data Size: These are the sizes for the OS-independent
3847 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3848 debug version of the code includes the debug output trace mechanism and
3850 much larger code and data size.
3853 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3854 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3856 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3857 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3859 2) iASL Compiler/Disassembler and Tools:
3861 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
3862 methods. These objects are defined by "Windows Instrumentation", and are
3864 part of the ACPI spec. ACPICA BZ 860.
3866 AcpiExec: added option to disable the memory tracking mechanism. The -dt
3867 option will disable the tracking mechanism, which improves performance
3870 AcpiExec: Restructured the command line options into -d (disable) and -e
3873 ----------------------------------------
3874 28 April 2010. Summary of changes for version 20100428:
3876 1) ACPI CA Core Subsystem:
3878 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
3879 including FADT-based and GPE Block Devices, execute any _PRW methods in
3881 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
3882 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
3883 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
3884 Devices. Provides compatibility with other ACPI implementations. Two new
3885 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
3888 Fixed a regression introduced in version 20100331 within the table
3890 where initial table loading could fail. This was introduced in the fix
3892 AcpiReallocateRootTable. Also, renamed some of fields in the table
3894 data structures to clarify their meaning and use.
3896 Fixed a possible allocation overrun during internal object copy in
3897 AcpiUtCopySimpleObject. The original code did not correctly handle the
3899 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
3902 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
3903 possible access beyond end-of-allocation. Also, now fully validate
3905 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
3907 Example Code and Data Size: These are the sizes for the OS-independent
3908 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3909 debug version of the code includes the debug output trace mechanism and
3911 much larger code and data size.
3914 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
3915 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
3917 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3918 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3920 2) iASL Compiler/Disassembler and Tools:
3922 iASL: Implemented Min/Max/Len/Gran validation for address resource
3923 descriptors. This change implements validation for the address fields
3925 are common to all address-type resource descriptors. These checks are
3926 implemented: Checks for valid Min/Max, length within the Min/Max window,
3927 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
3929 table 6-40 in the ACPI 4.0a specification. Also split the large
3931 and aslrestype2.c files into five new files. ACPICA BZ 840.
3933 iASL: Added support for the _Wxx predefined names. This support was
3935 and these names were not recognized by the compiler as valid predefined
3936 names. ACPICA BZ 851.
3938 iASL: Added an error for all predefined names that are defined to return
3940 value and thus must be implemented as Control Methods. These include all
3942 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
3943 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
3945 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
3947 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
3949 dynamically loaded via the Load() operator. Also cleaned up output for
3952 ta and -tc options. ACPICA BZ 853.
3954 Tests: Added a new file with examples of extended iASL error checking.
3955 Demonstrates the advanced error checking ability of the iASL compiler.
3956 Available at tests/misc/badcode.asl.
3958 ----------------------------------------
3959 31 March 2010. Summary of changes for version 20100331:
3961 1) ACPI CA Core Subsystem:
3963 Completed a major update for the GPE support in order to improve support
3965 shared GPEs and to simplify both host OS and ACPICA code. Added a
3967 count mechanism to support shared GPEs that require multiple device
3969 Several external interfaces have changed. One external interface has been
3970 removed. One new external interface was added. Most of the GPE external
3971 interfaces now use the GPE spinlock instead of the events mutex (and the
3972 Flags parameter for many GPE interfaces has been removed.) See the
3974 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
3976 Wysocki. ACPICA BZ 831.
3979 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
3985 Implemented write support for DataTable operation regions. These regions
3987 defined via the DataTableRegion() operator. Previously, only read support
3989 implemented. The ACPI specification allows DataTableRegions to be
3993 Implemented a new subsystem option to force a copy of the DSDT to local
3994 memory. Optionally copy the entire DSDT to local memory (instead of
3996 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
3998 the original DSDT, creating the need for this option. Default is FALSE,
4002 Implemented detection of a corrupted or replaced DSDT. This change adds
4003 support to detect a DSDT that has been corrupted and/or replaced from
4005 the OS (by firmware). This is typically catastrophic for the system, but
4007 been seen on some machines. Once this problem has been detected, the DSDT
4008 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
4010 Fixed two problems with AcpiReallocateRootTable during the root table
4012 When copying the root table to the new allocation, the length used was
4013 incorrect. The new size was used instead of the current table size,
4015 too much data was copied. Also, the count of available slots for ACPI
4017 was not set correctly. Alexey Starikovskiy, Bob Moore.
4019 Example Code and Data Size: These are the sizes for the OS-independent
4020 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4021 debug version of the code includes the debug output trace mechanism and
4023 much larger code and data size.
4026 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
4027 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
4029 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
4030 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
4032 2) iASL Compiler/Disassembler and Tools:
4034 iASL: Implement limited typechecking for values returned from predefined
4035 control methods. The type of any returned static (unnamed) object is now
4036 validated. For example, Return(1). ACPICA BZ 786.
4038 iASL: Fixed a predefined name object verification regression. Fixes a
4040 introduced in version 20100304. An error is incorrectly generated if a
4041 predefined name is declared as a static named object with a value defined
4042 using the keywords "Zero", "One", or "Ones". Lin Ming.
4044 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
4046 reducing the requested registry access rights. ACPICA BZ 842.
4048 Disassembler: fixed a possible fault when generating External()
4050 Introduced in commit ae7d6fd: Properly handle externals with parent-
4052 (carat). Fixes a string length allocation calculation. Lin Ming.
4054 ----------------------------------------
4055 04 March 2010. Summary of changes for version 20100304:
4057 1) ACPI CA Core Subsystem:
4059 Fixed a possible problem with the AML Mutex handling function
4060 AcpiExReleaseMutex where the function could fault under the very rare
4061 condition when the interpreter has blocked, the interpreter lock is
4063 the interpreter is then reentered via the same thread, and attempts to
4064 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
4068 Implemented additional configuration support for the AML "Debug Object".
4069 Output from the debug object can now be enabled via a global variable,
4070 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
4072 This debug output is now available in the release version of ACPICA
4074 of just the debug version. Also, the entire debug output module can now
4076 configured out of the ACPICA build if desired. One new file added,
4077 executer/exdebug.c. Lin Ming, Bob Moore.
4079 Added header support for the ACPI MCHI table (Management Controller Host
4080 Interface Table). This table was added in ACPI 4.0, but the defining
4082 has only recently become available.
4084 Standardized output of integer values for ACPICA warnings/errors. Always
4086 0x prefix for hex output, always use %u for unsigned integer decimal
4088 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
4090 invocations.) These invocations were converted from the original
4091 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
4093 Example Code and Data Size: These are the sizes for the OS-independent
4094 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4095 debug version of the code includes the debug output trace mechanism and
4097 much larger code and data size.
4100 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
4101 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
4103 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
4104 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
4106 2) iASL Compiler/Disassembler and Tools:
4108 iASL: Implemented typechecking support for static (non-control method)
4109 predefined named objects that are declared with the Name() operator. For
4110 example, the type of this object is now validated to be of type Integer:
4111 Name(_BBN, 1). This change migrates the compiler to using the core
4113 name table instead of maintaining a local version. Added a new file,
4114 aslpredef.c. ACPICA BZ 832.
4116 Disassembler: Added support for the ACPI 4.0 MCHI table.
4118 ----------------------------------------
4119 21 January 2010. Summary of changes for version 20100121:
4121 1) ACPI CA Core Subsystem:
4123 Added the 2010 copyright to all module headers and signons. This affects
4124 virtually every file in the ACPICA core subsystem, the iASL compiler, the
4125 tools/utilities, and the test suites.
4127 Implemented a change to the AcpiGetDevices interface to eliminate
4129 invocations of the _STA method. In the case where a specific _HID is
4130 requested, do not run _STA until a _HID match is found. This eliminates
4131 potentially dozens of _STA calls during a search for a particular
4133 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
4135 Implemented an additional repair for predefined method return values.
4137 to repair unexpected NULL elements within returned Package objects.
4140 Integer of value zero, a NULL String, or a zero-length Buffer as
4142 ACPICA BZ 818. Lin Ming, Bob Moore.
4144 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
4146 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
4148 64-bit AML integers). It is now obsolete and this change removes it from
4150 ACPICA code base, replaced by UINT64. The original typedef has been
4152 for now for compatibility with existing device driver code. ACPICA BZ
4155 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
4157 the parse tree object.
4159 Added additional warning options for the gcc-4 generation. Updated the
4161 accordingly. This includes some code restructuring to eliminate
4163 code, elimination of some gotos, elimination of unused return values,
4165 additional casting, and removal of redundant declarations.
4167 Example Code and Data Size: These are the sizes for the OS-independent
4168 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4169 debug version of the code includes the debug output trace mechanism and
4171 much larger code and data size.
4174 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
4175 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
4177 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
4178 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
4180 2) iASL Compiler/Disassembler and Tools:
4182 No functional changes for this release.
4184 ----------------------------------------
4185 14 December 2009. Summary of changes for version 20091214:
4187 1) ACPI CA Core Subsystem:
4189 Enhanced automatic data type conversions for predefined name repairs.
4191 change expands the automatic repairs/conversions for predefined name
4193 values to make Integers, Strings, and Buffers fully interchangeable.
4196 Buffer can be converted to a Package of Integers if necessary. The
4198 module was completely restructured. Lin Ming, Bob Moore.
4200 Implemented automatic removal of null package elements during predefined
4202 repairs. This change will automatically remove embedded and trailing NULL
4203 package elements from returned package objects that are defined to
4206 variable number of sub-packages. The driver is then presented with a
4208 with no null elements to deal with. ACPICA BZ 819.
4210 Implemented a repair for the predefined _FDE and _GTM names. The expected
4211 return value for both names is a Buffer of 5 DWORDs. This repair fixes
4213 possible problems (both seen in the field), where a package of integers
4215 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
4218 Implemented additional module-level code support. This change will
4220 execute module-level code that is not at the root of the namespace (under
4222 Device object, etc.). Now executes the code within the current scope
4224 of the root. ACPICA BZ 762. Lin Ming.
4226 Fixed possible mutex acquisition errors when running _REG methods. Fixes
4228 problem where mutex errors can occur when running a _REG method that is
4230 the same scope as a method-defined operation region or an operation
4232 under a module-level IF block. This type of code is rare, so the problem
4234 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
4236 Fixed a possible memory leak during module-level code execution. An
4238 could be leaked for each block of executed module-level code if the
4239 interpreter slack mode is enabled This change deletes any implicitly
4241 object from the module-level code block. Lin Ming.
4243 Removed messages for successful predefined repair(s). The repair
4245 was considered too wordy. Now, messages are only unconditionally emitted
4247 the return object cannot be repaired. Existing messages for successful
4248 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
4251 Example Code and Data Size: These are the sizes for the OS-independent
4252 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4253 debug version of the code includes the debug output trace mechanism and
4255 much larger code and data size.
4258 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
4259 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
4261 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
4262 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
4264 2) iASL Compiler/Disassembler and Tools:
4266 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
4268 were no longer automatically removed at the termination of the compile.
4270 acpiexec: Implemented the -f option to specify default region fill value.
4271 This option specifies the value used to initialize buffers that simulate
4272 operation regions. Default value is zero. Useful for debugging problems
4274 depend on a specific initial value for a region or field.
4276 ----------------------------------------
4277 12 November 2009. Summary of changes for version 20091112:
4279 1) ACPI CA Core Subsystem:
4281 Implemented a post-order callback to AcpiWalkNamespace. The existing
4282 interface only has a pre-order callback. This change adds an additional
4283 parameter for a post-order callback which will be more useful for bus
4285 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
4287 Modified the behavior of the operation region memory mapping cache for
4288 SystemMemory. Ensure that the memory mappings created for operation
4290 do not cross 4K page boundaries. Crossing a page boundary while mapping
4291 regions can cause kernel warnings on some hosts if the pages have
4293 attributes. Such regions are probably BIOS bugs, and this is the
4295 Linux BZ 14445. Lin Ming.
4297 Implemented an automatic repair for predefined methods that must return
4298 sorted lists. This change will repair (by sorting) packages returned by
4300 _PSS, and _TSS. Drivers can now assume that the packages are correctly
4302 and do not contain NULL package elements. Adds one new file,
4303 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
4305 Fixed a possible fault during predefined name validation if a return
4307 object contains NULL elements. Also adds a warning if a NULL element is
4308 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
4310 include repair or removal of all such NULL elements where possible.
4312 Implemented additional module-level executable AML code support. This
4314 will execute module-level code that is not at the root of the namespace
4315 (under a Device object, etc.) at table load time. Module-level executable
4317 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
4319 Implemented a new internal function to create Integer objects. This
4321 simplifies miscellaneous object creation code. ACPICA BZ 823.
4323 Reduced the severity of predefined repair messages, Warning to Info.