1 ----------------------------------------
2 23 August 2013. Summary of changes for version 20130823:
4 1) ACPICA kernel-resident subsystem:
6 Implemented support for host-installed System Control Interrupt (SCI)
7 handlers. Certain ACPI functionality requires the host to handle raw
8 SCIs. For example, the "SCI Doorbell" that is defined for memory power
9 state support requires the host device driver to handle SCIs to examine
10 if the doorbell has been activated. Multiple SCI handlers can be
11 installed to allow for future expansion. New external interfaces are
12 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
13 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
15 Operation region support: Never locally free the handler "context"
16 pointer. This change removes some dangerous code that attempts to free
17 the handler context pointer in some (rare) circumstances. The owner of
18 the handler owns this pointer and the ACPICA code should never touch it.
19 Although not seen to be an issue in any kernel, it did show up as a
20 problem (fault) under AcpiExec. Also, set the internal storage field for
21 the context pointer to zero when the region is deactivated, simply for
22 sanity. David Box. ACPICA BZ 1039.
24 AcpiRead: On error, do not modify the return value target location. If an
25 error happens in the middle of a split 32/32 64-bit I/O operation, do not
26 modify the target of the return value pointer. Makes the code consistent
27 with the rest of ACPICA. Bjorn Helgaas.
29 Example Code and Data Size: These are the sizes for the OS-independent
30 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
31 debug version of the code includes the debug output trace mechanism and
32 has a much larger code and data size.
35 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
36 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
38 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
39 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
42 2) iASL Compiler/Disassembler and Tools:
44 AcpiDump: Implemented several new features and fixed some problems:
45 1) Added support to dump the RSDP, RSDT, and XSDT tables.
46 2) Added support for multiple table instances (SSDT, UEFI).
47 3) Added option to dump "customized" (overridden) tables (-c).
48 4) Fixed a problem where some table filenames were improperly
50 5) Improved some error messages, removed some unnecessary messages.
52 iASL: Implemented additional support for disassembly of ACPI tables that
53 contain invocations of external control methods. The -fe<file> option
54 allows the import of a file that specifies the external methods along
55 with the required number of arguments for each -- allowing for the
56 correct disassembly of the table. This is a workaround for a limitation
57 of AML code where the disassembler often cannot determine the number of
58 arguments required for an external control method and generates incorrect
59 ASL code. See the iASL reference for details. ACPICA BZ 1030.
61 Debugger: Implemented a new command (paths) that displays the full
62 pathnames (namepaths) and object types of all objects in the namespace.
63 This is an alternative to the namespace command.
65 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
66 mechanism and any installed handlers.
68 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
69 This can occur if there are too many parent prefixes in a namepath (for
70 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
72 Application OSLs: Set the return value for the PCI read functions. These
73 functions simply return AE_OK, but should set the return value to zero
74 also. This change implements this. ACPICA BZ 1038.
76 Debugger: Prevent possible command line buffer overflow. Increase the
77 size of a couple of the debugger line buffers, and ensure that overflow
78 cannot happen. ACPICA BZ 1037.
80 iASL: Changed to abort immediately on serious errors during the parsing
81 phase. Due to the nature of ASL, there is no point in attempting to
82 compile these types of errors, and they typically end up causing a
83 cascade of hundreds of errors which obscure the original problem.
85 ----------------------------------------
86 25 July 2013. Summary of changes for version 20130725:
88 1) ACPICA kernel-resident subsystem:
90 Fixed a problem with the DerefOf operator where references to FieldUnits
91 and BufferFields incorrectly returned the parent object, not the actual
92 value of the object. After this change, a dereference of a FieldUnit
93 reference results in a read operation on the field to get the value, and
94 likewise, the appropriate BufferField value is extracted from the target
97 Fixed a problem where the _WAK method could cause a fault under these
98 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
99 method returned no value. The problem is rarely seen because most kernels
100 run ACPICA in slack mode.
102 For the DerefOf operator, a fatal error now results if an attempt is made
103 to dereference a reference (created by the Index operator) to a NULL
104 package element. Provides compatibility with other ACPI implementations,
105 and this behavior will be added to a future version of the ACPI
108 The ACPI Power Management Timer (defined in the FADT) is now optional.
109 This provides compatibility with other ACPI implementations and will
110 appear in the next version of the ACPI specification. If there is no PM
111 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
112 zero in the FADT indicates no PM timer.
114 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
115 allows the host to globally enable/disable all vendor strings, all
116 feature strings, or both. Intended to be primarily used for debugging
117 purposes only. Lv Zheng.
119 Expose the collected _OSI data to the host via a global variable. This
120 data tracks the highest level vendor ID that has been invoked by the BIOS
121 so that the host (and potentially ACPICA itself) can change behaviors
122 based upon the age of the BIOS.
124 Example Code and Data Size: These are the sizes for the OS-independent
125 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
126 debug version of the code includes the debug output trace mechanism and
127 has a much larger code and data size.
130 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
131 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
133 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
134 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
137 2) iASL Compiler/Disassembler and Tools:
139 iASL: Created the following enhancements for the -so option (create
141 1)Add offsets for the last nameseg in each namepath for every supported
143 2)Add support for Processor, Device, Thermal Zone, and Scope objects
144 3)Add the actual AML opcode for the parent object of every supported
146 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
148 Disassembler: Emit all unresolved external symbols in a single block.
149 These are external references to control methods that could not be
150 resolved, and thus, the disassembler had to make a guess at the number of
153 iASL: The argument to the -T option (create table template) is now
154 optional. If not specified, the default table is a DSDT, typically the
157 ----------------------------------------
158 26 June 2013. Summary of changes for version 20130626:
160 1) ACPICA kernel-resident subsystem:
162 Fixed an issue with runtime repair of the _CST object. Null or invalid
163 elements were not always removed properly. Lv Zheng.
165 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
166 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
167 the maximum number of GPEs is 1016. Use of multiple GPE block devices
168 makes the system-wide number of GPEs essentially unlimited.
170 Example Code and Data Size: These are the sizes for the OS-independent
171 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
172 debug version of the code includes the debug output trace mechanism and
173 has a much larger code and data size.
176 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
177 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
179 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
180 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
183 2) iASL Compiler/Disassembler and Tools:
185 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
186 hosts. Now supports Linux, FreeBSD, and Windows.
188 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
189 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
191 iASL/Preprocessor: Implemented full support for nested
192 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
194 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
195 max. The original purpose of this constraint was to limit the amount of
196 debug output. However, the string function in question (UtPrintString) is
197 now used for the disassembler also, where 256 bytes is insufficient.
198 Reported by RehabMan@GitHub.
200 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
201 tables. ACPICA BZ 999. Lv Zheng.
203 iASL: Fixed a couple of error exit issues that could result in a "Could
204 not delete <file>" message during ASL compilation.
206 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
207 the actual signatures for these tables are "FACP" and "APIC",
210 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
211 tables are allowed to have multiple instances.
213 ----------------------------------------
214 17 May 2013. Summary of changes for version 20130517:
216 1) ACPICA kernel-resident subsystem:
218 Fixed a regression introduced in version 20130328 for _INI methods. This
219 change fixes a problem introduced in 20130328 where _INI methods are no
220 longer executed properly because of a memory block that was not
221 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
222 <tomasz.nowicki@linaro.org>.
224 Fixed a possible problem with the new extended sleep registers in the
226 5.0 FADT. Do not use these registers (even if populated) unless the HW-
227 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
230 Implemented return value repair code for _CST predefined objects: Sort
232 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
234 Implemented a debug-only option to disable loading of SSDTs from the
235 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
236 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
237 acglobal.h - ACPICA BZ 1005. Lv Zheng.
239 Fixed some issues in the ACPICA initialization and termination code:
240 Tomasz Nowicki <tomasz.nowicki@linaro.org>
241 1) Clear events initialized flag upon event component termination. ACPICA
243 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
244 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
245 4) Clear debug buffer global on termination to prevent possible multiple
246 delete. ACPICA BZ 1010.
248 Standardized all switch() blocks across the entire source base. After
250 years, different formatting for switch() had crept in. This change makes
251 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
253 Split some files to enhance ACPICA modularity and configurability:
254 1) Split buffer dump routines into utilities/utbuffer.c
255 2) Split internal error message routines into utilities/uterror.c
256 3) Split table print utilities into tables/tbprint.c
257 4) Split iASL command-line option processing into asloptions.c
259 Makefile enhancements:
260 1) Support for all new files above.
261 2) Abort make on errors from any subcomponent. Chao Guan.
262 3) Add build support for Apple Mac OS X. Liang Qi.
264 Example Code and Data Size: These are the sizes for the OS-independent
265 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
266 debug version of the code includes the debug output trace mechanism and
267 has a much larger code and data size.
270 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
271 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
273 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
274 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
277 2) iASL Compiler/Disassembler and Tools:
279 New utility: Implemented an easily portable version of the acpidump
280 utility to extract ACPI tables from the system (or a file) in an ASCII
282 dump format. The top-level code implements the various command line
283 options, file I/O, and table dump routines. To port to a new host, only
284 three functions need to be implemented to get tables -- since this
285 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
286 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
287 1) The Windows version obtains the ACPI tables from the Registry.
288 2) The Linux version is under development.
289 3) Other hosts - If an OS-dependent module is submitted, it will be
290 distributed with ACPICA.
292 iASL: Fixed a regression for -D preprocessor option (define symbol). A
293 restructuring/change to the initialization sequence caused this option to
294 no longer work properly.
296 iASL: Implemented a mechanism to disable specific warnings and remarks.
297 Adds a new command line option, "-vw <messageid> as well as "#pragma
298 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
300 iASL: Fix for too-strict package object validation. The package object
301 validation for return values from the predefined names is a bit too
302 strict, it does not allow names references within the package (which will
303 be resolved at runtime.) These types of references cannot be validated at
304 compile time. This change ignores named references within package objects
305 for names that return or define static packages.
307 Debugger: Fixed the 80-character command line limitation for the History
308 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
310 iASL: Added control method and package support for the -so option
311 (generates AML offset table for BIOS support.)
313 iASL: issue a remark if a non-serialized method creates named objects. If
314 a thread blocks within the method for any reason, and another thread
315 enters the method, the method will fail because an attempt will be made
317 create the same (named) object twice. In this case, issue a remark that
318 the method should be marked serialized. NOTE: may become a warning later.
321 ----------------------------------------
322 18 April 2013. Summary of changes for version 20130418:
324 1) ACPICA kernel-resident subsystem:
326 Fixed a possible buffer overrun during some rare but specific field unit
327 read operations. This overrun can only happen if the DSDT version is 1 --
328 meaning that all AML integers are 32 bits -- and the field length is
329 between 33 and 55 bits long. During the read, an internal buffer object
331 created for the field unit because the field is larger than an integer
333 bits). However, in this case, the buffer will be incorrectly written
334 beyond the end because the buffer length is less than the internal
336 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
337 long, but a full 8 bytes will be written.
339 Updated the Embedded Controller "orphan" _REG method support. This refers
340 to _REG methods under the EC device that have no corresponding operation
341 region. This is allowed by the ACPI specification. This update removes a
342 dependency on the existence an ECDT table. It will execute an orphan _REG
343 method as long as the operation region handler for the EC is installed at
344 the EC device node and not the namespace root. Rui Zhang (original
345 update), Bob Moore (update/integrate).
347 Implemented run-time argument typechecking for all predefined ACPI names
348 (_STA, _BIF, etc.) This change performs object typechecking on all
349 incoming arguments for all predefined names executed via
350 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
351 passing correct object types as well as the correct number of arguments
352 (therefore identifying any issues immediately). Also, the ASL/namespace
353 definition of the predefined name is checked against the ACPI
354 specification for the proper argument count. Adds one new file,
357 Changed an exception code for the ASL UnLoad() operator. Changed the
358 exception code for the case where the input DdbHandle is invalid, from
359 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
361 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
362 global makefile. The use of this flag causes compiler errors on earlier
363 versions of GCC, so it has been removed for compatibility.
365 Miscellaneous cleanup:
366 1) Removed some unused/obsolete macros
367 2) Fixed a possible memory leak in the _OSI support
368 3) Removed an unused variable in the predefined name support
369 4) Windows OSL: remove obsolete reference to a memory list field
371 Example Code and Data Size: These are the sizes for the OS-independent
372 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
373 debug version of the code includes the debug output trace mechanism and
374 has a much larger code and data size.
377 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
378 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
380 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
381 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
384 2) iASL Compiler/Disassembler and Tools:
386 AcpiExec: Added installation of a handler for the SystemCMOS address
387 space. This prevents control method abort if a method accesses this
390 AcpiExec: Added support for multiple EC devices, and now install EC
391 operation region handler(s) at the actual EC device instead of the
392 namespace root. This reflects the typical behavior of host operating
395 AcpiExec: Updated to ensure that all operation region handlers are
396 installed before the _REG methods are executed. This prevents a _REG
397 method from aborting if it accesses an address space has no handler.
398 AcpiExec installs a handler for every possible address space.
400 Debugger: Enhanced the "handlers" command to display non-root handlers.
401 This change enhances the handlers command to display handlers associated
402 with individual devices throughout the namespace, in addition to the
403 currently supported display of handlers associated with the root
407 ASL Test Suite: Several test suite errors have been identified and
408 resolved, reducing the total error count during execution. Chao Guan.
410 ----------------------------------------
411 28 March 2013. Summary of changes for version 20130328:
413 1) ACPICA kernel-resident subsystem:
415 Fixed several possible race conditions with the internal object reference
416 counting mechanism. Some of the external ACPICA interfaces update object
417 reference counts without holding the interpreter or namespace lock. This
418 change adds a spinlock to protect reference count updates on the internal
419 ACPICA objects. Reported by and with assistance from Andriy Gapon
422 FADT support: Removed an extraneous warning for very large GPE register
423 sets. This change removes a size mismatch warning if the legacy length
424 field for a GPE register set is larger than the 64-bit GAS structure can
425 accommodate. GPE register sets can be larger than the 255-bit width
426 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
428 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
429 return from this interface. Handles a possible timeout case if
430 ACPI_WAIT_FOREVER is modified by the host to be a value less than
431 "forever". Jung-uk Kim.
433 Predefined name support: Add allowed/required argument type information
435 the master predefined info table. This change adds the infrastructure to
436 enable typechecking on incoming arguments for all predefined
437 methods/objects. It does not actually contain the code that will fully
438 utilize this information, this is still under development. Also condenses
439 some duplicate code for the predefined names into a new module,
442 Example Code and Data Size: These are the sizes for the OS-independent
443 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
444 debug version of the code includes the debug output trace mechanism and
445 has a much larger code and data size.
448 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
449 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
451 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
452 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
455 2) iASL Compiler/Disassembler and Tools:
457 iASL: Implemented a new option to simplify the development of ACPI-
459 BIOS code. Adds support for a new "offset table" output file. The -so
460 option will create a C table containing the AML table offsets of various
461 named objects in the namespace so that BIOS code can modify them easily
463 boot time. This can simplify BIOS runtime code by eliminating expensive
464 searches for "magic values", enhancing boot times and adding greater
465 reliability. With assistance from Lee Hamel.
467 iASL: Allow additional predefined names to return zero-length packages.
468 Now, all predefined names that are defined by the ACPI specification to
469 return a "variable-length package of packages" are allowed to return a
470 zero length top-level package. This allows the BIOS to tell the host that
471 the requested feature is not supported, and supports existing BIOS/ASL
474 iASL: Changed the "result not used" warning to an error. This is the case
475 where an ASL operator is effectively a NOOP because the result of the
476 operation is not stored anywhere. For example:
478 There is no target (missing 3rd argument), nor is the function return
479 value used. This is potentially a very serious problem -- since the code
480 was probably intended to do something, but for whatever reason, the value
481 was not stored. Therefore, this issue has been upgraded from a warning to
484 AcpiHelp: Added allowable/required argument types to the predefined names
485 info display. This feature utilizes the recent update to the predefined
488 ----------------------------------------
489 14 February 2013. Summary of changes for version 20130214:
491 1) ACPICA Kernel-resident Subsystem:
493 Fixed a possible regression on some hosts: Reinstated the safe return
494 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
495 evaluated only once. Although these macros are not needed for the ACPICA
496 code itself, they are often used by ACPI-related host device drivers
498 the safe feature may be necessary.
500 Fixed several issues related to the ACPI 5.0 reduced hardware support
501 (SOC): Now ensure that if the platform declares itself as hardware-
503 via the FADT, the following functions become NOOPs (and always return
504 AE_OK) because ACPI is always enabled by definition on these machines:
510 Dynamic Object Repair: Implemented additional runtime repairs for
511 predefined name return values. Both of these repairs can simplify code in
512 the related device drivers that invoke these methods:
513 1) For the _STR and _MLS names, automatically repair/convert an ASCII
514 string to a Unicode buffer.
515 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
517 lone end tag descriptor in the following cases: A Return(0) was executed,
518 a null buffer was returned, or no object at all was returned (non-slack
519 mode only). Adds a new file, nsconvert.c
520 ACPICA BZ 998. Bob Moore, Lv Zheng.
522 Resource Manager: Added additional code to prevent possible infinite
524 while traversing corrupted or ill-formed resource template buffers. Check
525 for zero-length resource descriptors in all code that loops through
526 resource templates (the length field is used to index through the
527 template). This change also hardens the external AcpiWalkResources and
528 AcpiWalkResourceBuffer interfaces.
530 Local Cache Manager: Enhanced the main data structure to eliminate an
531 unnecessary mechanism to access the next object in the list. Actually
532 provides a small performance enhancement for hosts that use the local
533 ACPICA cache manager. Jung-uk Kim.
535 Example Code and Data Size: These are the sizes for the OS-independent
536 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
537 debug version of the code includes the debug output trace mechanism and
538 has a much larger code and data size.
541 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
542 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
544 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
545 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
548 2) iASL Compiler/Disassembler and Tools:
550 iASL/Disassembler: Fixed several issues with the definition of the ACPI
551 5.0 RASF table (RAS Feature Table). This change incorporates late changes
552 that were made to the ACPI 5.0 specification.
554 iASL/Disassembler: Added full support for the following new ACPI tables:
555 1) The MTMR table (MID Timer Table)
556 2) The VRTC table (Virtual Real Time Clock Table).
557 Includes header file, disassembler, table compiler, and template support
560 iASL: Implemented compile-time validation of package objects returned by
561 predefined names. This new feature validates static package objects
562 returned by the various predefined names defined to return packages. Both
563 object types and package lengths are validated, for both parent packages
564 and sub-packages, if any. The code is similar in structure and behavior
566 the runtime repair mechanism within the AML interpreter and uses the
567 existing predefined name information table. Adds a new file, aslprepkg.c.
570 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
571 This feature detects a binary file with a valid ACPI table header and
572 invokes the disassembler automatically. Eliminates the need to
573 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
575 iASL/Disassembler: Added several warnings for the case where there are
576 unresolved control methods during the disassembly. This can potentially
577 cause errors when the output file is compiled, because the disassembler
578 assumes zero method arguments in these cases (it cannot determine the
579 actual number of arguments without resolution/definition of the method).
581 Debugger: Added support to display all resources with a single command.
582 Invocation of the resources command with no arguments will now display
584 resources within the current namespace.
586 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
589 ----------------------------------------
590 17 January 2013. Summary of changes for version 20130117:
592 1) ACPICA Kernel-resident Subsystem:
594 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
595 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
596 objects to return a package containing one integer, most BIOS code
598 two integers and the previous code reflects that. However, we also need
600 support BIOS code that actually implements to the ACPI spec, and this
601 change reflects this.
603 Fixed two issues with the ACPI_DEBUG_PRINT macros:
604 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
605 C compilers that require this support.
606 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
607 ACPI_DEBUG is already used by many of the various hosts.
609 Updated all ACPICA copyrights and signons to 2013. Added the 2013
610 copyright to all module headers and signons, including the standard Linux
611 header. This affects virtually every file in the ACPICA core subsystem,
612 iASL compiler, all ACPICA utilities, and the test suites.
614 Example Code and Data Size: These are the sizes for the OS-independent
615 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
616 debug version of the code includes the debug output trace mechanism and
617 has a much larger code and data size.
620 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
621 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
623 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
624 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
627 2) iASL Compiler/Disassembler and Tools:
629 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
630 prevent a possible fault on some hosts. Some C libraries modify the arg
631 pointer parameter to vfprintf making it difficult to call it twice in the
632 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
633 does not affect the Windows OSL since the Win C library does not modify
634 the arg pointer. Chao Guan, Bob Moore.
636 iASL: Fixed a possible infinite loop when the maximum error count is
637 reached. If an output file other than the .AML file is specified (such as
638 a listing file), and the maximum number of errors is reached, do not
639 attempt to flush data to the output file(s) as the compiler is aborting.
640 This can cause an infinite loop as the max error count code essentially
641 keeps calling itself.
643 iASL/Disassembler: Added an option (-in) to ignore NOOP
645 Implemented for both the compiler and the disassembler. Often, the NOOP
646 opcode is used as padding for packages that are changed dynamically by
648 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
649 errors. This option causes the disassembler to ignore all NOOP opcodes
650 (0xA3), and it also causes the compiler to ignore all ASL source code
654 Debugger: Enhanced the Sleep command to execute all sleep states. This
655 change allows Sleep to be invoked with no arguments and causes the
656 debugger to execute all of the sleep states, 0-5, automatically.
658 ----------------------------------------
659 20 December 2012. Summary of changes for version 20121220:
661 1) ACPICA Kernel-resident Subsystem:
663 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
664 alternate entry point for AcpiWalkResources and improves the usability of
665 the resource manager by accepting as input a buffer containing the output
666 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
667 input buffer is not deleted by this interface so that it can be used by
668 the host later. See the ACPICA reference for details.
670 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
671 (DSDT version < 2). The constant will be truncated and this warning
672 reflects that behavior.
674 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
675 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
676 both get and set the new wake bit in these descriptors, separately from
677 the existing share bit. Reported by Aaron Lu.
679 Interpreter: Fix Store() when an implicit conversion is not possible. For
680 example, in the cases such as a store of a string to an existing package
681 object, implement the store as a CopyObject(). This is a small departure
682 from the ACPI specification which states that the control method should
684 aborted in this case. However, the ASLTS suite depends on this behavior.
686 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
687 macros: check if debug output is currently enabled as soon as possible to
688 minimize performance impact if debug is in fact not enabled.
690 Source code restructuring: Cleanup to improve modularity. The following
691 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
692 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
693 Associated makefiles and project files have been updated.
695 Changed an exception code for LoadTable operator. For the case where one
696 of the input strings is too long, change the returned exception code from
697 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
699 Fixed a possible memory leak in dispatcher error path. On error, delete
700 the mutex object created during method mutex creation. Reported by
701 tim.gardner@canonical.com.
703 Example Code and Data Size: These are the sizes for the OS-independent
704 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
705 debug version of the code includes the debug output trace mechanism and
706 has a much larger code and data size.
709 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
710 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
712 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
713 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
716 2) iASL Compiler/Disassembler and Tools:
718 iASL: Disallow a method call as argument to the ObjectType ASL operator.
719 This change tracks an errata to the ACPI 5.0 document. The AML grammar
720 will not allow the interpreter to differentiate between a method and a
721 method invocation when these are used as an argument to the ObjectType
722 operator. The ACPI specification change is to disallow a method
724 (UserTerm) for the ObjectType operator.
726 Finish support for the TPM2 and CSRT tables in the headers, table
727 compiler, and disassembler.
729 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
730 always expires immediately if the semaphore is not available. The
732 code was using a relative-time timeout, but sem_timedwait requires the
736 iASL: Added a remark if the Timer() operator is used within a 32-bit
737 table. This operator returns a 64-bit time value that will be truncated
738 within a 32-bit table.
740 iASL Source code restructuring: Cleanup to improve modularity. The
741 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
742 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
746 ----------------------------------------
747 14 November 2012. Summary of changes for version 20121114:
749 1) ACPICA Kernel-resident Subsystem:
751 Implemented a performance enhancement for ACPI/AML Package objects. This
752 change greatly increases the performance of Package objects within the
753 interpreter. It changes the processing of reference counts for packages
755 optimizing for the most common case where the package sub-objects are
756 either Integers, Strings, or Buffers. Increases the overall performance
758 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
760 Chao Guan. ACPICA BZ 943.
762 Implemented and deployed common macros to extract flag bits from resource
763 descriptors. Improves readability and maintainability of the code. Fixes
765 problem with the UART serial bus descriptor for the number of data bits
766 flags (was incorrectly 2 bits, should be 3).
768 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
769 of the macros and changed the SETx macros to the style of (destination,
770 source). Also added ACPI_CASTx companion macros. Lv Zheng.
772 Example Code and Data Size: These are the sizes for the OS-independent
773 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
774 debug version of the code includes the debug output trace mechanism and
775 has a much larger code and data size.
778 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
779 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
781 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
782 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
785 2) iASL Compiler/Disassembler and Tools:
787 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
788 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
789 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
791 Disassembler: Fixed a problem with external declaration generation. Fixes
792 a problem where an incorrect pathname could be generated for an external
793 declaration if the original reference to the object includes leading
794 carats (^). ACPICA BZ 984.
796 Debugger: Completed a major update for the Disassemble<method> command.
797 This command was out-of-date and did not properly disassemble control
798 methods that had any reasonable complexity. This fix brings the command
800 to the same level as the rest of the disassembler. Adds one new file,
801 dmdeferred.c, which is existing code that is now common with the main
802 disassembler and the debugger disassemble command. ACPICA MZ 978.
804 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
805 Newer versions of Bison emit this prototype, so moved the prototype out
807 the iASL header to where it is actually used in order to avoid a
811 iASL/Tools: Standardized use of the stream I/O functions:
812 1) Ensure check for I/O error after every fopen/fread/fwrite
813 2) Ensure proper order of size/count arguments for fread/fwrite
814 3) Use test of (Actual != Requested) after all fwrite, and most fread
815 4) Standardize I/O error messages
816 Improves reliability and maintainability of the code. Bob Moore, Lv
820 Disassembler: Prevent duplicate External() statements. During generation
821 of external statements, detect similar pathnames that are actually
822 duplicates such as these:
825 Remove all leading '\' characters from pathnames during the external
826 statement generation so that duplicates will be detected and tossed.
829 Tools: Replace low-level I/O with stream I/O functions. Replace
830 open/read/write/close with the stream I/O equivalents
831 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
834 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
835 name header so that AcpiXtract recognizes the output file/table.
837 iASL: Remove obsolete -2 option flag. Originally intended to force the
838 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
839 and the entire concept is now obsolete.
841 ----------------------------------------
842 18 October 2012. Summary of changes for version 20121018:
845 1) ACPICA Kernel-resident Subsystem:
847 Updated support for the ACPI 5.0 MPST table. Fixes some problems
848 introduced by late changes to the table as it was added to the ACPI 5.0
849 specification. Includes header, disassembler, and data table compiler
850 support as well as a new version of the MPST template.
852 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
853 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
854 methods: _HID, _CID, and _UID.
856 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
857 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
858 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
859 names for their various drivers. Affects the AcpiGetObjectInfo external
860 interface, and other internal interfaces as well.
862 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
863 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
864 on machines that support non-aligned transfers. Optimizes for this case
865 rather than using a strncpy. With assistance from Zheng Lv.
867 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
868 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
870 Added a new debug print message for AML mutex objects that are force-
871 released. At control method termination, any currently acquired mutex
872 objects are force-released. Adds a new debug-only message for each one
875 Audited/updated all ACPICA return macros and the function debug depth
876 counter: 1) Ensure that all functions that use the various TRACE macros
877 also use the appropriate ACPICA return macros. 2) Ensure that all normal
878 return statements surround the return expression (value) with parens to
879 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
880 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
882 Global source code changes/maintenance: All extra lines at the start and
883 end of each source file have been removed for consistency. Also, within
884 comments, all new sentences start with a single space instead of a double
885 space, again for consistency across the code base.
887 Example Code and Data Size: These are the sizes for the OS-independent
888 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
889 debug version of the code includes the debug output trace mechanism and
890 has a much larger code and data size.
893 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
894 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
896 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
897 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
900 2) iASL Compiler/Disassembler and Tools:
902 AcpiExec: Improved the algorithm used for memory leak/corruption
903 detection. Added some intelligence to the code that maintains the global
904 list of allocated memory. The list is now ordered by allocated memory
905 address, significantly improving performance. When running AcpiExec on
906 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
907 on the platform and/or the environment. Note, this performance
908 enhancement affects the AcpiExec utility only, not the kernel-resident
911 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
912 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
913 incorrect table offset reported for invalid opcodes. Report the original
914 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
916 Disassembler: Enhanced the -vt option to emit the binary table data in
917 hex format to assist with debugging.
919 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
920 size of file structure. Colin Ian King.
922 ----------------------------------------
923 13 September 2012. Summary of changes for version 20120913:
926 1) ACPICA Kernel-resident Subsystem:
928 ACPI 5.0: Added two new notify types for the Hardware Error Notification
929 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
933 Table Manager: Merged/removed duplicate code in the root table resize
934 functions. One function is external, the other is internal. Lv Zheng,
938 Makefiles: Completely removed the obsolete "Linux" makefiles under
939 acpica/generate/linux. These makefiles are obsolete and have been
942 the generic unix makefiles under acpica/generate/unix.
944 Makefiles: Ensure that binary files always copied properly. Minor rule
946 to ensure that the final binary output files are always copied up to the
947 appropriate binary directory (bin32 or bin64.)
949 Example Code and Data Size: These are the sizes for the OS-independent
950 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
952 version of the code includes the debug output trace mechanism and has a
954 larger code and data size.
957 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
958 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
960 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
961 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
964 2) iASL Compiler/Disassembler and Tools:
966 Disassembler: Fixed a possible fault during the disassembly of resource
967 descriptors when a second parse is required because of the invocation of
968 external control methods within the table. With assistance from
969 adq@lidskialf.net. ACPICA BZ 976.
971 iASL: Fixed a namepath optimization problem. An error can occur if the
973 node that contains the namepath to be optimized does not have a parent
975 that is a named object. This change fixes the problem.
977 iASL: Fixed a regression where the AML file is not deleted on errors. The
979 output file should be deleted if there are any errors during the
982 only exception is if the -f (force output) option is used. ACPICA BZ 974.
984 iASL: Added a feature to automatically increase internal line buffer
986 Via realloc(), automatically increase the internal line buffer sizes as
987 necessary to support very long source code lines. The current version of
989 preprocessor requires a buffer long enough to contain full source code
991 This change increases the line buffer(s) if the input lines go beyond the
992 current buffer size. This eliminates errors that occurred when a source
994 line was longer than the buffer.
996 iASL: Fixed a problem with constant folding in method declarations. The
997 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
999 Type3 opcode was used.
1001 Debugger: Improved command help support. For incorrect argument count,
1003 full help for the command. For help command itself, allow an argument to
1006 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
1007 errors during execution of the suite. Guan Chao.
1009 ----------------------------------------
1010 16 August 2012. Summary of changes for version 20120816:
1013 1) ACPICA Kernel-resident Subsystem:
1015 Removed all use of the deprecated _GTS and _BFS predefined methods. The
1017 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
1018 deprecated and will probably be removed from the ACPI specification.
1020 does not invoke them, and reportedly never will. The final nail in the
1022 is that the ACPI specification states that these methods must be run with
1023 interrupts off, which is not going to happen in a kernel interpreter.
1025 Linux has removed all use of the methods also. It was discovered that
1026 invoking these functions caused failures on some machines, probably
1028 they were never tested since Windows does not call them. Affects two
1030 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
1033 Implemented support for complex bit-packed buffers returned from the _PLD
1034 (Physical Location of Device) predefined method. Adds a new external
1035 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
1037 structure. Note: C Bitfields cannot be used for this type of predefined
1038 structure since the memory layout of individual bitfields is not defined
1040 the C language. In addition, there are endian concerns where a compiler
1042 change the bitfield ordering based on the machine type. The new ACPICA
1043 interface eliminates these issues, and should be called after _PLD is
1044 executed. ACPICA BZ 954.
1046 Implemented a change to allow a scope change to root (via "Scope (\)")
1048 execution of module-level ASL code (code that is executed at table load
1051 Added the Windows8/Server2012 string for the _OSI method. This change
1054 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
1057 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
1059 and CSRT (Core System Resource Table).
1061 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
1062 names. This simplifies access to the buffers returned by these predefined
1063 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
1065 GPE support: Removed an extraneous parameter from the various low-level
1066 internal GPE functions. Tang Feng.
1068 Removed the linux makefiles from the unix packages. The generate/linux
1069 makefiles are obsolete and have been removed from the unix tarball
1071 packages. The replacement makefiles are under generate/unix, and there is
1073 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
1075 Updates for Unix makefiles:
1076 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
1077 2) Update linker flags (move to end of command line) for AcpiExec
1081 Split ACPICA initialization functions to new file, utxfinit.c. Split from
1082 utxface.c to improve modularity and reduce file size.
1084 Example Code and Data Size: These are the sizes for the OS-independent
1085 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1086 debug version of the code includes the debug output trace mechanism and
1088 much larger code and data size.
1091 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1092 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1094 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
1095 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
1098 2) iASL Compiler/Disassembler and Tools:
1100 iASL: Fixed a problem with constant folding for fixed-length constant
1101 expressions. The constant-folding code was not being invoked for constant
1102 expressions that allow the use of type 3/4/5 opcodes to generate
1104 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
1106 in the generation of invalid AML bytecode. ACPICA BZ 970.
1108 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
1109 apparently automatically emit some of the necessary externals. This
1111 handles these versions in order to eliminate generation warnings.
1113 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
1115 Disassembler: Add support to decode _PLD buffers. The decoded buffer
1117 within comments in the output file.
1119 Debugger: Fixed a regression with the "Threads" command where
1120 AE_BAD_PARAMETER was always returned.
1122 ----------------------------------------
1123 11 July 2012. Summary of changes for version 20120711:
1125 1) ACPICA Kernel-resident Subsystem:
1127 Fixed a possible fault in the return package object repair code. Fixes a
1128 problem that can occur when a lone package object is wrapped with an
1130 package object in order to force conformance to the ACPI specification.
1132 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
1136 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
1137 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
1138 ARB_DIS bit must be implemented in the host-dependent C3 processor power
1140 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
1142 Intel and other vendors. (for Intel: ICH4-M and earlier)
1144 This change removes the code to disable/enable bus master arbitration
1146 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
1148 resume problems on some machines. The change has been in use for over
1152 Implemented two new external interfaces to support host-directed dynamic
1154 table load and unload. They are intended to simplify the host
1156 of hot-plug support:
1157 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
1158 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
1160 See the ACPICA reference for additional details. Adds one new file,
1161 components/tables/tbxfload.c
1163 Implemented and deployed two new interfaces for errors and warnings that
1165 known to be caused by BIOS/firmware issues:
1166 AcpiBiosError: Prints "ACPI Firmware Error" message.
1167 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
1168 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
1170 and FADT errors. Additional deployment to be completed as appropriate in
1172 future. The associated conditional macros are ACPI_BIOS_ERROR and
1173 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
1178 Implicit notify support: ensure that no memory allocation occurs within a
1179 critical region. This fix moves a memory allocation outside of the time
1181 spinlock is held. Fixes issues on systems that do not allow this
1185 Split exception code utilities and tables into a new file,
1188 Example Code and Data Size: These are the sizes for the OS-independent
1189 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1191 version of the code includes the debug output trace mechanism and has a
1193 larger code and data size.
1196 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1197 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1199 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
1200 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
1203 2) iASL Compiler/Disassembler and Tools:
1205 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
1209 Debugger: Enhanced the "tables" command to emit additional information
1211 the current set of ACPI tables, including the owner ID and flags decode.
1213 Debugger: Reimplemented the "unload" command to use the new
1214 AcpiUnloadParentTable external interface. This command was disable
1216 due to need for an unload interface.
1218 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
1220 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
1222 ----------------------------------------
1223 20 June 2012. Summary of changes for version 20120620:
1226 1) ACPICA Kernel-resident Subsystem:
1228 Implemented support to expand the "implicit notify" feature to allow
1230 devices to be notified by a single GPE. This feature automatically
1232 runtime device notification in the absence of a BIOS-provided GPE control
1233 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
1235 provided by ACPICA for Windows compatibility, and is a workaround for
1238 code errors. See the description of the AcpiSetupGpeForWake interface in
1240 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
1242 Changed some comments and internal function names to simplify and ensure
1243 correctness of the Linux code translation. No functional changes.
1245 Example Code and Data Size: These are the sizes for the OS-independent
1246 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1248 version of the code includes the debug output trace mechanism and has a
1250 larger code and data size.
1253 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
1254 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
1256 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
1257 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
1260 2) iASL Compiler/Disassembler and Tools:
1262 Disassembler: Added support to emit short, commented descriptions for the
1264 predefined names in order to improve the readability of the disassembled
1265 output. ACPICA BZ 959. Changes include:
1266 1) Emit descriptions for all standard predefined names (_INI, _STA,
1269 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
1270 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
1273 AcpiSrc: Fixed several long-standing Linux code translation issues.
1275 descriptions in function headers are now translated properly to lower
1278 underscores. ACPICA BZ 961. Also fixes translation problems such as
1284 local_fADT -> local_FADT
1285 execute_oSI -> execute_OSI
1287 iASL: Fixed a problem where null bytes were inadvertently emitted into
1291 iASL: Added the existing debug options to the standard help screen. There
1293 no longer two different help screens. ACPICA BZ 957.
1295 AcpiHelp: Fixed some typos in the various predefined name descriptions.
1297 expand some of the descriptions where appropriate.
1299 iASL: Fixed the -ot option (display compile times/statistics). Was not
1301 properly for standard output; only worked for the debug file case.
1303 ----------------------------------------
1304 18 May 2012. Summary of changes for version 20120518:
1307 1) ACPICA Core Subsystem:
1309 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
1311 to block until asynchronous events such as notifies and GPEs have
1313 Within ACPICA, it is only called before a notify or GPE handler is
1314 removed/uninstalled. It also may be useful for the host OS within related
1315 drivers such as the Embedded Controller driver. See the ACPICA reference
1317 additional information. ACPICA BZ 868.
1319 ACPI Tables: Added a new error message for a possible overflow failure
1321 the conversion of FADT 32-bit legacy register addresses to internal
1324 bit GAS structure representation. The GAS has a one-byte "bit length"
1326 thus limiting the register length to 255 bits. ACPICA BZ 953.
1328 Example Code and Data Size: These are the sizes for the OS-independent
1329 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1331 version of the code includes the debug output trace mechanism and has a
1333 larger code and data size.
1336 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1337 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
1339 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
1340 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
1343 2) iASL Compiler/Disassembler and Tools:
1345 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
1347 This keyword was added late in the ACPI 5.0 release cycle and was not
1348 implemented until now.
1350 Disassembler: Added support for Operation Region externals. Adds missing
1351 support for operation regions that are defined in another table, and
1352 referenced locally via a Field or BankField ASL operator. Now generates
1354 correct External statement.
1356 Disassembler: Several additional fixes for the External() statement
1358 related to some ASL operators. Also, order the External() statements
1359 alphabetically in the disassembler output. Fixes the External()
1362 the Create* field, Alias, and Scope operators:
1363 1) Create* buffer field operators - fix type mismatch warning on
1365 2) Alias - implement missing External support
1366 3) Scope - fix to make sure all necessary externals are emitted.
1368 iASL: Improved pathname support. For include files, merge the prefix
1370 with the file pathname and eliminate unnecessary components. Convert
1371 backslashes in all pathnames to forward slashes, for readability. Include
1373 pathname changes affect both #include and Include() type operators.
1375 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
1377 of a valid line by inserting a newline and then returning the EOF during
1379 next call to GetNextLine. Prevents the line from being ignored due to EOF
1382 iASL: Implemented some changes to enhance the IDE support (-vi option.)
1384 and Warning messages are now correctly recognized for both the source
1386 browser and the global error and warning counts.
1388 ----------------------------------------
1389 20 April 2012. Summary of changes for version 20120420:
1392 1) ACPICA Core Subsystem:
1394 Implemented support for multiple notify handlers. This change adds
1397 allow multiple system and device notify handlers on Device, Thermal Zone,
1399 Processor objects. This can simplify the host OS notification
1401 Also re-worked and restructured the entire notify support code to
1403 handler installation, handler removal, notify event queuing, and notify
1404 dispatch to handler(s). Note: there can still only be two global notify
1405 handlers - one for system notifies and one for device notifies. There are
1407 changes to the existing handler install/remove interfaces. Lin Ming, Bob
1408 Moore, Rafael Wysocki.
1410 Fixed a regression in the package repair code where the object reference
1411 count was calculated incorrectly. Regression was introduced in the commit
1412 "Support to add Package wrappers".
1414 Fixed a couple possible memory leaks in the AML parser, in the error
1416 path. Jesper Juhl, Lin Ming.
1418 Example Code and Data Size: These are the sizes for the OS-independent
1419 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1420 debug version of the code includes the debug output trace mechanism and
1422 much larger code and data size.
1425 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1426 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1428 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1429 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
1432 2) iASL Compiler/Disassembler and Tools:
1434 iASL: Fixed a problem with the resource descriptor support where the
1436 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
1437 included in cumulative descriptor offset, resulting in incorrect values
1439 resource tags within resource descriptors appearing after a
1441 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
1443 iASL and Preprocessor: Implemented full support for the #line directive
1445 correctly track original source file line numbers through the .i
1447 output file - for error and warning messages.
1449 iASL: Expand the allowable byte constants for address space IDs.
1451 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
1452 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
1454 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
1456 iASL: Add option to completely disable the preprocessor (-Pn).
1458 iASL: Now emit all error/warning messages to standard error (stderr) by
1459 default (instead of the previous stdout).
1461 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
1463 for resource descriptor offset fix above. Update/cleanup error output
1464 routines. Enable and send iASL errors/warnings to an error logfile
1465 (error.txt). Send all other iASL output to a logfile (compiler.txt).
1467 several extraneous "unrecognized operator" messages.
1469 ----------------------------------------
1470 20 March 2012. Summary of changes for version 20120320:
1473 1) ACPICA Core Subsystem:
1475 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
1476 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
1478 does not execute these methods, and therefore these methods are often
1479 untested. It has been seen on some systems where the execution of these
1480 methods causes errors and also prevents the machine from entering S5. It
1482 therefore suggested that host operating systems do not execute these
1484 by default. In the future, perhaps these methods can be optionally
1486 based on the age of the system and/or what is the newest version of
1488 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
1490 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
1493 Fixed a problem where the length of the local/common FADT was set too
1495 The local FADT table length cannot be set to the common length until the
1496 original length has been examined. There is code that checks the table
1498 and sets various fields appropriately. This can affect older machines
1500 early FADT versions. For example, this can cause inadvertent writes to
1502 CST_CNT register. Julian Anastasov.
1504 Fixed a mapping issue related to a physical table override. Use the
1506 mapping mechanism for tables loaded via the physical override OSL
1508 This allows for early mapping before the virtual memory manager is
1510 Thomas Renninger, Bob Moore.
1512 Enhanced the automatic return-object repair code: Repair a common problem
1514 predefined methods that are defined to return a variable-length Package
1516 sub-objects. If there is only one sub-object, some BIOS ASL code
1518 simply returns the single object instead of a Package with one sub-
1520 This new support will repair this error by wrapping a Package object
1522 the original object, creating the correct and expected Package with one
1524 object. Names that can be repaired in this manner include: _ALR, _CSD,
1526 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
1529 Changed the exception code returned for invalid ACPI paths passed as
1530 parameters to external interfaces such as AcpiEvaluateObject. Was
1531 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
1533 Example Code and Data Size: These are the sizes for the OS-independent
1534 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1536 version of the code includes the debug output trace mechanism and has a
1538 larger code and data size.
1541 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
1542 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1544 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
1545 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1548 2) iASL Compiler/Disassembler and Tools:
1550 iASL: Added the infrastructure and initial implementation of a integrated
1552 like preprocessor. This will simplify BIOS development process by
1554 the need for a separate preprocessing step during builds. On Windows, it
1556 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
1557 features including full #define() macro support are still under
1559 These preprocessor directives are supported:
1572 In addition, these new command line options are supported:
1573 -D <symbol> Define symbol for preprocessor use
1574 -li Create preprocessed output file (*.i)
1575 -P Preprocess only and create preprocessor output file (*.i)
1577 Table Compiler: Fixed a problem where the equals operator within an
1579 did not work properly.
1581 Updated iASL to use the current versions of Bison/Flex. Updated the
1583 project file to invoke these tools from the standard location. ACPICA BZ
1586 Flex for Windows: V2.5.4
1587 Bison for Windows: V2.4.1
1589 ----------------------------------------
1590 15 February 2012. Summary of changes for version 20120215:
1593 1) ACPICA Core Subsystem:
1595 There have been some major changes to the sleep/wake support code, as
1596 described below (a - e).
1598 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
1599 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
1600 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
1602 time the _BFS method is called and the _WAK method is called. NOTE: all
1604 must update their wake/resume code or else sleep/wake will not work
1608 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
1610 method. Some machines require that the GPEs are enabled before the _WAK
1612 is executed. Thomas Renninger.
1614 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
1616 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
1618 determine whether the system is rebooting or resuming. Matthew Garrett.
1620 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
1622 match the ACPI specification requirement. Rafael Wysocki.
1624 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
1625 registers within the V5 FADT. This support adds two new files:
1626 hardware/hwesleep.c implements the support for the new registers. Moved
1628 sleep/wake external interfaces to hardware/hwxfsleep.c.
1631 Added a new OSL interface for ACPI table overrides,
1632 AcpiOsPhysicalTableOverride. This interface allows the host to override a
1633 table via a physical address, instead of the logical address required by
1634 AcpiOsTableOverride. This simplifies the host implementation. Initial
1635 implementation by Thomas Renninger. The ACPICA implementation creates a
1637 shared function for table overrides that attempts both a logical and a
1640 Expanded the OSL memory read/write interfaces to 64-bit data
1641 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
1642 transfer support for GAS register structures passed to AcpiRead and
1645 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
1647 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
1649 See the ACPICA reference for details. ACPICA BZ 942. This option removes
1651 10% of the code and 5% of the static data, and the following hardware
1653 features become unavailable:
1654 PM Event and Control registers
1655 SCI interrupt (and handler)
1657 General Purpose Events (GPEs)
1660 FACS table (Waking vectors and Global Lock)
1662 Updated the unix tarball directory structure to match the ACPICA git
1664 tree. This ensures that the generic unix makefiles work properly (in
1665 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
1668 Updated the return value of the _REV predefined method to integer value 5
1670 reflect ACPI 5.0 support.
1672 Moved the external ACPI PM timer interface prototypes to the public
1674 file where they belong.
1676 Example Code and Data Size: These are the sizes for the OS-independent
1677 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1679 version of the code includes the debug output trace mechanism and has a
1681 larger code and data size.
1684 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
1685 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
1687 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
1688 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1691 2) iASL Compiler/Disassembler and Tools:
1693 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
1694 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
1695 incorrectly displayed.
1697 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
1700 ----------------------------------------
1701 11 January 2012. Summary of changes for version 20120111:
1704 1) ACPICA Core Subsystem:
1706 Implemented a new mechanism to allow host device drivers to check for
1708 range conflicts with ACPI Operation Regions. Both SystemMemory and
1710 address spaces are supported. A new external interface,
1711 AcpiCheckAddressRange,
1712 allows drivers to check an address range against the ACPI namespace. See
1714 ACPICA reference for additional details. Adds one new file,
1715 utilities/utaddress.c. Lin Ming, Bob Moore.
1717 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
1720 Status registers, update the ACPI 5.0 flags, and update internal data
1721 structures to handle an FADT larger than 256 bytes. The size of the ACPI
1725 Updated all ACPICA copyrights and signons to 2012. Added the 2012
1727 all module headers and signons, including the standard Linux header. This
1728 affects virtually every file in the ACPICA core subsystem, iASL compiler,
1730 all ACPICA utilities.
1732 Example Code and Data Size: These are the sizes for the OS-independent
1733 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1735 version of the code includes the debug output trace mechanism and has a
1737 larger code and data size.
1740 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
1741 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
1743 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
1744 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
1747 2) iASL Compiler/Disassembler and Tools:
1749 Disassembler: fixed a problem with the automatic resource tag generation
1750 support. Fixes a problem where the resource tags are inadvertently not
1751 constructed if the table being disassembled contains external references
1753 control methods. Moved the actual construction of the tags to after the
1755 namespace is constructed (after 2nd parse is invoked due to external
1757 method references.) ACPICA BZ 941.
1759 Table Compiler: Make all "generic" operators caseless. These are the
1761 like UINT8, String, etc. Making these caseless improves ease-of-use.
1765 ----------------------------------------
1766 23 November 2011. Summary of changes for version 20111123:
1768 0) ACPI 5.0 Support:
1770 This release contains full support for the ACPI 5.0 specification, as
1773 Reduced Hardware Support:
1774 -------------------------
1776 This support allows for ACPI systems without the usual ACPI hardware.
1778 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
1780 not attempt to initialize or use any of the usual ACPI hardware. Note,
1782 this flag is set, all of the following ACPI hardware is assumed to be not
1783 present and is not initialized or accessed:
1785 General Purpose Events (GPEs)
1786 Fixed Events (PM1a/PM1b and PM Control)
1787 Power Management Timer and Console Buttons (power/sleep)
1788 Real-time Clock Alarm
1790 System Control Interrupt (SCI)
1791 The FACS is assumed to be non-existent
1796 All new tables and updates to existing tables are fully supported in the
1797 ACPICA headers (for use by device drivers), the disassembler, and the
1799 Data Table Compiler. ACPI 5.0 defines these new tables:
1801 BGRT /* Boot Graphics Resource Table */
1802 DRTM /* Dynamic Root of Trust for Measurement table */
1803 FPDT /* Firmware Performance Data Table */
1804 GTDT /* Generic Timer Description Table */
1805 MPST /* Memory Power State Table */
1806 PCCT /* Platform Communications Channel Table */
1807 PMTT /* Platform Memory Topology Table */
1808 RASF /* RAS Feature table */
1810 Operation Regions/SpaceIDs:
1811 ---------------------------
1813 All new operation regions are fully supported by the iASL compiler, the
1814 disassembler, and the ACPICA runtime code (for dispatch to region
1816 The new operation region Space IDs are:
1821 Resource Descriptors:
1822 ---------------------
1824 All new ASL resource descriptors are fully supported by the iASL
1827 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
1829 all new predefined resource tags). New descriptors are:
1838 ASL/AML Operators, New and Modified:
1839 ------------------------------------
1841 One new operator is added, the Connection operator, which is used to
1843 a GeneralPurposeIo or GenericSerialBus resource descriptor with
1845 field objects within an operation region. Several new protocols are
1847 with the AccessAs operator. All are fully supported by the iASL compiler,
1848 disassembler, and runtime ACPICA AML interpreter:
1850 Connection // Declare Field Connection
1852 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
1853 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
1855 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1856 RawDataBuffer // Data type for Vendor Data
1859 Predefined ASL/AML Objects:
1860 ---------------------------
1862 All new predefined objects/control-methods are supported by the iASL
1864 and the ACPICA runtime validation/repair (arguments and return values.)
1866 predefined names include the following:
1868 Standard Predefined Names (Objects or Control Methods):
1869 _AEI, _CLS, _CPC, _CWS, _DEP,
1870 _DLM, _EVT, _GCP, _CRT, _GWS,
1871 _HRV, _PRE, _PSE, _SRT, _SUB.
1873 Resource Tags (Names used to access individual fields within resource
1875 _DBT, _DPL, _DRS, _END, _FLC,
1876 _IOR, _LIN, _MOD, _PAR, _PHA,
1877 _PIN, _PPI, _POL, _RXL, _SLV,
1878 _SPE, _STB, _TXL, _VEN.
1880 ACPICA External Interfaces:
1881 ---------------------------
1883 Several new interfaces have been defined for use by ACPI-related device
1884 drivers and other host OS services:
1886 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
1888 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
1889 provided by the BIOS. They are intended to be used in conjunction with
1891 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
1892 mutual exclusion with the AML code/interpreter.
1894 AcpiGetEventResources: Returns the (formatted) resource descriptors as
1896 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
1898 resource descriptors associated with hardware-reduced platform events,
1900 to the AcpiGetCurrentResources interface.
1902 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
1903 operation regions, information about the Connection() object and any
1905 length information is passed to the region handler within the Context
1908 AcpiBufferToResource: This interface converts a raw AML buffer containing
1910 resource template or resource descriptor to the ACPI_RESOURCE internal
1912 suitable for use by device drivers. Can be used by an operation region
1914 to convert the Connection() buffer object into a ACPI_RESOURCE.
1916 Miscellaneous/Tools/TestSuites:
1917 -------------------------------
1919 Support for extended _HID names (Four alpha characters instead of three).
1920 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1921 Support for ACPI 5.0 features in the ASLTS test suite.
1922 Fully updated documentation (ACPICA and iASL reference documents.)
1924 ACPI Table Definition Language:
1925 -------------------------------
1927 Support for this language was implemented and released as a subsystem of
1929 iASL compiler in 2010. (See the iASL compiler User Guide.)
1932 Non-ACPI 5.0 changes for this release:
1933 --------------------------------------
1935 1) ACPICA Core Subsystem:
1937 Fix a problem with operation region declarations where a failure can
1940 the region name and an argument that evaluates to an object (such as the
1941 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
1944 Do not abort an ACPI table load if an invalid space ID is found within.
1946 will be caught later if the offending method is executed. ACPICA BZ 925.
1948 Fixed an issue with the FFixedHW space ID where the ID was not always
1949 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1951 Fixed a problem with the 32-bit generation of the unix-specific OSL
1952 (osunixxf.c). Lin Ming, ACPICA BZ 936.
1954 Several changes made to enable generation with the GCC 4.6 compiler.
1958 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
1960 field registers out-of-range.
1962 2) iASL Compiler/Disassembler and Tools:
1964 iASL: Implemented the __PATH__ operator, which returns the full pathname
1966 the current source file.
1968 AcpiHelp: Automatically display expanded keyword information for all ASL
1971 Debugger: Add "Template" command to disassemble/dump resource template
1974 Added a new master script to generate and execute the ASLTS test suite.
1975 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1977 iASL: Fix problem with listing generation during processing of the
1979 operator where AML listing was disabled until the entire Switch block was
1982 iASL: Improve support for semicolon statement terminators. Fix "invalid
1983 character" message for some cases when the semicolon is used. Semicolons
1985 now allowed after every <Term> grammar element. ACPICA BZ 927.
1987 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
1990 Disassembler: Fix problem with disassembly of the DataTableRegion
1992 where an inadvertent "Unhandled deferred opcode" message could be
1995 3) Example Code and Data Size
1997 These are the sizes for the OS-independent acpica.lib produced by the
1998 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
1999 includes the debug output trace mechanism and has a much larger code and
2004 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2005 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2007 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
2008 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
2010 ----------------------------------------
2011 22 September 2011. Summary of changes for version 20110922:
2015 Support for ACPI 5.0 in ACPICA has been underway for several months and
2017 be released at the same time that ACPI 5.0 is officially released.
2019 The ACPI 5.0 specification is on track for release in the next few
2022 1) ACPICA Core Subsystem:
2024 Fixed a problem where the maximum sleep time for the Sleep() operator was
2025 intended to be limited to two seconds, but was inadvertently limited to
2029 Linux and Unix makefiles: Added header file dependencies to ensure
2031 generation of ACPICA core code and utilities. Also simplified the
2033 considerably through the use of the vpath variable to specify search
2037 2) iASL Compiler/Disassembler and Tools:
2039 iASL: Implemented support to check the access length for all fields
2041 access named Resource Descriptor fields. For example, if a resource field
2043 defined to be two bits, a warning is issued if a CreateXxxxField() is
2045 with an incorrect bit length. This is implemented for all current
2047 descriptor names. ACPICA BZ 930.
2049 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
2053 iASL: Fixed a couple of issues associated with variable-length package
2054 objects. 1) properly handle constants like One, Ones, Zero -- do not make
2056 VAR_PACKAGE when these are used as a package length. 2) Allow the
2058 opcode (in addition to PACKAGE) when validating object types for
2062 iASL: Emit statistics for all output files (instead of just the ASL input
2064 AML output). Includes listings, hex files, etc.
2066 iASL: Added -G option to the table compiler to allow the compilation of
2068 ACPI tables. The only part of a table that is required is the standard
2073 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
2075 which also adds correct 64-bit support. Also, now all output filenames
2077 completely lower case.
2079 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
2080 loading table files. A warning is issued for any such tables. The only
2081 exception is an FADT. This also fixes a possible fault when attempting to
2083 non-AML tables. ACPICA BZ 932.
2085 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
2087 missing table terminator could cause a fault when using the -p option.
2089 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
2092 3) Example Code and Data Size
2094 These are the sizes for the OS-independent acpica.lib produced by the
2095 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
2096 includes the debug output trace mechanism and has a much larger code and
2100 Previous Release (VC 9.0):
2101 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2102 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2103 Current Release (VC 9.0):
2104 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2105 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2108 ----------------------------------------
2109 23 June 2011. Summary of changes for version 20110623:
2111 1) ACPI CA Core Subsystem:
2113 Updated the predefined name repair mechanism to not attempt repair of a
2115 return object if a _PSS object is present. We can only sort the _TSS
2117 package if there is no _PSS within the same scope. This is because if
2120 present, the ACPI specification dictates that the _TSS Power Dissipation
2122 is to be ignored, and therefore some BIOSs leave garbage values in the
2124 Power field(s). In this case, it is best to just return the _TSS package
2126 is. Reported by, and fixed with assistance from Fenghua Yu.
2128 Added an option to globally disable the control method return value
2130 and repair. This runtime option can be used to disable return value
2133 this is causing a problem on a particular machine. Also added an option
2135 AcpiExec (-dr) to set this disable flag.
2137 All makefiles and project files: Major changes to improve generation of
2139 tools. ACPICA BZ 912:
2140 Reduce default optimization levels to improve compatibility
2141 For Linux, add strict-aliasing=0 for gcc 4
2142 Cleanup and simplify use of command line defines
2143 Cleanup multithread library support
2144 Improve usage messages
2146 Linux-specific header: update handling of THREAD_ID and pthread. For the
2148 bit case, improve casting to eliminate possible warnings, especially with
2152 Example Code and Data Size: These are the sizes for the OS-independent
2153 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2155 version of the code includes the debug output trace mechanism and has a
2157 larger code and data size.
2159 Previous Release (VC 9.0):
2160 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2161 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2162 Current Release (VC 9.0):
2163 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
2164 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2166 2) iASL Compiler/Disassembler and Tools:
2168 With this release, a new utility named "acpihelp" has been added to the
2170 package. This utility summarizes the ACPI specification chapters for the
2172 and AML languages. It generates under Linux/Unix as well as Windows, and
2173 provides the following functionality:
2174 Find/display ASL operator(s) -- with description and syntax.
2175 Find/display ASL keyword(s) -- with exact spelling and descriptions.
2176 Find/display ACPI predefined name(s) -- with description, number
2177 of arguments, and the return value data type.
2178 Find/display AML opcode name(s) -- with opcode, arguments, and
2180 Decode/display AML opcode -- with opcode name, arguments, and
2183 Service Layers: Make multi-thread support configurable. Conditionally
2185 the multi-thread support so that threading libraries will not be linked
2188 necessary. The only tool that requires multi-thread support is AcpiExec.
2190 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
2192 Bison appear to want the interface to yyerror to be a const char * (or at
2193 least this is a problem when generating iASL on some systems.) ACPICA BZ
2197 Tools: Fix for systems where O_BINARY is not defined. Only used for
2199 versions of the tools.
2201 ----------------------------------------
2202 27 May 2011. Summary of changes for version 20110527:
2204 1) ACPI CA Core Subsystem:
2206 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
2208 signature. Now, only allow SSDT, OEMx, and a null signature. History:
2209 1) Originally, we checked the table signature for "SSDT" or "PSDT".
2210 (PSDT is now obsolete.)
2211 2) We added support for OEMx tables, signature "OEM" plus a fourth
2212 "don't care" character.
2213 3) Valid tables were encountered with a null signature, so we just
2214 gave up on validating the signature, (05/2008).
2215 4) We encountered non-AML tables such as the MADT, which caused
2216 interpreter errors and kernel faults. So now, we once again allow
2217 only SSDT, OEMx, and now, also a null signature. (05/2011).
2219 Added the missing _TDL predefined name to the global name list in order
2221 enable validation. Affects both the core ACPICA code and the iASL
2224 Example Code and Data Size: These are the sizes for the OS-independent
2225 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2227 version of the code includes the debug output trace mechanism and has a
2229 larger code and data size.
2231 Previous Release (VC 9.0):
2232 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
2233 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
2234 Current Release (VC 9.0):
2235 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
2236 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
2238 2) iASL Compiler/Disassembler and Tools:
2240 Debugger/AcpiExec: Implemented support for "complex" method arguments on
2242 debugger command line. This adds support beyond simple integers --
2244 Strings, Buffers, and Packages. Includes support for nested packages.
2245 Increased the default command line buffer size to accommodate these
2247 See the ACPICA reference for details and syntax. ACPICA BZ 917.
2249 Debugger/AcpiExec: Implemented support for "default" method arguments for
2251 Execute/Debug command. Now, the debugger will always invoke a control
2253 with the required number of arguments -- even if the command line
2255 none or insufficient arguments. It uses default integer values for any
2257 arguments. Also fixes a bug where only six method arguments maximum were
2258 supported instead of the required seven.
2260 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
2262 also return status in order to prevent buffer overruns. See the ACPICA
2263 reference for details and syntax. ACPICA BZ 921
2265 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
2266 makefiles to simplify support for the two different but similar parser
2267 generators, bison and yacc.
2269 Updated the generic unix makefile for gcc 4. The default gcc version is
2271 expected to be 4 or greater, since options specific to gcc 4 are used.
2273 ----------------------------------------
2274 13 April 2011. Summary of changes for version 20110413:
2276 1) ACPI CA Core Subsystem:
2278 Implemented support to execute a so-called "orphan" _REG method under the
2280 device. This change will force the execution of a _REG method underneath
2283 device even if there is no corresponding operation region of type
2284 EmbeddedControl. Fixes a problem seen on some machines and apparently is
2285 compatible with Windows behavior. ACPICA BZ 875.
2287 Added more predefined methods that are eligible for automatic NULL
2289 element removal. This change adds another group of predefined names to
2292 of names that can be repaired by having NULL package elements dynamically
2293 removed. This group are those methods that return a single variable-
2295 package containing simple data types such as integers, buffers, strings.
2297 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
2300 and _TZD. ACPICA BZ 914.
2302 Split and segregated all internal global lock functions to a new file,
2305 Updated internal address SpaceID for DataTable regions. Moved this
2308 id in preparation for ACPI 5.0 changes that will include some new space
2311 change should not affect user/host code.
2313 Example Code and Data Size: These are the sizes for the OS-independent
2315 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2317 the code includes the debug output trace mechanism and has a much larger
2322 Previous Release (VC 9.0):
2323 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
2324 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
2325 Current Release (VC 9.0):
2326 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
2327 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
2329 2) iASL Compiler/Disassembler and Tools:
2331 iASL/DTC: Major update for new grammar features. Allow generic data types
2333 custom ACPI tables. Field names are now optional. Any line can be split
2335 multiple lines using the continuation char (\). Large buffers now use
2337 continuation character(s) and no colon on the continuation lines. See the
2339 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
2342 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
2344 Since the parser stuffs a "zero" as the return value for these statements
2347 the underlying AML grammar), they were seen as "return with value" by the
2349 semantic checking. They are now seen correctly as "null" return
2352 iASL: Check if a_REG declaration has a corresponding Operation Region.
2354 check for each _REG to ensure that there is in fact a corresponding
2356 region declaration in the same scope. If not, the _REG method is not very
2358 since it probably won't be executed. ACPICA BZ 915.
2360 iASL/DTC: Finish support for expression evaluation. Added a new
2363 that implements c-style operator precedence and parenthesization. ACPICA
2367 Disassembler/DTC: Remove support for () and <> style comments in data
2370 that DTC has full expression support, we don't want to have comment
2373 start with a parentheses or a less-than symbol. Now, only the standard /*
2376 comments are supported, as well as the bracket [] comments.
2378 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
2380 headers in the acpidump file. Update the header validation to support
2382 tables. Problem introduced in previous AcpiXtract version in the change
2384 support "wrong checksum" error messages emitted by acpidump utility.
2386 iASL: Add a * option to generate all template files (as a synonym for
2390 "iasl -T *" or "iasl -T ALL".
2392 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
2394 abort the compiler on "fatal" errors, simply should abort the current
2396 This allows multiple compiles with a single (possibly wildcard) compiler
2399 ----------------------------------------
2400 16 March 2011. Summary of changes for version 20110316:
2402 1) ACPI CA Core Subsystem:
2404 Fixed a problem caused by a _PRW method appearing at the namespace root
2406 during the setup of wake GPEs. A fault could occur if a _PRW directly
2409 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
2411 Implemented support for "spurious" Global Lock interrupts. On some
2413 global lock interrupt can occur without the pending flag being set. Upon
2416 interrupt, we now ensure that a thread is actually waiting for the lock
2418 signaling GL availability. Rafael Wysocki, Bob Moore.
2420 Example Code and Data Size: These are the sizes for the OS-independent
2422 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
2424 the code includes the debug output trace mechanism and has a much larger
2429 Previous Release (VC 9.0):
2430 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2431 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2432 Current Release (VC 9.0):
2433 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
2434 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
2436 2) iASL Compiler/Disassembler and Tools:
2438 Implemented full support for the "SLIC" ACPI table. Includes support in
2440 header files, disassembler, table compiler, and template generator. Bob
2444 AcpiXtract: Correctly handle embedded comments and messages from
2446 Apparently some or all versions of acpidump will occasionally emit a
2449 "Wrong checksum", etc., into the dump file. This was causing problems for
2450 AcpiXtract. ACPICA BZ 905.
2452 iASL: Fix the Linux makefile by removing an inadvertent double file
2456 AcpiExec: Update installation of operation region handlers. Install one
2458 for a user-defined address space. This is used by the ASL test suite
2461 ----------------------------------------
2462 11 February 2011. Summary of changes for version 20110211:
2464 1) ACPI CA Core Subsystem:
2466 Added a mechanism to defer _REG methods for some early-installed
2468 Most user handlers should be installed before call to
2469 AcpiEnableSubsystem.
2470 However, Event handlers and region handlers should be installed after
2471 AcpiInitializeObjects. Override handlers for the "default" regions should
2473 installed early, however. This change executes all _REG methods for the
2474 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
2475 chicken/egg issues between them. ACPICA BZ 848.
2477 Implemented an optimization for GPE detection. This optimization will
2479 ignore GPE registers that contain no enabled GPEs -- there is no need to
2480 read the register since this information is available internally. This
2481 becomes more important on machines with a large GPE space. ACPICA
2483 884. Lin Ming. Suggestion from Joe Liu.
2485 Removed all use of the highly unreliable FADT revision field. The
2487 number in the FADT has been found to be completely unreliable and cannot
2489 trusted. Only the actual table length can be used to infer the version.
2491 change updates the ACPICA core and the disassembler so that both no
2493 even look at the FADT version and instead depend solely upon the FADT
2496 Fix an unresolved name issue for the no-debug and no-error-message source
2497 generation cases. The _AcpiModuleName was left undefined in these cases,
2499 it is actually needed as a parameter to some interfaces. Define
2500 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
2502 Split several large files (makefiles and project files updated)
2503 utglobal.c -> utdecode.c
2504 dbcomds.c -> dbmethod.c dbnames.c
2505 dsopcode.c -> dsargs.c dscontrol.c
2506 dsload.c -> dsload2.c
2507 aslanalyze.c -> aslbtypes.c aslwalks.c
2509 Example Code and Data Size: These are the sizes for the OS-independent
2510 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2511 debug version of the code includes the debug output trace mechanism and
2513 a much larger code and data size.
2515 Previous Release (VC 9.0):
2516 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2517 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2518 Current Release (VC 9.0):
2519 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2520 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2522 2) iASL Compiler/Disassembler and Tools:
2524 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
2525 These are useful C-style macros with the standard definitions. ACPICA
2528 iASL/DTC: Added support for integer expressions and labels. Support for
2530 expressions for all integer fields in all ACPI tables. Support for labels
2532 "generic" portions of tables such as UEFI. See the iASL reference manual.
2534 Debugger: Added a command to display the status of global handlers. The
2535 "handlers" command will display op region, fixed event, and miscellaneous
2536 global handlers. installation status -- and for op regions, whether
2538 or user-installed handler will be used.
2540 iASL: Warn if reserved method incorrectly returns a value. Many
2542 names are defined such that they do not return a value. If implemented as
2544 method, issue a warning if such a name explicitly returns a value. ACPICA
2547 iASL: Added detection of GPE method name conflicts. Detects a conflict
2549 there are two GPE methods of the form _Lxy and _Exy in the same scope.
2551 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
2553 iASL/DTC: Fixed a couple input scanner issues with comments and line
2554 numbers. Comment remover could get confused and miss a comment ending.
2556 a problem with line counter maintenance.
2558 iASL/DTC: Reduced the severity of some errors from fatal to error. There
2560 no need to abort on simple errors within a field definition.
2562 Debugger: Simplified the output of the help command. All help output now
2564 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
2566 ----------------------------------------
2567 12 January 2011. Summary of changes for version 20110112:
2569 1) ACPI CA Core Subsystem:
2571 Fixed a race condition between method execution and namespace walks that
2573 possibly cause a fault. The problem was apparently introduced in version
2574 20100528 as a result of a performance optimization that reduces the
2577 namespace walks upon method exit by using the delete_namespace_subtree
2578 function instead of the delete_namespace_by_owner function used
2580 Bug is a missing namespace lock in the delete_namespace_subtree function.
2581 dana.myers@oracle.com
2583 Fixed several issues and a possible fault with the automatic "serialized"
2584 method support. History: This support changes a method to "serialized" on
2586 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
2587 possibility that it cannot handle reentrancy. This fix repairs a couple
2589 issues seen in the field, especially on machines with many cores:
2591 1) Delete method children only upon the exit of the last thread,
2592 so as to not delete objects out from under other running threads
2593 (and possibly causing a fault.)
2594 2) Set the "serialized" bit for the method only upon the exit of the
2595 Last thread, so as to not cause deadlock when running threads
2597 3) Cleanup the use of the AML "MethodFlags" and internal method flags
2598 so that there is no longer any confusion between the two.
2600 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
2602 Debugger: Now lock the namespace for duration of a namespace dump.
2604 issues if the namespace is changing dynamically underneath the debugger.
2605 Especially affects temporary namespace nodes, since the debugger displays
2608 Updated the ordering of include files. The ACPICA headers should appear
2609 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
2611 any necessary compiler-specific defines, etc. Affects the ACPI-related
2615 Updated all ACPICA copyrights and signons to 2011. Added the 2011
2617 to all module headers and signons, including the Linux header. This
2619 virtually every file in the ACPICA core subsystem, iASL compiler, and all
2622 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
2623 project files for VC++ 6.0 are now obsolete. New project files can be
2625 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
2628 Example Code and Data Size: These are the sizes for the OS-independent
2629 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2630 debug version of the code includes the debug output trace mechanism and
2632 much larger code and data size.
2634 Previous Release (VC 6.0):
2635 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
2636 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
2637 Current Release (VC 9.0):
2638 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
2639 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
2641 2) iASL Compiler/Disassembler and Tools:
2643 iASL: Added generic data types to the Data Table compiler. Add "generic"
2645 types such as UINT32, String, Unicode, etc., to simplify the generation
2647 platform-defined tables such as UEFI. Lin Ming.
2649 iASL: Added listing support for the Data Table Compiler. Adds listing
2651 (-l) to display actual binary output for each line of input code.
2653 ----------------------------------------
2654 09 December 2010. Summary of changes for version 20101209:
2656 1) ACPI CA Core Subsystem:
2658 Completed the major overhaul of the GPE support code that was begun in
2660 2010. Major features include: removal of _PRW execution in ACPICA (host
2661 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
2662 changes to existing interfaces, simplification of GPE handler operation,
2664 a handful of new interfaces:
2670 One new file, evxfgpe.c to consolidate all external GPE interfaces.
2672 See the ACPICA Programmer Reference for full details and programming
2673 information. See the new section 4.4 "General Purpose Event (GPE)
2675 for a full overview, and section 8.7 "ACPI General Purpose Event
2677 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
2679 Bob Moore, Rafael Wysocki.
2681 Implemented a new GPE feature for Windows compatibility, the "Implicit
2683 GPE Notify". This feature will automatically issue a Notify(2) on a
2685 when a Wake GPE is received if there is no corresponding GPE method or
2686 handler. ACPICA BZ 870.
2688 Fixed a problem with the Scope() operator during table parse and load
2690 During load phase (table load or method execution), the scope operator
2692 not enter the target into the namespace. Instead, it should open a new
2694 at the target location. Linux BZ 19462, ACPICA BZ 882.
2696 Example Code and Data Size: These are the sizes for the OS-independent
2697 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2698 debug version of the code includes the debug output trace mechanism and
2700 much larger code and data size.
2703 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
2704 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
2706 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2707 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2709 2) iASL Compiler/Disassembler and Tools:
2711 iASL: Relax the alphanumeric restriction on _CID strings. These strings
2713 "bus-specific" per the ACPI specification, and therefore any characters
2715 acceptable. The only checks that can be performed are for a null string
2717 perhaps for a leading asterisk. ACPICA BZ 886.
2719 iASL: Fixed a problem where a syntax error that caused a premature EOF
2720 condition on the source file emitted a very confusing error message. The
2721 premature EOF is now detected correctly. ACPICA BZ 891.
2723 Disassembler: Decode the AccessSize within a Generic Address Structure
2725 access, word access, etc.) Note, this field does not allow arbitrary bit
2726 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2728 New: AcpiNames utility - Example namespace dump utility. Shows an example
2730 ACPICA configuration for a minimal namespace dump utility. Uses table and
2731 namespace managers, but no AML interpreter. Does not add any
2733 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
2734 partition and configure ACPICA. ACPICA BZ 883.
2736 AML Debugger: Increased the debugger buffer size for method return
2738 Was 4K, increased to 16K. Also enhanced error messages for debugger
2740 execution, including the buffer overflow case.
2742 ----------------------------------------
2743 13 October 2010. Summary of changes for version 20101013:
2745 1) ACPI CA Core Subsystem:
2747 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
2749 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
2750 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2752 Changed the type of the predefined namespace object _TZ from ThermalZone
2754 Device. This was found to be confusing to the host software that
2756 the various thermal zones, since _TZ is not really a ThermalZone.
2759 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
2762 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
2763 string is "Windows 2006 SP2".
2765 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
2767 code automatically repairs _HID-related strings, this type of code is no
2768 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
2771 Example Code and Data Size: These are the sizes for the OS-independent
2772 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2773 debug version of the code includes the debug output trace mechanism and
2775 much larger code and data size.
2778 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2779 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2781 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2782 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2784 2) iASL Compiler/Disassembler and Tools:
2786 iASL: Implemented additional compile-time validation for _HID strings.
2788 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
2791 the string must be exactly seven or eight characters. For both _HID and
2793 strings, all characters must be alphanumeric. ACPICA BZ 874.
2795 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
2796 descriptors that are mostly or all zeros, with the expectation that they
2798 be filled in at runtime. iASL now allows this as long as there is a
2800 tag" (name) associated with the descriptor, which gives the ASL a handle
2801 needed to modify the descriptor. ACPICA BZ 873.
2803 Added single-thread support to the generic Unix application OSL.
2805 for iASL support, this change removes the use of semaphores in the
2807 threaded ACPICA tools/applications - increasing performance. The
2808 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
2809 option. ACPICA BZ 879.
2811 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
2813 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2815 iASL: Moved all compiler messages to a new file, aslmessages.h.
2817 ----------------------------------------
2818 15 September 2010. Summary of changes for version 20100915:
2820 1) ACPI CA Core Subsystem:
2822 Removed the AcpiOsDerivePciId OSL interface. The various host
2824 of this function were not OS-dependent and are now obsolete and can be
2825 removed from all host OSLs. This function has been replaced by
2826 AcpiHwDerivePciId, which is now part of the ACPICA core code.
2827 AcpiHwDerivePciId has been implemented without recursion. Adds one new
2828 module, hwpci.c. ACPICA BZ 857.
2830 Implemented a dynamic repair for _HID and _CID strings. The following
2831 problems are now repaired at runtime: 1) Remove a leading asterisk in the
2832 string, and 2) the entire string is uppercased. Both repairs are in
2833 accordance with the ACPI specification and will simplify host driver
2837 The ACPI_THREAD_ID type is no longer configurable, internally it is now
2838 always UINT64. This simplifies the ACPICA code, especially any printf
2840 UINT64 is the only common data type for all thread_id types across all
2841 operating systems. It is now up to the host OSL to cast the native
2843 type to UINT64 before returning the value to ACPICA (via
2845 Lin Ming, Bob Moore.
2847 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
2849 keyword is not standard across compilers, and this type allows inline to
2851 configured on a per-compiler basis. Lin Ming.
2853 Made the system global AcpiGbl_SystemAwakeAndRunning publically
2855 Added an extern for this boolean in acpixf.h. Some hosts utilize this
2857 during suspend/restore operations. ACPICA BZ 869.
2859 All code that implements error/warning messages with the "ACPI:" prefix
2861 been moved to a new module, utxferror.c.
2863 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
2865 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
2867 Example Code and Data Size: These are the sizes for the OS-independent
2868 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2869 debug version of the code includes the debug output trace mechanism and
2871 much larger code and data size.
2874 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
2875 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
2877 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2878 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2880 2) iASL Compiler/Disassembler and Tools:
2882 iASL/Disassembler: Write ACPI errors to stderr instead of the output
2884 This keeps the output files free of random error messages that may
2886 from within the namespace/interpreter code. Used this opportunity to
2888 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
2889 866. Lin Ming, Bob Moore.
2891 Tools: update some printfs for ansi warnings on size_t. Handle width
2893 of size_t on 32-bit versus 64-bit generations. Lin Ming.
2895 ----------------------------------------
2896 06 August 2010. Summary of changes for version 20100806:
2898 1) ACPI CA Core Subsystem:
2900 Designed and implemented a new host interface to the _OSI support code.
2902 will allow the host to dynamically add or remove multiple _OSI strings,
2904 well as install an optional handler that is called for each _OSI
2906 Also added a new AML debugger command, 'osi' to display and modify the
2908 _OSI string table, and test support in the AcpiExec utility. See the
2910 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2912 AcpiInstallInterface - Add an _OSI string.
2913 AcpiRemoveInterface - Delete an _OSI string.
2914 AcpiInstallInterfaceHandler - Install optional _OSI handler.
2916 AcpiOsValidateInterface - no longer used.
2918 source/components/utilities/utosi.c
2920 Re-introduced the support to enable multi-byte transfers for Embedded
2921 Controller (EC) operation regions. A reported problem was found to be a
2923 in the host OS, not in the multi-byte support. Previously, the maximum
2925 size passed to the EC operation region handler was a single byte. There
2927 often EC Fields larger than one byte that need to be transferred, and it
2929 useful for the EC driver to lock these as a single transaction. This
2931 enables single transfers larger than 8 bits. This effectively changes the
2932 access to the EC space from ByteAcc to AnyAcc, and will probably require
2933 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2935 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2937 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
2938 prototype in acpiosxf.h had the output value pointer as a (void *).
2939 It should be a (UINT64 *). This may affect some host OSL code.
2941 Fixed a couple problems with the recently modified Linux makefiles for
2943 and AcpiExec. These new makefiles place the generated object files in the
2944 local directory so that there can be no collisions between the files that
2946 shared between them that are compiled with different options.
2948 Example Code and Data Size: These are the sizes for the OS-independent
2949 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2950 debug version of the code includes the debug output trace mechanism and
2952 much larger code and data size.
2955 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
2956 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
2958 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
2959 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
2961 2) iASL Compiler/Disassembler and Tools:
2963 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
2965 namespace from and disassemble an entire group of AML files. Useful for
2966 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
2968 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2970 iASL: Allow multiple invocations of -e option. This change allows
2972 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
2976 ----------------------------------------
2977 02 July 2010. Summary of changes for version 20100702:
2979 1) ACPI CA Core Subsystem:
2981 Implemented several updates to the recently added GPE reference count
2982 support. The model for "wake" GPEs is changing to give the host OS
2984 control of these GPEs. Eventually, the ACPICA core will not execute any
2986 methods, since the host already must execute them. Also, additional
2988 were made to help ensure that the reference counts are kept in proper
2989 synchronization with reality. Rafael J. Wysocki.
2991 1) Ensure that GPEs are not enabled twice during initialization.
2992 2) Ensure that GPE enable masks stay in sync with the reference count.
2993 3) Do not inadvertently enable GPEs when writing GPE registers.
2994 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
2995 interface. This interface will set or clear individual GPEs for wakeup.
2996 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
2998 are now used for "runtime" GPEs only.
3000 Changed the behavior of the GPE install/remove handler interfaces. The
3003 no longer disabled during this process, as it was found to cause problems
3005 some machines. Rafael J. Wysocki.
3007 Reverted a change introduced in version 20100528 to enable Embedded
3008 Controller multi-byte transfers. This change was found to cause problems
3010 Index Fields and possibly Bank Fields. It will be reintroduced when these
3011 problems have been resolved.
3013 Fixed a problem with references to Alias objects within Package Objects.
3015 reference to an Alias within the definition of a Package was not always
3016 resolved properly. Aliases to objects like Processors, Thermal zones,
3018 were resolved to the actual object instead of a reference to the object
3021 should be. Package objects are only allowed to contain integer, string,
3022 buffer, package, and reference objects. Redhat bugzilla 608648.
3024 Example Code and Data Size: These are the sizes for the OS-independent
3025 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3026 debug version of the code includes the debug output trace mechanism and
3028 much larger code and data size.
3031 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3032 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3034 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3035 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
3037 2) iASL Compiler/Disassembler and Tools:
3039 iASL: Implemented a new compiler subsystem to allow definition and
3040 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
3042 are called "ACPI Data Tables", and the new compiler is the "Data Table
3043 Compiler". This compiler is intended to simplify the existing error-prone
3044 process of creating these tables for the BIOS, as well as allowing the
3045 disassembly, modification, recompilation, and override of existing ACPI
3047 tables. See the iASL User Guide for detailed information.
3049 iASL: Implemented a new Template Generator option in support of the new
3051 Table Compiler. This option will create examples of all known ACPI tables
3052 that can be used as the basis for table development. See the iASL
3053 documentation and the -T option.
3055 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
3058 Updated the Linux makefiles for iASL and AcpiExec to place the generated
3059 object files in the local directory so that there can be no collisions
3060 between the shared files between them that are generated with different
3063 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
3065 the #define __APPLE__ to enable this support.
3067 ----------------------------------------
3068 28 May 2010. Summary of changes for version 20100528:
3070 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
3071 available at www.acpi.info. This is primarily an errata release.
3073 1) ACPI CA Core Subsystem:
3075 Undefined ACPI tables: We are looking for the definitions for the
3077 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
3079 Implemented support to enable multi-byte transfers for Embedded
3081 (EC) operation regions. Previously, the maximum data size passed to the
3083 operation region handler was a single byte. There are often EC Fields
3085 than one byte that need to be transferred, and it is useful for the EC
3087 to lock these as a single transaction. This change enables single
3089 larger than 8 bits. This effectively changes the access to the EC space
3091 ByteAcc to AnyAcc, and will probably require changes to the host OS
3093 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
3095 transfers. Alexey Starikovskiy, Lin Ming
3097 Implemented a performance enhancement for namespace search and access.
3099 change enhances the performance of namespace searches and walks by adding
3101 backpointer to the parent in each namespace node. On large namespaces,
3103 change can improve overall ACPI performance by up to 9X. Adding a pointer
3105 each namespace node increases the overall size of the internal namespace
3107 about 5%, since each namespace entry usually consists of both a namespace
3108 node and an ACPI operand object. However, this is the first growth of the
3109 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
3111 Implemented a performance optimization that reduces the number of
3113 walks. On control method exit, only walk the namespace if the method is
3115 to have created namespace objects outside of its local scope. Previously,
3117 entire namespace was traversed on each control method exit. This change
3119 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
3122 Added support to truncate I/O addresses to 16 bits for Windows
3124 Some ASL code has been seen in the field that inadvertently has bits set
3125 above bit 15. This feature is optional and is enabled if the BIOS
3127 any Windows OSI strings. It can also be enabled by the host OS. Matthew
3130 Added support to limit the maximum time for the ASL Sleep() operator. To
3131 prevent accidental deep sleeps, limit the maximum time that Sleep() will
3132 actually sleep. Configurable, the default maximum is two seconds. ACPICA
3135 Added run-time validation support for the _WDG and_WED Microsoft
3137 methods. These objects are defined by "Windows Instrumentation", and are
3139 part of the ACPI spec. ACPICA BZ 860.
3141 Expanded all statistic counters used during namespace and device
3142 initialization from 16 to 32 bits in order to support very large
3145 Replaced all instances of %d in printf format specifiers with %u since
3147 all integers in ACPICA are unsigned.
3149 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
3153 Example Code and Data Size: These are the sizes for the OS-independent
3154 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3155 debug version of the code includes the debug output trace mechanism and
3157 much larger code and data size.
3160 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3161 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3163 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
3164 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
3166 2) iASL Compiler/Disassembler and Tools:
3168 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
3169 methods. These objects are defined by "Windows Instrumentation", and are
3171 part of the ACPI spec. ACPICA BZ 860.
3173 AcpiExec: added option to disable the memory tracking mechanism. The -dt
3174 option will disable the tracking mechanism, which improves performance
3177 AcpiExec: Restructured the command line options into -d (disable) and -e
3180 ----------------------------------------
3181 28 April 2010. Summary of changes for version 20100428:
3183 1) ACPI CA Core Subsystem:
3185 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
3186 including FADT-based and GPE Block Devices, execute any _PRW methods in
3188 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
3189 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
3190 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
3191 Devices. Provides compatibility with other ACPI implementations. Two new
3192 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
3195 Fixed a regression introduced in version 20100331 within the table
3197 where initial table loading could fail. This was introduced in the fix
3199 AcpiReallocateRootTable. Also, renamed some of fields in the table
3201 data structures to clarify their meaning and use.
3203 Fixed a possible allocation overrun during internal object copy in
3204 AcpiUtCopySimpleObject. The original code did not correctly handle the
3206 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
3209 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
3210 possible access beyond end-of-allocation. Also, now fully validate
3212 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
3214 Example Code and Data Size: These are the sizes for the OS-independent
3215 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3216 debug version of the code includes the debug output trace mechanism and
3218 much larger code and data size.
3221 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
3222 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
3224 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
3225 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
3227 2) iASL Compiler/Disassembler and Tools:
3229 iASL: Implemented Min/Max/Len/Gran validation for address resource
3230 descriptors. This change implements validation for the address fields
3232 are common to all address-type resource descriptors. These checks are
3233 implemented: Checks for valid Min/Max, length within the Min/Max window,
3234 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
3236 table 6-40 in the ACPI 4.0a specification. Also split the large
3238 and aslrestype2.c files into five new files. ACPICA BZ 840.
3240 iASL: Added support for the _Wxx predefined names. This support was
3242 and these names were not recognized by the compiler as valid predefined
3243 names. ACPICA BZ 851.
3245 iASL: Added an error for all predefined names that are defined to return
3247 value and thus must be implemented as Control Methods. These include all
3249 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
3250 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
3252 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
3254 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
3256 dynamically loaded via the Load() operator. Also cleaned up output for
3259 ta and -tc options. ACPICA BZ 853.
3261 Tests: Added a new file with examples of extended iASL error checking.
3262 Demonstrates the advanced error checking ability of the iASL compiler.
3263 Available at tests/misc/badcode.asl.
3265 ----------------------------------------
3266 31 March 2010. Summary of changes for version 20100331:
3268 1) ACPI CA Core Subsystem:
3270 Completed a major update for the GPE support in order to improve support
3272 shared GPEs and to simplify both host OS and ACPICA code. Added a
3274 count mechanism to support shared GPEs that require multiple device
3276 Several external interfaces have changed. One external interface has been
3277 removed. One new external interface was added. Most of the GPE external
3278 interfaces now use the GPE spinlock instead of the events mutex (and the
3279 Flags parameter for many GPE interfaces has been removed.) See the
3281 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
3283 Wysocki. ACPICA BZ 831.
3286 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
3292 Implemented write support for DataTable operation regions. These regions
3294 defined via the DataTableRegion() operator. Previously, only read support
3296 implemented. The ACPI specification allows DataTableRegions to be
3300 Implemented a new subsystem option to force a copy of the DSDT to local
3301 memory. Optionally copy the entire DSDT to local memory (instead of
3303 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
3305 the original DSDT, creating the need for this option. Default is FALSE,
3309 Implemented detection of a corrupted or replaced DSDT. This change adds
3310 support to detect a DSDT that has been corrupted and/or replaced from
3312 the OS (by firmware). This is typically catastrophic for the system, but
3314 been seen on some machines. Once this problem has been detected, the DSDT
3315 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
3317 Fixed two problems with AcpiReallocateRootTable during the root table
3319 When copying the root table to the new allocation, the length used was
3320 incorrect. The new size was used instead of the current table size,
3322 too much data was copied. Also, the count of available slots for ACPI
3324 was not set correctly. Alexey Starikovskiy, Bob Moore.
3326 Example Code and Data Size: These are the sizes for the OS-independent
3327 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3328 debug version of the code includes the debug output trace mechanism and
3330 much larger code and data size.
3333 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
3334 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
3336 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
3337 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
3339 2) iASL Compiler/Disassembler and Tools:
3341 iASL: Implement limited typechecking for values returned from predefined
3342 control methods. The type of any returned static (unnamed) object is now
3343 validated. For example, Return(1). ACPICA BZ 786.
3345 iASL: Fixed a predefined name object verification regression. Fixes a
3347 introduced in version 20100304. An error is incorrectly generated if a
3348 predefined name is declared as a static named object with a value defined
3349 using the keywords "Zero", "One", or "Ones". Lin Ming.
3351 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
3353 reducing the requested registry access rights. ACPICA BZ 842.
3355 Disassembler: fixed a possible fault when generating External()
3357 Introduced in commit ae7d6fd: Properly handle externals with parent-
3359 (carat). Fixes a string length allocation calculation. Lin Ming.
3361 ----------------------------------------
3362 04 March 2010. Summary of changes for version 20100304:
3364 1) ACPI CA Core Subsystem:
3366 Fixed a possible problem with the AML Mutex handling function
3367 AcpiExReleaseMutex where the function could fault under the very rare
3368 condition when the interpreter has blocked, the interpreter lock is
3370 the interpreter is then reentered via the same thread, and attempts to
3371 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
3375 Implemented additional configuration support for the AML "Debug Object".
3376 Output from the debug object can now be enabled via a global variable,
3377 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
3379 This debug output is now available in the release version of ACPICA
3381 of just the debug version. Also, the entire debug output module can now
3383 configured out of the ACPICA build if desired. One new file added,
3384 executer/exdebug.c. Lin Ming, Bob Moore.
3386 Added header support for the ACPI MCHI table (Management Controller Host
3387 Interface Table). This table was added in ACPI 4.0, but the defining
3389 has only recently become available.
3391 Standardized output of integer values for ACPICA warnings/errors. Always
3393 0x prefix for hex output, always use %u for unsigned integer decimal
3395 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
3397 invocations.) These invocations were converted from the original
3398 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
3400 Example Code and Data Size: These are the sizes for the OS-independent
3401 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3402 debug version of the code includes the debug output trace mechanism and
3404 much larger code and data size.
3407 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
3408 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
3410 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
3411 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
3413 2) iASL Compiler/Disassembler and Tools:
3415 iASL: Implemented typechecking support for static (non-control method)
3416 predefined named objects that are declared with the Name() operator. For
3417 example, the type of this object is now validated to be of type Integer:
3418 Name(_BBN, 1). This change migrates the compiler to using the core
3420 name table instead of maintaining a local version. Added a new file,
3421 aslpredef.c. ACPICA BZ 832.
3423 Disassembler: Added support for the ACPI 4.0 MCHI table.
3425 ----------------------------------------
3426 21 January 2010. Summary of changes for version 20100121:
3428 1) ACPI CA Core Subsystem:
3430 Added the 2010 copyright to all module headers and signons. This affects
3431 virtually every file in the ACPICA core subsystem, the iASL compiler, the
3432 tools/utilities, and the test suites.
3434 Implemented a change to the AcpiGetDevices interface to eliminate
3436 invocations of the _STA method. In the case where a specific _HID is
3437 requested, do not run _STA until a _HID match is found. This eliminates
3438 potentially dozens of _STA calls during a search for a particular
3440 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
3442 Implemented an additional repair for predefined method return values.
3444 to repair unexpected NULL elements within returned Package objects.
3447 Integer of value zero, a NULL String, or a zero-length Buffer as
3449 ACPICA BZ 818. Lin Ming, Bob Moore.
3451 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
3453 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
3455 64-bit AML integers). It is now obsolete and this change removes it from
3457 ACPICA code base, replaced by UINT64. The original typedef has been
3459 for now for compatibility with existing device driver code. ACPICA BZ
3462 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
3464 the parse tree object.
3466 Added additional warning options for the gcc-4 generation. Updated the
3468 accordingly. This includes some code restructuring to eliminate
3470 code, elimination of some gotos, elimination of unused return values,
3472 additional casting, and removal of redundant declarations.
3474 Example Code and Data Size: These are the sizes for the OS-independent
3475 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3476 debug version of the code includes the debug output trace mechanism and
3478 much larger code and data size.
3481 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
3482 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
3484 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
3485 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
3487 2) iASL Compiler/Disassembler and Tools:
3489 No functional changes for this release.
3491 ----------------------------------------
3492 14 December 2009. Summary of changes for version 20091214:
3494 1) ACPI CA Core Subsystem:
3496 Enhanced automatic data type conversions for predefined name repairs.
3498 change expands the automatic repairs/conversions for predefined name
3500 values to make Integers, Strings, and Buffers fully interchangeable.
3503 Buffer can be converted to a Package of Integers if necessary. The
3505 module was completely restructured. Lin Ming, Bob Moore.
3507 Implemented automatic removal of null package elements during predefined
3509 repairs. This change will automatically remove embedded and trailing NULL
3510 package elements from returned package objects that are defined to
3513 variable number of sub-packages. The driver is then presented with a
3515 with no null elements to deal with. ACPICA BZ 819.
3517 Implemented a repair for the predefined _FDE and _GTM names. The expected
3518 return value for both names is a Buffer of 5 DWORDs. This repair fixes
3520 possible problems (both seen in the field), where a package of integers
3522 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
3525 Implemented additional module-level code support. This change will
3527 execute module-level code that is not at the root of the namespace (under
3529 Device object, etc.). Now executes the code within the current scope
3531 of the root. ACPICA BZ 762. Lin Ming.
3533 Fixed possible mutex acquisition errors when running _REG methods. Fixes
3535 problem where mutex errors can occur when running a _REG method that is
3537 the same scope as a method-defined operation region or an operation
3539 under a module-level IF block. This type of code is rare, so the problem
3541 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
3543 Fixed a possible memory leak during module-level code execution. An
3545 could be leaked for each block of executed module-level code if the
3546 interpreter slack mode is enabled This change deletes any implicitly
3548 object from the module-level code block. Lin Ming.
3550 Removed messages for successful predefined repair(s). The repair
3552 was considered too wordy. Now, messages are only unconditionally emitted
3554 the return object cannot be repaired. Existing messages for successful
3555 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
3558 Example Code and Data Size: These are the sizes for the OS-independent
3559 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3560 debug version of the code includes the debug output trace mechanism and
3562 much larger code and data size.
3565 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
3566 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
3568 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
3569 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
3571 2) iASL Compiler/Disassembler and Tools:
3573 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
3575 were no longer automatically removed at the termination of the compile.
3577 acpiexec: Implemented the -f option to specify default region fill value.
3578 This option specifies the value used to initialize buffers that simulate
3579 operation regions. Default value is zero. Useful for debugging problems
3581 depend on a specific initial value for a region or field.
3583 ----------------------------------------
3584 12 November 2009. Summary of changes for version 20091112:
3586 1) ACPI CA Core Subsystem:
3588 Implemented a post-order callback to AcpiWalkNamespace. The existing
3589 interface only has a pre-order callback. This change adds an additional
3590 parameter for a post-order callback which will be more useful for bus
3592 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
3594 Modified the behavior of the operation region memory mapping cache for
3595 SystemMemory. Ensure that the memory mappings created for operation
3597 do not cross 4K page boundaries. Crossing a page boundary while mapping
3598 regions can cause kernel warnings on some hosts if the pages have
3600 attributes. Such regions are probably BIOS bugs, and this is the
3602 Linux BZ 14445. Lin Ming.
3604 Implemented an automatic repair for predefined methods that must return
3605 sorted lists. This change will repair (by sorting) packages returned by
3607 _PSS, and _TSS. Drivers can now assume that the packages are correctly
3609 and do not contain NULL package elements. Adds one new file,
3610 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
3612 Fixed a possible fault during predefined name validation if a return
3614 object contains NULL elements. Also adds a warning if a NULL element is
3615 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
3617 include repair or removal of all such NULL elements where possible.
3619 Implemented additional module-level executable AML code support. This
3621 will execute module-level code that is not at the root of the namespace
3622 (under a Device object, etc.) at table load time. Module-level executable
3624 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
3626 Implemented a new internal function to create Integer objects. This
3628 simplifies miscellaneous object creation code. ACPICA BZ 823.
3630 Reduced the severity of predefined repair messages, Warning to Info.
3632 the object was successfully repaired, a warning is too severe. Reduced to
3634 info message for now. These messages may eventually be changed to debug-
3638 Example Code and Data Size: These are the sizes for the OS-independent
3639 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3640 debug version of the code includes the debug output trace mechanism and
3642 much larger code and data size.
3645 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
3646 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
3648 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
3649 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
3651 2) iASL Compiler/Disassembler and Tools:
3653 iASL: Implemented Switch() with While(1) so that Break works correctly.
3655 change correctly implements the Switch operator with a surrounding
3657 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
3659 iASL: Added a message if a package initializer list is shorter than
3661 length. Adds a new remark for a Package() declaration if an initializer
3663 exists, but is shorter than the declared length of the package. Although
3664 technically legal, this is probably a coding error and it is seen in the
3665 field. ACPICA BZ 815. Lin Ming, Bob Moore.
3667 iASL: Fixed a problem where the compiler could fault after the maximum
3669 of errors was reached (200).
3671 acpixtract: Fixed a possible warning for pointer cast if the compiler
3673 level set very high.
3675 ----------------------------------------
3676 13 October 2009. Summary of changes for version 20091013:
3678 1) ACPI CA Core Subsystem:
3680 Fixed a problem where an Operation Region _REG method could be executed
3682 than once. If a custom address space handler is installed by the host
3684 the "initialize operation regions" phase of the ACPICA initialization,
3686 _REG methods for that address space could be executed twice. This change
3687 fixes the problem. ACPICA BZ 427. Lin Ming.
3689 Fixed a possible memory leak for the Scope() ASL operator. When the exact
3690 invocation of "Scope(\)" is executed (change scope to root), one internal
3691 operand object was leaked. Lin Ming.
3693 Implemented a run-time repair for the _MAT predefined method. If the _MAT
3694 return value is defined as a Field object in the AML, and the field
3695 size is less than or equal to the default width of an integer (32 or
3697 can incorrectly return an Integer instead of a Buffer. ACPICA now
3698 automatically repairs this problem. ACPICA BZ 810.
3700 Implemented a run-time repair for the _BIF and _BIX predefined methods.
3702 "OEM Information" field is often incorrectly returned as an Integer with
3703 value zero if the field is not supported by the platform. This is due to
3705 ambiguity in the ACPI specification. The field should always be a string.
3706 ACPICA now automatically repairs this problem by returning a NULL string
3707 within the returned Package. ACPICA BZ 807.
3709 Example Code and Data Size: These are the sizes for the OS-independent
3710 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3711 debug version of the code includes the debug output trace mechanism and
3713 much larger code and data size.
3716 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
3717 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
3719 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
3720 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
3722 2) iASL Compiler/Disassembler and Tools:
3724 Disassembler: Fixed a problem where references to external symbols that
3725 contained one or more parent-prefixes (carats) were not handled
3727 possibly causing a fault. ACPICA BZ 806. Lin Ming.
3729 Disassembler: Restructured the code so that all functions that handle
3730 external symbols are in a single module. One new file is added,
3733 AML Debugger: Added a max count argument for the Batch command (which
3734 executes multiple predefined methods within the namespace.)
3736 iASL: Updated the compiler documentation (User Reference.) Available at
3737 http://www.acpica.org/documentation/. ACPICA BZ 750.
3739 AcpiXtract: Updated for Lint and other formatting changes. Close all open
3742 ----------------------------------------
3743 03 September 2009. Summary of changes for version 20090903:
3745 1) ACPI CA Core Subsystem:
3747 For Windows Vista compatibility, added the automatic execution of an _INI
3748 method located at the namespace root (\_INI). This method is executed at
3749 table load time. This support is in addition to the automatic execution
3751 \_SB._INI. Lin Ming.
3753 Fixed a possible memory leak in the interpreter for AML package objects
3755 the package initializer list is longer than the defined size of the
3757 This apparently can only happen if the BIOS changes the package size on
3759 fly (seen in a _PSS object), as ASL compilers do not allow this. The
3760 interpreter will truncate the package to the defined size (and issue an
3762 message), but previously could leave the extra objects undeleted if they
3764 pre-created during the argument processing (such is the case if the
3766 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3768 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
3769 This has been reported in the field. Previously, ACPICA would zero out
3771 buffer/string. Now, the operation is treated as a noop. Provides Windows
3772 compatibility. ACPICA BZ 803. Lin Ming.
3774 Removed an extraneous error message for ASL constructs of the form
3775 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
3777 are seen in many BIOSs and are once again treated as NOOPs and no error
3779 emitted when they are encountered. ACPICA BZ 785.
3781 Fixed an extraneous warning message if a _DSM reserved method returns a
3782 Package object. _DSM can return any type of object, so validation on the
3783 return type cannot be performed. ACPICA BZ 802.
3785 Example Code and Data Size: These are the sizes for the OS-independent
3786 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3787 debug version of the code includes the debug output trace mechanism and
3789 much larger code and data size.
3792 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
3793 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
3795 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
3796 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
3798 2) iASL Compiler/Disassembler and Tools:
3800 iASL: Fixed a problem with the use of the Alias operator and Resource
3801 Templates. The correct alias is now constructed and no error is emitted.
3804 iASL: Implemented the -I option to specify additional search directories
3806 include files. Allows multiple additional search paths for include files.
3807 Directories are searched in the order specified on the command line
3809 the local directory is searched.) ACPICA BZ 800.
3811 iASL: Fixed a problem where the full pathname for include files was not
3812 emitted for warnings/errors. This caused the IDE support to not work
3813 properly. ACPICA BZ 765.
3815 iASL: Implemented the -@ option to specify a Windows-style response file
3816 containing additional command line options. ACPICA BZ 801.
3818 AcpiExec: Added support to load multiple AML files simultaneously (such
3821 DSDT and multiple SSDTs). Also added support for wildcards within the AML
3822 pathname. These features allow all machine tables to be easily loaded and
3823 debugged together. ACPICA BZ 804.
3825 Disassembler: Added missing support for disassembly of HEST table Error
3829 ----------------------------------------
3830 30 July 2009. Summary of changes for version 20090730:
3832 The ACPI 4.0 implementation for ACPICA is complete with this release.
3834 1) ACPI CA Core Subsystem:
3836 ACPI 4.0: Added header file support for all new and changed ACPI tables.
3837 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
3839 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
3841 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
3843 have been some ACPI 4.0 changes to other existing tables. Split the large
3844 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3846 ACPI 4.0: Implemented predefined name validation for all new names. There
3848 31 new names in ACPI 4.0. The predefined validation module was split into
3850 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3852 Implemented support for so-called "module-level executable code". This is
3853 executable AML code that exists outside of any control method and is
3855 to be executed at table load time. Although illegal since ACPI 2.0, this
3857 of code still exists and is apparently still being created. Blocks of
3859 code are now detected and executed as intended. Currently, the code
3861 must exist under either an If, Else, or While construct; these are the
3862 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3864 Implemented an automatic dynamic repair for predefined names that return
3865 nested Package objects. This applies to predefined names that are defined
3867 return a variable-length Package of sub-packages. If the number of sub-
3868 packages is one, BIOS code is occasionally seen that creates a simple
3870 package with no sub-packages. This code attempts to fix the problem by
3871 wrapping a new package object around the existing package. These methods
3873 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
3877 Fixed a regression introduced in 20090625 for the AcpiGetDevices
3879 The _HID/_CID matching was broken and no longer matched IDs correctly.
3883 Fixed a problem with AcpiReset where the reset would silently fail if the
3884 register was one of the protected I/O ports. AcpiReset now bypasses the
3886 validation mechanism. This may eventually be driven into the
3890 Fixed a regression related to the recent update of the AcpiRead/Write
3891 interfaces. A sleep/suspend could fail if the optional PM2 Control
3893 does not exist during an attempt to write the Bus Master Arbitration bit.
3894 (However, some hosts already delete the code that writes this bit, and
3896 code may in fact be obsolete at this date.) ACPICA BZ 799.
3898 Fixed a problem where AcpiTerminate could fault if inadvertently called
3900 in succession. ACPICA BZ 795.
3902 Example Code and Data Size: These are the sizes for the OS-independent
3903 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3904 debug version of the code includes the debug output trace mechanism and
3906 much larger code and data size.
3909 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
3910 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
3912 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
3913 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
3915 2) iASL Compiler/Disassembler and Tools:
3917 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
3918 changes to existing tables. ACPICA BZ 775.
3920 ----------------------------------------
3921 25 June 2009. Summary of changes for version 20090625:
3923 The ACPI 4.0 Specification was released on June 16 and is available at
3924 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
3925 continue for the next few releases.
3927 1) ACPI CA Core Subsystem:
3929 ACPI 4.0: Implemented interpreter support for the IPMI operation region
3930 address space. Includes support for bi-directional data buffers and an
3932 address space handler (to be installed by an IPMI device driver.) ACPICA
3936 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
3938 support in both the header files and the disassembler.
3940 Completed a major update for the AcpiGetObjectInfo external interface.
3942 - Support for variable, unlimited length HID, UID, and CID strings.
3943 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
3945 - Call the _SxW power methods on behalf of a device object.
3946 - Determine if a device is a PCI root bridge.
3947 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3948 These changes will require an update to all callers of this interface.
3950 the updated ACPICA Programmer Reference for details. One new source file
3952 been added - utilities/utids.c. ACPICA BZ 368, 780.
3954 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
3955 transfers. The Value parameter has been extended from 32 bits to 64 bits
3957 order to support new ACPI 4.0 tables. These changes will require an
3960 all callers of these interfaces. See the ACPICA Programmer Reference for
3961 details. ACPICA BZ 768.
3963 Fixed several problems with AcpiAttachData. The handler was not invoked
3965 the host node was deleted. The data sub-object was not automatically
3967 when the host node was deleted. The interface to the handler had an
3969 parameter, this was removed. ACPICA BZ 778.
3971 Enhanced the function that dumps ACPI table headers. All non-printable
3972 characters in the string fields are now replaced with '?' (Signature,
3974 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
3975 these fields are occasionally seen in the field. ACPICA BZ 788.
3977 Fixed a problem with predefined method repair code where the code that
3978 attempts to repair/convert an object of incorrect type is only executed
3980 the first time the predefined method is called. The mechanism that
3982 warnings on subsequent calls was interfering with the repair mechanism.
3985 Fixed a possible memory leak in the predefined validation/repair code
3988 buffer is automatically converted to an expected string object.
3990 Removed obsolete 16-bit files from the distribution and from the current
3992 tree head. ACPICA BZ 776.
3994 Example Code and Data Size: These are the sizes for the OS-independent
3995 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3996 debug version of the code includes the debug output trace mechanism and
3998 much larger code and data size.
4001 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
4002 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
4004 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
4005 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
4007 2) iASL Compiler/Disassembler and Tools:
4009 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
4010 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
4012 ACPI 4.0: iASL - implemented compile-time validation support for all new
4013 predefined names and control methods (31 total). ACPICA BZ 769.
4015 ----------------------------------------
4016 21 May 2009. Summary of changes for version 20090521:
4018 1) ACPI CA Core Subsystem:
4020 Disabled the preservation of the SCI enable bit in the PM1 control
4022 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
4025 a "preserved" bit - "OSPM always preserves this bit position", section
4026 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
4027 because the bit needs to be explicitly set by the OS as a workaround. No
4028 machines fail if the bit is not preserved. Therefore, ACPICA no longer
4029 attempts to preserve this bit.
4031 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
4032 incorrectly formed _PRT package could cause a fault. Added validation to
4033 ensure that each package element is actually a sub-package.
4035 Implemented a new interface to install or override a single control
4037 AcpiInstallMethod. This interface is useful when debugging in order to
4039 an existing method or to install a missing method without having to
4041 the entire ACPI table. See the ACPICA Programmer Reference for use and
4042 examples. Lin Ming, Bob Moore.
4044 Fixed several reference count issues with the DdbHandle object that is
4045 created from a Load or LoadTable operator. Prevent premature deletion of
4047 object. Also, mark the object as invalid once the table has been
4049 This is needed because the handle itself may not be deleted after the
4051 unload, depending on whether it has been stored in a named object by the
4054 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
4055 mutexes of the same sync level are acquired but then not released in
4057 opposite order, the internally maintained Current Sync Level becomes
4059 and can cause subsequent execution errors. ACPICA BZ 471.
4061 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
4062 specification has been changed to make the SyncLevel for mutex objects
4064 useful. When releasing a mutex, the SyncLevel of the mutex must now be
4066 same as the current sync level. This makes more sense than the previous
4068 (SyncLevel less than or equal). This change updates the code to match the
4071 Fixed a problem with the local version of the AcpiOsPurgeCache function.
4073 (local) cache must be locked during all cache object deletions. Andrew
4076 Updated the Load operator to use operation region interfaces. This
4078 direct memory mapping with region access calls. Now, all region accesses
4080 through the installed region handler as they should.
4082 Simplified and optimized the NsGetNextNode function. Reduced parameter
4084 and reduced code for this frequently used function.
4086 Example Code and Data Size: These are the sizes for the OS-independent
4087 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4088 debug version of the code includes the debug output trace mechanism and
4090 much larger code and data size.
4093 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
4094 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
4096 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
4097 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
4099 2) iASL Compiler/Disassembler and Tools:
4101 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
4103 with sub-table disassembly and handling invalid sub-tables. Attempt
4105 after an invalid sub-table ID.
4107 ----------------------------------------
4108 22 April 2009. Summary of changes for version 20090422:
4110 1) ACPI CA Core Subsystem:
4112 Fixed a compatibility issue with the recently released I/O port
4114 mechanism. For windows compatibility, 1) On a port protection violation,
4115 simply ignore the request and do not return an exception (allow the
4117 method to continue execution.) 2) If only part of the request overlaps a
4118 protected port, read/write the individual ports that are not protected.
4122 Enhanced the execution of the ASL/AML BreakPoint operator so that it
4124 breaks into the AML debugger if the debugger is present. This matches the
4125 ACPI-defined behavior.
4127 Fixed several possible warnings related to the use of the configurable
4128 ACPI_THREAD_ID. This type can now be configured as either an integer or a
4129 pointer with no warnings. Also fixes several warnings in printf-like
4130 statements for the 64-bit build when the type is configured as a pointer.
4133 Fixed a number of possible warnings when compiling with gcc 4+ (depending
4135 warning options.) Examples include printf formats, aliasing, unused
4137 missing prototypes, missing switch default statements, use of non-ANSI
4138 library functions, use of non-ANSI constructs. See generate/unix/Makefile
4140 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
4142 Example Code and Data Size: These are the sizes for the OS-independent
4143 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4144 debug version of the code includes the debug output trace mechanism and
4146 much larger code and data size.
4149 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
4150 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
4152 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
4153 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
4155 2) iASL Compiler/Disassembler and Tools:
4157 iASL: Fixed a generation warning from Bison 2.3 and fixed several
4162 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
4164 correctly digest Windows/DOS formatted files (with CR/LF).
4166 iASL: Added a new option for "quiet mode" (-va) that produces only the
4167 compilation summary, not individual errors and warnings. Useful for large
4170 AcpiExec: Implemented a new option (-z) to enable a forced
4172 timeout that can be used to detect hang conditions during execution of
4174 code (includes both internal semaphores and AML-defined mutexes and
4177 Added new makefiles for the generation of acpica in a generic unix-like
4178 environment. These makefiles are intended to generate the acpica tools
4180 utilities from the original acpica git source tree structure.
4182 Test Suites: Updated and cleaned up the documentation files. Updated the
4183 copyrights to 2009, affecting all source files. Use the new version of
4185 with quiet mode. Increased the number of available semaphores in the
4187 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
4189 an alternate implementation of the semaphore timeout to allow aslts to
4190 execute fully on Cygwin.
4192 ----------------------------------------
4193 20 March 2009. Summary of changes for version 20090320:
4195 1) ACPI CA Core Subsystem:
4197 Fixed a possible race condition between AcpiWalkNamespace and dynamic
4199 unloads. Added a reader/writer locking mechanism to allow multiple
4201 namespace walks (readers), but block a dynamic table unload until it can
4203 exclusive write access to the namespace. This fixes a problem where a
4205 unload could (possibly catastrophically) delete the portion of the
4207 that is currently being examined by a walk. Adds a new file, utlock.c,
4209 implements the reader/writer lock mechanism. ACPICA BZ 749.
4211 Fixed a regression introduced in version 20090220 where a change to the
4213 handling could cause the ACPICA subsystem to access non-existent I/O
4216 Modified the handling of FADT register and table (FACS/DSDT) addresses.
4218 FADT can contain both 32-bit and 64-bit versions of these addresses.
4219 Previously, the 64-bit versions were favored, meaning that if both 32 and
4221 versions were valid, but not equal, the 64-bit version was used. This was
4222 found to cause some machines to fail. Now, in this case, the 32-bit
4224 is used instead. This now matches the Windows behavior.
4226 Implemented a new mechanism to protect certain I/O ports. Provides
4228 compatibility and protects the standard PC I/O ports from access via AML
4229 code. Adds a new file, hwvalid.c
4231 Fixed a possible extraneous warning message from the FADT support. The
4232 message warns of a 32/64 length mismatch between the legacy and GAS
4233 definitions for a register.
4235 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
4237 made obsolete by the port protection mechanism above. It was previously
4239 to validate the entire address range of an operation region, which could
4241 incorrect if the range included illegal ports, but fields within the
4242 operation region did not actually access those ports. Validation is now
4243 performed on a per-field basis instead of the entire region.
4245 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
4246 Ignored bits must be "preserved" according to the ACPI spec. Usually,
4248 means a read/modify/write when writing to the register. However, for
4250 registers, writing a one means clear the event. Writing a zero means
4252 the event (do not clear.) This behavior is clarified in the ACPI 4.0
4254 and the ACPICA code now simply always writes a zero to the ignored bit.
4256 Modified the handling of ignored bits for the PM1 A/B Control Registers.
4258 per the ACPI specification, for the control registers, preserve
4259 (read/modify/write) all bits that are defined as either reserved or
4262 Updated the handling of write-only bits in the PM1 A/B Control Registers.
4263 When reading the register, zero the write-only bits as per the ACPI spec.
4264 ACPICA BZ 443. Lin Ming.
4266 Removed "Linux" from the list of supported _OSI strings. Linux no longer
4267 wants to reply true to this request. The Windows strings are the only
4269 through the AML that are tested and known to work properly.
4272 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
4273 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
4275 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
4276 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
4278 2) iASL Compiler/Disassembler and Tools:
4280 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
4284 ----------------------------------------
4285 20 February 2009. Summary of changes for version 20090220:
4287 1) ACPI CA Core Subsystem:
4289 Optimized the ACPI register locking. Removed locking for reads from the
4291 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
4293 not required when reading the single-bit registers. The
4294 AcpiGetRegisterUnlocked function is no longer needed and has been
4296 This will improve performance for reads on these registers. ACPICA BZ
4299 Fixed the parameter validation for AcpiRead/Write. Now return
4300 AE_BAD_PARAMETER if the input register pointer is null, and
4303 the register has an address of zero. Previously, these cases simply
4305 AE_OK. For optional registers such as PM1B status/enable/control, the
4307 should check for a valid register address before calling. ACPICA BZ 748.
4309 Renamed the external ACPI bit register access functions. Renamed
4310 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
4311 functions. The new names are AcpiReadBitRegister and
4312 AcpiWriteBitRegister.
4313 Also, restructured the code for these functions by simplifying the code
4315 and condensing duplicate code to reduce code size.
4317 Added new functions to transparently handle the possibly split PM1 A/B
4318 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
4320 now handle the split registers for PM1 Status, Enable, and Control.
4325 Added a function to handle the PM1 control registers,
4326 AcpiHwWritePm1Control.
4327 This function writes both of the PM1 control registers (A/B). These
4329 are different than the PM1 A/B status and enable registers in that
4331 values can be written to the A/B registers. Most notably, the SLP_TYP
4333 can be different, as per the values returned from the _Sx predefined
4336 Removed an extra register write within AcpiHwClearAcpiStatus. This
4338 was writing an optional PM1B status register twice. The existing call to
4340 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
4342 register. ACPICA BZ 751.
4344 Split out the PM1 Status registers from the FADT. Added new globals for
4346 registers (A/B), similar to the way the PM1 Enable registers are handled.
4347 Instead of overloading the FADT Event Register blocks. This makes the
4349 clearer and less prone to error.
4351 Fixed the warning message for when the platform contains too many ACPI
4353 for the default size of the global root table data structure. The
4355 for the truncation value was incorrect.
4357 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
4358 obsolete macro, since it is now a simple reference to ->common.type.
4360 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
4362 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
4363 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
4364 simply SLEEP_TYPE. ACPICA BZ 754.
4366 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
4367 function is only needed on 64-bit host operating systems and is thus not
4368 included for 32-bit hosts.
4370 Debug output: print the input and result for invocations of the _OSI
4372 control method via the ACPI_LV_INFO debug level. Also, reduced some of
4374 verbosity of this debug level. Len Brown.
4376 Example Code and Data Size: These are the sizes for the OS-independent
4377 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4378 debug version of the code includes the debug output trace mechanism and
4380 much larger code and data size.
4383 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
4384 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
4386 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
4387 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
4389 2) iASL Compiler/Disassembler and Tools:
4391 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
4392 various legal performance profiles.
4394 ----------------------------------------
4395 23 January 2009. Summary of changes for version 20090123:
4397 1) ACPI CA Core Subsystem:
4399 Added the 2009 copyright to all module headers and signons. This affects
4400 virtually every file in the ACPICA core subsystem, the iASL compiler, and
4401 the tools/utilities.
4403 Implemented a change to allow the host to override any ACPI table,
4405 dynamically loaded tables. Previously, only the DSDT could be replaced by
4407 host. With this change, the AcpiOsTableOverride interface is called for
4409 table found in the RSDT/XSDT during ACPICA initialization, and also
4411 a table is dynamically loaded via the AML Load operator.
4413 Updated FADT flag definitions, especially the Boot Architecture flags.
4415 Debugger: For the Find command, automatically pad the input ACPI name
4417 underscores if the name is shorter than 4 characters. This enables a
4419 with the actual namespace entry which is itself padded with underscores.
4421 Example Code and Data Size: These are the sizes for the OS-independent
4422 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4423 debug version of the code includes the debug output trace mechanism and
4425 much larger code and data size.
4428 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
4429 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
4431 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
4432 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
4434 2) iASL Compiler/Disassembler and Tools:
4436 Fix build error under Bison-2.4.
4438 Dissasembler: Enhanced FADT support. Added decoding of the Boot
4440 flags. Now decode all flags, regardless of the FADT version. Flag output
4441 includes the FADT version which first defined each flag.
4443 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
4445 DSDT). Windows only.
4447 ----------------------------------------
4448 04 December 2008. Summary of changes for version 20081204:
4450 1) ACPI CA Core Subsystem:
4452 The ACPICA Programmer Reference has been completely updated and revamped
4454 this release. This includes updates to the external interfaces, OSL
4455 interfaces, the overview sections, and the debugger reference.
4457 Several new ACPICA interfaces have been implemented and documented in the
4458 programmer reference:
4459 AcpiReset - Writes the reset value to the FADT-defined reset register.
4460 AcpiDisableAllGpes - Disable all available GPEs.
4461 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
4462 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
4463 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
4464 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
4465 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
4467 Most of the public ACPI hardware-related interfaces have been moved to a
4469 file, components/hardware/hwxface.c
4471 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
4472 register lengths within the FADT are now used, and the low level ACPI
4473 register access no longer hardcodes the ACPI register lengths. Given that
4474 there may be some risk in actually trusting the FADT register lengths, a
4476 time option was added to fall back to the default hardcoded lengths if
4478 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
4479 option is set to true for now, and a warning is issued if a suspicious
4481 register length is overridden with the default value.
4483 Fixed a reference count issue in NsRepairObject. This problem was
4485 in version 20081031 as part of a fix to repair Buffer objects within
4488 Added semaphore support to the Linux/Unix application OS-services layer
4489 (OSL). ACPICA BZ 448. Lin Ming.
4491 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
4493 be implemented in the OSL, or will binary semaphores be used instead.
4495 Example Code and Data Size: These are the sizes for the OS-independent
4496 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4497 debug version of the code includes the debug output trace mechanism and
4499 much larger code and data size.
4502 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
4503 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
4505 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
4506 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
4508 2) iASL Compiler/Disassembler and Tools:
4510 iASL: Completed the '-e' option to include additional ACPI tables in
4513 aid with disassembly and External statement generation. ACPICA BZ 742.
4517 iASL: Removed the "named object in while loop" error. The compiler cannot
4518 determine how many times a loop will execute. ACPICA BZ 730.
4520 Disassembler: Implemented support for FADT revision 2 (MS extension).
4524 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
4527 ----------------------------------------
4528 31 October 2008. Summary of changes for version 20081031:
4530 1) ACPI CA Core Subsystem:
4532 Restructured the ACPICA header files into public/private. acpi.h now
4534 only the "public" acpica headers. All other acpica headers are "private"
4536 should not be included by acpica users. One new file, accommon.h is used
4538 include the commonly used private headers for acpica code generation.
4540 plans include moving all private headers to a new subdirectory.
4542 Implemented an automatic Buffer->String return value conversion for
4543 predefined ACPI methods. For these methods (such as _BIF), added
4545 conversion for return objects that are required to be a String, but a
4547 was found instead. This can happen when reading string battery data from
4549 operation region, because it used to be difficult to convert the data
4551 buffer to string from within the ASL. Ensures that the host OS is
4553 with a valid null-terminated string. Linux BZ 11822.
4555 Updated the FACS waking vector interfaces. Split
4556 AcpiSetFirmwareWakingVector
4557 into two: one for the 32-bit vector, another for the 64-bit vector. This
4559 required because the host OS must setup the wake much differently for
4561 vector (real vs. protected mode, etc.) and the interface itself should
4564 deciding which vector to use. Also, eliminated the
4565 GetFirmwareWakingVector
4566 interface, as it served no purpose (only the firmware reads the vector,
4568 only writes the vector.) ACPICA BZ 731.
4570 Implemented a mechanism to escape infinite AML While() loops. Added a
4572 counter to force exit from AML While loops if the count becomes too
4574 This can occur in poorly written AML when the hardware does not respond
4575 within a while loop and the loop does not implement a timeout. The
4577 loop count is configurable. A new exception code is returned when a loop
4579 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
4581 Optimized the execution of AML While loops. Previously, a control state
4582 object was allocated and freed for each execution of the loop. The
4583 optimization is to simply reuse the control state for each iteration.
4585 speeds up the raw loop execution time by about 5%.
4587 Enhanced the implicit return mechanism. For Windows compatibility, return
4589 implicit integer of value zero for methods that contain no executable
4591 Such methods are seen in the field as stubs (presumably), and can cause
4592 drivers to fail if they expect a return value. Lin Ming.
4594 Allow multiple backslashes as root prefixes in namepaths. In a fully
4595 qualified namepath, allow multiple backslash prefixes. This can happen
4597 is seen in the field) because of the use of a double-backslash in strings
4598 (since backslash is the escape character) causing confusion. ACPICA BZ
4602 Emit a warning if two different FACS or DSDT tables are discovered in the
4603 FADT. Checks if there are two valid but different addresses for the FACS
4605 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
4607 Consolidated the method argument count validation code. Merged the code
4609 validates control method argument counts into the predefined validation
4610 module. Eliminates possible multiple warnings for incorrect argument
4613 Implemented ACPICA example code. Includes code for ACPICA initialization,
4614 handler installation, and calling a control method. Available at
4615 source/tools/examples.
4617 Added a global pointer for FACS table to simplify internal FACS access.
4619 the global pointer instead of using AcpiGetTableByIndex for each FACS
4621 This simplifies the code for the Global Lock and the Firmware Waking
4624 Example Code and Data Size: These are the sizes for the OS-independent
4625 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4626 debug version of the code includes the debug output trace mechanism and
4628 much larger code and data size.
4631 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
4632 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
4634 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
4635 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
4637 2) iASL Compiler/Disassembler and Tools:
4639 iASL: Improved disassembly of external method calls. Added the -e option
4641 allow the inclusion of additional ACPI tables to help with the
4644 method invocations and the generation of external declarations during the
4645 disassembly. Certain external method invocations cannot be disassembled
4646 properly without the actual declaration of the method. Use the -e option
4648 include the table where the external method(s) are actually declared.
4650 useful for disassembling SSDTs that make method calls back to the master
4651 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
4653 -e dsdt.aml ssdt1.aml
4655 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
4656 problem where the use of an alias within a namepath would result in a not
4657 found error or cause the compiler to fault. Also now allows forward
4658 references from the Alias operator itself. ACPICA BZ 738.
4660 ----------------------------------------
4661 26 September 2008. Summary of changes for version 20080926:
4663 1) ACPI CA Core Subsystem:
4665 Designed and implemented a mechanism to validate predefined ACPI methods
4667 objects. This code validates the predefined ACPI objects (objects whose
4669 start with underscore) that appear in the namespace, at the time they are
4670 evaluated. The argument count and the type of the returned object are
4671 validated against the ACPI specification. The purpose of this validation
4673 to detect problems with the BIOS-implemented predefined ACPI objects
4675 the results are returned to the ACPI-related drivers. Future enhancements
4677 include actual repair of incorrect return objects where possible. Two new
4678 files are nspredef.c and acpredef.h.
4680 Fixed a fault in the AML parser if a memory allocation fails during the
4682 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
4684 Fixed an issue with implicit return compatibility. This change improves
4686 implicit return mechanism to be more compatible with the MS interpreter.
4688 Ming, ACPICA BZ 349.
4690 Implemented support for zero-length buffer-to-string conversions. Allow
4692 length strings during interpreter buffer-to-string conversions. For
4694 during the ToDecimalString and ToHexString operators, as well as implicit
4695 conversions. Fiodor Suietov, ACPICA BZ 585.
4697 Fixed two possible memory leaks in the error exit paths of
4698 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
4700 similar in that they use a stack of state objects in order to eliminate
4701 recursion. The stack must be fully unwound and deallocated if an error
4702 occurs. Lin Ming. ACPICA BZ 383.
4704 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
4706 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
4707 Moore ACPICA BZ 442.
4709 Removed the obsolete version number in module headers. Removed the
4710 "$Revision" number that appeared in each module header. This version
4712 was useful under SourceSafe and CVS, but has no meaning under git. It is
4714 only incorrect, it could also be misleading.
4716 Example Code and Data Size: These are the sizes for the OS-independent
4717 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4718 debug version of the code includes the debug output trace mechanism and
4720 much larger code and data size.
4723 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
4724 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
4726 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
4727 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
4729 ----------------------------------------
4730 29 August 2008. Summary of changes for version 20080829:
4732 1) ACPI CA Core Subsystem:
4734 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
4735 Reference. Changes include the elimination of cheating on the Object
4737 for the DdbHandle subtype, addition of a reference class field to
4738 differentiate the various reference types (instead of an AML opcode), and
4740 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
4742 Reduce an error to a warning for an incorrect method argument count.
4743 Previously aborted with an error if too few arguments were passed to a
4744 control method via the external ACPICA interface. Now issue a warning
4746 and continue. Handles the case where the method inadvertently declares
4748 many arguments, but does not actually use the extra ones. Applies mainly
4750 the predefined methods. Lin Ming. Linux BZ 11032.
4752 Disallow the evaluation of named object types with no intrinsic value.
4754 AE_TYPE for objects that have no value and therefore evaluation is
4756 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
4758 these types were allowed, but an exception would be generated at some
4760 during the evaluation. Now, the error is generated up front.
4762 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
4763 (nsnames.c). Fixes a leak in the error exit path.
4765 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
4767 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
4769 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
4772 Removed obsolete and/or unused exception codes from the acexcep.h header.
4773 There is the possibility that certain device drivers may be affected if
4775 use any of these exceptions.
4777 The ACPICA documentation has been added to the public git source tree,
4779 acpica/documents. Included are the ACPICA programmer reference, the iASL
4780 compiler reference, and the changes.txt release logfile.
4782 Example Code and Data Size: These are the sizes for the OS-independent
4783 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4784 debug version of the code includes the debug output trace mechanism and
4786 much larger code and data size.
4789 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
4790 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
4792 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
4793 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
4795 2) iASL Compiler/Disassembler and Tools:
4797 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
4798 defines _SCP with 3 arguments. Previous versions defined it with only 1
4799 argument. iASL now allows both definitions.
4801 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
4803 length subtables when disassembling ACPI tables. Also fixed a couple of
4804 errors where a full 16-bit table type field was not extracted from the
4808 acpisrc: Improve comment counting mechanism for generating source code
4809 statistics. Count first and last lines of multi-line comments as
4811 not comment lines. Handle Linux legal header in addition to standard
4815 ----------------------------------------
4817 29 July 2008. Summary of changes for version 20080729:
4819 1) ACPI CA Core Subsystem:
4821 Fix a possible deadlock in the GPE dispatch. Remove call to
4822 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
4824 to acquire the GPE lock but can deadlock since the GPE lock is already
4826 at dispatch time. This code was introduced in version 20060831 as a
4828 to Linux BZ 6881 and has since been removed from Linux.
4830 Add a function to dereference returned reference objects. Examines the
4832 object from a call to AcpiEvaluateObject. Any Index or RefOf references
4834 automatically dereferenced in an attempt to return something useful
4836 reference types cannot be converted into an external ACPI_OBJECT.)
4838 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4840 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
4841 subtables for the MADT and one new subtable for the SRAT. Includes
4842 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
4844 Specification, June 2008.
4846 Additional error checking for pathname utilities. Add error check after
4848 calls to AcpiNsGetPathnameLength. Add status return from
4849 AcpiNsBuildExternalPath and check after all calls. Add parameter
4851 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4853 Return status from the global init function AcpiUtGlobalInitialize. This
4855 used by both the kernel subsystem and the utilities such as iASL
4857 The function could possibly fail when the caches are initialized. Yang
4860 Add a function to decode reference object types to strings. Created for
4861 improved error messages.
4863 Improve object conversion error messages. Better error messages during
4865 conversion from internal to the external ACPI_OBJECT. Used for external
4867 to AcpiEvaluateObject.
4869 Example Code and Data Size: These are the sizes for the OS-independent
4870 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4871 debug version of the code includes the debug output trace mechanism and
4873 much larger code and data size.
4876 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
4877 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
4879 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
4880 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
4882 2) iASL Compiler/Disassembler and Tools:
4884 Debugger: fix a possible hang when evaluating non-methods. Fixes a
4886 introduced in version 20080701. If the object being evaluated (via
4888 command) is not a method, the debugger can hang while trying to obtain
4890 existent parameters.
4892 iASL: relax error for using reserved "_T_x" identifiers. These names can
4893 appear in a disassembled ASL file if they were emitted by the original
4894 compiler. Instead of issuing an error or warning and forcing the user to
4895 manually change these names, issue a remark instead.
4897 iASL: error if named object created in while loop. Emit an error if any
4899 object is created within a While loop. If allowed, this code will
4902 run-time error on the second iteration of the loop when an attempt is
4905 create the same named object twice. ACPICA bugzilla 730.
4907 iASL: Support absolute pathnames for include files. Add support for
4909 pathnames within the Include operator. previously, only relative
4913 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
4915 The ACPI spec requires one interrupt minimum. BZ 423
4917 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
4918 Handles the case for the Interrupt Resource Descriptor where
4919 the ResourceSource argument is omitted but ResourceSourceIndex
4920 is present. Now leave room for the Index. BZ 426
4922 iASL: Prevent error message if CondRefOf target does not exist. Fixes
4924 where an error message is emitted if the target does not exist. BZ 516
4926 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
4927 (get ACPI tables on Windows). This was apparently broken in version
4930 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
4932 the EOF happens immediately after the last table in the input file. Print
4933 completion message. Previously, no message was displayed in this case.
4935 ----------------------------------------
4936 01 July 2008. Summary of changes for version 20080701:
4938 0) Git source tree / acpica.org
4940 Fixed a problem where a git-clone from http would not transfer the entire
4943 1) ACPI CA Core Subsystem:
4945 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
4946 enable bit. Now performs a read-change-write of the enable register
4948 of simply writing out the cached enable mask. This will prevent
4950 enabling of GPEs if a rogue GPE is received during initialization (before
4952 handlers are installed.)
4954 Implemented a copy for dynamically loaded tables. Previously, dynamically
4955 loaded tables were simply mapped - but on some machines this memory is
4956 corrupted after suspend. Now copy the table to a local buffer. For the
4957 OpRegion case, added checksum verify. Use the table length from the table
4958 header, not the region length. For the Buffer case, use the table length
4959 also. Dennis Noordsij, Bob Moore. BZ 10734
4961 Fixed a problem where the same ACPI table could not be dynamically loaded
4963 unloaded more than once. Without this change, a table cannot be loaded
4965 once it has been loaded/unloaded one time. The current mechanism does not
4966 unregister a table upon an unload. During a load, if the same table is
4968 this no longer returns an exception. BZ 722
4970 Fixed a problem where the wrong descriptor length was calculated for the
4971 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
4973 are calculated as 12 bytes long, but the actual length in the internal
4974 descriptor is 16 because of the round-up to 8 on the 64-bit build.
4976 by Linn Crosetto. BZ 728
4978 Fixed a possible memory leak in the Unload operator. The DdbHandle
4980 by Load() did not have its reference count decremented during unload,
4982 to a memory leak. Lin Ming. BZ 727
4984 Fixed a possible memory leak when deleting thermal/processor objects. Any
4985 associated notify handlers (and objects) were not being deleted. Fiodor
4988 Fixed the ordering of the ASCII names in the global mutex table to match
4990 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
4992 Vegard Nossum. BZ 726
4994 Enhanced the AcpiGetObjectInfo interface to return the number of required
4995 arguments if the object is a control method. Added this call to the
4997 so the proper number of default arguments are passed to a method. This
4998 prevents a warning when executing methods from AcpiExec.
5000 Added a check for an invalid handle in AcpiGetObjectInfo. Return
5001 AE_BAD_PARAMETER if input handle is invalid. BZ 474
5003 Fixed an extraneous warning from exconfig.c on the 64-bit build.
5005 Example Code and Data Size: These are the sizes for the OS-independent
5006 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5007 debug version of the code includes the debug output trace mechanism and
5009 much larger code and data size.
5012 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
5013 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
5015 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
5016 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
5018 2) iASL Compiler/Disassembler and Tools:
5020 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
5021 resource descriptor names.
5023 iASL: Detect invalid ASCII characters in input (windows version). Removed
5025 "-CF" flag from the flex compile, enables correct detection of non-ASCII
5026 characters in the input. BZ 441
5028 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
5030 "result of operation not used" warning when the DDB handle returned from
5031 LoadTable is not used. The warning is not needed. BZ 590
5033 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
5036 pass address of table to the AML. Added option to disable OpRegion
5038 to allow creation of an OpRegion with a real address that was passed to
5040 All of this allows testing of the Load and Unload operators from
5043 Debugger: update tables command for unloaded tables. Handle unloaded
5045 and use the standard table header output routine.
5047 ----------------------------------------
5048 09 June 2008. Summary of changes for version 20080609:
5050 1) ACPI CA Core Subsystem:
5052 Implemented a workaround for reversed _PRT entries. A significant number
5054 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
5055 change dynamically detects and repairs this problem. Provides
5057 with MS ACPI. BZ 6859
5059 Simplified the internal ACPI hardware interfaces to eliminate the locking
5060 flag parameter from Register Read/Write. Added a new external interface,
5061 AcpiGetRegisterUnlocked.
5063 Fixed a problem where the invocation of a GPE control method could hang.
5065 was a regression introduced in 20080514. The new method argument count
5066 validation mechanism can enter an infinite loop when a GPE method is
5067 dispatched. Problem fixed by removing the obsolete code that passed GPE
5069 information to the notify handler via the control method parameter
5072 Fixed a problem where the _SST execution status was incorrectly returned
5074 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
5076 20080514. _SST is optional and a NOT_FOUND exception should never be
5079 Fixed a problem where a deleted object could be accessed from within the
5081 parser. This was a regression introduced in version 20080123 as a fix for
5083 Unload operator. Lin Ming. BZ 10669
5085 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
5087 and eliminated the use of a negative index in a loop. Operands are now
5088 displayed in the correct order, not backwards. This also fixes a
5090 introduced in 20080514 on 64-bit systems where the elimination of
5091 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
5094 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
5096 path did not delete a locally allocated structure.
5098 Updated definitions for the DMAR and SRAT tables to synchronize with the
5099 current specifications. Includes disassembler support.
5101 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
5102 loop termination value was used. Loop terminated on iteration early,
5104 one mutex. Linn Crosetto
5106 Example Code and Data Size: These are the sizes for the OS-independent
5107 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5108 debug version of the code includes the debug output trace mechanism and
5110 much larger code and data size.
5113 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
5114 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
5116 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
5117 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
5119 2) iASL Compiler/Disassembler and Tools:
5121 Disassembler: Implemented support for EisaId() within _CID objects. Now
5122 disassemble integer _CID objects back to EisaId invocations, including
5123 multiple integers within _CID packages. Includes single-step support for
5126 Disassembler: Added support for DMAR and SRAT table definition changes.
5128 ----------------------------------------
5129 14 May 2008. Summary of changes for version 20080514:
5131 1) ACPI CA Core Subsystem:
5133 Fixed a problem where GPEs were enabled too early during the ACPICA
5134 initialization. This could lead to "handler not installed" errors on some
5135 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
5137 ensures that all operation regions and devices throughout the namespace
5139 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
5141 Implemented a change to the enter sleep code. Moved execution of the _GTS
5142 method to just before setting sleep enable bit. The execution was moved
5144 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
5145 immediately before the SLP_EN bit is set, as per the ACPI specification.
5148 Implemented a fix to disable unknown GPEs (2nd version). Now always
5150 the GPE, even if ACPICA thinks that that it is already disabled. It is
5151 possible that the AML or some other code has enabled the GPE unbeknownst
5155 Fixed a problem with the Field operator where zero-length fields would
5157 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
5159 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
5161 Implemented a fix for the Load operator, now load the table at the
5163 root. This reverts a change introduced in version 20071019. The table is
5165 loaded at the namespace root even though this goes against the ACPI
5166 specification. This provides compatibility with other ACPI
5168 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
5171 Fixed a problem where ACPICA would not Load() tables with unusual
5173 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
5174 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
5175 Therefore, signature validation is worthless. Apparently MS ACPI accepts
5177 signatures, ACPICA must be compatible. BZ 10454.
5179 Fixed a possible negative array index in AcpiUtValidateException. Added
5181 fields to the exception string arrays to eliminate a -1 subtraction on
5185 Updated the debug tracking macros to reduce overall code and data size.
5186 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
5187 instead of pointers to static strings. Jan Beulich and Bob Moore.
5189 Implemented argument count checking in control method invocation via
5190 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
5192 many. This applies only to extern programmatic control method execution,
5194 method-to-method calls within the AML. Lin Ming.
5196 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
5198 longer needed, especially with the removal of 16-bit support. It was
5200 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
5203 32/64-bit platforms is required.
5205 Added the C const qualifier for appropriate string constants -- mostly
5206 MODULE_NAME and printf format strings. Jan Beulich.
5208 Example Code and Data Size: These are the sizes for the OS-independent
5209 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5210 debug version of the code includes the debug output trace mechanism and
5212 much larger code and data size.
5215 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
5216 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
5218 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
5219 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
5221 2) iASL Compiler/Disassembler and Tools:
5223 Implemented ACPI table revision ID validation in the disassembler. Zero
5225 always invalid. For DSDTs, the ID controls the interpreter integer width.
5227 means 32-bit and this is unusual. 2 or greater is 64-bit.
5229 ----------------------------------------
5230 21 March 2008. Summary of changes for version 20080321:
5232 1) ACPI CA Core Subsystem:
5234 Implemented an additional change to the GPE support in order to suppress
5235 spurious or stray GPEs. The AcpiEvDisableGpe function will now
5237 disable incoming GPEs that are neither enabled nor disabled -- meaning
5239 the GPE is unknown to the system. This should prevent future interrupt
5241 from that GPE. BZ 6217 (Zhang Rui)
5243 Fixed a problem where NULL package elements were not returned to the
5244 AcpiEvaluateObject interface correctly. The element was simply ignored
5245 instead of returning a NULL ACPI_OBJECT package element, potentially
5247 a buffer overflow and/or confusing the caller who expected a fixed number
5249 elements. BZ 10132 (Lin Ming, Bob Moore)
5251 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
5253 Qword), Field, BankField, and IndexField operators when invoked from
5255 an executing control method. In this case, these operators created
5257 nodes that were incorrectly left marked as permanent nodes instead of
5258 temporary nodes. This could cause a problem if there is race condition
5259 between an exiting control method and a running namespace walk. (Reported
5263 Fixed a problem where the CreateField and CreateXXXField operators would
5264 incorrectly allow duplicate names (the name of the field) with no
5268 Implemented several changes for Notify handling. Added support for new
5270 values (ACPI 2.0+) and improved the Notify debug output. Notify on
5271 PowerResource objects is no longer allowed, as per the ACPI
5273 (Bob Moore, Zhang Rui)
5275 All Reference Objects returned via the AcpiEvaluateObject interface are
5277 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
5279 NULL objects - either NULL package elements or unresolved named
5282 Fixed a problem where an extraneous debug message was produced for
5284 objects (when debugging enabled). The message "Package List length larger
5285 than NumElements count" is now produced in the correct case, and is now
5287 error message rather than a debug message. Added a debug message for the
5288 opposite case, where NumElements is larger than the Package List (the
5290 will be padded out with NULL elements as per the ACPI spec.)
5292 Implemented several improvements for the output of the ASL "Debug" object
5294 clarify and keep all data for a given object on one output line.
5296 Fixed two size calculation issues with the variable-length Start
5298 resource descriptor.
5300 Example Code and Data Size: These are the sizes for the OS-independent
5301 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5302 debug version of the code includes the debug output trace mechanism and
5304 a much larger code and data size.
5307 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
5308 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
5310 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
5311 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
5313 2) iASL Compiler/Disassembler and Tools:
5315 Fixed a problem with the use of the Switch operator where execution of
5317 containing method by multiple concurrent threads could cause an
5318 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
5319 actual Switch opcode, it must be simulated with local named temporary
5320 variables and if/else pairs. The solution chosen was to mark any method
5322 uses Switch as Serialized, thus preventing multiple thread entries. BZ
5325 ----------------------------------------
5326 13 February 2008. Summary of changes for version 20080213:
5328 1) ACPI CA Core Subsystem:
5330 Implemented another MS compatibility design change for GPE/Notify
5332 GPEs are now cleared/enabled asynchronously to allow all pending notifies
5334 complete first. It is expected that the OSL will queue the enable request
5335 behind all pending notify requests (may require changes to the local host
5337 in AcpiOsExecute). Alexey Starikovskiy.
5339 Fixed a problem where buffer and package objects passed as arguments to a
5340 control method via the external AcpiEvaluateObject interface could cause
5342 AE_AML_INTERNAL exception depending on the order and type of operators
5343 executed by the target control method.
5345 Fixed a problem where resource descriptor size optimization could cause a
5346 problem when a _CRS resource template is passed to a _SRS method. The
5348 resource template must use the same descriptors (with the same size) as
5349 returned from _CRS. This change affects the following resource
5351 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
5354 Fixed a problem where a CopyObject to RegionField, BankField, and
5356 objects did not perform an implicit conversion as it should. These types
5358 retain their initial type permanently as per the ACPI specification.
5360 a CopyObject to all other object types should not perform an implicit
5361 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
5363 Fixed a problem with the AcpiGetDevices interface where the mechanism to
5364 match device CIDs did not examine the entire list of available CIDs, but
5365 instead aborted on the first non-matching CID. Andrew Patterson.
5367 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
5369 inadvertently changed to return a 16-bit value instead of a 32-bit value,
5370 truncating the upper dword of a 64-bit value. This macro is only used to
5371 display debug output, so no incorrect calculations were made. Also,
5372 reimplemented the macro so that a 64-bit shift is not performed by
5373 inefficient compilers.
5375 Added missing va_end statements that should correspond with each va_start
5378 Example Code and Data Size: These are the sizes for the OS-independent
5379 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5380 debug version of the code includes the debug output trace mechanism and
5382 a much larger code and data size.
5385 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
5386 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
5388 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
5389 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
5391 2) iASL Compiler/Disassembler and Tools:
5393 Implemented full disassembler support for the following new ACPI tables:
5394 BERT, EINJ, and ERST. Implemented partial disassembler support for the
5395 complicated HEST table. These tables support the Windows Hardware Error
5396 Architecture (WHEA).
5398 ----------------------------------------
5399 23 January 2008. Summary of changes for version 20080123:
5401 1) ACPI CA Core Subsystem:
5403 Added the 2008 copyright to all module headers and signons. This affects
5404 virtually every file in the ACPICA core subsystem, the iASL compiler, and
5405 the tools/utilities.
5407 Fixed a problem with the SizeOf operator when used with Package and
5409 objects. These objects have deferred execution for some arguments, and
5411 execution is now completed before the SizeOf is executed. This problem
5413 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
5417 Implemented an enhancement to the interpreter "slack mode". In the
5420 an explicit return or an implicitly returned object from the last
5422 opcode, a control method will now implicitly return an integer of value 0
5424 Microsoft compatibility. (Lin Ming) BZ 392
5426 Fixed a problem with the Load operator where an exception was not
5429 the case where the table is already loaded. (Lin Ming) BZ 463
5431 Implemented support for the use of DDBHandles as an Indexed Reference, as
5433 the ACPI spec. (Lin Ming) BZ 486
5435 Implemented support for UserTerm (Method invocation) for the Unload
5437 as per the ACPI spec. (Lin Ming) BZ 580
5439 Fixed a problem with the LoadTable operator where the OemId and
5441 input strings could cause unexpected failures if they were shorter than
5443 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
5445 Implemented support for UserTerm (Method invocation) for the Unload
5447 as per the ACPI spec. (Lin Ming) BZ 580
5449 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
5451 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
5453 Example Code and Data Size: These are the sizes for the OS-independent
5454 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5455 debug version of the code includes the debug output trace mechanism and
5457 a much larger code and data size.
5460 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
5461 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
5463 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
5464 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
5466 2) iASL Compiler/Disassembler and Tools:
5468 Implemented support in the disassembler for checksum validation on
5470 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
5472 header dump at the start of the disassembly.
5474 Implemented additional debugging information in the namespace listing
5476 created during compilation. In addition to the namespace hierarchy, the
5478 pathname to each namespace object is displayed.
5480 Fixed a problem with the disassembler where invalid ACPI tables could
5482 faults or infinite loops.
5484 Fixed an unexpected parse error when using the optional "parameter types"
5485 list in a control method declaration. (Lin Ming) BZ 397
5487 Fixed a problem where two External declarations with the same name did
5489 cause an error (Lin Ming) BZ 509
5491 Implemented support for full TermArgs (adding Argx, Localx and method
5492 invocation) for the ParameterData parameter to the LoadTable operator.
5496 ----------------------------------------
5497 19 December 2007. Summary of changes for version 20071219:
5499 1) ACPI CA Core Subsystem:
5501 Implemented full support for deferred execution for the TermArg string
5502 arguments for DataTableRegion. This enables forward references and full
5503 operand resolution for the three string arguments. Similar to
5505 deferred argument execution.) Lin Ming. BZ 430
5507 Implemented full argument resolution support for the BankValue argument
5509 BankField. Previously, only constants were supported, now any TermArg may
5511 used. Lin Ming BZ 387, 393
5513 Fixed a problem with AcpiGetDevices where the search of a branch of the
5514 device tree could be terminated prematurely. In accordance with the ACPI
5515 specification, the search down the current branch is terminated if a
5517 is both not present and not functional (instead of just not present.)
5521 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
5523 the underlying AML code changed the GPE enable registers. Now, any
5525 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
5527 instead of simply ignored. Rui Zhang.
5529 Fixed a problem with Index Fields where the Index register was
5531 limited to a maximum of 32 bits. Now any size may be used.
5533 Fixed a couple memory leaks associated with "implicit return" objects
5535 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
5537 Example Code and Data Size: These are the sizes for the OS-independent
5538 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5539 debug version of the code includes the debug output trace mechanism and
5541 a much larger code and data size.
5544 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
5545 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
5547 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
5548 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
5550 ----------------------------------------
5551 14 November 2007. Summary of changes for version 20071114:
5553 1) ACPI CA Core Subsystem:
5555 Implemented event counters for each of the Fixed Events, the ACPI SCI
5556 (interrupt) itself, and control methods executed. Named
5557 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
5559 should be useful for debugging and statistics.
5561 Implemented a new external interface, AcpiGetStatistics, to retrieve the
5562 contents of the various event counters. Returns the current values for
5563 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
5564 AcpiMethodCount. The interface can be expanded in the future if new
5566 are added. Device drivers should use this interface rather than access
5570 Fixed a problem with the FromBCD and ToBCD operators. With some
5572 the ShortDivide function worked incorrectly, causing problems with the
5574 functions with large input values. A truncation from 64-bit to 32-bit
5575 inadvertently occurred. Internal BZ 435. Lin Ming
5577 Fixed a problem with Index references passed as method arguments.
5579 passed as arguments to control methods were dereferenced immediately
5581 control was passed to the called method). The references are now
5583 passed directly to the called method. BZ 5389. Lin Ming
5585 Fixed a problem with CopyObject used in conjunction with the Index
5587 The reference was incorrectly dereferenced before the copy. The reference
5589 now correctly copied. BZ 5391. Lin Ming
5591 Fixed a problem with Control Method references within Package objects.
5593 references are now correctly generated. This completes the package
5594 construction overhaul that began in version 20071019.
5596 Example Code and Data Size: These are the sizes for the OS-independent
5597 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5598 debug version of the code includes the debug output trace mechanism and
5600 a much larger code and data size.
5603 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
5604 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
5606 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
5607 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
5610 2) iASL Compiler/Disassembler and Tools:
5612 The AcpiExec utility now installs handlers for all of the predefined
5613 Operation Region types. New types supported are: PCI_Config, CMOS, and
5616 Fixed a problem with the 64-bit version of AcpiExec where the extended
5618 bit) address fields for the DSDT and FACS within the FADT were not being
5619 used, causing truncation of the upper 32-bits of these addresses. Lin
5623 ----------------------------------------
5624 19 October 2007. Summary of changes for version 20071019:
5626 1) ACPI CA Core Subsystem:
5628 Fixed a problem with the Alias operator when the target of the alias is a
5629 named ASL operator that opens a new scope -- Scope, Device,
5631 Processor, and ThermalZone. In these cases, any children of the original
5632 operator could not be accessed via the alias, potentially causing
5634 AE_NOT_FOUND exceptions. (BZ 9067)
5636 Fixed a problem with the Package operator where all named references were
5637 created as object references and left otherwise unresolved. According to
5639 ACPI specification, a Package can only contain Data Objects or references
5641 control methods. The implication is that named references to Data Objects
5642 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
5643 immediately upon package creation. This is the approach taken with this
5644 change. References to all other named objects (Methods, Devices, Scopes,
5645 etc.) are all now properly created as reference objects. (BZ 5328)
5647 Reverted a change to Notify handling that was introduced in version
5648 20070508. This version changed the Notify handling from asynchronous to
5649 fully synchronous (Device driver Notify handling with respect to the
5651 ASL operator). It was found that this change caused more problems than it
5652 solved and was removed by most users.
5654 Fixed a problem with the Increment and Decrement operators where the type
5656 the target object could be unexpectedly and incorrectly changed. (BZ 353)
5659 Fixed a problem with the Load and LoadTable operators where the table
5660 location within the namespace was ignored. Instead, the table was always
5661 loaded into the root or current scope. Lin Ming.
5663 Fixed a problem with the Load operator when loading a table from a buffer
5664 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
5666 Fixed a problem with the Debug object where a store of a DdbHandle
5668 object to the Debug object could cause a fault.
5670 Added a table checksum verification for the Load operator, in the case
5672 the load is from a buffer. (BZ 578).
5674 Implemented additional parameter validation for the LoadTable operator.
5676 length of the input strings SignatureString, OemIdString, and OemTableId
5678 now checked for maximum lengths. (BZ 582) Lin Ming.
5680 Example Code and Data Size: These are the sizes for the OS-independent
5681 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5682 debug version of the code includes the debug output trace mechanism and
5684 a much larger code and data size.
5687 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
5688 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
5690 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
5691 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
5694 2) iASL Compiler/Disassembler:
5696 Fixed a problem where if a single file was specified and the file did not
5697 exist, no error message was emitted. (Introduced with wildcard support in
5700 ----------------------------------------
5701 19 September 2007. Summary of changes for version 20070919:
5703 1) ACPI CA Core Subsystem:
5705 Designed and implemented new external interfaces to install and remove
5706 handlers for ACPI table-related events. Current events that are defined
5708 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
5709 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
5710 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
5712 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
5713 (acpi_serialized option on Linux) could cause some systems to hang during
5714 initialization. (Bob Moore) BZ 8171
5716 Fixed a problem where objects of certain types (Device, ThermalZone,
5717 Processor, PowerResource) can be not found if they are declared and
5718 referenced from within the same control method (Lin Ming) BZ 341
5720 Example Code and Data Size: These are the sizes for the OS-independent
5721 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5722 debug version of the code includes the debug output trace mechanism and
5724 a much larger code and data size.
5727 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
5728 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
5730 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
5731 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
5734 2) iASL Compiler/Disassembler:
5736 Implemented support to allow multiple files to be compiled/disassembled
5739 single invocation. This includes command line wildcard support for both
5741 Windows and Unix versions of the compiler. This feature simplifies the
5742 disassembly and compilation of multiple ACPI tables in a single
5745 ----------------------------------------
5746 08 May 2007. Summary of changes for version 20070508:
5748 1) ACPI CA Core Subsystem:
5750 Implemented a Microsoft compatibility design change for the handling of
5752 Notify AML operator. Previously, notify handlers were dispatched and
5753 executed completely asynchronously in a deferred thread. The new design
5754 still executes the notify handlers in a different thread, but the
5756 thread that executed the Notify() now waits at a synchronization point
5758 the notify handler to complete. Some machines depend on a synchronous
5760 operator in order to operate correctly.
5762 Implemented support to allow Package objects to be passed as method
5763 arguments to the external AcpiEvaluateObject interface. Previously, this
5764 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
5765 implemented since there were no reserved control methods that required it
5768 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
5770 contained invalid non-zero values in reserved fields could cause later
5771 failures because these fields have meaning in later revisions of the
5773 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
5775 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
5777 Fixed a problem where the Global Lock handle was not properly updated if
5779 thread that acquired the Global Lock via executing AML code then
5781 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
5785 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
5786 could be corrupted if the interrupt being removed was at the head of the
5787 list. Reported by Linn Crosetto.
5789 Example Code and Data Size: These are the sizes for the OS-independent
5790 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5791 debug version of the code includes the debug output trace mechanism and
5793 a much larger code and data size.
5796 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5797 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
5799 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
5800 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
5802 ----------------------------------------
5803 20 March 2007. Summary of changes for version 20070320:
5805 1) ACPI CA Core Subsystem:
5807 Implemented a change to the order of interpretation and evaluation of AML
5808 operand objects within the AML interpreter. The interpreter now evaluates
5809 operands in the order that they appear in the AML stream (and the
5810 corresponding ASL code), instead of in the reverse order (after the
5812 operand list has been parsed). The previous behavior caused several
5814 incompatibilities with the Microsoft AML interpreter as well as being
5815 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
5817 Implemented a change to the ACPI Global Lock support. All interfaces to
5819 global lock now allow the same thread to acquire the lock multiple times.
5820 This affects the AcpiAcquireGlobalLock external interface to the global
5822 as well as the internal use of the global lock to support AML fields -- a
5823 control method that is holding the global lock can now simultaneously
5825 AML fields that require global lock protection. Previously, in both
5827 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
5829 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
5830 Controller. There is no change to the behavior of the AML Acquire
5832 as this can already be used to acquire a mutex multiple times by the same
5833 thread. BZ 8066. With assistance from Alexey Starikovskiy.
5835 Fixed a problem where invalid objects could be referenced in the AML
5836 Interpreter after error conditions. During operand evaluation, ensure
5838 the internal "Return Object" field is cleared on error and only valid
5839 pointers are stored there. Caused occasional access to deleted objects
5841 resulted in "large reference count" warning messages. Valery Podrezov.
5843 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
5845 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
5848 Fixed an internal problem with the handling of result objects on the
5849 interpreter result stack. BZ 7872. Valery Podrezov.
5851 Removed obsolete code that handled the case where AML_NAME_OP is the
5853 of a reference (Reference.Opcode). This code was no longer necessary. BZ
5854 7874. Valery Podrezov.
5856 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
5859 remnant from the previously discontinued 16-bit support.
5861 Example Code and Data Size: These are the sizes for the OS-independent
5862 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5863 debug version of the code includes the debug output trace mechanism and
5865 a much larger code and data size.
5868 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5869 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5871 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5872 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
5874 ----------------------------------------
5875 26 January 2007. Summary of changes for version 20070126:
5877 1) ACPI CA Core Subsystem:
5879 Added the 2007 copyright to all module headers and signons. This affects
5880 virtually every file in the ACPICA core subsystem, the iASL compiler, and
5883 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
5884 during a table load. A bad pointer was passed in the case where the DSDT
5886 overridden, causing a fault in this case.
5888 Example Code and Data Size: These are the sizes for the OS-independent
5889 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5890 debug version of the code includes the debug output trace mechanism and
5892 a much larger code and data size.
5895 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5896 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5898 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5899 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5901 ----------------------------------------
5902 15 December 2006. Summary of changes for version 20061215:
5904 1) ACPI CA Core Subsystem:
5906 Support for 16-bit ACPICA has been completely removed since it is no
5908 necessary and it clutters the code. All 16-bit macros, types, and
5909 conditional compiles have been removed, cleaning up and simplifying the
5911 across the entire subsystem. DOS support is no longer needed since the
5912 bootable Linux firmware kit is now available.
5914 The handler for the Global Lock is now removed during AcpiTerminate to
5915 enable a clean subsystem restart, via the implementation of the
5916 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
5919 Implemented enhancements to the multithreading support within the
5921 to enable improved multithreading debugging and evaluation of the
5925 Debugger: Enhanced the Statistics/Memory command to emit the total
5927 memory used during the execution, as well as the maximum memory consumed
5929 each of the various object types. (Valery Podrezov)
5931 Example Code and Data Size: These are the sizes for the OS-independent
5932 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5933 debug version of the code includes the debug output trace mechanism and
5935 a much larger code and data size.
5938 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
5939 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
5941 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5942 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5945 2) iASL Compiler/Disassembler and Tools:
5947 AcpiExec: Implemented a new option (-m) to display full memory use
5948 statistics upon subsystem/program termination. (Valery Podrezov)
5950 ----------------------------------------
5951 09 November 2006. Summary of changes for version 20061109:
5953 1) ACPI CA Core Subsystem:
5955 Optimized the Load ASL operator in the case where the source operand is
5957 operation region. Simply map the operation region memory, instead of
5958 performing a bytewise read. (Region must be of type SystemMemory, see
5961 Fixed the Load ASL operator for the case where the source operand is a
5962 region field. A buffer object is also allowed as the source operand. BZ
5965 Fixed a problem where the Load ASL operator allowed the source operand to
5967 an operation region of any type. It is now restricted to regions of type
5968 SystemMemory, as per the ACPI specification. BZ 481
5970 Additional cleanup and optimizations for the new Table Manager code.
5972 AcpiEnable will now fail if all of the required ACPI tables are not
5974 (FADT, FACS, DSDT). BZ 477
5976 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
5978 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
5979 manually optimized to be aligned and will not work if it is byte-packed.
5981 Example Code and Data Size: These are the sizes for the OS-independent
5982 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5983 debug version of the code includes the debug output trace mechanism and
5985 a much larger code and data size.
5988 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
5989 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
5991 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
5992 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
5995 2) iASL Compiler/Disassembler and Tools:
5997 Fixed a problem where the presence of the _OSI predefined control method
5998 within complex expressions could cause an internal compiler error.
6000 AcpiExec: Implemented full region support for multiple address spaces.
6001 SpaceId is now part of the REGION object. BZ 429
6003 ----------------------------------------
6004 11 October 2006. Summary of changes for version 20061011:
6006 1) ACPI CA Core Subsystem:
6008 Completed an AML interpreter performance enhancement for control method
6009 execution. Previously a 2-pass parse/execution, control methods are now
6010 completely parsed and executed in a single pass. This improves overall
6011 interpreter performance by ~25%, reduces code size, and reduces CPU stack
6012 use. (Valery Podrezov + interpreter changes in version 20051202 that
6013 eliminated namespace loading during the pass one parse.)
6015 Implemented _CID support for PCI Root Bridge detection. If the _HID does
6017 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
6019 obtained and also checked for an ID match.
6021 Implemented additional support for the PCI _ADR execution: upsearch until
6023 device scope is found before executing _ADR. This allows PCI_Config
6024 operation regions to be declared locally within control methods
6028 Fixed a problem with a possible race condition between threads executing
6029 AcpiWalkNamespace and the AML interpreter. This condition was removed by
6030 modifying AcpiWalkNamespace to (by default) ignore all temporary
6032 entries created during any concurrent control method execution. An
6033 additional namespace race condition is known to exist between
6034 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
6037 Restructured the AML ParseLoop function, breaking it into several
6038 subfunctions in order to reduce CPU stack use and improve
6042 AcpiGetHandle: Fix for parameter validation to detect invalid
6044 of prefix handle and pathname. BZ 478
6046 Example Code and Data Size: These are the sizes for the OS-independent
6047 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6048 debug version of the code includes the debug output trace mechanism and
6050 a much larger code and data size.
6053 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6054 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
6056 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
6057 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
6059 2) iASL Compiler/Disassembler and Tools:
6061 Ported the -g option (get local ACPI tables) to the new ACPICA Table
6063 to restore original behavior.
6065 ----------------------------------------
6066 27 September 2006. Summary of changes for version 20060927:
6068 1) ACPI CA Core Subsystem:
6070 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
6071 These functions now use a spinlock for mutual exclusion and the interrupt
6072 level indication flag is not needed.
6074 Fixed a problem with the Global Lock where the lock could appear to be
6075 obtained before it is actually obtained. The global lock semaphore was
6076 inadvertently created with one unit instead of zero units. (BZ 464)
6080 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
6082 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
6084 Example Code and Data Size: These are the sizes for the OS-independent
6085 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6086 debug version of the code includes the debug output trace mechanism and
6088 a much larger code and data size.
6091 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6092 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
6094 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6095 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
6098 2) iASL Compiler/Disassembler and Tools:
6100 Fixed a compilation problem with the pre-defined Resource Descriptor
6102 names where an "object does not exist" error could be incorrectly
6104 if the parent ResourceTemplate pathname places the template within a
6105 different namespace scope than the current scope. (BZ 7212)
6107 Fixed a problem where the compiler could hang after syntax errors
6109 in an ElseIf construct. (BZ 453)
6111 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
6112 operator. An incorrect output filename was produced when this parameter
6114 a null string (""). Now, the original input filename is used as the AML
6115 output filename, with an ".aml" extension.
6117 Implemented a generic batch command mode for the AcpiExec utility
6119 any AML debugger command) (Valery Podrezov).
6121 ----------------------------------------
6122 12 September 2006. Summary of changes for version 20060912:
6124 1) ACPI CA Core Subsystem:
6126 Enhanced the implementation of the "serialized mode" of the interpreter
6127 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
6128 specified, instead of creating a serialization semaphore per control
6130 the interpreter lock is simply no longer released before a blocking
6131 operation during control method execution. This effectively makes the AML
6132 Interpreter single-threaded. The overhead of a semaphore per-method is
6135 Fixed a regression where an error was no longer emitted if a control
6137 attempts to create 2 objects of the same name. This once again returns
6138 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
6140 will dynamically serialize the control method to possible prevent future
6143 Integrated a fix for a problem with PCI Express HID detection in the PCI
6144 Config Space setup procedure. (BZ 7145)
6146 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
6147 AcpiHwInitialize function - the FADT registers are now validated when the
6150 Added two new warnings during FADT verification - 1) if the FADT is
6152 than the largest known FADT version, and 2) if there is a mismatch
6155 32-bit block address and the 64-bit X counterpart (when both are non-
6158 Example Code and Data Size: These are the sizes for the OS-independent
6159 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6160 debug version of the code includes the debug output trace mechanism and
6162 a much larger code and data size.
6165 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
6166 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
6168 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
6169 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
6172 2) iASL Compiler/Disassembler and Tools:
6174 Fixed a problem with the implementation of the Switch() operator where
6176 temporary variable was declared too close to the actual Switch, instead
6178 at method level. This could cause a problem if the Switch() operator is
6179 within a while loop, causing an error on the second iteration. (BZ 460)
6181 Disassembler - fix for error emitted for unknown type for target of scope
6182 operator. Now, ignore it and continue.
6184 Disassembly of an FADT now verifies the input FADT and reports any errors
6185 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
6187 Disassembly of raw data buffers with byte initialization data now
6189 each output line with the current buffer offset.
6191 Disassembly of ASF! table now includes all variable-length data fields at
6192 the end of some of the subtables.
6194 The disassembler now emits a comment if a buffer appears to be a
6195 ResourceTemplate, but cannot be disassembled as such because the EndTag
6197 not appear at the very end of the buffer.
6199 AcpiExec - Added the "-t" command line option to enable the serialized
6201 of the AML interpreter.
6203 ----------------------------------------
6204 31 August 2006. Summary of changes for version 20060831:
6206 1) ACPI CA Core Subsystem:
6208 Miscellaneous fixes for the Table Manager:
6209 - Correctly initialize internal common FADT for all 64-bit "X" fields
6210 - Fixed a couple table mapping issues during table load
6211 - Fixed a couple alignment issues for IA64
6212 - Initialize input array to zero in AcpiInitializeTables
6213 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
6216 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
6218 immediately disabled to prevent the waking GPE from firing again and to
6219 prevent other wake GPEs from interrupting the wake process.
6221 Added the AcpiGpeCount global that tracks the number of processed GPEs,
6223 be used for debugging systems with a large number of ACPI interrupts.
6225 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
6226 both the ACPICA headers and the disassembler.
6228 Example Code and Data Size: These are the sizes for the OS-independent
6229 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6230 debug version of the code includes the debug output trace mechanism and
6232 a much larger code and data size.
6235 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
6236 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
6238 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
6239 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
6242 2) iASL Compiler/Disassembler and Tools:
6244 Disassembler support for the DMAR ACPI table.
6246 ----------------------------------------
6247 23 August 2006. Summary of changes for version 20060823:
6249 1) ACPI CA Core Subsystem:
6251 The Table Manager component has been completely redesigned and
6252 reimplemented. The new design is much simpler, and reduces the overall
6254 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
6256 now possible to obtain the ACPI tables very early during kernel
6257 initialization, even before dynamic memory management is initialized.
6258 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
6260 Obsolete ACPICA interfaces:
6262 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
6265 - AcpiLoadTable: Not needed.
6266 - AcpiUnloadTable: Not needed.
6268 New ACPICA interfaces:
6270 - AcpiInitializeTables: Must be called before the table manager can be
6272 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
6273 allocated memory after it becomes available.
6274 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
6278 Other ACPICA changes:
6280 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
6282 AcpiOsUnmapMemory to free this mapping.
6283 - AcpiGetTable returns the actual mapped table. The mapping is managed
6284 internally and must not be deleted by the caller. Use of this interface
6285 causes no additional dynamic memory allocation.
6286 - AcpiFindRootPointer: Support for physical addressing has been
6288 it appeared to be unused.
6289 - The interface to AcpiOsMapMemory has changed to be consistent with the
6290 other allocation interfaces.
6291 - The interface to AcpiOsGetRootPointer has changed to eliminate
6294 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
6296 bit platforms. Was previously 64 bits on all platforms.
6297 - The interface to the ACPI Global Lock acquire/release macros have
6299 slightly since ACPICA no longer keeps a local copy of the FACS with a
6300 constructed pointer to the actual global lock.
6302 Porting to the new table manager:
6304 - AcpiInitializeTables: Must be called once, and can be called anytime
6305 during the OS initialization process. It allows the host to specify an
6307 of memory to be used to store the internal version of the RSDT/XSDT (root
6308 table). This allows the host to access ACPI tables before memory
6310 is initialized and running.
6311 - AcpiReallocateRootTable: Can be called after memory management is
6313 to copy the root table to a dynamically allocated array, freeing up the
6314 scratch memory specified in the call to AcpiInitializeTables.
6315 - AcpiSubsystemInitialize: This existing interface is independent of the
6316 Table Manager, and does not have to be called before the Table Manager
6318 be used, it only must be called before the rest of ACPICA can be used.
6319 - ACPI Tables: Some changes have been made to the names and structure of
6321 actbl.h and actbl1.h header files and may require changes to existing
6323 For example, bitfields have been completely removed because of their lack
6325 portability across C compilers.
6326 - Update interfaces to the Global Lock acquire/release macros if local
6327 versions are used. (see acwin.h)
6329 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
6333 Example Code and Data Size: These are the sizes for the OS-independent
6334 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6335 debug version of the code includes the debug output trace mechanism and
6337 a much larger code and data size.
6340 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6341 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6343 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
6344 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
6347 2) iASL Compiler/Disassembler and Tools:
6349 No changes for this release.
6351 ----------------------------------------
6352 21 July 2006. Summary of changes for version 20060721:
6354 1) ACPI CA Core Subsystem:
6356 The full source code for the ASL test suite used to validate the iASL
6357 compiler and the ACPICA core subsystem is being released with the ACPICA
6358 source for the first time. The source is contained in a separate package
6360 consists of over 1100 files that exercise all ASL/AML operators. The
6362 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
6366 Completed a new design and implementation for support of the ACPI Global
6367 Lock. On the OS side, the global lock is now treated as a standard AML
6368 mutex. Previously, multiple OS threads could "acquire" the global lock
6369 simultaneously. However, this could cause the BIOS to be starved out of
6371 lock - especially in cases such as the Embedded Controller driver where
6372 there is a tight coupling between the OS and the BIOS.
6374 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
6375 The Global Lock interrupt handler no longer queues the execution of a
6376 separate thread to signal the global lock semaphore. Instead, the
6378 is signaled directly from the interrupt handler.
6380 Implemented support within the AML interpreter for package objects that
6381 contain a larger AML length (package list length) than the package
6383 count. In this case, the length of the package is truncated to match the
6384 package element count. Some BIOS code apparently modifies the package
6386 on the fly, and this change supports this behavior. Provides
6388 with the MS AML interpreter. (With assistance from Fiodor Suietov)
6390 Implemented a temporary fix for the BankValue parameter of a Bank Field
6392 support all constant values, now including the Zero and One opcodes.
6393 Evaluation of this parameter must eventually be converted to a full
6395 evaluation. A not-implemented error is now returned (temporarily) for
6397 constant values for this parameter.
6399 Fixed problem reports (Fiodor Suietov) integrated:
6400 - Fix for premature object deletion after CopyObject on Operation Region
6404 Example Code and Data Size: These are the sizes for the OS-independent
6405 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6406 debug version of the code includes the debug output trace mechanism and
6408 a much larger code and data size.
6411 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
6412 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
6414 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6415 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6418 2) iASL Compiler/Disassembler and Tools:
6420 No changes for this release.
6422 ----------------------------------------
6423 07 July 2006. Summary of changes for version 20060707:
6425 1) ACPI CA Core Subsystem:
6427 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
6428 that do not allow the initialization of address pointers within packed
6429 structures - even though the hardware itself may support misaligned
6430 transfers. Some of the debug data structures are packed by default to
6433 Added an error message for the case where AcpiOsGetThreadId() returns
6435 A non-zero value is required by the core ACPICA code to ensure the proper
6436 operation of AML mutexes and recursive control methods.
6438 The DSDT is now the only ACPI table that determines whether the AML
6439 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
6441 the hooks for per-table 32/64 switching have been removed from the code.
6443 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
6445 Fixed a possible leak of an OwnerID in the error path of
6446 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
6447 deletion to a single place in AcpiTbUninstallTable to correct possible
6449 when using the AcpiTbDeleteTablesByType interface (with assistance from
6452 Fixed a problem with Serialized control methods where the semaphore
6453 associated with the method could be over-signaled after multiple method
6456 Fixed two issues with the locking of the internal namespace data
6458 Both the Unload() operator and AcpiUnloadTable interface now lock the
6459 namespace during the namespace deletion associated with the table unload
6460 (with assistance from Linn Crosetto.)
6462 Fixed problem reports (Valery Podrezov) integrated:
6463 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
6465 Fixed problem reports (Fiodor Suietov) integrated:
6466 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
6467 - On Address Space handler deletion, needless deactivation call (BZ 374)
6468 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
6470 - Possible memory leak, Notify sub-objects of Processor, Power,
6473 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
6474 - Minimum Length of RSDT should be validated (BZ 379)
6475 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
6477 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
6481 Example Code and Data Size: These are the sizes for the OS-independent
6482 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6483 debug version of the code includes the debug output trace mechanism and
6485 a much larger code and data size.
6488 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
6489 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
6491 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
6492 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
6495 2) iASL Compiler/Disassembler and Tools:
6497 Fixed problem reports:
6498 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
6501 ----------------------------------------
6502 23 June 2006. Summary of changes for version 20060623:
6504 1) ACPI CA Core Subsystem:
6506 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
6507 allows the type to be customized to the host OS for improved efficiency
6508 (since a spinlock is usually a very small object.)
6510 Implemented support for "ignored" bits in the ACPI registers. According
6512 the ACPI specification, these bits should be preserved when writing the
6513 registers via a read/modify/write cycle. There are 3 bits preserved in
6515 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
6517 Implemented the initial deployment of new OSL mutex interfaces. Since
6519 host operating systems have separate mutex and semaphore objects, this
6520 feature was requested. The base code now uses mutexes (and the new mutex
6521 interfaces) wherever a binary semaphore was used previously. However, for
6522 the current release, the mutex interfaces are defined as macros to map
6524 to the existing semaphore interfaces. Therefore, no OSL changes are
6526 at this time. (See acpiosxf.h)
6528 Fixed several problems with the support for the control method SyncLevel
6529 parameter. The SyncLevel now works according to the ACPI specification
6531 in concert with the Mutex SyncLevel parameter, since the current
6533 is a property of the executing thread. Mutual exclusion for control
6535 is now implemented with a mutex instead of a semaphore.
6537 Fixed three instances of the use of the C shift operator in the bitfield
6538 support code (exfldio.c) to avoid the use of a shift value larger than
6540 target data width. The behavior of C compilers is undefined in this case
6542 can cause unpredictable results, and therefore the case must be detected
6544 avoided. (Fiodor Suietov)
6546 Added an info message whenever an SSDT or OEM table is loaded dynamically
6547 via the Load() or LoadTable() ASL operators. This should improve
6549 capability since it will show exactly what tables have been loaded
6551 the tables present in the RSDT/XSDT.)
6553 Example Code and Data Size: These are the sizes for the OS-independent
6554 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6555 debug version of the code includes the debug output trace mechanism and
6557 a much larger code and data size.
6560 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
6561 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
6563 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
6564 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
6567 2) iASL Compiler/Disassembler and Tools:
6569 No changes for this release.
6571 ----------------------------------------
6572 08 June 2006. Summary of changes for version 20060608:
6574 1) ACPI CA Core Subsystem:
6576 Converted the locking mutex used for the ACPI hardware to a spinlock.
6578 change should eliminate all problems caused by attempting to acquire a
6579 semaphore at interrupt level, and it means that all ACPICA external
6580 interfaces that directly access the ACPI hardware can be safely called
6582 interrupt level. OSL code that implements the semaphore interfaces should
6584 able to eliminate any workarounds for being called at interrupt level.
6586 Fixed a regression introduced in 20060526 where the ACPI device
6587 initialization could be prematurely aborted with an AE_NOT_FOUND if a
6589 did not have an optional _INI method.
6591 Fixed an IndexField issue where a write to the Data Register should be
6592 limited in size to the AccessSize (width) of the IndexField itself. (BZ
6596 Fixed problem reports (Valery Podrezov) integrated:
6597 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
6599 Fixed problem reports (Fiodor Suietov) integrated:
6600 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
6602 Removed four global mutexes that were obsolete and were no longer being
6605 Example Code and Data Size: These are the sizes for the OS-independent
6606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6607 debug version of the code includes the debug output trace mechanism and
6609 a much larger code and data size.
6612 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
6613 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
6615 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
6616 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
6619 2) iASL Compiler/Disassembler and Tools:
6621 Fixed a fault when using -g option (get tables from registry) on Windows
6624 Fixed problem reports integrated:
6625 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
6626 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
6628 - Global table revision override (-r) is ignored (BZ 413)
6630 ----------------------------------------
6631 26 May 2006. Summary of changes for version 20060526:
6633 1) ACPI CA Core Subsystem:
6635 Restructured, flattened, and simplified the internal interfaces for
6636 namespace object evaluation - resulting in smaller code, less CPU stack
6638 and fewer interfaces. (With assistance from Mikhail Kouzmich)
6640 Fixed a problem with the CopyObject operator where the first parameter
6642 not typed correctly for the parser, interpreter, compiler, and
6644 Caused various errors and unexpected behavior.
6646 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
6647 produced incorrect results with some C compilers. Since the behavior of C
6648 compilers when the shift value is larger than the datatype width is
6649 apparently not well defined, the interpreter now detects this condition
6651 simply returns zero as expected in all such cases. (BZ 395)
6653 Fixed problem reports (Valery Podrezov) integrated:
6654 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
6655 - Allow interpreter to handle nested method declarations (BZ 5361)
6657 Fixed problem reports (Fiodor Suietov) integrated:
6658 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
6660 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
6662 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
6663 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
6664 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
6665 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
6666 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
6667 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
6668 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
6670 - Status of the Global Initialization Handler call not used (BZ 366)
6671 - Incorrect object parameter to Global Initialization Handler (BZ 367)
6673 Example Code and Data Size: These are the sizes for the OS-independent
6674 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6675 debug version of the code includes the debug output trace mechanism and
6677 a much larger code and data size.
6680 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
6681 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
6683 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
6684 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
6687 2) iASL Compiler/Disassembler and Tools:
6689 Modified the parser to allow the names IO, DMA, and IRQ to be used as
6690 namespace identifiers with no collision with existing resource descriptor
6691 macro names. This provides compatibility with other ASL compilers and is
6692 most useful for disassembly/recompilation of existing tables without
6694 errors. (With assistance from Thomas Renninger)
6696 Disassembler: fixed an incorrect disassembly problem with the
6697 DataTableRegion and CopyObject operators. Fixed a possible fault during
6698 disassembly of some Alias operators.
6700 ----------------------------------------
6701 12 May 2006. Summary of changes for version 20060512:
6703 1) ACPI CA Core Subsystem:
6705 Replaced the AcpiOsQueueForExecution interface with a new interface named
6706 AcpiOsExecute. The major difference is that the new interface does not
6708 a Priority parameter, this appeared to be useless and has been replaced
6711 Type parameter. The Type tells the host what type of execution is being
6712 requested, such as global lock handler, notify handler, GPE handler, etc.
6713 This allows the host to queue and execute the request as appropriate for
6715 request type, possibly using different work queues and different
6717 for the various request types. This enables fixes for multithreading
6718 deadlock problems such as BZ #5534, and will require changes to all
6720 OS interface layers. (Alexey Starikovskiy and Bob Moore)
6722 Fixed a possible memory leak associated with the support for the so-
6724 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
6727 Fixed a problem with the Load() operator where a table load from an
6728 operation region could overwrite an internal table buffer by up to 7
6730 and cause alignment faults on IPF systems. (With assistance from Luming
6733 Example Code and Data Size: These are the sizes for the OS-independent
6734 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6735 debug version of the code includes the debug output trace mechanism and
6737 a much larger code and data size.
6740 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
6741 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
6743 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
6744 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
6748 2) iASL Compiler/Disassembler and Tools:
6750 Disassembler: Implemented support to cross reference the internal
6752 and automatically generate ASL External() statements for symbols not
6754 within the current table being disassembled. This will simplify the
6755 disassembly and recompilation of interdependent tables such as SSDTs
6757 these statements will no longer have to be added manually.
6759 Disassembler: Implemented experimental support to automatically detect
6760 invocations of external control methods and generate appropriate
6762 statements. This is problematic because the AML cannot be correctly
6764 until the number of arguments for each control method is known.
6766 standalone method invocations and invocations as the source operand of a
6767 Store() statement are supported.
6769 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
6770 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
6771 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
6772 more readable and likely closer to the original ASL source.
6774 ----------------------------------------
6775 21 April 2006. Summary of changes for version 20060421:
6777 1) ACPI CA Core Subsystem:
6779 Removed a device initialization optimization introduced in 20051216 where
6780 the _STA method was not run unless an _INI was also present for the same
6781 device. This optimization could cause problems because it could allow
6783 methods to be run within a not-present device subtree. (If a not-present
6784 device had no _INI, _STA would not be run, the not-present status would
6786 be discovered, and the children of the device would be incorrectly
6789 Implemented a new _STA optimization where namespace subtrees that do not
6790 contain _INI are identified and ignored during device initialization.
6791 Selectively running _STA can significantly improve boot time on large
6792 machines (with assistance from Len Brown.)
6794 Implemented support for the device initialization case where the returned
6795 _STA flags indicate a device not-present but functioning. In this case,
6797 is not run, but the device children are examined for presence, as per the
6800 Implemented an additional change to the IndexField support in order to
6801 conform to MS behavior. The value written to the Index Register is not
6802 simply a byte offset, it is a byte offset in units of the access width of
6803 the parent Index Field. (Fiodor Suietov)
6805 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
6806 interface is called during the creation of all AML operation regions, and
6807 allows the host OS to exert control over what addresses it will allow the
6808 AML code to access. Operation Regions whose addresses are disallowed will
6809 cause a runtime exception when they are actually accessed (will not
6811 or abort table loading.) See oswinxf or osunixxf for an example
6814 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
6815 interface allows the host OS to match the various "optional"
6816 interface/behavior strings for the _OSI predefined control method as
6817 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
6818 for an example implementation.
6820 Restructured and corrected various problems in the exception handling
6822 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
6823 (with assistance from Takayoshi Kochi.)
6825 Modified the Linux source converter to ignore quoted string literals
6827 converting identifiers from mixed to lower case. This will correct
6829 with the disassembler and other areas where such strings must not be
6832 The ACPI_FUNCTION_* macros no longer require quotes around the function
6833 name. This allows the Linux source converter to convert the names, now
6835 the converter ignores quoted strings.
6837 Example Code and Data Size: These are the sizes for the OS-independent
6838 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6839 debug version of the code includes the debug output trace mechanism and
6841 a much larger code and data size.
6845 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
6846 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
6848 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
6849 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
6852 2) iASL Compiler/Disassembler and Tools:
6854 Implemented 3 new warnings for iASL, and implemented multiple warning
6858 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
6860 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
6861 check for the possible timeout, a warning is issued.
6863 2) Useless operators: If an ASL operator does not specify an optional
6865 operand and it also does not use the function return value from the
6866 operator, a warning is issued since the operator effectively does
6869 3) Unreferenced objects: If a namespace object is created, but never
6870 referenced, a warning is issued. This is a warning level 2 since there
6872 cases where this is ok, such as when a secondary table is loaded that
6874 the unreferenced objects. Even so, care is taken to only flag objects
6876 don't look like they will ever be used. For example, the reserved methods
6877 (starting with an underscore) are usually not referenced because it is
6878 expected that the OS will invoke them.
6880 ----------------------------------------
6881 31 March 2006. Summary of changes for version 20060331:
6883 1) ACPI CA Core Subsystem:
6885 Implemented header file support for the following additional ACPI tables:
6886 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
6888 all current and known ACPI tables are now defined in the ACPICA headers
6890 are available for use by device drivers and other software.
6892 Implemented support to allow tables that contain ACPI names with invalid
6893 characters to be loaded. Previously, this would cause the table load to
6894 fail, but since there are several known cases of such tables on existing
6895 machines, this change was made to enable ACPI support for them. Also,
6897 matches the behavior of the Microsoft ACPI implementation.
6899 Fixed a couple regressions introduced during the memory optimization in
6901 20060317 release. The namespace node definition required additional
6902 reorganization and an internal datatype that had been changed to 8-bit
6904 restored to 32-bit. (Valery Podrezov)
6906 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
6907 could be passed through to AcpiOsReleaseObject which is unexpected. Such
6908 null pointers are now trapped and ignored, matching the behavior of the
6909 previous implementation before the deployment of AcpiOsReleaseObject.
6910 (Valery Podrezov, Fiodor Suietov)
6912 Fixed a memory mapping leak during the deletion of a SystemMemory
6914 region where a cached memory mapping was not deleted. This became a
6915 noticeable problem for operation regions that are defined within
6917 used control methods. (Dana Meyers)
6919 Reorganized the ACPI table header files into two main files: one for the
6920 ACPI tables consumed by the ACPICA core, and another for the
6922 ACPI tables that are consumed by the drivers and other software. The
6924 FADT definitions were merged into one common section and three different
6925 tables (ACPI 1.0, 1.0+, and 2.0)
6927 Example Code and Data Size: These are the sizes for the OS-independent
6928 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6929 debug version of the code includes the debug output trace mechanism and
6931 a much larger code and data size.
6934 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
6935 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
6937 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
6938 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
6941 2) iASL Compiler/Disassembler and Tools:
6943 Disassembler: Implemented support to decode and format all non-AML ACPI
6944 tables (tables other than DSDTs and SSDTs.) This includes the new tables
6945 added to the ACPICA headers, therefore all current and known ACPI tables
6949 Disassembler: The change to allow ACPI names with invalid characters also
6950 enables the disassembly of such tables. Invalid characters within names
6952 changed to '*' to make the name printable; the iASL compiler will still
6953 generate an error for such names, however, since this is an invalid ACPI
6956 Implemented an option for AcpiXtract (-a) to extract all tables found in
6958 input file. The default invocation extracts only the DSDTs and SSDTs.
6960 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
6961 makefile for the AcpiXtract utility.
6963 ----------------------------------------
6964 17 March 2006. Summary of changes for version 20060317:
6966 1) ACPI CA Core Subsystem:
6968 Implemented the use of a cache object for all internal namespace nodes.
6969 Since there are about 1000 static nodes in a typical system, this will
6970 decrease memory use for cache implementations that minimize per-
6972 overhead (such as a slab allocator.)
6974 Removed the reference count mechanism for internal namespace nodes, since
6976 was deemed unnecessary. This reduces the size of each namespace node by
6977 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
6979 and 32 bytes for the 64-bit case.
6981 Optimized several internal data structures to reduce object size on 64-
6983 platforms by packing data within the 64-bit alignment. This includes the
6984 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
6985 instances corresponding to the namespace objects.
6987 Added two new strings for the predefined _OSI method: "Windows 2001.1
6991 Split the allocation tracking mechanism out to a separate file, from
6992 utalloc.c to uttrack.c. This mechanism appears to be only useful for
6993 application-level code. Kernels may wish to not include uttrack.c in
6996 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
6998 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
7001 Code and Data Size: These are the sizes for the acpica.lib produced by
7003 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7005 driver or OSPM code. The debug version of the code includes the debug
7007 trace mechanism and has a much larger code and data size. Note that these
7008 values will vary depending on the efficiency of the compiler and the
7009 compiler options used during generation.
7012 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7013 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
7015 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
7016 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
7019 2) iASL Compiler/Disassembler and Tools:
7021 Implemented an ANSI C version of the acpixtract utility. This version
7023 automatically extract the DSDT and all SSDTs from the input acpidump text
7024 file and dump the binary output to separate files. It can also display a
7025 summary of the input file including the headers for each table found and
7026 will extract any single ACPI table, with any signature. (See
7027 source/tools/acpixtract)
7029 ----------------------------------------
7030 10 March 2006. Summary of changes for version 20060310:
7032 1) ACPI CA Core Subsystem:
7034 Tagged all external interfaces to the subsystem with the new
7035 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
7037 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
7038 macro. The default definition is NULL.
7040 Added the ACPI_THREAD_ID type for the return value from
7042 This allows the host to define this as necessary to simplify kernel
7043 integration. The default definition is ACPI_NATIVE_UINT.
7045 Fixed two interpreter problems related to error processing, the deletion
7047 objects, and placing invalid pointers onto the internal operator result
7048 stack. BZ 6028, 6151 (Valery Podrezov)
7050 Increased the reference count threshold where a warning is emitted for
7052 reference counts in order to eliminate unnecessary warnings on systems
7054 large namespaces (especially 64-bit.) Increased the value from 0x400 to
7057 Due to universal disagreement as to the meaning of the 'c' in the
7059 function, the ACPI_MEM_CALLOCATE macro has been renamed to
7060 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
7061 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
7064 Code and Data Size: These are the sizes for the acpica.lib produced by
7066 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7068 driver or OSPM code. The debug version of the code includes the debug
7070 trace mechanism and has a much larger code and data size. Note that these
7071 values will vary depending on the efficiency of the compiler and the
7072 compiler options used during generation.
7075 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
7076 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
7078 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7079 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
7082 2) iASL Compiler/Disassembler:
7084 Disassembler: implemented support for symbolic resource descriptor
7085 references. If a CreateXxxxField operator references a fixed offset
7088 resource descriptor, a name is assigned to the descriptor and the offset
7090 translated to the appropriate resource tag and pathname. The addition of
7091 this support brings the disassembled code very close to the original ASL
7092 source code and helps eliminate run-time errors when the disassembled
7094 is modified (and recompiled) in such a way as to invalidate the original
7097 Implemented support for a Descriptor Name as the last parameter to the
7099 Register() macro. This parameter was inadvertently left out of the ACPI
7100 specification, and will be added for ACPI 3.0b.
7102 Fixed a problem where the use of the "_OSI" string (versus the full path
7103 "\_OSI") caused an internal compiler error. ("No back ptr to op")
7105 Fixed a problem with the error message that occurs when an invalid string
7107 used for a _HID object (such as one with an embedded asterisk:
7109 The correct message is now displayed.
7111 ----------------------------------------
7112 17 February 2006. Summary of changes for version 20060217:
7114 1) ACPI CA Core Subsystem:
7116 Implemented a change to the IndexField support to match the behavior of
7118 Microsoft AML interpreter. The value written to the Index register is now
7120 byte offset, no longer an index based upon the width of the Data
7122 This should fix IndexField problems seen on some machines where the Data
7123 register is not exactly one byte wide. The ACPI specification will be
7124 clarified on this point.
7126 Fixed a problem where several resource descriptor types could overrun the
7127 internal descriptor buffer due to size miscalculation: VendorShort,
7128 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
7129 affect all platforms.
7131 Fixed a problem where individual resource descriptors were misaligned
7133 the internal buffer, causing alignment faults on IA64 platforms.
7135 Code and Data Size: These are the sizes for the acpica.lib produced by
7137 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
7139 driver or OSPM code. The debug version of the code includes the debug
7141 trace mechanism and has a much larger code and data size. Note that these
7142 values will vary depending on the efficiency of the compiler and the
7143 compiler options used during generation.
7146 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7147 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
7149 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
7150 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
7153 2) iASL Compiler/Disassembler:
7155 Implemented support for new reserved names: _WDG and _WED are Microsoft
7156 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
7157 defined method (Throttling Depth Limit.)
7159 Fixed a problem where a zero-length VendorShort or VendorLong resource
7160 descriptor was incorrectly emitted as a descriptor of length one.
7162 ----------------------------------------
7163 10 February 2006. Summary of changes for version 20060210:
7165 1) ACPI CA Core Subsystem:
7167 Removed a couple of extraneous ACPI_ERROR messages that appeared during
7168 normal execution. These became apparent after the conversion from
7171 Fixed a problem where the CreateField operator could hang if the BitIndex
7173 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
7175 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
7176 failed with an exception. This also fixes a couple of related RefOf and
7177 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
7179 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
7181 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
7185 Implemented a memory cleanup at the end of the execution of each
7187 of an AML While() loop, preventing the accumulation of outstanding
7189 (Valery Podrezov, BZ 5427)
7191 Eliminated a chunk of duplicate code in the object resolution code.
7195 Fixed several warnings during the 64-bit code generation.
7197 The AcpiSrc source code conversion tool now inserts one line of
7199 after an if() statement that is followed immediately by a comment,
7201 readability of the Linux code.
7203 Code and Data Size: The current and previous library sizes for the core
7204 subsystem are shown below. These are the code and data sizes for the
7205 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7207 values do not include any ACPI driver or OSPM code. The debug version of
7209 code includes the debug output trace mechanism and has a much larger code
7210 and data size. Note that these values will vary depending on the
7212 of the compiler and the compiler options used during generation.
7215 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
7216 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
7218 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
7219 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
7222 2) iASL Compiler/Disassembler:
7224 Fixed a problem with the disassembly of a BankField operator with a
7226 expression for the BankValue parameter.
7228 ----------------------------------------
7229 27 January 2006. Summary of changes for version 20060127:
7231 1) ACPI CA Core Subsystem:
7233 Implemented support in the Resource Manager to allow unresolved
7235 references within resource package objects for the _PRT method. This
7237 is in addition to the previously implemented unresolved reference support
7238 within the AML parser. If the interpreter slack mode is enabled, these
7239 unresolved references will be passed through to the caller as a NULL
7243 Implemented and deployed new macros and functions for error and warning
7244 messages across the subsystem. These macros are simpler and generate less
7245 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
7246 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
7247 macros remain defined to allow ACPI drivers time to migrate to the new
7250 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
7252 Acquire/Release Lock OSL interfaces.
7254 Fixed a problem where Alias ASL operators are sometimes not correctly
7255 resolved, in both the interpreter and the iASL compiler.
7257 Fixed several problems with the implementation of the
7258 ConcatenateResTemplate
7259 ASL operator. As per the ACPI specification, zero length buffers are now
7260 treated as a single EndTag. One-length buffers always cause a fatal
7261 exception. Non-zero length buffers that do not end with a full 2-byte
7263 cause a fatal exception.
7265 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
7266 interface. (With assistance from Thomas Renninger)
7268 Code and Data Size: The current and previous library sizes for the core
7269 subsystem are shown below. These are the code and data sizes for the
7270 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7272 values do not include any ACPI driver or OSPM code. The debug version of
7274 code includes the debug output trace mechanism and has a much larger code
7275 and data size. Note that these values will vary depending on the
7277 of the compiler and the compiler options used during generation.
7280 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
7281 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
7283 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
7284 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
7287 2) iASL Compiler/Disassembler:
7289 Fixed an internal error that was generated for any forward references to
7293 ----------------------------------------
7294 13 January 2006. Summary of changes for version 20060113:
7296 1) ACPI CA Core Subsystem:
7298 Added 2006 copyright to all module headers and signons. This affects
7299 virtually every file in the ACPICA core subsystem, iASL compiler, and the
7302 Enhanced the ACPICA error reporting in order to simplify user migration
7304 the non-debug version of ACPICA. Replaced all instances of the
7305 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
7307 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
7308 respectively. This preserves all error and warning messages in the non-
7310 version of the ACPICA code (this has been referred to as the "debug lite"
7311 option.) Over 200 cases were converted to create a total of over 380
7312 error/warning messages across the ACPICA code. This increases the code
7314 data size of the default non-debug version of the code somewhat (about
7316 but all error/warning reporting may be disabled if desired (and code
7317 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
7318 configuration option. The size of the debug version of ACPICA remains
7322 Fixed a memory leak within the AML Debugger "Set" command. One object was
7323 not properly deleted for every successful invocation of the command.
7325 Code and Data Size: The current and previous library sizes for the core
7326 subsystem are shown below. These are the code and data sizes for the
7327 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7329 values do not include any ACPI driver or OSPM code. The debug version of
7331 code includes the debug output trace mechanism and has a much larger code
7332 and data size. Note that these values will vary depending on the
7334 of the compiler and the compiler options used during generation.
7337 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
7338 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
7340 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
7341 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
7344 2) iASL Compiler/Disassembler:
7346 The compiler now officially supports the ACPI 3.0a specification that was
7347 released on December 30, 2005. (Specification is available at
7350 ----------------------------------------
7351 16 December 2005. Summary of changes for version 20051216:
7353 1) ACPI CA Core Subsystem:
7355 Implemented optional support to allow unresolved names within ASL Package
7356 objects. A null object is inserted in the package when a named reference
7357 cannot be located in the current namespace. Enabled via the interpreter
7358 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
7360 that contain such code.
7362 Implemented an optimization to the initialization sequence that can
7364 boot time. During ACPI device initialization, the _STA method is now run
7366 and only if the _INI method exists. The _STA method is used to determine
7368 the device is present; An _INI can only be run if _STA returns present,
7370 it is a waste of time to run the _STA method if the _INI does not exist.
7371 (Prototype and assistance from Dong Wei)
7373 Implemented use of the C99 uintptr_t for the pointer casting macros if it
7375 available in the current compiler. Otherwise, the default (void *) cast
7379 Fixed some possible memory leaks found within the execution path of the
7380 Break, Continue, If, and CreateField operators. (Valery Podrezov)
7382 Fixed a problem introduced in the 20051202 release where an exception is
7383 generated during method execution if a control method attempts to declare
7386 Moved resource descriptor string constants that are used by both the AML
7387 disassembler and AML debugger to the common utilities directory so that
7388 these components are independent.
7390 Implemented support in the AcpiExec utility (-e switch) to globally
7392 exceptions during control method execution (method is not aborted.)
7394 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
7397 Code and Data Size: The current and previous library sizes for the core
7398 subsystem are shown below. These are the code and data sizes for the
7399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7401 values do not include any ACPI driver or OSPM code. The debug version of
7403 code includes the debug output trace mechanism and has a much larger code
7404 and data size. Note that these values will vary depending on the
7406 of the compiler and the compiler options used during generation.
7409 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7410 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
7412 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
7413 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
7416 2) iASL Compiler/Disassembler:
7418 Fixed a problem where a CPU stack overflow fault could occur if a
7420 method call was made from within a Return statement.
7422 ----------------------------------------
7423 02 December 2005. Summary of changes for version 20051202:
7425 1) ACPI CA Core Subsystem:
7427 Modified the parsing of control methods to no longer create namespace
7428 objects during the first pass of the parse. Objects are now created only
7429 during the execute phase, at the moment the namespace creation operator
7431 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
7433 should eliminate ALREADY_EXISTS exceptions seen on some machines where
7434 reentrant control methods are protected by an AML mutex. The mutex will
7436 correctly block multiple threads from attempting to create the same
7440 Increased the number of available Owner Ids for namespace object tracking
7441 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
7443 some machines with a large number of ACPI tables (either static or
7446 Fixed a problem with the AcpiExec utility where a fault could occur when
7448 -b switch (batch mode) is used.
7450 Enhanced the namespace dump routine to output the owner ID for each
7453 Code and Data Size: The current and previous library sizes for the core
7454 subsystem are shown below. These are the code and data sizes for the
7455 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7457 values do not include any ACPI driver or OSPM code. The debug version of
7459 code includes the debug output trace mechanism and has a much larger code
7460 and data size. Note that these values will vary depending on the
7462 of the compiler and the compiler options used during generation.
7465 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7466 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7468 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7469 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
7472 2) iASL Compiler/Disassembler:
7474 Fixed a parse error during compilation of certain Switch/Case constructs.
7476 simplify the parse, the grammar now allows for multiple Default
7478 and this error is now detected and flagged during the analysis phase.
7480 Disassembler: The disassembly now includes the contents of the original
7481 table header within a comment at the start of the file. This includes the
7482 name and version of the original ASL compiler.
7484 ----------------------------------------
7485 17 November 2005. Summary of changes for version 20051117:
7487 1) ACPI CA Core Subsystem:
7489 Fixed a problem in the AML parser where the method thread count could be
7490 decremented below zero if any errors occurred during the method parse
7492 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
7494 This also fixed a related regression with the mechanism that detects and
7495 corrects methods that cannot properly handle reentrancy (related to the
7496 deployment of the new OwnerId mechanism.)
7498 Eliminated the pre-parsing of control methods (to detect errors) during
7499 table load. Related to the problem above, this was causing unwind issues
7501 any errors occurred during the parse, and it seemed to be overkill. A
7503 load should not be aborted if there are problems with any single control
7504 method, thus rendering this feature rather pointless.
7506 Fixed a problem with the new table-driven resource manager where an
7508 buffer overflow could occur for small resource templates.
7510 Implemented a new external interface, AcpiGetVendorResource. This
7512 will find and return a vendor-defined resource descriptor within a _CRS
7514 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
7517 Removed the length limit (200) on string objects as per the upcoming ACPI
7518 3.0A specification. This affects the following areas of the interpreter:
7520 any implicit conversion of a Buffer to a String, 2) a String object
7522 of the ASL Concatentate operator, 3) the String object result of the ASL
7525 Fixed a problem in the Windows OS interface layer (OSL) where a
7527 on a semaphore object would incorrectly timeout. This allows the
7528 multithreading features of the AcpiExec utility to work properly under
7531 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
7532 the recently added file named "utresrc.c".
7534 Code and Data Size: The current and previous library sizes for the core
7535 subsystem are shown below. These are the code and data sizes for the
7536 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7538 values do not include any ACPI driver or OSPM code. The debug version of
7540 code includes the debug output trace mechanism and has a much larger code
7541 and data size. Note that these values will vary depending on the
7543 of the compiler and the compiler options used during generation.
7546 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
7547 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7549 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
7550 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7553 2) iASL Compiler/Disassembler:
7555 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
7556 specification. For the iASL compiler, this means that string literals
7558 the source ASL can be of any length.
7560 Enhanced the listing output to dump the AML code for resource descriptors
7561 immediately after the ASL code for each descriptor, instead of in a block
7563 the end of the entire resource template.
7565 Enhanced the compiler debug output to dump the entire original parse tree
7566 constructed during the parse phase, before any transforms are applied to
7568 tree. The transformed tree is dumped also.
7570 ----------------------------------------
7571 02 November 2005. Summary of changes for version 20051102:
7573 1) ACPI CA Core Subsystem:
7575 Modified the subsystem initialization sequence to improve GPE support.
7577 GPE initialization has been split into two parts in order to defer
7579 of the _PRW methods (Power Resources for Wake) until after the hardware
7581 fully initialized and the SCI handler is installed. This allows the _PRW
7582 methods to access fields protected by the Global Lock. This will fix
7584 where a NO_GLOBAL_LOCK exception has been seen during initialization.
7586 Converted the ACPI internal object disassemble and display code within
7588 AML debugger to fully table-driven operation, reducing code size and
7589 increasing maintainability.
7591 Fixed a regression with the ConcatenateResTemplate() ASL operator
7593 in the 20051021 release.
7595 Implemented support for "local" internal ACPI object types within the
7596 debugger "Object" command and the AcpiWalkNamespace external interfaces.
7597 These local types include RegionFields, BankFields, IndexFields, Alias,
7601 Moved common AML resource handling code into a new file, "utresrc.c".
7603 code is shared by both the Resource Manager and the AML Debugger.
7605 Code and Data Size: The current and previous library sizes for the core
7606 subsystem are shown below. These are the code and data sizes for the
7607 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7609 values do not include any ACPI driver or OSPM code. The debug version of
7611 code includes the debug output trace mechanism and has a much larger code
7612 and data size. Note that these values will vary depending on the
7614 of the compiler and the compiler options used during generation.
7617 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
7618 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
7620 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
7621 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
7624 2) iASL Compiler/Disassembler:
7626 Fixed a problem with very large initializer lists (more than 4000
7628 for both Buffer and Package objects where the parse stack could overflow.
7630 Enhanced the pre-compile source code scan for non-ASCII characters to
7632 characters within comment fields. The scan is now always performed and is
7634 longer optional, detecting invalid characters within a source file
7635 immediately rather than during the parse phase or later.
7637 Enhanced the ASL grammar definition to force early reductions on all
7639 style grammar elements so that the overall parse stack usage is greatly
7640 reduced. This should improve performance and reduce the possibility of
7644 Eliminated all reduce/reduce conflicts in the iASL parser generation.
7646 with the addition of a %expected statement, the compiler generates from
7647 source with no warnings.
7649 Fixed a possible segment fault in the disassembler if the input filename
7650 does not contain a "dot" extension (Thomas Renninger).
7652 ----------------------------------------
7653 21 October 2005. Summary of changes for version 20051021:
7655 1) ACPI CA Core Subsystem:
7657 Implemented support for the EM64T and other x86-64 processors. This
7658 essentially entails recognizing that these processors support non-aligned
7659 memory transfers. Previously, all 64-bit processors were assumed to lack
7660 hardware support for non-aligned transfers.
7662 Completed conversion of the Resource Manager to nearly full table-driven
7663 operation. Specifically, the resource conversion code (convert AML to
7664 internal format and the reverse) and the debug code to dump internal
7665 resource descriptors are fully table-driven, reducing code and data size
7667 improving maintainability.
7669 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
7671 on 64-bit processors instead of a fixed 32-bit word. (With assistance
7673 Alexey Starikovskiy)
7675 Implemented support within the resource conversion code for the Type-
7676 Specific byte within the various ACPI 3.0 *WordSpace macros.
7678 Fixed some issues within the resource conversion code for the type-
7680 flags for both Memory and I/O address resource descriptors. For Memory,
7681 implemented support for the MTP and TTP flags. For I/O, split the TRS and
7682 TTP flags into two separate fields.
7684 Code and Data Size: The current and previous library sizes for the core
7685 subsystem are shown below. These are the code and data sizes for the
7686 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7688 values do not include any ACPI driver or OSPM code. The debug version of
7690 code includes the debug output trace mechanism and has a much larger code
7691 and data size. Note that these values will vary depending on the
7693 of the compiler and the compiler options used during generation.
7696 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
7697 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
7699 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
7700 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
7704 2) iASL Compiler/Disassembler:
7706 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
7708 corresponding ResourceSource string was not also present in a resource
7709 descriptor declaration. This restriction caused problems with existing
7710 AML/ASL code that includes the Index byte without the string. When such
7712 was disassembled, it could not be compiled without modification. Further,
7713 the modified code created a resource template with a different size than
7715 original, breaking code that used fixed offsets into the resource
7719 Removed a recent feature of the disassembler to ignore a lone
7721 byte. This byte is now emitted if present so that the exact AML can be
7722 reproduced when the disassembled code is recompiled.
7724 Improved comments and text alignment for the resource descriptor code
7725 emitted by the disassembler.
7727 Implemented disassembler support for the ACPI 3.0 AccessSize field within
7729 Register() resource descriptor.
7731 ----------------------------------------
7732 30 September 2005. Summary of changes for version 20050930:
7734 1) ACPI CA Core Subsystem:
7736 Completed a major overhaul of the Resource Manager code - specifically,
7737 optimizations in the area of the AML/internal resource conversion code.
7739 code has been optimized to simplify and eliminate duplicated code, CPU
7741 use has been decreased by optimizing function parameters and local
7742 variables, and naming conventions across the manager have been
7744 for clarity and ease of maintenance (this includes function, parameter,
7745 variable, and struct/typedef names.) The update may force changes in some
7746 driver code, depending on how resources are handled by the host OS.
7748 All Resource Manager dispatch and information tables have been moved to a
7749 single location for clarity and ease of maintenance. One new file was
7750 created, named "rsinfo.c".
7752 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
7753 guarantee that the argument is not evaluated twice, making them less
7755 to macro side-effects. However, since there exists the possibility of
7756 additional stack use if a particular compiler cannot optimize them (such
7758 in the debug generation case), the original macros are optionally
7760 Note that some invocations of the return_VALUE macro may now cause size
7761 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
7763 eliminate these. (From Randy Dunlap)
7765 Implemented a new mechanism to enable debug tracing for individual
7767 methods. A new external interface, AcpiDebugTrace, is provided to enable
7768 this mechanism. The intent is to allow the host OS to easily enable and
7769 disable tracing for problematic control methods. This interface can be
7770 easily exposed to a user or debugger interface if desired. See the file
7771 psxface.c for details.
7773 AcpiUtCallocate will now return a valid pointer if a length of zero is
7774 specified - a length of one is used and a warning is issued. This matches
7775 the behavior of AcpiUtAllocate.
7777 Code and Data Size: The current and previous library sizes for the core
7778 subsystem are shown below. These are the code and data sizes for the
7779 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7781 values do not include any ACPI driver or OSPM code. The debug version of
7783 code includes the debug output trace mechanism and has a much larger code
7784 and data size. Note that these values will vary depending on the
7786 of the compiler and the compiler options used during generation.
7789 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
7790 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
7792 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
7793 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
7796 2) iASL Compiler/Disassembler:
7798 A remark is issued if the effective compile-time length of a package or
7799 buffer is zero. Previously, this was a warning.
7801 ----------------------------------------
7802 16 September 2005. Summary of changes for version 20050916:
7804 1) ACPI CA Core Subsystem:
7806 Fixed a problem within the Resource Manager where support for the Generic
7807 Register descriptor was not fully implemented. This descriptor is now
7809 recognized, parsed, disassembled, and displayed.
7811 Completely restructured the Resource Manager code to utilize table-driven
7812 dispatch and lookup, eliminating many of the large switch() statements.
7814 reduces overall subsystem code size and code complexity. Affects the
7815 resource parsing and construction, disassembly, and debug dump output.
7817 Cleaned up and restructured the debug dump output for all resource
7818 descriptors. Improved readability of the output and reduced code size.
7820 Fixed a problem where changes to internal data structures caused the
7821 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
7823 Code and Data Size: The current and previous library sizes for the core
7824 subsystem are shown below. These are the code and data sizes for the
7825 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
7827 values do not include any ACPI driver or OSPM code. The debug version of
7829 code includes the debug output trace mechanism and has a much larger code
7830 and data size. Note that these values will vary depending on the
7832 of the compiler and the compiler options used during generation.
7835 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
7836 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
7838 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
7839 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
7842 2) iASL Compiler/Disassembler:
7844 Updated the disassembler to automatically insert an EndDependentFn()
7846 into the ASL stream if this macro is missing in the original AML code,
7847 simplifying compilation of the resulting ASL module.
7849 Fixed a problem in the disassembler where a disassembled ResourceSource
7850 string (within a large resource descriptor) was not surrounded by quotes
7852 not followed by a comma, causing errors when the resulting ASL module was
7853 compiled. Also, escape sequences within a ResourceSource string are now
7854 handled correctly (especially "\\")
7856 ----------------------------------------
7857 02 September 2005. Summary of changes for version 20050902:
7859 1) ACPI CA Core Subsystem:
7861 Fixed a problem with the internal Owner ID allocation and deallocation
7862 mechanisms for control method execution and recursive method invocation.
7863 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
7864 messages seen on some systems. Recursive method invocation depth is
7865 currently limited to 255. (Alexey Starikovskiy)
7867 Completely eliminated all vestiges of support for the "module-level
7868 executable code" until this support is fully implemented and debugged.
7870 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
7871 some systems that invoke this support.
7873 Fixed a problem within the resource manager code where the transaction
7875 for a 64-bit address descriptor were handled incorrectly in the type-
7878 Consolidated duplicate code within the address descriptor resource
7880 code, reducing overall subsystem code size.
7882 Fixed a fault when using the AML debugger "disassemble" command to
7883 disassemble individual control methods.
7885 Removed references to the "release_current" directory within the Unix
7888 Code and Data Size: The current and previous core subsystem library sizes
7889 are shown below. These are the code and data sizes for the acpica.lib
7890 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
7891 include any ACPI driver or OSPM code. The debug version of the code
7893 the debug output trace mechanism and has a much larger code and data
7895 Note that these values will vary depending on the efficiency of the
7897 and the compiler options used during generation.
7900 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
7901 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
7903 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
7904 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
7907 2) iASL Compiler/Disassembler:
7909 Implemented an error check for illegal duplicate values in the interrupt
7911 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
7914 Implemented error checking for the Irq() and IrqNoFlags() macros to
7916 too many values in the interrupt list (16 max) and invalid values in the
7919 The maximum length string literal within an ASL file is now restricted to
7920 200 characters as per the ACPI specification.
7922 Fixed a fault when using the -ln option (generate namespace listing).
7924 Implemented an error check to determine if a DescriptorName within a
7925 resource descriptor has already been used within the current scope.
7927 ----------------------------------------
7928 15 August 2005. Summary of changes for version 20050815:
7930 1) ACPI CA Core Subsystem:
7932 Implemented a full bytewise compare to determine if a table load request
7934 attempting to load a duplicate table. The compare is performed if the
7936 signatures and table lengths match. This will allow different tables with
7937 the same OEM Table ID and revision to be loaded - probably against the
7939 specification, but discovered in the field nonetheless.
7941 Added the changes.txt logfile to each of the zipped release packages.
7943 Code and Data Size: Current and previous core subsystem library sizes are
7944 shown below. These are the code and data sizes for the acpica.lib
7946 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7947 any ACPI driver or OSPM code. The debug version of the code includes the
7948 debug output trace mechanism and has a much larger code and data size.
7950 that these values will vary depending on the efficiency of the compiler
7952 the compiler options used during generation.
7955 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
7956 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
7958 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
7959 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
7962 2) iASL Compiler/Disassembler:
7964 Fixed a problem where incorrect AML code could be generated for Package
7965 objects if optimization is disabled (via the -oa switch).
7967 Fixed a problem with where incorrect AML code is generated for variable-
7968 length packages when the package length is not specified and the number
7970 initializer values is greater than 255.
7973 ----------------------------------------
7974 29 July 2005. Summary of changes for version 20050729:
7976 1) ACPI CA Core Subsystem:
7978 Implemented support to ignore an attempt to install/load a particular
7980 table more than once. Apparently there exists BIOS code that repeatedly
7981 attempts to load the same SSDT upon certain events. With assistance from
7982 Venkatesh Pallipadi.
7984 Restructured the main interface to the AML parser in order to correctly
7985 handle all exceptional conditions. This will prevent leakage of the
7987 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
7989 machines. With assistance from Alexey Starikovskiy.
7991 Support for "module level code" has been disabled in this version due to
7993 number of issues that have appeared on various machines. The support can
7995 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
7996 compilation. When the issues are fully resolved, the code will be enabled
8000 Modified the internal functions for debug print support to define the
8001 FunctionName parameter as a (const char *) for compatibility with
8003 built-in macros such as __FUNCTION__, etc.
8005 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
8007 Implemented support to display an object count summary for the AML
8009 commands Object and Methods.
8011 Code and Data Size: Current and previous core subsystem library sizes are
8012 shown below. These are the code and data sizes for the acpica.lib
8014 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8015 any ACPI driver or OSPM code. The debug version of the code includes the
8016 debug output trace mechanism and has a much larger code and data size.
8018 that these values will vary depending on the efficiency of the compiler
8020 the compiler options used during generation.
8023 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
8024 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
8026 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
8027 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
8030 2) iASL Compiler/Disassembler:
8032 Fixed a regression that appeared in the 20050708 version of the compiler
8033 where an error message was inadvertently emitted for invocations of the
8035 reserved control method.
8037 ----------------------------------------
8038 08 July 2005. Summary of changes for version 20050708:
8040 1) ACPI CA Core Subsystem:
8042 The use of the CPU stack in the debug version of the subsystem has been
8043 considerably reduced. Previously, a debug structure was declared in every
8044 function that used the debug macros. This structure has been removed in
8045 favor of declaring the individual elements as parameters to the debug
8046 functions. This reduces the cumulative stack use during nested execution
8048 ACPI function calls at the cost of a small increase in the code size of
8050 debug version of the subsystem. With assistance from Alexey Starikovskiy
8054 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
8055 headers to define a macro that will return the current function name at
8056 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
8058 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
8059 compiler-dependent header, the function name is saved on the CPU stack
8061 pointer per function.) This mechanism is used because apparently there
8062 exists no standard ANSI-C defined macro that that returns the function
8065 Redesigned and reimplemented the "Owner ID" mechanism used to track
8066 namespace objects created/deleted by ACPI tables and control method
8067 execution. A bitmap is now used to allocate and free the IDs, thus
8069 the wraparound problem present in the previous implementation. The size
8071 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
8074 Removed the UINT32_BIT and UINT16_BIT types that were used for the
8076 flag definitions within the headers for the predefined ACPI tables. These
8077 have been replaced by UINT8_BIT in order to increase the code portability
8079 the subsystem. If the use of UINT8 remains a problem, we may be forced to
8080 eliminate bitfields entirely because of a lack of portability.
8082 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
8084 is a frequently used function and this improvement increases the
8086 of the entire subsystem (Alexey Starikovskiy).
8088 Fixed several possible memory leaks and the inverse - premature object
8089 deletion (Alexey Starikovskiy).
8091 Code and Data Size: Current and previous core subsystem library sizes are
8092 shown below. These are the code and data sizes for the acpica.lib
8094 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8095 any ACPI driver or OSPM code. The debug version of the code includes the
8096 debug output trace mechanism and has a much larger code and data size.
8098 that these values will vary depending on the efficiency of the compiler
8100 the compiler options used during generation.
8103 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
8104 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
8106 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
8107 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
8109 ----------------------------------------
8110 24 June 2005. Summary of changes for version 20050624:
8112 1) ACPI CA Core Subsystem:
8114 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
8115 the host-defined cache object. This allows the OSL implementation to
8117 and type this object in any manner desired, simplifying the OSL
8118 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
8119 Linux, and should be defined in the OS-specific header file for other
8120 operating systems as required.
8122 Changed the interface to AcpiOsAcquireObject to directly return the
8123 requested object as the function return (instead of ACPI_STATUS.) This
8124 change was made for performance reasons, since this is the purpose of the
8125 interface in the first place. AcpiOsAcquireObject is now similar to the
8126 AcpiOsAllocate interface.
8128 Implemented a new AML debugger command named Businfo. This command
8130 information about all devices that have an associate _PRT object. The
8132 _HID, _UID, and _CID are displayed for these devices.
8134 Modified the initialization sequence in AcpiInitializeSubsystem to call
8136 OSL interface AcpiOslInitialize first, before any local initialization.
8138 change was required because the global initialization now calls OSL
8141 Enhanced the Dump command to display the entire contents of Package
8143 (including all sub-objects and their values.)
8145 Restructured the code base to split some files because of size and/or
8146 because the code logically belonged in a separate file. New files are
8148 below. All makefiles and project files included in the ACPI CA release
8151 utilities/utcache.c /* Local cache interfaces */
8152 utilities/utmutex.c /* Local mutex support */
8153 utilities/utstate.c /* State object support */
8154 interpreter/parser/psloop.c /* Main AML parse loop */
8156 Code and Data Size: Current and previous core subsystem library sizes are
8157 shown below. These are the code and data sizes for the acpica.lib
8159 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8160 any ACPI driver or OSPM code. The debug version of the code includes the
8161 debug output trace mechanism and has a much larger code and data size.
8163 that these values will vary depending on the efficiency of the compiler
8165 the compiler options used during generation.
8168 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
8169 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
8171 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
8172 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
8175 2) iASL Compiler/Disassembler:
8177 Fixed a regression introduced in version 20050513 where the use of a
8179 object within a Case() statement caused a compile time exception. The
8180 original behavior has been restored (a Match() operator is emitted.)
8182 ----------------------------------------
8183 17 June 2005. Summary of changes for version 20050617:
8185 1) ACPI CA Core Subsystem:
8187 Moved the object cache operations into the OS interface layer (OSL) to
8189 the host OS to handle these operations if desired (for example, the Linux
8190 OSL will invoke the slab allocator). This support is optional; the
8192 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
8194 code in the ACPI CA core. The new OSL interfaces are shown below. See
8195 utalloc.c for an example implementation, and acpiosxf.h for the exact
8196 interface definitions. With assistance from Alexey Starikovskiy.
8203 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
8205 and restore a flags parameter. This fits better with many OS lock models.
8206 Note: the current execution state (interrupt handler or not) is no longer
8207 passed to these interfaces. If necessary, the OSL must determine this
8209 by itself, a simple and fast operation. With assistance from Alexey
8212 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
8213 present if the revision of the RSDP was 2 or greater. According to the
8215 specification, the XSDT is optional in all cases, and the table manager
8216 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
8217 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
8221 Fixed an interpreter problem with the Mid() operator in the case of an
8223 string where the resulting output string is of zero length. It now
8225 returns a valid, null terminated string object instead of a string object
8226 with a null pointer.
8228 Fixed a problem with the control method argument handling to allow a
8230 to an Arg object that already contains an object of type Device. The
8232 object is now correctly overwritten. Previously, an error was returned.
8235 Enhanced the debugger Find command to emit object values in addition to
8237 found object pathnames. The output format is the same as the dump
8241 Enhanced the debugger Set command. It now has the ability to set the
8243 of any Named integer object in the namespace (Previously, only method
8245 and args could be set.)
8247 Code and Data Size: Current and previous core subsystem library sizes are
8248 shown below. These are the code and data sizes for the acpica.lib
8250 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8251 any ACPI driver or OSPM code. The debug version of the code includes the
8252 debug output trace mechanism and has a much larger code and data size.
8254 that these values will vary depending on the efficiency of the compiler
8256 the compiler options used during generation.
8259 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
8260 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
8262 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
8263 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
8266 2) iASL Compiler/Disassembler:
8268 Fixed a regression in the disassembler where if/else/while constructs
8270 output incorrectly. This problem was introduced in the previous release
8271 (20050526). This problem also affected the single-step disassembly in the
8274 Fixed a problem where compiling the reserved _OSI method would randomly
8276 rarely) produce compile errors.
8278 Enhanced the disassembler to emit compilable code in the face of
8280 AML resource descriptors. If the optional ResourceSourceIndex is present,
8281 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
8282 disassembly. Otherwise, the resulting code cannot be compiled without
8285 ----------------------------------------
8286 26 May 2005. Summary of changes for version 20050526:
8288 1) ACPI CA Core Subsystem:
8290 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
8291 the module level (not within a control method.) These opcodes are
8293 exactly once at the time the table is loaded. This type of code was legal
8295 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
8297 order to provide backwards compatibility with earlier BIOS
8299 This eliminates the "Encountered executable code at module level" warning
8300 that was previously generated upon detection of such code.
8302 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
8303 inadvertently be generated during the lookup of namespace objects in the
8304 second pass parse of ACPI tables and control methods. It appears that
8306 problem could occur during the resolution of forward references to
8310 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
8311 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
8312 allows the deadlock detection debug code to be compiled out in the normal
8313 case, improving mutex performance (and overall subsystem performance)
8316 Implemented a handful of miscellaneous fixes for possible memory leaks on
8317 error conditions and error handling control paths. These fixes were
8318 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
8320 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
8322 to prevent a fault in this error case.
8324 Code and Data Size: Current and previous core subsystem library sizes are
8325 shown below. These are the code and data sizes for the acpica.lib
8327 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8328 any ACPI driver or OSPM code. The debug version of the code includes the
8329 debug output trace mechanism and has a much larger code and data size.
8331 that these values will vary depending on the efficiency of the compiler
8333 the compiler options used during generation.
8336 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8337 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8339 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
8340 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
8343 2) iASL Compiler/Disassembler:
8345 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
8346 the module level (not within a control method.) These operators will be
8347 executed once at the time the table is loaded. This type of code was
8349 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
8350 compiler in order to provide backwards compatibility with earlier BIOS
8354 The ACPI integer width (specified via the table revision ID or the -r
8355 override, 32 or 64 bits) is now used internally during compile-time
8357 folding to ensure that constants are truncated to 32 bits if necessary.
8358 Previously, the revision ID value was only emitted in the AML table
8361 An error message is now generated for the Mutex and Method operators if
8363 SyncLevel parameter is outside the legal range of 0 through 15.
8365 Fixed a problem with the Method operator ParameterTypes list handling
8367 3.0). Previously, more than 2 types or 2 arguments generated a syntax
8369 The actual underlying implementation of method argument typechecking is
8370 still under development, however.
8372 ----------------------------------------
8373 13 May 2005. Summary of changes for version 20050513:
8375 1) ACPI CA Core Subsystem:
8377 Implemented support for PCI Express root bridges -- added support for
8379 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
8381 The interpreter now automatically truncates incoming 64-bit constants to
8383 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
8385 also affects the iASL compiler constant folding. (Note: as per below, the
8386 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
8388 Fixed a problem where string and buffer objects with "static" pointers
8389 (pointers to initialization data within an ACPI table) were not handled
8390 consistently. The internal object copy operation now always copies the
8392 to a newly allocated buffer, regardless of whether the source object is
8395 Fixed a problem with the FromBCD operator where an implicit result
8396 conversion was improperly performed while storing the result to the
8398 operand. Since this is an "explicit conversion" operator, the implicit
8399 conversion should never be performed on the output.
8401 Fixed a problem with the CopyObject operator where a copy to an existing
8402 named object did not always completely overwrite the existing object
8404 at name. Specifically, a buffer-to-buffer copy did not delete the
8408 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
8410 structs for consistency.
8412 Code and Data Size: Current and previous core subsystem library sizes are
8413 shown below. These are the code and data sizes for the acpica.lib
8415 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8416 any ACPI driver or OSPM code. The debug version of the code includes the
8417 debug output trace mechanism and has a much larger code and data size.
8419 that these values will vary depending on the efficiency of the compiler
8421 the compiler options used during generation.
8424 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8425 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8426 Current Release: (Same sizes)
8427 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8428 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8431 2) iASL Compiler/Disassembler:
8433 The compiler now emits a warning if an attempt is made to generate a 64-
8435 integer constant from within a 32-bit ACPI table (Revision < 2). The
8437 is truncated to 32 bits.
8439 Fixed a problem with large package objects: if the static length of the
8440 package is greater than 255, the "variable length package" opcode is
8441 emitted. Previously, this caused an error. This requires an update to the
8442 ACPI spec, since it currently (incorrectly) states that packages larger
8444 255 elements are not allowed.
8446 The disassembler now correctly handles variable length packages and
8448 larger than 255 elements.
8450 ----------------------------------------
8451 08 April 2005. Summary of changes for version 20050408:
8453 1) ACPI CA Core Subsystem:
8455 Fixed three cases in the interpreter where an "index" argument to an ASL
8456 function was still (internally) 32 bits instead of the required 64 bits.
8457 This was the Index argument to the Index, Mid, and Match operators.
8459 The "strupr" function is now permanently local (AcpiUtStrupr), since this
8461 not a POSIX-defined function and not present in most kernel-level C
8462 libraries. All references to the C library strupr function have been
8466 Completed the deployment of static functions/prototypes. All prototypes
8468 the static attribute have been moved from the headers to the owning C
8471 Implemented an extract option (-e) for the AcpiBin utility (AML binary
8472 utility). This option allows the utility to extract individual ACPI
8474 from the output of AcpiDmp. It provides the same functionality of the
8475 acpixtract.pl perl script without the worry of setting the correct perl
8476 options. AcpiBin runs on Windows and has not yet been generated/validated
8478 the Linux/Unix environment (but should be soon).
8480 Updated and fixed the table dump option for AcpiBin (-d). This option
8481 converts a single ACPI table to a hex/ascii file, similar to the output
8485 Code and Data Size: Current and previous core subsystem library sizes are
8486 shown below. These are the code and data sizes for the acpica.lib
8488 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8489 any ACPI driver or OSPM code. The debug version of the code includes the
8490 debug output trace mechanism and has a much larger code and data size.
8492 that these values will vary depending on the efficiency of the compiler
8494 the compiler options used during generation.
8497 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
8498 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
8500 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
8501 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
8504 2) iASL Compiler/Disassembler:
8506 Disassembler fix: Added a check to ensure that the table length found in
8508 ACPI table header within the input file is not longer than the actual
8510 file size. This indicates some kind of file or table corruption.
8512 ----------------------------------------
8513 29 March 2005. Summary of changes for version 20050329:
8515 1) ACPI CA Core Subsystem:
8517 An error is now generated if an attempt is made to create a Buffer Field
8519 length zero (A CreateField with a length operand of zero.)
8521 The interpreter now issues a warning whenever executable code at the
8523 level is detected during ACPI table load. This will give some idea of the
8524 prevalence of this type of code.
8526 Implemented support for references to named objects (other than control
8527 methods) within package objects.
8529 Enhanced package object output for the debug object. Package objects are
8531 completely dumped, showing all elements.
8533 Enhanced miscellaneous object output for the debug object. Any object can
8534 now be written to the debug object (for example, a device object can be
8535 written, and the type of the object will be displayed.)
8537 The "static" qualifier has been added to all local functions across both
8539 core subsystem and the iASL compiler.
8541 The number of "long" lines (> 80 chars) within the source has been
8542 significantly reduced, by about 1/3.
8544 Cleaned up all header files to ensure that all CA/iASL functions are
8545 prototyped (even static functions) and the formatting is consistent.
8547 Two new header files have been added, acopcode.h and acnames.h.
8549 Removed several obsolete functions that were no longer used.
8551 Code and Data Size: Current and previous core subsystem library sizes are
8552 shown below. These are the code and data sizes for the acpica.lib
8554 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8555 any ACPI driver or OSPM code. The debug version of the code includes the
8556 debug output trace mechanism and has a much larger code and data size.
8558 that these values will vary depending on the efficiency of the compiler
8560 the compiler options used during generation.
8563 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8564 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
8566 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
8567 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
8571 2) iASL Compiler/Disassembler:
8573 Fixed a problem with the resource descriptor generation/support. For the
8574 ResourceSourceIndex and the ResourceSource fields, both must be present,
8576 both must be not present - can't have one without the other.
8578 The compiler now returns non-zero from the main procedure if any errors
8580 occurred during the compilation.
8583 ----------------------------------------
8584 09 March 2005. Summary of changes for version 20050309:
8586 1) ACPI CA Core Subsystem:
8588 The string-to-buffer implicit conversion code has been modified again
8590 a change to the ACPI specification. In order to match the behavior of
8592 other major ACPI implementation, the target buffer is no longer truncated
8594 the source string is smaller than an existing target buffer. This change
8595 requires an update to the ACPI spec, and should eliminate the recent
8596 AE_AML_BUFFER_LIMIT issues.
8598 The "implicit return" support was rewritten to a new algorithm that
8600 the general case. Rather than attempt to determine when a method is about
8602 exit, the result of every ASL operator is saved momentarily until the
8604 next ASL operator is executed. Therefore, no matter how the method exits,
8605 there will always be a saved implicit return value. This feature is only
8606 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
8608 AE_AML_NO_RETURN_VALUE errors when enabled.
8610 Implemented implicit conversion support for the predicate (operand) of
8612 If, Else, and While operators. String and Buffer arguments are
8614 converted to Integers.
8616 Changed the string-to-integer conversion behavior to match the new ACPI
8617 errata: "If no integer object exists, a new integer is created. The ASCII
8618 string is interpreted as a hexadecimal constant. Each string character is
8619 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
8620 with the first character as the most significant digit, and ending with
8622 first non-hexadecimal character or end-of-string." This means that the
8624 non-hex character terminates the conversion and this is the code that was
8627 Fixed a problem where the ObjectType operator would fail (fault) when
8629 on an Index of a Package which pointed to a null package element. The
8630 operator now properly returns zero (Uninitialized) in this case.
8632 Fixed a problem where the While operator used excessive memory by not
8633 properly popping the result stack during execution. There was no memory
8635 after execution, however. (Code provided by Valery Podrezov.)
8637 Fixed a problem where references to control methods within Package
8639 caused the method to be invoked, instead of producing a reference object
8640 pointing to the method.
8642 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
8644 improve performance and reduce code size. (Code provided by Alexey
8647 Code and Data Size: Current and previous core subsystem library sizes are
8648 shown below. These are the code and data sizes for the acpica.lib
8650 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8651 any ACPI driver or OSPM code. The debug version of the code includes the
8652 debug output trace mechanism and has a much larger code and data size.
8654 that these values will vary depending on the efficiency of the compiler
8656 the compiler options used during generation.
8659 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8660 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
8662 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8663 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
8666 2) iASL Compiler/Disassembler:
8668 Fixed a problem with the Return operator with no arguments. Since the AML
8669 grammar for the byte encoding requires an operand for the Return opcode,
8671 compiler now emits a Return(Zero) for this case. An ACPI specification
8672 update has been written for this case.
8674 For tables other than the DSDT, namepath optimization is automatically
8675 disabled. This is because SSDTs can be loaded anywhere in the namespace,
8677 compiler has no knowledge of where, and thus cannot optimize namepaths.
8679 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
8680 inadvertently omitted from the ACPI specification, and will require an
8683 The source file scan for ASCII characters is now optional (-a). This
8685 was made because some vendors place non-ascii characters within comments.
8686 However, the scan is simply a brute-force byte compare to ensure all
8687 characters in the file are in the range 0x00 to 0x7F.
8689 Fixed a problem with the CondRefOf operator where the compiler was
8690 inappropriately checking for the existence of the target. Since the point
8692 the operator is to check for the existence of the target at run-time, the
8693 compiler no longer checks for the target existence.
8695 Fixed a problem where errors generated from the internal AML interpreter
8696 during constant folding were not handled properly, causing a fault.
8698 Fixed a problem with overly aggressive range checking for the Stall
8699 operator. The valid range (max 255) is now only checked if the operand is
8701 type Integer. All other operand types cannot be statically checked.
8703 Fixed a problem where control method references within the RefOf,
8705 and ObjectType operators were not treated properly. They are now treated
8707 actual references, not method invocations.
8709 Fixed and enhanced the "list namespace" option (-ln). This option was
8711 a number of releases ago.
8713 Improved error handling for the Field, IndexField, and BankField
8715 The compiler now cleanly reports and recovers from errors in the field
8716 component (FieldUnit) list.
8718 Fixed a disassembler problem where the optional ResourceDescriptor fields
8719 TRS and TTP were not always handled correctly.
8721 Disassembler - Comments in output now use "//" instead of "/*"
8723 ----------------------------------------
8724 28 February 2005. Summary of changes for version 20050228:
8726 1) ACPI CA Core Subsystem:
8728 Fixed a problem where the result of an Index() operator (an object
8729 reference) must increment the reference count on the target object for
8731 life of the object reference.
8733 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
8734 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
8736 resource descriptors.
8738 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
8739 Space Descriptor" string, indicating interpreter support for the
8743 Implemented header support for the new ACPI 3.0 FADT flag bits.
8745 Implemented header support for the new ACPI 3.0 PCI Express bits for the
8747 status/enable registers.
8749 Updated header support for the MADT processor local Apic struct and MADT
8750 platform interrupt source struct for new ACPI 3.0 fields.
8752 Implemented header support for the SRAT and SLIT ACPI tables.
8754 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
8758 Code and Data Size: Current and previous core subsystem library sizes are
8759 shown below. These are the code and data sizes for the acpica.lib
8761 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8762 any ACPI driver or OSPM code. The debug version of the code includes the
8763 debug output trace mechanism and has a much larger code and data size.
8765 that these values will vary depending on the efficiency of the compiler
8767 the compiler options used during generation.
8770 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
8771 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
8773 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8774 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
8777 2) iASL Compiler/Disassembler:
8779 Fixed a problem with the internal 64-bit String-to-integer conversion
8781 strings less than two characters long.
8783 Fixed a problem with constant folding where the result of the Index()
8784 operator can not be considered a constant. This means that Index() cannot
8786 a type3 opcode and this will require an update to the ACPI specification.
8788 Disassembler: Implemented support for the TTP, MTP, and TRS resource
8789 descriptor fields. These fields were inadvertently ignored and not output
8791 the disassembly of the resource descriptor.
8794 ----------------------------------------
8795 11 February 2005. Summary of changes for version 20050211:
8797 1) ACPI CA Core Subsystem:
8799 Implemented ACPI 3.0 support for implicit conversion within the Match()
8800 operator. MatchObjects can now be of type integer, buffer, or string
8802 of just type integer. Package elements are implicitly converted to the
8804 of the MatchObject. This change aligns the behavior of Match() with the
8805 behavior of the other logical operators (LLess(), etc.) It also requires
8807 errata change to the ACPI specification as this support was intended for
8808 ACPI 3.0, but was inadvertently omitted.
8810 Fixed a problem with the internal implicit "to buffer" conversion.
8812 that are converted to buffers will cause buffer truncation if the string
8814 smaller than the target buffer. Integers that are converted to buffers
8816 not cause buffer truncation, only zero extension (both as per the ACPI
8817 spec.) The problem was introduced when code was added to truncate the
8818 buffer, but this should not be performed in all cases, only the string
8821 Fixed a problem with the Buffer and Package operators where the
8823 would get confused if two such operators were used as operands to an ASL
8824 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
8825 stack was not being popped after the execution of these operators,
8827 in an AE_NO_RETURN_VALUE exception.
8829 Fixed a problem with constructs of the form Store(Index(...),...). The
8830 reference object returned from Index was inadvertently resolved to an
8832 value. This problem was introduced in version 20050114 when the behavior
8834 Store() was modified to restrict the object types that can be used as the
8835 source operand (to match the ACPI specification.)
8837 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
8839 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
8841 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
8843 Code and Data Size: Current and previous core subsystem library sizes are
8844 shown below. These are the code and data sizes for the acpica.lib
8846 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8847 any ACPI driver or OSPM code. The debug version of the code includes the
8848 debug output trace mechanism and has a much larger code and data size.
8850 that these values will vary depending on the efficiency of the compiler
8852 the compiler options used during generation.
8855 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
8856 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
8858 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
8859 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
8862 2) iASL Compiler/Disassembler:
8864 Fixed a code generation problem in the constant folding optimization code
8865 where incorrect code was generated if a constant was reduced to a buffer
8866 object (i.e., a reduced type 5 opcode.)
8868 Fixed a typechecking problem for the ToBuffer operator. Caused by an
8869 incorrect return type in the internal opcode information table.
8871 ----------------------------------------
8872 25 January 2005. Summary of changes for version 20050125:
8874 1) ACPI CA Core Subsystem:
8876 Fixed a recently introduced problem with the Global Lock where the
8877 underlying semaphore was not created. This problem was introduced in
8878 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
8879 Acquire() operation on _GL.
8881 The local object cache is now optional, and is disabled by default. Both
8882 AcpiExec and the iASL compiler enable the cache because they run in user
8883 mode and this enhances their performance. #define
8884 ACPI_ENABLE_OBJECT_CACHE
8885 to enable the local cache.
8887 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
8889 optional "implicit return" support where an error was returned if no
8891 object was expected, but one was implicitly returned. AE_OK is now
8893 in this case and the implicitly returned object is deleted.
8894 AcpiUtEvaluateObject is only occasionally used, and only to execute
8896 methods such as _STA and _INI where the return type is known up front.
8898 Fixed a few issues with the internal convert-to-integer code. It now
8900 an error if an attempt is made to convert a null string, a string of only
8901 blanks/tabs, or a zero-length buffer. This affects both implicit
8903 and explicit conversion via the ToInteger() operator.
8905 The internal debug code in AcpiUtAcquireMutex has been commented out. It
8907 not needed for normal operation and should increase the performance of
8909 entire subsystem. The code remains in case it is needed for debug
8913 The AcpiExec source and makefile are included in the Unix/Linux package
8917 Code and Data Size: Current and previous core subsystem library sizes are
8918 shown below. These are the code and data sizes for the acpica.lib
8920 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8921 any ACPI driver or OSPM code. The debug version of the code includes the
8922 debug output trace mechanism and has a much larger code and data size.
8924 that these values will vary depending on the efficiency of the compiler
8926 the compiler options used during generation.
8929 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
8930 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
8932 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
8933 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
8935 2) iASL Compiler/Disassembler:
8937 Switch/Case support: A warning is now issued if the type of the Switch
8939 cannot be determined at compile time. For example, Switch(Arg0) will
8940 generate the warning, and the type is assumed to be an integer. As per
8942 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
8946 Switch/Case support: Implemented support for buffer and string objects as
8947 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
8948 buffers and strings.
8950 Switch/Case support: The emitted code for the LEqual() comparisons now
8952 the switch value as the first operand, not the second. The case value is
8954 the second operand, and this allows the case value to be implicitly
8955 converted to the type of the switch value, not the other way around.
8957 Switch/Case support: Temporary variables are now emitted immediately
8959 the control method, not at the global level. This means that there are
8961 36 temps available per-method, not 36 temps per-module as was the case
8963 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
8965 ----------------------------------------
8966 14 January 2005. Summary of changes for version 20050114:
8968 Added 2005 copyright to all module headers. This affects every module in
8969 the core subsystem, iASL compiler, and the utilities.
8971 1) ACPI CA Core Subsystem:
8973 Fixed an issue with the String-to-Buffer conversion code where the string
8974 null terminator was not included in the buffer after conversion, but
8976 is existing ASL that assumes the string null terminator is included. This
8978 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
8979 introduced in the previous version when the code was updated to correctly
8980 set the converted buffer size as per the ACPI specification. The ACPI
8982 is ambiguous and will be updated to specify that the null terminator must
8984 included in the converted buffer. This also affects the ToBuffer() ASL
8987 Fixed a problem with the Mid() ASL/AML operator where it did not work
8988 correctly on Buffer objects. Newly created sub-buffers were not being
8993 Fixed a problem in AcpiTbFindTable where incorrect string compares were
8994 performed on the OemId and OemTableId table header fields. These fields
8996 not null terminated, so strncmp is now used instead of strcmp.
8998 Implemented a restriction on the Store() ASL/AML operator to align the
8999 behavior with the ACPI specification. Previously, any object could be
9001 as the source operand. Now, the only objects that may be used are
9003 Buffers, Strings, Packages, Object References, and DDB Handles. If
9004 necessary, the original behavior can be restored by enabling the
9005 EnableInterpreterSlack flag.
9007 Enhanced the optional "implicit return" support to allow an implicit
9009 value from methods that are invoked externally via the AcpiEvaluateObject
9010 interface. This enables implicit returns from the _STA and _INI methods,
9013 Changed the Revision() ASL/AML operator to return the current version of
9015 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
9017 the supported ACPI version (This is the function of the _REV method).
9019 Updated the _REV predefined method to return the currently supported
9023 Implemented batch mode option for the AcpiExec utility (-b).
9025 Code and Data Size: Current and previous core subsystem library sizes are
9026 shown below. These are the code and data sizes for the acpica.lib
9028 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9029 any ACPI driver or OSPM code. The debug version of the code includes the
9030 debug output trace mechanism and has a much larger code and data size.
9032 that these values will vary depending on the efficiency of the compiler
9034 the compiler options used during generation.
9037 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9038 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
9040 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
9041 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
9043 ----------------------------------------
9044 10 December 2004. Summary of changes for version 20041210:
9046 ACPI 3.0 support is nearing completion in both the iASL compiler and the
9047 ACPI CA core subsystem.
9049 1) ACPI CA Core Subsystem:
9051 Fixed a problem in the ToDecimalString operator where the resulting
9053 length was incorrectly calculated. The length is now calculated exactly,
9054 eliminating incorrect AE_STRING_LIMIT exceptions.
9056 Fixed a problem in the ToHexString operator to allow a maximum 200
9058 string to be produced.
9060 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
9062 routine where the length of the resulting buffer was not truncated to the
9063 new size (if the target buffer already existed).
9065 Code and Data Size: Current and previous core subsystem library sizes are
9066 shown below. These are the code and data sizes for the acpica.lib
9068 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9069 any ACPI driver or OSPM code. The debug version of the code includes the
9070 debug output trace mechanism and has a much larger code and data size.
9072 that these values will vary depending on the efficiency of the compiler
9074 the compiler options used during generation.
9077 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9078 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
9080 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9081 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
9084 2) iASL Compiler/Disassembler:
9086 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
9087 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
9088 Includes support in the disassembler.
9090 Implemented support for the new (ACPI 3.0) parameter to the Register
9094 Fixed a problem where the _HE resource name for the Interrupt macro was
9095 referencing bit 0 instead of bit 1.
9097 Implemented check for maximum 255 interrupts in the Interrupt macro.
9099 Fixed a problem with the predefined resource descriptor names where
9100 incorrect AML code was generated if the offset within the resource buffer
9101 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
9102 but did not update the surrounding package lengths.
9104 Changes to the Dma macro: All channels within the channel list must be
9106 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
9107 optional (default is BusMaster).
9109 Implemented check for maximum 7 data bytes for the VendorShort macro.
9111 The ReadWrite parameter is now optional for the Memory32 and similar
9114 ----------------------------------------
9115 03 December 2004. Summary of changes for version 20041203:
9117 1) ACPI CA Core Subsystem:
9119 The low-level field insertion/extraction code (exfldio) has been
9121 rewritten to eliminate unnecessary complexity, bugs, and boundary
9124 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
9126 operators where the input operand could be inadvertently deleted if no
9127 conversion was necessary (e.g., if the input to ToInteger was an Integer
9130 Fixed a problem with the ToDecimalString and ToHexString where an
9132 exception code was returned if the resulting string would be > 200 chars.
9133 AE_STRING_LIMIT is now returned.
9135 Fixed a problem with the Concatenate operator where AE_OK was always
9136 returned, even if the operation failed.
9138 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
9139 semaphores to be allocated.
9141 Code and Data Size: Current and previous core subsystem library sizes are
9142 shown below. These are the code and data sizes for the acpica.lib
9144 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9145 any ACPI driver or OSPM code. The debug version of the code includes the
9146 debug output trace mechanism and has a much larger code and data size.
9148 that these values will vary depending on the efficiency of the compiler
9150 the compiler options used during generation.
9153 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9154 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9156 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
9157 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
9160 2) iASL Compiler/Disassembler:
9162 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
9163 recently introduced in 20041119.
9165 Fixed a problem with the ToUUID macro where the upper nybble of each
9167 byte was inadvertently set to zero.
9169 ----------------------------------------
9170 19 November 2004. Summary of changes for version 20041119:
9172 1) ACPI CA Core Subsystem:
9174 Fixed a problem in the internal ConvertToInteger routine where new
9176 were not truncated to 32 bits for 32-bit ACPI tables. This routine
9178 buffers and strings to integers.
9180 Implemented support to store a value to an Index() on a String object.
9182 is an ACPI 2.0 feature that had not yet been implemented.
9184 Implemented new behavior for storing objects to individual package
9186 (via the Index() operator). The previous behavior was to invoke the
9188 conversion rules if an object was already present at the index. The new
9189 behavior is to simply delete any existing object and directly store the
9191 object. Although the ACPI specification seems unclear on this subject,
9193 ACPI implementations behave in this manner. (This is the root of the
9194 AE_BAD_HEX_CONSTANT issue.)
9196 Modified the RSDP memory scan mechanism to support the extended checksum
9198 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
9199 RSDP signature is found with a valid checksum.
9201 Code and Data Size: Current and previous core subsystem library sizes are
9202 shown below. These are the code and data sizes for the acpica.lib
9204 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9205 any ACPI driver or OSPM code. The debug version of the code includes the
9206 debug output trace mechanism and has a much larger code and data size.
9208 that these values will vary depending on the efficiency of the compiler
9210 the compiler options used during generation.
9213 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9214 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9216 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9217 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9220 2) iASL Compiler/Disassembler:
9222 Fixed a missing semicolon in the aslcompiler.y file.
9224 ----------------------------------------
9225 05 November 2004. Summary of changes for version 20041105:
9227 1) ACPI CA Core Subsystem:
9229 Implemented support for FADT revision 2. This was an interim table
9231 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
9233 Implemented optional support to allow uninitialized LocalX and ArgX
9234 variables in a control method. The variables are initialized to an
9236 object with a value of zero. This support is enabled by setting the
9237 AcpiGbl_EnableInterpreterSlack flag to TRUE.
9239 Implemented support for Integer objects for the SizeOf operator. Either
9241 or 8 is returned, depending on the current integer size (32-bit or 64-
9243 depending on the parent table revision).
9245 Fixed a problem in the implementation of the SizeOf and ObjectType
9247 where the operand was resolved to a value too early, causing incorrect
9248 return values for some objects.
9250 Fixed some possible memory leaks during exceptional conditions.
9252 Code and Data Size: Current and previous core subsystem library sizes are
9253 shown below. These are the code and data sizes for the acpica.lib
9255 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9256 any ACPI driver or OSPM code. The debug version of the code includes the
9257 debug output trace mechanism and has a much larger code and data size.
9259 that these values will vary depending on the efficiency of the compiler
9261 the compiler options used during generation.
9264 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9265 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
9267 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
9268 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
9271 2) iASL Compiler/Disassembler:
9273 Implemented support for all ACPI 3.0 reserved names and methods.
9275 Implemented all ACPI 3.0 grammar elements in the front-end, including
9276 support for semicolons.
9278 Implemented the ACPI 3.0 Function() and ToUUID() macros
9280 Fixed a problem in the disassembler where a Scope() operator would not be
9281 emitted properly if the target of the scope was in another table.
9283 ----------------------------------------
9284 15 October 2004. Summary of changes for version 20041015:
9286 Note: ACPI CA is currently undergoing an in-depth and complete formal
9287 evaluation to test/verify the following areas. Other suggestions are
9288 welcome. This will result in an increase in the frequency of releases and
9289 the number of bug fixes in the next few months.
9290 - Functional tests for all ASL/AML operators
9291 - All implicit/explicit type conversions
9292 - Bit fields and operation regions
9293 - 64-bit math support and 32-bit-only "truncated" math support
9294 - Exceptional conditions, both compiler and interpreter
9295 - Dynamic object deletion and memory leaks
9296 - ACPI 3.0 support when implemented
9297 - External interfaces to the ACPI subsystem
9300 1) ACPI CA Core Subsystem:
9302 Fixed two alignment issues on 64-bit platforms - within debug statements
9304 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
9306 field within the non-aligned ACPI generic address structure.
9308 Fixed a problem in the Increment and Decrement operators where incorrect
9309 operand resolution could result in the inadvertent modification of the
9310 original integer when the integer is passed into another method as an
9311 argument and the arg is then incremented/decremented.
9313 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
9315 BCD number were truncated during conversion.
9317 Fixed a problem in the ToDecimal operator where the length of the
9319 string could be set incorrectly too long if the input operand was a
9323 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
9325 within a buffer would prematurely terminate a compare between buffer
9328 Added a check for string overflow (>200 characters as per the ACPI
9329 specification) during the Concatenate operator with two string operands.
9331 Code and Data Size: Current and previous core subsystem library sizes are
9332 shown below. These are the code and data sizes for the acpica.lib
9334 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9335 any ACPI driver or OSPM code. The debug version of the code includes the
9336 debug output trace mechanism and has a much larger code and data size.
9338 that these values will vary depending on the efficiency of the compiler
9340 the compiler options used during generation.
9343 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9344 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
9346 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9347 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
9351 2) iASL Compiler/Disassembler:
9353 Allow the use of the ObjectType operator on uninitialized Locals and Args
9354 (returns 0 as per the ACPI specification).
9356 Fixed a problem where the compiler would fault if there was a syntax
9358 in the FieldName of all of the various CreateXXXField operators.
9360 Disallow the use of lower case letters within the EISAID macro, as per
9362 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
9364 U is an uppercase letter and N is a hex digit.
9367 ----------------------------------------
9368 06 October 2004. Summary of changes for version 20041006:
9370 1) ACPI CA Core Subsystem:
9372 Implemented support for the ACPI 3.0 Timer operator. This ASL function
9373 implements a 64-bit timer with 100 nanosecond granularity.
9375 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
9376 implement the ACPI 3.0 Timer operator. This allows the host OS to
9378 the timer with the best clock available. Also, it keeps the core
9380 out of the clock handling business, since the host OS (usually) performs
9383 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
9384 functions use a 64-bit address which is part of the packed ACPI Generic
9385 Address Structure. Since the structure is non-aligned, the alignment
9387 are now used to extract the address to a local variable before use.
9389 Fixed a problem where the ToInteger operator assumed all input strings
9391 hexadecimal. The operator now handles both decimal strings and hex
9393 (prefixed with "0x").
9395 Fixed a problem where the string length in the string object created as a
9396 result of the internal ConvertToString procedure could be incorrect. This
9397 potentially affected all implicit conversions and also the
9399 and ToHexString operators.
9401 Fixed two problems in the ToString operator. If the length parameter was
9402 zero, an incorrect string object was created and the value of the input
9403 length parameter was inadvertently changed from zero to Ones.
9405 Fixed a problem where the optional ResourceSource string in the
9407 resource macro was ignored.
9409 Simplified the interfaces to the internal division functions, reducing
9411 size and complexity.
9413 Code and Data Size: Current and previous core subsystem library sizes are
9414 shown below. These are the code and data sizes for the acpica.lib
9416 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9417 any ACPI driver or OSPM code. The debug version of the code includes the
9418 debug output trace mechanism and has a much larger code and data size.
9420 that these values will vary depending on the efficiency of the compiler
9422 the compiler options used during generation.
9425 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
9426 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
9428 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9429 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
9432 2) iASL Compiler/Disassembler:
9434 Implemented support for the ACPI 3.0 Timer operator.
9436 Fixed a problem where the Default() operator was inadvertently ignored in
9438 Switch/Case block. This was a problem in the translation of the Switch
9439 statement to If...Else pairs.
9441 Added support to allow a standalone Return operator, with no parentheses
9445 Fixed a problem with code generation for the ElseIf operator where the
9446 translated Else...If parse tree was improperly constructed leading to the
9449 ----------------------------------------
9450 22 September 2004. Summary of changes for version 20040922:
9452 1) ACPI CA Core Subsystem:
9454 Fixed a problem with the implementation of the LNot() operator where
9456 was not returned for the TRUE case. Changed the code to return Ones
9458 of (!Arg) which was usually 1. This change affects iASL constant folding
9462 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
9464 initialized properly -- Now zero the entire buffer in this case where the
9465 buffer already exists.
9467 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
9468 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
9469 related code considerably. This will require changes/updates to all OS
9470 interface layers (OSLs.)
9472 Implemented a new external interface, AcpiInstallExceptionHandler, to
9474 a system exception handler to be installed. This handler is invoked upon
9476 run-time exception that occurs during control method execution.
9478 Added support for the DSDT in AcpiTbFindTable. This allows the
9479 DataTableRegion() operator to access the local copy of the DSDT.
9481 Code and Data Size: Current and previous core subsystem library sizes are
9482 shown below. These are the code and data sizes for the acpica.lib
9484 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9485 any ACPI driver or OSPM code. The debug version of the code includes the
9486 debug output trace mechanism and has a much larger code and data size.
9488 that these values will vary depending on the efficiency of the compiler
9490 the compiler options used during generation.
9493 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
9494 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
9496 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
9497 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
9500 2) iASL Compiler/Disassembler:
9502 Fixed a problem with constant folding and the LNot operator. LNot was
9503 returning 1 in the TRUE case, not Ones as per the ACPI specification.
9505 could result in the generation of an incorrect folded/reduced constant.
9507 End-Of-File is now allowed within a "//"-style comment. A parse error no
9508 longer occurs if such a comment is at the very end of the input ASL
9512 Implemented the "-r" option to override the Revision in the table header.
9513 The initial use of this option will be to simplify the evaluation of the
9515 interpreter by allowing a single ASL source module to be compiled for
9517 32-bit or 64-bit integers.
9520 ----------------------------------------
9521 27 August 2004. Summary of changes for version 20040827:
9523 1) ACPI CA Core Subsystem:
9525 - Implemented support for implicit object conversion in the non-numeric
9526 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
9528 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
9529 the second operand is implicitly converted on the fly to match the type
9531 the first operand. For example:
9533 LEqual (Source1, Source2)
9535 Source1 and Source2 must each evaluate to an integer, a string, or a
9537 The data type of Source1 dictates the required type of Source2. Source2
9539 implicitly converted if necessary to match the type of Source1.
9541 - Updated and corrected the behavior of the string conversion support.
9543 rules concerning conversion of buffers to strings (according to the ACPI
9544 specification) are as follows:
9546 ToDecimalString - explicit byte-wise conversion of buffer to string of
9547 decimal values (0-255) separated by commas. ToHexString - explicit byte-
9549 conversion of buffer to string of hex values (0-FF) separated by commas.
9550 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
9552 copy with no transform except NULL terminated. Any other implicit buffer-
9554 string conversion - byte-wise conversion of buffer to string of hex
9556 (0-FF) separated by spaces.
9558 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
9560 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
9562 one byte too short in the case of a node in the root scope. This could
9563 cause a fault during debug output.
9565 - Code and Data Size: Current and previous core subsystem library sizes
9567 shown below. These are the code and data sizes for the acpica.lib
9569 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9570 any ACPI driver or OSPM code. The debug version of the code includes the
9571 debug output trace mechanism and has a much larger code and data size.
9573 that these values will vary depending on the efficiency of the compiler
9575 the compiler options used during generation.
9578 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
9579 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
9581 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
9582 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
9585 2) iASL Compiler/Disassembler:
9587 - Fixed a Linux generation error.
9590 ----------------------------------------
9591 16 August 2004. Summary of changes for version 20040816:
9593 1) ACPI CA Core Subsystem:
9595 Designed and implemented support within the AML interpreter for the so-
9596 called "implicit return". This support returns the result of the last
9598 operation within a control method, in the absence of an explicit Return()
9599 operator. A few machines depend on this behavior, even though it is not
9600 explicitly supported by the ASL language. It is optional support that
9602 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
9604 Removed support for the PCI_Config address space from the internal low
9606 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
9607 support was not used internally, and would not work correctly anyway
9609 the PCI bus number and segment number were not supported. There are
9610 separate interfaces for PCI configuration space access because of the
9614 Code and Data Size: Current and previous core subsystem library sizes are
9615 shown below. These are the code and data sizes for the acpica.lib
9617 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9618 any ACPI driver or OSPM code. The debug version of the code includes the
9619 debug output trace mechanism and has a much larger code and data size.
9621 that these values will vary depending on the efficiency of the compiler
9623 the compiler options used during generation.
9626 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9627 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
9629 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
9630 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
9633 2) iASL Compiler/Disassembler:
9635 Fixed a problem where constants in ASL expressions at the root level (not
9636 within a control method) could be inadvertently truncated during code
9637 generation. This problem was introduced in the 20040715 release.
9640 ----------------------------------------
9641 15 July 2004. Summary of changes for version 20040715:
9643 1) ACPI CA Core Subsystem:
9645 Restructured the internal HW GPE interfaces to pass/track the current
9647 of interrupts (enabled/disabled) in order to avoid possible deadlock and
9648 increase flexibility of the interfaces.
9650 Implemented a "lexicographical compare" for String and Buffer objects
9652 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
9654 as per further clarification to the ACPI specification. Behavior is
9656 to C library "strcmp".
9658 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
9659 external function. In the 32-bit non-debug case, the stack use has been
9660 reduced from 168 bytes to 32 bytes.
9662 Deployed a new run-time configuration flag,
9663 AcpiGbl_EnableInterpreterSlack,
9664 whose purpose is to allow the AML interpreter to forgive certain bad AML
9665 constructs. Default setting is FALSE.
9667 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
9669 support code. If enabled, it allows field access to go beyond the end of
9671 region definition if the field is within the region length rounded up to
9673 next access width boundary (a common coding error.)
9675 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
9676 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
9678 symbols are lowercased by the latest version of the AcpiSrc tool.
9680 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
9681 rename "Register" to simply "Reg" to prevent certain compilers from
9684 Code and Data Size: Current and previous core subsystem library sizes are
9685 shown below. These are the code and data sizes for the acpica.lib
9687 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9688 any ACPI driver or OSPM code. The debug version of the code includes the
9689 debug output trace mechanism and has a much larger code and data size.
9691 that these values will vary depending on the efficiency of the compiler
9693 the compiler options used during generation.
9696 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9697 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
9699 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
9700 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
9703 2) iASL Compiler/Disassembler:
9705 Implemented full support for Package objects within the Case() operator.
9706 Note: The Break() operator is currently not supported within Case blocks
9707 (TermLists) as there is some question about backward compatibility with
9712 Fixed a problem where complex terms were not supported properly within
9716 Eliminated extraneous warning for compiler-emitted reserved names of the
9717 form "_T_x". (Used in Switch/Case operators.)
9719 Eliminated optimization messages for "_T_x" objects and small constants
9720 within the DefinitionBlock operator.
9723 ----------------------------------------
9724 15 June 2004. Summary of changes for version 20040615:
9726 1) ACPI CA Core Subsystem:
9728 Implemented support for Buffer and String objects (as per ACPI 2.0) for
9730 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
9733 All directory names in the entire source package are lower case, as they
9734 were in earlier releases.
9736 Implemented "Disassemble" command in the AML debugger that will
9738 a single control method.
9740 Code and Data Size: Current and previous core subsystem library sizes are
9741 shown below. These are the code and data sizes for the acpica.lib
9743 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9744 any ACPI driver or OSPM code. The debug version of the code includes the
9745 debug output trace mechanism and has a much larger code and data size.
9747 that these values will vary depending on the efficiency of the compiler
9749 the compiler options used during generation.
9752 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
9753 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
9756 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
9757 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
9760 2) iASL Compiler/Disassembler:
9762 Implemented support for Buffer and String objects (as per ACPI 2.0) for
9764 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
9767 All directory names in the entire source package are lower case, as they
9768 were in earlier releases.
9770 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
9773 Fixed an issue with the Windows version of the compiler where later
9775 of Windows place the FADT in the registry under the name "FADT" and not
9776 "FACP" as earlier versions did. This applies when using the -g or -
9777 d<nofilename> options. The compiler now looks for both strings as
9780 Fixed a problem with compiler namepath optimization where a namepath
9782 the Scope() operator could not be optimized if the namepath was a subpath
9784 the current scope path.
9786 ----------------------------------------
9787 27 May 2004. Summary of changes for version 20040527:
9789 1) ACPI CA Core Subsystem:
9791 Completed a new design and implementation for EBDA (Extended BIOS Data
9793 support in the RSDP scan code. The original code improperly scanned for
9795 EBDA by simply scanning from memory location 0 to 0x400. The correct
9797 is to first obtain the EBDA pointer from within the BIOS data area, then
9798 scan 1K of memory starting at the EBDA pointer. There appear to be few
9800 any machines that place the RSDP in the EBDA, however.
9802 Integrated a fix for a possible fault during evaluation of BufferField
9803 arguments. Obsolete code that was causing the problem was removed.
9805 Found and fixed a problem in the Field Support Code where data could be
9806 corrupted on a bit field read that starts on an aligned boundary but does
9807 not end on an aligned boundary. Merged the read/write "datum length"
9808 calculation code into a common procedure.
9810 Rolled in a couple of changes to the FreeBSD-specific header.
9813 Code and Data Size: Current and previous core subsystem library sizes are
9814 shown below. These are the code and data sizes for the acpica.lib
9816 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9817 any ACPI driver or OSPM code. The debug version of the code includes the
9818 debug output trace mechanism and has a much larger code and data size.
9820 that these values will vary depending on the efficiency of the compiler
9822 the compiler options used during generation.
9825 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
9826 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
9828 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
9829 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
9832 2) iASL Compiler/Disassembler:
9834 Fixed a generation warning produced by some overly-verbose compilers for
9838 ----------------------------------------
9839 14 May 2004. Summary of changes for version 20040514:
9841 1) ACPI CA Core Subsystem:
9843 Fixed a problem where hardware GPE enable bits sometimes not set properly
9844 during and after GPE method execution. Result of 04/27 changes.
9846 Removed extra "clear all GPEs" when sleeping/waking.
9848 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
9849 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
9851 the new AcpiEv* calls as appropriate.
9853 ACPI_OS_NAME was removed from the OS-specific headers. The default name
9855 now "Microsoft Windows NT" for maximum compatibility. However this can
9857 changed by modifying the acconfig.h file.
9859 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
9860 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
9862 Run _INI methods on ThermalZone objects. This is against the ACPI
9863 specification, but there is apparently ASL code in the field that has
9865 _INI methods, and apparently "other" AML interpreters execute them.
9867 Performed a full 16/32/64 bit lint that resulted in some small changes.
9869 Added a sleep simulation command to the AML debugger to test sleep code.
9871 Code and Data Size: Current and previous core subsystem library sizes are
9872 shown below. These are the code and data sizes for the acpica.lib
9874 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9875 any ACPI driver or OSPM code. The debug version of the code includes the
9876 debug output trace mechanism and has a much larger code and data size.
9878 that these values will vary depending on the efficiency of the compiler
9880 the compiler options used during generation.
9883 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
9884 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
9886 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
9887 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
9889 ----------------------------------------
9890 27 April 2004. Summary of changes for version 20040427:
9892 1) ACPI CA Core Subsystem:
9894 Completed a major overhaul of the GPE handling within ACPI CA. There are
9895 now three types of GPEs: wake-only, runtime-only, and combination
9897 The only GPEs allowed to be combination wake/run are for button-style
9898 devices such as a control-method power button, control-method sleep
9900 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
9902 referenced by any _PRW methods are marked for "runtime" and hardware
9903 enabled. Any GPE that is referenced by a _PRW method is marked for
9905 (and disabled at runtime). However, at sleep time, only those GPEs that
9906 have been specifically enabled for wake via the AcpiEnableGpe interface
9908 actually be hardware enabled.
9910 A new external interface has been added, AcpiSetGpeType(), that is meant
9912 be used by device drivers to force a GPE to a particular type. It will
9914 especially useful for the drivers for the button devices mentioned above.
9916 Completed restructuring of the ACPI CA initialization sequence so that
9917 default operation region handlers are installed before GPEs are
9919 and the _PRW methods are executed. This will prevent errors when the
9921 methods attempt to access system memory or I/O space.
9923 GPE enable/disable no longer reads the GPE enable register. We now keep
9925 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
9926 thus no longer depend on the hardware to maintain these bits.
9928 Always clear the wake status and fixed/GPE status bits before sleep, even
9931 Improved the AML debugger output for displaying the GPE blocks and their
9934 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
9938 Fixed a problem where the physical address was incorrectly calculated
9940 the Load() operator was used to directly load from an Operation Region
9942 loading from a Field object.) Also added check for minimum table length
9946 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
9949 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
9950 consistency with the other fields returned.
9952 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
9953 structure for each GPE in the system, so the size of this structure is
9956 CPU stack requirement reduction: Cleaned up the method execution and
9958 evaluation paths so that now a parameter structure is passed, instead of
9959 copying the various method parameters over and over again.
9961 In evregion.c: Correctly exit and reenter the interpreter region if and
9962 only if dispatching an operation region request to a user-installed
9964 Do not exit/reenter when dispatching to a default handler (e.g., default
9965 system memory or I/O handlers)
9968 Notes for updating drivers for the new GPE support. The following
9970 must be made to ACPI-related device drivers that are attached to one or
9972 GPEs: (This information will be added to the ACPI CA Programmer
9975 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
9977 explicitly call AcpiEnableGpe.
9978 2) There is a new interface called AcpiSetGpeType. This should be called
9979 before enabling the GPE. Also, this interface will automatically disable
9980 the GPE if it is currently enabled.
9981 3) AcpiEnableGpe no longer supports a GPE type flag.
9983 Specific drivers that must be changed:
9985 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
9986 AeGpeHandler, NULL);
9987 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
9988 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
9990 2) Button Drivers (Power, Lid, Sleep):
9991 Run _PRW method under parent device
9992 If _PRW exists: /* This is a control-method button */
9993 Extract GPE number and possibly GpeDevice
9994 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
9995 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
9997 For all other devices that have _PRWs, we automatically set the GPE type
9999 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
10001 must be done on a selective basis, usually requiring some kind of user
10003 to allow the user to pick the wake devices.
10006 Code and Data Size: Current and previous core subsystem library sizes are
10007 shown below. These are the code and data sizes for the acpica.lib
10009 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10010 any ACPI driver or OSPM code. The debug version of the code includes the
10011 debug output trace mechanism and has a much larger code and data size.
10013 that these values will vary depending on the efficiency of the compiler
10015 the compiler options used during generation.
10018 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
10019 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
10022 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
10023 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
10027 ----------------------------------------
10028 02 April 2004. Summary of changes for version 20040402:
10030 1) ACPI CA Core Subsystem:
10032 Fixed an interpreter problem where an indirect store through an ArgX
10033 parameter was incorrectly applying the "implicit conversion rules" during
10034 the store. From the ACPI specification: "If the target is a method local
10036 argument (LocalX or ArgX), no conversion is performed and the result is
10037 stored directly to the target". The new behavior is to disable implicit
10038 conversion during ALL stores to an ArgX.
10040 Changed the behavior of the _PRW method scan to ignore any and all errors
10041 returned by a given _PRW. This prevents the scan from aborting from the
10042 failure of any single _PRW.
10044 Moved the runtime configuration parameters from the global init procedure
10046 static variables in acglobal.h. This will allow the host to override the
10047 default values easily.
10049 Code and Data Size: Current and previous core subsystem library sizes are
10050 shown below. These are the code and data sizes for the acpica.lib
10052 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10053 any ACPI driver or OSPM code. The debug version of the code includes the
10054 debug output trace mechanism and has a much larger code and data size.
10056 that these values will vary depending on the efficiency of the compiler
10058 the compiler options used during generation.
10061 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
10062 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
10064 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
10065 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
10068 2) iASL Compiler/Disassembler:
10070 iASL now fully disassembles SSDTs. However, External() statements are
10072 generated automatically for unresolved symbols at this time. This is a
10073 planned feature for future implementation.
10075 Fixed a scoping problem in the disassembler that occurs when the type of
10077 target of a Scope() operator is overridden. This problem caused an
10078 incorrectly nested internal namespace to be constructed.
10080 Any warnings or errors that are emitted during disassembly are now
10082 out automatically so that the resulting file can be recompiled without
10086 ----------------------------------------
10087 26 March 2004. Summary of changes for version 20040326:
10089 1) ACPI CA Core Subsystem:
10091 Implemented support for "wake" GPEs via interaction between GPEs and the
10092 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
10093 identified as a WAKE GPE and by default will no longer be enabled at
10094 runtime. Previously, we were blindly enabling all GPEs with a
10096 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
10098 believe this has been the cause of thousands of "spurious" GPEs on some
10101 This new GPE behavior is can be reverted to the original behavior (enable
10102 ALL GPEs at runtime) via a runtime flag.
10104 Fixed a problem where aliased control methods could not access objects
10105 properly. The proper scope within the namespace was not initialized
10106 (transferred to the target of the aliased method) before executing the
10109 Fixed a potential race condition on internal object deletion on the
10111 object in AcpiEvaluateObject.
10113 Integrated a fix for resource descriptors where both _MEM and _MTP were
10114 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
10115 wide, 0x0F instead of 0x03.)
10117 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
10120 fault in some cases.
10122 Updated Notify() values for debug statements in evmisc.c
10124 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
10126 Code and Data Size: Current and previous core subsystem library sizes are
10127 shown below. These are the code and data sizes for the acpica.lib
10129 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10130 any ACPI driver or OSPM code. The debug version of the code includes the
10131 debug output trace mechanism and has a much larger code and data size.
10133 that these values will vary depending on the efficiency of the compiler
10135 the compiler options used during generation.
10139 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
10140 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
10142 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
10143 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
10145 ----------------------------------------
10146 11 March 2004. Summary of changes for version 20040311:
10148 1) ACPI CA Core Subsystem:
10150 Fixed a problem where errors occurring during the parse phase of control
10151 method execution did not abort cleanly. For example, objects created and
10152 installed in the namespace were not deleted. This caused all subsequent
10153 invocations of the method to return the AE_ALREADY_EXISTS exception.
10155 Implemented a mechanism to force a control method to "Serialized"
10157 if the method attempts to create namespace objects. (The root of the
10158 AE_ALREADY_EXISTS problem.)
10160 Implemented support for the predefined _OSI "internal" control method.
10161 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
10163 "Windows 2001.1", and can be easily upgraded for new strings as
10165 This feature will allow "other" operating systems to execute the fully
10166 tested, "Windows" code path through the ASL code
10168 Global Lock Support: Now allows multiple acquires and releases with any
10169 internal thread. Removed concept of "owning thread" for this special
10172 Fixed two functions that were inappropriately declaring large objects on
10174 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
10176 method execution considerably.
10178 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
10179 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
10181 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
10182 defined on the machine.
10184 Implemented two runtime options: One to force all control method
10186 to "Serialized" to mimic Windows behavior, another to disable _OSI
10188 if it causes problems on a given machine.
10190 Code and Data Size: Current and previous core subsystem library sizes are
10191 shown below. These are the code and data sizes for the acpica.lib
10193 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
10194 any ACPI driver or OSPM code. The debug version of the code includes the
10195 debug output trace mechanism and has a much larger code and data size.
10197 that these values will vary depending on the efficiency of the compiler
10199 the compiler options used during generation.
10202 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
10203 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
10205 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
10206 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
10208 2) iASL Compiler/Disassembler:
10210 Fixed an array size problem for FreeBSD that would cause the compiler to
10213 ----------------------------------------
10214 20 February 2004. Summary of changes for version 20040220:
10217 1) ACPI CA Core Subsystem:
10219 Implemented execution of _SxD methods for Device objects in the
10220 GetObjectInfo interface.
10222 Fixed calls to _SST method to pass the correct arguments.
10224 Added a call to _SST on wake to restore to "working" state.
10226 Check for End-Of-Buffer failure case in the WalkResources interface.
10228 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
10229 structures to the beginning of the file.
10231 After wake, clear GPE status register(s) before enabling GPEs.
10233 After wake, clear/enable power button. (Perhaps we should clear/enable
10235 fixed events upon wake.)
10237 Fixed a couple of possible memory leaks in the Namespace manager.
10239 Integrated latest acnetbsd.h file.
10241 ----------------------------------------
10242 11 February 2004. Summary of changes for version 20040211:
10245 1) ACPI CA Core Subsystem:
10247 Completed investigation and implementation of the call-by-reference
10248 mechanism for control method arguments.
10250 Fixed a problem where a store of an object into an indexed package could
10251 fail if the store occurs within a different method than the method that
10252 created the package.
10254 Fixed a problem where the ToDecimal operator could return incorrect
10257 Fixed a problem where the CopyObject operator could fail on some of the
10259 obscure objects (e.g., Reference objects.)
10261 Improved the output of the Debug object to display buffer, package, and
10264 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
10266 the expected result.
10268 Added permanent ACPI_REPORT_ERROR macros for all instances of the
10269 ACPI_AML_INTERNAL exception.
10271 Integrated latest version of acfreebsd.h
10273 ----------------------------------------
10274 16 January 2004. Summary of changes for version 20040116:
10276 The purpose of this release is primarily to update the copyright years in
10277 each module, thus causing a huge number of diffs. There are a few small
10278 functional changes, however.
10280 1) ACPI CA Core Subsystem:
10282 Improved error messages when there is a problem finding one or more of
10284 required base ACPI tables
10286 Reintroduced the definition of APIC_HEADER in actbl.h
10288 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
10290 Removed extraneous reference to NewObj in dsmthdat.c
10294 Fixed a problem introduced in December that disabled the correct
10296 of Resource Templates
10299 ----------------------------------------
10300 03 December 2003. Summary of changes for version 20031203:
10302 1) ACPI CA Core Subsystem:
10304 Changed the initialization of Operation Regions during subsystem
10305 init to perform two entire walks of the ACPI namespace; The first
10306 to initialize the regions themselves, the second to execute the
10307 _REG methods. This fixed some interdependencies across _REG
10308 methods found on some machines.
10310 Fixed a problem where a Store(Local0, Local1) could simply update
10311 the object reference count, and not create a new copy of the
10312 object if the Local1 is uninitialized.
10314 Implemented support for the _SST reserved method during sleep
10317 Implemented support to clear the SLP_TYP and SLP_EN bits when
10318 waking up, this is apparently required by some machines.
10320 When sleeping, clear the wake status only if SleepState is not S5.
10322 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
10323 pointer arithmetic advanced a string pointer too far.
10325 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
10326 could be returned if the requested table has not been loaded.
10328 Within the support for IRQ resources, restructured the handling of
10329 the active and edge/level bits.
10331 Fixed a few problems in AcpiPsxExecute() where memory could be
10332 leaked under certain error conditions.
10334 Improved error messages for the cases where the ACPI mode could
10337 Code and Data Size: Current and previous core subsystem library
10338 sizes are shown below. These are the code and data sizes for the
10339 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10340 these values do not include any ACPI driver or OSPM code. The
10341 debug version of the code includes the debug output trace
10342 mechanism and has a much larger code and data size. Note that
10343 these values will vary depending on the efficiency of the compiler
10344 and the compiler options used during generation.
10346 Previous Release (20031029):
10347 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
10348 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
10350 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
10351 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
10353 2) iASL Compiler/Disassembler:
10355 Implemented a fix for the iASL disassembler where a bad index was
10356 generated. This was most noticeable on 64-bit platforms
10359 ----------------------------------------
10360 29 October 2003. Summary of changes for version 20031029:
10362 1) ACPI CA Core Subsystem:
10365 Fixed a problem where a level-triggered GPE with an associated
10366 _Lxx control method was incorrectly cleared twice.
10368 Fixed a problem with the Field support code where an access can
10369 occur beyond the end-of-region if the field is non-aligned but
10370 extends to the very end of the parent region (resulted in an
10371 AE_AML_REGION_LIMIT exception.)
10373 Fixed a problem with ACPI Fixed Events where an RT Clock handler
10374 would not get invoked on an RTC event. The RTC event bitmasks for
10375 the PM1 registers were not being initialized properly.
10377 Implemented support for executing _STA and _INI methods for
10378 Processor objects. Although this is currently not part of the
10379 ACPI specification, there is existing ASL code that depends on the
10380 init-time execution of these methods.
10382 Implemented and deployed a GetDescriptorName function to decode
10383 the various types of internal descriptors. Guards against null
10384 descriptors during debug output also.
10386 Implemented and deployed a GetNodeName function to extract the 4-
10387 character namespace node name. This function simplifies the debug
10388 and error output, as well as guarding against null pointers during
10391 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
10392 simplify the debug and error output of 64-bit integers. This
10393 macro replaces the HIDWORD and LODWORD macros for dumping these
10396 Updated the implementation of the Stall() operator to only call
10397 AcpiOsStall(), and also return an error if the operand is larger
10398 than 255. This preserves the required behavior of not
10399 relinquishing the processor, as would happen if AcpiOsSleep() was
10400 called for "long stalls".
10402 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
10403 initialized are now treated as NOOPs.
10405 Cleaned up a handful of warnings during 64-bit generation.
10407 Fixed a reported error where and incorrect GPE number was passed
10408 to the GPE dispatch handler. This value is only used for error
10409 output, however. Used this opportunity to clean up and streamline
10410 the GPE dispatch code.
10412 Code and Data Size: Current and previous core subsystem library
10413 sizes are shown below. These are the code and data sizes for the
10414 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10415 these values do not include any ACPI driver or OSPM code. The
10417 debug version of the code includes the debug output trace
10418 mechanism and has a much larger code and data size. Note that
10419 these values will vary depending on the efficiency of the compiler
10420 and the compiler options used during generation.
10422 Previous Release (20031002):
10423 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
10424 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
10426 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
10427 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
10430 2) iASL Compiler/Disassembler:
10432 Updated the iASL compiler to return an error if the operand to the
10433 Stall() operator is larger than 255.
10436 ----------------------------------------
10437 02 October 2003. Summary of changes for version 20031002:
10440 1) ACPI CA Core Subsystem:
10442 Fixed a problem with Index Fields where the index was not
10443 incremented for fields that require multiple writes to the
10444 index/data registers (Fields that are wider than the data
10447 Fixed a problem with all Field objects where a write could go
10448 beyond the end-of-field if the field was larger than the access
10449 granularity and therefore required multiple writes to complete the
10450 request. An extra write beyond the end of the field could happen
10453 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
10454 would incorrectly be returned if the width of the Data Register
10455 was larger than the specified field access width.
10457 Completed fixes for LoadTable() and Unload() and verified their
10458 operation. Implemented full support for the "DdbHandle" object
10459 throughout the ACPI CA subsystem.
10461 Implemented full support for the MADT and ECDT tables in the ACPI
10462 CA header files. Even though these tables are not directly
10463 consumed by ACPI CA, the header definitions are useful for ACPI
10466 Integrated resource descriptor fixes posted to the Linux ACPI
10467 list. This included checks for minimum descriptor length, and
10468 support for trailing NULL strings within descriptors that have
10469 optional string elements.
10471 Code and Data Size: Current and previous core subsystem library
10472 sizes are shown below. These are the code and data sizes for the
10473 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10474 these values do not include any ACPI driver or OSPM code. The
10475 debug version of the code includes the debug output trace
10476 mechanism and has a much larger code and data size. Note that
10477 these values will vary depending on the efficiency of the compiler
10478 and the compiler options used during generation.
10480 Previous Release (20030918):
10481 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
10482 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
10484 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
10485 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
10490 Implemented detection of non-ASCII characters within the input
10491 source ASL file. This catches attempts to compile binary (AML)
10492 files early in the compile, with an informative error message.
10494 Fixed a problem where the disassembler would fault if the output
10495 filename could not be generated or if the output file could not be
10498 ----------------------------------------
10499 18 September 2003. Summary of changes for version 20030918:
10502 1) ACPI CA Core Subsystem:
10504 Found and fixed a longstanding problem with the late execution of
10505 the various deferred AML opcodes (such as Operation Regions,
10506 Buffer Fields, Buffers, and Packages). If the name string
10507 specified for the name of the new object placed the object in a
10508 scope other than the current scope, the initialization/execution
10509 of the opcode failed. The solution to this problem was to
10510 implement a mechanism where the late execution of such opcodes
10511 does not attempt to lookup/create the name a second time in an
10512 incorrect scope. This fixes the "region size computed
10513 incorrectly" problem.
10515 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
10516 Global Lock AE_BAD_PARAMETER error.
10518 Fixed several 64-bit issues with prototypes, casting and data
10521 Removed duplicate prototype from acdisasm.h
10523 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
10525 Code and Data Size: Current and previous core subsystem library
10526 sizes are shown below. These are the code and data sizes for the
10527 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10528 these values do not include any ACPI driver or OSPM code. The
10529 debug version of the code includes the debug output trace
10530 mechanism and has a much larger code and data size. Note that
10531 these values will vary depending on the efficiency of the compiler
10532 and the compiler options used during generation.
10536 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
10537 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
10539 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
10540 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
10545 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
10546 correct sleep time in seconds.
10548 ----------------------------------------
10549 14 July 2003. Summary of changes for version 20030619:
10551 1) ACPI CA Core Subsystem:
10553 Parse SSDTs in order discovered, as opposed to reverse order
10556 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
10563 Dynamically allocate SDT list (suggested by Andi Kleen)
10565 proc function return value cleanups (Andi Kleen)
10567 Correctly handle NMI watchdog during long stalls (Andrew Morton)
10569 Make it so acpismp=force works (reported by Andrew Morton)
10572 ----------------------------------------
10573 19 June 2003. Summary of changes for version 20030619:
10575 1) ACPI CA Core Subsystem:
10577 Fix To/FromBCD, eliminating the need for an arch-specific #define.
10579 Do not acquire a semaphore in the S5 shutdown path.
10581 Fix ex_digits_needed for 0. (Takayoshi Kochi)
10583 Fix sleep/stall code reversal. (Andi Kleen)
10585 Revert a change having to do with control method calling
10590 acpiphp update (Takayoshi Kochi)
10592 Export acpi_disabled for sonypi (Stelian Pop)
10594 Mention acpismp=force in config help
10596 Re-add acpitable.c and acpismp=force. This improves backwards
10598 compatibility and also cleans up the code to a significant degree.
10600 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
10602 ----------------------------------------
10603 22 May 2003. Summary of changes for version 20030522:
10605 1) ACPI CA Core Subsystem:
10607 Found and fixed a reported problem where an AE_NOT_FOUND error
10608 occurred occasionally during _BST evaluation. This turned out to
10609 be an Owner ID allocation issue where a called method did not get
10610 a new ID assigned to it. Eventually, (after 64k calls), the Owner
10611 ID UINT16 would wraparound so that the ID would be the same as the
10612 caller's and the called method would delete the caller's
10615 Implemented extended error reporting for control methods that are
10616 aborted due to a run-time exception. Output includes the exact
10617 AML instruction that caused the method abort, a dump of the method
10618 locals and arguments at the time of the abort, and a trace of all
10619 nested control method calls.
10621 Modified the interpreter to allow the creation of buffers of zero
10622 length from the AML code. Implemented new code to ensure that no
10623 attempt is made to actually allocate a memory buffer (of length
10624 zero) - instead, a simple buffer object with a NULL buffer pointer
10625 and length zero is created. A warning is no longer issued when
10626 the AML attempts to create a zero-length buffer.
10628 Implemented a workaround for the "leading asterisk issue" in
10629 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
10630 asterisk is automatically removed if present in any HID, UID, or
10631 CID strings. The iASL compiler will still flag this asterisk as
10634 Implemented full support for _CID methods that return a package of
10635 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
10636 now additionally returns a device _CID list if present. This
10637 required a change to the external interface in order to pass an
10638 ACPI_BUFFER object as a parameter since the _CID list is of
10641 Fixed a problem with the new AE_SAME_HANDLER exception where
10642 handler initialization code did not know about this exception.
10644 Code and Data Size: Current and previous core subsystem library
10645 sizes are shown below. These are the code and data sizes for the
10646 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
10647 these values do not include any ACPI driver or OSPM code. The
10648 debug version of the code includes the debug output trace
10649 mechanism and has a much larger code and data size. Note that
10650 these values will vary depending on the efficiency of the compiler
10651 and the compiler options used during generation.
10653 Previous Release (20030509):
10654 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
10655 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
10657 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
10658 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
10663 Fixed a bug in which we would reinitialize the ACPI interrupt
10664 after it was already working, thus disabling all ACPI and the IRQs
10665 for any other device sharing the interrupt. (Thanks to Stian
10668 Toshiba driver update (John Belmonte)
10670 Return only 0 or 1 for our interrupt handler status (Andrew
10676 Fixed a reported problem where multiple (nested) ElseIf()
10677 statements were not handled correctly by the compiler, resulting
10678 in incorrect warnings and incorrect AML code. This was a problem
10679 in both the ASL parser and the code generator.
10684 Added changes to existing interfaces, new exception codes, and new
10685 text concerning reference count object management versus garbage
10688 ----------------------------------------
10689 09 May 2003. Summary of changes for version 20030509.
10692 1) ACPI CA Core Subsystem:
10694 Changed the subsystem initialization sequence to hold off
10695 installation of address space handlers until the hardware has been
10696 initialized and the system has entered ACPI mode. This is because
10697 the installation of space handlers can cause _REG methods to be
10698 run. Previously, the _REG methods could potentially be run before
10699 ACPI mode was enabled.
10701 Fixed some memory leak issues related to address space handler and
10702 notify handler installation. There were some problems with the
10703 reference count mechanism caused by the fact that the handler
10704 objects are shared across several namespace objects.
10706 Fixed a reported problem where reference counts within the
10707 namespace were not properly updated when named objects created by
10708 method execution were deleted.
10710 Fixed a reported problem where multiple SSDTs caused a deletion
10711 issue during subsystem termination. Restructured the table data
10712 structures to simplify the linked lists and the related code.
10714 Fixed a problem where the table ID associated with secondary
10715 tables (SSDTs) was not being propagated into the namespace objects
10716 created by those tables. This would only present a problem for
10717 tables that are unloaded at run-time, however.
10719 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
10720 type as the length parameter (instead of UINT32).
10722 Solved a long-standing problem where an ALREADY_EXISTS error
10723 appears on various systems. This problem could happen when there
10724 are multiple PCI_Config operation regions under a single PCI root
10725 bus. This doesn't happen very frequently, but there are some
10726 systems that do this in the ASL.
10728 Fixed a reported problem where the internal DeleteNode function
10729 was incorrectly handling the case where a namespace node was the
10730 first in the parent's child list, and had additional peers (not
10731 the only child, but first in the list of children.)
10733 Code and Data Size: Current core subsystem library sizes are shown
10734 below. These are the code and data sizes for the acpica.lib
10735 produced by the Microsoft Visual C++ 6.0 compiler, and these
10736 values do not include any ACPI driver or OSPM code. The debug
10737 version of the code includes the debug output trace mechanism and
10738 has a much larger code and data size. Note that these values will
10739 vary depending on the efficiency of the compiler and the compiler
10740 options used during generation.
10743 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
10744 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
10746 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
10747 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
10752 Allow ":" in OS override string (Ducrot Bruno)
10754 Kobject fix (Greg KH)
10757 3 iASL Compiler/Disassembler:
10759 Fixed a problem in the generation of the C source code files (AML
10760 is emitted in C source statements for BIOS inclusion) where the
10761 Ascii dump that appears within a C comment at the end of each line
10762 could cause a compile time error if the AML sequence happens to
10763 have an open comment or close comment sequence embedded.
10766 ----------------------------------------
10767 24 April 2003. Summary of changes for version 20030424.
10770 1) ACPI CA Core Subsystem:
10772 Support for big-endian systems has been implemented. Most of the
10773 support has been invisibly added behind big-endian versions of the
10774 ACPI_MOVE_* macros.
10776 Fixed a problem in AcpiHwDisableGpeBlock() and
10777 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
10778 low level hardware write routine. The offset parameter was
10779 actually eliminated from the low level read/write routines because
10780 they had become obsolete.
10782 Fixed a problem where a handler object was deleted twice during
10783 the removal of a fixed event handler.
10788 A fix for SMP systems with link devices was contributed by
10792 (2.5) Return whether we handled the interrupt in our IRQ handler.
10793 (Linux ISRs no longer return void, so we can propagate the handler
10794 return value from the ACPI CA core back to the OS.)
10800 The ACPI CA Programmer Reference has been updated to reflect new
10801 interfaces and changes to existing interfaces.
10803 ----------------------------------------
10804 28 March 2003. Summary of changes for version 20030328.
10806 1) ACPI CA Core Subsystem:
10808 The GPE Block Device support has been completed. New interfaces
10809 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
10810 interfaces (enable, disable, clear, getstatus) have been split
10811 into separate interfaces for Fixed Events and General Purpose
10812 Events (GPEs) in order to support GPE Block Devices properly.
10814 Fixed a problem where the error message "Failed to acquire
10815 semaphore" would appear during operations on the embedded
10818 Code and Data Size: Current core subsystem library sizes are shown
10819 below. These are the code and data sizes for the acpica.lib
10820 produced by the Microsoft Visual C++ 6.0 compiler, and these
10821 values do not include any ACPI driver or OSPM code. The debug
10822 version of the code includes the debug output trace mechanism and
10823 has a much larger code and data size. Note that these values will
10824 vary depending on the efficiency of the compiler and the compiler
10825 options used during generation.
10828 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
10829 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
10831 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
10832 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
10835 ----------------------------------------
10836 28 February 2003. Summary of changes for version 20030228.
10839 1) ACPI CA Core Subsystem:
10841 The GPE handling and dispatch code has been completely overhauled
10842 in preparation for support of GPE Block Devices (ID ACPI0006).
10843 This affects internal data structures and code only; there should
10844 be no differences visible externally. One new file has been
10847 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
10848 fields that are used to determine the GPE block lengths. The
10849 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
10850 structures are ignored. This is per the ACPI specification but it
10851 isn't very clear. The full 256 Block 0/1 GPEs are now supported
10852 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
10854 In the SCI interrupt handler, removed the read of the PM1_CONTROL
10855 register to look at the SCI_EN bit. On some machines, this read
10856 causes an SMI event and greatly slows down SCI events. (This may
10857 in fact be the cause of slow battery status response on some
10860 Fixed a problem where a store of a NULL string to a package object
10861 could cause the premature deletion of the object. This was seen
10862 during execution of the battery _BIF method on some systems,
10863 resulting in no battery data being returned.
10865 Added AcpiWalkResources interface to simplify parsing of resource
10868 Code and Data Size: Current core subsystem library sizes are shown
10869 below. These are the code and data sizes for the acpica.lib
10870 produced by the Microsoft Visual C++ 6.0 compiler, and these
10871 values do not include any ACPI driver or OSPM code. The debug
10872 version of the code includes the debug output trace mechanism and
10873 has a much larger code and data size. Note that these values will
10874 vary depending on the efficiency of the compiler and the compiler
10875 options used during generation.
10878 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
10879 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
10881 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
10882 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
10887 S3 fixes (Ole Rohne)
10889 Update ACPI PHP driver with to use new acpi_walk_resource API
10892 Add S4BIOS support (Pavel Machek)
10894 Map in entire table before performing checksum (John Stultz)
10896 Expand the mem= cmdline to allow the specification of reserved and
10897 ACPI DATA blocks (Pavel Machek)
10899 Never use ACPI on VISWS
10901 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
10903 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
10904 causing us to think that some systems support C2 when they really
10907 Do not count processor objects for non-present CPUs (Thanks to
10913 Fixed a problem where ASL include files could not be found and
10916 Added support for the _PDC reserved name.
10919 ----------------------------------------
10920 22 January 2003. Summary of changes for version 20030122.
10923 1) ACPI CA Core Subsystem:
10925 Added a check for constructs of the form: Store (Local0, Local0)
10926 where Local0 is not initialized. Apparently, some BIOS
10927 programmers believe that this is a NOOP. Since this store doesn't
10928 do anything anyway, the new prototype behavior will ignore this
10929 error. This is a case where we can relax the strict checking in
10930 the interpreter in the name of compatibility.
10935 The AcpiSrc Source Conversion Utility has been released with the
10936 Linux package for the first time. This is the utility that is
10937 used to convert the ACPI CA base source code to the Linux version.
10939 (Both) Handle P_BLK lengths shorter than 6 more gracefully
10941 (Both) Move more headers to include/acpi, and delete an unused
10944 (Both) Move drivers/acpi/include directory to include/acpi
10946 (Both) Boot functions don't use cmdline, so don't pass it around
10948 (Both) Remove include of unused header (Adrian Bunk)
10950 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
10952 former now also includes the latter, acpiphp.h only needs the one,
10955 (2.5) Make it possible to select method of bios restoring after S3
10956 resume. [=> no more ugly ifdefs] (Pavel Machek)
10958 (2.5) Make proc write interfaces work (Pavel Machek)
10960 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
10962 (2.5) Break out ACPI Perf code into its own module, under cpufreq
10963 (Dominik Brodowski)
10965 (2.4) S4BIOS support (Ducrot Bruno)
10967 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
10973 Added support to disassemble SSDT and PSDTs.
10975 Implemented support to obtain SSDTs from the Windows registry if
10979 ----------------------------------------
10980 09 January 2003. Summary of changes for version 20030109.
10982 1) ACPI CA Core Subsystem:
10984 Changed the behavior of the internal Buffer-to-String conversion
10985 function. The current ACPI specification states that the contents
10986 of the buffer are "converted to a string of two-character
10987 hexadecimal numbers, each separated by a space". Unfortunately,
10988 this definition is not backwards compatible with existing ACPI 1.0
10989 implementations (although the behavior was not defined in the ACPI
10990 1.0 specification). The new behavior simply copies data from the
10991 buffer to the string until a null character is found or the end of
10992 the buffer is reached. The new String object is always null
10993 terminated. This problem was seen during the generation of _BIF
10994 battery data where incorrect strings were returned for battery
10995 type, etc. This will also require an errata to the ACPI
10998 Renamed all instances of NATIVE_UINT and NATIVE_INT to
10999 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
11001 Copyright in all module headers (both Linux and non-Linux) has be
11004 Code and Data Size: Current core subsystem library sizes are shown
11005 below. These are the code and data sizes for the acpica.lib
11006 produced by the Microsoft Visual C++ 6.0 compiler, and these
11007 values do not include any ACPI driver or OSPM code. The debug
11008 version of the code includes the debug output trace mechanism and
11009 has a much larger code and data size. Note that these values will
11010 vary depending on the efficiency of the compiler and the compiler
11011 options used during generation.
11014 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11015 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11017 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11018 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11023 Fixed an oops on module insertion/removal (Matthew Tippett)
11025 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
11027 (2.5) Replace pr_debug (Randy Dunlap)
11029 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
11031 (Both) Eliminate spawning of thread from timer callback, in favor
11034 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
11036 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
11038 (Both) Add missing statics to button.c (Pavel Machek)
11040 Several changes have been made to the source code translation
11041 utility that generates the Linux Code in order to make the code
11044 All typedefs on structs and unions have been removed in keeping
11045 with the Linux coding style.
11047 Removed the non-Linux SourceSafe module revision number from each
11050 Completed major overhaul of symbols to be lowercased for linux.
11051 Doubled the number of symbols that are lowercased.
11053 Fixed a problem where identifiers within procedure headers and
11054 within quotes were not fully lower cased (they were left with a
11057 Some C macros whose only purpose is to allow the generation of 16-
11058 bit code are now completely removed in the Linux code, increasing
11059 readability and maintainability.
11061 ----------------------------------------
11063 12 December 2002. Summary of changes for version 20021212.
11066 1) ACPI CA Core Subsystem:
11068 Fixed a problem where the creation of a zero-length AML Buffer
11069 would cause a fault.
11071 Fixed a problem where a Buffer object that pointed to a static AML
11072 buffer (in an ACPI table) could inadvertently be deleted, causing
11075 Fixed a problem where a user buffer (passed in to the external
11076 ACPI CA interfaces) could be overwritten if the buffer was too
11077 small to complete the operation, causing memory corruption.
11079 Fixed a problem in the Buffer-to-String conversion code where a
11080 string of length one was always returned, regardless of the size
11081 of the input Buffer object.
11083 Removed the NATIVE_CHAR data type across the entire source due to
11084 lack of need and lack of consistent use.
11086 Code and Data Size: Current core subsystem library sizes are shown
11087 below. These are the code and data sizes for the acpica.lib
11088 produced by the Microsoft Visual C++ 6.0 compiler, and these
11089 values do not include any ACPI driver or OSPM code. The debug
11090 version of the code includes the debug output trace mechanism and
11091 has a much larger code and data size. Note that these values will
11092 vary depending on the efficiency of the compiler and the compiler
11093 options used during generation.
11096 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
11097 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
11099 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
11100 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
11103 ----------------------------------------
11104 05 December 2002. Summary of changes for version 20021205.
11106 1) ACPI CA Core Subsystem:
11108 Fixed a problem where a store to a String or Buffer object could
11109 cause corruption of the DSDT if the object type being stored was
11110 the same as the target object type and the length of the object
11111 being stored was equal to or smaller than the original (existing)
11112 target object. This was seen to cause corruption of battery _BIF
11113 buffers if the _BIF method modified the buffer on the fly.
11115 Fixed a problem where an internal error was generated if a control
11116 method invocation was used in an OperationRegion, Buffer, or
11117 Package declaration. This was caused by the deferred parsing of
11118 the control method and thus the deferred creation of the internal
11119 method object. The solution to this problem was to create the
11120 internal method object at the moment the method is encountered in
11121 the first pass - so that subsequent references to the method will
11122 able to obtain the required parameter count and thus properly
11123 parse the method invocation. This problem presented itself as an
11124 AE_AML_INTERNAL during the pass 1 parse phase during table load.
11126 Fixed a problem where the internal String object copy routine did
11127 not always allocate sufficient memory for the target String object
11128 and caused memory corruption. This problem was seen to cause
11129 "Allocation already present in list!" errors as memory allocation
11132 Implemented a new function for the evaluation of namespace objects
11133 that allows the specification of the allowable return object
11134 types. This simplifies a lot of code that checks for a return
11135 object of one or more specific objects returned from the
11136 evaluation (such as _STA, etc.) This may become and external
11137 function if it would be useful to ACPI-related drivers.
11139 Completed another round of prefixing #defines with "ACPI_" for
11142 Completed additional code restructuring to allow more modular
11143 linking for iASL compiler and AcpiExec. Several files were split
11144 creating new files. New files: nsparse.c dsinit.c evgpe.c
11146 Implemented an abort mechanism to terminate an executing control
11147 method via the AML debugger. This feature is useful for debugging
11148 control methods that depend (wait) for specific hardware
11151 Code and Data Size: Current core subsystem library sizes are shown
11152 below. These are the code and data sizes for the acpica.lib
11153 produced by the Microsoft Visual C++ 6.0 compiler, and these
11154 values do not include any ACPI driver or OSPM code. The debug
11155 version of the code includes the debug output trace mechanism and
11156 has a much larger code and data size. Note that these values will
11157 vary depending on the efficiency of the compiler and the compiler
11158 options used during generation.
11161 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11162 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
11164 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
11165 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
11168 2) iASL Compiler/Disassembler
11170 Fixed a compiler code generation problem for "Interrupt" Resource
11171 Descriptors. If specified in the ASL, the optional "Resource
11172 Source Index" and "Resource Source" fields were not inserted into
11173 the correct location within the AML resource descriptor, creating
11174 an invalid descriptor.
11176 Fixed a disassembler problem for "Interrupt" resource descriptors.
11177 The optional "Resource Source Index" and "Resource Source" fields
11181 ----------------------------------------
11182 22 November 2002. Summary of changes for version 20021122.
11185 1) ACPI CA Core Subsystem:
11187 Fixed a reported problem where an object stored to a Method Local
11188 or Arg was not copied to a new object during the store - the
11189 object pointer was simply copied to the Local/Arg. This caused
11190 all subsequent operations on the Local/Arg to also affect the
11191 original source of the store operation.
11193 Fixed a problem where a store operation to a Method Local or Arg
11194 was not completed properly if the Local/Arg contained a reference
11195 (from RefOf) to a named field. The general-purpose store-to-
11196 namespace-node code is now used so that this case is handled
11199 Fixed a problem where the internal object copy routine would cause
11200 a protection fault if the object being copied was a Package and
11201 contained either 1) a NULL package element or 2) a nested sub-
11204 Fixed a problem with the GPE initialization that resulted from an
11205 ambiguity in the ACPI specification. One section of the
11206 specification states that both the address and length of the GPE
11207 block must be zero if the block is not supported. Another section
11208 implies that only the address need be zero if the block is not
11209 supported. The code has been changed so that both the address and
11210 the length must be non-zero to indicate a valid GPE block (i.e.,
11211 if either the address or the length is zero, the GPE block is
11214 Code and Data Size: Current core subsystem library sizes are shown
11215 below. These are the code and data sizes for the acpica.lib
11216 produced by the Microsoft Visual C++ 6.0 compiler, and these
11217 values do not include any ACPI driver or OSPM code. The debug
11218 version of the code includes the debug output trace mechanism and
11219 has a much larger code and data size. Note that these values will
11220 vary depending on the efficiency of the compiler and the compiler
11221 options used during generation.
11224 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
11225 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
11227 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11228 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
11233 Cleaned up EC driver. Exported an external EC read/write
11234 interface. By going through this, other drivers (most notably
11235 sonypi) will be able to serialize access to the EC.
11238 3) iASL Compiler/Disassembler
11240 Implemented support to optionally generate include files for both
11241 ASM and C (the -i switch). This simplifies BIOS development by
11242 automatically creating include files that contain external
11243 declarations for the symbols that are created within the
11245 (optionally generated) ASM and C AML source files.
11248 ----------------------------------------
11249 15 November 2002. Summary of changes for version 20021115.
11251 1) ACPI CA Core Subsystem:
11253 Fixed a memory leak problem where an error during resolution of
11255 method arguments during a method invocation from another method
11256 failed to cleanup properly by deleting all successfully resolved
11259 Fixed a problem where the target of the Index() operator was not
11260 correctly constructed if the source object was a package. This
11261 problem has not been detected because the use of a target operand
11262 with Index() is very rare.
11264 Fixed a problem with the Index() operator where an attempt was
11265 made to delete the operand objects twice.
11267 Fixed a problem where an attempt was made to delete an operand
11268 twice during execution of the CondRefOf() operator if the target
11271 Implemented the first of perhaps several internal create object
11272 functions that create and initialize a specific object type. This
11273 consolidates duplicated code wherever the object is created, thus
11274 shrinking the size of the subsystem.
11276 Implemented improved debug/error messages for errors that occur
11277 during nested method invocations. All executing method pathnames
11278 are displayed (with the error) as the call stack is unwound - thus
11281 Fixed a problem introduced in the 10/02 release that caused
11282 premature deletion of a buffer object if a buffer was used as an
11283 ASL operand where an integer operand is required (Thus causing an
11284 implicit object conversion from Buffer to Integer.) The change in
11285 the 10/02 release was attempting to fix a memory leak (albeit
11288 Code and Data Size: Current core subsystem library sizes are shown
11289 below. These are the code and data sizes for the acpica.lib
11290 produced by the Microsoft Visual C++ 6.0 compiler, and these
11291 values do not include any ACPI driver or OSPM code. The debug
11292 version of the code includes the debug output trace mechanism and
11293 has a much larger code and data size. Note that these values will
11294 vary depending on the efficiency of the compiler and the compiler
11295 options used during generation.
11298 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
11299 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
11301 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
11302 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
11307 Changed the implementation of the ACPI semaphores to use down()
11308 instead of down_interruptable(). It is important that the
11309 execution of ACPI control methods not be interrupted by signals.
11310 Methods must run to completion, or the system may be left in an
11311 unknown/unstable state.
11313 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
11317 3) iASL Compiler/Disassembler
11320 Changed the default location of output files. All output files
11321 are now placed in the current directory by default instead of in
11322 the directory of the source file. This change may affect some
11323 existing makefiles, but it brings the behavior of the compiler in
11324 line with other similar tools. The location of the output files
11325 can be overridden with the -p command line switch.
11328 ----------------------------------------
11329 11 November 2002. Summary of changes for version 20021111.
11332 0) ACPI Specification 2.0B is released and is now available at:
11333 http://www.acpi.info/index.html
11336 1) ACPI CA Core Subsystem:
11338 Implemented support for the ACPI 2.0 SMBus Operation Regions.
11339 This includes the early detection and handoff of the request to
11340 the SMBus region handler (avoiding all of the complex field
11341 support code), and support for the bidirectional return packet
11342 from an SMBus write operation. This paves the way for the
11343 development of SMBus drivers in each host operating system.
11345 Fixed a problem where the semaphore WAIT_FOREVER constant was
11346 defined as 32 bits, but must be 16 bits according to the ACPI
11347 specification. This had the side effect of causing ASL
11348 Mutex/Event timeouts even though the ASL code requested a wait
11349 forever. Changed all internal references to the ACPI timeout
11350 parameter to 16 bits to prevent future problems. Changed the name
11351 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
11353 Code and Data Size: Current core subsystem library sizes are shown
11354 below. These are the code and data sizes for the acpica.lib
11355 produced by the Microsoft Visual C++ 6.0 compiler, and these
11356 values do not include any ACPI driver or OSPM code. The debug
11357 version of the code includes the debug output trace mechanism and
11358 has a much larger code and data size. Note that these values will
11359 vary depending on the efficiency of the compiler and the compiler
11360 options used during generation.
11363 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11364 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
11366 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
11367 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
11372 Module loading/unloading fixes (John Cagle)
11375 3) iASL Compiler/Disassembler
11377 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
11379 Implemented support for the disassembly of all SMBus protocol
11380 keywords (SMBQuick, SMBWord, etc.)
11382 ----------------------------------------
11383 01 November 2002. Summary of changes for version 20021101.
11386 1) ACPI CA Core Subsystem:
11388 Fixed a problem where platforms that have a GPE1 block but no GPE0
11389 block were not handled correctly. This resulted in a "GPE
11390 overlap" error message. GPE0 is no longer required.
11392 Removed code added in the previous release that inserted nodes
11393 into the namespace in alphabetical order. This caused some side-
11394 effects on various machines. The root cause of the problem is
11395 still under investigation since in theory, the internal ordering
11396 of the namespace nodes should not matter.
11399 Enhanced error reporting for the case where a named object is not
11400 found during control method execution. The full ACPI namepath
11401 (name reference) of the object that was not found is displayed in
11404 Note: as a result of the overhaul of the namespace object types in
11405 the previous release, the namespace nodes for the predefined
11406 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
11407 instead of ACPI_TYPE_ANY. This simplifies the namespace
11408 management code but may affect code that walks the namespace tree
11409 looking for specific object types.
11411 Code and Data Size: Current core subsystem library sizes are shown
11412 below. These are the code and data sizes for the acpica.lib
11413 produced by the Microsoft Visual C++ 6.0 compiler, and these
11414 values do not include any ACPI driver or OSPM code. The debug
11415 version of the code includes the debug output trace mechanism and
11416 has a much larger code and data size. Note that these values will
11417 vary depending on the efficiency of the compiler and the compiler
11418 options used during generation.
11421 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
11422 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
11424 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
11425 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
11430 Fixed a problem introduced in the previous release where the
11431 Processor and Thermal objects were not recognized and installed in
11432 /proc. This was related to the scope type change described above.
11435 3) iASL Compiler/Disassembler
11437 Implemented the -g option to get all of the required ACPI tables
11438 from the registry and save them to files (Windows version of the
11439 compiler only.) The required tables are the FADT, FACS, and DSDT.
11441 Added ACPI table checksum validation during table disassembly in
11442 order to catch corrupted tables.
11445 ----------------------------------------
11446 22 October 2002. Summary of changes for version 20021022.
11448 1) ACPI CA Core Subsystem:
11450 Implemented a restriction on the Scope operator that the target
11451 must already exist in the namespace at the time the operator is
11452 encountered (during table load or method execution). In other
11453 words, forward references are not allowed and Scope() cannot
11454 create a new object. This changes the previous behavior where the
11455 interpreter would create the name if not found. This new behavior
11456 correctly enables the search-to-root algorithm during namespace
11457 lookup of the target name. Because of this upsearch, this fixes
11458 the known Compaq _SB_.OKEC problem and makes both the AML
11459 interpreter and iASL compiler compatible with other ACPI
11462 Completed a major overhaul of the internal ACPI object types for
11463 the ACPI Namespace and the associated operand objects. Many of
11464 these types had become obsolete with the introduction of the two-
11465 pass namespace load. This cleanup simplifies the code and makes
11466 the entire namespace load mechanism much clearer and easier to
11469 Improved debug output for tracking scope opening/closing to help
11470 diagnose scoping issues. The old scope name as well as the new
11471 scope name are displayed. Also improved error messages for
11472 problems with ASL Mutex objects and error messages for GPE
11475 Cleaned up the namespace dump code, removed obsolete code.
11477 All string output (for all namespace/object dumps) now uses the
11478 common ACPI string output procedure which handles escapes properly
11479 and does not emit non-printable characters.
11481 Fixed some issues with constants in the 64-bit version of the
11482 local C library (utclib.c)
11487 EC Driver: No longer attempts to acquire the Global Lock at
11491 3) iASL Compiler/Disassembler
11493 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
11494 2 opcodes outside of a control method. This means that the
11495 "executable" operators (versus the "namespace" operators) cannot
11496 be used at the table level; they can only be used within a control
11499 Implemented the restriction on the Scope() operator where the
11500 target must already exist in the namespace at the time the
11501 operator is encountered (during ASL compilation). In other words,
11502 forward references are not allowed and Scope() cannot create a new
11503 object. This makes the iASL compiler compatible with other ACPI
11504 implementations and makes the Scope() implementation adhere to the
11505 ACPI specification.
11507 Fixed a problem where namepath optimization for the Alias operator
11508 was optimizing the wrong path (of the two namepaths.) This caused
11509 a "Missing alias link" error message.
11511 Fixed a problem where an "unknown reserved name" warning could be
11512 incorrectly generated for names like "_SB" when the trailing
11513 underscore is not used in the original ASL.
11515 Fixed a problem where the reserved name check did not handle
11516 NamePaths with multiple NameSegs correctly. The first nameseg of
11517 the NamePath was examined instead of the last NameSeg.
11520 ----------------------------------------
11522 02 October 2002. Summary of changes for this release.
11525 1) ACPI CA Core Subsystem version 20021002:
11527 Fixed a problem where a store/copy of a string to an existing
11528 string did not always set the string length properly in the String
11531 Fixed a reported problem with the ToString operator where the
11532 behavior was identical to the ToHexString operator instead of just
11533 simply converting a raw buffer to a string data type.
11535 Fixed a problem where CopyObject and the other "explicit"
11536 conversion operators were not updating the internal namespace node
11537 type as part of the store operation.
11539 Fixed a memory leak during implicit source operand conversion
11540 where the original object was not deleted if it was converted to a
11541 new object of a different type.
11543 Enhanced error messages for all problems associated with namespace
11544 lookups. Common procedure generates and prints the lookup name as
11545 well as the formatted status.
11547 Completed implementation of a new design for the Alias support
11548 within the namespace. The existing design did not handle the case
11549 where a new object was assigned to one of the two names due to the
11550 use of an explicit conversion operator, resulting in the two names
11551 pointing to two different objects. The new design simply points
11552 the Alias name to the original name node - not to the object.
11553 This results in a level of indirection that must be handled in the
11554 name resolution mechanism.
11556 Code and Data Size: Current core subsystem library sizes are shown
11557 below. These are the code and data sizes for the acpica.lib
11558 produced by the Microsoft Visual C++ 6.0 compiler, and these
11559 values do not include any ACPI driver or OSPM code. The debug
11560 version of the code includes the debug output trace mechanism and
11561 has a larger code and data size. Note that these values will vary
11562 depending on the efficiency of the compiler and the compiler
11563 options used during generation.
11566 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
11567 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
11569 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
11570 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
11575 Initialize thermal driver's timer before it is used. (Knut
11578 Allow handling negative celsius values. (Kochi Takayoshi)
11580 Fix thermal management and make trip points. R/W (Pavel Machek)
11582 Fix /proc/acpi/sleep. (P. Christeas)
11584 IA64 fixes. (David Mosberger)
11586 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
11588 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
11592 3) iASL Compiler/Disassembler
11594 Clarified some warning/error messages.
11597 ----------------------------------------
11598 18 September 2002. Summary of changes for this release.
11601 1) ACPI CA Core Subsystem version 20020918:
11603 Fixed a reported problem with reference chaining (via the Index()
11604 and RefOf() operators) in the ObjectType() and SizeOf() operators.
11605 The definition of these operators includes the dereferencing of
11606 all chained references to return information on the base object.
11608 Fixed a problem with stores to indexed package elements - the
11609 existing code would not complete the store if an "implicit
11610 conversion" was not performed. In other words, if the existing
11611 object (package element) was to be replaced completely, the code
11612 didn't handle this case.
11614 Relaxed typechecking on the ASL "Scope" operator to allow the
11615 target name to refer to an object of type Integer, String, or
11616 Buffer, in addition to the scoping object types (Device,
11617 predefined Scopes, Processor, PowerResource, and ThermalZone.)
11618 This allows existing AML code that has workarounds for a bug in
11619 Windows to function properly. A warning is issued, however. This
11620 affects both the AML interpreter and the iASL compiler. Below is
11621 an example of this type of ASL code:
11627 Fixed some reported problems with 64-bit integer support in the
11628 local implementation of C library functions (clib.c)
11633 Use ACPI fix map region instead of IOAPIC region, since it is
11634 undefined in non-SMP.
11636 Ensure that the SCI has the proper polarity and trigger, even on
11637 systems that do not have an interrupt override entry in the MADT.
11639 2.5 big driver reorganization (Pat Mochel)
11641 Use early table mapping code from acpitable.c (Andi Kleen)
11643 New blacklist entries (Andi Kleen)
11645 Blacklist improvements. Split blacklist code out into a separate
11646 file. Move checking the blacklist to very early. Previously, we
11647 would use ACPI tables, and then halfway through init, check the
11648 blacklist -- too late. Now, it's early enough to completely fall-
11652 3) iASL Compiler/Disassembler version 20020918:
11654 Fixed a problem where the typechecking code didn't know that an
11655 alias could point to a method. In other words, aliases were not
11656 being dereferenced during typechecking.
11659 ----------------------------------------
11660 29 August 2002. Summary of changes for this release.
11662 1) ACPI CA Core Subsystem Version 20020829:
11664 If the target of a Scope() operator already exists, it must be an
11665 object type that actually opens a scope -- such as a Device,
11666 Method, Scope, etc. This is a fatal runtime error. Similar error
11667 check has been added to the iASL compiler also.
11669 Tightened up the namespace load to disallow multiple names in the
11670 same scope. This previously was allowed if both objects were of
11671 the same type. (i.e., a lookup was the same as entering a new
11677 Ensure that the ACPI interrupt has the proper trigger and
11680 local_irq_disable is extraneous. (Matthew Wilcox)
11682 Make "acpi=off" actually do what it says, and not use the ACPI
11683 interpreter *or* the tables.
11685 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
11689 3) iASL Compiler/Disassembler Version 20020829:
11691 Implemented namepath optimization for name declarations. For
11692 example, a declaration like "Method (\_SB_.ABCD)" would get
11693 optimized to "Method (ABCD)" if the declaration is within the
11694 \_SB_ scope. This optimization is in addition to the named
11695 reference path optimization first released in the previous
11696 version. This would seem to complete all possible optimizations
11697 for namepaths within the ASL/AML.
11699 If the target of a Scope() operator already exists, it must be an
11700 object type that actually opens a scope -- such as a Device,
11701 Method, Scope, etc.
11703 Implemented a check and warning for unreachable code in the same
11704 block below a Return() statement.
11706 Fixed a problem where the listing file was not generated if the
11707 compiler aborted if the maximum error count was exceeded (200).
11709 Fixed a problem where the typechecking of method return values was
11710 broken. This includes the check for a return value when the
11711 method is invoked as a TermArg (a return value is expected.)
11713 Fixed a reported problem where EOF conditions during a quoted
11714 string or comment caused a fault.
11717 ----------------------------------------
11718 15 August 2002. Summary of changes for this release.
11720 1) ACPI CA Core Subsystem Version 20020815:
11722 Fixed a reported problem where a Store to a method argument that
11723 contains a reference did not perform the indirect store correctly.
11724 This problem was created during the conversion to the new
11725 reference object model - the indirect store to a method argument
11726 code was not updated to reflect the new model.
11728 Reworked the ACPI mode change code to better conform to ACPI 2.0,
11729 handle corner cases, and improve code legibility (Kochi Takayoshi)
11731 Fixed a problem with the pathname parsing for the carat (^)
11732 prefix. The heavy use of the carat operator by the new namepath
11733 optimization in the iASL compiler uncovered a problem with the AML
11734 interpreter handling of this prefix. In the case where one or
11735 more carats precede a single nameseg, the nameseg was treated as
11736 standalone and the search rule (to root) was inadvertently
11737 applied. This could cause both the iASL compiler and the
11738 interpreter to find the wrong object or to miss the error that
11739 should occur if the object does not exist at that exact pathname.
11741 Found and fixed the problem where the HP Pavilion DSDT would not
11742 load. This was a relatively minor tweak to the table loading code
11743 (a problem caused by the unexpected encounter with a method
11744 invocation not within a control method), but it does not solve the
11745 overall issue of the execution of AML code at the table level.
11746 This investigation is still ongoing.
11748 Code and Data Size: Current core subsystem library sizes are shown
11749 below. These are the code and data sizes for the acpica.lib
11750 produced by the Microsoft Visual C++ 6.0 compiler, and these
11751 values do not include any ACPI driver or OSPM code. The debug
11752 version of the code includes the debug output trace mechanism and
11753 has a larger code and data size. Note that these values will vary
11754 depending on the efficiency of the compiler and the compiler
11755 options used during generation.
11758 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
11759 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
11761 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
11762 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
11767 Remove redundant slab.h include (Brad Hards)
11769 Fix several bugs in thermal.c (Herbert Nachtnebel)
11771 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
11773 Change acpi_system_suspend to use updated irq functions (Pavel
11776 Export acpi_get_firmware_table (Matthew Wilcox)
11778 Use proper root proc entry for ACPI (Kochi Takayoshi)
11780 Fix early-boot table parsing (Bjorn Helgaas)
11783 3) iASL Compiler/Disassembler
11785 Reworked the compiler options to make them more consistent and to
11786 use two-letter options where appropriate. We were running out of
11787 sensible letters. This may break some makefiles, so check the
11788 current options list by invoking the compiler with no parameters.
11790 Completed the design and implementation of the ASL namepath
11791 optimization option for the compiler. This option optimizes all
11792 references to named objects to the shortest possible path. The
11793 first attempt tries to utilize a single nameseg (4 characters) and
11794 the "search-to-root" algorithm used by the interpreter. If that
11795 cannot be used (because either the name is not in the search path
11796 or there is a conflict with another object with the same name),
11797 the pathname is optimized using the carat prefix (usually a
11798 shorter string than specifying the entire path from the root.)
11800 Implemented support to obtain the DSDT from the Windows registry
11801 (when the disassembly option is specified with no input file).
11802 Added this code as the implementation for AcpiOsTableOverride in
11803 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
11804 utility) to scan memory for the DSDT to the AcpiOsTableOverride
11805 function in the DOS OSL to make the disassembler truly OS
11808 Implemented a new option to disassemble and compile in one step.
11809 When used without an input filename, this option will grab the
11810 DSDT from the local machine, disassemble it, and compile it in one
11813 Added a warning message for invalid escapes (a backslash followed
11814 by any character other than the allowable escapes). This catches
11815 the quoted string error "\_SB_" (which should be "\\_SB_" ).
11817 Also, there are numerous instances in the ACPI specification where
11820 Added a compiler option to disable all optimizations. This is
11821 basically the "compatibility mode" because by using this option,
11822 the AML code will come out exactly the same as other ASL
11825 Added error messages for incorrectly ordered dependent resource
11826 functions. This includes: missing EndDependentFn macro at end of
11827 dependent resource list, nested dependent function macros (both
11828 start and end), and missing StartDependentFn macro. These are
11829 common errors that should be caught at compile time.
11831 Implemented _OSI support for the disassembler and compiler. _OSI
11832 must be included in the namespace for proper disassembly (because
11833 the disassembler must know the number of arguments.)
11835 Added an "optimization" message type that is optional (off by
11836 default). This message is used for all optimizations - including
11837 constant folding, integer optimization, and namepath optimization.
11839 ----------------------------------------
11840 25 July 2002. Summary of changes for this release.
11843 1) ACPI CA Core Subsystem Version 20020725:
11845 The AML Disassembler has been enhanced to produce compilable ASL
11846 code and has been integrated into the iASL compiler (see below) as
11847 well as the single-step disassembly for the AML debugger and the
11848 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
11849 resource templates and macros are fully supported. The
11850 disassembler has been tested on over 30 different AML files,
11851 producing identical AML when the resulting disassembled ASL file
11852 is recompiled with the same ASL compiler.
11854 Modified the Resource Manager to allow zero interrupts and zero
11855 dma channels during the GetCurrentResources call. This was
11856 causing problems on some platforms.
11858 Added the AcpiOsRedirectOutput interface to the OSL to simplify
11859 output redirection for the AcpiOsPrintf and AcpiOsVprintf
11862 Code and Data Size: Current core subsystem library sizes are shown
11863 below. These are the code and data sizes for the acpica.lib
11864 produced by the Microsoft Visual C++ 6.0 compiler, and these
11865 values do not include any ACPI driver or OSPM code. The debug
11866 version of the code includes the debug output trace mechanism and
11867 has a larger code and data size. Note that these values will vary
11868 depending on the efficiency of the compiler and the compiler
11869 options used during generation.
11872 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
11873 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
11875 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
11876 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
11881 Fixed a panic in the EC driver (Dominik Brodowski)
11883 Implemented checksum of the R/XSDT itself during Linux table scan
11889 The AML disassembler is integrated into the compiler. The "-d"
11890 option invokes the disassembler to completely disassemble an
11891 input AML file, producing as output a text ASL file with the
11892 extension ".dsl" (to avoid name collisions with existing .asl
11893 source files.) A future enhancement will allow the disassembler
11894 to obtain the BIOS DSDT from the registry under Windows.
11896 Fixed a problem with the VendorShort and VendorLong resource
11897 descriptors where an invalid AML sequence was created.
11899 Implemented a fix for BufferData term in the ASL parser. It was
11900 inadvertently defined twice, allowing invalid syntax to pass and
11901 causing reduction conflicts.
11903 Fixed a problem where the Ones opcode could get converted to a
11904 value of zero if "Ones" was used where a byte, word or dword value
11905 was expected. The 64-bit value is now truncated to the correct
11906 size with the correct value.
11910 ----------------------------------------
11911 02 July 2002. Summary of changes for this release.
11914 1) ACPI CA Core Subsystem Version 20020702:
11916 The Table Manager code has been restructured to add several new
11917 features. Tables that are not required by the core subsystem
11918 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
11919 validated in any way and are returned from AcpiGetFirmwareTable if
11920 requested. The AcpiOsTableOverride interface is now called for
11921 each table that is loaded by the subsystem in order to allow the
11922 host to override any table it chooses. Previously, only the DSDT
11923 could be overridden. Added one new files, tbrsdt.c and
11926 Fixed a problem with the conversion of internal package objects to
11927 external objects (when a package is returned from a control
11928 method.) The return buffer length was set to zero instead of the
11929 proper length of the package object.
11931 Fixed a reported problem with the use of the RefOf and DeRefOf
11932 operators when passing reference arguments to control methods. A
11933 new type of Reference object is used internally for references
11934 produced by the RefOf operator.
11936 Added additional error messages in the Resource Manager to explain
11937 AE_BAD_DATA errors when they occur during resource parsing.
11939 Split the AcpiEnableSubsystem into two primitives to enable a
11940 finer granularity initialization sequence. These two calls should
11941 be called in this order: AcpiEnableSubsystem (flags),
11942 AcpiInitializeObjects (flags). The flags parameter remains the
11948 Updated the ACPI utilities module to understand the new style of
11949 fully resolved package objects that are now returned from the core
11950 subsystem. This eliminates errors of the form:
11952 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
11953 acpi_utils-0430 [145] acpi_evaluate_reference:
11954 Invalid element in package (not a device reference)
11956 The method evaluation utility uses the new buffer allocation
11957 scheme instead of calling AcpiEvaluate Object twice.
11959 Added support for ECDT. This allows the use of the Embedded
11961 Controller before the namespace has been fully initialized, which
11962 is necessary for ACPI 2.0 support, and for some laptops to
11963 initialize properly. (Laptops using ECDT are still rare, so only
11964 limited testing was performed of the added functionality.)
11966 Fixed memory leaks in the EC driver.
11968 Eliminated a brittle code structure in acpi_bus_init().
11970 Eliminated the acpi_evaluate() helper function in utils.c. It is
11971 no longer needed since acpi_evaluate_object can optionally
11972 allocate memory for the return object.
11974 Implemented fix for keyboard hang when getting battery readings on
11975 some systems (Stephen White)
11977 PCI IRQ routing update (Dominik Brodowski)
11979 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
11982 ----------------------------------------
11983 11 June 2002. Summary of changes for this release.
11986 1) ACPI CA Core Subsystem Version 20020611:
11988 Fixed a reported problem where constants such as Zero and One
11989 appearing within _PRT packages were not handled correctly within
11990 the resource manager code. Originally reported against the ASL
11991 compiler because the code generator now optimizes integers to
11992 their minimal AML representation (i.e. AML constants if possible.)
11993 The _PRT code now handles all AML constant opcodes correctly
11994 (Zero, One, Ones, Revision).
11996 Fixed a problem with the Concatenate operator in the AML
11997 interpreter where a buffer result object was incorrectly marked as
11998 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
12000 All package sub-objects are now fully resolved before they are
12001 returned from the external ACPI interfaces. This means that name
12002 strings are resolved to object handles, and constant operators
12003 (Zero, One, Ones, Revision) are resolved to Integers.
12005 Implemented immediate resolution of the AML Constant opcodes
12006 (Zero, One, Ones, Revision) to Integer objects upon detection
12007 within the AML stream. This has simplified and reduced the
12008 generated code size of the subsystem by eliminating about 10
12009 switch statements for these constants (which previously were
12010 contained in Reference objects.) The complicating issues are that
12011 the Zero opcode is used as a "placeholder" for unspecified
12012 optional target operands and stores to constants are defined to be
12015 Code and Data Size: Current core subsystem library sizes are shown
12016 below. These are the code and data sizes for the acpica.lib
12017 produced by the Microsoft Visual C++ 6.0 compiler, and these
12018 values do not include any ACPI driver or OSPM code. The debug
12019 version of the code includes the debug output trace mechanism and
12020 has a larger code and data size. Note that these values will vary
12021 depending on the efficiency of the compiler and the compiler
12022 options used during generation.
12025 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
12026 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
12028 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
12029 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
12035 Added preliminary support for obtaining _TRA data for PCI root
12036 bridges (Bjorn Helgaas).
12039 3) iASL Compiler Version X2046:
12041 Fixed a problem where the "_DDN" reserved name was defined to be a
12042 control method with one argument. There are no arguments, and
12043 _DDN does not have to be a control method.
12045 Fixed a problem with the Linux version of the compiler where the
12046 source lines printed with error messages were the wrong lines.
12047 This turned out to be the "LF versus CR/LF" difference between
12048 Windows and Unix. This appears to be the longstanding issue
12049 concerning listing output and error messages.
12051 Fixed a problem with the Linux version of compiler where opcode
12052 names within error messages were wrong. This was caused by a
12053 slight difference in the output of the Flex tool on Linux versus
12056 Fixed a problem with the Linux compiler where the hex output files
12057 contained some garbage data caused by an internal buffer overrun.
12060 ----------------------------------------
12061 17 May 2002. Summary of changes for this release.
12064 1) ACPI CA Core Subsystem Version 20020517:
12066 Implemented a workaround to an BIOS bug discovered on the HP
12067 OmniBook where the FADT revision number and the table size are
12068 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
12069 behavior is to fallback to using only the ACPI 1.0 fields of the
12070 FADT if the table is too small to be a ACPI 2.0 table as claimed
12071 by the revision number. Although this is a BIOS bug, this is a
12072 case where the workaround is simple enough and with no side
12073 effects, so it seemed prudent to add it. A warning message is
12076 Implemented minimum size checks for the fixed-length ACPI tables -
12077 - the FADT and FACS, as well as consistency checks between the
12078 revision number and the table size.
12080 Fixed a reported problem in the table override support where the
12081 new table pointer was incorrectly treated as a physical address
12082 instead of a logical address.
12084 Eliminated the use of the AE_AML_ERROR exception and replaced it
12085 with more descriptive codes.
12087 Fixed a problem where an exception would occur if an ASL Field was
12088 defined with no named Field Units underneath it (used by some
12091 Code and Data Size: Current core subsystem library sizes are shown
12092 below. These are the code and data sizes for the acpica.lib
12093 produced by the Microsoft Visual C++ 6.0 compiler, and these
12094 values do not include any ACPI driver or OSPM code. The debug
12095 version of the code includes the debug output trace mechanism and
12096 has a larger code and data size. Note that these values will vary
12097 depending on the efficiency of the compiler and the compiler
12098 options used during generation.
12101 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
12102 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
12104 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
12105 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
12111 Much work done on ACPI init (MADT and PCI IRQ routing support).
12112 (Paul D. and Dominik Brodowski)
12114 Fix PCI IRQ-related panic on boot (Sam Revitch)
12116 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
12118 Fix "MHz" typo (Dominik Brodowski)
12120 Fix RTC year 2000 issue (Dominik Brodowski)
12122 Preclude multiple button proc entries (Eric Brunet)
12124 Moved arch-specific code out of include/platform/aclinux.h
12126 3) iASL Compiler Version X2044:
12128 Implemented error checking for the string used in the EISAID macro
12129 (Usually used in the definition of the _HID object.) The code now
12130 strictly enforces the PnP format - exactly 7 characters, 3
12131 uppercase letters and 4 hex digits.
12133 If a raw string is used in the definition of the _HID object
12134 (instead of the EISAID macro), the string must contain all
12135 alphanumeric characters (e.g., "*PNP0011" is not allowed because
12138 Implemented checking for invalid use of ACPI reserved names for
12139 most of the name creation operators (Name, Device, Event, Mutex,
12140 OperationRegion, PowerResource, Processor, and ThermalZone.)
12141 Previously, this check was only performed for control methods.
12143 Implemented an additional check on the Name operator to emit an
12144 error if a reserved name that must be implemented in ASL as a
12145 control method is used. We know that a reserved name must be a
12146 method if it is defined with input arguments.
12148 The warning emitted when a namespace object reference is not found
12149 during the cross reference phase has been changed into an error.
12150 The "External" directive should be used for names defined in other
12154 4) Tools and Utilities
12156 The 16-bit tools (adump16 and aexec16) have been regenerated and
12159 Fixed a problem with the output of both acpidump and adump16 where
12160 the indentation of closing parentheses and brackets was not
12162 aligned properly with the parent block.
12165 ----------------------------------------
12166 03 May 2002. Summary of changes for this release.
12169 1) ACPI CA Core Subsystem Version 20020503:
12171 Added support a new OSL interface that allows the host operating
12173 system software to override the DSDT found in the firmware -
12174 AcpiOsTableOverride. With this interface, the OSL can examine the
12175 version of the firmware DSDT and replace it with a different one
12178 Added new external interfaces for accessing ACPI registers from
12179 device drivers and other system software - AcpiGetRegister and
12180 AcpiSetRegister. This was simply an externalization of the
12181 existing AcpiHwBitRegister interfaces.
12183 Fixed a regression introduced in the previous build where the
12184 ASL/AML CreateField operator always returned an error,
12185 "destination must be a NS Node".
12187 Extended the maximum time (before failure) to successfully enable
12188 ACPI mode to 3 seconds.
12190 Code and Data Size: Current core subsystem library sizes are shown
12191 below. These are the code and data sizes for the acpica.lib
12192 produced by the Microsoft Visual C++ 6.0 compiler, and these
12193 values do not include any ACPI driver or OSPM code. The debug
12194 version of the code includes the debug output trace mechanism and
12195 has a larger code and data size. Note that these values will vary
12196 depending on the efficiency of the compiler and the compiler
12197 options used during generation.
12200 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
12201 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
12203 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
12204 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
12209 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
12210 free. While 3 out of 4 of our in-house systems work fine, the last
12211 one still hangs when testing the LAPIC timer.
12213 Renamed many files in 2.5 kernel release to omit "acpi_" from the
12216 Added warning on boot for Presario 711FR.
12218 Sleep improvements (Pavel Machek)
12220 ACPI can now be built without CONFIG_PCI enabled.
12222 IA64: Fixed memory map functions (JI Lee)
12225 3) iASL Compiler Version X2043:
12227 Added support to allow the compiler to be integrated into the MS
12228 VC++ development environment for one-button compilation of single
12229 files or entire projects -- with error-to-source-line mapping.
12231 Implemented support for compile-time constant folding for the
12232 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
12233 specification. This allows the ASL writer to use expressions
12234 instead of Integer/Buffer/String constants in terms that must
12235 evaluate to constants at compile time and will also simplify the
12236 emitted AML in any such sub-expressions that can be folded
12237 (evaluated at compile-time.) This increases the size of the
12238 compiler significantly because a portion of the ACPI CA AML
12239 interpreter is included within the compiler in order to pre-
12240 evaluate constant expressions.
12243 Fixed a problem with the "Unicode" ASL macro that caused the
12244 compiler to fault. (This macro is used in conjunction with the
12245 _STR reserved name.)
12247 Implemented an AML opcode optimization to use the Zero, One, and
12248 Ones opcodes where possible to further reduce the size of integer
12249 constants and thus reduce the overall size of the generated AML
12252 Implemented error checking for new reserved terms for ACPI version
12255 Implemented the -qr option to display the current list of ACPI
12256 reserved names known to the compiler.
12258 Implemented the -qc option to display the current list of ASL
12259 operators that are allowed within constant expressions and can
12260 therefore be folded at compile time if the operands are constants.
12265 Updated the Programmer's Reference for new interfaces, data types,
12266 and memory allocation model options.
12268 Updated the iASL Compiler User Reference to apply new format and
12269 add information about new features and options.
12271 ----------------------------------------
12272 19 April 2002. Summary of changes for this release.
12274 1) ACPI CA Core Subsystem Version 20020419:
12276 The source code base for the Core Subsystem has been completely
12277 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
12278 versions. The Lint option files used are included in the
12279 /acpi/generate/lint directory.
12281 Implemented enhanced status/error checking across the entire
12282 Hardware manager subsystem. Any hardware errors (reported from
12283 the OSL) are now bubbled up and will abort a running control
12287 Fixed a problem where the per-ACPI-table integer width (32 or 64)
12288 was stored only with control method nodes, causing a fault when
12289 non-control method code was executed during table loading. The
12290 solution implemented uses a global variable to indicate table
12291 width across the entire ACPI subsystem. Therefore, ACPI CA does
12292 not support mixed integer widths across different ACPI tables
12295 Fixed a problem where NULL extended fields (X fields) in an ACPI
12296 2.0 ACPI FADT caused the table load to fail. Although the
12297 existing ACPI specification is a bit fuzzy on this topic, the new
12298 behavior is to fall back on a ACPI 1.0 field if the corresponding
12299 ACPI 2.0 X field is zero (even though the table revision indicates
12300 a full ACPI 2.0 table.) The ACPI specification will be updated to
12301 clarify this issue.
12303 Fixed a problem with the SystemMemory operation region handler
12304 where memory was always accessed byte-wise even if the AML-
12305 specified access width was larger than a byte. This caused
12306 problems on systems with memory-mapped I/O. Memory is now
12307 accessed with the width specified. On systems that do not support
12308 non-aligned transfers, a check is made to guarantee proper address
12309 alignment before proceeding in order to avoid an AML-caused
12310 alignment fault within the kernel.
12313 Fixed a problem with the ExtendedIrq resource where only one byte
12314 of the 4-byte Irq field was extracted.
12316 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
12317 function was out of date and required a rewrite.
12319 Code and Data Size: Current core subsystem library sizes are shown
12320 below. These are the code and data sizes for the acpica.lib
12321 produced by the Microsoft Visual C++ 6.0 compiler, and these
12322 values do not include any ACPI driver or OSPM code. The debug
12323 version of the code includes the debug output trace mechanism and
12324 has a larger code and data size. Note that these values will vary
12325 depending on the efficiency of the compiler and the compiler
12326 options used during generation.
12329 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
12330 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
12332 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
12333 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
12338 PCI IRQ routing fixes (Dominik Brodowski)
12341 3) iASL Compiler Version X2042:
12343 Implemented an additional compile-time error check for a field
12344 unit whose size + minimum access width would cause a run-time
12345 access beyond the end-of-region. Previously, only the field size
12346 itself was checked.
12348 The Core subsystem and iASL compiler now share a common parse
12349 object in preparation for compile-time evaluation of the type
12350 3/4/5 ASL operators.
12353 ----------------------------------------
12354 Summary of changes for this release: 03_29_02
12356 1) ACPI CA Core Subsystem Version 20020329:
12358 Implemented support for late evaluation of TermArg operands to
12359 Buffer and Package objects. This allows complex expressions to be
12360 used in the declarations of these object types.
12362 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
12363 1.0, if the field was larger than 32 bits, it was returned as a
12364 buffer - otherwise it was returned as an integer. In ACPI 2.0,
12365 the field is returned as a buffer only if the field is larger than
12366 64 bits. The TableRevision is now considered when making this
12367 conversion to avoid incompatibility with existing ASL code.
12369 Implemented logical addressing for AcpiOsGetRootPointer. This
12370 allows an RSDP with either a logical or physical address. With
12371 this support, the host OS can now override all ACPI tables with
12372 one logical RSDP. Includes implementation of "typed" pointer
12373 support to allow a common data type for both physical and logical
12374 pointers internally. This required a change to the
12375 AcpiOsGetRootPointer interface.
12377 Implemented the use of ACPI 2.0 Generic Address Structures for all
12378 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
12379 mapped I/O for these ACPI features.
12381 Initialization now ignores not only non-required tables (All
12382 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
12383 not validate the table headers of unrecognized tables.
12385 Fixed a problem where a notify handler could only be
12386 installed/removed on an object of type Device. All "notify"
12388 objects are now supported -- Devices, Processor, Power, and
12391 Removed most verbosity from the ACPI_DB_INFO debug level. Only
12392 critical information is returned when this debug level is enabled.
12394 Code and Data Size: Current core subsystem library sizes are shown
12395 below. These are the code and data sizes for the acpica.lib
12396 produced by the Microsoft Visual C++ 6.0 compiler, and these
12397 values do not include any ACPI driver or OSPM code. The debug
12398 version of the code includes the debug output trace mechanism and
12399 has a larger code and data size. Note that these values will vary
12400 depending on the efficiency of the compiler and the compiler
12401 options used during generation.
12404 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
12405 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
12407 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
12408 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
12413 The processor driver (acpi_processor.c) now fully supports ACPI
12414 2.0-based processor performance control (e.g. Intel(R)
12415 SpeedStep(TM) technology) Note that older laptops that only have
12416 the Intel "applet" interface are not supported through this. The
12417 'limit' and 'performance' interface (/proc) are fully functional.
12418 [Note that basic policy for controlling performance state
12419 transitions will be included in the next version of ospmd.] The
12420 idle handler was modified to more aggressively use C2, and PIIX4
12421 errata handling underwent a complete overhaul (big thanks to
12422 Dominik Brodowski).
12424 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
12425 based devices in the ACPI namespace are now dynamically bound
12426 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
12427 This allows, among other things, ACPI to resolve bus numbers for
12428 subordinate PCI bridges.
12430 Enhanced PCI IRQ routing to get the proper bus number for _PRT
12431 entries defined underneath PCI bridges.
12433 Added IBM 600E to bad bios list due to invalid _ADR value for
12434 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
12436 In the process of adding full MADT support (e.g. IOAPIC) for IA32
12437 (acpi.c, mpparse.c) -- stay tuned.
12439 Added back visual differentiation between fixed-feature and
12440 control-method buttons in dmesg. Buttons are also subtyped (e.g.
12441 button/power/PWRF) to simplify button identification.
12443 We no longer use -Wno-unused when compiling debug. Please ignore
12444 any "_THIS_MODULE defined but not used" messages.
12446 Can now shut down the system using "magic sysrq" key.
12449 3) iASL Compiler version 2041:
12451 Fixed a problem where conversion errors for hex/octal/decimal
12452 constants were not reported.
12454 Implemented a fix for the General Register template Address field.
12455 This field was 8 bits when it should be 64.
12457 Fixed a problem where errors/warnings were no longer being emitted
12458 within the listing output file.
12460 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
12461 exactly 4 characters, alphanumeric only.
12466 ----------------------------------------
12467 Summary of changes for this release: 03_08_02
12470 1) ACPI CA Core Subsystem Version 20020308:
12472 Fixed a problem with AML Fields where the use of the "AccessAny"
12473 keyword could cause an interpreter error due to attempting to read
12474 or write beyond the end of the parent Operation Region.
12476 Fixed a problem in the SystemMemory Operation Region handler where
12477 an attempt was made to map memory beyond the end of the region.
12478 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
12479 errors on some Linux systems.
12481 Fixed a problem where the interpreter/namespace "search to root"
12482 algorithm was not functioning for some object types. Relaxed the
12483 internal restriction on the search to allow upsearches for all
12484 external object types as well as most internal types.
12489 We now use safe_halt() macro versus individual calls to sti | hlt.
12491 Writing to the processor limit interface should now work. "echo 1"
12492 will increase the limit, 2 will decrease, and 0 will reset to the
12499 Fixed segfault on Linux version.
12502 ----------------------------------------
12503 Summary of changes for this release: 02_25_02
12505 1) ACPI CA Core Subsystem:
12508 Fixed a problem where the GPE bit masks were not initialized
12509 properly, causing erratic GPE behavior.
12511 Implemented limited support for multiple calling conventions. The
12512 code can be generated with either the VPL (variable parameter
12513 list, or "C") convention, or the FPL (fixed parameter list, or
12514 "Pascal") convention. The core subsystem is about 3.4% smaller
12515 when generated with FPL.
12520 Re-add some /proc/acpi/event functionality that was lost during
12523 Resolved issue with /proc events for fixed-feature buttons showing
12524 up as the system device.
12526 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
12528 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
12530 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
12532 Fixed limit interface & usage to fix bugs with passive cooling
12535 Restructured PRT support.
12538 ----------------------------------------
12539 Summary of changes for this label: 02_14_02
12542 1) ACPI CA Core Subsystem:
12544 Implemented support in AcpiLoadTable to allow loading of FACS and
12547 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
12548 been removed. All 64-bit platforms should be migrated to the ACPI
12549 2.0 tables. The actbl71.h header has been removed from the source
12552 All C macros defined within the subsystem have been prefixed with
12553 "ACPI_" to avoid collision with other system include files.
12555 Removed the return value for the two AcpiOsPrint interfaces, since
12556 it is never used and causes lint warnings for ignoring the return
12559 Added error checking to all internal mutex acquire and release
12560 calls. Although a failure from one of these interfaces is
12561 probably a fatal system error, these checks will cause the
12562 immediate abort of the currently executing method or interface.
12564 Fixed a problem where the AcpiSetCurrentResources interface could
12565 fault. This was a side effect of the deployment of the new memory
12568 Fixed a couple of problems with the Global Lock support introduced
12569 in the last major build. The "common" (1.0/2.0) internal FACS was
12570 being overwritten with the FACS signature and clobbering the
12571 Global Lock pointer. Also, the actual firmware FACS was being
12572 unmapped after construction of the "common" FACS, preventing
12573 access to the actual Global Lock field within it. The "common"
12574 internal FACS is no longer installed as an actual ACPI table; it
12575 is used simply as a global.
12577 Code and Data Size: Current core subsystem library sizes are shown
12578 below. These are the code and data sizes for the acpica.lib
12579 produced by the Microsoft Visual C++ 6.0 compiler, and these
12580 values do not include any ACPI driver or OSPM code. The debug
12581 version of the code includes the debug output trace mechanism and
12582 has a larger code and data size. Note that these values will vary
12583 depending on the efficiency of the compiler and the compiler
12584 options used during generation.
12586 Previous Release (02_07_01)
12587 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
12588 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
12590 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
12591 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
12596 Updated Linux-specific code for core macro and OSL interface
12597 changes described above.
12599 Improved /proc/acpi/event. It now can be opened only once and has
12600 proper poll functionality.
12602 Fixed and restructured power management (acpi_bus).
12604 Only create /proc "view by type" when devices of that class exist.
12606 Fixed "charging/discharging" bug (and others) in acpi_battery.
12608 Improved thermal zone code.
12611 3) ASL Compiler, version X2039:
12614 Implemented the new compiler restriction on ASL String hex/octal
12615 escapes to non-null, ASCII values. An error results if an invalid
12616 value is used. (This will require an ACPI 2.0 specification
12619 AML object labels that are output to the optional C and ASM source
12620 are now prefixed with both the ACPI table signature and table ID
12621 to help guarantee uniqueness within a large BIOS project.
12624 ----------------------------------------
12625 Summary of changes for this label: 02_01_02
12627 1) ACPI CA Core Subsystem:
12629 ACPI 2.0 support is complete in the entire Core Subsystem and the
12630 ASL compiler. All new ACPI 2.0 operators are implemented and all
12631 other changes for ACPI 2.0 support are complete. With
12632 simultaneous code and data optimizations throughout the subsystem,
12633 ACPI 2.0 support has been implemented with almost no additional
12634 cost in terms of code and data size.
12636 Implemented a new mechanism for allocation of return buffers. If
12637 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
12638 be allocated on behalf of the caller. Consolidated all return
12639 buffer validation and allocation to a common procedure. Return
12640 buffers will be allocated via the primary OSL allocation interface
12641 since it appears that a separate pool is not needed by most users.
12642 If a separate pool is required for these buffers, the caller can
12643 still use the original mechanism and pre-allocate the buffer(s).
12645 Implemented support for string operands within the DerefOf
12648 Restructured the Hardware and Event managers to be table driven,
12649 simplifying the source code and reducing the amount of generated
12652 Split the common read/write low-level ACPI register bitfield
12653 procedure into a separate read and write, simplifying the code
12656 Obsoleted the AcpiOsCallocate OSL interface. This interface was
12657 used only a handful of times and didn't have enough critical mass
12658 for a separate interface. Replaced with a common calloc procedure
12661 Fixed a reported problem with the GPE number mapping mechanism
12662 that allows GPE1 numbers to be non-contiguous with GPE0.
12663 Reorganized the GPE information and shrunk a large array that was
12664 originally large enough to hold info for all possible GPEs (256)
12665 to simply large enough to hold all GPEs up to the largest GPE
12666 number on the machine.
12668 Fixed a reported problem with resource structure alignment on 64-
12671 Changed the AcpiEnableEvent and AcpiDisableEvent external
12672 interfaces to not require any flags for the common case of
12673 enabling/disabling a GPE.
12675 Implemented support to allow a "Notify" on a Processor object.
12677 Most TBDs in comments within the source code have been resolved
12681 Fixed a problem in the interpreter where a standalone parent
12682 prefix (^) was not handled correctly in the interpreter and
12685 Removed obsolete and unnecessary GPE save/restore code.
12687 Implemented Field support in the ASL Load operator. This allows a
12688 table to be loaded from a named field, in addition to loading a
12689 table directly from an Operation Region.
12691 Implemented timeout and handle support in the external Global Lock
12694 Fixed a problem in the AcpiDump utility where pathnames were no
12695 longer being generated correctly during the dump of named objects.
12697 Modified the AML debugger to give a full display of if/while
12698 predicates instead of just one AML opcode at a time. (The
12699 predicate can have several nested ASL statements.) The old method
12700 was confusing during single stepping.
12702 Code and Data Size: Current core subsystem library sizes are shown
12703 below. These are the code and data sizes for the acpica.lib
12704 produced by the Microsoft Visual C++ 6.0 compiler, and these
12705 values do not include any ACPI driver or OSPM code. The debug
12706 version of the code includes the debug output trace mechanism and
12707 has a larger code and data size. Note that these values will vary
12708 depending on the efficiency of the compiler and the compiler
12709 options used during generation.
12711 Previous Release (12_18_01)
12712 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
12713 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
12715 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
12716 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
12720 Implemented fix for PIIX reverse throttling errata (Processor
12723 Added new Limit interface (Processor and Thermal drivers)
12725 New thermal policy (Thermal driver)
12727 Many updates to /proc
12729 Battery "low" event support (Battery driver)
12731 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
12733 IA32 - IA64 initialization unification, no longer experimental
12735 Menuconfig options redesigned
12737 3) ASL Compiler, version X2037:
12739 Implemented several new output features to simplify integration of
12740 AML code into firmware: 1) Output the AML in C source code with
12741 labels for each named ASL object. The original ASL source code
12742 is interleaved as C comments. 2) Output the AML in ASM source code
12743 with labels and interleaved ASL source. 3) Output the AML in
12744 raw hex table form, in either C or ASM.
12746 Implemented support for optional string parameters to the
12747 LoadTable operator.
12749 Completed support for embedded escape sequences within string
12750 literals. The compiler now supports all single character escapes
12751 as well as the Octal and Hex escapes. Note: the insertion of a
12752 null byte into a string literal (via the hex/octal escape) causes
12753 the string to be immediately terminated. A warning is issued.
12755 Fixed a problem where incorrect AML was generated for the case
12756 where an ASL namepath consists of a single parent prefix (
12758 ) with no trailing name segments.
12760 The compiler has been successfully generated with a 64-bit C
12766 ----------------------------------------
12767 Summary of changes for this label: 12_18_01
12771 Enhanced blacklist with reason and severity fields. Any table's
12772 signature may now be used to identify a blacklisted system.
12774 Call _PIC control method to inform the firmware which interrupt
12775 model the OS is using. Turn on any disabled link devices.
12777 Cleaned up busmgr /proc error handling (Andreas Dilger)
12779 2) ACPI CA Core Subsystem:
12781 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
12784 Completed implementation of the ACPI 2.0 "Continue",
12785 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
12786 operators. All new ACPI 2.0 operators are now implemented in both
12787 the ASL compiler and the AML interpreter. The only remaining ACPI
12788 2.0 task is support for the String data type in the DerefOf
12789 operator. Fixed a problem with AcquireMutex where the status code
12790 was lost if the caller had to actually wait for the mutex.
12792 Increased the maximum ASL Field size from 64K bits to 4G bits.
12794 Completed implementation of the external Global Lock interfaces --
12795 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
12796 Handler parameters were added.
12798 Completed another pass at removing warnings and issues when
12799 compiling with 64-bit compilers. The code now compiles cleanly
12800 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
12801 add and subtract (diff) macros have changed considerably.
12804 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
12805 64-bit platforms, 32-bits on all others. This type is used
12806 wherever memory allocation and/or the C sizeof() operator is used,
12807 and affects the OSL memory allocation interfaces AcpiOsAllocate
12808 and AcpiOsCallocate.
12810 Implemented sticky user breakpoints in the AML debugger.
12812 Code and Data Size: Current core subsystem library sizes are shown
12813 below. These are the code and data sizes for the acpica.lib
12814 produced by the Microsoft Visual C++ 6.0 compiler, and these
12815 values do not include any ACPI driver or OSPM code. The debug
12816 version of the code includes the debug output trace mechanism and
12817 has a larger code and data size. Note that these values will vary
12818 depending on the efficiency of the compiler and the compiler
12819 options used during generation.
12821 Previous Release (12_05_01)
12822 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
12823 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
12825 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
12826 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
12828 3) ASL Compiler, version X2034:
12830 Now checks for (and generates an error if detected) the use of a
12831 Break or Continue statement without an enclosing While statement.
12834 Successfully generated the compiler with the Intel 64-bit C
12837 ----------------------------------------
12838 Summary of changes for this label: 12_05_01
12840 1) ACPI CA Core Subsystem:
12842 The ACPI 2.0 CopyObject operator is fully implemented. This
12843 operator creates a new copy of an object (and is also used to
12844 bypass the "implicit conversion" mechanism of the Store operator.)
12846 The ACPI 2.0 semantics for the SizeOf operator are fully
12847 implemented. The change is that performing a SizeOf on a
12848 reference object causes an automatic dereference of the object to
12849 tha actual value before the size is evaluated. This behavior was
12850 undefined in ACPI 1.0.
12852 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
12853 have been implemented. The interrupt polarity and mode are now
12856 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
12857 appearing in Package objects were not properly converted to
12858 integers when the internal Package was converted to an external
12859 object (via the AcpiEvaluateObject interface.)
12861 Fixed a problem with the namespace object deletion mechanism for
12862 objects created by control methods. There were two parts to this
12863 problem: 1) Objects created during the initialization phase method
12864 parse were not being deleted, and 2) The object owner ID mechanism
12865 to track objects was broken.
12867 Fixed a problem where the use of the ASL Scope operator within a
12868 control method would result in an invalid opcode exception.
12870 Fixed a problem introduced in the previous label where the buffer
12871 length required for the _PRT structure was not being returned
12874 Code and Data Size: Current core subsystem library sizes are shown
12875 below. These are the code and data sizes for the acpica.lib
12876 produced by the Microsoft Visual C++ 6.0 compiler, and these
12877 values do not include any ACPI driver or OSPM code. The debug
12878 version of the code includes the debug output trace mechanism and
12879 has a larger code and data size. Note that these values will vary
12880 depending on the efficiency of the compiler and the compiler
12881 options used during generation.
12883 Previous Release (11_20_01)
12884 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
12885 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
12888 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
12889 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
12893 Updated all files to apply cleanly against 2.4.16.
12895 Added basic PCI Interrupt Routing Table (PRT) support for IA32
12896 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
12897 version supports both static and dyanmic PRT entries, but dynamic
12898 entries are treated as if they were static (not yet
12899 reconfigurable). Architecture- specific code to use this data is
12900 absent on IA32 but should be available shortly.
12902 Changed the initialization sequence to start the ACPI interpreter
12903 (acpi_init) prior to initialization of the PCI driver (pci_init)
12904 in init/main.c. This ordering is required to support PRT and
12905 facilitate other (future) enhancement. A side effect is that the
12906 ACPI bus driver and certain device drivers can no longer be loaded
12909 Modified the 'make menuconfig' options to allow PCI Interrupt
12910 Routing support to be included without the ACPI Bus and other
12913 3) ASL Compiler, version X2033:
12915 Fixed some issues with the use of the new CopyObject and
12916 DataTableRegion operators. Both are fully functional.
12918 ----------------------------------------
12919 Summary of changes for this label: 11_20_01
12921 20 November 2001. Summary of changes for this release.
12923 1) ACPI CA Core Subsystem:
12925 Updated Index support to match ACPI 2.0 semantics. Storing a
12926 Integer, String, or Buffer to an Index of a Buffer will store only
12927 the least-significant byte of the source to the Indexed buffer
12928 byte. Multiple writes are not performed.
12930 Fixed a problem where the access type used in an AccessAs ASL
12931 operator was not recorded correctly into the field object.
12933 Fixed a problem where ASL Event objects were created in a
12934 signalled state. Events are now created in an unsignalled state.
12936 The internal object cache is now purged after table loading and
12937 initialization to reduce the use of dynamic kernel memory -- on
12938 the assumption that object use is greatest during the parse phase
12939 of the entire table (versus the run-time use of individual control
12942 ACPI 2.0 variable-length packages are now fully operational.
12944 Code and Data Size: Code and Data optimizations have permitted new
12945 feature development with an actual reduction in the library size.
12946 Current core subsystem library sizes are shown below. These are
12947 the code and data sizes for the acpica.lib produced by the
12948 Microsoft Visual C++ 6.0 compiler, and these values do not include
12949 any ACPI driver or OSPM code. The debug version of the code
12950 includes the debug output trace mechanism and has a larger code
12951 and data size. Note that these values will vary depending on the
12952 efficiency of the compiler and the compiler options used during
12955 Previous Release (11_09_01):
12956 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
12957 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
12960 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
12961 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
12965 Enhanced the ACPI boot-time initialization code to allow the use
12966 of Local APIC tables for processor enumeration on IA-32, and to
12967 pave the way for a fully MPS-free boot (on SMP systems) in the
12968 near future. This functionality replaces
12969 arch/i386/kernel/acpitables.c, which was introduced in an earlier
12970 2.4.15-preX release. To enable this feature you must add
12971 "acpi_boot=on" to the kernel command line -- see the help entry
12972 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
12975 Restructured the configuration options to allow boot-time table
12976 parsing support without inclusion of the ACPI Interpreter (and
12979 NOTE: This release does not include fixes for the reported events,
12980 power-down, and thermal passive cooling issues (coming soon).
12984 Added additional typechecking for Fields within restricted access
12985 Operation Regions. All fields within EC and CMOS regions must be
12986 declared with ByteAcc. All fields withing SMBus regions must be
12987 declared with the BufferAcc access type.
12989 Fixed a problem where the listing file output of control methods
12990 no longer interleaved the actual AML code with the ASL source
12996 ----------------------------------------
12997 Summary of changes for this label: 11_09_01
12999 1) ACPI CA Core Subsystem:
13001 Implemented ACPI 2.0-defined support for writes to fields with a
13002 Buffer, String, or Integer source operand that is smaller than the
13003 target field. In these cases, the source operand is zero-extended
13004 to fill the target field.
13006 Fixed a problem where a Field starting bit offset (within the
13007 parent operation region) was calculated incorrectly if the
13009 alignment of the field differed from the access width. This
13010 affected CreateWordField, CreateDwordField, CreateQwordField, and
13011 possibly other fields that use the "AccessAny" keyword.
13013 Fixed a problem introduced in the 11_02_01 release where indirect
13014 stores through method arguments did not operate correctly.
13018 Implemented boot-time ACPI table parsing support
13019 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
13020 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
13021 legacy BIOS interfaces (e.g. MPS) for the configuration of system
13022 processors, memory, and interrupts during setup_arch(). Note that
13023 this patch does not include the required architecture-specific
13024 changes required to apply this information -- subsequent patches
13025 will be posted for both IA32 and IA64 to achieve this.
13027 Added low-level sleep support for IA32 platforms, courtesy of Pat
13028 Mochel. This allows IA32 systems to transition to/from various
13029 sleeping states (e.g. S1, S3), although the lack of a centralized
13030 driver model and power-manageable drivers will prevent its
13031 (successful) use on most systems.
13033 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
13034 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
13035 tables" option, etc.
13037 Increased the default timeout for the EC driver from 1ms to 10ms
13038 (1000 cycles of 10us) to try to address AE_TIME errors during EC
13041 ----------------------------------------
13042 Summary of changes for this label: 11_02_01
13044 1) ACPI CA Core Subsystem:
13046 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
13047 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
13050 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
13051 changes to support ACPI 2.0 Qword field access. Read/Write
13052 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
13053 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
13054 the value parameter for the address space handler interface is now
13055 an ACPI_INTEGER. OSL implementations of these interfaces must now
13056 handle the case where the Width parameter is 64.
13058 Index Fields: Fixed a problem where unaligned bit assembly and
13059 disassembly for IndexFields was not supported correctly.
13061 Index and Bank Fields: Nested Index and Bank Fields are now
13062 supported. During field access, a check is performed to ensure
13063 that the value written to an Index or Bank register is not out of
13064 the range of the register. The Index (or Bank) register is
13065 written before each access to the field data. Future support will
13066 include allowing individual IndexFields to be wider than the
13067 DataRegister width.
13069 Fields: Fixed a problem where the AML interpreter was incorrectly
13070 attempting to write beyond the end of a Field/OpRegion. This was
13071 a boundary case that occurred when a DWORD field was written to a
13072 BYTE access OpRegion, forcing multiple writes and causing the
13073 interpreter to write one datum too many.
13075 Fields: Fixed a problem with Field/OpRegion access where the
13076 starting bit address of a field was incorrectly calculated if the
13077 current access type was wider than a byte (WordAcc, DwordAcc, or
13080 Fields: Fixed a problem where forward references to individual
13081 FieldUnits (individual Field names within a Field definition) were
13082 not resolved during the AML table load.
13084 Fields: Fixed a problem where forward references from a Field
13085 definition to the parent Operation Region definition were not
13086 resolved during the AML table load.
13088 Fields: Duplicate FieldUnit names within a scope are now detected
13089 during AML table load.
13091 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
13092 returned an incorrect name for the root node.
13094 Code and Data Size: Code and Data optimizations have permitted new
13095 feature development with an actual reduction in the library size.
13096 Current core subsystem library sizes are shown below. These are
13097 the code and data sizes for the acpica.lib produced by the
13098 Microsoft Visual C++ 6.0 compiler, and these values do not include
13099 any ACPI driver or OSPM code. The debug version of the code
13100 includes the debug output trace mechanism and has a larger code
13101 and data size. Note that these values will vary depending on the
13102 efficiency of the compiler and the compiler options used during
13105 Previous Release (10_18_01):
13106 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
13107 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
13110 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
13111 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
13115 Improved /proc processor output (Pavel Machek) Re-added
13116 MODULE_LICENSE("GPL") to all modules.
13118 3) ASL Compiler version X2030:
13120 Duplicate FieldUnit names within a scope are now detected and
13125 Programmer Reference updated to reflect OSL and address space
13126 handler interface changes described above.
13128 ----------------------------------------
13129 Summary of changes for this label: 10_18_01
13131 ACPI CA Core Subsystem:
13133 Fixed a problem with the internal object reference count mechanism
13134 that occasionally caused premature object deletion. This resolves
13135 all of the outstanding problem reports where an object is deleted
13136 in the middle of an interpreter evaluation. Although this problem
13137 only showed up in rather obscure cases, the solution to the
13138 problem involved an adjustment of all reference counts involving
13139 objects attached to namespace nodes.
13141 Fixed a problem with Field support in the interpreter where
13142 writing to an aligned field whose length is an exact multiple (2
13143 or greater) of the field access granularity would cause an attempt
13144 to write beyond the end of the field.
13146 The top level AML opcode execution functions within the
13147 interpreter have been renamed with a more meaningful and
13148 consistent naming convention. The modules exmonad.c and
13149 exdyadic.c were eliminated. New modules are exoparg1.c,
13150 exoparg2.c, exoparg3.c, and exoparg6.c.
13152 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
13154 Fixed a problem where the AML debugger was causing some internal
13155 objects to not be deleted during subsystem termination.
13157 Fixed a problem with the external AcpiEvaluateObject interface
13158 where the subsystem would fault if the named object to be
13159 evaluated refered to a constant such as Zero, Ones, etc.
13161 Fixed a problem with IndexFields and BankFields where the
13162 subsystem would fault if the index, data, or bank registers were
13163 not defined in the same scope as the field itself.
13165 Added printf format string checking for compilers that support
13166 this feature. Corrected more than 50 instances of issues with
13167 format specifiers within invocations of ACPI_DEBUG_PRINT
13168 throughout the core subsystem code.
13170 The ASL "Revision" operator now returns the ACPI support level
13171 implemented in the core - the value "2" since the ACPI 2.0 support
13172 is more than 50% implemented.
13174 Enhanced the output of the AML debugger "dump namespace" command
13175 to output in a more human-readable form.
13177 Current core subsystem library code sizes are shown below. These
13179 are the code and data sizes for the acpica.lib produced by the
13180 Microsoft Visual C++ 6.0 compiler, and these values do not include
13181 any ACPI driver or OSPM code. The debug version of the code
13182 includes the full debug trace mechanism -- leading to a much
13184 larger code and data size. Note that these values will vary
13185 depending on the efficiency of the compiler and the compiler
13186 options used during generation.
13188 Previous Label (09_20_01):
13189 Non-Debug Version: 65K Code, 5K Data, 70K Total
13190 Debug Version: 138K Code, 58K Data, 196K Total
13194 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
13195 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
13199 Implemented a "Bad BIOS Blacklist" to track machines that have
13200 known ASL/AML problems.
13202 Enhanced the /proc interface for the thermal zone driver and added
13203 support for _HOT (the critical suspend trip point). The 'info'
13204 file now includes threshold/policy information, and allows setting
13205 of _SCP (cooling preference) and _TZP (polling frequency) values
13206 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
13207 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
13208 preference to the passive/quiet mode (if supported by the ASL).
13210 Implemented a workaround for a gcc bug that resuted in an OOPs
13211 when loading the control method battery driver.
13213 ----------------------------------------
13214 Summary of changes for this label: 09_20_01
13216 ACPI CA Core Subsystem:
13218 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
13219 modified to allow individual GPE levels to be flagged as wake-
13220 enabled (i.e., these GPEs are to remain enabled when the platform
13223 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
13224 support wake-enabled GPEs. This means that upon entering the
13225 sleep state, all GPEs that are not wake-enabled are disabled.
13226 When leaving the sleep state, these GPEs are reenabled.
13228 A local double-precision divide/modulo module has been added to
13229 enhance portability to OS kernels where a 64-bit math library is
13230 not available. The new module is "utmath.c".
13232 Several optimizations have been made to reduce the use of CPU
13233 stack. Originally over 2K, the maximum stack usage is now below
13234 2K at 1860 bytes (1.82k)
13236 Fixed a problem with the AcpiGetFirmwareTable interface where the
13237 root table pointer was not mapped into a logical address properly.
13239 Fixed a problem where a NULL pointer was being dereferenced in the
13240 interpreter code for the ASL Notify operator.
13242 Fixed a problem where the use of the ASL Revision operator
13243 returned an error. This operator now returns the current version
13244 of the ACPI CA core subsystem.
13246 Fixed a problem where objects passed as control method parameters
13247 to AcpiEvaluateObject were always deleted at method termination.
13248 However, these objects may end up being stored into the namespace
13249 by the called method. The object reference count mechanism was
13250 applied to these objects instead of a force delete.
13252 Fixed a problem where static strings or buffers (contained in the
13253 AML code) that are declared as package elements within the ASL
13254 code could cause a fault because the interpreter would attempt to
13255 delete them. These objects are now marked with the "static
13256 object" flag to prevent any attempt to delete them.
13258 Implemented an interpreter optimization to use operands directly
13259 from the state object instead of extracting the operands to local
13260 variables. This reduces stack use and code size, and improves
13263 The module exxface.c was eliminated as it was an unnecessary extra
13266 Current core subsystem library code sizes are shown below. These
13267 are the code and data sizes for the acpica.lib produced by the
13268 Microsoft Visual C++ 6.0 compiler, and these values do not include
13269 any ACPI driver or OSPM code. The debug version of the code
13270 includes the full debug trace mechanism -- leading to a much
13271 larger code and data size. Note that these values will vary
13272 depending on the efficiency of the compiler and the compiler
13273 options used during generation.
13275 Non-Debug Version: 65K Code, 5K Data, 70K Total
13276 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
13277 Total (Previously 195K)
13281 Support for ACPI 2.0 64-bit integers has been added. All ACPI
13282 Integer objects are now 64 bits wide
13284 All Acpi data types and structures are now in lower case. Only
13285 Acpi macros are upper case for differentiation.
13289 Changes to the external interfaces as described above.
13291 ----------------------------------------
13292 Summary of changes for this label: 08_31_01
13294 ACPI CA Core Subsystem:
13296 A bug with interpreter implementation of the ASL Divide operator
13297 was found and fixed. The implicit function return value (not the
13298 explicit store operands) was returning the remainder instead of
13299 the quotient. This was a longstanding bug and it fixes several
13300 known outstanding issues on various platforms.
13302 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
13303 been further optimized for size. There are 700 invocations of the
13304 DEBUG_PRINT macro alone, so each optimization reduces the size of
13305 the debug version of the subsystem significantly.
13307 A stack trace mechanism has been implemented. The maximum stack
13308 usage is about 2K on 32-bit platforms. The debugger command "stat
13309 stack" will display the current maximum stack usage.
13311 All public symbols and global variables within the subsystem are
13312 now prefixed with the string "Acpi". This keeps all of the
13313 symbols grouped together in a kernel map, and avoids conflicts
13314 with other kernel subsystems.
13316 Most of the internal fixed lookup tables have been moved into the
13317 code segment via the const operator.
13319 Several enhancements have been made to the interpreter to both
13320 reduce the code size and improve performance.
13322 Current core subsystem library code sizes are shown below. These
13323 are the code and data sizes for the acpica.lib produced by the
13324 Microsoft Visual C++ 6.0 compiler, and these values do not include
13325 any ACPI driver or OSPM code. The debug version of the code
13326 includes the full debug trace mechanism which contains over 700
13327 invocations of the DEBUG_PRINT macro, 500 function entry macro
13328 invocations, and over 900 function exit macro invocations --
13329 leading to a much larger code and data size. Note that these
13330 values will vary depending on the efficiency of the compiler and
13331 the compiler options used during generation.
13333 Non-Debug Version: 64K Code, 5K Data, 69K Total
13334 Debug Version: 137K Code, 58K Data, 195K Total
13338 Implemented wbinvd() macro, pending a kernel-wide definition.
13340 Fixed /proc/acpi/event to handle poll() and short reads.
13342 ASL Compiler, version X2026:
13344 Fixed a problem introduced in the previous label where the AML
13346 code emitted for package objects produced packages with zero
13349 ----------------------------------------
13350 Summary of changes for this label: 08_16_01
13352 ACPI CA Core Subsystem:
13354 The following ACPI 2.0 ASL operators have been implemented in the
13355 AML interpreter (These are already supported by the Intel ASL
13356 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
13357 ToBuffer. Support for 64-bit AML constants is implemented in the
13358 AML parser, debugger, and disassembler.
13360 The internal memory tracking mechanism (leak detection code) has
13361 been upgraded to reduce the memory overhead (a separate tracking
13362 block is no longer allocated for each memory allocation), and now
13363 supports all of the internal object caches.
13365 The data structures and code for the internal object caches have
13366 been coelesced and optimized so that there is a single cache and
13367 memory list data structure and a single group of functions that
13368 implement generic cache management. This has reduced the code
13369 size in both the debug and release versions of the subsystem.
13371 The DEBUG_PRINT macro(s) have been optimized for size and replaced
13372 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
13373 different, because it generates a single call to an internal
13374 function. This results in a savings of about 90 bytes per
13375 invocation, resulting in an overall code and data savings of about
13376 16% in the debug version of the subsystem.
13380 Fixed C3 disk corruption problems and re-enabled C3 on supporting
13383 Integrated low-level sleep code by Patrick Mochel.
13385 Further tweaked source code Linuxization.
13391 Support for ACPI 2.0 variable length packages is fixed/completed.
13393 Fixed a problem where the optional length parameter for the ACPI
13394 2.0 ToString operator.
13396 Fixed multiple extraneous error messages when a syntax error is
13397 detected within the declaration line of a control method.
13399 ----------------------------------------
13400 Summary of changes for this label: 07_17_01
13402 ACPI CA Core Subsystem:
13404 Added a new interface named AcpiGetFirmwareTable to obtain any
13405 ACPI table via the ACPI signature. The interface can be called at
13406 any time during kernel initialization, even before the kernel
13407 virtual memory manager is initialized and paging is enabled. This
13408 allows kernel subsystems to obtain ACPI tables very early, even
13409 before the ACPI CA subsystem is initialized.
13411 Fixed a problem where Fields defined with the AnyAcc attribute
13412 could be resolved to the incorrect address under the following
13413 conditions: 1) the field width is larger than 8 bits and 2) the
13414 parent operation region is not defined on a DWORD boundary.
13416 Fixed a problem where the interpreter is not being locked during
13417 namespace initialization (during execution of the _INI control
13418 methods), causing an error when an attempt is made to release it
13421 ACPI 2.0 support in the AML Interpreter has begun and will be
13422 ongoing throughout the rest of this year. In this label, The Mod
13423 operator is implemented.
13425 Added a new data type to contain full PCI addresses named
13426 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
13427 and Function values.
13431 Enhanced the Linux version of the source code to change most
13432 capitalized ACPI type names to lowercase. For example, all
13433 instances of ACPI_STATUS are changed to acpi_status. This will
13434 result in a large diff, but the change is strictly cosmetic and
13435 aligns the CA code closer to the Linux coding standard.
13439 The interfaces to the PCI configuration space have been changed to
13440 add the PCI Segment number and to split the single 32-bit combined
13441 DeviceFunction field into two 16-bit fields. This was
13442 accomplished by moving the four values that define an address in
13443 PCI configuration space (segment, bus, device, and function) to
13444 the new ACPI_PCI_ID structure.
13446 The changes to the PCI configuration space interfaces led to a
13447 reexamination of the complete set of address space access
13448 interfaces for PCI, I/O, and Memory. The previously existing 18
13449 interfaces have proven difficult to maintain (any small change
13450 must be propagated across at least 6 interfaces) and do not easily
13451 allow for future expansion to 64 bits if necessary. Also, on some
13452 systems, it would not be appropriate to demultiplex the access
13453 width (8, 16, 32,or 64) before calling the OSL if the
13454 corresponding native OS interfaces contain a similar access width
13455 parameter. For these reasons, the 18 address space interfaces
13456 have been replaced by these 6 new ones:
13458 AcpiOsReadPciConfiguration
13459 AcpiOsWritePciConfiguration
13465 Added a new interface named AcpiOsGetRootPointer to allow the OSL
13466 to perform the platform and/or OS-specific actions necessary to
13467 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
13468 interface will simply call down to the CA core to perform the low-
13469 memory search for the table. On IA-64, the RSDP is obtained from
13470 EFI. Migrating this interface to the OSL allows the CA core to
13472 remain OS and platform independent.
13474 Added a new interface named AcpiOsSignal to provide a generic
13475 "function code and pointer" interface for various miscellaneous
13476 signals and notifications that must be made to the host OS. The
13477 first such signals are intended to support the ASL Fatal and
13478 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
13479 interface has been obsoleted.
13481 The definition of the AcpiFormatException interface has been
13482 changed to simplify its use. The caller no longer must supply a
13483 buffer to the call; A pointer to a const string is now returned
13484 directly. This allows the call to be easily used in printf
13485 statements, etc. since the caller does not have to manage a local
13489 ASL Compiler, Version X2025:
13491 The ACPI 2.0 Switch/Case/Default operators have been implemented
13492 and are fully functional. They will work with all ACPI 1.0
13493 interpreters, since the operators are simply translated to If/Else
13496 The ACPI 2.0 ElseIf operator is implemented and will also work
13497 with 1.0 interpreters, for the same reason.
13499 Implemented support for ACPI 2.0 variable-length packages. These
13500 packages have a separate opcode, and their size is determined by
13501 the interpreter at run-time.
13503 Documentation The ACPI CA Programmer Reference has been updated to
13504 reflect the new interfaces and changes to existing interfaces.
13506 ------------------------------------------
13507 Summary of changes for this label: 06_15_01
13509 ACPI CA Core Subsystem:
13511 Fixed a problem where a DWORD-accessed field within a Buffer
13512 object would get its byte address inadvertently rounded down to
13513 the nearest DWORD. Buffers are always Byte-accessible.
13515 ASL Compiler, version X2024:
13517 Fixed a problem where the Switch() operator would either fault or
13518 hang the compiler. Note however, that the AML code for this ACPI
13519 2.0 operator is not yet implemented.
13521 Compiler uses the new AcpiOsGetTimer interface to obtain compile
13524 Implementation of the CreateField operator automatically converts
13525 a reference to a named field within a resource descriptor from a
13526 byte offset to a bit offset if required.
13528 Added some missing named fields from the resource descriptor
13529 support. These are the names that are automatically created by the
13530 compiler to reference fields within a descriptor. They are only
13531 valid at compile time and are not passed through to the AML
13534 Resource descriptor named fields are now typed as Integers and
13535 subject to compile-time typechecking when used in expressions.
13537 ------------------------------------------
13538 Summary of changes for this label: 05_18_01
13540 ACPI CA Core Subsystem:
13542 Fixed a couple of problems in the Field support code where bits
13543 from adjacent fields could be returned along with the proper field
13544 bits. Restructured the field support code to improve performance,
13545 readability and maintainability.
13547 New DEBUG_PRINTP macro automatically inserts the procedure name
13548 into the output, saving hundreds of copies of procedure name
13549 strings within the source, shrinking the memory footprint of the
13550 debug version of the core subsystem.
13552 Source Code Structure:
13554 The source code directory tree was restructured to reflect the
13555 current organization of the component architecture. Some files
13556 and directories have been moved and/or renamed.
13560 Fixed leaking kacpidpc processes.
13562 Fixed queueing event data even when /proc/acpi/event is not
13565 ASL Compiler, version X2020:
13567 Memory allocation performance enhancement - over 24X compile time
13568 improvement on large ASL files. Parse nodes and namestring
13569 buffers are now allocated from a large internal compiler buffer.
13571 The temporary .SRC file is deleted unless the "-s" option is
13574 The "-d" debug output option now sends all output to the .DBG file
13575 instead of the console.
13577 "External" second parameter is now optional
13579 "ElseIf" syntax now properly allows the predicate
13581 Last operand to "Load" now recognized as a Target operand
13583 Debug object can now be used anywhere as a normal object.
13585 ResourceTemplate now returns an object of type BUFFER
13587 EISAID now returns an object of type INTEGER
13589 "Index" now works with a STRING operand
13591 "LoadTable" now accepts optional parameters
13593 "ToString" length parameter is now optional
13595 "Interrupt (ResourceType," parse error fixed.
13597 "Register" with a user-defined region space parse error fixed
13599 Escaped backslash at the end of a string ("\\") scan/parse error
13602 "Revision" is now an object of type INTEGER.
13606 ------------------------------------------
13607 Summary of changes for this label: 05_02_01
13611 /proc/acpi/event now blocks properly.
13613 Removed /proc/sys/acpi. You can still dump your DSDT from
13616 ACPI CA Core Subsystem:
13618 Fixed a problem introduced in the previous label where some of the
13619 "small" resource descriptor types were not recognized.
13621 Improved error messages for the case where an ASL Field is outside
13622 the range of the parent operation region.
13624 ASL Compiler, version X2018:
13627 Added error detection for ASL Fields that extend beyond the length
13628 of the parent operation region (only if the length of the region
13629 is known at compile time.) This includes fields that have a
13630 minimum access width that is smaller than the parent region, and
13631 individual field units that are partially or entirely beyond the
13632 extent of the parent.
13636 ------------------------------------------
13637 Summary of changes for this label: 04_27_01
13639 ACPI CA Core Subsystem:
13641 Fixed a problem where the namespace mutex could be released at the
13642 wrong time during execution of AcpiRemoveAddressSpaceHandler.
13644 Added optional thread ID output for debug traces, to simplify
13645 debugging of multiple threads. Added context switch notification
13646 when the debug code realizes that a different thread is now
13647 executing ACPI code.
13649 Some additional external data types have been prefixed with the
13650 string "ACPI_" for consistency. This may effect existing code.
13651 The data types affected are the external callback typedefs - e.g.,
13653 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
13657 Fixed an issue with the OSL semaphore implementation where a
13658 thread was waking up with an error from receiving a SIGCHLD
13661 Linux version of ACPI CA now uses the system C library for string
13662 manipulation routines instead of a local implementation.
13664 Cleaned up comments and removed TBDs.
13666 ASL Compiler, version X2017:
13668 Enhanced error detection and reporting for all file I/O
13673 Programmer Reference updated to version 1.06.
13677 ------------------------------------------
13678 Summary of changes for this label: 04_13_01
13680 ACPI CA Core Subsystem:
13682 Restructured support for BufferFields and RegionFields.
13683 BankFields support is now fully operational. All known 32-bit
13684 limitations on field sizes have been removed. Both BufferFields
13685 and (Operation) RegionFields are now supported by the same field
13688 Resource support now supports QWORD address and IO resources. The
13689 16/32/64 bit address structures and the Extended IRQ structure
13690 have been changed to properly handle Source Resource strings.
13692 A ThreadId of -1 is now used to indicate a "mutex not acquired"
13693 condition internally and must never be returned by AcpiOsThreadId.
13694 This reserved value was changed from 0 since Unix systems allow a
13699 Driver code reorganized to enhance portability
13701 Added a kernel configuration option to control ACPI_DEBUG
13703 Fixed the EC driver to honor _GLK.
13705 ASL Compiler, version X2016:
13707 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
13708 address space was set to 0, not 0x7f as it should be.
13710 ------------------------------------------
13711 Summary of changes for this label: 03_13_01
13713 ACPI CA Core Subsystem:
13715 During ACPI initialization, the _SB_._INI method is now run if
13718 Notify handler fix - notifies are deferred until the parent method
13719 completes execution. This fixes the "mutex already acquired"
13720 issue seen occasionally.
13722 Part of the "implicit conversion" rules in ACPI 2.0 have been
13723 found to cause compatibility problems with existing ASL/AML. The
13724 convert "result-to-target-type" implementation has been removed
13725 for stores to method Args and Locals. Source operand conversion
13726 is still fully implemented. Possible changes to ACPI 2.0
13727 specification pending.
13729 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
13732 Fix for compiler warnings for 64-bit compiles.
13736 /proc output aligned for easier parsing.
13738 Release-version compile problem fixed.
13740 New kernel configuration options documented in Configure.help.
13742 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
13747 Power resource driver integrated with bus manager.
13749 Fixed kernel fault during active cooling for thermal zones.
13753 The source code tree has been restructured.
13757 ------------------------------------------
13758 Summary of changes for this label: 03_02_01
13760 Linux OS Services Layer (OSL):
13762 Major revision of all Linux-specific code.
13764 Modularized all ACPI-specific drivers.
13766 Added new thermal zone and power resource drivers.
13768 Revamped /proc interface (new functionality is under /proc/acpi).
13770 New kernel configuration options.
13772 Linux known issues:
13774 New kernel configuration options not documented in Configure.help
13778 Module dependencies not currently implemented. If used, they
13779 should be loaded in this order: busmgr, power, ec, system,
13780 processor, battery, ac_adapter, button, thermal.
13782 Modules will not load if CONFIG_MODVERSION is set.
13784 IBM 600E - entering S5 may reboot instead of shutting down.
13786 IBM 600E - Sleep button may generate "Invalid <NULL> context"
13789 Some systems may fail with "execution mutex already acquired"
13792 ACPI CA Core Subsystem:
13794 Added a new OSL Interface, AcpiOsGetThreadId. This was required
13795 for the deadlock detection code. Defined to return a non-zero, 32-
13796 bit thread ID for the currently executing thread. May be a non-
13797 zero constant integer on single-thread systems.
13799 Implemented deadlock detection for internal subsystem mutexes. We
13800 may add conditional compilation for this code (debug only) later.
13802 ASL/AML Mutex object semantics are now fully supported. This
13803 includes multiple acquires/releases by owner and support for the
13805 Mutex SyncLevel parameter.
13807 A new "Force Release" mechanism automatically frees all ASL
13808 Mutexes that have been acquired but not released when a thread
13809 exits the interpreter. This forces conformance to the ACPI spec
13810 ("All mutexes must be released when an invocation exits") and
13811 prevents deadlocked ASL threads. This mechanism can be expanded
13812 (later) to monitor other resource acquisitions if OEM ASL code
13813 continues to misbehave (which it will).
13815 Several new ACPI exception codes have been added for the Mutex
13818 Recursive method calls are now allowed and supported (the ACPI
13819 spec does in fact allow recursive method calls.) The number of
13820 recursive calls is subject to the restrictions imposed by the
13821 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
13824 Implemented support for the SyncLevel parameter for control
13825 methods (ACPI 2.0 feature)
13827 Fixed a deadlock problem when multiple threads attempted to use
13830 Fixed a problem where the string length of a String package
13831 element was not always set in a package returned from
13832 AcpiEvaluateObject.
13834 Fixed a problem where the length of a String package element was
13835 not always included in the length of the overall package returned
13836 from AcpiEvaluateObject.
13838 Added external interfaces (Acpi*) to the ACPI debug memory
13839 manager. This manager keeps a list of all outstanding
13840 allocations, and can therefore detect memory leaks and attempts to
13841 free memory blocks more than once. Useful for code such as the
13842 power manager, etc. May not be appropriate for device drivers.
13843 Performance with the debug code enabled is slow.
13845 The ACPI Global Lock is now an optional hardware element.
13847 ASL Compiler Version X2015:
13849 Integrated changes to allow the compiler to be generated on
13850 multiple platforms.
13852 Linux makefile added to generate the compiler on Linux
13856 All platform-specific headers have been moved to their own
13857 subdirectory, Include/Platform.
13859 New source file added, Interpreter/ammutex.c
13861 New header file, Include/acstruct.h
13865 The programmer reference has been updated for the following new
13866 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
13868 ------------------------------------------
13869 Summary of changes for this label: 02_08_01
13871 Core ACPI CA Subsystem: Fixed a problem where an error was
13872 incorrectly returned if the return resource buffer was larger than
13873 the actual data (in the resource interfaces).
13875 References to named objects within packages are resolved to the
13877 full pathname string before packages are returned directly (via
13878 the AcpiEvaluateObject interface) or indirectly via the resource
13881 Linux OS Services Layer (OSL):
13883 Improved /proc battery interface.
13886 Added C-state debugging output and other miscellaneous fixes.
13888 ASL Compiler Version X2014:
13890 All defined method arguments can now be used as local variables,
13891 including the ones that are not actually passed in as parameters.
13892 The compiler tracks initialization of the arguments and issues an
13893 exception if they are used without prior assignment (just like
13896 The -o option now specifies a filename prefix that is used for all
13897 output files, including the AML output file. Otherwise, the
13898 default behavior is as follows: 1) the AML goes to the file
13899 specified in the DSDT. 2) all other output files use the input
13900 source filename as the base.
13902 ------------------------------------------
13903 Summary of changes for this label: 01_25_01
13905 Core ACPI CA Subsystem: Restructured the implementation of object
13906 store support within the interpreter. This includes support for
13907 the Store operator as well as any ASL operators that include a
13910 Partially implemented support for Implicit Result-to-Target
13911 conversion. This is when a result object is converted on the fly
13912 to the type of an existing target object. Completion of this
13913 support is pending further analysis of the ACPI specification
13914 concerning this matter.
13916 CPU-specific code has been removed from the subsystem (hardware
13919 New Power Management Timer functions added
13921 Linux OS Services Layer (OSL): Moved system state transition code
13922 to the core, fixed it, and modified Linux OSL accordingly.
13924 Fixed C2 and C3 latency calculations.
13927 We no longer use the compilation date for the version message on
13928 initialization, but retrieve the version from AcpiGetSystemInfo().
13930 Incorporated for fix Sony VAIO machines.
13932 Documentation: The Programmer Reference has been updated and
13936 ASL Compiler: Version X2013: Fixed a problem where the line
13937 numbering and error reporting could get out of sync in the
13938 presence of multiple include files.
13940 ------------------------------------------
13941 Summary of changes for this label: 01_15_01
13943 Core ACPI CA Subsystem:
13945 Implemented support for type conversions in the execution of the
13946 ASL Concatenate operator (The second operand is converted to
13947 match the type of the first operand before concatenation.)
13949 Support for implicit source operand conversion is partially
13950 implemented. The ASL source operand types Integer, Buffer, and
13951 String are freely interchangeable for most ASL operators and are
13952 converted by the interpreter on the fly as required. Implicit
13953 Target operand conversion (where the result is converted to the
13954 target type before storing) is not yet implemented.
13956 Support for 32-bit and 64-bit BCD integers is implemented.
13958 Problem fixed where a field read on an aligned field could cause a
13959 read past the end of the field.
13961 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
13962 does not return a value, but the caller expects one. (The ASL
13963 compiler flags this as a warning.)
13968 1. Static typechecking of all operands is implemented. This
13969 prevents the use of invalid objects (such as using a Package where
13970 an Integer is required) at compile time instead of at interpreter
13972 2. The ASL source line is printed with ALL errors and warnings.
13973 3. Bug fix for source EOF without final linefeed.
13974 4. Debug option is split into a parse trace and a namespace trace.
13975 5. Namespace output option (-n) includes initial values for
13976 integers and strings.
13977 6. Parse-only option added for quick syntax checking.
13978 7. Compiler checks for duplicate ACPI name declarations
13981 1. Relaxed typechecking to allow interchangeability between
13982 strings, integers, and buffers. These types are now converted by
13983 the interpreter at runtime.
13984 2. Compiler reports time taken by each internal subsystem in the
13988 ------------------------------------------
13989 Summary of changes for this label: 12_14_00
13993 This is the first official release of the compiler. Since the
13994 compiler requires elements of the Core Subsystem, this label
13995 synchronizes everything.
13997 ------------------------------------------
13998 Summary of changes for this label: 12_08_00
14001 Fixed a problem where named references within the ASL definition
14002 of both OperationRegions and CreateXXXFields did not work
14003 properly. The symptom was an AE_AML_OPERAND_TYPE during
14004 initialization of the region/field. This is similar (but not
14005 related internally) to the problem that was fixed in the last
14008 Implemented both 32-bit and 64-bit support for the BCD ASL
14009 functions ToBCD and FromBCD.
14011 Updated all legal headers to include "2000" in the copyright
14014 ------------------------------------------
14015 Summary of changes for this label: 12_01_00
14017 Fixed a problem where method invocations within the ASL definition
14018 of both OperationRegions and CreateXXXFields did not work
14019 properly. The symptom was an AE_AML_OPERAND_TYPE during
14020 initialization of the region/field:
14022 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
14023 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
14026 Fixed a problem where operators with more than one nested
14027 subexpression would fail. The symptoms were varied, by mostly
14028 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
14029 problem that has gone unnoticed until now.
14031 Subtract (Add (1,2), Multiply (3,4))
14033 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
14034 previous build (The prefix part of a relative path was handled
14037 Fixed a problem where Operation Region initialization failed if
14038 the operation region name was a "namepath" instead of a simple
14039 "nameseg". Symptom was an AE_NO_OPERAND error.
14041 Fixed a problem where an assignment to a local variable via the
14042 indirect RefOf mechanism only worked for the first such
14043 assignment. Subsequent assignments were ignored.
14045 ------------------------------------------
14046 Summary of changes for this label: 11_15_00
14048 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
14049 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
14050 the AML interpreter does NOT have support for the new 2.0 ASL
14051 grammar terms at this time.
14053 All ACPI hardware access is via the GAS structures in the ACPI 2.0
14056 All physical memory addresses across all platforms are now 64 bits
14057 wide. Logical address width remains dependent on the platform
14060 AcpiOsMapMemory interface changed to a 64-bit physical address.
14062 The AML interpreter integer size is now 64 bits, as per the ACPI
14065 For backwards compatibility with ACPI 1.0, ACPI tables with a
14066 revision number less than 2 use 32-bit integers only.
14068 Fixed a problem where the evaluation of OpRegion operands did not
14069 always resolve them to numbers properly.
14071 ------------------------------------------
14072 Summary of changes for this label: 10_20_00
14074 Fix for CBN_._STA issue. This fix will allow correct access to
14075 CBN_ OpRegions when the _STA returns 0x8.
14077 Support to convert ACPI constants (Ones, Zeros, One) to actual
14078 values before a package object is returned
14080 Fix for method call as predicate to if/while construct causing
14081 incorrect if/while behavior
14083 Fix for Else block package lengths sometimes calculated wrong (if
14086 Fix for Processor object length field, was always zero
14088 Table load abort if FACP sanity check fails
14090 Fix for problem with Scope(name) if name already exists
14092 Warning emitted if a named object referenced cannot be found
14093 (resolved) during method execution.
14099 ------------------------------------------
14100 Summary of changes for this label: 9_29_00
14102 New table initialization interfaces: AcpiInitializeSubsystem no
14103 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
14104 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
14105 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
14108 Note: These interface changes require changes to all existing OSDs
14110 The PCI_Config default address space handler is always installed
14111 at the root namespace object.
14113 -------------------------------------------
14114 Summary of changes for this label: 09_15_00
14116 The new initialization architecture is implemented. New
14117 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
14118 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
14120 (Namespace is automatically loaded when a table is loaded)
14122 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
14123 52 bytes to 32 bytes. There is usually one of these for every
14124 namespace object, so the memory savings is significant.
14126 Implemented just-in-time evaluation of the CreateField operators.
14128 Bug fixes for IA-64 support have been integrated.
14130 Additional code review comments have been implemented
14132 The so-called "third pass parse" has been replaced by a final walk
14133 through the namespace to initialize all operation regions (address
14134 spaces) and fields that have not yet been initialized during the
14135 execution of the various _INI and REG methods.
14137 New file - namespace/nsinit.c
14139 -------------------------------------------
14140 Summary of changes for this label: 09_01_00
14142 Namespace manager data structures have been reworked to change the
14143 primary object from a table to a single object. This has
14144 resulted in dynamic memory savings of 3X within the namespace and
14145 2X overall in the ACPI CA subsystem.
14147 Fixed problem where the call to AcpiEvFindPciRootBuses was
14148 inadvertently left commented out.
14150 Reduced the warning count when generating the source with the GCC
14153 Revision numbers added to each module header showing the
14154 SourceSafe version of the file. Please refer to this version
14155 number when giving us feedback or comments on individual modules.
14157 The main object types within the subsystem have been renamed to
14158 clarify their purpose:
14160 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
14161 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
14162 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
14164 NOTE: no changes to the initialization sequence are included in
14167 -------------------------------------------
14168 Summary of changes for this label: 08_23_00
14170 Fixed problem where TerminateControlMethod was being called
14171 multiple times per method
14173 Fixed debugger problem where single stepping caused a semaphore to
14176 Improved performance through additional parse object caching -
14177 added ACPI_EXTENDED_OP type
14179 -------------------------------------------
14180 Summary of changes for this label: 08_10_00
14182 Parser/Interpreter integration: Eliminated the creation of
14183 complete parse trees for ACPI tables and control methods.
14184 Instead, parse subtrees are created and then deleted as soon as
14185 they are processed (Either entered into the namespace or executed
14186 by the interpreter). This reduces the use of dynamic kernel
14187 memory significantly. (about 10X)
14189 Exception codes broken into classes and renumbered. Be sure to
14190 recompile all code that includes acexcep.h. Hopefully we won't
14191 have to renumber the codes again now that they are split into
14192 classes (environment, programmer, AML code, ACPI table, and
14195 Fixed some additional alignment issues in the Resource Manager
14198 Implemented semaphore tracking in the AcpiExec utility, and fixed
14199 several places where mutexes/semaphores were being unlocked
14200 without a corresponding lock operation. There are no known
14201 semaphore or mutex "leaks" at this time.
14203 Fixed the case where an ASL Return operator is used to return an
14206 -------------------------------------------
14207 Summary of changes for this label: 07_28_00
14209 Fixed a problem with the way addresses were calculated in
14210 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
14211 manifested itself when a Field was created with WordAccess or
14212 DwordAccess, but the field unit defined within the Field was less
14214 than a Word or Dword.
14216 Fixed a problem in AmlDumpOperands() module's loop to pull
14217 operands off of the operand stack to display information. The
14218 problem manifested itself as a TLB error on 64-bit systems when
14219 accessing an operand stack with two or more operands.
14221 Fixed a problem with the PCI configuration space handlers where
14222 context was getting confused between accesses. This required a
14223 change to the generic address space handler and address space
14224 setup definitions. Handlers now get both a global handler context
14225 (this is the one passed in by the user when executing
14226 AcpiInstallAddressSpaceHandler() and a specific region context
14227 that is unique to each region (For example, the _ADR, _SEG and
14228 _BBN values associated with a specific region). The generic
14229 function definitions have changed to the following:
14231 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
14232 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
14233 *HandlerContext, // This used to be void *Context void
14234 *RegionContext); // This is an additional parameter
14236 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
14237 RegionHandle, UINT32 Function, void *HandlerContext, void
14238 **RegionContext); // This used to be **ReturnContext
14240 -------------------------------------------
14241 Summary of changes for this label: 07_21_00
14243 Major file consolidation and rename. All files within the
14244 interpreter have been renamed as well as most header files. This
14245 was done to prevent collisions with existing files in the host
14246 OSs -- filenames such as "config.h" and "global.h" seem to be
14247 quite common. The VC project files have been updated. All
14248 makefiles will require modification.
14250 The parser/interpreter integration continues in Phase 5 with the
14251 implementation of a complete 2-pass parse (the AML is parsed
14252 twice) for each table; This avoids the construction of a huge
14253 parse tree and therefore reduces the amount of dynamic memory
14254 required by the subsystem. Greater use of the parse object cache
14255 means that performance is unaffected.
14257 Many comments from the two code reviews have been rolled in.
14259 The 64-bit alignment support is complete.
14261 -------------------------------------------
14262 Summary of changes for this label: 06_30_00
14264 With a nod and a tip of the hat to the technology of yesteryear,
14265 we've added support in the source code for 80 column output
14266 devices. The code is now mostly constrained to 80 columns or
14267 less to support environments and editors that 1) cannot display
14268 or print more than 80 characters on a single line, and 2) cannot
14269 disable line wrapping.
14271 A major restructuring of the namespace data structure has been
14272 completed. The result is 1) cleaner and more
14273 understandable/maintainable code, and 2) a significant reduction
14274 in the dynamic memory requirement for each named ACPI object
14277 -------------------------------------------
14278 Summary of changes for this label: 06_23_00
14280 Linux support has been added. In order to obtain approval to get
14281 the ACPI CA subsystem into the Linux kernel, we've had to make
14282 quite a few changes to the base subsystem that will affect all
14283 users (all the changes are generic and OS- independent). The
14284 effects of these global changes have been somewhat far reaching.
14285 Files have been merged and/or renamed and interfaces have been
14286 renamed. The major changes are described below.
14288 Osd* interfaces renamed to AcpiOs* to eliminate namespace
14289 pollution/confusion within our target kernels. All OSD
14290 interfaces must be modified to match the new naming convention.
14292 Files merged across the subsystem. A number of the smaller source
14293 and header files have been merged to reduce the file count and
14294 increase the density of the existing files. There are too many
14295 to list here. In general, makefiles that call out individual
14296 files will require rebuilding.
14298 Interpreter files renamed. All interpreter files now have the
14299 prefix am* instead of ie* and is*.
14301 Header files renamed: The acapi.h file is now acpixf.h. The
14302 acpiosd.h file is now acpiosxf.h. We are removing references to
14303 the acronym "API" since it is somewhat windowsy. The new name is
14304 "external interface" or xface or xf in the filenames.j
14307 All manifest constants have been forced to upper case (some were
14308 mixed case.) Also, the string "ACPI_" has been prepended to many
14309 (not all) of the constants, typedefs, and structs.
14311 The globals "DebugLevel" and "DebugLayer" have been renamed
14312 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
14314 All other globals within the subsystem are now prefixed with
14315 "AcpiGbl_" Internal procedures within the subsystem are now
14316 prefixed with "Acpi" (with only a few exceptions). The original
14317 two-letter abbreviation for the subcomponent remains after "Acpi"
14318 - for example, CmCallocate became AcpiCmCallocate.
14320 Added a source code translation/conversion utility. Used to
14321 generate the Linux source code, it can be modified to generate
14322 other types of source as well. Can also be used to cleanup
14323 existing source by removing extraneous spaces and blank lines.
14324 Found in tools/acpisrc/*
14326 OsdUnMapMemory was renamed to OsdUnmapMemory and then
14327 AcpiOsUnmapMemory. (UnMap became Unmap).
14329 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
14330 When set to one, this indicates that the caller wants to use the
14332 semaphore as a mutex, not a counting semaphore. ACPI CA uses
14333 both types. However, implementers of this call may want to use
14334 different OS primitives depending on the type of semaphore
14335 requested. For example, some operating systems provide separate
14337 "mutex" and "semaphore" interfaces - where the mutex interface is
14338 much faster because it doesn't have all the overhead of a full
14339 semaphore implementation.
14341 Fixed a deadlock problem where a method that accesses the PCI
14342 address space can block forever if it is the first access to the
14345 -------------------------------------------
14346 Summary of changes for this label: 06_02_00
14348 Support for environments that cannot handle unaligned data
14349 accesses (e.g. firmware and OS environments devoid of alignment
14350 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
14351 been added (via configurable macros) in these three areas: -
14352 Transfer of data from the raw AML byte stream is done via byte
14353 moves instead of word/dword/qword moves. - External objects are
14354 aligned within the user buffer, including package elements (sub-
14355 objects). - Conversion of name strings to UINT32 Acpi Names is now
14358 The Store operator was modified to mimic Microsoft's
14359 implementation when storing to a Buffer Field.
14361 Added a check of the BM_STS bit before entering C3.
14363 The methods subdirectory has been obsoleted and removed. A new
14364 file, cmeval.c subsumes the functionality.
14366 A 16-bit (DOS) version of AcpiExec has been developed. The
14367 makefile is under the acpiexec directory.