1 ----------------------------------------
2 15 February 2019. Summary of changes for version 20190215:
4 This release is available at https://acpica.org/downloads
7 0) Support for ACPI specification version 6.3:
9 Add PCC operation region support for the AML interpreter. This adds PCC
10 operation region support in the AML interpreter and a default handler for
11 acpiexec. The change also renames the PCC region address space keyword to
14 Support for new predefined methods _NBS, _NCH, _NIC, _NIH, and _NIG.
15 These methods provide OSPM with health information and device boot
18 PDTT: Add TriggerOrder to the PCC Identifier structure. The field value
19 defines if the trigger needs to be invoked by OSPM before or at the end
20 of kernel crash dump processing/handling operation.
22 SRAT: Add Generic Affinity Structure subtable. This subtable in the SRAT
23 is used for describing devices such as heterogeneous processors,
24 accelerators, GPUs, and IO devices with integrated compute or DMA
27 MADT: Add support for statistical profiling in GICC. Statistical
28 profiling extension (SPE) is an architecture-specific feature for ARM.
30 MADT: Add online capable flag. If this bit is set, system hardware
31 supports enabling this processor during OS runtime.
33 New Error Disconnect Recover Notification value. There are a number of
34 scenarios where system Firmware in collaboration with hardware may
35 disconnect one or more devices from the rest of the system for purposes
36 of error containment. Firmware can use this new notification value to
37 alert OSPM of such a removal.
39 PPTT: New additional fields in Processor Structure Flags. These flags
40 provide more information about processor topology.
42 NFIT/Disassembler: Change a field name from "Address Range" to "Region
45 HMAT updates: make several existing fields to be reserved as well as
46 rename subtable 0 to "memory proximity domain attributes".
48 GTDT: Add support for new GTDT Revision 3. This revision adds information
51 iASL: Update the HMAT example template for new fields.
53 iASL: Add support for the new revision of the GTDT (Rev 3).
56 1) ACPICA kernel-resident subsystem:
58 AML Parser: fix the main AML parse loop to correctly skip erroneous
59 extended opcodes. AML opcodes come in two lengths: 1-byte opcodes and 2-
60 byte extended opcodes. If an error occurs during an AML table load, the
61 AML parser will continue loading the table by skipping the offending
62 opcode. This implements a "load table at any cost" philosophy.
65 2) iASL Compiler/Disassembler and Tools:
67 iASL: Add checks for illegal object references, such as a reference
68 outside of method to an object within a method. Such an object is only
71 iASL: Emit error for creation of a zero-length operation region. Such a
72 region is rather pointless. If encountered, a runtime error is also
73 implemented in the interpeter.
75 Debugger: Fix a possible fault with the "test objects" command.
77 iASL: Makefile: support parent directory filenames containing embedded
80 iASL: Update the TPM2 template to revision 4.
82 iASL: Add the ability to report specific warnings or remarks as errors.
84 Disassembler: Disassemble OEMx tables as actual AML byte code.
85 Previously, these tables were treated as "unknown table".
87 iASL: Add definition and disassembly for TPM2 revision 3.
89 iASL: Add support for TPM2 rev 3 compilation.
92 ----------------------------------------
93 08 January 2019. Summary of changes for version 20190108:
96 1) ACPICA kernel-resident subsystem:
98 Updated all copyrights to 2019. This affects all source code modules.
101 2) iASL Compiler/Disassembler and Tools:
103 ASL test suite (ASLTS): Updated all copyrights to 2019.
105 Tools: Updated all signon copyrights to 2019.
107 AcpiExec: Added a new option to dump extra information concerning any
108 memory leaks detected by the internal object/cache tracking mechanism. -
111 iASL: Updated the table template for the TPM2 table to the newest version
112 of the table (Revision 4)
115 ----------------------------------------
116 13 December 2018. Summary of changes for version 20181213:
119 1) ACPICA Kernel-resident Subsystem:
121 Fixed some buffer length issues with the GenericSerialBus, related to two
122 of the bidirectional protocols: AttribRawProcessBytes and AttribRawBytes,
123 which are rarely seen in the field. For these, the LEN field of the ASL
124 buffer is now ignored. Hans de Goede
126 Implemented a new object evaluation trace mechanism for control methods
127 and data objects. This includes nested control methods. It is
128 particularly useful for examining the ACPI execution during system
129 initialization since the output is relatively terse. The flag below
130 enables the output of the trace via the ACPI_DEBUG_PRINT_RAW interface:
131 #define ACPI_LV_EVALUATION 0x00080000
134 Enter evaluation : _SB.PCI0._INI (Method)
135 Exit evaluation : _SB.PCI0._INI
136 Enter evaluation : _OSI (Method)
137 Exit evaluation : _OSI
138 Enter evaluation : _SB.PCI0.TEST (Method)
139 Nested method call : _SB.PCI0.NST1
140 Exit nested method : _SB.PCI0.NST1
141 Exit evaluation : _SB.PCI0.TEST
143 Added two recently-defined _OSI strings. See
144 https://docs.microsoft.com/en-us/windows-hardware/drivers/acpi/winacpi-
149 Update for buffer-to-string conversions via the ToHexString ASL operator.
150 A "0x" is now prepended to each of the hex values in the output string.
151 This provides compatibility with other ACPI implementations. The ACPI
152 specification is somewhat vague on this issue.
153 Example output string after conversion:
154 "0x01,0x02,0x03,0x04,0x05,0x06"
156 Return a run-time error for TermArg expressions within individual package
157 elements. Although this is technically supported by the ASL grammar,
158 other ACPI implementations do not support this either. Also, this fixes a
159 fault if this type of construct is ever encountered (it never has been).
162 2) iASL Compiler/Disassembler and Tools:
164 iASL: Implemented a new compile option (-ww) that will promote individual
165 warnings and remarks to errors. This is intended to enhance the firmware
168 AcpiExec: Implemented a new command-line option (-eo) to support the new
169 object evaluation trace mechanism described above.
171 Disassembler: Added support to disassemble OEMx tables as AML/ASL tables
172 instead of a "unknown table" message.
174 AcpiHelp: Improved support for the "special" predefined names such as
175 _Lxx, _Exx, _EJx, _T_x, etc. For these, any legal hex value can now be
176 used for "xx" and "x".
178 ----------------------------------------
179 31 October 2018. Summary of changes for version 20181031:
182 An Operation Region regression was fixed by properly adding address
183 ranges to a global list during initialization. This allows OS to
184 accurately check for overlapping regions between native devices (such as
185 PCI) and Operation regions as well as checking for region conflicts
186 between two Operation Regions.
188 Added support for the 2-byte extended opcodes in the code/feature that
189 attempts to continue parsing during the table load phase. Skip parsing
190 Device declarations (and other extended opcodes) when an error occurs
191 during parsing. Previously, only single-byte opcodes were supported.
193 Cleanup: Simplified the module-level code support by eliminating a
194 useless global variable (AcpiGbl_GroupModuleLeveCode).
197 2) iASL Compiler/Disassembler and Tools:
199 iASL/Preprocessor: Fixed a regression where an incorrect use of ACPI_FREE
200 could cause a fault in the preprocessor. This was an inadvertent side-
201 effect from moving more allocations/frees to the local cache/memory
204 iASL: Enhanced error detection by validating that all NameSeg elements
205 within a NamePatch actually exist. The previous behavior was spotty at
206 best, and such errors could be improperly ignored at compiler time (never
207 at runtime, however. There are two new error messages, as shown in the
210 dsdt.asl 33: CreateByteField (TTTT.BXXX, 1, CBF1)
211 Error 6161 - ^ One or more objects within
212 the Pathname do not exist (TTTT.BXXX)
214 dsdt.asl 34: CreateByteField (BUF1, UUUU.INT1, BBBB.CBF1)
215 Error 6160 - One or more prefix Scopes do not exist ^
218 iASL: Disassembler/table-compiler: Added support for the static data
219 table TPM2 revision 3 (an older version of TPM2). The support has been
220 added for the compiler and the disassembler.
222 Fixed compilation of DOS format data table file on Unix/Linux systems.
223 iASL now properly detects line continuations (\) for DOS format data
224 table definition language files on when executing on Unix/Linux.
226 ----------------------------------------
227 03 October 2018. Summary of changes for version 20181003:
230 2) iASL Compiler/Disassembler and Tools:
232 Fixed a regression introduced in version 20180927 that could cause the
233 compiler to fault, especially with NamePaths containing one or more
234 carats (^). Such as: ^^_SB_PCI0
236 Added a new remark for the Sleep() operator when the sleep time operand
237 is larger than one second. This is a very long time for the ASL/BIOS code
238 and may not be what was intended by the ASL writer.
240 ----------------------------------------
241 27 September 2018. Summary of changes for version 20180927:
244 1) ACPICA kernel-resident subsystem:
246 Updated the GPE support to clear the status of all ACPI events when
247 entering any/all sleep states in order to avoid premature wakeups. In
248 theory, this may cause some wakeup events to be missed, but the
249 likelihood of this is small. This change restores the original behavior
250 of the ACPICA code in order to fix a regression seen from the previous
251 "Stop unconditionally clearing ACPI IRQs during suspend/resume" change.
252 This regression could cause some systems to incorrectly wake immediately.
254 Updated the execution of the _REG methods during initialization and
255 namespace loading to bring the behavior into closer conformance to the
256 ACPI specification and other ACPI implementations:
258 From the ACPI specification 6.2A, section 6.5.4 "_REG (Region):
259 "Control methods must assume all operation regions are inaccessible
260 until the _REG(RegionSpace, 1) method is executed"
262 "The exceptions to this rule are:
263 1. OSPM must guarantee that the following operation regions are always
265 SystemIO operation regions.
266 SystemMemory operation regions when accessing memory returned by the
267 System Address Map reporting interfaces."
269 Since the state of both the SystemIO and SystemMemory address spaces are
270 defined by the specification to never change, this ACPICA change ensures
271 that now _REG is never called on them. This solves some problems seen in
272 the field and provides compatibility with other ACPI implementations. An
273 update to the upcoming new version of the ACPI specification will help
274 clarify this behavior.
276 Updated the implementation of support for the Generic Serial Bus. For the
277 "bidirectional" protocols, the internal implementation now automatically
278 creates a return data buffer of the maximum size (255). This handles the
279 worst-case for data that is returned from the serial bus handler, and
280 fixes some problems seen in the field. This new buffer is directly
281 returned to the ASL. As such, there is no true "bidirectional" buffer,
282 which matches the ACPI specification. This is the reason for the "double
283 store" seen in the example ASL code in the specification, shown below:
285 Word Process Call (AttribProcessCall):
286 OperationRegion(TOP1, GenericSerialBus, 0x00, 0x100)
287 Field(TOP1, BufferAcc, NoLock, Preserve)
289 FLD1, 8, // Virtual register at command value 1.
292 Name(BUFF, Buffer(20){}) // Create GenericSerialBus data buffer
294 CreateWordField(BUFF, 0x02, DATA) // DATA = Data (Word)
296 Store(0x5416, DATA) // Save 0x5416 into the data buffer
297 Store(Store(BUFF, FLD1), BUFF) // Invoke a write/read Process Call
299 // This is the "double store". The write to
300 // FLD1 returns a new buffer, which is stored
301 // back into BUFF with the second Store.
304 2) iASL Compiler/Disassembler and Tools:
306 iASL: Implemented detection of extraneous/redundant uses of the Offset()
307 operator within a Field Unit list. A remark is now issued for these. For
308 example, the first two of the Offset() operators below are extraneous.
309 Because both the compiler and the interpreter track the offsets
310 automatically, these Offsets simply refer to the current offset and are
311 unnecessary. Note, when optimization is enabled, the iASL compiler will
312 in fact remove the redundant Offset operators and will not emit any AML
315 OperationRegion (OPR1, SystemMemory, 0x100, 0x100)
318 Offset (0), // Never needed
320 Offset (4), // Redundant, offset is already 4 (bytes)
322 Offset (64), // OK use of Offset.
325 dsdt.asl 14: Offset (0),
326 Remark 2158 - ^ Unnecessary/redundant use of Offset
329 dsdt.asl 16: Offset (4),
330 Remark 2158 - ^ Unnecessary/redundant use of Offset
333 ----------------------------------------
334 10 August 2018. Summary of changes for version 20180810:
337 1) ACPICA kernel-resident subsystem:
339 Initial ACPI table loading: Attempt to continue loading ACPI tables
340 regardless of malformed AML. Since migrating table initialization to the
341 new module-level code support, the AML interpreter rejected tables upon
342 any ACPI error encountered during table load. This is a problem because
343 non-serious ACPI errors during table load do not necessarily mean that
344 the entire definition block (DSDT or SSDT) is invalid. This change
345 improves the table loading by ignoring some types of errors that can be
346 generated by incorrect AML. This can range from object type errors, scope
347 errors, and index errors.
349 Suspend/Resume support: Update to stop unconditionally clearing ACPI IRQs
350 during suspend/resume. The status of ACPI events is no longer cleared
351 when entering the ACPI S5 system state (power off) which caused some
352 systems to power up immediately after turning off power in certain
353 situations. This was a functional regression. It was fixed by clearing
354 the status of all ACPI events again when entering S5 (for system-wide
355 suspend or hibernation the clearing of the status of all events is not
356 desirable, as it might cause the kernel to miss wakeup events sometimes).
360 2) iASL Compiler/Disassembler and Tools:
362 AcpiExec: Enhanced the -fi option (Namespace initialization file). Field
363 elements listed in the initialization file were previously initialized
364 after the table load and before executing module-level code blocks.
365 Recent changes in the module-level code support means that the table load
366 becomes a large control method execution. If fields are used within
367 module-level code and we are executing with the -fi option, the
368 initialization values were used to initialize the namespace object(s)
369 only after the table was finished loading. This change Provides an early
370 initialization of objects specified in the initialization file so that
371 field unit values are populated during the table load (not after the
374 AcpiExec: Fixed a small memory leak regression that could result in
375 warnings during exit of the utility. These warnings were similar to
377 0002D690 Length 0x0006 nsnames-0502 [Not a Descriptor - too small]
378 0002CD70 Length 0x002C utcache-0453 [Operand] Integer RefCount 0x0001
380 ----------------------------------------
381 29 June 2018. Summary of changes for version 20180629:
384 1) iASL Compiler/Disassembler and Tools:
386 iASL: Fixed a regression related to the use of the ASL External
387 statement. Error checking for the use of the External() statement has
388 been relaxed. Previously, a restriction on the use of External meant that
389 the referenced named object was required to be defined in a different
390 table (an SSDT). Thus it would be an error to declare an object as an
391 external and then define the same named object in the same table. For
393 DefinitionBlock (...)
396 Device (DEV1){...} // This was an error
398 However, this behavior has caused regressions in some existing ASL code,
399 because there is code that depends on named objects and externals (with
400 the same name) being declared in the same table. This change will allow
401 the ASL code above to compile without errors or warnings.
403 iASL: Implemented ASL language extensions for four operators to make some
404 of their arguments optional instead of required:
405 1) Field (RegionName, AccessType, LockRule, UpdateRule)
406 2) BankField (RegionName, BankName, BankValue,
407 AccessType, LockRule, UpdateRule)
408 3) IndexField (IndexName, DataName,
409 AccessType, LockRule, UpdateRule)
410 For the Field operators above, the AccessType, LockRule, and UpdateRule
411 are now optional arguments. The default values are:
415 4) Mutex (MutexName, SyncLevel)
416 For this operator, the SyncLevel argument is now optional. This argument
417 is rarely used in any meaningful way by ASL code, and thus it makes sense
418 to make it optional. The default value is:
421 iASL: Attempted use of the ASL Unload() operator now results in the
423 "Unload is not supported by all operating systems"
424 This is in fact very true, and the Unload operator may be completely
425 deprecated in the near future.
427 AcpiExec: Fixed a regression for the -fi option (Namespace initialization
428 file. Recent changes in the ACPICA module-level code support altered the
429 table load/initialization sequence . This means that the table load has
430 become a large method execution of the table itself. If Operation Region
431 Fields are used within any module-level code and the -fi option was
432 specified, the initialization values were populated only after the table
433 had completely finished loading (and thus the module-level code had
434 already been executed). This change moves the initialization of objects
435 listed in the initialization file to before the table is executed as a
436 method. Field unit values are now initialized before the table execution
439 ----------------------------------------
440 31 May 2018. Summary of changes for version 20180531:
443 1) ACPICA kernel-resident Subsystem:
445 Implemented additional support to help ensure that a DSDT or SSDT is
446 fully loaded even if errors are incurred during the load. The majority of
447 the problems that are seen is the failure of individual AML operators
448 that occur during execution of any module-level code (MLC) existing in
449 the table. This support adds a mechanism to abort the current ASL
450 statement (AML opcode), emit an error message, and to simply move on to
451 the next opcode -- instead of aborting the entire table load. This is
452 different than the execution of a control method where the entire method
453 is aborted upon any error. The goal is to perform a very "best effort" to
454 load the ACPI tables. The most common MLC errors that have been seen in
455 the field are direct references to unresolved ASL/AML symbols (referenced
456 directly without the use of the CondRefOf operator to validate the
457 symbol). This new ACPICA behavior is now compatible with other ACPI
460 Interpreter: The Unload AML operator is no longer supported for the
461 reasons below. An AE_NOT_IMPLEMENTED exception is returned.
462 1) A correct implementation on at least some hosts may not be possible.
463 2) Other ACPI implementations do not correctly/fully support it.
464 3) It requires host device driver support which is not known to exist.
465 (To properly support namespace unload out from underneath.)
466 4) This AML operator has never been seen in the field.
468 Parser: Added a debug option to dump AML parse sub-trees as they are
469 being executed. Used with ACPI_DEBUG_PRINT, the enabling debug level is
472 Debugger: Reduced the verbosity for errors incurred during table load and
473 module-level code execution.
475 Completed an investigation into adding a namespace node "owner list"
476 instead of the current "owner ID" associated with namespace nodes. This
477 list would link together all nodes that are owned by an individual
478 control method. The purpose would be to enhance control method execution
479 by speeding up cleanup during method exit (all namespace nodes created by
480 a method are deleted upon method termination.) Currently, the entire
481 namespace must be searched for matching owner IDs if (and only if) the
482 method creates named objects outside of the local scope. However, by far
483 the most common case is that methods create objects locally, not outside
484 the method scope. There is already an ACPICA optimization in place that
485 only searches the entire namespace in the rare case of a method creating
486 objects elsewhere in the namespace. Therefore, it is felt that the
487 overhead of adding an additional pointer to each namespace node to
488 implement the owner list makes this feature unnecessary.
491 2) iASL Compiler/Disassembler and Tools:
493 iASL, Disassembler, and Template generator: Implemented support for
494 Revision D of the IORT table. Adds a new subtable that is used to specify
495 SMMUv3 PMCGs. rmurphy-arm.
497 Disassembler: Restored correct table header validation for the "special"
498 ACPI tables -- RSDP and FACS. These tables do not contain a standard ACPI
499 table header and must be special-cased. This was a regression that has
500 been present for apparently a long time.
502 AcpiExec: Reduced verbosity of the local exception handler implemented
503 within acpiexec. This handler is invoked by ACPICA upon any exceptions
504 generated during control method execution. A new option was added: -vh
505 restores the original verbosity level if desired.
507 AcpiExec: Changed the default base from decimal to hex for the -x option
508 (set debug level). This simplifies the use of this option and matches the
509 behavior of the corresponding iASL -x option.
511 AcpiExec: Restored a force-exit on multiple control-c (sigint)
512 interrupts. This allows program termination even if other issues cause
513 the control-c to fail.
515 ASL test suite (ASLTS): Added tests for the recently implemented package
516 element resolution mechanism that allows forward references to named
517 objects from individual package elements (this mechanism provides
518 compatibility with other ACPI implementations.)
521 ----------------------------------------
522 8 May 2018. Summary of changes for version 20180508:
525 1) ACPICA kernel-resident subsystem:
527 Completed the new (recently deployed) package resolution mechanism for
528 the Load and LoadTable ASL/AML operators. This fixes a regression that
529 was introduced in version 20180209 that could result in an
530 AE_AML_INTERNAL exception during the loading of a dynamic ACPI/AML table
531 (SSDT) that contains package objects.
534 2) iASL Compiler/Disassembler and Tools:
536 AcpiDump and AcpiXtract: Implemented support for ACPI tables larger than
537 1 MB. This change allows for table offsets within the acpidump file to be
538 up to 8 characters. These changes are backwards compatible with existing
542 ----------------------------------------
543 27 April 2018. Summary of changes for version 20180427:
546 1) ACPICA kernel-resident subsystem:
548 Debugger: Added support for Package objects in the "Test Objects"
549 command. This command walks the entire namespace and evaluates all named
550 data objects (Integers, Strings, Buffers, and now Packages).
552 Improved error messages for the namespace root node. Originally, the root
553 was referred to by the confusing string "\___". This has been replaced by
554 "Namespace Root" for clarification.
556 Fixed a potential infinite loop in the AcpiRsDumpByteList function. Colin
557 Ian King <colin.king@canonical.com>.
560 2) iASL Compiler/Disassembler and Tools:
562 iASL: Implemented support to detect and flag illegal forward references.
563 For compatibility with other ACPI implementations, these references are
564 now illegal at the root level of the DSDT or SSDTs. Forward references
565 have always been illegal within control methods. This change should not
566 affect existing ASL/AML code because of the fact that these references
567 have always been illegal in the other ACPI implementation.
569 iASL: Added error messages for the case where a table OEM ID and OEM
570 TABLE ID strings are longer than the ACPI-defined length. Previously,
571 these strings were simply silently truncated.
573 iASL: Enhanced the -tc option (which creates an AML hex file in C,
574 suitable for import into a firmware project):
575 1) Create a unique name for the table, to simplify use of multiple
577 2) Add a protection #ifdef in the file, similar to a .h header file.
578 With assistance from Sami Mujawar, sami.mujawar@arm.com and Evan Lloyd,
581 AcpiExec: Added a new option, -df, to disable the local fault handler.
582 This is useful during debugging, where it may be desired to drop into a
585 ----------------------------------------
586 13 March 2018. Summary of changes for version 20180313:
589 1) ACPICA kernel-resident subsystem:
591 Implemented various improvements to the GPE support:
593 1) Dispatch all active GPEs at initialization time so that no GPEs are
595 2) Enable runtime GPEs earlier. Some systems expect GPEs to be enabled
596 before devices are enumerated.
597 3) Don't unconditionally clear ACPI IRQs during suspend/resume, so that
599 4) Add parallel GPE handling to eliminate the possibility of dispatching
601 5) Dispatch any pending GPEs after enabling for the first time.
603 AcpiGetObjectInfo - removed support for the _STA method. This was causing
604 problems on some platforms.
606 Added a new _OSI string, "Windows 2017.2".
608 Cleaned up and simplified the module-level code support. These changes
609 are in preparation for the eventual removal of the legacy MLC support
610 (deferred execution), replaced by the new MLC architecture which executes
611 the MLC as a table is loaded (DSDT/SSDTs).
613 Changed a compile-time option to a runtime option. Changes the option to
614 ignore ACPI table load-time package resolution errors into a runtime
615 option. Used only for platforms that generate many AE_NOT_FOUND errors
616 during boot. AcpiGbl_IgnorePackageResolutionErrors.
618 Fixed the ACPI_ERROR_NAMESPACE macro. This change involves putting some
619 ACPI_ERROR_NAMESPACE parameters inside macros. By doing so, we avoid
620 compilation errors from unused variables (seen with some compilers).
623 2) iASL Compiler/Disassembler and Tools:
625 ASLTS: parallelized execution in order to achieve an (approximately) 2X
626 performance increase.
628 ASLTS: Updated to use the iASL __LINE__ and __METHOD__ macros. Improves
631 ----------------------------------------
632 09 February 2018. Summary of changes for version 20180209:
635 1) ACPICA kernel-resident subsystem:
637 Completed the final integration of the recent changes to Package Object
638 handling and the module-level AML code support. This allows forward
639 references from individual package elements when the package object is
640 declared from within module-level code blocks. Provides compatibility
641 with other ACPI implementations.
643 The new architecture for the AML module-level code has been completed and
644 is now the default for the ACPICA code. This new architecture executes
645 the module-level code in-line as the ACPI table is loaded/parsed instead
646 of the previous architecture which deferred this code until after the
647 table was fully loaded. This solves some ASL code ordering issues and
648 provides compatibility with other ACPI implementations. At this time,
649 there is an option to fallback to the earlier architecture, but this
650 support is deprecated and is planned to be completely removed later this
653 Added a compile-time option to ignore AE_NOT_FOUND exceptions during
654 resolution of named reference elements within Package objects. Although
655 this is potentially a serious problem, it can generate a lot of
656 noise/errors on platforms whose firmware carries around a bunch of unused
657 Package objects. To disable these errors, define
658 ACPI_IGNORE_PACKAGE_RESOLUTION_ERRORS in the OS-specific header. All
659 errors are always reported for ACPICA applications such as AcpiExec.
661 Fixed a regression related to the explicit type-conversion AML operators
662 (ToXXXX). The regression was introduced early in 2017 but was not seen
663 until recently because these operators are not fully supported by other
664 ACPI implementations and are thus rarely used by firmware developers. The
665 operators are defined by the ACPI specification to not implement the
666 "implicit result object conversion". The regression incorrectly
667 introduced this object conversion for the following explicit conversion
678 2) iASL Compiler/Disassembler and Tools:
680 iASL: Fixed a problem with the compiler constant folding feature as
681 related to the ToXXXX explicit conversion operators. These operators do
682 not support the "implicit result object conversion" by definition. Thus,
683 ASL expressions that use these operators cannot be folded to a simple
684 Store operator because Store implements the implicit conversion. This
685 change uses the CopyObject operator for the ToXXXX operator folding
686 instead. CopyObject is defined to not implement implicit result
687 conversions and is thus appropriate for folding the ToXXXX operators.
689 iASL: Changed the severity of an error condition to a simple warning for
690 the case where a symbol is declared both locally and as an external
691 symbol. This accommodates existing ASL code.
693 AcpiExec: The -ep option to enable the new architecture for module-level
694 code has been removed. It is replaced by the -dp option which instead has
695 the opposite effect: it disables the new architecture (the default) and
696 enables the legacy architecture. When the legacy code is removed in the
697 future, the -dp option will be removed also.
699 ----------------------------------------
700 05 January 2018. Summary of changes for version 20180105:
703 1) ACPICA kernel-resident subsystem:
705 Updated all copyrights to 2018. This affects all source code modules.
707 Fixed a possible build error caused by an unresolved reference to the
708 AcpiUtSafeStrncpy function.
710 Removed NULL pointer arithmetic in the various pointer manipulation
711 macros. All "(void *) NULL" constructs are converted to "(void *) 0".
712 This eliminates warnings/errors in newer C compilers. Jung-uk Kim.
714 Added support for A32 ABI compilation, which uses the ILP32 model. Anuj
718 2) iASL Compiler/Disassembler and Tools:
720 ASLTS: Updated all copyrights to 2018.
722 Tools: Updated all signon copyrights to 2018.
724 AcpiXtract: Fixed a regression related to ACPI table signatures where the
725 signature was truncated to 3 characters (instead of 4).
727 AcpiExec: Restore the original terminal mode after the use of the -v and
730 ASLTS: Deployed the iASL __METHOD__ macro across the test suite.
732 ----------------------------------------
733 14 December 2017. Summary of changes for version 20171214:
736 1) ACPICA kernel-resident subsystem:
738 Fixed a regression in the external (public) AcpiEvaluateObjectTyped
739 interface where the optional "pathname" argument had inadvertently become
740 a required argument returning an error if omitted (NULL pointer
743 Fixed two possible memory leaks related to the recently developed "late
744 resolution" of reference objects within ASL Package Object definitions.
746 Added two recently defined _OSI strings: "Windows 2016" and "Windows
747 2017". Mario Limonciello.
749 Implemented and deployed a safer version of the C library function
750 strncpy: AcpiUtSafeStrncpy. The intent is to at least prevent the
751 creation of unterminated strings as a possible result of a standard
754 Cleaned up and restructured the global variable file (acglobal.h). There
755 are many changes, but no functional changes.
758 2) iASL Compiler/Disassembler and Tools:
760 iASL Table Compiler: Fixed a problem with the DBG2 ACPI table where the
761 optional OemData field at the end of the table was incorrectly required
762 for proper compilation. It is now correctly an optional field.
764 ASLTS: The entire suite was converted from standard ASL to the ASL+
765 language, using the ASL-to-ASL+ converter which is integrated into the
766 iASL compiler. A binary compare of all output files has verified the
767 correctness of the conversion.
769 iASL: Fixed the source code build for platforms where "char" is unsigned.
770 This affected the iASL lexer only. Jung-uk Kim.
772 ----------------------------------------
773 10 November 2017. Summary of changes for version 20171110:
776 1) ACPICA kernel-resident subsystem:
778 This release implements full support for ACPI 6.2A:
779 NFIT - Added a new subtable, "Platform Capabilities Structure"
780 No other changes to ACPICA were required, since ACPI 6.2A is primarily an
781 errata release of the specification.
783 Other ACPI table changes:
784 IORT: Added the SMMUv3 Device ID mapping index. Hanjun Guo
785 PPTT: Added cache attribute flag definitions to actbl1.h. Jeremy
788 Utilities: Modified the string/integer conversion functions to use
789 internal 64-bit divide support instead of a native divide. On 32-bit
790 platforms, a 64-bit divide typically requires a library function which
791 may not be present in the build (kernel or otherwise).
793 Implemented a targeted error message for timeouts returned from the
794 Embedded Controller device driver. This is seen frequently enough to
795 special-case an AE_TIME returned from an EC operation region access:
796 "Timeout from EC hardware or EC device driver"
798 Changed the "ACPI Exception" message prefix to "ACPI Error" so that all
799 runtime error messages have the identical prefix.
802 2) iASL Compiler/Disassembler and Tools:
804 AcpiXtract: Fixed a problem with table header detection within the
805 acpidump file. Processing a table could be ended early if a 0x40 (@)
806 appears in the original binary table, resulting in the @ symbol appearing
807 in the decoded ASCII field at the end of the acpidump text line. The
808 symbol caused acpixtract to incorrectly think it had reached the end of
809 the current table and the beginning of a new table.
811 AcpiXtract: Added an option (-f) to ignore some errors during table
812 extraction. This initial implementation ignores non-ASCII and non-
813 printable characters found in the acpidump text file.
815 TestSuite(ASLTS)/AcpiExec: Fixed and restored the memory usage statistics
816 for ASLTS. This feature is used to track memory allocations from
817 different memory caches within the ACPICA code. At the end of an ASLTS
818 run, these memory statistics are recorded and stored in a log file.
820 Debugger (user-space version): Implemented a simple "Background" command.
821 Creates a new thread to execute a control method in the background, while
822 control returns to the debugger prompt to allow additional commands.
823 Syntax: Background <Namepath> [Arguments]
825 ----------------------------------------
826 29 September 2017. Summary of changes for version 20170929:
829 1) ACPICA kernel-resident subsystem:
831 Redesigned and implemented an improved ASL While() loop timeout
832 mechanism. This mechanism is used to prevent infinite loops in the kernel
833 AML interpreter caused by either non-responsive hardware or incorrect AML
834 code. The new implementation uses AcpiOsGetTimer instead of a simple
835 maximum loop count, and is thus more accurate and constant across
836 different machines. The default timeout is currently 30 seconds, but this
837 may be adjusted later.
839 Renamed the ACPI_AML_INFINITE_LOOP exception to AE_AML_LOOP_TIMEOUT to
840 better reflect the new implementation of the loop timeout mechanism.
842 Updated the AcpiGetTimerDuration interface to cleanup the 64-bit support
843 and to fix an off-by-one error. Jung-uk Kim.
845 Fixed an EFI build problem by updating the makefiles to for a new file
846 that was added, utstrsuppt.c
849 2) iASL Compiler/Disassembler and Tools:
851 Implemented full support for the PDTT, SDEV, and TPM2 ACPI tables. This
852 includes support in the table disassembler, compiler, and template
855 iASL: Added an exception for an illegal type of recursive method
856 invocation. If a method creates named objects, the first recursive call
857 will fail at runtime. This change adds an error detection at compile time
858 to catch the problem up front. Note: Marking such a method as
859 "serialized" will not help with this problem, because the same thread can
860 acquire the method mutex more than once. Example compiler and runtime
870 Error 6152 - ^ Illegal recursive call to method
871 that creates named objects (MTH1)
873 Previous runtime exception:
874 ACPI Error: [INT1] Namespace lookup failure,
875 AE_ALREADY_EXISTS (20170831/dswload2-465)
877 iASL: Updated support for External() opcodes to improve namespace
878 management and error detection. These changes are related to issues seen
879 with multiple-segment namespace pathnames within External declarations,
882 External(\_SB.PCI0.GFX0, DeviceObj)
883 External(\_SB.PCI0.GFX0.ALSI)
885 iASL: Implemented support for multi-line error/warning messages. This
886 enables more detailed and helpful error messages as below, from the
887 initial deployment for the duplicate names error:
889 DSDT.iiii 1692: Device(PEG2) {
890 Error 6074 - ^ Name already exists in scope
893 Original name creation/declaration below:
894 DSDT.iiii 93: External(\_SB.PCI0.PEG2, DeviceObj)
896 AcpiXtract: Added additional flexibility to support differing input hex
897 dump formats. Specifically, hex dumps that contain partial disassembly
898 and/or comments within the ACPI table data definition. There exist some
899 dump utilities seen in the field that create this type of hex dump (such
900 as Simics). For example:
902 DSDT @ 0xdfffd0c0 (10999 bytes)
910 Creator_id 1280593481
911 Creator_revision 537399345
912 0000: 44 53 44 54 f7 2a 00 00 01 f3 42 58 50 43 00 00
914 2af0: 5f 4c 30 46 00 a4 01
916 Test suite: Miscellaneous changes/fixes:
917 More cleanup and simplification of makefiles
918 Continue compilation of test cases after a compile failure
919 Do not perform binary compare unless both files actually exist
921 iASL: Performed some code/module restructuring. Moved all memory
922 allocation functions to new modules. Two new files, aslallocate.c and
925 ----------------------------------------
926 31 August 2017. Summary of changes for version 20170831:
929 1) ACPICA kernel-resident subsystem:
931 Implemented internal support for full 64-bit addresses that appear in all
932 Generic Address Structure (GAS) structures. Previously, only the lower 32
933 bits were used. Affects the use of GAS structures in the FADT and other
934 tables, as well as the GAS structures passed to the AcpiRead and
935 AcpiWrite public external interfaces that are used by drivers. Lv Zheng.
937 Added header support for the PDTT ACPI table (Processor Debug Trigger
938 Table). Full support in the iASL Data Table Compiler and disassembler is
942 2) iASL Compiler/Disassembler and Tools:
944 iASL/Disassembler: Fixed a problem with the PPTT ACPI table (Processor
945 Properties Topology Table) where a flag bit was specified in the wrong
946 bit position ("Line Size Valid", bit 6).
948 iASL: Implemented support for Octal integer constants as defined by the
949 ASL language grammar, per the ACPI specification. Any integer constant
950 that starts with a zero is an octal constant. For example,
951 Store (037777, Local0) /* Octal constant */
952 Store (0x3FFF, Local0) /* Hex equivalent */
953 Store (16383, Local0) /* Decimal equivalent */
955 iASL: Improved overflow detection for 64-bit string conversions during
956 compilation of integer constants. "Overflow" in this case means a string
957 that represents an integer that is too large to fit into a 64-bit value.
958 Any 64-bit constants within a 32-bit DSDT or SSDT are still truncated to
959 the low-order 32 bits with a warning, as previously implemented. Several
960 new exceptions are defined that indicate a 64-bit overflow, as well as
961 the base (radix) that was used during the attempted conversion. Examples:
962 Local0 = 0xAAAABBBBCCCCDDDDEEEEFFFF // AE_HEX_OVERFLOW
963 Local0 = 01111222233334444555566667777 // AE_OCTAL_OVERFLOW
964 Local0 = 11112222333344445555666677778888 // AE_DECIMAL_OVERFLOW
966 iASL: Added a warning for the case where a ResourceTemplate is declared
967 with no ResourceDescriptor entries (coded as "ResourceTemplate(){}"). In
968 this case, the resulting template is created with a single END_TAG
969 descriptor, which is essentially useless.
971 iASL: Expanded the -vw option (ignore specific warnings/remarks) to
972 include compilation error codes as well.
974 ----------------------------------------
975 28 July 2017. Summary of changes for version 20170728:
978 1) ACPICA kernel-resident subsystem:
980 Fixed a regression seen with small resource descriptors that could cause
981 an inadvertent AE_AML_NO_RESOURCE_END_TAG exception.
983 AML interpreter: Implemented a new feature that allows forward references
984 from individual named references within package objects that are
985 contained within blocks of "module-level code". This provides
986 compatibility with other ACPI implementations and supports existing
987 firmware that depends on this feature. Example:
990 If (ABCD) /* An If() at module-level */
992 Name (PKG1, Package()
994 INT1 /* Forward reference to object INT1
1000 AML Interpreter: Fixed a problem with the Alias() operator where aliases
1001 to some ASL objects were not handled properly. Objects affected are:
1002 Mutex, Event, and OperationRegion.
1004 AML Debugger: Enhanced to properly handle AML Alias objects. These
1005 objects have one level of indirection which was not fully supported by
1008 Table Manager: Added support to detect and ignore duplicate SSDTs within
1009 the XSDT/RSDT. This error in the XSDT has been seen in the field.
1011 EFI and EDK2 support:
1012 Enabled /WX flag for MSVC builds
1013 Added support for AcpiOsStall, AcpiOsSleep, and AcpiOsGetTimer
1014 Added local support for 64-bit multiply and shift operations
1015 Added support to compile acpidump.efi on Windows
1016 Added OSL function stubs for interfaces not used under EFI
1018 Added additional support for the _DMA predefined name. _DMA returns a
1019 buffer containing a resource template. This change add support within the
1020 resource manager (AcpiWalkResourceBuffer) to walk and parse this list of
1021 resource descriptors. Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1024 2) iASL Compiler/Disassembler and Tools:
1026 iASL: Fixed a problem where the internal input line buffer(s) could
1027 overflow if there are very long lines in the input ASL source code file.
1028 Implemented buffer management that automatically increases the size of
1029 the buffers as necessary.
1031 iASL: Added an option (-vx) to "expect" particular remarks, warnings and
1032 errors. If the specified exception is not raised during compilation, the
1033 compiler emits an error. This is intended to support the ASL test suite,
1034 but may be useful in other contexts.
1036 iASL: Implemented a new predefined macro, __METHOD__, which returns a
1037 string containing the name of the current control method that is being
1040 iASL: Implemented debugger and table compiler support for the SDEI ACPI
1041 table (Software Delegated Exception Interface). James Morse
1042 <james.morse@arm.com>
1044 Unix/Linux makefiles: Added an option to disable compile optimizations.
1045 The disable occurs when the NOOPT flag is set to TRUE.
1046 theracermaster@gmail.com
1048 Acpidump: Added support for multiple DSDT and FACS tables. This can occur
1049 when there are different tables for 32-bit versus 64-bit.
1051 Enhanced error reporting for the ASL test suite (ASLTS) by removing
1052 unnecessary/verbose text, and emit the actual line number where an error
1053 has occurred. These changes are intended to improve the usefulness of the
1056 ----------------------------------------
1057 29 June 2017. Summary of changes for version 20170629:
1060 1) ACPICA kernel-resident subsystem:
1062 Tables: Implemented a deferred ACPI table verification. This is useful
1063 for operating systems where the tables cannot be verified in the early
1064 initialization stage due to early memory mapping limitations on some
1065 architectures. Lv Zheng.
1067 Tables: Removed the signature validation for dynamically loaded tables.
1068 Provides compatibility with other ACPI implementations. Previously, only
1069 SSDT tables were allowed, as per the ACPI specification. Now, any table
1070 signature can be used via the Load() operator. Lv Zheng.
1072 Tables: Fixed several mutex issues that could cause errors during table
1073 acquisition. Lv Zheng.
1075 Tables: Fixed a problem where an ACPI warning could be generated if a
1076 null pointer was passed to the AcpiPutTable interface. Lv Zheng.
1078 Tables: Added a mechanism to handle imbalances for the AcpiGetTable and
1079 AcpiPutTable interfaces. This applies to the "late stage" table loading
1080 when the use of AcpiPutTable is no longer required (since the system
1081 memory manager is fully running and available). Lv Zheng.
1083 Fixed/Reverted a regression during processing of resource descriptors
1084 that contain only a single EndTag. Fixes an AE_AML_NO_RESOURCE_END_TAG
1085 exception in this case.
1087 Headers: IORT/SMMU support: Updated the SMMU models for Revision C of the
1088 I/O Remapping specification. Robin Murphy <robin.murphy@arm.com>
1090 Interpreter: Fixed a possible fault if an Alias operator with an invalid
1091 or duplicate target is encountered during Alias creation in
1092 AcpiExCreateAlias. Alex James <theracermaster@gmail.com>
1094 Added an option to use designated initializers for function pointers.
1095 Kees Cook <keescook@google.com>
1098 2) iASL Compiler/Disassembler and Tools:
1100 iASL: Allow compilation of External declarations with target pathnames
1101 that refer to existing named objects within the table. Erik Schmauss.
1103 iASL: Fixed a regression when compiling FieldUnits. Fixes an error if a
1104 FieldUnit name also is declared via External in the same table. Erik
1107 iASL: Allow existing scope names within pathnames used in External
1108 statements. For example:
1109 External (ABCD.EFGH) // ABCD exists, but EFGH is truly external
1112 iASL: IORT ACPI table: Implemented changes required to decode the new
1113 Proximity Domain for the SMMUv3 IORT. Disassembler and Data Table
1114 compiler. Ganapatrao Kulkarni <ganapatrao.kulkarni@cavium.com>
1116 Disassembler: Don't abort disassembly on errors from External()
1117 statements. Erik Schmauss.
1119 Disassembler: fixed a possible fault when one of the Create*Field
1120 operators references a Resource Template. ACPICA Bugzilla 1396.
1122 iASL: In the source code, resolved some naming inconsistences across the
1123 parsing support. Fixes confusion between "Parse Op" and "Parse Node".
1124 Adds a new file, aslparseop.c
1126 ----------------------------------------
1127 31 May 2017. Summary of changes for version 20170531:
1130 0) ACPI 6.2 support:
1132 The ACPI specification version 6.2 has been released and is available at
1133 http://uefi.org/specifications
1135 This version of ACPICA fully supports the ACPI 6.2 specification. Changes
1136 are summarized below.
1138 New ACPI tables (Table Compiler/Disassembler/Templates):
1139 HMAT (Heterogeneous Memory Attributes Table)
1140 WSMT (Windows SMM Security Mitigation Table)
1141 PPTT (Processor Properties Topology Table)
1143 New subtables for existing ACPI tables:
1144 HEST (New subtable, Arch-deferred machine check)
1145 SRAT (New subtable, Arch-specific affinity structure)
1146 PCCT (New subtables, Extended PCC subspaces (types 3 and 4))
1148 Simple updates for existing ACPI tables:
1149 BGRT (two new flag bits)
1150 HEST (New bit defined for several subtables, GHES_ASSIST)
1152 New Resource Descriptors and Resource macros (Compiler/Disassembler):
1158 New type for hardware error notification (section 18.3.2.9)
1160 New predefined names/methods (Compiler/Interpreter):
1161 _HMA (Heterogeneous Memory Attributes)
1162 _LSI (Label Storage Information)
1163 _LSR (Label Storage Read)
1164 _LSW (Label Storage Write)
1166 ASL grammar/macro changes (Compiler):
1167 For() ASL macro, implemented with the AML while operator
1168 Extensions to Concatenate operator
1169 Support for multiple definition blocks in same ASL file
1170 Clarification for Buffer operator
1171 Allow executable AML code underneath all scopes (Devices, etc.)
1172 Clarification/change for the _OSI return value
1173 ASL grammar update for reference operators
1174 Allow a zero-length string for AML filename in DefinitionBlock
1177 New device object notification value
1178 Remove a notify value (0x0C) for graceful shutdown
1179 New UUIDs for processor/cache properties and
1180 physical package property
1181 New _HID, ACPI0014 (Wireless Power Calibration Device)
1184 1) ACPICA kernel-resident subsystem:
1186 Added support to disable ACPI events on hardware-reduced platforms.
1187 Eliminates error messages of the form "Could not enable fixed event". Lv
1190 Fixed a problem using Device/Thermal objects with the ObjectType and
1191 DerefOf ASL operators. This support had not been fully/properly
1194 Fixed a problem where if a Buffer object containing a resource template
1195 was longer than the actual resource template, an error was generated --
1196 even though the AML is legal. This case has been seen in the field.
1198 Fixed a problem with the header definition of the MADT PCAT_COMPAT flag.
1199 The values for DUAL_PIC and MULTIPLE_APIC were reversed.
1201 Added header file changes for the TPM2 ACPI table. Update to new version
1202 of the TCG specification. Adds a new TPM2 subtable for ARM SMC.
1204 Exported the external interfaces AcpiAcquireMutex and AcpiReleaseMutex.
1205 These interfaces are intended to be used only in conjunction with the
1206 predefined _DLM method (Device Lock Method). "This object appears in a
1207 device scope when AML access to the device must be synchronized with the
1210 Example Code and Data Size: These are the sizes for the OS-independent
1211 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1212 debug version of the code includes the debug output trace mechanism and
1213 has a much larger code and data size.
1216 Non-Debug Version: 143.1K Code, 60.0K Data, 203.1K Total
1217 Debug Version: 204.0K Code, 84.3K Data, 288.3K Total
1219 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1220 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
1223 2) iASL Compiler/Disassembler and Tools:
1225 iASL: Fixed a problem where an External() declaration could not refer to
1226 a Field Unit. Erik Schmauss.
1228 Disassembler: Improved support for the Switch/Case operators. This
1229 feature will disassemble AML code back to the original Switch operators
1230 when possible, instead of an If..Else sequence. David Box
1232 iASL and disassembler: Improved the handling of multiple extraneous
1233 parentheses for both ASL input and disassembled ASL output.
1235 Improved the behavior of the iASL compiler and disassembler to detect
1236 improper use of external declarations
1238 Disassembler: Now aborts immediately upon detection of an unknown AML
1239 opcode. The AML parser has no real way to recover from this, and can
1240 result in the creation of an ill-formed parse tree that causes errors
1241 later during the disassembly.
1243 All tools: Fixed a problem where the Unix application OSL did not handle
1244 control-c correctly. For example, a control-c could incorrectly wake the
1247 AcpiExec: Improved the Control-C handling and added a handler for
1248 segmentation faults (SIGSEGV). Supports both Windows and Unix-like
1251 Reduced the verbosity of the generic unix makefiles. Previously, each
1252 compilation displayed the full set of compiler options. This has been
1253 eliminated as the options are easily inspected within the makefiles. Each
1254 compilation now results in a single line of output.
1256 ----------------------------------------
1257 03 March 2017. Summary of changes for version 20170303:
1260 0) ACPICA licensing:
1262 The licensing information at the start of each source code module has
1263 been updated. In addition to the Intel license, the dual GPLv2/BSD
1264 license has been added for completeness. Now, a single version of the
1265 source code should be suitable for all ACPICA customers. This is the
1266 major change for this release since it affects all source code modules.
1269 1) ACPICA kernel-resident subsystem:
1271 Fixed two issues with the common asltypes.h header that could cause
1272 problems in some environments: (Kim Jung-uk)
1273 Removed typedef for YY_BUFFER_STATE ?
1274 Fixes an error with earlier versions of Flex.
1275 Removed use of FILE typedef (which is only defined in stdio.h)
1278 2) iASL Compiler/Disassembler and Tools:
1280 Disassembler: fixed a regression introduced in 20170224. A fix for a
1281 memory leak related to resource descriptor tags (names) could fault when
1282 the disassembler was generated with 64-bit compilers.
1284 The ASLTS test suite has been updated to implement a new testing
1285 architecture. During generation of the suite from ASL source, both the
1286 ASL and ASL+ compilers are now validated, as well as the disassembler
1287 itself (Erik Schmauss). The architecture executes as follows:
1289 For every ASL source module:
1290 Compile (legacy ASL compilation)
1291 Disassemble the resulting AML to ASL+ source code
1292 Compile the new ASL+ module
1293 Perform a binary compare on the legacy AML and the new ASL+ AML
1294 The ASLTS suite then executes normally using the AML binaries.
1296 ----------------------------------------
1297 24 February 2017. Summary of changes for version 20170224:
1300 1) ACPICA kernel-resident subsystem:
1302 Interpreter: Fixed two issues with the control method return value auto-
1303 repair feature, where an attempt to double-delete an internal object
1304 could result in an ACPICA warning (for _CID repair and others). No fault
1305 occurs, however, because the attempted deletion (actually a release to an
1306 internal cache) is detected and ignored via object poisoning.
1308 Debugger: Fixed an AML interpreter mutex issue during the single stepping
1309 of control methods. If certain debugger commands are executed during
1310 stepping, a mutex acquire/release error could occur. Lv Zheng.
1312 Fixed some issues generating ACPICA with the Intel C compiler by
1313 restoring the original behavior and compiler-specific include file in
1316 Example Code and Data Size: These are the sizes for the OS-independent
1317 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1318 debug version of the code includes the debug output trace mechanism and
1319 has a much larger code and data size.
1322 Non-Debug Version: 141.7K Code, 58.5K Data, 200.2K Total
1323 Debug Version: 207.5K Code, 82.7K Data, 290.2K Total
1325 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1326 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
1329 2) iASL Compiler/Disassembler and Tools:
1331 iASL/Disassembler: A preliminary version of a new ASL-to-ASL+ conversion
1332 tool has been designed, implemented, and included in this release. The
1333 key feature of this utility is that the original comments within the
1334 input ASL file are preserved during the conversion process, and included
1335 within the converted ASL+ file -- thus creating a transparent conversion
1336 of existing ASL files to ASL+ (ASL 2.0). Erik Schmauss.
1338 Usage: iasl -ca <ASL-filename> // Output is a .dsl file with
1341 iASL/Disassembler: Improved the detection and correct disassembly of
1342 Switch/Case operators. This feature detects sequences of if/elseif/else
1343 operators that originated from ASL Switch/Case/Default operators and
1344 emits the original operators. David Box.
1346 iASL: Improved the IORT ACPI table support in the following areas. Lv
1348 Clear MappingOffset if the MappingCount is zero.
1349 Fix the disassembly of the SMMU GSU interrupt offset.
1350 Update the template file for the IORT table.
1352 Disassembler: Enhanced the detection and disassembly of resource
1353 template/descriptor within a Buffer object. An EndTag descriptor is now
1354 required to have a zero second byte, since all known ASL compilers emit
1355 this. This helps eliminate incorrect decisions when a buffer is
1356 disassembled (false positives on resource templates).
1358 ----------------------------------------
1359 19 January 2017. Summary of changes for version 20170119:
1362 1) General ACPICA software:
1364 Entire source code base: Added the 2017 copyright to all source code
1365 legal/licensing module headers and utility/tool signons. This includes
1366 the standard Linux dual-license header. This affects virtually every file
1367 in the ACPICA core subsystem, iASL compiler, all ACPICA utilities, and
1368 the ACPICA test suite.
1371 2) iASL Compiler/Disassembler and Tools:
1373 iASL: Removed/fixed an inadvertent remark when a method argument
1374 containing a reference is used as a target operand within the method (and
1375 never used as a simple argument), as in the example below. Jeffrey Hugo.
1377 dsdt.asl 1507: Store(0x1, Arg0)
1378 Remark 2146 - ^ Method Argument is never used (Arg0)
1380 All tools: Removed the bit width of the compiler that generated the tool
1381 from the common signon for all user space tools. This proved to be
1382 confusing and unnecessary. This includes similar removal of HARDWARE_NAME
1383 from the generic makefiles (Thomas Petazzoni). Example below.
1386 ASL+ Optimizing Compiler version 20170119-32
1387 ASL+ Optimizing Compiler version 20170119-64
1390 ASL+ Optimizing Compiler version 20170119
1392 ----------------------------------------
1393 22 December 2016. Summary of changes for version 20161222:
1396 1) ACPICA kernel-resident subsystem:
1398 AML Debugger: Implemented a new mechanism to simplify and enhance
1399 debugger integration into all environments, including kernel debuggers
1400 and user-space utilities, as well as remote debug services. This
1401 mechanism essentially consists of new OSL interfaces to support debugger
1402 initialization/termination, as well as wait/notify interfaces to perform
1403 the debugger handshake with the host. Lv Zheng.
1406 AcpiOsInitializeDebugger (void)
1407 AcpiOsTerminateDebugger (void)
1408 AcpiOsWaitCommandReady (void)
1409 AcpiOsNotifyCommandComplete (void)
1411 New OS services layer:
1412 osgendbg.c -- Example implementation, and used for AcpiExec
1414 Update for Generic Address Space (GAS) support: Although the AccessWidth
1415 and/or BitOffset fields of the GAS are not often used, this change now
1416 fully supports these fields. This affects the internal support for FADT
1417 registers, registers in other ACPI data tables, and the AcpiRead and
1418 AcpiWrite public interfaces. Lv Zheng.
1420 Sleep support: In order to simplify integration of ACPI sleep for the
1421 various host operating systems, a new OSL interface has been introduced.
1422 AcpiOsEnterSleep allows the host to perform any required operations
1423 before the final write to the sleep control register(s) is performed by
1427 AcpiOsEnterSleep(SleepState, RegisterAValue, RegisterBValue)
1429 Called from these internal interfaces:
1433 EFI support: Added a very small EFI/ACPICA example application. Provides
1434 a simple demo for EFI integration, as well as assisting with resolution
1435 of issues related to customer ACPICA/EFI integration. Lv Zheng. See:
1437 source/tools/efihello/efihello.c
1439 Local C library: Implemented several new functions to enhance ACPICA
1440 portability, for environments where these clib functions are not
1441 available (such as EFI). Lv Zheng:
1448 Fixed a regression where occasionally a valid resource descriptor was
1449 incorrectly detected as invalid at runtime, and a
1450 AE_AML_NO_RESOURCE_END_TAG was returned.
1452 Fixed a problem with the recently implemented support that enables
1453 control method invocations as Target operands to many ASL operators.
1454 Warnings of this form: "Needed type [Reference], found [Processor]" were
1455 seen at runtime for some method invocations.
1457 Example Code and Data Size: These are the sizes for the OS-independent
1458 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1459 debug version of the code includes the debug output trace mechanism and
1460 has a much larger code and data size.
1463 Non-Debug Version: 141.5K Code, 58.5K Data, 200.0K Total
1464 Debug Version: 201.7K Code, 82.7K Data, 284.4K Total
1466 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1467 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
1470 2) iASL Compiler/Disassembler and Tools:
1472 Disassembler: Enhanced output by adding the capability to detect and
1473 disassemble ASL Switch/Case statements back to the original ASL source
1474 code instead of if/else blocks. David Box.
1476 AcpiHelp: Split a large file into separate files based upon
1477 functionality/purpose. New files are:
1481 ----------------------------------------
1482 17 November 2016. Summary of changes for version 20161117:
1485 1) ACPICA kernel-resident subsystem:
1487 Table Manager: Fixed a regression introduced in 20160729, "FADT support
1488 cleanup". This was an attempt to remove all references in the source to
1489 the FADT version 2, which never was a legal version number. It was
1490 skipped because it was an early version of 64-bit support that was
1491 eventually abandoned for the current 64-bit support.
1493 Interpreter: Fixed a problem where runtime implicit conversion was
1494 incorrectly disabled for the ASL operators below. This brings the
1495 behavior into compliance with the ACPI specification:
1503 Table Manager: Added a new public interface, AcpiPutTable, used to
1504 release and free an ACPI table returned by AcpiGetTable and related
1505 interfaces. Lv Zheng.
1507 Example Code and Data Size: These are the sizes for the OS-independent
1508 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1509 debug version of the code includes the debug output trace mechanism and
1510 has a much larger code and data size.
1513 Non-Debug Version: 140.5K Code, 58.5K Data, 198.9K Total
1514 Debug Version: 201.3K Code, 82.7K Data, 284.0K Total
1516 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1517 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
1520 2) iASL Compiler/Disassembler and Tools:
1522 Disassembler: Fixed a regression for disassembly of Resource Template.
1523 Detection of templates in the AML stream missed some types of templates.
1525 iASL: Fixed a problem where an Access Size error was returned for the PCC
1526 address space when the AccessSize of the GAS register is greater than a
1529 iASL: Implemented several grammar changes for the operators below. These
1530 changes are slated for the next version of the ACPI specification:
1531 RefOf - Disallow method invocation as an operand
1532 CondRefOf - Disallow method invocation as an operand
1533 DerefOf - Disallow operands that use the result from operators
1535 do not return a reference (Changed TermArg to
1538 iASL: Control method invocations are now allowed for Target operands, as
1539 per the ACPI specification. Removed error for using a control method
1540 invocation as a Target operand.
1542 Disassembler: Improved detection of Resource Templates, Unicode, and
1543 Strings within Buffer objects. These subtypes do not contain a specific
1544 opcode to indicate the originating ASL code, and they must be detected by
1545 other means within the disassembler.
1547 iASL: Implemented an optimization improvement for 32-bit ACPI tables
1548 (DSDT/SSDT). For the 32-bit case only, compute the optimum integer opcode
1549 only after 64-bit to 32-bit truncation. A truncation warning message is
1550 still emitted, however.
1552 AcpiXtract: Implemented handling for both types of line terminators (LF
1553 or CR/LF) so that it can accept AcpiDump output files from any system.
1556 AcpiBin: Added two new options for comparing AML files:
1557 -a: compare and display ALL mismatches
1558 -o: start compare at this offset into the second file
1560 ----------------------------------------
1561 30 September 2016. Summary of changes for version 20160930:
1564 1) ACPICA kernel-resident subsystem:
1566 Fixed a regression in the internal AcpiTbFindTable function where a non
1567 AE_OK exception could inadvertently be returned even if the function did
1568 not fail. This problem affects the following operators:
1572 Fixed a regression in the LoadTable operator where a load to any
1573 namespace location other than the root no longer worked properly.
1575 Increased the maximum loop count value that will result in the
1576 AE_AML_INFINITE_LOOP exception. This is a mechanism that is intended to
1577 prevent infinite loops within the AML interpreter and thus the host OS
1578 kernel. The value is increased from 0xFFFF to 0xFFFFF loops (65,535 to
1581 Moved the AcpiGbl_MaxLoopIterations configuration variable to the public
1582 acpixf.h file. This allows hosts to easily configure the maximum loop
1585 Removed an illegal character in the strtoul64.c file. This character
1586 caused errors with some C compilers.
1588 Example Code and Data Size: These are the sizes for the OS-independent
1589 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1590 debug version of the code includes the debug output trace mechanism and
1591 has a much larger code and data size.
1594 Non-Debug Version: 140.4K Code, 58.1K Data, 198.5K Total
1595 Debug Version: 200.7K Code, 82.1K Data, 282.8K Total
1597 Non-Debug Version: 140.0K Code, 58.1K Data, 198.1K Total
1598 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
1601 2) iASL Compiler/Disassembler and Tools:
1603 Disassembler: Fixed a problem with the conversion of Else{If{ blocks into
1604 the simpler ASL ElseIf keyword. During the conversion, a trailing If
1605 block could be lost and missing from the disassembled output.
1607 iASL: Fixed a missing parser rule for the ObjectType operator. For ASL+,
1608 the missing rule caused a parse error when using the Index operator as an
1609 operand to ObjectType. This construct now compiles properly. Example:
1610 ObjectType(PKG1[4]).
1612 iASL: Correctly handle unresolved symbols in the hardware map file (-lm
1613 option). Previously, unresolved symbols could cause a protection fault.
1614 Such symbols are now marked as unresolved in the map file.
1616 iASL: Implemented support to allow control method invocations as an
1617 operand to the ASL DeRefOf operator. Example:
1618 DeRefOf(MTH1(Local0))
1620 Disassembler: Improved support for the ToPLD ASL macro. Detection of a
1621 possible _PLD buffer now includes examination of both the normal buffer
1622 length (16 or 20) as well as the surrounding AML package length.
1624 Disassembler: Fixed a problem with the decoding of complex expressions
1625 within the Divide operator for ASL+. For the case where both the quotient
1626 and remainder targets are specified, the entire statement cannot be
1627 disassembled. Previously, the output incorrectly contained a mix of ASL-
1628 and ASL+ operators. This mixed statement causes a syntax error when
1630 Divide (Add (INT1, 6), 128, RSLT, QUOT) // was incorrectly
1632 Divide (INT1 + 6, 128, RSLT, QUOT)
1634 iASL/Tools: Added support to process AML and non-AML ACPI tables
1635 consistently. For the disassembler and AcpiExec, allow all types of ACPI
1636 tables (AML and data tables). For the iASL -e option, allow only AML
1639 ----------------------------------------
1640 31 August 2016. Summary of changes for version 20160831:
1643 1) ACPICA kernel-resident subsystem:
1645 Improve support for the so-called "module-level code", which is defined
1646 to be math, logical and control AML opcodes that appear outside of any
1647 control method. This change improves the support by adding more opcodes
1648 that can be executed in the manner. Some other issues have been solved,
1649 and the ASL grammar changes to support such code under all scope
1650 operators (Device, etc.) are complete. Lv Zheng.
1652 UEFI support: these OSL functions have been implemented. This is an
1653 additional step toward supporting the AcpiExec utility natively (with
1654 full hardware access) under UEFI. Marcelo Ferreira.
1655 AcpiOsReadPciConfiguration
1656 AcpiOsWritePciConfiguration
1658 Fixed a possible mutex error during control method auto-serialization. Lv
1661 Updated support for the Generic Address Structure by fully implementing
1662 all GAS fields when a 32-bit address is expanded to a 64-bit GAS. Lv
1665 Updated the return value for the internal _OSI method. Instead of
1666 0xFFFFFFFF, the "Ones" value is now returned, which is 0xFFFFFFFFFFFFFFFF
1667 for 64-bit ACPI tables. This fixes an incompatibility with other ACPI
1668 implementations, and will be reflected and clarified in the next version
1669 of the ACPI specification.
1671 Implemented two new table events that can be passed to an ACPICA table
1672 handler. These events are used to indicate a table installation or
1673 uninstallation. These events are used in addition to existed table load
1674 and unload events. Lv Zheng.
1676 Implemented a cleanup for all internal string-to-integer conversions.
1677 Consolidate multiple versions of this functionality and limit possible
1678 bases to either 10 or 16 to simplify the code. Adds a new file,
1681 Cleanup the inclusion order of the various compiler-specific headers.
1682 This simplifies build configuration management. The compiler-specific
1683 headers are now split out from the host-specific headers. Lv Zheng.
1685 Example Code and Data Size: These are the sizes for the OS-independent
1686 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1687 debug version of the code includes the debug output trace mechanism and
1688 has a much larger code and data size.
1691 Non-Debug Version: 140.1K Code, 58.1K Data, 198.1K Total
1692 Debug Version: 200.3K Code, 82.1K Data, 282.4K Total
1695 2) iASL Compiler/Disassembler and Tools:
1697 iASL/AcpiExec: Added a command line option to display the build date/time
1698 of the tool (-vd). This can be useful to verify that the correct version
1699 of the tools are being used.
1701 AML Debugger: Implemented a new subcommand ("execute predef") to execute
1702 all predefined control methods and names within the current namespace.
1703 This can be useful for debugging problems with ACPI tables and the ACPI
1706 ----------------------------------------
1707 29 July 2016. Summary of changes for version 20160729:
1710 1) ACPICA kernel-resident subsystem:
1712 Implemented basic UEFI support for the various ACPICA tools. This
1714 1) An OSL to implement the various AcpiOs* interfaces on UEFI.
1715 2) Support to obtain the ACPI tables on UEFI.
1716 3) Local implementation of required C library functions not available on
1718 4) A front-end (main) function for the tools for UEFI-related
1721 The initial deployment of this support is the AcpiDump utility executing
1722 as an UEFI application via EDK2 (EDKII, "UEFI Firmware Development Kit").
1723 Current environments supported are Linux/Unix. MSVC generation is not
1724 supported at this time. See the generate/efi/README file for build
1725 instructions. Lv Zheng.
1727 Future plans include porting the AcpiExec utility to execute natively on
1728 the platform with I/O and memory access. This will allow viewing/dump of
1729 the platform namespace and native execution of ACPI control methods that
1730 access the actual hardware. To fully implement this support, the OSL
1731 functions below must be implemented with UEFI interfaces. Any community
1732 help in the implementation of these functions would be appreciated:
1737 AcpiOsReadPciConfiguration
1738 AcpiOsWritePciConfiguration
1740 Restructured and standardized the C library configuration for ACPICA,
1741 resulting in the various configuration options below. This includes a
1742 global restructuring of the compiler-dependent and platform-dependent
1743 include files. These changes may affect the existing platform-dependent
1744 configuration files on some hosts. Lv Zheng.
1746 The current C library configuration options appear below. For any issues,
1747 it may be helpful to examine the existing compiler-dependent and
1748 platform-dependent files as examples. Lv Zheng.
1751 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
1753 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1754 2) Unix/Windows/BSD applications:
1755 ACPI_USE_STANDARD_HEADERS=y in order to use system-provided C
1757 ACPI_USE_SYSTEM_CLIBRARY=y in order not to use ACPICA mini C library.
1758 3) UEFI applications:
1759 ACPI_USE_STANDARD_HEADERS=n in order not to use system-provided C
1761 ACPI_USE_SYSTEM_CLIBRARY=n in order to use ACPICA mini C library.
1762 4) UEFI applications (EDK2/StdLib):
1763 ACPI_USE_STANDARD_HEADERS=y in order to use EDK2 StdLib C library.
1764 ACPI_USE_SYSTEM_CLIBRARY=y in order to use EDK2 StdLib C library.
1767 AML interpreter: "module-level code" support. Allows for execution of so-
1768 called "executable" AML code (math/logical operations, etc.) outside of
1769 control methods not just at the module level (top level) but also within
1770 any scope declared outside of a control method - Scope{}, Device{},
1771 Processor{}, PowerResource{}, and ThermalZone{}. Lv Zheng.
1773 Simplified the configuration of the "maximum AML loops" global option by
1774 adding a global public variable, "AcpiGbl_MaxLoopIterations" which can be
1775 modified at runtime.
1778 Example Code and Data Size: These are the sizes for the OS-independent
1779 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1780 debug version of the code includes the debug output trace mechanism and
1781 has a much larger code and data size.
1784 Non-Debug Version: 139.1K Code, 22.9K Data, 162.0K Total
1785 Debug Version: 199.0K Code, 81.8K Data, 280.8K Total
1788 2) iASL Compiler/Disassembler and Tools:
1790 iASL: Add full support for the RASF ACPI table (RAS Features Table).
1791 Includes disassembler, data table compiler, and header support.
1793 iASL Expand "module-level code" support. Allows for
1794 compilation/disassembly of so-called "executable" AML code (math/logical
1795 operations, etc.) outside of control methods not just at the module level
1796 (top level) but also within any scope declared outside of a control
1797 method - Scope{}, Device{}, Processor{}, PowerResource{}, and
1800 AcpiDump: Added support for dumping all SSDTs on newer versions of
1801 Windows. These tables are now easily available -- SSDTs are not available
1802 through the registry on older versions.
1804 ----------------------------------------
1805 27 May 2016. Summary of changes for version 20160527:
1808 1) ACPICA kernel-resident subsystem:
1810 Temporarily reverted the new arbitrary bit length/alignment support in
1811 AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
1812 a number of regressions with the new code that need to be fully resolved
1813 and tested before this support can be finally integrated into ACPICA.
1814 Apologies for any inconveniences these issues may have caused.
1816 The ACPI message macros are not configurable (ACPI_MSG_ERROR,
1817 ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
1818 and ACPI_MSG_BIOS_WARNING). Lv Zheng.
1820 Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
1821 option. Adds a new return macro, return_STR. Junk-uk Kim.
1823 Example Code and Data Size: These are the sizes for the OS-independent
1824 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1825 debug version of the code includes the debug output trace mechanism and
1826 has a much larger code and data size.
1829 Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
1830 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
1832 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1833 Debug Version: 200.9K Code, 82.2K Data, 283.1K Total
1835 ----------------------------------------
1836 22 April 2016. Summary of changes for version 20160422:
1838 1) ACPICA kernel-resident subsystem:
1840 Fixed a regression in the GAS (generic address structure) arbitrary bit
1841 support in AcpiHwRead/AcpiHwWrite. Problem could cause incorrect behavior
1842 and incorrect return values. Lv Zheng. ACPICA BZ 1270.
1844 ACPI 6.0: Added support for new/renamed resource macros. One new argument
1845 was added to each of these macros, and the original name has been
1846 deprecated. The AML disassembler will always disassemble to the new
1847 names. Support for the new macros was added to iASL, disassembler,
1848 resource manager, and the acpihelp utility. ACPICA BZ 1274.
1850 I2cSerialBus -> I2cSerialBusV2
1851 SpiSerialBus -> SpiSerialBusV2
1852 UartSerialBus -> UartSerialBusV2
1854 ACPI 6.0: Added support for a new integer field that was appended to the
1855 package object returned by the _BIX method. This adds iASL compile-time
1856 and AML runtime error checking. ACPICA BZ 1273.
1858 ACPI 6.1: Added support for a new PCCT subtable, "HW-Reduced Comm
1859 Subspace Type2" (Headers, Disassembler, and data table compiler).
1861 Example Code and Data Size: These are the sizes for the OS-independent
1862 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1863 debug version of the code includes the debug output trace mechanism and
1864 has a much larger code and data size.
1867 Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
1868 Debug Version: 201.5K Code, 82.2K Data, 283.7K Total
1870 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1871 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
1874 2) iASL Compiler/Disassembler and Tools:
1876 iASL: Implemented an ASL grammar extension to allow/enable executable
1877 "module-level code" to be created and executed under the various
1878 operators that create new scopes. This type of AML code is already
1879 supported in all known AML interpreters, and the grammar change will
1880 appear in the next version of the ACPI specification. Simplifies the
1881 conditional runtime creation of named objects under these object types:
1889 iASL: Implemented a new ASL extension, a "For" loop macro to add greater
1890 ease-of-use to the ASL language. The syntax is similar to the
1891 corresponding C operator, and is implemented with the existing AML While
1892 opcode -- thus requiring no changes to existing AML interpreters.
1894 For (Initialize, Predicate, Update) {TermList}
1899 Initializer // Nothing | TermArg => ComputationalData
1900 Predicate // Nothing | TermArg => ComputationalData
1901 Update // Nothing | TermArg => ComputationalData
1905 iASL: The _HID/_ADR detection and validation has been enhanced to search
1906 under conditionals in order to allow these objects to be conditionally
1909 iASL: Fixed several issues with the constant folding feature. The
1910 improvement allows better detection and resolution of statements that can
1911 be folded at compile time. ACPICA BZ 1266.
1913 iASL/Disassembler: Fixed a couple issues with the Else{If{}...}
1914 conversion to the ASL ElseIf operator where incorrect ASL code could be
1917 iASL/Disassembler: Fixed a problem with the ASL+ code disassembly where
1918 sometimes an extra (and extraneous) set of parentheses were emitted for
1919 some combinations of operators. Although this did not cause any problems
1920 with recompilation of the disassembled code, it made the code more
1921 difficult to read. David Box. ACPICA BZ 1231.
1923 iASL: Changed to ignore the unreferenced detection for predefined names
1924 of resource descriptor elements, when the resource descriptor is
1925 created/defined within a control method.
1927 iASL: Disassembler: Fix a possible fault with externally declared Buffer
1930 ----------------------------------------
1931 18 March 2016. Summary of changes for version 20160318:
1933 1) ACPICA kernel-resident subsystem:
1935 Added support for arbitrary bit lengths and bit offsets for registers
1936 defined by the Generic Address Structure. Previously, only aligned bit
1937 lengths of 8/16/32/64 were supported. This was sufficient for many years,
1938 but recently some machines have been seen that require arbitrary bit-
1939 level support. ACPICA BZ 1240. Lv Zheng.
1941 Fixed an issue where the \_SB._INI method sometimes must be evaluated
1942 before any _REG methods are evaluated. Lv Zheng.
1944 Implemented several changes related to ACPI table support
1945 (Headers/Disassembler/TableCompiler):
1946 NFIT: For ACPI 6.1, updated to add some additional new fields and
1948 FADT: Updated a warning message and set compliance to ACPI 6.1 (Version
1950 DMAR: Added new constants per the 10/2014 DMAR spec.
1951 IORT: Added new subtable per the 10/2015 IORT spec.
1952 HEST: For ACPI 6.1, added new constants and new subtable.
1953 DBG2: Added new constants per the 12/2015 DBG2 spec.
1954 FPDT: Fixed several incorrect fields, add the FPDT boot record structure.
1956 ERST/EINJ: Updated disassembler with new "Execute Timings" actions.
1958 Updated header support for the DMAR table to match the current version of
1961 Added extensions to the ASL Concatenate operator to allow any ACPI object
1962 to be passed as an operand. Any object other than Integer/String/Buffer
1963 simply returns a string containing the object type. This extends the
1964 usefulness of the Printf macros. Previously, Concatenate would abort the
1965 control method if a non-data object was encountered.
1967 ACPICA source code: Deployed the C "const" keyword across the source code
1968 where appropriate. ACPICA BZ 732. Joerg Sonnenberger (NetBSD).
1970 Example Code and Data Size: These are the sizes for the OS-independent
1971 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1972 debug version of the code includes the debug output trace mechanism and
1973 has a much larger code and data size.
1976 Non-Debug Version: 137.1K Code, 51.5K Data, 188.6K Total
1977 Debug Version: 201.0K Code, 82.0K Data, 283.0K Total
1979 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
1980 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
1983 2) iASL Compiler/Disassembler and Tools:
1985 iASL/Disassembler: Improved the heuristic used to determine the number of
1986 arguments for an externally defined control method (a method in another
1987 table). Although this is an improvement, there is no deterministic way to
1988 "guess" the number of method arguments. Only the ACPI 6.0 External opcode
1989 will completely solve this problem as it is deployed (automatically) in
1992 iASL/Disassembler: Fixed an ordering issue for emitted External() ASL
1993 statements that could cause errors when the disassembled file is
1994 compiled. ACPICA BZ 1243. David Box.
1996 iASL: Fixed a regression caused by the merger of the two versions of the
1997 local strtoul64. Because of a dependency on a global variable, strtoul64
1998 could return an error for integers greater than a 32-bit value. ACPICA BZ
2001 iASL: Fixed a regression where a fault could occur for an ASL Return
2002 statement if it invokes a control method that is not resolved. ACPICA BZ
2005 AcpiXtract: Improved input file validation: detection of binary files and
2006 non-acpidump text files.
2008 ----------------------------------------
2009 12 February 2016. Summary of changes for version 20160212:
2011 1) ACPICA kernel-resident subsystem:
2013 Implemented full support for the ACPI 6.1 specification (released in
2014 January). This version of the specification is available at:
2015 http://www.uefi.org/specifications
2017 Only a relatively small number of changes were required in ACPICA to
2018 support ACPI 6.1, in these areas:
2019 - New predefined names
2021 - A new subtable for HEST
2022 - A few other header changes for new values
2024 Ensure \_SB_._INI is executed before any _REG methods are executed. There
2025 appears to be existing BIOS code that relies on this behavior. Lv Zheng.
2027 Reverted a change made in version 20151218 which enabled method
2028 invocations to be targets of various ASL operators (SuperName and Target
2029 grammar elements). While the new behavior is supported by the ACPI
2030 specification, other AML interpreters do not support this behavior and
2031 never will. The ACPI specification will be updated for ACPI 6.2 to remove
2032 this support. Therefore, the change was reverted to the original ACPICA
2035 ACPICA now supports the GCC 6 compiler.
2037 Current Release: (Note: build changes increased sizes)
2038 Non-Debug Version: 136.2K Code, 51.5K Data, 187.7K Total
2039 Debug Version: 200.4K Code, 82.0K Data, 282.4K Total
2041 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2042 Debug Version: 200.4K Code, 81.9K Data, 282.3K Total
2045 2) iASL Compiler/Disassembler and Tools:
2047 Completed full support for the ACPI 6.0 External() AML opcode. The
2048 compiler emits an external AML opcode for each ASL External statement.
2049 This opcode is used by the disassembler to assist with the disassembly of
2050 external control methods by specifying the required number of arguments
2051 for the method. AML interpreters do not use this opcode. To ensure that
2052 interpreters do not even see the opcode, a block of one or more external
2053 opcodes is surrounded by an "If(0)" construct. As this feature becomes
2054 commonly deployed in BIOS code, the ability of disassemblers to correctly
2055 disassemble AML code will be greatly improved. David Box.
2057 iASL: Implemented support for an optional cross-reference output file.
2058 The -lx option will create a the cross-reference file with the suffix
2059 "xrf". Three different types of cross-reference are created in this file:
2060 - List of object references made from within each control method
2061 - Invocation (caller) list for each user-defined control method
2062 - List of references to each non-method object in the namespace
2064 iASL: Method invocations as ASL Target operands are now disallowed and
2065 flagged as errors in preparation for ACPI 6.2 (see the description of the
2068 ----------------------------------------
2069 8 January 2016. Summary of changes for version 20160108:
2071 1) ACPICA kernel-resident subsystem:
2073 Updated all ACPICA copyrights and signons to 2016: Added the 2016
2074 copyright to all source code module headers and utility/tool signons.
2075 This includes the standard Linux dual-license header. This affects
2076 virtually every file in the ACPICA core subsystem, iASL compiler, all
2077 ACPICA utilities, and the ACPICA test suite.
2079 Fixed a regression introduced in version 20151218 concerning the
2080 execution of so-called module-level ASL/AML code. Namespace objects
2081 created under a module-level If() construct were not properly/fully
2082 entered into the namespace and could cause an interpreter fault when
2085 Example Code and Data Size: These are the sizes for the OS-independent
2086 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2087 debug version of the code includes the debug output trace mechanism and
2088 has a much larger code and data size.
2091 Non-Debug Version: 102.7K Code, 28.4K Data, 131.1K Total
2092 Debug Version: 200.4K Code, 81.9K Data, 282.4K Total
2094 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2095 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
2098 2) iASL Compiler/Disassembler and Tools:
2100 Fixed a problem with the compilation of the GpioIo and GpioInt resource
2101 descriptors. The _PIN field name was incorrectly defined to be an array
2102 of 32-bit values, but the _PIN values are in fact 16 bits each. This
2103 would cause incorrect bit width warnings when using Word (16-bit) fields
2104 to access the descriptors.
2107 ----------------------------------------
2108 18 December 2015. Summary of changes for version 20151218:
2110 1) ACPICA kernel-resident subsystem:
2112 Implemented per-AML-table execution of "module-level code" as individual
2113 ACPI tables are loaded into the namespace during ACPICA initialization.
2114 In other words, any module-level code within an AML table is executed
2115 immediately after the table is loaded, instead of batched and executed
2116 after all of the tables have been loaded. This provides compatibility
2117 with other ACPI implementations. ACPICA BZ 1219. Bob Moore, Lv Zheng,
2120 To fully support the feature above, the default operation region handlers
2121 for the SystemMemory, SystemIO, and PCI_Config address spaces are now
2122 installed before any ACPI tables are loaded. This enables module-level
2123 code to access these address spaces during the table load and module-
2124 level code execution phase. ACPICA BZ 1220. Bob Moore, Lv Zheng, David
2127 Implemented several changes to the internal _REG support in conjunction
2128 with the changes above. Also, changes to the AcpiExec/AcpiNames/Examples
2129 utilities for the changes above. Although these tools were changed, host
2130 operating systems that simply use the default handlers for SystemMemory,
2131 SystemIO, and PCI_Config spaces should not require any update. Lv Zheng.
2133 For example, in the code below, DEV1 is conditionally added to the
2134 namespace by the DSDT via module-level code that accesses an operation
2135 region. The SSDT references DEV1 via the Scope operator. DEV1 must be
2136 created immediately after the DSDT is loaded in order for the SSDT to
2137 successfully reference DEV1. Previously, this code would cause an
2138 AE_NOT_EXIST exception during the load of the SSDT. Now, this code is
2139 fully supported by ACPICA.
2141 DefinitionBlock ("", "DSDT", 2, "Intel", "DSDT1", 1)
2143 OperationRegion (OPR1, SystemMemory, 0x400, 32)
2144 Field (OPR1, AnyAcc, NoLock, Preserve)
2155 DefinitionBlock ("", "SSDT", 2, "Intel", "SSDT1", 1)
2157 External (\DEV1, DeviceObj)
2163 Fixed an AML interpreter problem where control method invocations were
2164 not handled correctly when the invocation was itself a SuperName argument
2165 to another ASL operator. In these cases, the method was not invoked.
2166 ACPICA BZ 1002. Affects the following ASL operators that have a SuperName
2171 Decrement, Increment
2174 Signal, Release, Reset
2177 Implemented automatic String-to-ObjectReference conversion support for
2178 packages returned by predefined names (such as _DEP). A common BIOS error
2179 is to add double quotes around an ObjectReference namepath, which turns
2180 the reference into an unexpected string object. This support detects the
2181 problem and corrects it before the package is returned to the caller that
2182 invoked the method. Lv Zheng.
2184 Implemented extensions to the Concatenate operator. Concatenate now
2185 accepts any type of object, it is not restricted to simply
2186 Integer/String/Buffer. For objects other than these 3 basic data types,
2187 the argument is treated as a string containing the name of the object
2188 type. This expands the utility of Concatenate and the Printf/Fprintf
2189 macros. ACPICA BZ 1222.
2191 Cleaned up the output of the ASL Debug object. The timer() value is now
2192 optional and no longer emitted by default. Also, the basic data types of
2193 Integer/String/Buffer are simply emitted as their values, without a data
2194 type string -- since the data type is obvious from the output. ACPICA BZ
2197 Example Code and Data Size: These are the sizes for the OS-independent
2198 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2199 debug version of the code includes the debug output trace mechanism and
2200 has a much larger code and data size.
2203 Non-Debug Version: 102.6K Code, 28.4K Data, 131.0K Total
2204 Debug Version: 200.3K Code, 81.9K Data, 282.3K Total
2206 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2207 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
2210 2) iASL Compiler/Disassembler and Tools:
2212 iASL: Fixed some issues with the ASL Include() operator. This operator
2213 was incorrectly defined in the iASL parser rules, causing a new scope to
2214 be opened for the code within the include file. This could lead to
2215 several issues, including allowing ASL code that is technically illegal
2216 and not supported by AML interpreters. Note, this does not affect the
2217 related #include preprocessor operator. ACPICA BZ 1212.
2219 iASL/Disassembler: Implemented support for the ASL ElseIf operator. This
2220 operator is essentially an ASL macro since there is no AML opcode
2221 associated with it. The code emitted by the iASL compiler for ElseIf is
2222 an Else opcode followed immediately by an If opcode. The disassembler
2223 will now emit an ElseIf if it finds an Else immediately followed by an
2224 If. This simplifies the decoded ASL, especially for deeply nested
2225 If..Else and large Switch constructs. Thus, the disassembled code more
2226 closely follows the original source ASL. ACPICA BZ 1211. Example:
2238 ElseIf (Arg0 == 0x02)
2243 AcpiExec: Added support for the new module level code behavior and the
2244 early region installation. This required a small change to the
2245 initialization, since AcpiExec must install its own operation region
2248 AcpiExec: Added support to make the debug object timer optional. Default
2249 is timer disabled. This cleans up the debug object output -- the timer
2250 data is rarely used.
2252 AcpiExec: Multiple ACPI tables are now loaded in the order that they
2253 appear on the command line. This can be important when there are
2254 interdependencies/references between the tables.
2256 iASL/Templates. Add support to generate template files with multiple
2257 SSDTs within a single output file. Also added ommand line support to
2258 specify the number of SSDTs (in addition to a single DSDT). ACPICA BZ
2262 ----------------------------------------
2263 24 November 2015. Summary of changes for version 20151124:
2265 1) ACPICA kernel-resident subsystem:
2267 Fixed a possible regression for a previous update to FADT handling. The
2268 FADT no longer has a fixed table ID, causing some issues with code that
2269 was hardwired to a specific ID. Lv Zheng.
2271 Fixed a problem where the method auto-serialization could interfere with
2272 the current SyncLevel. This change makes the auto-serialization support
2273 transparent to the SyncLevel support and management.
2275 Removed support for the _SUB predefined name in AcpiGetObjectInfo. This
2276 interface is intended for early access to the namespace during the
2277 initial namespace device discovery walk. The _SUB method has been seen to
2278 access operation regions in some cases, causing errors because the
2279 operation regions are not fully initialized.
2281 AML Debugger: Fixed some issues with the terminate/quit/exit commands
2282 that can cause faults. Lv Zheng.
2284 AML Debugger: Add thread ID support so that single-step mode only applies
2285 to the AML Debugger thread. This prevents runtime errors within some
2288 Eliminated extraneous warnings from AcpiGetSleepTypeData. Since the _Sx
2289 methods that are invoked by this interface are optional, removed warnings
2290 emitted for the case where one or more of these methods do not exist.
2291 ACPICA BZ 1208, original change by Prarit Bhargava.
2293 Made a major pass through the entire ACPICA source code base to
2294 standardize formatting that has diverged a bit over time. There are no
2295 functional changes, but this will of course cause quite a few code
2296 differences from the previous ACPICA release.
2298 Example Code and Data Size: These are the sizes for the OS-independent
2299 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2300 debug version of the code includes the debug output trace mechanism and
2301 has a much larger code and data size.
2304 Non-Debug Version: 102.0K Code, 28.3K Data, 130.3K Total
2305 Debug Version: 199.6K Code, 81.8K Data, 281.4K Total
2307 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2308 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
2311 2) iASL Compiler/Disassembler and Tools:
2313 iASL/acpiexec/acpixtract/disassembler: Added support to allow multiple
2314 definition blocks within a single ASL file and the resulting AML file.
2315 Support for this type of file was also added to the various tools that
2316 use binary AML files: acpiexec, acpixtract, and the AML disassembler. The
2317 example code below shows two definition blocks within the same file:
2319 DefinitionBlock ("dsdt.aml", "DSDT", 2, "Intel", "Template",
2323 DefinitionBlock ("", "SSDT", 2, "Intel", "Template", 0xABCDEF01)
2327 iASL: Enhanced typechecking for the Name() operator. All expressions for
2328 the value of the named object must be reduced/folded to a single constant
2329 at compile time, as per the ACPI specification (the AML definition of
2332 iASL: Fixed some code indentation issues for the -ic and -ia options (C
2333 and assembly headers). Now all emitted code correctly begins in column 1.
2335 iASL: Added an error message for an attempt to open a Scope() on an
2336 object defined in an SSDT. The DSDT is always loaded into the namespace
2337 first, so any attempt to open a Scope on an SSDT object will fail at
2341 ----------------------------------------
2342 30 September 2015. Summary of changes for version 20150930:
2344 1) ACPICA kernel-resident subsystem:
2346 Debugger: Implemented several changes and bug fixes to assist support for
2347 the in-kernel version of the AML debugger. Lv Zheng.
2348 - Fix the "predefined" command for in-kernel debugger.
2349 - Do not enter debug command loop for the help and version commands.
2350 - Disallow "execute" command during execution/single-step of a method.
2352 Interpreter: Updated runtime typechecking for all operators that have
2353 target operands. The operand is resolved and validated that it is legal.
2354 For example, the target cannot be a non-data object such as a Device,
2355 Mutex, ThermalZone, etc., as per the ACPI specification.
2357 Debugger: Fixed the double-mutex user I/O handshake to work when local
2358 deadlock detection is enabled.
2360 Debugger: limited display of method locals and arguments (LocalX and
2361 ArgX) to only those that have actually been initialized. This prevents
2362 lines of extraneous output.
2364 Updated the definition of the NFIT table to correct the bit polarity of
2365 one flag: ACPI_NFIT_MEM_ARMED --> ACPI_NFIT_MEM_NOT_ARMED
2367 Example Code and Data Size: These are the sizes for the OS-independent
2368 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2369 debug version of the code includes the debug output trace mechanism and
2370 has a much larger code and data size.
2373 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2374 Debug Version: 199.3K Code, 81.4K Data, 280.7K Total
2376 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2377 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
2380 2) iASL Compiler/Disassembler and Tools:
2382 iASL: Improved the compile-time typechecking for operands of many of the
2385 -- Added an option to disable compiler operand/operator typechecking (-
2388 -- For the following operators, the TermArg operands are now validated
2389 when possible to be Integer data objects: BankField, OperationRegion,
2390 DataTableRegion, Buffer, and Package.
2392 -- Store (Source, Target): Both the source and target operands are
2393 resolved and checked that the operands are both legal. For example,
2394 neither operand can be a non-data object such as a Device, Mutex,
2395 ThermalZone, etc. Note, as per the ACPI specification, the CopyObject
2396 operator can be used to store an object to any type of target object.
2398 -- Store (Source, Target): If the source is a Package object, the target
2399 must be a Package object, LocalX, ArgX, or Debug. Likewise, if the target
2400 is a Package, the source must also be a Package.
2402 -- Store (Source, Target): A warning is issued if the source and target
2403 resolve to the identical named object.
2405 -- Store (Source, <method invocation>): An error is generated for the
2406 target method invocation, as this construct is not supported by the AML
2409 -- For all ASL math and logic operators, the target operand must be a
2410 data object (Integer, String, Buffer, LocalX, ArgX, or Debug). This
2411 includes the function return value also.
2413 -- External declarations are also included in the typechecking where
2414 possible. External objects defined using the UnknownObj keyword cannot be
2415 typechecked, however.
2417 iASL and Disassembler: Added symbolic (ASL+) support for the ASL Index
2419 - Legacy code: Index(PKG1, 3)
2420 - New ASL+ code: PKG1[3]
2421 This completes the ACPI 6.0 ASL+ support as it was the only operator not
2424 iASL: Fixed the file suffix for the preprocessor output file (.i). Two
2425 spaces were inadvertently appended to the filename, causing file access
2426 and deletion problems on some systems.
2428 ASL Test Suite (ASLTS): Updated the master makefile to generate all
2429 possible compiler output files when building the test suite -- thus
2430 exercising these features of the compiler. These files are automatically
2431 deleted when the test suite exits.
2434 ----------------------------------------
2435 18 August 2015. Summary of changes for version 20150818:
2437 1) ACPICA kernel-resident subsystem:
2439 Fix a regression for AcpiGetTableByIndex interface causing it to fail. Lv
2440 Zheng. ACPICA BZ 1186.
2442 Completed development to ensure that the ACPICA Disassembler and Debugger
2443 are fully standalone components of ACPICA. Removed cross-component
2444 dependences. Lv Zheng.
2446 The max-number-of-AML-loops is now runtime configurable (previously was
2447 compile-time only). This is essentially a loop timeout to force-abort
2448 infinite AML loops. ACPCIA BZ 1192.
2450 Debugger: Cleanup output to dump ACPI names and namepaths without any
2451 trailing underscores. Lv Zheng. ACPICA BZ 1135.
2453 Removed unnecessary conditional compilations across the Debugger and
2454 Disassembler components where entire modules could be left uncompiled.
2456 The aapits test is deprecated and has been removed from the ACPICA git
2457 tree. The test has never been completed and has not been maintained, thus
2458 becoming rather useless. ACPICA BZ 1015, 794.
2460 A batch of small changes to close bugzilla and other reports:
2461 - Remove duplicate code for _PLD processing. ACPICA BZ 1176.
2462 - Correctly cleanup after a ACPI table load failure. ACPICA BZ 1185.
2463 - iASL: Support POSIX yacc again in makefile. Jung-uk Kim.
2464 - ACPI table support: general cleanup and simplification. Lv Zheng, Bob
2466 - ACPI table support: fix for a buffer read overrun in AcpiTbFindTable.
2468 - Enhance parameter validation for DataTableRegion and LoadTable ASL/AML
2470 - Debugger: Split debugger initialization/termination interfaces. Lv
2472 - AcpiExec: Emit OemTableId for SSDTs during the load phase for table
2474 - AcpiExec: Add debug message during _REG method phase during table
2476 - AcpiNames: Fix a regression where some output was missing and no longer
2478 - Debugger: General cleanup and simplification. Lv Zheng.
2479 - Disassembler: Cleanup use of several global option variables. Lv Zheng.
2481 Example Code and Data Size: These are the sizes for the OS-independent
2482 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2483 debug version of the code includes the debug output trace mechanism and
2484 has a much larger code and data size.
2487 Non-Debug Version: 101.3K Code, 27.7K Data, 129.0K Total
2488 Debug Version: 198.6K Code, 80.9K Data, 279.5K Total
2490 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2491 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
2494 2) iASL Compiler/Disassembler and Tools:
2496 AcpiExec: Fixed a problem where any more than 32 ACPI tables in the XSDT
2497 were not handled properly and caused load errors. Now, properly invoke
2498 and use the ACPICA auto-reallocate mechanism for ACPI table data
2499 structures. ACPICA BZ 1188
2501 AcpiNames: Add command-line wildcard support for ACPI table files. ACPICA
2504 AcpiExec and AcpiNames: Add -l option to load ACPI tables only. For
2505 AcpiExec, this means that no control methods (like _REG/_INI/_STA) are
2506 executed during initialization. ACPICA BZ 1187, 1189.
2508 iASL/Disassembler: Implemented a prototype "listing" mode that emits AML
2509 that corresponds to each disassembled ASL statement, to simplify
2510 debugging. ACPICA BZ 1191.
2512 Debugger: Add option to the "objects" command to display a summary of the
2513 current namespace objects (Object type and count). This is displayed if
2514 the command is entered with no arguments.
2516 AcpiNames: Add -x option to specify debug level, similar to AcpiExec.
2519 ----------------------------------------
2520 17 July 2015. Summary of changes for version 20150717:
2522 1) ACPICA kernel-resident subsystem:
2524 Improved the partitioning between the Debugger and Disassembler
2525 components. This allows the Debugger to be used standalone within kernel
2526 code without the Disassembler (which is used for single stepping also).
2527 This renames and moves one file, dmobject.c to dbobject.c. Lv Zheng.
2529 Debugger: Implemented a new command to trace the execution of control
2530 methods (Trace). This is especially useful for the in-kernel version of
2531 the debugger when file I/O may not be available for method trace output.
2532 See the ACPICA reference for more information. Lv Zheng.
2534 Moved all C library prototypes (used for the local versions of these
2535 functions when requested) to a new header, acclib.h
2536 Cleaned up the use of non-ANSI C library functions. These functions are
2537 implemented locally in ACPICA. Moved all such functions to a common
2538 source file, utnonansi.c
2540 Debugger: Fixed a problem with the "!!" command (get last command
2541 executed) where the debugger could enter an infinite loop and eventually
2544 Removed the use of local macros that were used for some of the standard C
2545 library functions to automatically cast input parameters. This mostly
2546 affected the is* functions where the input parameter is defined to be an
2547 int. This required a few modifications to the main ACPICA source code to
2548 provide casting for these functions and eliminate possible compiler
2549 warnings for these parameters.
2551 Across the source code, added additional status/error checking to resolve
2552 issues discovered by static source code analysis tools such as Coverity.
2554 Example Code and Data Size: These are the sizes for the OS-independent
2555 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2556 debug version of the code includes the debug output trace mechanism and
2557 has a much larger code and data size.
2560 Non-Debug Version: 100.9K Code, 24.5K Data, 125.4K Total
2561 Debug Version: 197.8K Code, 81.5K Data, 279.3K Total
2563 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2564 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
2567 2) iASL Compiler/Disassembler and Tools:
2569 iASL: Fixed a regression where the device map file feature no longer
2570 worked properly when used in conjunction with the disassembler. It only
2571 worked properly with the compiler itself.
2573 iASL: Implemented a new warning for method LocalX variables that are set
2574 but never used (similar to a C compiler such as gcc). This also applies
2575 to ArgX variables that are not defined by the parent method, and are
2576 instead (legally) used as local variables.
2578 iASL/Preprocessor: Finished the pass-through of line numbers from the
2579 preprocessor to the compiler. This ensures that compiler errors/warnings
2580 have the correct original line numbers and filenames, regardless of any
2583 iASL/Preprocessor: Fixed a couple of issues with comment handling and the
2584 pass-through of comments to the preprocessor output file (which becomes
2585 the compiler input file). Also fixed a problem with // comments that
2586 appear after a math expression.
2588 iASL: Added support for the TCPA server table to the table compiler and
2589 template generator. (The client table was already previously supported)
2591 iASL/Preprocessor: Added a permanent #define of the symbol "__IASL__" to
2592 identify the iASL compiler.
2594 Cleaned up the use of the macros NEGATIVE and POSITIVE which were defined
2595 multiple times. The new names are ACPI_SIGN_NEGATIVE and
2598 AcpiHelp: Update to expand help messages for the iASL preprocessor
2602 ----------------------------------------
2603 19 June 2015. Summary of changes for version 20150619:
2605 Two regressions in version 20150616 have been addressed:
2607 Fixes some problems/issues with the C library macro removal (ACPI_STRLEN,
2608 etc.) This update changes ACPICA to only use the standard headers for
2609 functions, or the prototypes for the local versions of the C library
2610 functions. Across the source code, this required some additional casts
2611 for some Clib invocations for portability. Moved all local prototypes to
2612 a new file, acclib.h
2614 Fixes several problems with recent changes to the handling of the FACS
2615 table that could cause some systems not to boot.
2618 ----------------------------------------
2619 16 June 2015. Summary of changes for version 20150616:
2622 1) ACPICA kernel-resident subsystem:
2624 Across the entire ACPICA source code base, the various macros for the C
2625 library functions (such as ACPI_STRLEN, etc.) have been removed and
2626 replaced by the standard C library names (strlen, etc.) The original
2627 purpose for these macros is no longer applicable. This simplification
2628 reduces the number of macros used in the ACPICA source code
2629 significantly, improving readability and maintainability.
2631 Implemented support for a new ACPI table, the OSDT. This table, the
2632 "override" SDT, can be loaded directly by the host OS at boot time. It
2633 enables the replacement of existing namespace objects that were installed
2634 via the DSDT and/or SSDTs. The primary purpose for this is to replace
2635 buggy or incorrect ASL/AML code obtained via the BIOS. The OSDT is slated
2636 for inclusion in a future version of the ACPI Specification. Lv Zheng/Bob
2639 Added support for systems with (improperly) two FACS tables -- a "32-bit"
2640 table (via FADT 32-bit legacy field) and a "64-bit" table (via the 64-bit
2641 X field). This change will support both automatically. There continues to
2642 be systems found with this issue. This support requires a change to the
2643 AcpiSetFirmwareWakingVector interface. Also, a public global variable has
2644 been added to allow the host to select which FACS is desired
2645 (AcpiGbl_Use32BitFacsAddresses). See the ACPICA reference for more
2648 Added a new feature to allow for systems that do not contain an FACS.
2649 Although this is already supported on hardware-reduced platforms, the
2650 feature has been extended for all platforms. The reasoning is that we do
2651 not want to abort the entire ACPICA initialization just because the
2652 system is seriously buggy and has no FACS.
2654 Fixed a problem where the GUID strings for NFIT tables (in acuuid.h) were
2655 not correctly transcribed from the ACPI specification in ACPICA version
2658 Implemented support for the _CLS object in the AcpiGetObjectInfo external
2661 Updated the definitions of the TCPA and TPM2 ACPI tables to the more
2662 recent TCG ACPI Specification, December 14, 2014. Table disassembler and
2663 compiler also updated. Note: The TCPA "server" table is not supported by
2664 the disassembler/table-compiler at this time.
2666 ACPI 6.0: Added definitions for the new GIC version field in the MADT.
2668 Example Code and Data Size: These are the sizes for the OS-independent
2669 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2670 debug version of the code includes the debug output trace mechanism and
2671 has a much larger code and data size.
2674 Non-Debug Version: 100.6K Code, 27.6K Data, 128.2K Total
2675 Debug Version: 196.2K Code, 81.0K Data, 277.2K Total
2677 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
2678 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
2681 2) iASL Compiler/Disassembler and Tools:
2683 Disassembler: Fixed a problem with the new symbolic operator disassembler
2684 where incorrect ASL code could be emitted in some cases for the "non-
2685 commutative" operators -- Subtract, Divide, Modulo, ShiftLeft, and
2686 ShiftRight. The actual problem cases seem to be rather unusual in common
2687 ASL code, however. David Box.
2689 Modified the linux version of acpidump to obtain ACPI tables from not
2690 just /dev/mem (which may not exist) and /sys/firmware/acpi/tables. Lv
2693 iASL: Fixed a problem where the user preprocessor output file (.i)
2694 contained extra data that was not expected. The compiler was using this
2695 file as a temporary file and passed through #line directives in order to
2696 keep compiler error messages in sync with the input file and line number
2697 across multiple include files. The (.i) is no longer a temporary file as
2698 the compiler uses a new, different file for the original purpose.
2700 iASL: Fixed a problem where comments within the original ASL source code
2701 file were not passed through to the preprocessor output file, nor any
2704 iASL: Fixed some issues for the handling of the "#include" preprocessor
2705 directive and the similar (but not the same) "Include" ASL operator.
2707 iASL: Add support for the new OSDT in both the disassembler and compiler.
2709 iASL: Fixed a problem with the constant folding support where a Buffer
2710 object could be incorrectly generated (incorrectly formed) during a
2711 conversion to a Store() operator.
2713 AcpiHelp: Updated for new NFIT GUIDs, "External" AML opcode, and new
2714 description text for the _REV predefined name. _REV now permanently
2715 returns 2, as per the ACPI 6.0 specification.
2717 Debugger: Enhanced the output of the Debug ASL object for references
2718 produced by the Index operator. For Buffers and strings, only output the
2719 actual byte pointed to by the index. For packages, only print the single
2720 package element decoded by the index. Previously, the entire
2721 buffer/string/package was emitted.
2723 iASL/Table-compiler: Fixed a regression where the "generic" data types
2724 were no longer recognized, causing errors.
2727 ----------------------------------------
2728 15 May 2015. Summary of changes for version 20150515:
2730 This release implements most of ACPI 6.0 as described below.
2732 1) ACPICA kernel-resident subsystem:
2734 Implemented runtime argument checking and return value checking for all
2735 new ACPI 6.0 predefined names. This includes: _BTH, _CR3, _DSD, _LPI,
2736 _MTL, _PRR, _RDI, _RST, _TFP, _TSN.
2738 Example Code and Data Size: These are the sizes for the OS-independent
2739 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
2740 debug version of the code includes the debug output trace mechanism and
2741 has a much larger code and data size.
2744 Non-Debug Version: 99.9K Code, 27.5K Data, 127.4K Total
2745 Debug Version: 195.2K Code, 80.8K Data, 276.0K Total
2747 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
2748 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
2751 2) iASL Compiler/Disassembler and Tools:
2753 iASL compiler: Added compile-time support for all new ACPI 6.0 predefined
2754 names (argument count validation and return value typechecking.)
2756 iASL disassembler and table compiler: implemented support for all new
2757 ACPI 6.0 tables. This includes: DRTM, IORT, LPIT, NFIT, STAO, WPBT, XENV.
2759 iASL disassembler and table compiler: Added ACPI 6.0 changes to existing
2762 iASL preprocessor: Added a new directive to enable inclusion of binary
2763 blobs into ASL code. The new directive is #includebuffer. It takes a
2764 binary file as input and emits a named ascii buffer object into the ASL
2767 AcpiHelp: Added support for all new ACPI 6.0 predefined names.
2769 AcpiHelp: Added a new option, -d, to display all iASL preprocessor
2772 AcpiHelp: Added a new option, -t, to display all known/supported ACPI
2776 ----------------------------------------
2777 10 April 2015. Summary of changes for version 20150410:
2779 Reverted a change introduced in version 20150408 that caused
2780 a regression in the disassembler where incorrect operator
2781 symbols could be emitted.
2784 ----------------------------------------
2785 08 April 2015. Summary of changes for version 20150408:
2788 1) ACPICA kernel-resident subsystem:
2790 Permanently set the return value for the _REV predefined name. It now
2791 returns 2 (was 5). This matches other ACPI implementations. _REV will be
2792 deprecated in the future, and is now defined to be 1 for ACPI 1.0, and 2
2793 for ACPI 2.0 and later. It should never be used to differentiate or
2794 identify operating systems.
2796 Added the "Windows 2015" string to the _OSI support. ACPICA will now
2797 return TRUE to a query with this string.
2799 Fixed several issues with the local version of the printf function.
2801 Added the C99 compiler option (-std=c99) to the Unix makefiles.
2804 Non-Debug Version: 99.9K Code, 27.4K Data, 127.3K Total
2805 Debug Version: 195.2K Code, 80.7K Data, 275.9K Total
2807 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
2808 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
2811 2) iASL Compiler/Disassembler and Tools:
2813 iASL: Implemented an enhancement to the constant folding feature to
2814 transform the parse tree to a simple Store operation whenever possible:
2815 Add (2, 3, X) ==> is converted to: Store (5, X)
2816 X = 2 + 3 ==> is converted to: Store (5, X)
2818 Updated support for the SLIC table (Software Licensing Description Table)
2819 in both the Data Table compiler and the disassembler. The SLIC table
2820 support now conforms to "Microsoft Software Licensing Tables (SLIC and
2821 MSDM). November 29, 2011. Copyright 2011 Microsoft". Note: Any SLIC data
2822 following the ACPI header is now defined to be "Proprietary Data", and as
2823 such, can only be entered or displayed as a hex data block.
2825 Implemented full support for the MSDM table as described in the document
2826 above. Note: The format of MSDM is similar to SLIC. Any MSDM data
2827 following the ACPI header is defined to be "Proprietary Data", and can
2828 only be entered or displayed as a hex data block.
2830 Implemented the -Pn option for the iASL Table Compiler (was only
2831 implemented for the ASL compiler). This option disables the iASL
2834 Disassembler: For disassembly of Data Tables, added a comment field
2835 around the Ascii equivalent data that is emitted as part of the "Raw
2836 Table Data" block. This prevents the iASL Preprocessor from possible
2837 confusion if/when the table is compiled.
2839 Disassembler: Added an option (-df) to force the disassembler to assume
2840 that the table being disassembled contains valid AML. This feature is
2841 useful for disassembling AML files that contain ACPI signatures other
2842 than DSDT or SSDT (such as OEMx or other signatures).
2844 Changes for the EFI version of the tools:
2845 1) Fixed a build error/issue
2846 2) Fixed a cast warning
2848 iASL: Fixed a path issue with the __FILE__ operator by making the
2849 directory prefix optional within the internal SplitInputFilename
2852 Debugger: Removed some unused global variables.
2854 Tests: Updated the makefile for proper generation of the AAPITS suite.
2857 ----------------------------------------
2858 04 February 2015. Summary of changes for version 20150204:
2860 ACPICA kernel-resident subsystem:
2862 Updated all ACPICA copyrights and signons to 2014. Added the 2014
2863 copyright to all module headers and signons, including the standard Linux
2864 header. This affects virtually every file in the ACPICA core subsystem,
2865 iASL compiler, all ACPICA utilities, and the test suites.
2867 Events: Introduce ACPI_GPE_DISPATCH_RAW_HANDLER to fix GPE storm issues.
2868 A raw gpe handling mechanism was created to allow better handling of GPE
2869 storms that aren't easily managed by the normal handler. The raw handler
2870 allows disabling/renabling of the the GPE so that interrupt storms can be
2871 avoided in cases where events cannot be timely serviced. In this
2872 scenario, handlers should use the AcpiSetGpe() API to disable/enable the
2873 GPE. This API will leave the reference counts undisturbed, thereby
2874 preventing unintentional clearing of the GPE when the intent in only to
2875 temporarily disable it. Raw handlers allow enabling and disabling of a
2876 GPE by removing GPE register locking. As such, raw handlers much provide
2877 their own locks while using GPE API's to protect access to GPE data
2881 Events: Always modify GPE registers under the GPE lock.
2882 Applies GPE lock around AcpiFinishGpe() to protect access to GPE register
2883 values. Reported as bug by joe.liu@apple.com.
2885 Unix makefiles: Separate option to disable optimizations and
2886 _FORTIFY_SOURCE. This change removes the _FORTIFY_SOURCE flag from the
2887 NOOPT disable option and creates a separate flag (NOFORTIFY) for this
2888 purpose. Some toolchains may define _FORTIFY_SOURCE which leads redefined
2889 errors when building ACPICA. This allows disabling the option without
2890 also having to disable optimazations.
2894 Non-Debug Version: 101.7K Code, 27.9K Data, 129.6K Total
2895 Debug Version: 199.2K Code, 82.4K Data, 281.6K Total
2898 --------------------------------------
2899 07 November 2014. Summary of changes for version 20141107:
2901 This release is available at https://acpica.org/downloads
2903 This release introduces and implements language extensions to ASL that
2904 provide support for symbolic ("C-style") operators and expressions. These
2905 language extensions are known collectively as ASL+.
2908 1) iASL Compiler/Disassembler and Tools:
2910 Disassembler: Fixed a problem with disassembly of the UartSerialBus
2911 macro. Changed "StopBitsNone" to the correct "StopBitsZero". David E.
2914 Disassembler: Fixed the Unicode macro support to add escape sequences.
2915 All non-printable ASCII values are emitted as escape sequences, as well
2916 as the standard escapes for quote and backslash. Ensures that the
2917 disassembled macro can be correctly recompiled.
2919 iASL: Added Printf/Fprintf macros for formatted output. These macros are
2920 translated to existing AML Concatenate and Store operations. Printf
2921 writes to the ASL Debug object. Fprintf allows the specification of an
2922 ASL name as the target. Only a single format specifier is required, %o,
2923 since the AML interpreter dynamically converts objects to the required
2926 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
2927 (Concatenate (Concatenate (Concatenate ("", Arg0),
2928 ": Unexpected value for "), Arg1), ", "), Arg2),
2929 " at line "), Arg3), Debug)
2931 (new) Printf ("%o: Unexpected value for %o, %o at line %o",
2932 Arg0, Arg1, Arg2, Arg3)
2934 (old) Store (Concatenate (Concatenate (Concatenate (Concatenate
2935 ("", Arg1), ": "), Arg0), " Successful"), STR1)
2937 (new) Fprintf (STR1, "%o: %o Successful", Arg1, Arg0)
2939 iASL: Added debug options (-bp, -bt) to dynamically prune levels of the
2940 ASL parse tree before the AML code is generated. This allows blocks of
2941 ASL code to be removed in order to help locate and identify problem
2942 devices and/or code. David E. Box.
2944 AcpiExec: Added support (-fi) for an optional namespace object
2945 initialization file. This file specifies initial values for namespace
2946 objects as necessary for debugging and testing different ASL code paths
2947 that may be taken as a result of BIOS options.
2950 2) Overview of symbolic operator support for ASL (ASL+)
2951 -------------------------------------------------------
2953 As an extension to the ASL language, iASL implements support for symbolic
2954 (C-style) operators for math and logical expressions. This can greatly
2955 simplify ASL code as well as improve both readability and
2956 maintainability. These language extensions can exist concurrently with
2957 all legacy ASL code and expressions.
2959 The symbolic extensions are 100% compatible with existing AML
2960 interpreters, since no new AML opcodes are created. To implement the
2961 extensions, the iASL compiler transforms the symbolic expressions into
2962 the legacy ASL/AML equivalents at compile time.
2964 Full symbolic expressions are supported, along with the standard C
2965 precedence and associativity rules.
2967 Full disassembler support for the symbolic expressions is provided, and
2968 creates an automatic migration path for existing ASL code to ASL+ code
2969 via the disassembly process. By default, the disassembler now emits ASL+
2970 code with symbolic expressions. An option (-dl) is provided to force the
2971 disassembler to emit legacy ASL code if desired.
2973 Below is the complete list of the currently supported symbolic operators
2974 with examples. See the iASL User Guide for additional information.
2977 ASL+ Syntax Legacy ASL Equivalent
2978 ----------- ---------------------
2982 Z = X + Y Add (X, Y, Z)
2983 Z = X - Y Subtract (X, Y, Z)
2984 Z = X * Y Multiply (X, Y, Z)
2985 Z = X / Y Divide (X, Y, , Z)
2986 Z = X % Y Mod (X, Y, Z)
2987 Z = X << Y ShiftLeft (X, Y, Z)
2988 Z = X >> Y ShiftRight (X, Y, Z)
2989 Z = X & Y And (X, Y, Z)
2990 Z = X | Y Or (X, Y, Z)
2991 Z = X ^ Y Xor (X, Y, Z)
2996 // Logical operators
2998 (X == Y) LEqual (X, Y)
2999 (X != Y) LNotEqual (X, Y)
3000 (X < Y) LLess (X, Y)
3001 (X > Y) LGreater (X, Y)
3002 (X <= Y) LLessEqual (X, Y)
3003 (X >= Y) LGreaterEqual (X, Y)
3004 (X && Y) LAnd (X, Y)
3008 // Assignment and compound assignment operations
3011 X += Y Add (X, Y, X)
3012 X -= Y Subtract (X, Y, X)
3013 X *= Y Multiply (X, Y, X)
3014 X /= Y Divide (X, Y, , X)
3015 X %= Y Mod (X, Y, X)
3016 X <<= Y ShiftLeft (X, Y, X)
3017 X >>= Y ShiftRight (X, Y, X)
3018 X &= Y And (X, Y, X)
3020 X ^= Y Xor (X, Y, X)
3027 If (LOr (LOr (LEqual (And (R510, 0x03FB), 0x02E0), LEqual (
3028 And (R520, 0x03FB), 0x02E0)), LOr (LEqual (And (R530,
3030 0x02E0), LEqual (And (R540, 0x03FB), 0x02E0))))
3032 And (MEMB, 0xFFFFFFF0, SRMB)
3033 Store (MEMB, Local2)
3034 Store (PDBM, Local1)
3035 And (PDBM, 0xFFFFFFFFFFFFFFF9, PDBM)
3037 Or (PDBM, 0x02, PDBM)
3041 If (((R510 & 0x03FB) == 0x02E0) ||
3042 ((R520 & 0x03FB) == 0x02E0) ||
3043 ((R530 & 0x03FB) == 0x02E0) ||
3044 ((R540 & 0x03FB) == 0x02E0))
3046 SRMB = (MEMB & 0xFFFFFFF0)
3049 PDBM &= 0xFFFFFFFFFFFFFFF9
3055 Store (0x1234, Local1)
3056 Multiply (Add (Add (Local1, TEST), 0x20), Local2, Local3)
3057 Multiply (Local2, Add (Add (Local1, TEST), 0x20), Local3)
3058 Add (Local1, Add (TEST, Multiply (0x20, Local2)), Local3)
3059 Store (Index (PKG1, 0x03), Local6)
3060 Store (Add (Local3, Local2), Debug)
3061 Add (Local1, 0x0F, Local2)
3062 Add (Local1, Multiply (Local2, Local3), Local2)
3063 Multiply (Add (Add (Local1, TEST), 0x20), ToBCD (Local1), Local3)
3067 Local3 = (((Local1 + TEST) + 0x20) * Local2)
3068 Local3 = (Local2 * ((Local1 + TEST) + 0x20))
3069 Local3 = (Local1 + (TEST + (0x20 * Local2)))
3070 Local6 = Index (PKG1, 0x03)
3071 Debug = (Local3 + Local2)
3072 Local2 = (Local1 + 0x0F)
3073 Local2 = (Local1 + (Local2 * Local3))
3074 Local3 = (((Local1 + TEST) + 0x20) * ToBCD (Local1))
3077 ----------------------------------------
3078 26 September 2014. Summary of changes for version 20140926:
3080 1) ACPICA kernel-resident subsystem:
3082 Updated the GPIO operation region handler interface (GeneralPurposeIo).
3083 In order to support GPIO Connection objects with multiple pins, along
3084 with the related Field objects, the following changes to the interface
3085 have been made: The Address is now defined to be the offset in bits of
3086 the field unit from the previous invocation of a Connection. It can be
3087 viewed as a "Pin Number Index" into the connection resource descriptor.
3088 The BitWidth is the exact bit width of the field. It is usually one bit,
3089 but not always. See the ACPICA reference guide (section 8.8.6.2.1) for
3090 additional information and examples.
3092 GPE support: During ACPICA/GPE initialization, ensure that all GPEs with
3093 corresponding _Lxx/_Exx methods are disabled (they may have been enabled
3094 by the firmware), so that they cannot fire until they are enabled via
3095 AcpiUpdateAllGpes. Rafael J. Wysocki.
3097 Added a new return flag for the Event/GPE status interfaces --
3098 AcpiGetEventStatus and AcpiGetGpeStatus. The new
3099 ACPI_EVENT_FLAGS_HAS_HANDLER flag is used to indicate that the event or
3100 GPE currently has a handler associated with it, and can thus actually
3101 affect the system. Lv Zheng.
3103 Example Code and Data Size: These are the sizes for the OS-independent
3104 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3105 debug version of the code includes the debug output trace mechanism and
3106 has a much larger code and data size.
3109 Non-Debug Version: 99.1K Code, 27.3K Data, 126.4K Total
3110 Debug Version: 192.8K Code, 79.9K Data, 272.7K Total
3112 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3113 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3115 2) iASL Compiler/Disassembler and Tools:
3117 iASL: Fixed a memory allocation/free regression introduced in 20140828
3118 that could cause the compiler to crash. This was introduced inadvertently
3119 during the effort to eliminate compiler memory leaks. ACPICA BZ 1111,
3122 iASL: Removed two error messages that have been found to create false
3123 positives, until they can be fixed and fully validated (ACPICA BZ 1112):
3124 1) Illegal forward reference within a method
3125 2) Illegal reference across two methods
3127 iASL: Implemented a new option (-lm) to create a hardware mapping file
3128 that summarizes all GPIO, I2C, SPI, and UART connections. This option
3129 works for both the compiler and disassembler. See the iASL compiler user
3130 guide for additional information and examples (section 6.4.6).
3132 AcpiDump: Added support for the version 1 (ACPI 1.0) RSDP in addition to
3133 version 2. This corrects the AE_BAD_HEADER exception seen on systems with
3134 a version 1 RSDP. Lv Zheng ACPICA BZ 1097.
3136 AcpiExec: For Unix versions, don't attempt to put STDIN into raw mode
3137 unless STDIN is actually a terminal. Assists with batch-mode processing.
3140 Disassembler/AcpiHelp: Added another large group of recognized _HID
3144 ----------------------------------------
3145 28 August 2014. Summary of changes for version 20140828:
3147 1) ACPICA kernel-resident subsystem:
3149 Fixed a problem related to the internal use of the Timer() operator where
3150 a 64-bit divide could cause an attempted link to a double-precision math
3151 library. This divide is not actually necessary, so the code was
3152 restructured to eliminate it. Lv Zheng.
3154 ACPI 5.1: Added support for the runtime validation of the _DSD package
3155 (similar to the iASL support).
3157 ACPI 5.1/Headers: Added support for the GICC affinity subtable to the
3158 SRAT table. Hanjun Guo <hanjun.guo@linaro.org>.
3160 Example Code and Data Size: These are the sizes for the OS-independent
3161 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3162 debug version of the code includes the debug output trace mechanism and
3163 has a much larger code and data size.
3166 Non-Debug Version: 98.8K Code, 27.3K Data, 126.1K Total
3167 Debug Version: 192.1K Code, 79.8K Data, 271.9K Total
3169 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total1
3170 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
3172 2) iASL Compiler/Disassembler and Tools:
3174 AcpiExec: Fixed a problem on unix systems where the original terminal
3175 state was not always properly restored upon exit. Seen when using the -v
3176 option. ACPICA BZ 1104.
3178 iASL: Fixed a problem with the validation of the ranges/length within the
3179 Memory24 resource descriptor. There was a boundary condition when the
3180 range was equal to the (length -1) caused by the fact that these values
3181 are defined in 256-byte blocks, not bytes. ACPICA BZ 1098
3183 Disassembler: Fixed a problem with the GpioInt descriptor interrupt
3185 flags. The flags are actually 2 bits, not 1, and the "ActiveBoth" keyword
3187 now supported properly.
3189 ACPI 5.1: Added the GICC affinity subtable to the SRAT table. Supported
3190 in the disassembler, data table compiler, and table template generator.
3192 iASL: Added a requirement for Device() objects that one of either a _HID
3193 or _ADR must exist within the scope of a Device, as per the ACPI
3194 specification. Remove a similar requirement that was incorrectly in place
3195 for the _DSD object.
3197 iASL: Added error detection for illegal named references within control
3198 methods that would cause runtime failures. Now trapped as errors are: 1)
3199 References to objects within a non-parent control method. 2) Forward
3200 references (within a method) -- for control methods, AML interpreters use
3201 a one-pass parse of control methods. ACPICA BZ 1008.
3203 iASL: Added error checking for dependencies related to the _PSx power
3204 methods. ACPICA BZ 1029.
3205 1) For _PS0, one of these must exist within the same scope: _PS1, _PS2,
3207 2) For _PS1, _PS2, and PS3: A _PS0 object must exist within the same
3210 iASL and table compiler: Cleanup miscellaneous memory leaks by fully
3211 deploying the existing object and string caches and adding new caches for
3214 iASL: Split the huge parser source file into multiple subfiles to improve
3215 manageability. Generation now requires the M4 macro preprocessor, which
3216 is part of the Bison distribution on both unix and windows platforms.
3218 AcpiSrc: Fixed and removed all extraneous warnings generated during
3219 entire ACPICA source code scan and/or conversion.
3222 ----------------------------------------
3224 24 July 2014. Summary of changes for version 20140724:
3226 The ACPI 5.1 specification has been released and is available at:
3227 http://uefi.org/specs/access
3230 0) ACPI 5.1 support in ACPICA:
3232 ACPI 5.1 is fully supported in ACPICA as of this release.
3234 New predefined names. Support includes iASL and runtime ACPICA
3236 _CCA (Cache Coherency Attribute).
3237 _DSD (Device-Specific Data). David Box.
3239 Modifications to existing ACPI tables. Support includes headers, iASL
3240 Data Table compiler, disassembler, and the template generator.
3241 FADT - New fields and flags. Graeme Gregory.
3242 GTDT - One new subtable and new fields. Tomasz Nowicki.
3243 MADT - Two new subtables. Tomasz Nowicki.
3244 PCCT - One new subtable.
3247 New notification type for System Resource Affinity change events.
3250 1) ACPICA kernel-resident subsystem:
3252 Fixed a regression introduced in 20140627 where a fault can happen during
3253 the deletion of Alias AML namespace objects. The problem affected both
3254 the core ACPICA and the ACPICA tools including iASL and AcpiExec.
3256 Implemented a new GPE public interface, AcpiMarkGpeForWake. Provides a
3257 simple mechanism to enable wake GPEs that have no associated handler or
3258 control method. Rafael Wysocki.
3260 Updated the AcpiEnableGpe interface to disallow the enable if there is no
3261 handler or control method associated with the particular GPE. This will
3262 help avoid meaningless GPEs and even GPE floods. Rafael Wysocki.
3264 Updated GPE handling and dispatch by disabling the GPE before clearing
3265 the status bit for edge-triggered GPEs. Lv Zheng.
3267 Added Timer() support to the AML Debug object. The current timer value is
3268 now displayed with each invocation of (Store to) the debug object to
3269 enable simple generation of execution times for AML code (method
3270 execution for example.) ACPICA BZ 1093.
3272 Example Code and Data Size: These are the sizes for the OS-independent
3273 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3274 debug version of the code includes the debug output trace mechanism and
3275 has a much larger code and data size.
3278 Non-Debug Version: 98.7K Code, 27.3K Data, 126.0K Total
3279 Debug Version: 192.0K Code, 79.7K Data, 271.7K Total
3281 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
3282 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
3285 2) iASL Compiler/Disassembler and Tools:
3287 Fixed an issue with the recently added local printf implementation,
3288 concerning width/precision specifiers that could cause incorrect output.
3289 Lv Zheng. ACPICA BZ 1094.
3291 Disassembler: Added support to detect buffers that contain UUIDs and
3292 disassemble them to an invocation of the ToUUID operator. Also emit
3293 commented descriptions of known ACPI-related UUIDs.
3295 AcpiHelp: Added support to display known ACPI-related UUIDs. New option,
3296 -u. Adds three new files.
3298 iASL: Update table compiler and disassembler for DMAR table changes that
3299 were introduced in September 2013. With assistance by David Woodhouse.
3301 ----------------------------------------
3302 27 June 2014. Summary of changes for version 20140627:
3304 1) ACPICA kernel-resident subsystem:
3306 Formatted Output: Implemented local versions of standard formatted output
3307 utilities such as printf, etc. Over time, it has been discovered that
3308 there are in fact many portability issues with printf, and the addition
3309 of this feature will fix/prevent these issues once and for all. Some
3310 known issues are summarized below:
3312 1) Output of 64-bit values is not portable. For example, UINT64 is %ull
3313 for the Linux kernel and is %uI64 for some MSVC versions.
3314 2) Invoking printf consistently in a manner that is portable across both
3315 32-bit and 64-bit platforms is difficult at best in many situations.
3316 3) The output format for pointers varies from system to system (leading
3317 zeros especially), and leads to inconsistent output from ACPICA across
3319 4) Certain platform-specific printf formats may conflict with ACPICA use.
3320 5) If there is no local C library available, ACPICA now has local support
3323 -- To address these printf issues in a complete manner, ACPICA now
3324 directly implements a small subset of printf format specifiers, only
3325 those that it requires. Adds a new file, utilities/utprint.c. Lv Zheng.
3327 Implemented support for ACPICA generation within the EFI environment.
3328 Initially, the AcpiDump utility is supported in the UEFI shell
3329 environment. Lv Zheng.
3331 Added a new external interface, AcpiLogError, to improve ACPICA
3332 portability. This allows the host to redirect error messages from the
3333 ACPICA utilities. Lv Zheng.
3335 Added and deployed new OSL file I/O interfaces to improve ACPICA
3343 There are C library implementations of these functions in the new file
3344 service_layers/oslibcfs.c -- however, the functions can be implemented by
3345 the local host in any way necessary. Lv Zheng.
3347 Implemented a mechanism to disable/enable ACPI table checksum validation
3348 at runtime. This can be useful when loading tables very early during OS
3349 initialization when it may not be possible to map the entire table in
3350 order to compute the checksum. Lv Zheng.
3352 Fixed a buffer allocation issue for the Generic Serial Bus support.
3353 Originally, a fixed buffer length was used. This change allows for
3354 variable-length buffers based upon the protocol indicated by the field
3355 access attributes. Reported by Lan Tianyu. Lv Zheng.
3357 Fixed a problem where an object detached from a namespace node was not
3358 properly terminated/cleared and could cause a circular list problem if
3359 reattached. ACPICA BZ 1063. David Box.
3361 Fixed a possible recursive lock acquisition in hwregs.c. Rakib Mullick.
3363 Fixed a possible memory leak in an error return path within the function
3364 AcpiUtCopyIobjectToIobject. ACPICA BZ 1087. Colin Ian King.
3366 Example Code and Data Size: These are the sizes for the OS-independent
3367 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3368 debug version of the code includes the debug output trace mechanism and
3369 has a much larger code and data size.
3372 Non-Debug Version: 98.7K Code, 27.2K Data, 125.9K Total
3373 Debug Version: 191.7K Code, 79.6K Data, 271.3K Total
3375 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
3376 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
3379 2) iASL Compiler/Disassembler and Tools:
3381 Disassembler: Add dump of ASCII equivalent text within a comment at the
3382 end of each line of the output for the Buffer() ASL operator.
3384 AcpiDump: Miscellaneous changes:
3385 Fixed repetitive table dump in -n mode.
3386 For older EFI platforms, use the ACPI 1.0 GUID during RSDP search if
3387 the ACPI 2.0 GUID fails.
3389 iASL: Fixed a problem where the compiler could fault if incorrectly given
3390 an acpidump output file as input. ACPICA BZ 1088. David Box.
3392 AcpiExec/AcpiNames: Fixed a problem where these utilities could fault if
3393 they are invoked without any arguments.
3395 Debugger: Fixed a possible memory leak in an error return path. ACPICA BZ
3396 1086. Colin Ian King.
3398 Disassembler: Cleaned up a block of code that extracts a parent Op
3399 object. Added a comment that explains that the parent is guaranteed to be
3400 valid in this case. ACPICA BZ 1069.
3403 ----------------------------------------
3404 24 April 2014. Summary of changes for version 20140424:
3406 1) ACPICA kernel-resident subsystem:
3408 Implemented support to skip/ignore NULL address entries in the RSDT/XSDT.
3409 Some of these tables are known to contain a trailing NULL entry. Lv
3412 Removed an extraneous error message for the case where there are a large
3413 number of system GPEs (> 124). This was the "32-bit FADT register is too
3414 long to convert to GAS struct" message, which is irrelevant for GPEs
3415 since the GPEx_BLK_LEN fields of the FADT are always used instead of the
3416 (limited capacity) GAS bit length. Also, several changes to ensure proper
3417 support for GPE numbers > 255, where some "GPE number" fields were 8-bits
3420 Implemented and deployed additional configuration support for the public
3421 ACPICA external interfaces. Entire classes of interfaces can now be
3422 easily modified or configured out, replaced by stubbed inline functions
3423 by default. Lv Zheng.
3425 Moved all public ACPICA runtime configuration globals to the public
3426 ACPICA external interface file for convenience. Also, removed some
3427 obsolete/unused globals. See the file acpixf.h. Lv Zheng.
3429 Documentation: Added a new section to the ACPICA reference describing the
3430 maximum number of GPEs that can be supported by the FADT-defined GPEs in
3431 block zero and one. About 1200 total. See section 4.4.1 of the ACPICA
3434 Example Code and Data Size: These are the sizes for the OS-independent
3435 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3436 debug version of the code includes the debug output trace mechanism and
3437 has a much larger code and data size.
3440 Non-Debug Version: 96.8K Code, 27.2K Data, 124.0K Total
3441 Debug Version: 189.5K Code, 79.7K Data, 269.2K Total
3443 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
3444 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
3447 2) iASL Compiler/Disassembler and Tools:
3449 iASL and disassembler: Add full support for the LPIT table (Low Power
3450 Idle Table). Includes support in the disassembler, data table compiler,
3451 and template generator.
3454 1) Add option to force the use of the RSDT (over the XSDT).
3455 2) Improve validation of the RSDP signature (use 8 chars instead of 4).
3457 iASL: Add check for predefined packages that are too large. For
3458 predefined names that contain subpackages, check if each subpackage is
3459 too large. (Check for too small already exists.)
3461 Debugger: Updated the GPE command (which simulates a GPE by executing the
3462 GPE code paths in ACPICA). The GPE device is now optional, and defaults
3463 to the GPE 0/1 FADT-defined blocks.
3465 Unix application OSL: Update line-editing support. Add additional error
3466 checking and take care not to reset terminal attributes on exit if they
3467 were never set. This should help guarantee that the terminal is always
3468 left in the previous state on program exit.
3471 ----------------------------------------
3472 25 March 2014. Summary of changes for version 20140325:
3474 1) ACPICA kernel-resident subsystem:
3476 Updated the auto-serialize feature for control methods. This feature
3477 automatically serializes all methods that create named objects in order
3478 to prevent runtime errors. The update adds support to ignore the
3479 currently executing AML SyncLevel when invoking such a method, in order
3480 to prevent disruption of any existing SyncLevel priorities that may exist
3481 in the AML code. Although the use of SyncLevels is relatively rare, this
3482 change fixes a regression where an AE_AML_MUTEX_ORDER exception can
3483 appear on some machines starting with the 20140214 release.
3485 Added a new external interface to allow the host to install ACPI tables
3486 very early, before the namespace is even created. AcpiInstallTable gives
3487 the host additional flexibility for ACPI table management. Tables can be
3488 installed directly by the host as if they had originally appeared in the
3489 XSDT/RSDT. Installed tables can be SSDTs or other ACPI data tables
3490 (anything except the DSDT and FACS). Adds a new file, tbdata.c, along
3491 with additional internal restructuring and cleanup. See the ACPICA
3492 Reference for interface details. Lv Zheng.
3494 Added validation of the checksum for all incoming dynamically loaded
3495 tables (via external interfaces or via AML Load/LoadTable operators). Lv
3498 Updated the use of the AcpiOsWaitEventsComplete interface during Notify
3499 and GPE handler removal. Restructured calls to eliminate possible race
3500 conditions. Lv Zheng.
3502 Added a warning for the use/execution of the ASL/AML Unload (table)
3503 operator. This will help detect and identify machines that use this
3504 operator if and when it is ever used. This operator has never been seen
3505 in the field and the usage model and possible side-effects of the drastic
3506 runtime action of a full table removal are unknown.
3508 Reverted the use of #pragma push/pop which was introduced in the 20140214
3509 release. It appears that push and pop are not implemented by enough
3510 compilers to make the use of this feature feasible for ACPICA at this
3511 time. However, these operators may be deployed in a future ACPICA
3514 Added the missing EXPORT_SYMBOL macros for the install and remove SCI
3517 Source code generation:
3518 1) Disabled the use of the "strchr" macro for the gcc-specific
3519 generation. For some versions of gcc, this macro can periodically expose
3520 a compiler bug which in turn causes compile-time error(s).
3521 2) Added support for PPC64 compilation. Colin Ian King.
3523 Example Code and Data Size: These are the sizes for the OS-independent
3524 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3525 debug version of the code includes the debug output trace mechanism and
3526 has a much larger code and data size.
3529 Non-Debug Version: 97.0K Code, 27.2K Data, 124.2K Total
3530 Debug Version: 189.7K Code, 79.5K Data, 269.2K Total
3532 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
3533 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
3536 2) iASL Compiler/Disassembler and Tools:
3538 Disassembler: Added several new features to improve the readability of
3539 the resulting ASL code. Extra information is emitted within comment
3540 fields in the ASL code:
3541 1) Known _HID/_CID values are decoded to descriptive text.
3542 2) Standard values for the Notify() operator are decoded to descriptive
3544 3) Target operands are expanded to full pathnames (in a comment) when
3547 Disassembler: Miscellaneous updates for extern() handling:
3548 1) Abort compiler if file specified by -fe option does not exist.
3549 2) Silence unnecessary warnings about argument count mismatches.
3550 3) Update warning messages concerning unresolved method externals.
3551 4) Emit "UnknownObj" keyword for externals whose type cannot be
3555 1) Added the -a option to display both the ASL syntax and the AML
3556 encoding for an input ASL operator. This effectively displays all known
3557 information about an ASL operator with one AcpiHelp invocation.
3558 2) Added substring match support (similar to a wildcard) for the -i
3559 (_HID/PNP IDs) option.
3561 iASL/Disassembler: Since this tool does not yet support execution on big-
3562 endian machines, added detection of endianness and an error message if
3563 execution is attempted on big-endian. Support for big-endian within iASL
3564 is a feature that is on the ACPICA to-be-done list.
3567 1) Remove option to extract binary files from an acpidump; this function
3568 is made obsolete by the AcpiXtract utility.
3569 2) General cleanup of open files and allocated buffers.
3572 ----------------------------------------
3573 14 February 2014. Summary of changes for version 20140214:
3575 1) ACPICA kernel-resident subsystem:
3577 Implemented a new mechanism to proactively prevent problems with ill-
3578 behaved reentrant control methods that create named ACPI objects. This
3579 behavior is illegal as per the ACPI specification, but is nonetheless
3580 frequently seen in the field. Previously, this could lead to an
3581 AE_ALREADY_EXISTS exception if the method was actually entered by more
3582 than one thread. This new mechanism detects such methods at table load
3583 time and marks them "serialized" to prevent reentrancy. A new global
3584 option, AcpiGbl_AutoSerializeMethods, has been added to disable this
3585 feature if desired. This mechanism and global option obsoletes and
3586 supersedes the previous AcpiGbl_SerializeAllMethods option.
3588 Added the "Windows 2013" string to the _OSI support. ACPICA will now
3589 respond TRUE to _OSI queries with this string. It is the stated policy of
3590 ACPICA to add new strings to the _OSI support as soon as possible after
3591 they are defined. See the full ACPICA _OSI policy which has been added to
3592 the utilities/utosi.c file.
3594 Hardened/updated the _PRT return value auto-repair code:
3595 1) Do not abort the repair on a single subpackage failure, continue to
3596 check all subpackages.
3597 2) Add check for the minimum subpackage length (4).
3598 3) Properly handle extraneous NULL package elements.
3600 Added support to avoid the possibility of infinite loops when traversing
3601 object linked lists. Never allow an infinite loop, even in the face of
3602 corrupted object lists.
3604 ACPICA headers: Deployed the use of #pragma pack(push) and #pragma
3605 pack(pop) directives to ensure that the ACPICA headers are independent of
3606 compiler settings or other host headers.
3608 Example Code and Data Size: These are the sizes for the OS-independent
3609 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3610 debug version of the code includes the debug output trace mechanism and
3611 has a much larger code and data size.
3614 Non-Debug Version: 96.5K Code, 27.2K Data, 123.7K Total
3615 Debug Version: 188.6K Code, 79.0K Data, 267.6K Total
3617 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
3618 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
3621 2) iASL Compiler/Disassembler and Tools:
3623 iASL/Table-compiler: Fixed a problem with support for the SPMI table. The
3624 first reserved field was incorrectly forced to have a value of zero. This
3625 change correctly forces the field to have a value of one. ACPICA BZ 1081.
3627 Debugger: Added missing support for the "Extra" and "Data" subobjects
3628 when displaying object data.
3630 Debugger: Added support to display entire object linked lists when
3631 displaying object data.
3633 iASL: Removed the obsolete -g option to obtain ACPI tables from the
3634 Windows registry. This feature has been superseded by the acpidump
3638 ----------------------------------------
3639 14 January 2014. Summary of changes for version 20140114:
3641 1) ACPICA kernel-resident subsystem:
3643 Updated all ACPICA copyrights and signons to 2014. Added the 2014
3644 copyright to all module headers and signons, including the standard Linux
3645 header. This affects virtually every file in the ACPICA core subsystem,
3646 iASL compiler, all ACPICA utilities, and the test suites.
3648 Improved parameter validation for AcpiInstallGpeBlock. Added the
3650 1) The incoming device handle refers to type ACPI_TYPE_DEVICE.
3651 2) There is not already a GPE block attached to the device.
3652 Likewise, with AcpiRemoveGpeBlock, ensure that the incoming object is a
3655 Correctly support "references" in the ACPI_OBJECT. This change fixes the
3656 support to allow references (namespace nodes) to be passed as arguments
3657 to control methods via the evaluate object interface. This is probably
3658 most useful for testing purposes, however.
3660 Improved support for 32/64 bit physical addresses in printf()-like
3661 output. This change improves the support for physical addresses in printf
3662 debug statements and other output on both 32-bit and 64-bit hosts. It
3663 consistently outputs the appropriate number of bytes for each host. The
3664 %p specifier is unsatisfactory since it does not emit uniform output on
3665 all hosts/clib implementations (on some, leading zeros are not supported,
3666 leading to difficult-to-read output).
3668 Example Code and Data Size: These are the sizes for the OS-independent
3669 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3670 debug version of the code includes the debug output trace mechanism and
3671 has a much larger code and data size.
3674 Non-Debug Version: 96.2K Code, 27.0K Data, 123.2K Total
3675 Debug Version: 187.5K Code, 78.3K Data, 265.8K Total
3677 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
3678 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
3681 2) iASL Compiler/Disassembler and Tools:
3683 iASL: Fix a possible fault when using the Connection() operator. Fixes a
3684 problem if the parent Field definition for the Connection operator refers
3685 to an operation region that does not exist. ACPICA BZ 1064.
3687 AcpiExec: Load of local test tables is now optional. The utility has the
3688 capability to load some various tables to test features of ACPICA.
3689 However, there are enough of them that the output of the utility became
3690 confusing. With this change, only the required local tables are displayed
3691 (RSDP, XSDT, etc.) along with the actual tables loaded via the command
3692 line specification. This makes the default output simler and easier to
3693 understand. The -el command line option restores the original behavior
3694 for testing purposes.
3696 AcpiExec: Added support for overlapping operation regions. This change
3697 expands the simulation of operation regions by supporting regions that
3698 overlap within the given address space. Supports SystemMemory and
3699 SystemIO. ASLTS test suite updated also. David Box. ACPICA BZ 1031.
3701 AcpiExec: Added region handler support for PCI_Config and EC spaces. This
3702 allows AcpiExec to simulate these address spaces, similar to the current
3703 support for SystemMemory and SystemIO.
3705 Debugger: Added new command to read/write/compare all namespace objects.
3706 The command "test objects" will exercise the entire namespace by writing
3707 new values to each data object, and ensuring that the write was
3708 successful. The original value is then restored and verified.
3710 Debugger: Added the "test predefined" command. This change makes this
3711 test public and puts it under the new "test" command. The test executes
3712 each and every predefined name within the current namespace.
3715 ----------------------------------------
3716 18 December 2013. Summary of changes for version 20131218:
3718 Global note: The ACPI 5.0A specification was released this month. There
3719 are no changes needed for ACPICA since this release of ACPI is an
3720 errata/clarification release. The specification is available at
3724 1) ACPICA kernel-resident subsystem:
3726 Added validation of the XSDT root table if it is present. Some older
3727 platforms contain an XSDT that is ill-formed or otherwise invalid (such
3728 as containing some or all entries that are NULL pointers). This change
3729 adds a new function to validate the XSDT before actually using it. If the
3730 XSDT is found to be invalid, ACPICA will now automatically fall back to
3731 using the RSDT instead. Original implementation by Zhao Yakui. Ported to
3732 ACPICA and enhanced by Lv Zheng and Bob Moore.
3734 Added a runtime option to ignore the XSDT and force the use of the RSDT.
3735 This change adds a runtime option that will force ACPICA to use the RSDT
3736 instead of the XSDT (AcpiGbl_DoNotUseXsdt). Although the ACPI spec
3737 requires that an XSDT be used instead of the RSDT, the XSDT has been
3738 found to be corrupt or ill-formed on some machines. Lv Zheng.
3740 Added a runtime option to favor 32-bit FADT register addresses over the
3741 64-bit addresses. This change adds an option to favor 32-bit FADT
3742 addresses when there is a conflict between the 32-bit and 64-bit versions
3743 of the same register. The default behavior is to use the 64-bit version
3744 in accordance with the ACPI specification. This can now be overridden via
3745 the AcpiGbl_Use32BitFadtAddresses flag. ACPICA BZ 885. Lv Zheng.
3747 During the change above, the internal "Convert FADT" and "Verify FADT"
3748 functions have been merged to simplify the code, making it easier to
3749 understand and maintain. ACPICA BZ 933.
3751 Improve exception reporting and handling for GPE block installation.
3752 Return an actual status from AcpiEvGetGpeXruptBlock and don't clobber the
3753 status when exiting AcpiEvInstallGpeBlock. ACPICA BZ 1019.
3755 Added helper macros to extract bus/segment numbers from the HEST table.
3756 This change adds two macros to extract the encoded bus and segment
3757 numbers from the HEST Bus field - ACPI_HEST_BUS and ACPI_HEST_SEGMENT.
3758 Betty Dall <betty.dall@hp.com>
3760 Removed the unused ACPI_FREE_BUFFER macro. This macro is no longer used
3761 by ACPICA. It is not a public macro, so it should have no effect on
3762 existing OSV code. Lv Zheng.
3764 Example Code and Data Size: These are the sizes for the OS-independent
3765 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3766 debug version of the code includes the debug output trace mechanism and
3767 has a much larger code and data size.
3770 Non-Debug Version: 96.1K Code, 27.0K Data, 123.1K Total
3771 Debug Version: 185.6K Code, 77.3K Data, 262.9K Total
3773 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
3774 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
3777 2) iASL Compiler/Disassembler and Tools:
3779 Disassembler: Improved pathname support for emitted External()
3780 statements. This change adds full pathname support for external names
3781 that have been resolved internally by the inclusion of additional ACPI
3782 tables (via the iASL -e option). Without this change, the disassembler
3783 can emit multiple externals for the same object, or it become confused
3784 when the Scope() operator is used on an external object. Overall, greatly
3785 improves the ability to actually recompile the emitted ASL code when
3786 objects a referenced across multiple ACPI tables. Reported by Michael
3787 Tsirkin (mst@redhat.com).
3789 Tests/ASLTS: Updated functional control suite to execute with no errors.
3790 David Box. Fixed several errors related to the testing of the interpreter
3791 slack mode. Lv Zheng.
3793 iASL: Added support to detect names that are declared within a control
3794 method, but are unused (these are temporary names that are only valid
3795 during the time the method is executing). A remark is issued for these
3796 cases. ACPICA BZ 1022.
3798 iASL: Added full support for the DBG2 table. Adds full disassembler,
3799 table compiler, and template generator support for the DBG2 table (Debug
3802 iASL: Added full support for the PCCT table, update the table definition.
3803 Updates the PCCT table definition in the actbl3.h header and adds table
3804 compiler and template generator support.
3806 iASL: Added an option to emit only error messages (no warnings/remarks).
3807 The -ve option will enable only error messages, warnings and remarks are
3808 suppressed. This can simplify debugging when only the errors are
3809 important, such as when an ACPI table is disassembled and there are many
3810 warnings and remarks -- but only the actual errors are of real interest.
3812 Example ACPICA code (source/tools/examples): Updated the example code so
3813 that it builds to an actual working program, not just example code. Added
3814 ACPI tables and execution of an example control method in the DSDT. Added
3815 makefile support for Unix generation.
3818 ----------------------------------------
3819 15 November 2013. Summary of changes for version 20131115:
3821 This release is available at https://acpica.org/downloads
3824 1) ACPICA kernel-resident subsystem:
3826 Resource Manager: Fixed loop termination for the "get AML length"
3827 function. The loop previously had an error termination on a NULL resource
3828 pointer, which can never happen since the loop simply increments a valid
3829 resource pointer. This fix changes the loop to terminate with an error on
3830 an invalid end-of-buffer condition. The problem can be seen as an
3831 infinite loop by callers to AcpiSetCurrentResources with an invalid or
3832 corrupted resource descriptor, or a resource descriptor that is missing
3833 an END_TAG descriptor. Reported by Dan Carpenter
3834 <dan.carpenter@oracle.com>. Lv Zheng, Bob Moore.
3836 Table unload and ACPICA termination: Delete all attached data objects
3837 during namespace node deletion. This fix updates namespace node deletion
3838 to delete the entire list of attached objects (attached via
3839 AcpiAttachObject) instead of just one of the attached items. ACPICA BZ
3840 1024. Tomasz Nowicki (tomasz.nowicki@linaro.org).
3842 ACPICA termination: Added support to delete all objects attached to the
3843 root namespace node. This fix deletes any and all objects that have been
3844 attached to the root node via AcpiAttachData. Previously, none of these
3845 objects were deleted. Reported by Tomasz Nowicki. ACPICA BZ 1026.
3847 Debug output: Do not emit the function nesting level for the in-kernel
3848 build. The nesting level is really only useful during a single-thread
3849 execution. Therefore, only enable this output for the AcpiExec utility.
3850 Also, only emit the thread ID when executing under AcpiExec (Context
3851 switches are still always detected and a message is emitted). ACPICA BZ
3854 Example Code and Data Size: These are the sizes for the OS-independent
3855 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3856 debug version of the code includes the debug output trace mechanism and
3857 has a much larger code and data size.
3860 Non-Debug Version: 95.9K Code, 27.0K Data, 122.9K Total
3861 Debug Version: 185.1K Code, 77.2K Data, 262.3K Total
3863 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
3864 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
3867 2) iASL Compiler/Disassembler and Tools:
3869 AcpiExec/Unix-OSL: Use <termios.h> instead of <termio.h>. This is the
3870 correct portable POSIX header for terminal control functions.
3872 Disassembler: Fixed control method invocation issues related to the use
3873 of the CondRefOf() operator. The problem is seen in the disassembly where
3874 control method invocations may not be disassembled properly if the
3875 control method name has been used previously as an argument to CondRefOf.
3876 The solution is to not attempt to emit an external declaration for the
3877 CondRefOf target (it is not necessary in the first place). This prevents
3878 disassembler object type confusion. ACPICA BZ 988.
3880 Unix Makefiles: Added an option to disable compiler optimizations and the
3881 _FORTIFY_SOURCE flag. Some older compilers have problems compiling ACPICA
3882 with optimizations (reportedly, gcc 4.4 for example). This change adds a
3883 command line option for make (NOOPT) that disables all compiler
3884 optimizations and the _FORTIFY_SOURCE compiler flag. The default
3885 optimization is -O2 with the _FORTIFY_SOURCE flag specified. ACPICA BZ
3886 1034. Lv Zheng, Bob Moore.
3888 Tests/ASLTS: Added options to specify individual test cases and modes.
3889 This allows testers running aslts.sh to optionally specify individual
3890 test modes and test cases. Also added an option to disable the forced
3891 generation of the ACPICA tools from source if desired. Lv Zheng.
3893 ----------------------------------------
3894 27 September 2013. Summary of changes for version 20130927:
3896 This release is available at https://acpica.org/downloads
3899 1) ACPICA kernel-resident subsystem:
3901 Fixed a problem with store operations to reference objects. This change
3902 fixes a problem where a Store operation to an ArgX object that contained
3904 reference to a field object did not complete the automatic dereference
3906 then write to the actual field object. Instead, the object type of the
3907 field object was inadvertently changed to match the type of the source
3908 operand. The new behavior will actually write to the field object (buffer
3909 field or field unit), thus matching the correct ACPI-defined behavior.
3911 Implemented support to allow the host to redefine individual OSL
3912 prototypes. This change enables the host to redefine OSL prototypes found
3913 in the acpiosxf.h file. This allows the host to implement OSL interfaces
3914 with a macro or inlined function. Further, it allows the host to add any
3915 additional required modifiers such as __iomem, __init, __exit, etc., as
3916 necessary on a per-interface basis. Enables maximum flexibility for the
3917 OSL interfaces. Lv Zheng.
3919 Hardcoded the access width for the FADT-defined reset register. The ACPI
3920 specification requires the reset register width to be 8 bits. ACPICA now
3921 hardcodes the width to 8 and ignores the FADT width value. This provides
3922 compatibility with other ACPI implementations that have allowed BIOS code
3923 with bad register width values to go unnoticed. Matthew Garett, Bob
3927 Changed the position/use of the ACPI_PRINTF_LIKE macro. This macro is
3929 in the OSL header (acpiosxf). The change modifies the position of this
3930 macro in each instance where it is used (AcpiDebugPrint, etc.) to avoid
3931 build issues if the OSL defines the implementation of the interface to be
3932 an inline stub function. Lv Zheng.
3934 Deployed a new macro ACPI_EXPORT_SYMBOL_INIT for the main ACPICA
3935 initialization interfaces. This change adds a new macro for the main init
3936 and terminate external interfaces in order to support hosts that require
3937 additional or different processing for these functions. Changed from
3938 ACPI_EXPORT_SYMBOL to ACPI_EXPORT_SYMBOL_INIT for these functions. Lv
3941 Cleaned up the memory allocation macros for configurability. In the
3943 case, the ACPI_ALLOCATE and related macros now resolve directly to their
3944 respective AcpiOs* OSL interfaces. Two options:
3945 1) The ACPI_ALLOCATE_ZEROED macro uses a simple local implementation by
3946 default, unless overridden by the USE_NATIVE_ALLOCATE_ZEROED define.
3947 2) For AcpiExec (and for debugging), the macros can optionally be
3949 to the local ACPICA interfaces that track each allocation (local tracking
3950 is used to immediately detect memory leaks).
3953 Simplified the configuration for ACPI_REDUCED_HARDWARE. Allows the kernel
3954 to predefine this macro to either TRUE or FALSE during the system build.
3956 Replaced __FUNCTION_ with __func__ in the gcc-specific header.
3958 Example Code and Data Size: These are the sizes for the OS-independent
3959 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
3960 debug version of the code includes the debug output trace mechanism and
3961 has a much larger code and data size.
3964 Non-Debug Version: 95.8K Code, 27.0K Data, 122.8K Total
3965 Debug Version: 185.2K Code, 77.2K Data, 262.4K Total
3967 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
3968 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
3971 2) iASL Compiler/Disassembler and Tools:
3973 iASL: Implemented wildcard support for the -e option. This simplifies use
3974 when there are many SSDTs that must be included to resolve external
3976 declarations. ACPICA BZ 1041. Example:
3977 iasl -e ssdt*.dat -d dsdt.dat
3979 AcpiExec: Add history/line-editing for Unix/Linux systems. This change
3980 adds a portable module that implements full history and limited line
3981 editing for Unix and Linux systems. It does not use readline() due to
3982 portability issues. Instead it uses the POSIX termio interface to put the
3983 terminal in raw input mode so that the various special keys can be
3985 (such as up/down-arrow for history support and left/right-arrow for line
3986 editing). Uses the existing debugger history mechanism. ACPICA BZ 1036.
3988 AcpiXtract: Add support to handle (ignore) "empty" lines containing only
3989 one or more spaces. This provides compatible with early or different
3990 versions of the AcpiDump utility. ACPICA BZ 1044.
3992 AcpiDump: Do not ignore tables that contain only an ACPI table header.
3993 Apparently, some BIOSs create SSDTs that contain an ACPI table header but
3994 no other data. This change adds support to dump these tables. Any tables
3995 shorter than the length of an ACPI table header remain in error (an error
3996 message is emitted). Reported by Yi Li.
3998 Debugger: Echo actual command along with the "unknown command" message.
4000 ----------------------------------------
4001 23 August 2013. Summary of changes for version 20130823:
4003 1) ACPICA kernel-resident subsystem:
4005 Implemented support for host-installed System Control Interrupt (SCI)
4006 handlers. Certain ACPI functionality requires the host to handle raw
4007 SCIs. For example, the "SCI Doorbell" that is defined for memory power
4008 state support requires the host device driver to handle SCIs to examine
4009 if the doorbell has been activated. Multiple SCI handlers can be
4010 installed to allow for future expansion. New external interfaces are
4011 AcpiInstallSciHandler, AcpiRemoveSciHandler; see the ACPICA reference for
4012 details. Lv Zheng, Bob Moore. ACPICA BZ 1032.
4014 Operation region support: Never locally free the handler "context"
4015 pointer. This change removes some dangerous code that attempts to free
4016 the handler context pointer in some (rare) circumstances. The owner of
4017 the handler owns this pointer and the ACPICA code should never touch it.
4018 Although not seen to be an issue in any kernel, it did show up as a
4019 problem (fault) under AcpiExec. Also, set the internal storage field for
4020 the context pointer to zero when the region is deactivated, simply for
4021 sanity. David Box. ACPICA BZ 1039.
4023 AcpiRead: On error, do not modify the return value target location. If an
4024 error happens in the middle of a split 32/32 64-bit I/O operation, do not
4025 modify the target of the return value pointer. Makes the code consistent
4026 with the rest of ACPICA. Bjorn Helgaas.
4028 Example Code and Data Size: These are the sizes for the OS-independent
4029 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4030 debug version of the code includes the debug output trace mechanism and
4031 has a much larger code and data size.
4034 Non-Debug Version: 96.7K Code, 27.1K Data, 123.9K Total
4035 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4037 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
4038 Debug Version: 185.4K Code, 77.1K Data, 262.5K Total
4041 2) iASL Compiler/Disassembler and Tools:
4043 AcpiDump: Implemented several new features and fixed some problems:
4044 1) Added support to dump the RSDP, RSDT, and XSDT tables.
4045 2) Added support for multiple table instances (SSDT, UEFI).
4046 3) Added option to dump "customized" (overridden) tables (-c).
4047 4) Fixed a problem where some table filenames were improperly
4049 5) Improved some error messages, removed some unnecessary messages.
4051 iASL: Implemented additional support for disassembly of ACPI tables that
4052 contain invocations of external control methods. The -fe<file> option
4053 allows the import of a file that specifies the external methods along
4054 with the required number of arguments for each -- allowing for the
4055 correct disassembly of the table. This is a workaround for a limitation
4056 of AML code where the disassembler often cannot determine the number of
4057 arguments required for an external control method and generates incorrect
4058 ASL code. See the iASL reference for details. ACPICA BZ 1030.
4060 Debugger: Implemented a new command (paths) that displays the full
4061 pathnames (namepaths) and object types of all objects in the namespace.
4062 This is an alternative to the namespace command.
4064 Debugger: Implemented a new command (sci) that invokes the SCI dispatch
4065 mechanism and any installed handlers.
4067 iASL: Fixed a possible segfault for "too many parent prefixes" condition.
4068 This can occur if there are too many parent prefixes in a namepath (for
4069 example, ^^^^^^PCI0.ECRD). ACPICA BZ 1035.
4071 Application OSLs: Set the return value for the PCI read functions. These
4072 functions simply return AE_OK, but should set the return value to zero
4073 also. This change implements this. ACPICA BZ 1038.
4075 Debugger: Prevent possible command line buffer overflow. Increase the
4076 size of a couple of the debugger line buffers, and ensure that overflow
4077 cannot happen. ACPICA BZ 1037.
4079 iASL: Changed to abort immediately on serious errors during the parsing
4080 phase. Due to the nature of ASL, there is no point in attempting to
4081 compile these types of errors, and they typically end up causing a
4082 cascade of hundreds of errors which obscure the original problem.
4084 ----------------------------------------
4085 25 July 2013. Summary of changes for version 20130725:
4087 1) ACPICA kernel-resident subsystem:
4089 Fixed a problem with the DerefOf operator where references to FieldUnits
4090 and BufferFields incorrectly returned the parent object, not the actual
4091 value of the object. After this change, a dereference of a FieldUnit
4092 reference results in a read operation on the field to get the value, and
4093 likewise, the appropriate BufferField value is extracted from the target
4096 Fixed a problem where the _WAK method could cause a fault under these
4097 circumstances: 1) Interpreter slack mode was not enabled, and 2) the _WAK
4098 method returned no value. The problem is rarely seen because most kernels
4099 run ACPICA in slack mode.
4101 For the DerefOf operator, a fatal error now results if an attempt is made
4102 to dereference a reference (created by the Index operator) to a NULL
4103 package element. Provides compatibility with other ACPI implementations,
4104 and this behavior will be added to a future version of the ACPI
4107 The ACPI Power Management Timer (defined in the FADT) is now optional.
4108 This provides compatibility with other ACPI implementations and will
4109 appear in the next version of the ACPI specification. If there is no PM
4110 Timer on the platform, AcpiGetTimer returns AE_SUPPORT. An address of
4111 zero in the FADT indicates no PM timer.
4113 Implemented a new interface for _OSI support, AcpiUpdateInterfaces. This
4114 allows the host to globally enable/disable all vendor strings, all
4115 feature strings, or both. Intended to be primarily used for debugging
4116 purposes only. Lv Zheng.
4118 Expose the collected _OSI data to the host via a global variable. This
4119 data tracks the highest level vendor ID that has been invoked by the BIOS
4120 so that the host (and potentially ACPICA itself) can change behaviors
4121 based upon the age of the BIOS.
4123 Example Code and Data Size: These are the sizes for the OS-independent
4124 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4125 debug version of the code includes the debug output trace mechanism and
4126 has a much larger code and data size.
4129 Non-Debug Version: 96.2K Code, 27.1K Data, 123.3K Total
4130 Debug Version: 184.4K Code, 76.8K Data, 261.2K Total
4132 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
4133 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
4136 2) iASL Compiler/Disassembler and Tools:
4138 iASL: Created the following enhancements for the -so option (create
4140 1)Add offsets for the last nameseg in each namepath for every supported
4142 2)Add support for Processor, Device, Thermal Zone, and Scope objects
4143 3)Add the actual AML opcode for the parent object of every supported
4145 4)Add support for the ZERO/ONE/ONES AML opcodes for integer objects
4147 Disassembler: Emit all unresolved external symbols in a single block.
4148 These are external references to control methods that could not be
4149 resolved, and thus, the disassembler had to make a guess at the number of
4152 iASL: The argument to the -T option (create table template) is now
4153 optional. If not specified, the default table is a DSDT, typically the
4156 ----------------------------------------
4157 26 June 2013. Summary of changes for version 20130626:
4159 1) ACPICA kernel-resident subsystem:
4161 Fixed an issue with runtime repair of the _CST object. Null or invalid
4162 elements were not always removed properly. Lv Zheng.
4164 Removed an arbitrary restriction of 256 GPEs per GPE block (such as the
4165 FADT-defined GPE0 and GPE1). For GPE0, GPE1, and each GPE Block Device,
4166 the maximum number of GPEs is 1016. Use of multiple GPE block devices
4167 makes the system-wide number of GPEs essentially unlimited.
4169 Example Code and Data Size: These are the sizes for the OS-independent
4170 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4171 debug version of the code includes the debug output trace mechanism and
4172 has a much larger code and data size.
4175 Non-Debug Version: 95.9K Code, 26.9K Data, 122.8K Total
4176 Debug Version: 184.1K Code, 76.7K Data, 260.8K Total
4178 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
4179 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
4182 2) iASL Compiler/Disassembler and Tools:
4184 Portable AcpiDump: Implemented full support for the Linux and FreeBSD
4185 hosts. Now supports Linux, FreeBSD, and Windows.
4187 Disassembler: Added some missing types for the HEST and EINJ tables: "Set
4188 Error Type With Address", "CMCI", "MCE", and "Flush Cacheline".
4190 iASL/Preprocessor: Implemented full support for nested
4191 #if/#else/#elif/#endif blocks. Allows arbitrary depth of nested blocks.
4193 Disassembler: Expanded maximum output string length to 64K. Was 256 bytes
4194 max. The original purpose of this constraint was to limit the amount of
4195 debug output. However, the string function in question (UtPrintString) is
4196 now used for the disassembler also, where 256 bytes is insufficient.
4197 Reported by RehabMan@GitHub.
4199 iASL/DataTables: Fixed some problems and issues with compilation of DMAR
4200 tables. ACPICA BZ 999. Lv Zheng.
4202 iASL: Fixed a couple of error exit issues that could result in a "Could
4203 not delete <file>" message during ASL compilation.
4205 AcpiDump: Allow "FADT" and "MADT" as valid table signatures, even though
4206 the actual signatures for these tables are "FACP" and "APIC",
4209 AcpiDump: Added support for multiple UEFI tables. Only SSDT and UEFI
4210 tables are allowed to have multiple instances.
4212 ----------------------------------------
4213 17 May 2013. Summary of changes for version 20130517:
4215 1) ACPICA kernel-resident subsystem:
4217 Fixed a regression introduced in version 20130328 for _INI methods. This
4218 change fixes a problem introduced in 20130328 where _INI methods are no
4219 longer executed properly because of a memory block that was not
4220 initialized correctly. ACPICA BZ 1016. Tomasz Nowicki
4221 <tomasz.nowicki@linaro.org>.
4223 Fixed a possible problem with the new extended sleep registers in the
4225 5.0 FADT. Do not use these registers (even if populated) unless the HW-
4226 reduced bit is set in the FADT (as per the ACPI specification). ACPICA BZ
4229 Implemented return value repair code for _CST predefined objects: Sort
4231 list and detect/remove invalid entries. ACPICA BZ 890. Lv Zheng.
4233 Implemented a debug-only option to disable loading of SSDTs from the
4234 RSDT/XSDT during ACPICA initialization. This can be useful for debugging
4235 ACPI problems on some machines. Set AcpiGbl_DisableSsdtTableLoad in
4236 acglobal.h - ACPICA BZ 1005. Lv Zheng.
4238 Fixed some issues in the ACPICA initialization and termination code:
4239 Tomasz Nowicki <tomasz.nowicki@linaro.org>
4240 1) Clear events initialized flag upon event component termination. ACPICA
4242 2) Fixed a possible memory leak in GPE init error path. ACPICA BZ 1018.
4243 3) Delete global lock pending lock during termination. ACPICA BZ 1012.
4244 4) Clear debug buffer global on termination to prevent possible multiple
4245 delete. ACPICA BZ 1010.
4247 Standardized all switch() blocks across the entire source base. After
4249 years, different formatting for switch() had crept in. This change makes
4250 the formatting of every switch block identical. ACPICA BZ 997. Chao Guan.
4252 Split some files to enhance ACPICA modularity and configurability:
4253 1) Split buffer dump routines into utilities/utbuffer.c
4254 2) Split internal error message routines into utilities/uterror.c
4255 3) Split table print utilities into tables/tbprint.c
4256 4) Split iASL command-line option processing into asloptions.c
4258 Makefile enhancements:
4259 1) Support for all new files above.
4260 2) Abort make on errors from any subcomponent. Chao Guan.
4261 3) Add build support for Apple Mac OS X. Liang Qi.
4263 Example Code and Data Size: These are the sizes for the OS-independent
4264 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4265 debug version of the code includes the debug output trace mechanism and
4266 has a much larger code and data size.
4269 Non-Debug Version: 96.0K Code, 27.0K Data, 123.0K Total
4270 Debug Version: 184.1K Code, 76.8K Data, 260.9K Total
4272 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
4273 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
4276 2) iASL Compiler/Disassembler and Tools:
4278 New utility: Implemented an easily portable version of the acpidump
4279 utility to extract ACPI tables from the system (or a file) in an ASCII
4281 dump format. The top-level code implements the various command line
4282 options, file I/O, and table dump routines. To port to a new host, only
4283 three functions need to be implemented to get tables -- since this
4284 functionality is OS-dependent. See the tools/acpidump/apmain.c module and
4285 the ACPICA reference for porting instructions. ACPICA BZ 859. Notes:
4286 1) The Windows version obtains the ACPI tables from the Registry.
4287 2) The Linux version is under development.
4288 3) Other hosts - If an OS-dependent module is submitted, it will be
4289 distributed with ACPICA.
4291 iASL: Fixed a regression for -D preprocessor option (define symbol). A
4292 restructuring/change to the initialization sequence caused this option to
4293 no longer work properly.
4295 iASL: Implemented a mechanism to disable specific warnings and remarks.
4296 Adds a new command line option, "-vw <messageid> as well as "#pragma
4297 disable <messageid>". ACPICA BZ 989. Chao Guan, Bob Moore.
4299 iASL: Fix for too-strict package object validation. The package object
4300 validation for return values from the predefined names is a bit too
4301 strict, it does not allow names references within the package (which will
4302 be resolved at runtime.) These types of references cannot be validated at
4303 compile time. This change ignores named references within package objects
4304 for names that return or define static packages.
4306 Debugger: Fixed the 80-character command line limitation for the History
4307 command. Now allows lines of arbitrary length. ACPICA BZ 1000. Chao Guan.
4309 iASL: Added control method and package support for the -so option
4310 (generates AML offset table for BIOS support.)
4312 iASL: issue a remark if a non-serialized method creates named objects. If
4313 a thread blocks within the method for any reason, and another thread
4314 enters the method, the method will fail because an attempt will be made
4316 create the same (named) object twice. In this case, issue a remark that
4317 the method should be marked serialized. NOTE: may become a warning later.
4320 ----------------------------------------
4321 18 April 2013. Summary of changes for version 20130418:
4323 1) ACPICA kernel-resident subsystem:
4325 Fixed a possible buffer overrun during some rare but specific field unit
4326 read operations. This overrun can only happen if the DSDT version is 1 --
4327 meaning that all AML integers are 32 bits -- and the field length is
4328 between 33 and 55 bits long. During the read, an internal buffer object
4330 created for the field unit because the field is larger than an integer
4332 bits). However, in this case, the buffer will be incorrectly written
4333 beyond the end because the buffer length is less than the internal
4335 of 64 bits (8 bytes) long. The buffer will be either 5, 6, or 7 bytes
4336 long, but a full 8 bytes will be written.
4338 Updated the Embedded Controller "orphan" _REG method support. This refers
4339 to _REG methods under the EC device that have no corresponding operation
4340 region. This is allowed by the ACPI specification. This update removes a
4341 dependency on the existence an ECDT table. It will execute an orphan _REG
4342 method as long as the operation region handler for the EC is installed at
4343 the EC device node and not the namespace root. Rui Zhang (original
4344 update), Bob Moore (update/integrate).
4346 Implemented run-time argument typechecking for all predefined ACPI names
4347 (_STA, _BIF, etc.) This change performs object typechecking on all
4348 incoming arguments for all predefined names executed via
4349 AcpiEvaluateObject. This ensures that ACPI-related device drivers are
4350 passing correct object types as well as the correct number of arguments
4351 (therefore identifying any issues immediately). Also, the ASL/namespace
4352 definition of the predefined name is checked against the ACPI
4353 specification for the proper argument count. Adds one new file,
4356 Changed an exception code for the ASL UnLoad() operator. Changed the
4357 exception code for the case where the input DdbHandle is invalid, from
4358 AE_BAD_PARAMETER to the more appropriate AE_AML_OPERAND_TYPE.
4360 Unix/Linux makefiles: Removed the use of the -O2 optimization flag in the
4361 global makefile. The use of this flag causes compiler errors on earlier
4362 versions of GCC, so it has been removed for compatibility.
4364 Miscellaneous cleanup:
4365 1) Removed some unused/obsolete macros
4366 2) Fixed a possible memory leak in the _OSI support
4367 3) Removed an unused variable in the predefined name support
4368 4) Windows OSL: remove obsolete reference to a memory list field
4370 Example Code and Data Size: These are the sizes for the OS-independent
4371 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4372 debug version of the code includes the debug output trace mechanism and
4373 has a much larger code and data size.
4376 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
4377 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
4379 Non-Debug Version: 95.6K Code, 26.8K Data, 122.4K Total
4380 Debug Version: 183.5K Code, 76.6K Data, 260.1K Total
4383 2) iASL Compiler/Disassembler and Tools:
4385 AcpiExec: Added installation of a handler for the SystemCMOS address
4386 space. This prevents control method abort if a method accesses this
4389 AcpiExec: Added support for multiple EC devices, and now install EC
4390 operation region handler(s) at the actual EC device instead of the
4391 namespace root. This reflects the typical behavior of host operating
4394 AcpiExec: Updated to ensure that all operation region handlers are
4395 installed before the _REG methods are executed. This prevents a _REG
4396 method from aborting if it accesses an address space has no handler.
4397 AcpiExec installs a handler for every possible address space.
4399 Debugger: Enhanced the "handlers" command to display non-root handlers.
4400 This change enhances the handlers command to display handlers associated
4401 with individual devices throughout the namespace, in addition to the
4402 currently supported display of handlers associated with the root
4406 ASL Test Suite: Several test suite errors have been identified and
4407 resolved, reducing the total error count during execution. Chao Guan.
4409 ----------------------------------------
4410 28 March 2013. Summary of changes for version 20130328:
4412 1) ACPICA kernel-resident subsystem:
4414 Fixed several possible race conditions with the internal object reference
4415 counting mechanism. Some of the external ACPICA interfaces update object
4416 reference counts without holding the interpreter or namespace lock. This
4417 change adds a spinlock to protect reference count updates on the internal
4418 ACPICA objects. Reported by and with assistance from Andriy Gapon
4421 FADT support: Removed an extraneous warning for very large GPE register
4422 sets. This change removes a size mismatch warning if the legacy length
4423 field for a GPE register set is larger than the 64-bit GAS structure can
4424 accommodate. GPE register sets can be larger than the 255-bit width
4425 limitation of the GAS structure. Linn Crosetto (linn@hp.com).
4427 _OSI Support: handle any errors from AcpiOsAcquireMutex. Check for error
4428 return from this interface. Handles a possible timeout case if
4429 ACPI_WAIT_FOREVER is modified by the host to be a value less than
4430 "forever". Jung-uk Kim.
4432 Predefined name support: Add allowed/required argument type information
4434 the master predefined info table. This change adds the infrastructure to
4435 enable typechecking on incoming arguments for all predefined
4436 methods/objects. It does not actually contain the code that will fully
4437 utilize this information, this is still under development. Also condenses
4438 some duplicate code for the predefined names into a new module,
4439 utilities/utpredef.c
4441 Example Code and Data Size: These are the sizes for the OS-independent
4442 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4443 debug version of the code includes the debug output trace mechanism and
4444 has a much larger code and data size.
4447 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
4448 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
4450 Non-Debug Version: 95.2K Code, 26.4K Data, 121.6K Total
4451 Debug Version: 183.0K Code, 76.0K Data, 259.0K Total
4454 2) iASL Compiler/Disassembler and Tools:
4456 iASL: Implemented a new option to simplify the development of ACPI-
4458 BIOS code. Adds support for a new "offset table" output file. The -so
4459 option will create a C table containing the AML table offsets of various
4460 named objects in the namespace so that BIOS code can modify them easily
4462 boot time. This can simplify BIOS runtime code by eliminating expensive
4463 searches for "magic values", enhancing boot times and adding greater
4464 reliability. With assistance from Lee Hamel.
4466 iASL: Allow additional predefined names to return zero-length packages.
4467 Now, all predefined names that are defined by the ACPI specification to
4468 return a "variable-length package of packages" are allowed to return a
4469 zero length top-level package. This allows the BIOS to tell the host that
4470 the requested feature is not supported, and supports existing BIOS/ASL
4473 iASL: Changed the "result not used" warning to an error. This is the case
4474 where an ASL operator is effectively a NOOP because the result of the
4475 operation is not stored anywhere. For example:
4477 There is no target (missing 3rd argument), nor is the function return
4478 value used. This is potentially a very serious problem -- since the code
4479 was probably intended to do something, but for whatever reason, the value
4480 was not stored. Therefore, this issue has been upgraded from a warning to
4483 AcpiHelp: Added allowable/required argument types to the predefined names
4484 info display. This feature utilizes the recent update to the predefined
4485 names table (above).
4487 ----------------------------------------
4488 14 February 2013. Summary of changes for version 20130214:
4490 1) ACPICA Kernel-resident Subsystem:
4492 Fixed a possible regression on some hosts: Reinstated the safe return
4493 macros (return_ACPI_STATUS, etc.) that ensure that the argument is
4494 evaluated only once. Although these macros are not needed for the ACPICA
4495 code itself, they are often used by ACPI-related host device drivers
4497 the safe feature may be necessary.
4499 Fixed several issues related to the ACPI 5.0 reduced hardware support
4500 (SOC): Now ensure that if the platform declares itself as hardware-
4502 via the FADT, the following functions become NOOPs (and always return
4503 AE_OK) because ACPI is always enabled by definition on these machines:
4509 Dynamic Object Repair: Implemented additional runtime repairs for
4510 predefined name return values. Both of these repairs can simplify code in
4511 the related device drivers that invoke these methods:
4512 1) For the _STR and _MLS names, automatically repair/convert an ASCII
4513 string to a Unicode buffer.
4514 2) For the _CRS, _PRS, and _DMA names, return a resource descriptor with
4516 lone end tag descriptor in the following cases: A Return(0) was executed,
4517 a null buffer was returned, or no object at all was returned (non-slack
4518 mode only). Adds a new file, nsconvert.c
4519 ACPICA BZ 998. Bob Moore, Lv Zheng.
4521 Resource Manager: Added additional code to prevent possible infinite
4523 while traversing corrupted or ill-formed resource template buffers. Check
4524 for zero-length resource descriptors in all code that loops through
4525 resource templates (the length field is used to index through the
4526 template). This change also hardens the external AcpiWalkResources and
4527 AcpiWalkResourceBuffer interfaces.
4529 Local Cache Manager: Enhanced the main data structure to eliminate an
4530 unnecessary mechanism to access the next object in the list. Actually
4531 provides a small performance enhancement for hosts that use the local
4532 ACPICA cache manager. Jung-uk Kim.
4534 Example Code and Data Size: These are the sizes for the OS-independent
4535 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4536 debug version of the code includes the debug output trace mechanism and
4537 has a much larger code and data size.
4540 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
4541 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
4543 Non-Debug Version: 95.0K Code, 25.9K Data, 120.9K Total
4544 Debug Version: 182.9K Code, 75.6K Data, 258.5K Total
4547 2) iASL Compiler/Disassembler and Tools:
4549 iASL/Disassembler: Fixed several issues with the definition of the ACPI
4550 5.0 RASF table (RAS Feature Table). This change incorporates late changes
4551 that were made to the ACPI 5.0 specification.
4553 iASL/Disassembler: Added full support for the following new ACPI tables:
4554 1) The MTMR table (MID Timer Table)
4555 2) The VRTC table (Virtual Real Time Clock Table).
4556 Includes header file, disassembler, table compiler, and template support
4559 iASL: Implemented compile-time validation of package objects returned by
4560 predefined names. This new feature validates static package objects
4561 returned by the various predefined names defined to return packages. Both
4562 object types and package lengths are validated, for both parent packages
4563 and sub-packages, if any. The code is similar in structure and behavior
4565 the runtime repair mechanism within the AML interpreter and uses the
4566 existing predefined name information table. Adds a new file, aslprepkg.c.
4569 iASL: Implemented auto-detection of binary ACPI tables for disassembly.
4570 This feature detects a binary file with a valid ACPI table header and
4571 invokes the disassembler automatically. Eliminates the need to
4572 specifically invoke the disassembler with the -d option. ACPICA BZ 862.
4574 iASL/Disassembler: Added several warnings for the case where there are
4575 unresolved control methods during the disassembly. This can potentially
4576 cause errors when the output file is compiled, because the disassembler
4577 assumes zero method arguments in these cases (it cannot determine the
4578 actual number of arguments without resolution/definition of the method).
4580 Debugger: Added support to display all resources with a single command.
4581 Invocation of the resources command with no arguments will now display
4583 resources within the current namespace.
4585 AcpiHelp: Added descriptive text for each ACPICA exception code displayed
4588 ----------------------------------------
4589 17 January 2013. Summary of changes for version 20130117:
4591 1) ACPICA Kernel-resident Subsystem:
4593 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
4594 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
4595 objects to return a package containing one integer, most BIOS code
4597 two integers and the previous code reflects that. However, we also need
4599 support BIOS code that actually implements to the ACPI spec, and this
4600 change reflects this.
4602 Fixed two issues with the ACPI_DEBUG_PRINT macros:
4603 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
4604 C compilers that require this support.
4605 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
4606 ACPI_DEBUG is already used by many of the various hosts.
4608 Updated all ACPICA copyrights and signons to 2013. Added the 2013
4609 copyright to all module headers and signons, including the standard Linux
4610 header. This affects virtually every file in the ACPICA core subsystem,
4611 iASL compiler, all ACPICA utilities, and the test suites.
4613 Example Code and Data Size: These are the sizes for the OS-independent
4614 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4615 debug version of the code includes the debug output trace mechanism and
4616 has a much larger code and data size.
4619 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
4620 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
4622 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
4623 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
4626 2) iASL Compiler/Disassembler and Tools:
4628 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
4629 prevent a possible fault on some hosts. Some C libraries modify the arg
4630 pointer parameter to vfprintf making it difficult to call it twice in the
4631 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
4632 does not affect the Windows OSL since the Win C library does not modify
4633 the arg pointer. Chao Guan, Bob Moore.
4635 iASL: Fixed a possible infinite loop when the maximum error count is
4636 reached. If an output file other than the .AML file is specified (such as
4637 a listing file), and the maximum number of errors is reached, do not
4638 attempt to flush data to the output file(s) as the compiler is aborting.
4639 This can cause an infinite loop as the max error count code essentially
4640 keeps calling itself.
4642 iASL/Disassembler: Added an option (-in) to ignore NOOP
4644 Implemented for both the compiler and the disassembler. Often, the NOOP
4645 opcode is used as padding for packages that are changed dynamically by
4647 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
4648 errors. This option causes the disassembler to ignore all NOOP opcodes
4649 (0xA3), and it also causes the compiler to ignore all ASL source code
4653 Debugger: Enhanced the Sleep command to execute all sleep states. This
4654 change allows Sleep to be invoked with no arguments and causes the
4655 debugger to execute all of the sleep states, 0-5, automatically.
4657 ----------------------------------------
4658 20 December 2012. Summary of changes for version 20121220:
4660 1) ACPICA Kernel-resident Subsystem:
4662 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
4663 alternate entry point for AcpiWalkResources and improves the usability of
4664 the resource manager by accepting as input a buffer containing the output
4665 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
4666 input buffer is not deleted by this interface so that it can be used by
4667 the host later. See the ACPICA reference for details.
4669 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
4670 (DSDT version < 2). The constant will be truncated and this warning
4671 reflects that behavior.
4673 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
4674 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
4675 both get and set the new wake bit in these descriptors, separately from
4676 the existing share bit. Reported by Aaron Lu.
4678 Interpreter: Fix Store() when an implicit conversion is not possible. For
4679 example, in the cases such as a store of a string to an existing package
4680 object, implement the store as a CopyObject(). This is a small departure
4681 from the ACPI specification which states that the control method should
4683 aborted in this case. However, the ASLTS suite depends on this behavior.
4685 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
4686 macros: check if debug output is currently enabled as soon as possible to
4687 minimize performance impact if debug is in fact not enabled.
4689 Source code restructuring: Cleanup to improve modularity. The following
4690 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
4691 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
4692 Associated makefiles and project files have been updated.
4694 Changed an exception code for LoadTable operator. For the case where one
4695 of the input strings is too long, change the returned exception code from
4696 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
4698 Fixed a possible memory leak in dispatcher error path. On error, delete
4699 the mutex object created during method mutex creation. Reported by
4700 tim.gardner@canonical.com.
4702 Example Code and Data Size: These are the sizes for the OS-independent
4703 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4704 debug version of the code includes the debug output trace mechanism and
4705 has a much larger code and data size.
4708 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
4709 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
4711 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
4712 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
4715 2) iASL Compiler/Disassembler and Tools:
4717 iASL: Disallow a method call as argument to the ObjectType ASL operator.
4718 This change tracks an errata to the ACPI 5.0 document. The AML grammar
4719 will not allow the interpreter to differentiate between a method and a
4720 method invocation when these are used as an argument to the ObjectType
4721 operator. The ACPI specification change is to disallow a method
4723 (UserTerm) for the ObjectType operator.
4725 Finish support for the TPM2 and CSRT tables in the headers, table
4726 compiler, and disassembler.
4728 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
4729 always expires immediately if the semaphore is not available. The
4731 code was using a relative-time timeout, but sem_timedwait requires the
4733 of an absolute time.
4735 iASL: Added a remark if the Timer() operator is used within a 32-bit
4736 table. This operator returns a 64-bit time value that will be truncated
4737 within a 32-bit table.
4739 iASL Source code restructuring: Cleanup to improve modularity. The
4740 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
4741 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
4745 ----------------------------------------
4746 14 November 2012. Summary of changes for version 20121114:
4748 1) ACPICA Kernel-resident Subsystem:
4750 Implemented a performance enhancement for ACPI/AML Package objects. This
4751 change greatly increases the performance of Package objects within the
4752 interpreter. It changes the processing of reference counts for packages
4754 optimizing for the most common case where the package sub-objects are
4755 either Integers, Strings, or Buffers. Increases the overall performance
4757 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by
4759 Chao Guan. ACPICA BZ 943.
4761 Implemented and deployed common macros to extract flag bits from resource
4762 descriptors. Improves readability and maintainability of the code. Fixes
4764 problem with the UART serial bus descriptor for the number of data bits
4765 flags (was incorrectly 2 bits, should be 3).
4767 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
4768 of the macros and changed the SETx macros to the style of (destination,
4769 source). Also added ACPI_CASTx companion macros. Lv Zheng.
4771 Example Code and Data Size: These are the sizes for the OS-independent
4772 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4773 debug version of the code includes the debug output trace mechanism and
4774 has a much larger code and data size.
4777 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
4778 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
4780 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
4781 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
4784 2) iASL Compiler/Disassembler and Tools:
4786 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
4787 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
4788 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
4790 Disassembler: Fixed a problem with external declaration generation. Fixes
4791 a problem where an incorrect pathname could be generated for an external
4792 declaration if the original reference to the object includes leading
4793 carats (^). ACPICA BZ 984.
4795 Debugger: Completed a major update for the Disassemble<method> command.
4796 This command was out-of-date and did not properly disassemble control
4797 methods that had any reasonable complexity. This fix brings the command
4799 to the same level as the rest of the disassembler. Adds one new file,
4800 dmdeferred.c, which is existing code that is now common with the main
4801 disassembler and the debugger disassemble command. ACPICA MZ 978.
4803 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
4804 Newer versions of Bison emit this prototype, so moved the prototype out
4806 the iASL header to where it is actually used in order to avoid a
4810 iASL/Tools: Standardized use of the stream I/O functions:
4811 1) Ensure check for I/O error after every fopen/fread/fwrite
4812 2) Ensure proper order of size/count arguments for fread/fwrite
4813 3) Use test of (Actual != Requested) after all fwrite, and most fread
4814 4) Standardize I/O error messages
4815 Improves reliability and maintainability of the code. Bob Moore, Lv
4819 Disassembler: Prevent duplicate External() statements. During generation
4820 of external statements, detect similar pathnames that are actually
4821 duplicates such as these:
4824 Remove all leading '\' characters from pathnames during the external
4825 statement generation so that duplicates will be detected and tossed.
4828 Tools: Replace low-level I/O with stream I/O functions. Replace
4829 open/read/write/close with the stream I/O equivalents
4830 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
4833 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
4834 name header so that AcpiXtract recognizes the output file/table.
4836 iASL: Remove obsolete -2 option flag. Originally intended to force the
4837 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
4838 and the entire concept is now obsolete.
4840 ----------------------------------------
4841 18 October 2012. Summary of changes for version 20121018:
4844 1) ACPICA Kernel-resident Subsystem:
4846 Updated support for the ACPI 5.0 MPST table. Fixes some problems
4847 introduced by late changes to the table as it was added to the ACPI 5.0
4848 specification. Includes header, disassembler, and data table compiler
4849 support as well as a new version of the MPST template.
4851 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
4852 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
4853 methods: _HID, _CID, and _UID.
4855 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
4856 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
4857 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
4858 names for their various drivers. Affects the AcpiGetObjectInfo external
4859 interface, and other internal interfaces as well.
4861 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
4862 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
4863 on machines that support non-aligned transfers. Optimizes for this case
4864 rather than using a strncpy. With assistance from Zheng Lv.
4866 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
4867 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
4869 Added a new debug print message for AML mutex objects that are force-
4870 released. At control method termination, any currently acquired mutex
4871 objects are force-released. Adds a new debug-only message for each one
4874 Audited/updated all ACPICA return macros and the function debug depth
4875 counter: 1) Ensure that all functions that use the various TRACE macros
4876 also use the appropriate ACPICA return macros. 2) Ensure that all normal
4877 return statements surround the return expression (value) with parens to
4878 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
4879 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
4881 Global source code changes/maintenance: All extra lines at the start and
4882 end of each source file have been removed for consistency. Also, within
4883 comments, all new sentences start with a single space instead of a double
4884 space, again for consistency across the code base.
4886 Example Code and Data Size: These are the sizes for the OS-independent
4887 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4888 debug version of the code includes the debug output trace mechanism and
4889 has a much larger code and data size.
4892 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
4893 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
4895 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
4896 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
4899 2) iASL Compiler/Disassembler and Tools:
4901 AcpiExec: Improved the algorithm used for memory leak/corruption
4902 detection. Added some intelligence to the code that maintains the global
4903 list of allocated memory. The list is now ordered by allocated memory
4904 address, significantly improving performance. When running AcpiExec on
4905 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
4906 on the platform and/or the environment. Note, this performance
4907 enhancement affects the AcpiExec utility only, not the kernel-resident
4910 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
4911 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
4912 incorrect table offset reported for invalid opcodes. Report the original
4913 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
4915 Disassembler: Enhanced the -vt option to emit the binary table data in
4916 hex format to assist with debugging.
4918 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
4919 size of file structure. Colin Ian King.
4921 ----------------------------------------
4922 13 September 2012. Summary of changes for version 20120913:
4925 1) ACPICA Kernel-resident Subsystem:
4927 ACPI 5.0: Added two new notify types for the Hardware Error Notification
4928 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
4932 Table Manager: Merged/removed duplicate code in the root table resize
4933 functions. One function is external, the other is internal. Lv Zheng,
4937 Makefiles: Completely removed the obsolete "Linux" makefiles under
4938 acpica/generate/linux. These makefiles are obsolete and have been
4941 the generic unix makefiles under acpica/generate/unix.
4943 Makefiles: Ensure that binary files always copied properly. Minor rule
4945 to ensure that the final binary output files are always copied up to the
4946 appropriate binary directory (bin32 or bin64.)
4948 Example Code and Data Size: These are the sizes for the OS-independent
4949 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
4951 version of the code includes the debug output trace mechanism and has a
4953 larger code and data size.
4956 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
4957 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
4959 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
4960 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
4963 2) iASL Compiler/Disassembler and Tools:
4965 Disassembler: Fixed a possible fault during the disassembly of resource
4966 descriptors when a second parse is required because of the invocation of
4967 external control methods within the table. With assistance from
4968 adq@lidskialf.net. ACPICA BZ 976.
4970 iASL: Fixed a namepath optimization problem. An error can occur if the
4972 node that contains the namepath to be optimized does not have a parent
4974 that is a named object. This change fixes the problem.
4976 iASL: Fixed a regression where the AML file is not deleted on errors. The
4978 output file should be deleted if there are any errors during the
4981 only exception is if the -f (force output) option is used. ACPICA BZ 974.
4983 iASL: Added a feature to automatically increase internal line buffer
4985 Via realloc(), automatically increase the internal line buffer sizes as
4986 necessary to support very long source code lines. The current version of
4988 preprocessor requires a buffer long enough to contain full source code
4990 This change increases the line buffer(s) if the input lines go beyond the
4991 current buffer size. This eliminates errors that occurred when a source
4993 line was longer than the buffer.
4995 iASL: Fixed a problem with constant folding in method declarations. The
4996 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
4998 Type3 opcode was used.
5000 Debugger: Improved command help support. For incorrect argument count,
5002 full help for the command. For help command itself, allow an argument to
5005 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
5006 errors during execution of the suite. Guan Chao.
5008 ----------------------------------------
5009 16 August 2012. Summary of changes for version 20120816:
5012 1) ACPICA Kernel-resident Subsystem:
5014 Removed all use of the deprecated _GTS and _BFS predefined methods. The
5016 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
5017 deprecated and will probably be removed from the ACPI specification.
5019 does not invoke them, and reportedly never will. The final nail in the
5021 is that the ACPI specification states that these methods must be run with
5022 interrupts off, which is not going to happen in a kernel interpreter.
5024 Linux has removed all use of the methods also. It was discovered that
5025 invoking these functions caused failures on some machines, probably
5027 they were never tested since Windows does not call them. Affects two
5029 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
5032 Implemented support for complex bit-packed buffers returned from the _PLD
5033 (Physical Location of Device) predefined method. Adds a new external
5034 interface, AcpiDecodePldBuffer that parses the buffer into a more usable
5036 structure. Note: C Bitfields cannot be used for this type of predefined
5037 structure since the memory layout of individual bitfields is not defined
5039 the C language. In addition, there are endian concerns where a compiler
5041 change the bitfield ordering based on the machine type. The new ACPICA
5042 interface eliminates these issues, and should be called after _PLD is
5043 executed. ACPICA BZ 954.
5045 Implemented a change to allow a scope change to root (via "Scope (\)")
5047 execution of module-level ASL code (code that is executed at table load
5050 Added the Windows8/Server2012 string for the _OSI method. This change
5053 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
5056 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
5058 and CSRT (Core System Resource Table).
5060 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
5061 names. This simplifies access to the buffers returned by these predefined
5062 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
5064 GPE support: Removed an extraneous parameter from the various low-level
5065 internal GPE functions. Tang Feng.
5067 Removed the linux makefiles from the unix packages. The generate/linux
5068 makefiles are obsolete and have been removed from the unix tarball
5070 packages. The replacement makefiles are under generate/unix, and there is
5072 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
5074 Updates for Unix makefiles:
5075 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
5076 2) Update linker flags (move to end of command line) for AcpiExec
5080 Split ACPICA initialization functions to new file, utxfinit.c. Split from
5081 utxface.c to improve modularity and reduce file size.
5083 Example Code and Data Size: These are the sizes for the OS-independent
5084 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5085 debug version of the code includes the debug output trace mechanism and
5087 much larger code and data size.
5090 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
5091 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
5093 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
5094 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
5097 2) iASL Compiler/Disassembler and Tools:
5099 iASL: Fixed a problem with constant folding for fixed-length constant
5100 expressions. The constant-folding code was not being invoked for constant
5101 expressions that allow the use of type 3/4/5 opcodes to generate
5103 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
5105 in the generation of invalid AML bytecode. ACPICA BZ 970.
5107 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
5108 apparently automatically emit some of the necessary externals. This
5110 handles these versions in order to eliminate generation warnings.
5112 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
5114 Disassembler: Add support to decode _PLD buffers. The decoded buffer
5116 within comments in the output file.
5118 Debugger: Fixed a regression with the "Threads" command where
5119 AE_BAD_PARAMETER was always returned.
5121 ----------------------------------------
5122 11 July 2012. Summary of changes for version 20120711:
5124 1) ACPICA Kernel-resident Subsystem:
5126 Fixed a possible fault in the return package object repair code. Fixes a
5127 problem that can occur when a lone package object is wrapped with an
5129 package object in order to force conformance to the ACPI specification.
5131 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
5135 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
5136 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
5137 ARB_DIS bit must be implemented in the host-dependent C3 processor power
5139 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
5141 Intel and other vendors. (for Intel: ICH4-M and earlier)
5143 This change removes the code to disable/enable bus master arbitration
5145 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
5147 resume problems on some machines. The change has been in use for over
5151 Implemented two new external interfaces to support host-directed dynamic
5153 table load and unload. They are intended to simplify the host
5155 of hot-plug support:
5156 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
5157 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
5159 See the ACPICA reference for additional details. Adds one new file,
5160 components/tables/tbxfload.c
5162 Implemented and deployed two new interfaces for errors and warnings that
5164 known to be caused by BIOS/firmware issues:
5165 AcpiBiosError: Prints "ACPI Firmware Error" message.
5166 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
5167 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
5169 and FADT errors. Additional deployment to be completed as appropriate in
5171 future. The associated conditional macros are ACPI_BIOS_ERROR and
5172 ACPI_BIOS_WARNING. See the ACPICA reference for additional details.
5177 Implicit notify support: ensure that no memory allocation occurs within a
5178 critical region. This fix moves a memory allocation outside of the time
5180 spinlock is held. Fixes issues on systems that do not allow this
5184 Split exception code utilities and tables into a new file,
5187 Example Code and Data Size: These are the sizes for the OS-independent
5188 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5190 version of the code includes the debug output trace mechanism and has a
5192 larger code and data size.
5195 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
5196 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
5198 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
5199 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
5202 2) iASL Compiler/Disassembler and Tools:
5204 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
5208 Debugger: Enhanced the "tables" command to emit additional information
5210 the current set of ACPI tables, including the owner ID and flags decode.
5212 Debugger: Reimplemented the "unload" command to use the new
5213 AcpiUnloadParentTable external interface. This command was disable
5215 due to need for an unload interface.
5217 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
5219 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
5221 ----------------------------------------
5222 20 June 2012. Summary of changes for version 20120620:
5225 1) ACPICA Kernel-resident Subsystem:
5227 Implemented support to expand the "implicit notify" feature to allow
5229 devices to be notified by a single GPE. This feature automatically
5231 runtime device notification in the absence of a BIOS-provided GPE control
5232 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
5234 provided by ACPICA for Windows compatibility, and is a workaround for
5237 code errors. See the description of the AcpiSetupGpeForWake interface in
5239 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
5241 Changed some comments and internal function names to simplify and ensure
5242 correctness of the Linux code translation. No functional changes.
5244 Example Code and Data Size: These are the sizes for the OS-independent
5245 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5247 version of the code includes the debug output trace mechanism and has a
5249 larger code and data size.
5252 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
5253 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
5255 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
5256 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
5259 2) iASL Compiler/Disassembler and Tools:
5261 Disassembler: Added support to emit short, commented descriptions for the
5263 predefined names in order to improve the readability of the disassembled
5264 output. ACPICA BZ 959. Changes include:
5265 1) Emit descriptions for all standard predefined names (_INI, _STA,
5268 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
5269 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
5272 AcpiSrc: Fixed several long-standing Linux code translation issues.
5274 descriptions in function headers are now translated properly to lower
5277 underscores. ACPICA BZ 961. Also fixes translation problems such as
5283 local_fADT -> local_FADT
5284 execute_oSI -> execute_OSI
5286 iASL: Fixed a problem where null bytes were inadvertently emitted into
5290 iASL: Added the existing debug options to the standard help screen. There
5292 no longer two different help screens. ACPICA BZ 957.
5294 AcpiHelp: Fixed some typos in the various predefined name descriptions.
5296 expand some of the descriptions where appropriate.
5298 iASL: Fixed the -ot option (display compile times/statistics). Was not
5300 properly for standard output; only worked for the debug file case.
5302 ----------------------------------------
5303 18 May 2012. Summary of changes for version 20120518:
5306 1) ACPICA Core Subsystem:
5308 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
5310 to block until asynchronous events such as notifies and GPEs have
5312 Within ACPICA, it is only called before a notify or GPE handler is
5313 removed/uninstalled. It also may be useful for the host OS within related
5314 drivers such as the Embedded Controller driver. See the ACPICA reference
5316 additional information. ACPICA BZ 868.
5318 ACPI Tables: Added a new error message for a possible overflow failure
5320 the conversion of FADT 32-bit legacy register addresses to internal
5323 bit GAS structure representation. The GAS has a one-byte "bit length"
5325 thus limiting the register length to 255 bits. ACPICA BZ 953.
5327 Example Code and Data Size: These are the sizes for the OS-independent
5328 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5330 version of the code includes the debug output trace mechanism and has a
5332 larger code and data size.
5335 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5336 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
5338 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
5339 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
5342 2) iASL Compiler/Disassembler and Tools:
5344 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
5346 This keyword was added late in the ACPI 5.0 release cycle and was not
5347 implemented until now.
5349 Disassembler: Added support for Operation Region externals. Adds missing
5350 support for operation regions that are defined in another table, and
5351 referenced locally via a Field or BankField ASL operator. Now generates
5353 correct External statement.
5355 Disassembler: Several additional fixes for the External() statement
5357 related to some ASL operators. Also, order the External() statements
5358 alphabetically in the disassembler output. Fixes the External()
5361 the Create* field, Alias, and Scope operators:
5362 1) Create* buffer field operators - fix type mismatch warning on
5364 2) Alias - implement missing External support
5365 3) Scope - fix to make sure all necessary externals are emitted.
5367 iASL: Improved pathname support. For include files, merge the prefix
5369 with the file pathname and eliminate unnecessary components. Convert
5370 backslashes in all pathnames to forward slashes, for readability. Include
5372 pathname changes affect both #include and Include() type operators.
5374 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
5376 of a valid line by inserting a newline and then returning the EOF during
5378 next call to GetNextLine. Prevents the line from being ignored due to EOF
5381 iASL: Implemented some changes to enhance the IDE support (-vi option.)
5383 and Warning messages are now correctly recognized for both the source
5385 browser and the global error and warning counts.
5387 ----------------------------------------
5388 20 April 2012. Summary of changes for version 20120420:
5391 1) ACPICA Core Subsystem:
5393 Implemented support for multiple notify handlers. This change adds
5396 allow multiple system and device notify handlers on Device, Thermal Zone,
5398 Processor objects. This can simplify the host OS notification
5400 Also re-worked and restructured the entire notify support code to
5402 handler installation, handler removal, notify event queuing, and notify
5403 dispatch to handler(s). Note: there can still only be two global notify
5404 handlers - one for system notifies and one for device notifies. There are
5406 changes to the existing handler install/remove interfaces. Lin Ming, Bob
5407 Moore, Rafael Wysocki.
5409 Fixed a regression in the package repair code where the object reference
5410 count was calculated incorrectly. Regression was introduced in the commit
5411 "Support to add Package wrappers".
5413 Fixed a couple possible memory leaks in the AML parser, in the error
5415 path. Jesper Juhl, Lin Ming.
5417 Example Code and Data Size: These are the sizes for the OS-independent
5418 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5419 debug version of the code includes the debug output trace mechanism and
5421 much larger code and data size.
5424 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5425 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5427 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5428 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
5431 2) iASL Compiler/Disassembler and Tools:
5433 iASL: Fixed a problem with the resource descriptor support where the
5435 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
5436 included in cumulative descriptor offset, resulting in incorrect values
5438 resource tags within resource descriptors appearing after a
5440 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
5442 iASL and Preprocessor: Implemented full support for the #line directive
5444 correctly track original source file line numbers through the .i
5446 output file - for error and warning messages.
5448 iASL: Expand the allowable byte constants for address space IDs.
5450 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
5451 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
5453 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
5455 iASL: Add option to completely disable the preprocessor (-Pn).
5457 iASL: Now emit all error/warning messages to standard error (stderr) by
5458 default (instead of the previous stdout).
5460 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
5462 for resource descriptor offset fix above. Update/cleanup error output
5463 routines. Enable and send iASL errors/warnings to an error logfile
5464 (error.txt). Send all other iASL output to a logfile (compiler.txt).
5466 several extraneous "unrecognized operator" messages.
5468 ----------------------------------------
5469 20 March 2012. Summary of changes for version 20120320:
5472 1) ACPICA Core Subsystem:
5474 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
5475 (Going To Sleep) and the _BFS method (Back From Sleep). Windows
5477 does not execute these methods, and therefore these methods are often
5478 untested. It has been seen on some systems where the execution of these
5479 methods causes errors and also prevents the machine from entering S5. It
5481 therefore suggested that host operating systems do not execute these
5483 by default. In the future, perhaps these methods can be optionally
5485 based on the age of the system and/or what is the newest version of
5487 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
5489 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
5492 Fixed a problem where the length of the local/common FADT was set too
5494 The local FADT table length cannot be set to the common length until the
5495 original length has been examined. There is code that checks the table
5497 and sets various fields appropriately. This can affect older machines
5499 early FADT versions. For example, this can cause inadvertent writes to
5501 CST_CNT register. Julian Anastasov.
5503 Fixed a mapping issue related to a physical table override. Use the
5505 mapping mechanism for tables loaded via the physical override OSL
5507 This allows for early mapping before the virtual memory manager is
5509 Thomas Renninger, Bob Moore.
5511 Enhanced the automatic return-object repair code: Repair a common problem
5513 predefined methods that are defined to return a variable-length Package
5515 sub-objects. If there is only one sub-object, some BIOS ASL code
5517 simply returns the single object instead of a Package with one sub-
5519 This new support will repair this error by wrapping a Package object
5521 the original object, creating the correct and expected Package with one
5523 object. Names that can be repaired in this manner include: _ALR, _CSD,
5525 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
5528 Changed the exception code returned for invalid ACPI paths passed as
5529 parameters to external interfaces such as AcpiEvaluateObject. Was
5530 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
5532 Example Code and Data Size: These are the sizes for the OS-independent
5533 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5535 version of the code includes the debug output trace mechanism and has a
5537 larger code and data size.
5540 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
5541 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5543 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
5544 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5547 2) iASL Compiler/Disassembler and Tools:
5549 iASL: Added the infrastructure and initial implementation of a integrated
5551 like preprocessor. This will simplify BIOS development process by
5553 the need for a separate preprocessing step during builds. On Windows, it
5555 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
5556 features including full #define() macro support are still under
5558 These preprocessor directives are supported:
5571 In addition, these new command line options are supported:
5572 -D <symbol> Define symbol for preprocessor use
5573 -li Create preprocessed output file (*.i)
5574 -P Preprocess only and create preprocessor output file (*.i)
5576 Table Compiler: Fixed a problem where the equals operator within an
5578 did not work properly.
5580 Updated iASL to use the current versions of Bison/Flex. Updated the
5582 project file to invoke these tools from the standard location. ACPICA BZ
5585 Flex for Windows: V2.5.4
5586 Bison for Windows: V2.4.1
5588 ----------------------------------------
5589 15 February 2012. Summary of changes for version 20120215:
5592 1) ACPICA Core Subsystem:
5594 There have been some major changes to the sleep/wake support code, as
5595 described below (a - e).
5597 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
5598 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
5599 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
5601 time the _BFS method is called and the _WAK method is called. NOTE: all
5603 must update their wake/resume code or else sleep/wake will not work
5607 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
5609 method. Some machines require that the GPEs are enabled before the _WAK
5611 is executed. Thomas Renninger.
5613 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status)
5615 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
5617 determine whether the system is rebooting or resuming. Matthew Garrett.
5619 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
5621 match the ACPI specification requirement. Rafael Wysocki.
5623 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
5624 registers within the V5 FADT. This support adds two new files:
5625 hardware/hwesleep.c implements the support for the new registers. Moved
5627 sleep/wake external interfaces to hardware/hwxfsleep.c.
5630 Added a new OSL interface for ACPI table overrides,
5631 AcpiOsPhysicalTableOverride. This interface allows the host to override a
5632 table via a physical address, instead of the logical address required by
5633 AcpiOsTableOverride. This simplifies the host implementation. Initial
5634 implementation by Thomas Renninger. The ACPICA implementation creates a
5636 shared function for table overrides that attempts both a logical and a
5639 Expanded the OSL memory read/write interfaces to 64-bit data
5640 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
5641 transfer support for GAS register structures passed to AcpiRead and
5644 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
5646 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
5648 See the ACPICA reference for details. ACPICA BZ 942. This option removes
5650 10% of the code and 5% of the static data, and the following hardware
5652 features become unavailable:
5653 PM Event and Control registers
5654 SCI interrupt (and handler)
5656 General Purpose Events (GPEs)
5659 FACS table (Waking vectors and Global Lock)
5661 Updated the unix tarball directory structure to match the ACPICA git
5663 tree. This ensures that the generic unix makefiles work properly (in
5664 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ
5667 Updated the return value of the _REV predefined method to integer value 5
5669 reflect ACPI 5.0 support.
5671 Moved the external ACPI PM timer interface prototypes to the public
5673 file where they belong.
5675 Example Code and Data Size: These are the sizes for the OS-independent
5676 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5678 version of the code includes the debug output trace mechanism and has a
5680 larger code and data size.
5683 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
5684 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
5686 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
5687 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
5690 2) iASL Compiler/Disassembler and Tools:
5692 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
5693 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
5694 incorrectly displayed.
5696 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
5699 ----------------------------------------
5700 11 January 2012. Summary of changes for version 20120111:
5703 1) ACPICA Core Subsystem:
5705 Implemented a new mechanism to allow host device drivers to check for
5707 range conflicts with ACPI Operation Regions. Both SystemMemory and
5709 address spaces are supported. A new external interface,
5710 AcpiCheckAddressRange,
5711 allows drivers to check an address range against the ACPI namespace. See
5713 ACPICA reference for additional details. Adds one new file,
5714 utilities/utaddress.c. Lin Ming, Bob Moore.
5716 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep
5719 Status registers, update the ACPI 5.0 flags, and update internal data
5720 structures to handle an FADT larger than 256 bytes. The size of the ACPI
5724 Updated all ACPICA copyrights and signons to 2012. Added the 2012
5726 all module headers and signons, including the standard Linux header. This
5727 affects virtually every file in the ACPICA core subsystem, iASL compiler,
5729 all ACPICA utilities.
5731 Example Code and Data Size: These are the sizes for the OS-independent
5732 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
5734 version of the code includes the debug output trace mechanism and has a
5736 larger code and data size.
5739 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
5740 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
5742 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
5743 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
5746 2) iASL Compiler/Disassembler and Tools:
5748 Disassembler: fixed a problem with the automatic resource tag generation
5749 support. Fixes a problem where the resource tags are inadvertently not
5750 constructed if the table being disassembled contains external references
5752 control methods. Moved the actual construction of the tags to after the
5754 namespace is constructed (after 2nd parse is invoked due to external
5756 method references.) ACPICA BZ 941.
5758 Table Compiler: Make all "generic" operators caseless. These are the
5760 like UINT8, String, etc. Making these caseless improves ease-of-use.
5764 ----------------------------------------
5765 23 November 2011. Summary of changes for version 20111123:
5767 0) ACPI 5.0 Support:
5769 This release contains full support for the ACPI 5.0 specification, as
5772 Reduced Hardware Support:
5773 -------------------------
5775 This support allows for ACPI systems without the usual ACPI hardware.
5777 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
5779 not attempt to initialize or use any of the usual ACPI hardware. Note,
5781 this flag is set, all of the following ACPI hardware is assumed to be not
5782 present and is not initialized or accessed:
5784 General Purpose Events (GPEs)
5785 Fixed Events (PM1a/PM1b and PM Control)
5786 Power Management Timer and Console Buttons (power/sleep)
5787 Real-time Clock Alarm
5789 System Control Interrupt (SCI)
5790 The FACS is assumed to be non-existent
5795 All new tables and updates to existing tables are fully supported in the
5796 ACPICA headers (for use by device drivers), the disassembler, and the
5798 Data Table Compiler. ACPI 5.0 defines these new tables:
5800 BGRT /* Boot Graphics Resource Table */
5801 DRTM /* Dynamic Root of Trust for Measurement table */
5802 FPDT /* Firmware Performance Data Table */
5803 GTDT /* Generic Timer Description Table */
5804 MPST /* Memory Power State Table */
5805 PCCT /* Platform Communications Channel Table */
5806 PMTT /* Platform Memory Topology Table */
5807 RASF /* RAS Feature table */
5809 Operation Regions/SpaceIDs:
5810 ---------------------------
5812 All new operation regions are fully supported by the iASL compiler, the
5813 disassembler, and the ACPICA runtime code (for dispatch to region
5815 The new operation region Space IDs are:
5820 Resource Descriptors:
5821 ---------------------
5823 All new ASL resource descriptors are fully supported by the iASL
5826 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
5828 all new predefined resource tags). New descriptors are:
5837 ASL/AML Operators, New and Modified:
5838 ------------------------------------
5840 One new operator is added, the Connection operator, which is used to
5842 a GeneralPurposeIo or GenericSerialBus resource descriptor with
5844 field objects within an operation region. Several new protocols are
5846 with the AccessAs operator. All are fully supported by the iASL compiler,
5847 disassembler, and runtime ACPICA AML interpreter:
5849 Connection // Declare Field Connection
5851 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
5852 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes
5854 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
5855 RawDataBuffer // Data type for Vendor Data
5858 Predefined ASL/AML Objects:
5859 ---------------------------
5861 All new predefined objects/control-methods are supported by the iASL
5863 and the ACPICA runtime validation/repair (arguments and return values.)
5865 predefined names include the following:
5867 Standard Predefined Names (Objects or Control Methods):
5868 _AEI, _CLS, _CPC, _CWS, _DEP,
5869 _DLM, _EVT, _GCP, _CRT, _GWS,
5870 _HRV, _PRE, _PSE, _SRT, _SUB.
5872 Resource Tags (Names used to access individual fields within resource
5874 _DBT, _DPL, _DRS, _END, _FLC,
5875 _IOR, _LIN, _MOD, _PAR, _PHA,
5876 _PIN, _PPI, _POL, _RXL, _SLV,
5877 _SPE, _STB, _TXL, _VEN.
5879 ACPICA External Interfaces:
5880 ---------------------------
5882 Several new interfaces have been defined for use by ACPI-related device
5883 drivers and other host OS services:
5885 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
5887 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
5888 provided by the BIOS. They are intended to be used in conjunction with
5890 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
5891 mutual exclusion with the AML code/interpreter.
5893 AcpiGetEventResources: Returns the (formatted) resource descriptors as
5895 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
5897 resource descriptors associated with hardware-reduced platform events,
5899 to the AcpiGetCurrentResources interface.
5901 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
5902 operation regions, information about the Connection() object and any
5904 length information is passed to the region handler within the Context
5907 AcpiBufferToResource: This interface converts a raw AML buffer containing
5909 resource template or resource descriptor to the ACPI_RESOURCE internal
5911 suitable for use by device drivers. Can be used by an operation region
5913 to convert the Connection() buffer object into a ACPI_RESOURCE.
5915 Miscellaneous/Tools/TestSuites:
5916 -------------------------------
5918 Support for extended _HID names (Four alpha characters instead of three).
5919 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
5920 Support for ACPI 5.0 features in the ASLTS test suite.
5921 Fully updated documentation (ACPICA and iASL reference documents.)
5923 ACPI Table Definition Language:
5924 -------------------------------
5926 Support for this language was implemented and released as a subsystem of
5928 iASL compiler in 2010. (See the iASL compiler User Guide.)
5931 Non-ACPI 5.0 changes for this release:
5932 --------------------------------------
5934 1) ACPICA Core Subsystem:
5936 Fix a problem with operation region declarations where a failure can
5939 the region name and an argument that evaluates to an object (such as the
5940 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
5943 Do not abort an ACPI table load if an invalid space ID is found within.
5945 will be caught later if the offending method is executed. ACPICA BZ 925.
5947 Fixed an issue with the FFixedHW space ID where the ID was not always
5948 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
5950 Fixed a problem with the 32-bit generation of the unix-specific OSL
5951 (osunixxf.c). Lin Ming, ACPICA BZ 936.
5953 Several changes made to enable generation with the GCC 4.6 compiler.
5957 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
5959 field registers out-of-range.
5961 2) iASL Compiler/Disassembler and Tools:
5963 iASL: Implemented the __PATH__ operator, which returns the full pathname
5965 the current source file.
5967 AcpiHelp: Automatically display expanded keyword information for all ASL
5970 Debugger: Add "Template" command to disassemble/dump resource template
5973 Added a new master script to generate and execute the ASLTS test suite.
5974 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
5976 iASL: Fix problem with listing generation during processing of the
5978 operator where AML listing was disabled until the entire Switch block was
5981 iASL: Improve support for semicolon statement terminators. Fix "invalid
5982 character" message for some cases when the semicolon is used. Semicolons
5984 now allowed after every <Term> grammar element. ACPICA BZ 927.
5986 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
5989 Disassembler: Fix problem with disassembly of the DataTableRegion
5991 where an inadvertent "Unhandled deferred opcode" message could be
5994 3) Example Code and Data Size
5996 These are the sizes for the OS-independent acpica.lib produced by the
5997 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
5998 includes the debug output trace mechanism and has a much larger code and
6003 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6004 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6006 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
6007 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
6009 ----------------------------------------
6010 22 September 2011. Summary of changes for version 20110922:
6014 Support for ACPI 5.0 in ACPICA has been underway for several months and
6016 be released at the same time that ACPI 5.0 is officially released.
6018 The ACPI 5.0 specification is on track for release in the next few
6021 1) ACPICA Core Subsystem:
6023 Fixed a problem where the maximum sleep time for the Sleep() operator was
6024 intended to be limited to two seconds, but was inadvertently limited to
6028 Linux and Unix makefiles: Added header file dependencies to ensure
6030 generation of ACPICA core code and utilities. Also simplified the
6032 considerably through the use of the vpath variable to specify search
6036 2) iASL Compiler/Disassembler and Tools:
6038 iASL: Implemented support to check the access length for all fields
6040 access named Resource Descriptor fields. For example, if a resource field
6042 defined to be two bits, a warning is issued if a CreateXxxxField() is
6044 with an incorrect bit length. This is implemented for all current
6046 descriptor names. ACPICA BZ 930.
6048 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
6052 iASL: Fixed a couple of issues associated with variable-length package
6053 objects. 1) properly handle constants like One, Ones, Zero -- do not make
6055 VAR_PACKAGE when these are used as a package length. 2) Allow the
6057 opcode (in addition to PACKAGE) when validating object types for
6061 iASL: Emit statistics for all output files (instead of just the ASL input
6063 AML output). Includes listings, hex files, etc.
6065 iASL: Added -G option to the table compiler to allow the compilation of
6067 ACPI tables. The only part of a table that is required is the standard
6072 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
6074 which also adds correct 64-bit support. Also, now all output filenames
6076 completely lower case.
6078 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
6079 loading table files. A warning is issued for any such tables. The only
6080 exception is an FADT. This also fixes a possible fault when attempting to
6082 non-AML tables. ACPICA BZ 932.
6084 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where
6086 missing table terminator could cause a fault when using the -p option.
6088 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
6091 3) Example Code and Data Size
6093 These are the sizes for the OS-independent acpica.lib produced by the
6094 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
6095 includes the debug output trace mechanism and has a much larger code and
6099 Previous Release (VC 9.0):
6100 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6101 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6102 Current Release (VC 9.0):
6103 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6104 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6107 ----------------------------------------
6108 23 June 2011. Summary of changes for version 20110623:
6110 1) ACPI CA Core Subsystem:
6112 Updated the predefined name repair mechanism to not attempt repair of a
6114 return object if a _PSS object is present. We can only sort the _TSS
6116 package if there is no _PSS within the same scope. This is because if
6119 present, the ACPI specification dictates that the _TSS Power Dissipation
6121 is to be ignored, and therefore some BIOSs leave garbage values in the
6123 Power field(s). In this case, it is best to just return the _TSS package
6125 is. Reported by, and fixed with assistance from Fenghua Yu.
6127 Added an option to globally disable the control method return value
6129 and repair. This runtime option can be used to disable return value
6132 this is causing a problem on a particular machine. Also added an option
6134 AcpiExec (-dr) to set this disable flag.
6136 All makefiles and project files: Major changes to improve generation of
6138 tools. ACPICA BZ 912:
6139 Reduce default optimization levels to improve compatibility
6140 For Linux, add strict-aliasing=0 for gcc 4
6141 Cleanup and simplify use of command line defines
6142 Cleanup multithread library support
6143 Improve usage messages
6145 Linux-specific header: update handling of THREAD_ID and pthread. For the
6147 bit case, improve casting to eliminate possible warnings, especially with
6151 Example Code and Data Size: These are the sizes for the OS-independent
6152 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6154 version of the code includes the debug output trace mechanism and has a
6156 larger code and data size.
6158 Previous Release (VC 9.0):
6159 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
6160 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6161 Current Release (VC 9.0):
6162 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
6163 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6165 2) iASL Compiler/Disassembler and Tools:
6167 With this release, a new utility named "acpihelp" has been added to the
6169 package. This utility summarizes the ACPI specification chapters for the
6171 and AML languages. It generates under Linux/Unix as well as Windows, and
6172 provides the following functionality:
6173 Find/display ASL operator(s) -- with description and syntax.
6174 Find/display ASL keyword(s) -- with exact spelling and descriptions.
6175 Find/display ACPI predefined name(s) -- with description, number
6176 of arguments, and the return value data type.
6177 Find/display AML opcode name(s) -- with opcode, arguments, and
6179 Decode/display AML opcode -- with opcode name, arguments, and
6182 Service Layers: Make multi-thread support configurable. Conditionally
6184 the multi-thread support so that threading libraries will not be linked
6187 necessary. The only tool that requires multi-thread support is AcpiExec.
6189 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
6191 Bison appear to want the interface to yyerror to be a const char * (or at
6192 least this is a problem when generating iASL on some systems.) ACPICA BZ
6196 Tools: Fix for systems where O_BINARY is not defined. Only used for
6198 versions of the tools.
6200 ----------------------------------------
6201 27 May 2011. Summary of changes for version 20110527:
6203 1) ACPI CA Core Subsystem:
6205 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
6207 signature. Now, only allow SSDT, OEMx, and a null signature. History:
6208 1) Originally, we checked the table signature for "SSDT" or "PSDT".
6209 (PSDT is now obsolete.)
6210 2) We added support for OEMx tables, signature "OEM" plus a fourth
6211 "don't care" character.
6212 3) Valid tables were encountered with a null signature, so we just
6213 gave up on validating the signature, (05/2008).
6214 4) We encountered non-AML tables such as the MADT, which caused
6215 interpreter errors and kernel faults. So now, we once again allow
6216 only SSDT, OEMx, and now, also a null signature. (05/2011).
6218 Added the missing _TDL predefined name to the global name list in order
6220 enable validation. Affects both the core ACPICA code and the iASL
6223 Example Code and Data Size: These are the sizes for the OS-independent
6224 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6226 version of the code includes the debug output trace mechanism and has a
6228 larger code and data size.
6230 Previous Release (VC 9.0):
6231 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
6232 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
6233 Current Release (VC 9.0):
6234 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
6235 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
6237 2) iASL Compiler/Disassembler and Tools:
6239 Debugger/AcpiExec: Implemented support for "complex" method arguments on
6241 debugger command line. This adds support beyond simple integers --
6243 Strings, Buffers, and Packages. Includes support for nested packages.
6244 Increased the default command line buffer size to accommodate these
6246 See the ACPICA reference for details and syntax. ACPICA BZ 917.
6248 Debugger/AcpiExec: Implemented support for "default" method arguments for
6250 Execute/Debug command. Now, the debugger will always invoke a control
6252 with the required number of arguments -- even if the command line
6254 none or insufficient arguments. It uses default integer values for any
6256 arguments. Also fixes a bug where only six method arguments maximum were
6257 supported instead of the required seven.
6259 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
6261 also return status in order to prevent buffer overruns. See the ACPICA
6262 reference for details and syntax. ACPICA BZ 921
6264 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
6265 makefiles to simplify support for the two different but similar parser
6266 generators, bison and yacc.
6268 Updated the generic unix makefile for gcc 4. The default gcc version is
6270 expected to be 4 or greater, since options specific to gcc 4 are used.
6272 ----------------------------------------
6273 13 April 2011. Summary of changes for version 20110413:
6275 1) ACPI CA Core Subsystem:
6277 Implemented support to execute a so-called "orphan" _REG method under the
6279 device. This change will force the execution of a _REG method underneath
6282 device even if there is no corresponding operation region of type
6283 EmbeddedControl. Fixes a problem seen on some machines and apparently is
6284 compatible with Windows behavior. ACPICA BZ 875.
6286 Added more predefined methods that are eligible for automatic NULL
6288 element removal. This change adds another group of predefined names to
6291 of names that can be repaired by having NULL package elements dynamically
6292 removed. This group are those methods that return a single variable-
6294 package containing simple data types such as integers, buffers, strings.
6296 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
6299 and _TZD. ACPICA BZ 914.
6301 Split and segregated all internal global lock functions to a new file,
6304 Updated internal address SpaceID for DataTable regions. Moved this
6307 id in preparation for ACPI 5.0 changes that will include some new space
6310 change should not affect user/host code.
6312 Example Code and Data Size: These are the sizes for the OS-independent
6314 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
6316 the code includes the debug output trace mechanism and has a much larger
6321 Previous Release (VC 9.0):
6322 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
6323 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
6324 Current Release (VC 9.0):
6325 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
6326 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
6328 2) iASL Compiler/Disassembler and Tools:
6330 iASL/DTC: Major update for new grammar features. Allow generic data types
6332 custom ACPI tables. Field names are now optional. Any line can be split
6334 multiple lines using the continuation char (\). Large buffers now use
6336 continuation character(s) and no colon on the continuation lines. See the
6338 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
6341 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
6343 Since the parser stuffs a "zero" as the return value for these statements
6346 the underlying AML grammar), they were seen as "return with value" by the
6348 semantic checking. They are now seen correctly as "null" return
6351 iASL: Check if a_REG declaration has a corresponding Operation Region.
6353 check for each _REG to ensure that there is in fact a corresponding
6355 region declaration in the same scope. If not, the _REG method is not very
6357 since it probably won't be executed. ACPICA BZ 915.
6359 iASL/DTC: Finish support for expression evaluation. Added a new
6362 that implements c-style operator precedence and parenthesization. ACPICA
6366 Disassembler/DTC: Remove support for () and <> style comments in data
6369 that DTC has full expression support, we don't want to have comment
6372 start with a parentheses or a less-than symbol. Now, only the standard /*
6375 comments are supported, as well as the bracket [] comments.
6377 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
6379 headers in the acpidump file. Update the header validation to support
6381 tables. Problem introduced in previous AcpiXtract version in the change
6383 support "wrong checksum" error messages emitted by acpidump utility.
6385 iASL: Add a * option to generate all template files (as a synonym for
6389 "iasl -T *" or "iasl -T ALL".
6391 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
6393 abort the compiler on "fatal" errors, simply should abort the current
6395 This allows multiple compiles with a single (possibly wildcard) compiler
6398 ----------------------------------------
6399 16 March 2011. Summary of changes for version 20110316:
6401 1) ACPI CA Core Subsystem:
6403 Fixed a problem caused by a _PRW method appearing at the namespace root
6405 during the setup of wake GPEs. A fault could occur if a _PRW directly
6408 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
6410 Implemented support for "spurious" Global Lock interrupts. On some
6412 global lock interrupt can occur without the pending flag being set. Upon
6415 interrupt, we now ensure that a thread is actually waiting for the lock
6417 signaling GL availability. Rafael Wysocki, Bob Moore.
6419 Example Code and Data Size: These are the sizes for the OS-independent
6421 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
6423 the code includes the debug output trace mechanism and has a much larger
6428 Previous Release (VC 9.0):
6429 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6430 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6431 Current Release (VC 9.0):
6432 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
6433 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
6435 2) iASL Compiler/Disassembler and Tools:
6437 Implemented full support for the "SLIC" ACPI table. Includes support in
6439 header files, disassembler, table compiler, and template generator. Bob
6443 AcpiXtract: Correctly handle embedded comments and messages from
6445 Apparently some or all versions of acpidump will occasionally emit a
6448 "Wrong checksum", etc., into the dump file. This was causing problems for
6449 AcpiXtract. ACPICA BZ 905.
6451 iASL: Fix the Linux makefile by removing an inadvertent double file
6455 AcpiExec: Update installation of operation region handlers. Install one
6457 for a user-defined address space. This is used by the ASL test suite
6460 ----------------------------------------
6461 11 February 2011. Summary of changes for version 20110211:
6463 1) ACPI CA Core Subsystem:
6465 Added a mechanism to defer _REG methods for some early-installed
6467 Most user handlers should be installed before call to
6468 AcpiEnableSubsystem.
6469 However, Event handlers and region handlers should be installed after
6470 AcpiInitializeObjects. Override handlers for the "default" regions should
6472 installed early, however. This change executes all _REG methods for the
6473 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
6474 chicken/egg issues between them. ACPICA BZ 848.
6476 Implemented an optimization for GPE detection. This optimization will
6478 ignore GPE registers that contain no enabled GPEs -- there is no need to
6479 read the register since this information is available internally. This
6480 becomes more important on machines with a large GPE space. ACPICA
6482 884. Lin Ming. Suggestion from Joe Liu.
6484 Removed all use of the highly unreliable FADT revision field. The
6486 number in the FADT has been found to be completely unreliable and cannot
6488 trusted. Only the actual table length can be used to infer the version.
6490 change updates the ACPICA core and the disassembler so that both no
6492 even look at the FADT version and instead depend solely upon the FADT
6495 Fix an unresolved name issue for the no-debug and no-error-message source
6496 generation cases. The _AcpiModuleName was left undefined in these cases,
6498 it is actually needed as a parameter to some interfaces. Define
6499 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
6501 Split several large files (makefiles and project files updated)
6502 utglobal.c -> utdecode.c
6503 dbcomds.c -> dbmethod.c dbnames.c
6504 dsopcode.c -> dsargs.c dscontrol.c
6505 dsload.c -> dsload2.c
6506 aslanalyze.c -> aslbtypes.c aslwalks.c
6508 Example Code and Data Size: These are the sizes for the OS-independent
6509 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6510 debug version of the code includes the debug output trace mechanism and
6512 a much larger code and data size.
6514 Previous Release (VC 9.0):
6515 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6516 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6517 Current Release (VC 9.0):
6518 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6519 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6521 2) iASL Compiler/Disassembler and Tools:
6523 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
6524 These are useful C-style macros with the standard definitions. ACPICA
6527 iASL/DTC: Added support for integer expressions and labels. Support for
6529 expressions for all integer fields in all ACPI tables. Support for labels
6531 "generic" portions of tables such as UEFI. See the iASL reference manual.
6533 Debugger: Added a command to display the status of global handlers. The
6534 "handlers" command will display op region, fixed event, and miscellaneous
6535 global handlers. installation status -- and for op regions, whether
6537 or user-installed handler will be used.
6539 iASL: Warn if reserved method incorrectly returns a value. Many
6541 names are defined such that they do not return a value. If implemented as
6543 method, issue a warning if such a name explicitly returns a value. ACPICA
6546 iASL: Added detection of GPE method name conflicts. Detects a conflict
6548 there are two GPE methods of the form _Lxy and _Exy in the same scope.
6550 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
6552 iASL/DTC: Fixed a couple input scanner issues with comments and line
6553 numbers. Comment remover could get confused and miss a comment ending.
6555 a problem with line counter maintenance.
6557 iASL/DTC: Reduced the severity of some errors from fatal to error. There
6559 no need to abort on simple errors within a field definition.
6561 Debugger: Simplified the output of the help command. All help output now
6563 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
6565 ----------------------------------------
6566 12 January 2011. Summary of changes for version 20110112:
6568 1) ACPI CA Core Subsystem:
6570 Fixed a race condition between method execution and namespace walks that
6572 possibly cause a fault. The problem was apparently introduced in version
6573 20100528 as a result of a performance optimization that reduces the
6576 namespace walks upon method exit by using the delete_namespace_subtree
6577 function instead of the delete_namespace_by_owner function used
6579 Bug is a missing namespace lock in the delete_namespace_subtree function.
6580 dana.myers@oracle.com
6582 Fixed several issues and a possible fault with the automatic "serialized"
6583 method support. History: This support changes a method to "serialized" on
6585 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
6586 possibility that it cannot handle reentrancy. This fix repairs a couple
6588 issues seen in the field, especially on machines with many cores:
6590 1) Delete method children only upon the exit of the last thread,
6591 so as to not delete objects out from under other running threads
6592 (and possibly causing a fault.)
6593 2) Set the "serialized" bit for the method only upon the exit of the
6594 Last thread, so as to not cause deadlock when running threads
6596 3) Cleanup the use of the AML "MethodFlags" and internal method flags
6597 so that there is no longer any confusion between the two.
6599 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
6601 Debugger: Now lock the namespace for duration of a namespace dump.
6603 issues if the namespace is changing dynamically underneath the debugger.
6604 Especially affects temporary namespace nodes, since the debugger displays
6607 Updated the ordering of include files. The ACPICA headers should appear
6608 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
6610 any necessary compiler-specific defines, etc. Affects the ACPI-related
6614 Updated all ACPICA copyrights and signons to 2011. Added the 2011
6616 to all module headers and signons, including the Linux header. This
6618 virtually every file in the ACPICA core subsystem, iASL compiler, and all
6621 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
6622 project files for VC++ 6.0 are now obsolete. New project files can be
6624 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
6627 Example Code and Data Size: These are the sizes for the OS-independent
6628 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
6629 debug version of the code includes the debug output trace mechanism and
6631 much larger code and data size.
6633 Previous Release (VC 6.0):
6634 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
6635 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
6636 Current Release (VC 9.0):
6637 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
6638 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
6640 2) iASL Compiler/Disassembler and Tools:
6642 iASL: Added generic data types to the Data Table compiler. Add "generic"
6644 types such as UINT32, String, Unicode, etc., to simplify the generation
6646 platform-defined tables such as UEFI. Lin Ming.
6648 iASL: Added listing support for the Data Table Compiler. Adds listing
6650 (-l) to display actual binary output for each line of input code.
6652 ----------------------------------------
6653 09 December 2010. Summary of changes for version 20101209:
6655 1) ACPI CA Core Subsystem:
6657 Completed the major overhaul of the GPE support code that was begun in
6659 2010. Major features include: removal of _PRW execution in ACPICA (host
6660 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
6661 changes to existing interfaces, simplification of GPE handler operation,
6663 a handful of new interfaces:
6669 One new file, evxfgpe.c to consolidate all external GPE interfaces.
6671 See the ACPICA Programmer Reference for full details and programming
6672 information. See the new section 4.4 "General Purpose Event (GPE)
6674 for a full overview, and section 8.7 "ACPI General Purpose Event
6676 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin
6678 Bob Moore, Rafael Wysocki.
6680 Implemented a new GPE feature for Windows compatibility, the "Implicit
6682 GPE Notify". This feature will automatically issue a Notify(2) on a
6684 when a Wake GPE is received if there is no corresponding GPE method or
6685 handler. ACPICA BZ 870.
6687 Fixed a problem with the Scope() operator during table parse and load
6689 During load phase (table load or method execution), the scope operator
6691 not enter the target into the namespace. Instead, it should open a new
6693 at the target location. Linux BZ 19462, ACPICA BZ 882.
6695 Example Code and Data Size: These are the sizes for the OS-independent
6696 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6697 debug version of the code includes the debug output trace mechanism and
6699 much larger code and data size.
6702 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
6703 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
6705 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
6706 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
6708 2) iASL Compiler/Disassembler and Tools:
6710 iASL: Relax the alphanumeric restriction on _CID strings. These strings
6712 "bus-specific" per the ACPI specification, and therefore any characters
6714 acceptable. The only checks that can be performed are for a null string
6716 perhaps for a leading asterisk. ACPICA BZ 886.
6718 iASL: Fixed a problem where a syntax error that caused a premature EOF
6719 condition on the source file emitted a very confusing error message. The
6720 premature EOF is now detected correctly. ACPICA BZ 891.
6722 Disassembler: Decode the AccessSize within a Generic Address Structure
6724 access, word access, etc.) Note, this field does not allow arbitrary bit
6725 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
6727 New: AcpiNames utility - Example namespace dump utility. Shows an example
6729 ACPICA configuration for a minimal namespace dump utility. Uses table and
6730 namespace managers, but no AML interpreter. Does not add any
6732 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
6733 partition and configure ACPICA. ACPICA BZ 883.
6735 AML Debugger: Increased the debugger buffer size for method return
6737 Was 4K, increased to 16K. Also enhanced error messages for debugger
6739 execution, including the buffer overflow case.
6741 ----------------------------------------
6742 13 October 2010. Summary of changes for version 20101013:
6744 1) ACPI CA Core Subsystem:
6746 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
6748 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
6749 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
6751 Changed the type of the predefined namespace object _TZ from ThermalZone
6753 Device. This was found to be confusing to the host software that
6755 the various thermal zones, since _TZ is not really a ThermalZone.
6758 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
6761 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
6762 string is "Windows 2006 SP2".
6764 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
6766 code automatically repairs _HID-related strings, this type of code is no
6767 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ
6770 Example Code and Data Size: These are the sizes for the OS-independent
6771 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6772 debug version of the code includes the debug output trace mechanism and
6774 much larger code and data size.
6777 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
6778 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
6780 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
6781 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
6783 2) iASL Compiler/Disassembler and Tools:
6785 iASL: Implemented additional compile-time validation for _HID strings.
6787 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the
6790 the string must be exactly seven or eight characters. For both _HID and
6792 strings, all characters must be alphanumeric. ACPICA BZ 874.
6794 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
6795 descriptors that are mostly or all zeros, with the expectation that they
6797 be filled in at runtime. iASL now allows this as long as there is a
6799 tag" (name) associated with the descriptor, which gives the ASL a handle
6800 needed to modify the descriptor. ACPICA BZ 873.
6802 Added single-thread support to the generic Unix application OSL.
6804 for iASL support, this change removes the use of semaphores in the
6806 threaded ACPICA tools/applications - increasing performance. The
6807 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
6808 option. ACPICA BZ 879.
6810 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
6812 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
6814 iASL: Moved all compiler messages to a new file, aslmessages.h.
6816 ----------------------------------------
6817 15 September 2010. Summary of changes for version 20100915:
6819 1) ACPI CA Core Subsystem:
6821 Removed the AcpiOsDerivePciId OSL interface. The various host
6823 of this function were not OS-dependent and are now obsolete and can be
6824 removed from all host OSLs. This function has been replaced by
6825 AcpiHwDerivePciId, which is now part of the ACPICA core code.
6826 AcpiHwDerivePciId has been implemented without recursion. Adds one new
6827 module, hwpci.c. ACPICA BZ 857.
6829 Implemented a dynamic repair for _HID and _CID strings. The following
6830 problems are now repaired at runtime: 1) Remove a leading asterisk in the
6831 string, and 2) the entire string is uppercased. Both repairs are in
6832 accordance with the ACPI specification and will simplify host driver
6836 The ACPI_THREAD_ID type is no longer configurable, internally it is now
6837 always UINT64. This simplifies the ACPICA code, especially any printf
6839 UINT64 is the only common data type for all thread_id types across all
6840 operating systems. It is now up to the host OSL to cast the native
6842 type to UINT64 before returning the value to ACPICA (via
6844 Lin Ming, Bob Moore.
6846 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
6848 keyword is not standard across compilers, and this type allows inline to
6850 configured on a per-compiler basis. Lin Ming.
6852 Made the system global AcpiGbl_SystemAwakeAndRunning publicly
6854 Added an extern for this boolean in acpixf.h. Some hosts utilize this
6856 during suspend/restore operations. ACPICA BZ 869.
6858 All code that implements error/warning messages with the "ACPI:" prefix
6860 been moved to a new module, utxferror.c.
6862 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
6864 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
6866 Example Code and Data Size: These are the sizes for the OS-independent
6867 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6868 debug version of the code includes the debug output trace mechanism and
6870 much larger code and data size.
6873 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
6874 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
6876 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
6877 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
6879 2) iASL Compiler/Disassembler and Tools:
6881 iASL/Disassembler: Write ACPI errors to stderr instead of the output
6883 This keeps the output files free of random error messages that may
6885 from within the namespace/interpreter code. Used this opportunity to
6887 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
6888 866. Lin Ming, Bob Moore.
6890 Tools: update some printfs for ansi warnings on size_t. Handle width
6892 of size_t on 32-bit versus 64-bit generations. Lin Ming.
6894 ----------------------------------------
6895 06 August 2010. Summary of changes for version 20100806:
6897 1) ACPI CA Core Subsystem:
6899 Designed and implemented a new host interface to the _OSI support code.
6901 will allow the host to dynamically add or remove multiple _OSI strings,
6903 well as install an optional handler that is called for each _OSI
6905 Also added a new AML debugger command, 'osi' to display and modify the
6907 _OSI string table, and test support in the AcpiExec utility. See the
6909 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
6911 AcpiInstallInterface - Add an _OSI string.
6912 AcpiRemoveInterface - Delete an _OSI string.
6913 AcpiInstallInterfaceHandler - Install optional _OSI handler.
6915 AcpiOsValidateInterface - no longer used.
6917 source/components/utilities/utosi.c
6919 Re-introduced the support to enable multi-byte transfers for Embedded
6920 Controller (EC) operation regions. A reported problem was found to be a
6922 in the host OS, not in the multi-byte support. Previously, the maximum
6924 size passed to the EC operation region handler was a single byte. There
6926 often EC Fields larger than one byte that need to be transferred, and it
6928 useful for the EC driver to lock these as a single transaction. This
6930 enables single transfers larger than 8 bits. This effectively changes the
6931 access to the EC space from ByteAcc to AnyAcc, and will probably require
6932 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
6934 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
6936 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
6937 prototype in acpiosxf.h had the output value pointer as a (void *).
6938 It should be a (UINT64 *). This may affect some host OSL code.
6940 Fixed a couple problems with the recently modified Linux makefiles for
6942 and AcpiExec. These new makefiles place the generated object files in the
6943 local directory so that there can be no collisions between the files that
6945 shared between them that are compiled with different options.
6947 Example Code and Data Size: These are the sizes for the OS-independent
6948 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6949 debug version of the code includes the debug output trace mechanism and
6951 much larger code and data size.
6954 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
6955 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
6957 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
6958 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
6960 2) iASL Compiler/Disassembler and Tools:
6962 iASL/Disassembler: Added a new option (-da, "disassemble all") to load
6964 namespace from and disassemble an entire group of AML files. Useful for
6965 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
6967 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
6969 iASL: Allow multiple invocations of -e option. This change allows
6971 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
6975 ----------------------------------------
6976 02 July 2010. Summary of changes for version 20100702:
6978 1) ACPI CA Core Subsystem:
6980 Implemented several updates to the recently added GPE reference count
6981 support. The model for "wake" GPEs is changing to give the host OS
6983 control of these GPEs. Eventually, the ACPICA core will not execute any
6985 methods, since the host already must execute them. Also, additional
6987 were made to help ensure that the reference counts are kept in proper
6988 synchronization with reality. Rafael J. Wysocki.
6990 1) Ensure that GPEs are not enabled twice during initialization.
6991 2) Ensure that GPE enable masks stay in sync with the reference count.
6992 3) Do not inadvertently enable GPEs when writing GPE registers.
6993 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
6994 interface. This interface will set or clear individual GPEs for wakeup.
6995 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
6997 are now used for "runtime" GPEs only.
6999 Changed the behavior of the GPE install/remove handler interfaces. The
7002 no longer disabled during this process, as it was found to cause problems
7004 some machines. Rafael J. Wysocki.
7006 Reverted a change introduced in version 20100528 to enable Embedded
7007 Controller multi-byte transfers. This change was found to cause problems
7009 Index Fields and possibly Bank Fields. It will be reintroduced when these
7010 problems have been resolved.
7012 Fixed a problem with references to Alias objects within Package Objects.
7014 reference to an Alias within the definition of a Package was not always
7015 resolved properly. Aliases to objects like Processors, Thermal zones,
7017 were resolved to the actual object instead of a reference to the object
7020 should be. Package objects are only allowed to contain integer, string,
7021 buffer, package, and reference objects. Redhat bugzilla 608648.
7023 Example Code and Data Size: These are the sizes for the OS-independent
7024 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7025 debug version of the code includes the debug output trace mechanism and
7027 much larger code and data size.
7030 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7031 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
7033 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7034 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
7036 2) iASL Compiler/Disassembler and Tools:
7038 iASL: Implemented a new compiler subsystem to allow definition and
7039 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
7041 are called "ACPI Data Tables", and the new compiler is the "Data Table
7042 Compiler". This compiler is intended to simplify the existing error-prone
7043 process of creating these tables for the BIOS, as well as allowing the
7044 disassembly, modification, recompilation, and override of existing ACPI
7046 tables. See the iASL User Guide for detailed information.
7048 iASL: Implemented a new Template Generator option in support of the new
7050 Table Compiler. This option will create examples of all known ACPI tables
7051 that can be used as the basis for table development. See the iASL
7052 documentation and the -T option.
7054 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
7057 Updated the Linux makefiles for iASL and AcpiExec to place the generated
7058 object files in the local directory so that there can be no collisions
7059 between the shared files between them that are generated with different
7062 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec.
7064 the #define __APPLE__ to enable this support.
7066 ----------------------------------------
7067 28 May 2010. Summary of changes for version 20100528:
7069 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
7070 available at www.acpi.info. This is primarily an errata release.
7072 1) ACPI CA Core Subsystem:
7074 Undefined ACPI tables: We are looking for the definitions for the
7076 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
7078 Implemented support to enable multi-byte transfers for Embedded
7080 (EC) operation regions. Previously, the maximum data size passed to the
7082 operation region handler was a single byte. There are often EC Fields
7084 than one byte that need to be transferred, and it is useful for the EC
7086 to lock these as a single transaction. This change enables single
7088 larger than 8 bits. This effectively changes the access to the EC space
7090 ByteAcc to AnyAcc, and will probably require changes to the host OS
7092 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
7094 transfers. Alexey Starikovskiy, Lin Ming
7096 Implemented a performance enhancement for namespace search and access.
7098 change enhances the performance of namespace searches and walks by adding
7100 backpointer to the parent in each namespace node. On large namespaces,
7102 change can improve overall ACPI performance by up to 9X. Adding a pointer
7104 each namespace node increases the overall size of the internal namespace
7106 about 5%, since each namespace entry usually consists of both a namespace
7107 node and an ACPI operand object. However, this is the first growth of the
7108 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
7110 Implemented a performance optimization that reduces the number of
7112 walks. On control method exit, only walk the namespace if the method is
7114 to have created namespace objects outside of its local scope. Previously,
7116 entire namespace was traversed on each control method exit. This change
7118 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
7121 Added support to truncate I/O addresses to 16 bits for Windows
7123 Some ASL code has been seen in the field that inadvertently has bits set
7124 above bit 15. This feature is optional and is enabled if the BIOS
7126 any Windows OSI strings. It can also be enabled by the host OS. Matthew
7129 Added support to limit the maximum time for the ASL Sleep() operator. To
7130 prevent accidental deep sleeps, limit the maximum time that Sleep() will
7131 actually sleep. Configurable, the default maximum is two seconds. ACPICA
7134 Added run-time validation support for the _WDG and_WED Microsoft
7136 methods. These objects are defined by "Windows Instrumentation", and are
7138 part of the ACPI spec. ACPICA BZ 860.
7140 Expanded all statistic counters used during namespace and device
7141 initialization from 16 to 32 bits in order to support very large
7144 Replaced all instances of %d in printf format specifiers with %u since
7146 all integers in ACPICA are unsigned.
7148 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
7152 Example Code and Data Size: These are the sizes for the OS-independent
7153 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7154 debug version of the code includes the debug output trace mechanism and
7156 much larger code and data size.
7159 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
7160 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
7162 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
7163 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
7165 2) iASL Compiler/Disassembler and Tools:
7167 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
7168 methods. These objects are defined by "Windows Instrumentation", and are
7170 part of the ACPI spec. ACPICA BZ 860.
7172 AcpiExec: added option to disable the memory tracking mechanism. The -dt
7173 option will disable the tracking mechanism, which improves performance
7176 AcpiExec: Restructured the command line options into -d (disable) and -e
7179 ----------------------------------------
7180 28 April 2010. Summary of changes for version 20100428:
7182 1) ACPI CA Core Subsystem:
7184 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
7185 including FADT-based and GPE Block Devices, execute any _PRW methods in
7187 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
7188 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
7189 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
7190 Devices. Provides compatibility with other ACPI implementations. Two new
7191 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
7194 Fixed a regression introduced in version 20100331 within the table
7196 where initial table loading could fail. This was introduced in the fix
7198 AcpiReallocateRootTable. Also, renamed some of fields in the table
7200 data structures to clarify their meaning and use.
7202 Fixed a possible allocation overrun during internal object copy in
7203 AcpiUtCopySimpleObject. The original code did not correctly handle the
7205 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
7208 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
7209 possible access beyond end-of-allocation. Also, now fully validate
7211 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
7213 Example Code and Data Size: These are the sizes for the OS-independent
7214 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7215 debug version of the code includes the debug output trace mechanism and
7217 much larger code and data size.
7220 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
7221 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
7223 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
7224 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
7226 2) iASL Compiler/Disassembler and Tools:
7228 iASL: Implemented Min/Max/Len/Gran validation for address resource
7229 descriptors. This change implements validation for the address fields
7231 are common to all address-type resource descriptors. These checks are
7232 implemented: Checks for valid Min/Max, length within the Min/Max window,
7233 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as
7235 table 6-40 in the ACPI 4.0a specification. Also split the large
7237 and aslrestype2.c files into five new files. ACPICA BZ 840.
7239 iASL: Added support for the _Wxx predefined names. This support was
7241 and these names were not recognized by the compiler as valid predefined
7242 names. ACPICA BZ 851.
7244 iASL: Added an error for all predefined names that are defined to return
7246 value and thus must be implemented as Control Methods. These include all
7248 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
7249 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
7251 iASL: Implemented the -ts option to emit hex AML data in ASL format, as
7253 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
7255 dynamically loaded via the Load() operator. Also cleaned up output for
7258 ta and -tc options. ACPICA BZ 853.
7260 Tests: Added a new file with examples of extended iASL error checking.
7261 Demonstrates the advanced error checking ability of the iASL compiler.
7262 Available at tests/misc/badcode.asl.
7264 ----------------------------------------
7265 31 March 2010. Summary of changes for version 20100331:
7267 1) ACPI CA Core Subsystem:
7269 Completed a major update for the GPE support in order to improve support
7271 shared GPEs and to simplify both host OS and ACPICA code. Added a
7273 count mechanism to support shared GPEs that require multiple device
7275 Several external interfaces have changed. One external interface has been
7276 removed. One new external interface was added. Most of the GPE external
7277 interfaces now use the GPE spinlock instead of the events mutex (and the
7278 Flags parameter for many GPE interfaces has been removed.) See the
7280 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
7282 Wysocki. ACPICA BZ 831.
7285 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
7291 Implemented write support for DataTable operation regions. These regions
7293 defined via the DataTableRegion() operator. Previously, only read support
7295 implemented. The ACPI specification allows DataTableRegions to be
7299 Implemented a new subsystem option to force a copy of the DSDT to local
7300 memory. Optionally copy the entire DSDT to local memory (instead of
7302 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
7304 the original DSDT, creating the need for this option. Default is FALSE,
7308 Implemented detection of a corrupted or replaced DSDT. This change adds
7309 support to detect a DSDT that has been corrupted and/or replaced from
7311 the OS (by firmware). This is typically catastrophic for the system, but
7313 been seen on some machines. Once this problem has been detected, the DSDT
7314 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
7316 Fixed two problems with AcpiReallocateRootTable during the root table
7318 When copying the root table to the new allocation, the length used was
7319 incorrect. The new size was used instead of the current table size,
7321 too much data was copied. Also, the count of available slots for ACPI
7323 was not set correctly. Alexey Starikovskiy, Bob Moore.
7325 Example Code and Data Size: These are the sizes for the OS-independent
7326 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7327 debug version of the code includes the debug output trace mechanism and
7329 much larger code and data size.
7332 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
7333 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
7335 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
7336 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
7338 2) iASL Compiler/Disassembler and Tools:
7340 iASL: Implement limited typechecking for values returned from predefined
7341 control methods. The type of any returned static (unnamed) object is now
7342 validated. For example, Return(1). ACPICA BZ 786.
7344 iASL: Fixed a predefined name object verification regression. Fixes a
7346 introduced in version 20100304. An error is incorrectly generated if a
7347 predefined name is declared as a static named object with a value defined
7348 using the keywords "Zero", "One", or "Ones". Lin Ming.
7350 iASL: Added Windows 7 support for the -g option (get local ACPI tables)
7352 reducing the requested registry access rights. ACPICA BZ 842.
7354 Disassembler: fixed a possible fault when generating External()
7356 Introduced in commit ae7d6fd: Properly handle externals with parent-
7358 (carat). Fixes a string length allocation calculation. Lin Ming.
7360 ----------------------------------------
7361 04 March 2010. Summary of changes for version 20100304:
7363 1) ACPI CA Core Subsystem:
7365 Fixed a possible problem with the AML Mutex handling function
7366 AcpiExReleaseMutex where the function could fault under the very rare
7367 condition when the interpreter has blocked, the interpreter lock is
7369 the interpreter is then reentered via the same thread, and attempts to
7370 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
7374 Implemented additional configuration support for the AML "Debug Object".
7375 Output from the debug object can now be enabled via a global variable,
7376 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
7378 This debug output is now available in the release version of ACPICA
7380 of just the debug version. Also, the entire debug output module can now
7382 configured out of the ACPICA build if desired. One new file added,
7383 executer/exdebug.c. Lin Ming, Bob Moore.
7385 Added header support for the ACPI MCHI table (Management Controller Host
7386 Interface Table). This table was added in ACPI 4.0, but the defining
7388 has only recently become available.
7390 Standardized output of integer values for ACPICA warnings/errors. Always
7392 0x prefix for hex output, always use %u for unsigned integer decimal
7394 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about
7396 invocations.) These invocations were converted from the original
7397 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
7399 Example Code and Data Size: These are the sizes for the OS-independent
7400 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7401 debug version of the code includes the debug output trace mechanism and
7403 much larger code and data size.
7406 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
7407 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
7409 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
7410 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
7412 2) iASL Compiler/Disassembler and Tools:
7414 iASL: Implemented typechecking support for static (non-control method)
7415 predefined named objects that are declared with the Name() operator. For
7416 example, the type of this object is now validated to be of type Integer:
7417 Name(_BBN, 1). This change migrates the compiler to using the core
7419 name table instead of maintaining a local version. Added a new file,
7420 aslpredef.c. ACPICA BZ 832.
7422 Disassembler: Added support for the ACPI 4.0 MCHI table.
7424 ----------------------------------------
7425 21 January 2010. Summary of changes for version 20100121:
7427 1) ACPI CA Core Subsystem:
7429 Added the 2010 copyright to all module headers and signons. This affects
7430 virtually every file in the ACPICA core subsystem, the iASL compiler, the
7431 tools/utilities, and the test suites.
7433 Implemented a change to the AcpiGetDevices interface to eliminate
7435 invocations of the _STA method. In the case where a specific _HID is
7436 requested, do not run _STA until a _HID match is found. This eliminates
7437 potentially dozens of _STA calls during a search for a particular
7439 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
7441 Implemented an additional repair for predefined method return values.
7443 to repair unexpected NULL elements within returned Package objects.
7446 Integer of value zero, a NULL String, or a zero-length Buffer as
7448 ACPICA BZ 818. Lin Ming, Bob Moore.
7450 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
7452 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
7454 64-bit AML integers). It is now obsolete and this change removes it from
7456 ACPICA code base, replaced by UINT64. The original typedef has been
7458 for now for compatibility with existing device driver code. ACPICA BZ
7461 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field
7463 the parse tree object.
7465 Added additional warning options for the gcc-4 generation. Updated the
7467 accordingly. This includes some code restructuring to eliminate
7469 code, elimination of some gotos, elimination of unused return values,
7471 additional casting, and removal of redundant declarations.
7473 Example Code and Data Size: These are the sizes for the OS-independent
7474 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7475 debug version of the code includes the debug output trace mechanism and
7477 much larger code and data size.
7480 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
7481 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
7483 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
7484 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
7486 2) iASL Compiler/Disassembler and Tools:
7488 No functional changes for this release.
7490 ----------------------------------------
7491 14 December 2009. Summary of changes for version 20091214:
7493 1) ACPI CA Core Subsystem:
7495 Enhanced automatic data type conversions for predefined name repairs.
7497 change expands the automatic repairs/conversions for predefined name
7499 values to make Integers, Strings, and Buffers fully interchangeable.
7502 Buffer can be converted to a Package of Integers if necessary. The
7504 module was completely restructured. Lin Ming, Bob Moore.
7506 Implemented automatic removal of null package elements during predefined
7508 repairs. This change will automatically remove embedded and trailing NULL
7509 package elements from returned package objects that are defined to
7512 variable number of sub-packages. The driver is then presented with a
7514 with no null elements to deal with. ACPICA BZ 819.
7516 Implemented a repair for the predefined _FDE and _GTM names. The expected
7517 return value for both names is a Buffer of 5 DWORDs. This repair fixes
7519 possible problems (both seen in the field), where a package of integers
7521 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
7524 Implemented additional module-level code support. This change will
7526 execute module-level code that is not at the root of the namespace (under
7528 Device object, etc.). Now executes the code within the current scope
7530 of the root. ACPICA BZ 762. Lin Ming.
7532 Fixed possible mutex acquisition errors when running _REG methods. Fixes
7534 problem where mutex errors can occur when running a _REG method that is
7536 the same scope as a method-defined operation region or an operation
7538 under a module-level IF block. This type of code is rare, so the problem
7540 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
7542 Fixed a possible memory leak during module-level code execution. An
7544 could be leaked for each block of executed module-level code if the
7545 interpreter slack mode is enabled This change deletes any implicitly
7547 object from the module-level code block. Lin Ming.
7549 Removed messages for successful predefined repair(s). The repair
7551 was considered too wordy. Now, messages are only unconditionally emitted
7553 the return object cannot be repaired. Existing messages for successful
7554 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
7557 Example Code and Data Size: These are the sizes for the OS-independent
7558 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7559 debug version of the code includes the debug output trace mechanism and
7561 much larger code and data size.
7564 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
7565 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
7567 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
7568 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
7570 2) iASL Compiler/Disassembler and Tools:
7572 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
7574 were no longer automatically removed at the termination of the compile.
7576 acpiexec: Implemented the -f option to specify default region fill value.
7577 This option specifies the value used to initialize buffers that simulate
7578 operation regions. Default value is zero. Useful for debugging problems
7580 depend on a specific initial value for a region or field.
7582 ----------------------------------------
7583 12 November 2009. Summary of changes for version 20091112:
7585 1) ACPI CA Core Subsystem:
7587 Implemented a post-order callback to AcpiWalkNamespace. The existing
7588 interface only has a pre-order callback. This change adds an additional
7589 parameter for a post-order callback which will be more useful for bus
7591 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
7593 Modified the behavior of the operation region memory mapping cache for
7594 SystemMemory. Ensure that the memory mappings created for operation
7596 do not cross 4K page boundaries. Crossing a page boundary while mapping
7597 regions can cause kernel warnings on some hosts if the pages have
7599 attributes. Such regions are probably BIOS bugs, and this is the
7601 Linux BZ 14445. Lin Ming.
7603 Implemented an automatic repair for predefined methods that must return
7604 sorted lists. This change will repair (by sorting) packages returned by
7606 _PSS, and _TSS. Drivers can now assume that the packages are correctly
7608 and do not contain NULL package elements. Adds one new file,
7609 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
7611 Fixed a possible fault during predefined name validation if a return
7613 object contains NULL elements. Also adds a warning if a NULL element is
7614 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
7616 include repair or removal of all such NULL elements where possible.
7618 Implemented additional module-level executable AML code support. This
7620 will execute module-level code that is not at the root of the namespace
7621 (under a Device object, etc.) at table load time. Module-level executable
7623 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
7625 Implemented a new internal function to create Integer objects. This
7627 simplifies miscellaneous object creation code. ACPICA BZ 823.
7629 Reduced the severity of predefined repair messages, Warning to Info.
7631 the object was successfully repaired, a warning is too severe. Reduced to
7633 info message for now. These messages may eventually be changed to debug-
7637 Example Code and Data Size: These are the sizes for the OS-independent
7638 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7639 debug version of the code includes the debug output trace mechanism and
7641 much larger code and data size.
7644 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
7645 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
7647 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
7648 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
7650 2) iASL Compiler/Disassembler and Tools:
7652 iASL: Implemented Switch() with While(1) so that Break works correctly.
7654 change correctly implements the Switch operator with a surrounding
7656 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
7658 iASL: Added a message if a package initializer list is shorter than
7660 length. Adds a new remark for a Package() declaration if an initializer
7662 exists, but is shorter than the declared length of the package. Although
7663 technically legal, this is probably a coding error and it is seen in the
7664 field. ACPICA BZ 815. Lin Ming, Bob Moore.
7666 iASL: Fixed a problem where the compiler could fault after the maximum
7668 of errors was reached (200).
7670 acpixtract: Fixed a possible warning for pointer cast if the compiler
7672 level set very high.
7674 ----------------------------------------
7675 13 October 2009. Summary of changes for version 20091013:
7677 1) ACPI CA Core Subsystem:
7679 Fixed a problem where an Operation Region _REG method could be executed
7681 than once. If a custom address space handler is installed by the host
7683 the "initialize operation regions" phase of the ACPICA initialization,
7685 _REG methods for that address space could be executed twice. This change
7686 fixes the problem. ACPICA BZ 427. Lin Ming.
7688 Fixed a possible memory leak for the Scope() ASL operator. When the exact
7689 invocation of "Scope(\)" is executed (change scope to root), one internal
7690 operand object was leaked. Lin Ming.
7692 Implemented a run-time repair for the _MAT predefined method. If the _MAT
7693 return value is defined as a Field object in the AML, and the field
7694 size is less than or equal to the default width of an integer (32 or
7696 can incorrectly return an Integer instead of a Buffer. ACPICA now
7697 automatically repairs this problem. ACPICA BZ 810.
7699 Implemented a run-time repair for the _BIF and _BIX predefined methods.
7701 "OEM Information" field is often incorrectly returned as an Integer with
7702 value zero if the field is not supported by the platform. This is due to
7704 ambiguity in the ACPI specification. The field should always be a string.
7705 ACPICA now automatically repairs this problem by returning a NULL string
7706 within the returned Package. ACPICA BZ 807.
7708 Example Code and Data Size: These are the sizes for the OS-independent
7709 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7710 debug version of the code includes the debug output trace mechanism and
7712 much larger code and data size.
7715 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
7716 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
7718 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
7719 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
7721 2) iASL Compiler/Disassembler and Tools:
7723 Disassembler: Fixed a problem where references to external symbols that
7724 contained one or more parent-prefixes (carats) were not handled
7726 possibly causing a fault. ACPICA BZ 806. Lin Ming.
7728 Disassembler: Restructured the code so that all functions that handle
7729 external symbols are in a single module. One new file is added,
7732 AML Debugger: Added a max count argument for the Batch command (which
7733 executes multiple predefined methods within the namespace.)
7735 iASL: Updated the compiler documentation (User Reference.) Available at
7736 http://www.acpica.org/documentation/. ACPICA BZ 750.
7738 AcpiXtract: Updated for Lint and other formatting changes. Close all open
7741 ----------------------------------------
7742 03 September 2009. Summary of changes for version 20090903:
7744 1) ACPI CA Core Subsystem:
7746 For Windows Vista compatibility, added the automatic execution of an _INI
7747 method located at the namespace root (\_INI). This method is executed at
7748 table load time. This support is in addition to the automatic execution
7750 \_SB._INI. Lin Ming.
7752 Fixed a possible memory leak in the interpreter for AML package objects
7754 the package initializer list is longer than the defined size of the
7756 This apparently can only happen if the BIOS changes the package size on
7758 fly (seen in a _PSS object), as ASL compilers do not allow this. The
7759 interpreter will truncate the package to the defined size (and issue an
7761 message), but previously could leave the extra objects undeleted if they
7763 pre-created during the argument processing (such is the case if the
7765 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
7767 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
7768 This has been reported in the field. Previously, ACPICA would zero out
7770 buffer/string. Now, the operation is treated as a noop. Provides Windows
7771 compatibility. ACPICA BZ 803. Lin Ming.
7773 Removed an extraneous error message for ASL constructs of the form
7774 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
7776 are seen in many BIOSs and are once again treated as NOOPs and no error
7778 emitted when they are encountered. ACPICA BZ 785.
7780 Fixed an extraneous warning message if a _DSM reserved method returns a
7781 Package object. _DSM can return any type of object, so validation on the
7782 return type cannot be performed. ACPICA BZ 802.
7784 Example Code and Data Size: These are the sizes for the OS-independent
7785 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7786 debug version of the code includes the debug output trace mechanism and
7788 much larger code and data size.
7791 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
7792 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
7794 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
7795 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
7797 2) iASL Compiler/Disassembler and Tools:
7799 iASL: Fixed a problem with the use of the Alias operator and Resource
7800 Templates. The correct alias is now constructed and no error is emitted.
7803 iASL: Implemented the -I option to specify additional search directories
7805 include files. Allows multiple additional search paths for include files.
7806 Directories are searched in the order specified on the command line
7808 the local directory is searched.) ACPICA BZ 800.
7810 iASL: Fixed a problem where the full pathname for include files was not
7811 emitted for warnings/errors. This caused the IDE support to not work
7812 properly. ACPICA BZ 765.
7814 iASL: Implemented the -@ option to specify a Windows-style response file
7815 containing additional command line options. ACPICA BZ 801.
7817 AcpiExec: Added support to load multiple AML files simultaneously (such
7820 DSDT and multiple SSDTs). Also added support for wildcards within the AML
7821 pathname. These features allow all machine tables to be easily loaded and
7822 debugged together. ACPICA BZ 804.
7824 Disassembler: Added missing support for disassembly of HEST table Error
7828 ----------------------------------------
7829 30 July 2009. Summary of changes for version 20090730:
7831 The ACPI 4.0 implementation for ACPICA is complete with this release.
7833 1) ACPI CA Core Subsystem:
7835 ACPI 4.0: Added header file support for all new and changed ACPI tables.
7836 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are
7838 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
7840 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
7842 have been some ACPI 4.0 changes to other existing tables. Split the large
7843 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
7845 ACPI 4.0: Implemented predefined name validation for all new names. There
7847 31 new names in ACPI 4.0. The predefined validation module was split into
7849 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
7851 Implemented support for so-called "module-level executable code". This is
7852 executable AML code that exists outside of any control method and is
7854 to be executed at table load time. Although illegal since ACPI 2.0, this
7856 of code still exists and is apparently still being created. Blocks of
7858 code are now detected and executed as intended. Currently, the code
7860 must exist under either an If, Else, or While construct; these are the
7861 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
7863 Implemented an automatic dynamic repair for predefined names that return
7864 nested Package objects. This applies to predefined names that are defined
7866 return a variable-length Package of sub-packages. If the number of sub-
7867 packages is one, BIOS code is occasionally seen that creates a simple
7869 package with no sub-packages. This code attempts to fix the problem by
7870 wrapping a new package object around the existing package. These methods
7872 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA
7876 Fixed a regression introduced in 20090625 for the AcpiGetDevices
7878 The _HID/_CID matching was broken and no longer matched IDs correctly.
7882 Fixed a problem with AcpiReset where the reset would silently fail if the
7883 register was one of the protected I/O ports. AcpiReset now bypasses the
7885 validation mechanism. This may eventually be driven into the
7889 Fixed a regression related to the recent update of the AcpiRead/Write
7890 interfaces. A sleep/suspend could fail if the optional PM2 Control
7892 does not exist during an attempt to write the Bus Master Arbitration bit.
7893 (However, some hosts already delete the code that writes this bit, and
7895 code may in fact be obsolete at this date.) ACPICA BZ 799.
7897 Fixed a problem where AcpiTerminate could fault if inadvertently called
7899 in succession. ACPICA BZ 795.
7901 Example Code and Data Size: These are the sizes for the OS-independent
7902 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7903 debug version of the code includes the debug output trace mechanism and
7905 much larger code and data size.
7908 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
7909 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
7911 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
7912 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
7914 2) iASL Compiler/Disassembler and Tools:
7916 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
7917 changes to existing tables. ACPICA BZ 775.
7919 ----------------------------------------
7920 25 June 2009. Summary of changes for version 20090625:
7922 The ACPI 4.0 Specification was released on June 16 and is available at
7923 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
7924 continue for the next few releases.
7926 1) ACPI CA Core Subsystem:
7928 ACPI 4.0: Implemented interpreter support for the IPMI operation region
7929 address space. Includes support for bi-directional data buffers and an
7931 address space handler (to be installed by an IPMI device driver.) ACPICA
7935 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT.
7937 support in both the header files and the disassembler.
7939 Completed a major update for the AcpiGetObjectInfo external interface.
7941 - Support for variable, unlimited length HID, UID, and CID strings.
7942 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
7944 - Call the _SxW power methods on behalf of a device object.
7945 - Determine if a device is a PCI root bridge.
7946 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
7947 These changes will require an update to all callers of this interface.
7949 the updated ACPICA Programmer Reference for details. One new source file
7951 been added - utilities/utids.c. ACPICA BZ 368, 780.
7953 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
7954 transfers. The Value parameter has been extended from 32 bits to 64 bits
7956 order to support new ACPI 4.0 tables. These changes will require an
7959 all callers of these interfaces. See the ACPICA Programmer Reference for
7960 details. ACPICA BZ 768.
7962 Fixed several problems with AcpiAttachData. The handler was not invoked
7964 the host node was deleted. The data sub-object was not automatically
7966 when the host node was deleted. The interface to the handler had an
7968 parameter, this was removed. ACPICA BZ 778.
7970 Enhanced the function that dumps ACPI table headers. All non-printable
7971 characters in the string fields are now replaced with '?' (Signature,
7973 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
7974 these fields are occasionally seen in the field. ACPICA BZ 788.
7976 Fixed a problem with predefined method repair code where the code that
7977 attempts to repair/convert an object of incorrect type is only executed
7979 the first time the predefined method is called. The mechanism that
7981 warnings on subsequent calls was interfering with the repair mechanism.
7984 Fixed a possible memory leak in the predefined validation/repair code
7987 buffer is automatically converted to an expected string object.
7989 Removed obsolete 16-bit files from the distribution and from the current
7991 tree head. ACPICA BZ 776.
7993 Example Code and Data Size: These are the sizes for the OS-independent
7994 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
7995 debug version of the code includes the debug output trace mechanism and
7997 much larger code and data size.
8000 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
8001 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
8003 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
8004 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
8006 2) iASL Compiler/Disassembler and Tools:
8008 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
8009 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
8011 ACPI 4.0: iASL - implemented compile-time validation support for all new
8012 predefined names and control methods (31 total). ACPICA BZ 769.
8014 ----------------------------------------
8015 21 May 2009. Summary of changes for version 20090521:
8017 1) ACPI CA Core Subsystem:
8019 Disabled the preservation of the SCI enable bit in the PM1 control
8021 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification
8024 a "preserved" bit - "OSPM always preserves this bit position", section
8025 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
8026 because the bit needs to be explicitly set by the OS as a workaround. No
8027 machines fail if the bit is not preserved. Therefore, ACPICA no longer
8028 attempts to preserve this bit.
8030 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
8031 incorrectly formed _PRT package could cause a fault. Added validation to
8032 ensure that each package element is actually a sub-package.
8034 Implemented a new interface to install or override a single control
8036 AcpiInstallMethod. This interface is useful when debugging in order to
8038 an existing method or to install a missing method without having to
8040 the entire ACPI table. See the ACPICA Programmer Reference for use and
8041 examples. Lin Ming, Bob Moore.
8043 Fixed several reference count issues with the DdbHandle object that is
8044 created from a Load or LoadTable operator. Prevent premature deletion of
8046 object. Also, mark the object as invalid once the table has been
8048 This is needed because the handle itself may not be deleted after the
8050 unload, depending on whether it has been stored in a named object by the
8053 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
8054 mutexes of the same sync level are acquired but then not released in
8056 opposite order, the internally maintained Current Sync Level becomes
8058 and can cause subsequent execution errors. ACPICA BZ 471.
8060 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
8061 specification has been changed to make the SyncLevel for mutex objects
8063 useful. When releasing a mutex, the SyncLevel of the mutex must now be
8065 same as the current sync level. This makes more sense than the previous
8067 (SyncLevel less than or equal). This change updates the code to match the
8070 Fixed a problem with the local version of the AcpiOsPurgeCache function.
8072 (local) cache must be locked during all cache object deletions. Andrew
8075 Updated the Load operator to use operation region interfaces. This
8077 direct memory mapping with region access calls. Now, all region accesses
8079 through the installed region handler as they should.
8081 Simplified and optimized the NsGetNextNode function. Reduced parameter
8083 and reduced code for this frequently used function.
8085 Example Code and Data Size: These are the sizes for the OS-independent
8086 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8087 debug version of the code includes the debug output trace mechanism and
8089 much larger code and data size.
8092 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
8093 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
8095 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
8096 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
8098 2) iASL Compiler/Disassembler and Tools:
8100 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
8102 with sub-table disassembly and handling invalid sub-tables. Attempt
8104 after an invalid sub-table ID.
8106 ----------------------------------------
8107 22 April 2009. Summary of changes for version 20090422:
8109 1) ACPI CA Core Subsystem:
8111 Fixed a compatibility issue with the recently released I/O port
8113 mechanism. For windows compatibility, 1) On a port protection violation,
8114 simply ignore the request and do not return an exception (allow the
8116 method to continue execution.) 2) If only part of the request overlaps a
8117 protected port, read/write the individual ports that are not protected.
8121 Enhanced the execution of the ASL/AML BreakPoint operator so that it
8123 breaks into the AML debugger if the debugger is present. This matches the
8124 ACPI-defined behavior.
8126 Fixed several possible warnings related to the use of the configurable
8127 ACPI_THREAD_ID. This type can now be configured as either an integer or a
8128 pointer with no warnings. Also fixes several warnings in printf-like
8129 statements for the 64-bit build when the type is configured as a pointer.
8132 Fixed a number of possible warnings when compiling with gcc 4+ (depending
8134 warning options.) Examples include printf formats, aliasing, unused
8136 missing prototypes, missing switch default statements, use of non-ANSI
8137 library functions, use of non-ANSI constructs. See generate/unix/Makefile
8139 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
8141 Example Code and Data Size: These are the sizes for the OS-independent
8142 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8143 debug version of the code includes the debug output trace mechanism and
8145 much larger code and data size.
8148 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
8149 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
8151 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
8152 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
8154 2) iASL Compiler/Disassembler and Tools:
8156 iASL: Fixed a generation warning from Bison 2.3 and fixed several
8161 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
8163 correctly digest Windows/DOS formatted files (with CR/LF).
8165 iASL: Added a new option for "quiet mode" (-va) that produces only the
8166 compilation summary, not individual errors and warnings. Useful for large
8169 AcpiExec: Implemented a new option (-z) to enable a forced
8171 timeout that can be used to detect hang conditions during execution of
8173 code (includes both internal semaphores and AML-defined mutexes and
8176 Added new makefiles for the generation of acpica in a generic unix-like
8177 environment. These makefiles are intended to generate the acpica tools
8179 utilities from the original acpica git source tree structure.
8181 Test Suites: Updated and cleaned up the documentation files. Updated the
8182 copyrights to 2009, affecting all source files. Use the new version of
8184 with quiet mode. Increased the number of available semaphores in the
8186 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
8188 an alternate implementation of the semaphore timeout to allow aslts to
8189 execute fully on Cygwin.
8191 ----------------------------------------
8192 20 March 2009. Summary of changes for version 20090320:
8194 1) ACPI CA Core Subsystem:
8196 Fixed a possible race condition between AcpiWalkNamespace and dynamic
8198 unloads. Added a reader/writer locking mechanism to allow multiple
8200 namespace walks (readers), but block a dynamic table unload until it can
8202 exclusive write access to the namespace. This fixes a problem where a
8204 unload could (possibly catastrophically) delete the portion of the
8206 that is currently being examined by a walk. Adds a new file, utlock.c,
8208 implements the reader/writer lock mechanism. ACPICA BZ 749.
8210 Fixed a regression introduced in version 20090220 where a change to the
8212 handling could cause the ACPICA subsystem to access non-existent I/O
8215 Modified the handling of FADT register and table (FACS/DSDT) addresses.
8217 FADT can contain both 32-bit and 64-bit versions of these addresses.
8218 Previously, the 64-bit versions were favored, meaning that if both 32 and
8220 versions were valid, but not equal, the 64-bit version was used. This was
8221 found to cause some machines to fail. Now, in this case, the 32-bit
8223 is used instead. This now matches the Windows behavior.
8225 Implemented a new mechanism to protect certain I/O ports. Provides
8227 compatibility and protects the standard PC I/O ports from access via AML
8228 code. Adds a new file, hwvalid.c
8230 Fixed a possible extraneous warning message from the FADT support. The
8231 message warns of a 32/64 length mismatch between the legacy and GAS
8232 definitions for a register.
8234 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
8236 made obsolete by the port protection mechanism above. It was previously
8238 to validate the entire address range of an operation region, which could
8240 incorrect if the range included illegal ports, but fields within the
8241 operation region did not actually access those ports. Validation is now
8242 performed on a per-field basis instead of the entire region.
8244 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
8245 Ignored bits must be "preserved" according to the ACPI spec. Usually,
8247 means a read/modify/write when writing to the register. However, for
8249 registers, writing a one means clear the event. Writing a zero means
8251 the event (do not clear.) This behavior is clarified in the ACPI 4.0
8253 and the ACPICA code now simply always writes a zero to the ignored bit.
8255 Modified the handling of ignored bits for the PM1 A/B Control Registers.
8257 per the ACPI specification, for the control registers, preserve
8258 (read/modify/write) all bits that are defined as either reserved or
8261 Updated the handling of write-only bits in the PM1 A/B Control Registers.
8262 When reading the register, zero the write-only bits as per the ACPI spec.
8263 ACPICA BZ 443. Lin Ming.
8265 Removed "Linux" from the list of supported _OSI strings. Linux no longer
8266 wants to reply true to this request. The Windows strings are the only
8268 through the AML that are tested and known to work properly.
8271 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
8272 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
8274 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
8275 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
8277 2) iASL Compiler/Disassembler and Tools:
8279 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
8283 ----------------------------------------
8284 20 February 2009. Summary of changes for version 20090220:
8286 1) ACPI CA Core Subsystem:
8288 Optimized the ACPI register locking. Removed locking for reads from the
8290 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock
8292 not required when reading the single-bit registers. The
8293 AcpiGetRegisterUnlocked function is no longer needed and has been
8295 This will improve performance for reads on these registers. ACPICA BZ
8298 Fixed the parameter validation for AcpiRead/Write. Now return
8299 AE_BAD_PARAMETER if the input register pointer is null, and
8302 the register has an address of zero. Previously, these cases simply
8304 AE_OK. For optional registers such as PM1B status/enable/control, the
8306 should check for a valid register address before calling. ACPICA BZ 748.
8308 Renamed the external ACPI bit register access functions. Renamed
8309 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
8310 functions. The new names are AcpiReadBitRegister and
8311 AcpiWriteBitRegister.
8312 Also, restructured the code for these functions by simplifying the code
8314 and condensing duplicate code to reduce code size.
8316 Added new functions to transparently handle the possibly split PM1 A/B
8317 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two
8319 now handle the split registers for PM1 Status, Enable, and Control.
8324 Added a function to handle the PM1 control registers,
8325 AcpiHwWritePm1Control.
8326 This function writes both of the PM1 control registers (A/B). These
8328 are different than the PM1 A/B status and enable registers in that
8330 values can be written to the A/B registers. Most notably, the SLP_TYP
8332 can be different, as per the values returned from the _Sx predefined
8335 Removed an extra register write within AcpiHwClearAcpiStatus. This
8337 was writing an optional PM1B status register twice. The existing call to
8339 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
8341 register. ACPICA BZ 751.
8343 Split out the PM1 Status registers from the FADT. Added new globals for
8345 registers (A/B), similar to the way the PM1 Enable registers are handled.
8346 Instead of overloading the FADT Event Register blocks. This makes the
8348 clearer and less prone to error.
8350 Fixed the warning message for when the platform contains too many ACPI
8352 for the default size of the global root table data structure. The
8354 for the truncation value was incorrect.
8356 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
8357 obsolete macro, since it is now a simple reference to ->common.type.
8359 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
8361 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
8362 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
8363 simply SLEEP_TYPE. ACPICA BZ 754.
8365 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
8366 function is only needed on 64-bit host operating systems and is thus not
8367 included for 32-bit hosts.
8369 Debug output: print the input and result for invocations of the _OSI
8371 control method via the ACPI_LV_INFO debug level. Also, reduced some of
8373 verbosity of this debug level. Len Brown.
8375 Example Code and Data Size: These are the sizes for the OS-independent
8376 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8377 debug version of the code includes the debug output trace mechanism and
8379 much larger code and data size.
8382 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
8383 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
8385 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
8386 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
8388 2) iASL Compiler/Disassembler and Tools:
8390 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
8391 various legal performance profiles.
8393 ----------------------------------------
8394 23 January 2009. Summary of changes for version 20090123:
8396 1) ACPI CA Core Subsystem:
8398 Added the 2009 copyright to all module headers and signons. This affects
8399 virtually every file in the ACPICA core subsystem, the iASL compiler, and
8400 the tools/utilities.
8402 Implemented a change to allow the host to override any ACPI table,
8404 dynamically loaded tables. Previously, only the DSDT could be replaced by
8406 host. With this change, the AcpiOsTableOverride interface is called for
8408 table found in the RSDT/XSDT during ACPICA initialization, and also
8410 a table is dynamically loaded via the AML Load operator.
8412 Updated FADT flag definitions, especially the Boot Architecture flags.
8414 Debugger: For the Find command, automatically pad the input ACPI name
8416 underscores if the name is shorter than 4 characters. This enables a
8418 with the actual namespace entry which is itself padded with underscores.
8420 Example Code and Data Size: These are the sizes for the OS-independent
8421 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8422 debug version of the code includes the debug output trace mechanism and
8424 much larger code and data size.
8427 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
8428 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
8430 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
8431 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
8433 2) iASL Compiler/Disassembler and Tools:
8435 Fix build error under Bison-2.4.
8437 Dissasembler: Enhanced FADT support. Added decoding of the Boot
8439 flags. Now decode all flags, regardless of the FADT version. Flag output
8440 includes the FADT version which first defined each flag.
8442 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
8444 DSDT). Windows only.
8446 ----------------------------------------
8447 04 December 2008. Summary of changes for version 20081204:
8449 1) ACPI CA Core Subsystem:
8451 The ACPICA Programmer Reference has been completely updated and revamped
8453 this release. This includes updates to the external interfaces, OSL
8454 interfaces, the overview sections, and the debugger reference.
8456 Several new ACPICA interfaces have been implemented and documented in the
8457 programmer reference:
8458 AcpiReset - Writes the reset value to the FADT-defined reset register.
8459 AcpiDisableAllGpes - Disable all available GPEs.
8460 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
8461 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
8462 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
8463 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
8464 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
8466 Most of the public ACPI hardware-related interfaces have been moved to a
8468 file, components/hardware/hwxface.c
8470 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
8471 register lengths within the FADT are now used, and the low level ACPI
8472 register access no longer hardcodes the ACPI register lengths. Given that
8473 there may be some risk in actually trusting the FADT register lengths, a
8475 time option was added to fall back to the default hardcoded lengths if
8477 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
8478 option is set to true for now, and a warning is issued if a suspicious
8480 register length is overridden with the default value.
8482 Fixed a reference count issue in NsRepairObject. This problem was
8484 in version 20081031 as part of a fix to repair Buffer objects within
8487 Added semaphore support to the Linux/Unix application OS-services layer
8488 (OSL). ACPICA BZ 448. Lin Ming.
8490 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
8492 be implemented in the OSL, or will binary semaphores be used instead.
8494 Example Code and Data Size: These are the sizes for the OS-independent
8495 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8496 debug version of the code includes the debug output trace mechanism and
8498 much larger code and data size.
8501 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
8502 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
8504 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
8505 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
8507 2) iASL Compiler/Disassembler and Tools:
8509 iASL: Completed the '-e' option to include additional ACPI tables in
8512 aid with disassembly and External statement generation. ACPICA BZ 742.
8516 iASL: Removed the "named object in while loop" error. The compiler cannot
8517 determine how many times a loop will execute. ACPICA BZ 730.
8519 Disassembler: Implemented support for FADT revision 2 (MS extension).
8523 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and
8526 ----------------------------------------
8527 31 October 2008. Summary of changes for version 20081031:
8529 1) ACPI CA Core Subsystem:
8531 Restructured the ACPICA header files into public/private. acpi.h now
8533 only the "public" acpica headers. All other acpica headers are "private"
8535 should not be included by acpica users. One new file, accommon.h is used
8537 include the commonly used private headers for acpica code generation.
8539 plans include moving all private headers to a new subdirectory.
8541 Implemented an automatic Buffer->String return value conversion for
8542 predefined ACPI methods. For these methods (such as _BIF), added
8544 conversion for return objects that are required to be a String, but a
8546 was found instead. This can happen when reading string battery data from
8548 operation region, because it used to be difficult to convert the data
8550 buffer to string from within the ASL. Ensures that the host OS is
8552 with a valid null-terminated string. Linux BZ 11822.
8554 Updated the FACS waking vector interfaces. Split
8555 AcpiSetFirmwareWakingVector
8556 into two: one for the 32-bit vector, another for the 64-bit vector. This
8558 required because the host OS must setup the wake much differently for
8560 vector (real vs. protected mode, etc.) and the interface itself should
8563 deciding which vector to use. Also, eliminated the
8564 GetFirmwareWakingVector
8565 interface, as it served no purpose (only the firmware reads the vector,
8567 only writes the vector.) ACPICA BZ 731.
8569 Implemented a mechanism to escape infinite AML While() loops. Added a
8571 counter to force exit from AML While loops if the count becomes too
8573 This can occur in poorly written AML when the hardware does not respond
8574 within a while loop and the loop does not implement a timeout. The
8576 loop count is configurable. A new exception code is returned when a loop
8578 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
8580 Optimized the execution of AML While loops. Previously, a control state
8581 object was allocated and freed for each execution of the loop. The
8582 optimization is to simply reuse the control state for each iteration.
8584 speeds up the raw loop execution time by about 5%.
8586 Enhanced the implicit return mechanism. For Windows compatibility, return
8588 implicit integer of value zero for methods that contain no executable
8590 Such methods are seen in the field as stubs (presumably), and can cause
8591 drivers to fail if they expect a return value. Lin Ming.
8593 Allow multiple backslashes as root prefixes in namepaths. In a fully
8594 qualified namepath, allow multiple backslash prefixes. This can happen
8596 is seen in the field) because of the use of a double-backslash in strings
8597 (since backslash is the escape character) causing confusion. ACPICA BZ
8601 Emit a warning if two different FACS or DSDT tables are discovered in the
8602 FADT. Checks if there are two valid but different addresses for the FACS
8604 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
8606 Consolidated the method argument count validation code. Merged the code
8608 validates control method argument counts into the predefined validation
8609 module. Eliminates possible multiple warnings for incorrect argument
8612 Implemented ACPICA example code. Includes code for ACPICA initialization,
8613 handler installation, and calling a control method. Available at
8614 source/tools/examples.
8616 Added a global pointer for FACS table to simplify internal FACS access.
8618 the global pointer instead of using AcpiGetTableByIndex for each FACS
8620 This simplifies the code for the Global Lock and the Firmware Waking
8623 Example Code and Data Size: These are the sizes for the OS-independent
8624 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8625 debug version of the code includes the debug output trace mechanism and
8627 much larger code and data size.
8630 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
8631 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
8633 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
8634 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
8636 2) iASL Compiler/Disassembler and Tools:
8638 iASL: Improved disassembly of external method calls. Added the -e option
8640 allow the inclusion of additional ACPI tables to help with the
8643 method invocations and the generation of external declarations during the
8644 disassembly. Certain external method invocations cannot be disassembled
8645 properly without the actual declaration of the method. Use the -e option
8647 include the table where the external method(s) are actually declared.
8649 useful for disassembling SSDTs that make method calls back to the master
8650 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
8652 -e dsdt.aml ssdt1.aml
8654 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
8655 problem where the use of an alias within a namepath would result in a not
8656 found error or cause the compiler to fault. Also now allows forward
8657 references from the Alias operator itself. ACPICA BZ 738.
8659 ----------------------------------------
8660 26 September 2008. Summary of changes for version 20080926:
8662 1) ACPI CA Core Subsystem:
8664 Designed and implemented a mechanism to validate predefined ACPI methods
8666 objects. This code validates the predefined ACPI objects (objects whose
8668 start with underscore) that appear in the namespace, at the time they are
8669 evaluated. The argument count and the type of the returned object are
8670 validated against the ACPI specification. The purpose of this validation
8672 to detect problems with the BIOS-implemented predefined ACPI objects
8674 the results are returned to the ACPI-related drivers. Future enhancements
8676 include actual repair of incorrect return objects where possible. Two new
8677 files are nspredef.c and acpredef.h.
8679 Fixed a fault in the AML parser if a memory allocation fails during the
8681 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
8683 Fixed an issue with implicit return compatibility. This change improves
8685 implicit return mechanism to be more compatible with the MS interpreter.
8687 Ming, ACPICA BZ 349.
8689 Implemented support for zero-length buffer-to-string conversions. Allow
8691 length strings during interpreter buffer-to-string conversions. For
8693 during the ToDecimalString and ToHexString operators, as well as implicit
8694 conversions. Fiodor Suietov, ACPICA BZ 585.
8696 Fixed two possible memory leaks in the error exit paths of
8697 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions
8699 similar in that they use a stack of state objects in order to eliminate
8700 recursion. The stack must be fully unwound and deallocated if an error
8701 occurs. Lin Ming. ACPICA BZ 383.
8703 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
8705 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
8706 Moore ACPICA BZ 442.
8708 Removed the obsolete version number in module headers. Removed the
8709 "$Revision" number that appeared in each module header. This version
8711 was useful under SourceSafe and CVS, but has no meaning under git. It is
8713 only incorrect, it could also be misleading.
8715 Example Code and Data Size: These are the sizes for the OS-independent
8716 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8717 debug version of the code includes the debug output trace mechanism and
8719 much larger code and data size.
8722 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
8723 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
8725 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
8726 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
8728 ----------------------------------------
8729 29 August 2008. Summary of changes for version 20080829:
8731 1) ACPI CA Core Subsystem:
8733 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
8734 Reference. Changes include the elimination of cheating on the Object
8736 for the DdbHandle subtype, addition of a reference class field to
8737 differentiate the various reference types (instead of an AML opcode), and
8739 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
8741 Reduce an error to a warning for an incorrect method argument count.
8742 Previously aborted with an error if too few arguments were passed to a
8743 control method via the external ACPICA interface. Now issue a warning
8745 and continue. Handles the case where the method inadvertently declares
8747 many arguments, but does not actually use the extra ones. Applies mainly
8749 the predefined methods. Lin Ming. Linux BZ 11032.
8751 Disallow the evaluation of named object types with no intrinsic value.
8753 AE_TYPE for objects that have no value and therefore evaluation is
8755 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
8757 these types were allowed, but an exception would be generated at some
8759 during the evaluation. Now, the error is generated up front.
8761 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
8762 (nsnames.c). Fixes a leak in the error exit path.
8764 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
8766 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
8768 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
8771 Removed obsolete and/or unused exception codes from the acexcep.h header.
8772 There is the possibility that certain device drivers may be affected if
8774 use any of these exceptions.
8776 The ACPICA documentation has been added to the public git source tree,
8778 acpica/documents. Included are the ACPICA programmer reference, the iASL
8779 compiler reference, and the changes.txt release logfile.
8781 Example Code and Data Size: These are the sizes for the OS-independent
8782 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8783 debug version of the code includes the debug output trace mechanism and
8785 much larger code and data size.
8788 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
8789 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
8791 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
8792 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
8794 2) iASL Compiler/Disassembler and Tools:
8796 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
8797 defines _SCP with 3 arguments. Previous versions defined it with only 1
8798 argument. iASL now allows both definitions.
8800 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for
8802 length subtables when disassembling ACPI tables. Also fixed a couple of
8803 errors where a full 16-bit table type field was not extracted from the
8807 acpisrc: Improve comment counting mechanism for generating source code
8808 statistics. Count first and last lines of multi-line comments as
8810 not comment lines. Handle Linux legal header in addition to standard
8814 ----------------------------------------
8816 29 July 2008. Summary of changes for version 20080729:
8818 1) ACPI CA Core Subsystem:
8820 Fix a possible deadlock in the GPE dispatch. Remove call to
8821 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
8823 to acquire the GPE lock but can deadlock since the GPE lock is already
8825 at dispatch time. This code was introduced in version 20060831 as a
8827 to Linux BZ 6881 and has since been removed from Linux.
8829 Add a function to dereference returned reference objects. Examines the
8831 object from a call to AcpiEvaluateObject. Any Index or RefOf references
8833 automatically dereferenced in an attempt to return something useful
8835 reference types cannot be converted into an external ACPI_OBJECT.)
8837 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
8839 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
8840 subtables for the MADT and one new subtable for the SRAT. Includes
8841 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
8843 Specification, June 2008.
8845 Additional error checking for pathname utilities. Add error check after
8847 calls to AcpiNsGetPathnameLength. Add status return from
8848 AcpiNsBuildExternalPath and check after all calls. Add parameter
8850 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
8852 Return status from the global init function AcpiUtGlobalInitialize. This
8854 used by both the kernel subsystem and the utilities such as iASL
8856 The function could possibly fail when the caches are initialized. Yang
8859 Add a function to decode reference object types to strings. Created for
8860 improved error messages.
8862 Improve object conversion error messages. Better error messages during
8864 conversion from internal to the external ACPI_OBJECT. Used for external
8866 to AcpiEvaluateObject.
8868 Example Code and Data Size: These are the sizes for the OS-independent
8869 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
8870 debug version of the code includes the debug output trace mechanism and
8872 much larger code and data size.
8875 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
8876 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
8878 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
8879 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
8881 2) iASL Compiler/Disassembler and Tools:
8883 Debugger: fix a possible hang when evaluating non-methods. Fixes a
8885 introduced in version 20080701. If the object being evaluated (via
8887 command) is not a method, the debugger can hang while trying to obtain
8889 existent parameters.
8891 iASL: relax error for using reserved "_T_x" identifiers. These names can
8892 appear in a disassembled ASL file if they were emitted by the original
8893 compiler. Instead of issuing an error or warning and forcing the user to
8894 manually change these names, issue a remark instead.
8896 iASL: error if named object created in while loop. Emit an error if any
8898 object is created within a While loop. If allowed, this code will
8901 run-time error on the second iteration of the loop when an attempt is
8904 create the same named object twice. ACPICA bugzilla 730.
8906 iASL: Support absolute pathnames for include files. Add support for
8908 pathnames within the Include operator. previously, only relative
8912 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
8914 The ACPI spec requires one interrupt minimum. BZ 423
8916 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
8917 Handles the case for the Interrupt Resource Descriptor where
8918 the ResourceSource argument is omitted but ResourceSourceIndex
8919 is present. Now leave room for the Index. BZ 426
8921 iASL: Prevent error message if CondRefOf target does not exist. Fixes
8923 where an error message is emitted if the target does not exist. BZ 516
8925 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
8926 (get ACPI tables on Windows). This was apparently broken in version
8929 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
8931 the EOF happens immediately after the last table in the input file. Print
8932 completion message. Previously, no message was displayed in this case.
8934 ----------------------------------------
8935 01 July 2008. Summary of changes for version 20080701:
8937 0) Git source tree / acpica.org
8939 Fixed a problem where a git-clone from http would not transfer the entire
8942 1) ACPI CA Core Subsystem:
8944 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
8945 enable bit. Now performs a read-change-write of the enable register
8947 of simply writing out the cached enable mask. This will prevent
8949 enabling of GPEs if a rogue GPE is received during initialization (before
8951 handlers are installed.)
8953 Implemented a copy for dynamically loaded tables. Previously, dynamically
8954 loaded tables were simply mapped - but on some machines this memory is
8955 corrupted after suspend. Now copy the table to a local buffer. For the
8956 OpRegion case, added checksum verify. Use the table length from the table
8957 header, not the region length. For the Buffer case, use the table length
8958 also. Dennis Noordsij, Bob Moore. BZ 10734
8960 Fixed a problem where the same ACPI table could not be dynamically loaded
8962 unloaded more than once. Without this change, a table cannot be loaded
8964 once it has been loaded/unloaded one time. The current mechanism does not
8965 unregister a table upon an unload. During a load, if the same table is
8967 this no longer returns an exception. BZ 722
8969 Fixed a problem where the wrong descriptor length was calculated for the
8970 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as
8972 are calculated as 12 bytes long, but the actual length in the internal
8973 descriptor is 16 because of the round-up to 8 on the 64-bit build.
8975 by Linn Crosetto. BZ 728
8977 Fixed a possible memory leak in the Unload operator. The DdbHandle
8979 by Load() did not have its reference count decremented during unload,
8981 to a memory leak. Lin Ming. BZ 727
8983 Fixed a possible memory leak when deleting thermal/processor objects. Any
8984 associated notify handlers (and objects) were not being deleted. Fiodor
8987 Fixed the ordering of the ASCII names in the global mutex table to match
8989 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
8991 Vegard Nossum. BZ 726
8993 Enhanced the AcpiGetObjectInfo interface to return the number of required
8994 arguments if the object is a control method. Added this call to the
8996 so the proper number of default arguments are passed to a method. This
8997 prevents a warning when executing methods from AcpiExec.
8999 Added a check for an invalid handle in AcpiGetObjectInfo. Return
9000 AE_BAD_PARAMETER if input handle is invalid. BZ 474
9002 Fixed an extraneous warning from exconfig.c on the 64-bit build.
9004 Example Code and Data Size: These are the sizes for the OS-independent
9005 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9006 debug version of the code includes the debug output trace mechanism and
9008 much larger code and data size.
9011 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
9012 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
9014 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
9015 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
9017 2) iASL Compiler/Disassembler and Tools:
9019 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
9020 resource descriptor names.
9022 iASL: Detect invalid ASCII characters in input (windows version). Removed
9024 "-CF" flag from the flex compile, enables correct detection of non-ASCII
9025 characters in the input. BZ 441
9027 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
9029 "result of operation not used" warning when the DDB handle returned from
9030 LoadTable is not used. The warning is not needed. BZ 590
9032 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG
9035 pass address of table to the AML. Added option to disable OpRegion
9037 to allow creation of an OpRegion with a real address that was passed to
9039 All of this allows testing of the Load and Unload operators from
9042 Debugger: update tables command for unloaded tables. Handle unloaded
9044 and use the standard table header output routine.
9046 ----------------------------------------
9047 09 June 2008. Summary of changes for version 20080609:
9049 1) ACPI CA Core Subsystem:
9051 Implemented a workaround for reversed _PRT entries. A significant number
9053 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
9054 change dynamically detects and repairs this problem. Provides
9056 with MS ACPI. BZ 6859
9058 Simplified the internal ACPI hardware interfaces to eliminate the locking
9059 flag parameter from Register Read/Write. Added a new external interface,
9060 AcpiGetRegisterUnlocked.
9062 Fixed a problem where the invocation of a GPE control method could hang.
9064 was a regression introduced in 20080514. The new method argument count
9065 validation mechanism can enter an infinite loop when a GPE method is
9066 dispatched. Problem fixed by removing the obsolete code that passed GPE
9068 information to the notify handler via the control method parameter
9071 Fixed a problem where the _SST execution status was incorrectly returned
9073 the caller of AcpiEnterSleepStatePrep. This was a regression introduced
9075 20080514. _SST is optional and a NOT_FOUND exception should never be
9078 Fixed a problem where a deleted object could be accessed from within the
9080 parser. This was a regression introduced in version 20080123 as a fix for
9082 Unload operator. Lin Ming. BZ 10669
9084 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
9086 and eliminated the use of a negative index in a loop. Operands are now
9087 displayed in the correct order, not backwards. This also fixes a
9089 introduced in 20080514 on 64-bit systems where the elimination of
9090 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
9093 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
9095 path did not delete a locally allocated structure.
9097 Updated definitions for the DMAR and SRAT tables to synchronize with the
9098 current specifications. Includes disassembler support.
9100 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
9101 loop termination value was used. Loop terminated on iteration early,
9103 one mutex. Linn Crosetto
9105 Example Code and Data Size: These are the sizes for the OS-independent
9106 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9107 debug version of the code includes the debug output trace mechanism and
9109 much larger code and data size.
9112 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
9113 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
9115 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
9116 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
9118 2) iASL Compiler/Disassembler and Tools:
9120 Disassembler: Implemented support for EisaId() within _CID objects. Now
9121 disassemble integer _CID objects back to EisaId invocations, including
9122 multiple integers within _CID packages. Includes single-step support for
9125 Disassembler: Added support for DMAR and SRAT table definition changes.
9127 ----------------------------------------
9128 14 May 2008. Summary of changes for version 20080514:
9130 1) ACPI CA Core Subsystem:
9132 Fixed a problem where GPEs were enabled too early during the ACPICA
9133 initialization. This could lead to "handler not installed" errors on some
9134 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
9136 ensures that all operation regions and devices throughout the namespace
9138 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
9140 Implemented a change to the enter sleep code. Moved execution of the _GTS
9141 method to just before setting sleep enable bit. The execution was moved
9143 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
9144 immediately before the SLP_EN bit is set, as per the ACPI specification.
9147 Implemented a fix to disable unknown GPEs (2nd version). Now always
9149 the GPE, even if ACPICA thinks that that it is already disabled. It is
9150 possible that the AML or some other code has enabled the GPE unbeknownst
9154 Fixed a problem with the Field operator where zero-length fields would
9156 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
9158 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
9160 Implemented a fix for the Load operator, now load the table at the
9162 root. This reverts a change introduced in version 20071019. The table is
9164 loaded at the namespace root even though this goes against the ACPI
9165 specification. This provides compatibility with other ACPI
9167 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
9170 Fixed a problem where ACPICA would not Load() tables with unusual
9172 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
9173 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
9174 Therefore, signature validation is worthless. Apparently MS ACPI accepts
9176 signatures, ACPICA must be compatible. BZ 10454.
9178 Fixed a possible negative array index in AcpiUtValidateException. Added
9180 fields to the exception string arrays to eliminate a -1 subtraction on
9184 Updated the debug tracking macros to reduce overall code and data size.
9185 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
9186 instead of pointers to static strings. Jan Beulich and Bob Moore.
9188 Implemented argument count checking in control method invocation via
9189 AcpiEvaluateObject. Now emit an error if too few arguments, warning if
9191 many. This applies only to extern programmatic control method execution,
9193 method-to-method calls within the AML. Lin Ming.
9195 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
9197 longer needed, especially with the removal of 16-bit support. It was
9199 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64
9202 32/64-bit platforms is required.
9204 Added the C const qualifier for appropriate string constants -- mostly
9205 MODULE_NAME and printf format strings. Jan Beulich.
9207 Example Code and Data Size: These are the sizes for the OS-independent
9208 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9209 debug version of the code includes the debug output trace mechanism and
9211 much larger code and data size.
9214 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
9215 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
9217 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
9218 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
9220 2) iASL Compiler/Disassembler and Tools:
9222 Implemented ACPI table revision ID validation in the disassembler. Zero
9224 always invalid. For DSDTs, the ID controls the interpreter integer width.
9226 means 32-bit and this is unusual. 2 or greater is 64-bit.
9228 ----------------------------------------
9229 21 March 2008. Summary of changes for version 20080321:
9231 1) ACPI CA Core Subsystem:
9233 Implemented an additional change to the GPE support in order to suppress
9234 spurious or stray GPEs. The AcpiEvDisableGpe function will now
9236 disable incoming GPEs that are neither enabled nor disabled -- meaning
9238 the GPE is unknown to the system. This should prevent future interrupt
9240 from that GPE. BZ 6217 (Zhang Rui)
9242 Fixed a problem where NULL package elements were not returned to the
9243 AcpiEvaluateObject interface correctly. The element was simply ignored
9244 instead of returning a NULL ACPI_OBJECT package element, potentially
9246 a buffer overflow and/or confusing the caller who expected a fixed number
9248 elements. BZ 10132 (Lin Ming, Bob Moore)
9250 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
9252 Qword), Field, BankField, and IndexField operators when invoked from
9254 an executing control method. In this case, these operators created
9256 nodes that were incorrectly left marked as permanent nodes instead of
9257 temporary nodes. This could cause a problem if there is race condition
9258 between an exiting control method and a running namespace walk. (Reported
9262 Fixed a problem where the CreateField and CreateXXXField operators would
9263 incorrectly allow duplicate names (the name of the field) with no
9267 Implemented several changes for Notify handling. Added support for new
9269 values (ACPI 2.0+) and improved the Notify debug output. Notify on
9270 PowerResource objects is no longer allowed, as per the ACPI
9272 (Bob Moore, Zhang Rui)
9274 All Reference Objects returned via the AcpiEvaluateObject interface are
9276 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
9278 NULL objects - either NULL package elements or unresolved named
9281 Fixed a problem where an extraneous debug message was produced for
9283 objects (when debugging enabled). The message "Package List length larger
9284 than NumElements count" is now produced in the correct case, and is now
9286 error message rather than a debug message. Added a debug message for the
9287 opposite case, where NumElements is larger than the Package List (the
9289 will be padded out with NULL elements as per the ACPI spec.)
9291 Implemented several improvements for the output of the ASL "Debug" object
9293 clarify and keep all data for a given object on one output line.
9295 Fixed two size calculation issues with the variable-length Start
9297 resource descriptor.
9299 Example Code and Data Size: These are the sizes for the OS-independent
9300 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9301 debug version of the code includes the debug output trace mechanism and
9303 a much larger code and data size.
9306 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
9307 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
9309 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
9310 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
9312 2) iASL Compiler/Disassembler and Tools:
9314 Fixed a problem with the use of the Switch operator where execution of
9316 containing method by multiple concurrent threads could cause an
9317 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
9318 actual Switch opcode, it must be simulated with local named temporary
9319 variables and if/else pairs. The solution chosen was to mark any method
9321 uses Switch as Serialized, thus preventing multiple thread entries. BZ
9324 ----------------------------------------
9325 13 February 2008. Summary of changes for version 20080213:
9327 1) ACPI CA Core Subsystem:
9329 Implemented another MS compatibility design change for GPE/Notify
9331 GPEs are now cleared/enabled asynchronously to allow all pending notifies
9333 complete first. It is expected that the OSL will queue the enable request
9334 behind all pending notify requests (may require changes to the local host
9336 in AcpiOsExecute). Alexey Starikovskiy.
9338 Fixed a problem where buffer and package objects passed as arguments to a
9339 control method via the external AcpiEvaluateObject interface could cause
9341 AE_AML_INTERNAL exception depending on the order and type of operators
9342 executed by the target control method.
9344 Fixed a problem where resource descriptor size optimization could cause a
9345 problem when a _CRS resource template is passed to a _SRS method. The
9347 resource template must use the same descriptors (with the same size) as
9348 returned from _CRS. This change affects the following resource
9350 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
9353 Fixed a problem where a CopyObject to RegionField, BankField, and
9355 objects did not perform an implicit conversion as it should. These types
9357 retain their initial type permanently as per the ACPI specification.
9359 a CopyObject to all other object types should not perform an implicit
9360 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
9362 Fixed a problem with the AcpiGetDevices interface where the mechanism to
9363 match device CIDs did not examine the entire list of available CIDs, but
9364 instead aborted on the first non-matching CID. Andrew Patterson.
9366 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
9368 inadvertently changed to return a 16-bit value instead of a 32-bit value,
9369 truncating the upper dword of a 64-bit value. This macro is only used to
9370 display debug output, so no incorrect calculations were made. Also,
9371 reimplemented the macro so that a 64-bit shift is not performed by
9372 inefficient compilers.
9374 Added missing va_end statements that should correspond with each va_start
9377 Example Code and Data Size: These are the sizes for the OS-independent
9378 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9379 debug version of the code includes the debug output trace mechanism and
9381 a much larger code and data size.
9384 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
9385 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
9387 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
9388 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
9390 2) iASL Compiler/Disassembler and Tools:
9392 Implemented full disassembler support for the following new ACPI tables:
9393 BERT, EINJ, and ERST. Implemented partial disassembler support for the
9394 complicated HEST table. These tables support the Windows Hardware Error
9395 Architecture (WHEA).
9397 ----------------------------------------
9398 23 January 2008. Summary of changes for version 20080123:
9400 1) ACPI CA Core Subsystem:
9402 Added the 2008 copyright to all module headers and signons. This affects
9403 virtually every file in the ACPICA core subsystem, the iASL compiler, and
9404 the tools/utilities.
9406 Fixed a problem with the SizeOf operator when used with Package and
9408 objects. These objects have deferred execution for some arguments, and
9410 execution is now completed before the SizeOf is executed. This problem
9412 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
9416 Implemented an enhancement to the interpreter "slack mode". In the
9419 an explicit return or an implicitly returned object from the last
9421 opcode, a control method will now implicitly return an integer of value 0
9423 Microsoft compatibility. (Lin Ming) BZ 392
9425 Fixed a problem with the Load operator where an exception was not
9428 the case where the table is already loaded. (Lin Ming) BZ 463
9430 Implemented support for the use of DDBHandles as an Indexed Reference, as
9432 the ACPI spec. (Lin Ming) BZ 486
9434 Implemented support for UserTerm (Method invocation) for the Unload
9436 as per the ACPI spec. (Lin Ming) BZ 580
9438 Fixed a problem with the LoadTable operator where the OemId and
9440 input strings could cause unexpected failures if they were shorter than
9442 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
9444 Implemented support for UserTerm (Method invocation) for the Unload
9446 as per the ACPI spec. (Lin Ming) BZ 580
9448 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
9450 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
9452 Example Code and Data Size: These are the sizes for the OS-independent
9453 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9454 debug version of the code includes the debug output trace mechanism and
9456 a much larger code and data size.
9459 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
9460 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
9462 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
9463 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
9465 2) iASL Compiler/Disassembler and Tools:
9467 Implemented support in the disassembler for checksum validation on
9469 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
9471 header dump at the start of the disassembly.
9473 Implemented additional debugging information in the namespace listing
9475 created during compilation. In addition to the namespace hierarchy, the
9477 pathname to each namespace object is displayed.
9479 Fixed a problem with the disassembler where invalid ACPI tables could
9481 faults or infinite loops.
9483 Fixed an unexpected parse error when using the optional "parameter types"
9484 list in a control method declaration. (Lin Ming) BZ 397
9486 Fixed a problem where two External declarations with the same name did
9488 cause an error (Lin Ming) BZ 509
9490 Implemented support for full TermArgs (adding Argx, Localx and method
9491 invocation) for the ParameterData parameter to the LoadTable operator.
9495 ----------------------------------------
9496 19 December 2007. Summary of changes for version 20071219:
9498 1) ACPI CA Core Subsystem:
9500 Implemented full support for deferred execution for the TermArg string
9501 arguments for DataTableRegion. This enables forward references and full
9502 operand resolution for the three string arguments. Similar to
9504 deferred argument execution.) Lin Ming. BZ 430
9506 Implemented full argument resolution support for the BankValue argument
9508 BankField. Previously, only constants were supported, now any TermArg may
9510 used. Lin Ming BZ 387, 393
9512 Fixed a problem with AcpiGetDevices where the search of a branch of the
9513 device tree could be terminated prematurely. In accordance with the ACPI
9514 specification, the search down the current branch is terminated if a
9516 is both not present and not functional (instead of just not present.)
9520 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
9522 the underlying AML code changed the GPE enable registers. Now, any
9524 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
9526 instead of simply ignored. Rui Zhang.
9528 Fixed a problem with Index Fields where the Index register was
9530 limited to a maximum of 32 bits. Now any size may be used.
9532 Fixed a couple memory leaks associated with "implicit return" objects
9534 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
9536 Example Code and Data Size: These are the sizes for the OS-independent
9537 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9538 debug version of the code includes the debug output trace mechanism and
9540 a much larger code and data size.
9543 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
9544 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
9546 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
9547 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
9549 ----------------------------------------
9550 14 November 2007. Summary of changes for version 20071114:
9552 1) ACPI CA Core Subsystem:
9554 Implemented event counters for each of the Fixed Events, the ACPI SCI
9555 (interrupt) itself, and control methods executed. Named
9556 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
9558 should be useful for debugging and statistics.
9560 Implemented a new external interface, AcpiGetStatistics, to retrieve the
9561 contents of the various event counters. Returns the current values for
9562 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
9563 AcpiMethodCount. The interface can be expanded in the future if new
9565 are added. Device drivers should use this interface rather than access
9569 Fixed a problem with the FromBCD and ToBCD operators. With some
9571 the ShortDivide function worked incorrectly, causing problems with the
9573 functions with large input values. A truncation from 64-bit to 32-bit
9574 inadvertently occurred. Internal BZ 435. Lin Ming
9576 Fixed a problem with Index references passed as method arguments.
9578 passed as arguments to control methods were dereferenced immediately
9580 control was passed to the called method). The references are now
9582 passed directly to the called method. BZ 5389. Lin Ming
9584 Fixed a problem with CopyObject used in conjunction with the Index
9586 The reference was incorrectly dereferenced before the copy. The reference
9588 now correctly copied. BZ 5391. Lin Ming
9590 Fixed a problem with Control Method references within Package objects.
9592 references are now correctly generated. This completes the package
9593 construction overhaul that began in version 20071019.
9595 Example Code and Data Size: These are the sizes for the OS-independent
9596 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9597 debug version of the code includes the debug output trace mechanism and
9599 a much larger code and data size.
9602 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
9603 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
9605 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
9606 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
9609 2) iASL Compiler/Disassembler and Tools:
9611 The AcpiExec utility now installs handlers for all of the predefined
9612 Operation Region types. New types supported are: PCI_Config, CMOS, and
9615 Fixed a problem with the 64-bit version of AcpiExec where the extended
9617 bit) address fields for the DSDT and FACS within the FADT were not being
9618 used, causing truncation of the upper 32-bits of these addresses. Lin
9622 ----------------------------------------
9623 19 October 2007. Summary of changes for version 20071019:
9625 1) ACPI CA Core Subsystem:
9627 Fixed a problem with the Alias operator when the target of the alias is a
9628 named ASL operator that opens a new scope -- Scope, Device,
9630 Processor, and ThermalZone. In these cases, any children of the original
9631 operator could not be accessed via the alias, potentially causing
9633 AE_NOT_FOUND exceptions. (BZ 9067)
9635 Fixed a problem with the Package operator where all named references were
9636 created as object references and left otherwise unresolved. According to
9638 ACPI specification, a Package can only contain Data Objects or references
9640 control methods. The implication is that named references to Data Objects
9641 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
9642 immediately upon package creation. This is the approach taken with this
9643 change. References to all other named objects (Methods, Devices, Scopes,
9644 etc.) are all now properly created as reference objects. (BZ 5328)
9646 Reverted a change to Notify handling that was introduced in version
9647 20070508. This version changed the Notify handling from asynchronous to
9648 fully synchronous (Device driver Notify handling with respect to the
9650 ASL operator). It was found that this change caused more problems than it
9651 solved and was removed by most users.
9653 Fixed a problem with the Increment and Decrement operators where the type
9655 the target object could be unexpectedly and incorrectly changed. (BZ 353)
9658 Fixed a problem with the Load and LoadTable operators where the table
9659 location within the namespace was ignored. Instead, the table was always
9660 loaded into the root or current scope. Lin Ming.
9662 Fixed a problem with the Load operator when loading a table from a buffer
9663 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
9665 Fixed a problem with the Debug object where a store of a DdbHandle
9667 object to the Debug object could cause a fault.
9669 Added a table checksum verification for the Load operator, in the case
9671 the load is from a buffer. (BZ 578).
9673 Implemented additional parameter validation for the LoadTable operator.
9675 length of the input strings SignatureString, OemIdString, and OemTableId
9677 now checked for maximum lengths. (BZ 582) Lin Ming.
9679 Example Code and Data Size: These are the sizes for the OS-independent
9680 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9681 debug version of the code includes the debug output trace mechanism and
9683 a much larger code and data size.
9686 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
9687 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
9689 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
9690 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
9693 2) iASL Compiler/Disassembler:
9695 Fixed a problem where if a single file was specified and the file did not
9696 exist, no error message was emitted. (Introduced with wildcard support in
9699 ----------------------------------------
9700 19 September 2007. Summary of changes for version 20070919:
9702 1) ACPI CA Core Subsystem:
9704 Designed and implemented new external interfaces to install and remove
9705 handlers for ACPI table-related events. Current events that are defined
9707 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
9708 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
9709 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
9711 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
9712 (acpi_serialized option on Linux) could cause some systems to hang during
9713 initialization. (Bob Moore) BZ 8171
9715 Fixed a problem where objects of certain types (Device, ThermalZone,
9716 Processor, PowerResource) can be not found if they are declared and
9717 referenced from within the same control method (Lin Ming) BZ 341
9719 Example Code and Data Size: These are the sizes for the OS-independent
9720 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9721 debug version of the code includes the debug output trace mechanism and
9723 a much larger code and data size.
9726 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
9727 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
9729 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
9730 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
9733 2) iASL Compiler/Disassembler:
9735 Implemented support to allow multiple files to be compiled/disassembled
9738 single invocation. This includes command line wildcard support for both
9740 Windows and Unix versions of the compiler. This feature simplifies the
9741 disassembly and compilation of multiple ACPI tables in a single
9744 ----------------------------------------
9745 08 May 2007. Summary of changes for version 20070508:
9747 1) ACPI CA Core Subsystem:
9749 Implemented a Microsoft compatibility design change for the handling of
9751 Notify AML operator. Previously, notify handlers were dispatched and
9752 executed completely asynchronously in a deferred thread. The new design
9753 still executes the notify handlers in a different thread, but the
9755 thread that executed the Notify() now waits at a synchronization point
9757 the notify handler to complete. Some machines depend on a synchronous
9759 operator in order to operate correctly.
9761 Implemented support to allow Package objects to be passed as method
9762 arguments to the external AcpiEvaluateObject interface. Previously, this
9763 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
9764 implemented since there were no reserved control methods that required it
9767 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
9769 contained invalid non-zero values in reserved fields could cause later
9770 failures because these fields have meaning in later revisions of the
9772 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
9774 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
9776 Fixed a problem where the Global Lock handle was not properly updated if
9778 thread that acquired the Global Lock via executing AML code then
9780 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
9784 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
9785 could be corrupted if the interrupt being removed was at the head of the
9786 list. Reported by Linn Crosetto.
9788 Example Code and Data Size: These are the sizes for the OS-independent
9789 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9790 debug version of the code includes the debug output trace mechanism and
9792 a much larger code and data size.
9795 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9796 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
9798 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
9799 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
9801 ----------------------------------------
9802 20 March 2007. Summary of changes for version 20070320:
9804 1) ACPI CA Core Subsystem:
9806 Implemented a change to the order of interpretation and evaluation of AML
9807 operand objects within the AML interpreter. The interpreter now evaluates
9808 operands in the order that they appear in the AML stream (and the
9809 corresponding ASL code), instead of in the reverse order (after the
9811 operand list has been parsed). The previous behavior caused several
9813 incompatibilities with the Microsoft AML interpreter as well as being
9814 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
9816 Implemented a change to the ACPI Global Lock support. All interfaces to
9818 global lock now allow the same thread to acquire the lock multiple times.
9819 This affects the AcpiAcquireGlobalLock external interface to the global
9821 as well as the internal use of the global lock to support AML fields -- a
9822 control method that is holding the global lock can now simultaneously
9824 AML fields that require global lock protection. Previously, in both
9826 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
9828 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
9829 Controller. There is no change to the behavior of the AML Acquire
9831 as this can already be used to acquire a mutex multiple times by the same
9832 thread. BZ 8066. With assistance from Alexey Starikovskiy.
9834 Fixed a problem where invalid objects could be referenced in the AML
9835 Interpreter after error conditions. During operand evaluation, ensure
9837 the internal "Return Object" field is cleared on error and only valid
9838 pointers are stored there. Caused occasional access to deleted objects
9840 resulted in "large reference count" warning messages. Valery Podrezov.
9842 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
9844 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
9847 Fixed an internal problem with the handling of result objects on the
9848 interpreter result stack. BZ 7872. Valery Podrezov.
9850 Removed obsolete code that handled the case where AML_NAME_OP is the
9852 of a reference (Reference.Opcode). This code was no longer necessary. BZ
9853 7874. Valery Podrezov.
9855 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This
9858 remnant from the previously discontinued 16-bit support.
9860 Example Code and Data Size: These are the sizes for the OS-independent
9861 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9862 debug version of the code includes the debug output trace mechanism and
9864 a much larger code and data size.
9867 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9868 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9870 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9871 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
9873 ----------------------------------------
9874 26 January 2007. Summary of changes for version 20070126:
9876 1) ACPI CA Core Subsystem:
9878 Added the 2007 copyright to all module headers and signons. This affects
9879 virtually every file in the ACPICA core subsystem, the iASL compiler, and
9882 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
9883 during a table load. A bad pointer was passed in the case where the DSDT
9885 overridden, causing a fault in this case.
9887 Example Code and Data Size: These are the sizes for the OS-independent
9888 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9889 debug version of the code includes the debug output trace mechanism and
9891 a much larger code and data size.
9894 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9895 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9897 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9898 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9900 ----------------------------------------
9901 15 December 2006. Summary of changes for version 20061215:
9903 1) ACPI CA Core Subsystem:
9905 Support for 16-bit ACPICA has been completely removed since it is no
9907 necessary and it clutters the code. All 16-bit macros, types, and
9908 conditional compiles have been removed, cleaning up and simplifying the
9910 across the entire subsystem. DOS support is no longer needed since the
9911 bootable Linux firmware kit is now available.
9913 The handler for the Global Lock is now removed during AcpiTerminate to
9914 enable a clean subsystem restart, via the implementation of the
9915 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
9918 Implemented enhancements to the multithreading support within the
9920 to enable improved multithreading debugging and evaluation of the
9924 Debugger: Enhanced the Statistics/Memory command to emit the total
9926 memory used during the execution, as well as the maximum memory consumed
9928 each of the various object types. (Valery Podrezov)
9930 Example Code and Data Size: These are the sizes for the OS-independent
9931 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9932 debug version of the code includes the debug output trace mechanism and
9934 a much larger code and data size.
9937 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
9938 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
9940 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
9941 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
9944 2) iASL Compiler/Disassembler and Tools:
9946 AcpiExec: Implemented a new option (-m) to display full memory use
9947 statistics upon subsystem/program termination. (Valery Podrezov)
9949 ----------------------------------------
9950 09 November 2006. Summary of changes for version 20061109:
9952 1) ACPI CA Core Subsystem:
9954 Optimized the Load ASL operator in the case where the source operand is
9956 operation region. Simply map the operation region memory, instead of
9957 performing a bytewise read. (Region must be of type SystemMemory, see
9960 Fixed the Load ASL operator for the case where the source operand is a
9961 region field. A buffer object is also allowed as the source operand. BZ
9964 Fixed a problem where the Load ASL operator allowed the source operand to
9966 an operation region of any type. It is now restricted to regions of type
9967 SystemMemory, as per the ACPI specification. BZ 481
9969 Additional cleanup and optimizations for the new Table Manager code.
9971 AcpiEnable will now fail if all of the required ACPI tables are not
9973 (FADT, FACS, DSDT). BZ 477
9975 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
9977 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
9978 manually optimized to be aligned and will not work if it is byte-packed.
9980 Example Code and Data Size: These are the sizes for the OS-independent
9981 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
9982 debug version of the code includes the debug output trace mechanism and
9984 a much larger code and data size.
9987 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
9988 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
9990 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
9991 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
9994 2) iASL Compiler/Disassembler and Tools:
9996 Fixed a problem where the presence of the _OSI predefined control method
9997 within complex expressions could cause an internal compiler error.
9999 AcpiExec: Implemented full region support for multiple address spaces.
10000 SpaceId is now part of the REGION object. BZ 429
10002 ----------------------------------------
10003 11 October 2006. Summary of changes for version 20061011:
10005 1) ACPI CA Core Subsystem:
10007 Completed an AML interpreter performance enhancement for control method
10008 execution. Previously a 2-pass parse/execution, control methods are now
10009 completely parsed and executed in a single pass. This improves overall
10010 interpreter performance by ~25%, reduces code size, and reduces CPU stack
10011 use. (Valery Podrezov + interpreter changes in version 20051202 that
10012 eliminated namespace loading during the pass one parse.)
10014 Implemented _CID support for PCI Root Bridge detection. If the _HID does
10016 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
10018 obtained and also checked for an ID match.
10020 Implemented additional support for the PCI _ADR execution: upsearch until
10022 device scope is found before executing _ADR. This allows PCI_Config
10023 operation regions to be declared locally within control methods
10025 PCI device objects.
10027 Fixed a problem with a possible race condition between threads executing
10028 AcpiWalkNamespace and the AML interpreter. This condition was removed by
10029 modifying AcpiWalkNamespace to (by default) ignore all temporary
10031 entries created during any concurrent control method execution. An
10032 additional namespace race condition is known to exist between
10033 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
10036 Restructured the AML ParseLoop function, breaking it into several
10037 subfunctions in order to reduce CPU stack use and improve
10041 AcpiGetHandle: Fix for parameter validation to detect invalid
10043 of prefix handle and pathname. BZ 478
10045 Example Code and Data Size: These are the sizes for the OS-independent
10046 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10047 debug version of the code includes the debug output trace mechanism and
10049 a much larger code and data size.
10052 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10053 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
10055 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
10056 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
10058 2) iASL Compiler/Disassembler and Tools:
10060 Ported the -g option (get local ACPI tables) to the new ACPICA Table
10062 to restore original behavior.
10064 ----------------------------------------
10065 27 September 2006. Summary of changes for version 20060927:
10067 1) ACPI CA Core Subsystem:
10069 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
10070 These functions now use a spinlock for mutual exclusion and the interrupt
10071 level indication flag is not needed.
10073 Fixed a problem with the Global Lock where the lock could appear to be
10074 obtained before it is actually obtained. The global lock semaphore was
10075 inadvertently created with one unit instead of zero units. (BZ 464)
10079 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
10081 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
10083 Example Code and Data Size: These are the sizes for the OS-independent
10084 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10085 debug version of the code includes the debug output trace mechanism and
10087 a much larger code and data size.
10090 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10091 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
10093 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10094 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
10097 2) iASL Compiler/Disassembler and Tools:
10099 Fixed a compilation problem with the pre-defined Resource Descriptor
10101 names where an "object does not exist" error could be incorrectly
10103 if the parent ResourceTemplate pathname places the template within a
10104 different namespace scope than the current scope. (BZ 7212)
10106 Fixed a problem where the compiler could hang after syntax errors
10108 in an ElseIf construct. (BZ 453)
10110 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
10111 operator. An incorrect output filename was produced when this parameter
10113 a null string (""). Now, the original input filename is used as the AML
10114 output filename, with an ".aml" extension.
10116 Implemented a generic batch command mode for the AcpiExec utility
10118 any AML debugger command) (Valery Podrezov).
10120 ----------------------------------------
10121 12 September 2006. Summary of changes for version 20060912:
10123 1) ACPI CA Core Subsystem:
10125 Enhanced the implementation of the "serialized mode" of the interpreter
10126 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
10127 specified, instead of creating a serialization semaphore per control
10129 the interpreter lock is simply no longer released before a blocking
10130 operation during control method execution. This effectively makes the AML
10131 Interpreter single-threaded. The overhead of a semaphore per-method is
10134 Fixed a regression where an error was no longer emitted if a control
10136 attempts to create 2 objects of the same name. This once again returns
10137 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
10139 will dynamically serialize the control method to possible prevent future
10142 Integrated a fix for a problem with PCI Express HID detection in the PCI
10143 Config Space setup procedure. (BZ 7145)
10145 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
10146 AcpiHwInitialize function - the FADT registers are now validated when the
10149 Added two new warnings during FADT verification - 1) if the FADT is
10151 than the largest known FADT version, and 2) if there is a mismatch
10154 32-bit block address and the 64-bit X counterpart (when both are non-
10157 Example Code and Data Size: These are the sizes for the OS-independent
10158 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10159 debug version of the code includes the debug output trace mechanism and
10161 a much larger code and data size.
10164 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
10165 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
10167 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
10168 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
10171 2) iASL Compiler/Disassembler and Tools:
10173 Fixed a problem with the implementation of the Switch() operator where
10175 temporary variable was declared too close to the actual Switch, instead
10177 at method level. This could cause a problem if the Switch() operator is
10178 within a while loop, causing an error on the second iteration. (BZ 460)
10180 Disassembler - fix for error emitted for unknown type for target of scope
10181 operator. Now, ignore it and continue.
10183 Disassembly of an FADT now verifies the input FADT and reports any errors
10184 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
10186 Disassembly of raw data buffers with byte initialization data now
10188 each output line with the current buffer offset.
10190 Disassembly of ASF! table now includes all variable-length data fields at
10191 the end of some of the subtables.
10193 The disassembler now emits a comment if a buffer appears to be a
10194 ResourceTemplate, but cannot be disassembled as such because the EndTag
10196 not appear at the very end of the buffer.
10198 AcpiExec - Added the "-t" command line option to enable the serialized
10200 of the AML interpreter.
10202 ----------------------------------------
10203 31 August 2006. Summary of changes for version 20060831:
10205 1) ACPI CA Core Subsystem:
10207 Miscellaneous fixes for the Table Manager:
10208 - Correctly initialize internal common FADT for all 64-bit "X" fields
10209 - Fixed a couple table mapping issues during table load
10210 - Fixed a couple alignment issues for IA64
10211 - Initialize input array to zero in AcpiInitializeTables
10212 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
10213 AcpiGetTableByIndex
10215 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
10217 immediately disabled to prevent the waking GPE from firing again and to
10218 prevent other wake GPEs from interrupting the wake process.
10220 Added the AcpiGpeCount global that tracks the number of processed GPEs,
10222 be used for debugging systems with a large number of ACPI interrupts.
10224 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
10225 both the ACPICA headers and the disassembler.
10227 Example Code and Data Size: These are the sizes for the OS-independent
10228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10229 debug version of the code includes the debug output trace mechanism and
10231 a much larger code and data size.
10234 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
10235 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
10237 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
10238 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
10241 2) iASL Compiler/Disassembler and Tools:
10243 Disassembler support for the DMAR ACPI table.
10245 ----------------------------------------
10246 23 August 2006. Summary of changes for version 20060823:
10248 1) ACPI CA Core Subsystem:
10250 The Table Manager component has been completely redesigned and
10251 reimplemented. The new design is much simpler, and reduces the overall
10253 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
10255 now possible to obtain the ACPI tables very early during kernel
10256 initialization, even before dynamic memory management is initialized.
10257 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
10259 Obsolete ACPICA interfaces:
10261 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
10264 - AcpiLoadTable: Not needed.
10265 - AcpiUnloadTable: Not needed.
10267 New ACPICA interfaces:
10269 - AcpiInitializeTables: Must be called before the table manager can be
10271 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
10272 allocated memory after it becomes available.
10273 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI
10277 Other ACPICA changes:
10279 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
10281 AcpiOsUnmapMemory to free this mapping.
10282 - AcpiGetTable returns the actual mapped table. The mapping is managed
10283 internally and must not be deleted by the caller. Use of this interface
10284 causes no additional dynamic memory allocation.
10285 - AcpiFindRootPointer: Support for physical addressing has been
10287 it appeared to be unused.
10288 - The interface to AcpiOsMapMemory has changed to be consistent with the
10289 other allocation interfaces.
10290 - The interface to AcpiOsGetRootPointer has changed to eliminate
10293 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on
10295 bit platforms. Was previously 64 bits on all platforms.
10296 - The interface to the ACPI Global Lock acquire/release macros have
10298 slightly since ACPICA no longer keeps a local copy of the FACS with a
10299 constructed pointer to the actual global lock.
10301 Porting to the new table manager:
10303 - AcpiInitializeTables: Must be called once, and can be called anytime
10304 during the OS initialization process. It allows the host to specify an
10306 of memory to be used to store the internal version of the RSDT/XSDT (root
10307 table). This allows the host to access ACPI tables before memory
10309 is initialized and running.
10310 - AcpiReallocateRootTable: Can be called after memory management is
10312 to copy the root table to a dynamically allocated array, freeing up the
10313 scratch memory specified in the call to AcpiInitializeTables.
10314 - AcpiSubsystemInitialize: This existing interface is independent of the
10315 Table Manager, and does not have to be called before the Table Manager
10317 be used, it only must be called before the rest of ACPICA can be used.
10318 - ACPI Tables: Some changes have been made to the names and structure of
10320 actbl.h and actbl1.h header files and may require changes to existing
10322 For example, bitfields have been completely removed because of their lack
10324 portability across C compilers.
10325 - Update interfaces to the Global Lock acquire/release macros if local
10326 versions are used. (see acwin.h)
10328 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
10330 New files: tbfind.c
10332 Example Code and Data Size: These are the sizes for the OS-independent
10333 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10334 debug version of the code includes the debug output trace mechanism and
10336 a much larger code and data size.
10339 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
10340 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
10342 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
10343 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
10346 2) iASL Compiler/Disassembler and Tools:
10348 No changes for this release.
10350 ----------------------------------------
10351 21 July 2006. Summary of changes for version 20060721:
10353 1) ACPI CA Core Subsystem:
10355 The full source code for the ASL test suite used to validate the iASL
10356 compiler and the ACPICA core subsystem is being released with the ACPICA
10357 source for the first time. The source is contained in a separate package
10359 consists of over 1100 files that exercise all ASL/AML operators. The
10361 should appear on the Intel/ACPI web site shortly. (Valery Podrezov,
10365 Completed a new design and implementation for support of the ACPI Global
10366 Lock. On the OS side, the global lock is now treated as a standard AML
10367 mutex. Previously, multiple OS threads could "acquire" the global lock
10368 simultaneously. However, this could cause the BIOS to be starved out of
10370 lock - especially in cases such as the Embedded Controller driver where
10371 there is a tight coupling between the OS and the BIOS.
10373 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
10374 The Global Lock interrupt handler no longer queues the execution of a
10375 separate thread to signal the global lock semaphore. Instead, the
10377 is signaled directly from the interrupt handler.
10379 Implemented support within the AML interpreter for package objects that
10380 contain a larger AML length (package list length) than the package
10382 count. In this case, the length of the package is truncated to match the
10383 package element count. Some BIOS code apparently modifies the package
10385 on the fly, and this change supports this behavior. Provides
10387 with the MS AML interpreter. (With assistance from Fiodor Suietov)
10389 Implemented a temporary fix for the BankValue parameter of a Bank Field
10391 support all constant values, now including the Zero and One opcodes.
10392 Evaluation of this parameter must eventually be converted to a full
10394 evaluation. A not-implemented error is now returned (temporarily) for
10396 constant values for this parameter.
10398 Fixed problem reports (Fiodor Suietov) integrated:
10399 - Fix for premature object deletion after CopyObject on Operation Region
10403 Example Code and Data Size: These are the sizes for the OS-independent
10404 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10405 debug version of the code includes the debug output trace mechanism and
10407 a much larger code and data size.
10410 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
10411 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
10413 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
10414 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
10417 2) iASL Compiler/Disassembler and Tools:
10419 No changes for this release.
10421 ----------------------------------------
10422 07 July 2006. Summary of changes for version 20060707:
10424 1) ACPI CA Core Subsystem:
10426 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
10427 that do not allow the initialization of address pointers within packed
10428 structures - even though the hardware itself may support misaligned
10429 transfers. Some of the debug data structures are packed by default to
10432 Added an error message for the case where AcpiOsGetThreadId() returns
10434 A non-zero value is required by the core ACPICA code to ensure the proper
10435 operation of AML mutexes and recursive control methods.
10437 The DSDT is now the only ACPI table that determines whether the AML
10438 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
10440 the hooks for per-table 32/64 switching have been removed from the code.
10442 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
10444 Fixed a possible leak of an OwnerID in the error path of
10445 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
10446 deletion to a single place in AcpiTbUninstallTable to correct possible
10448 when using the AcpiTbDeleteTablesByType interface (with assistance from
10451 Fixed a problem with Serialized control methods where the semaphore
10452 associated with the method could be over-signaled after multiple method
10455 Fixed two issues with the locking of the internal namespace data
10457 Both the Unload() operator and AcpiUnloadTable interface now lock the
10458 namespace during the namespace deletion associated with the table unload
10459 (with assistance from Linn Crosetto.)
10461 Fixed problem reports (Valery Podrezov) integrated:
10462 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
10464 Fixed problem reports (Fiodor Suietov) integrated:
10465 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
10466 - On Address Space handler deletion, needless deactivation call (BZ 374)
10467 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ
10469 - Possible memory leak, Notify sub-objects of Processor, Power,
10472 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
10473 - Minimum Length of RSDT should be validated (BZ 379)
10474 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
10476 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
10480 Example Code and Data Size: These are the sizes for the OS-independent
10481 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10482 debug version of the code includes the debug output trace mechanism and
10484 a much larger code and data size.
10487 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
10488 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
10490 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
10491 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
10494 2) iASL Compiler/Disassembler and Tools:
10496 Fixed problem reports:
10497 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
10500 ----------------------------------------
10501 23 June 2006. Summary of changes for version 20060623:
10503 1) ACPI CA Core Subsystem:
10505 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
10506 allows the type to be customized to the host OS for improved efficiency
10507 (since a spinlock is usually a very small object.)
10509 Implemented support for "ignored" bits in the ACPI registers. According
10511 the ACPI specification, these bits should be preserved when writing the
10512 registers via a read/modify/write cycle. There are 3 bits preserved in
10514 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
10516 Implemented the initial deployment of new OSL mutex interfaces. Since
10518 host operating systems have separate mutex and semaphore objects, this
10519 feature was requested. The base code now uses mutexes (and the new mutex
10520 interfaces) wherever a binary semaphore was used previously. However, for
10521 the current release, the mutex interfaces are defined as macros to map
10523 to the existing semaphore interfaces. Therefore, no OSL changes are
10525 at this time. (See acpiosxf.h)
10527 Fixed several problems with the support for the control method SyncLevel
10528 parameter. The SyncLevel now works according to the ACPI specification
10530 in concert with the Mutex SyncLevel parameter, since the current
10532 is a property of the executing thread. Mutual exclusion for control
10534 is now implemented with a mutex instead of a semaphore.
10536 Fixed three instances of the use of the C shift operator in the bitfield
10537 support code (exfldio.c) to avoid the use of a shift value larger than
10539 target data width. The behavior of C compilers is undefined in this case
10541 can cause unpredictable results, and therefore the case must be detected
10543 avoided. (Fiodor Suietov)
10545 Added an info message whenever an SSDT or OEM table is loaded dynamically
10546 via the Load() or LoadTable() ASL operators. This should improve
10548 capability since it will show exactly what tables have been loaded
10550 the tables present in the RSDT/XSDT.)
10552 Example Code and Data Size: These are the sizes for the OS-independent
10553 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10554 debug version of the code includes the debug output trace mechanism and
10556 a much larger code and data size.
10559 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
10560 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
10562 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
10563 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
10566 2) iASL Compiler/Disassembler and Tools:
10568 No changes for this release.
10570 ----------------------------------------
10571 08 June 2006. Summary of changes for version 20060608:
10573 1) ACPI CA Core Subsystem:
10575 Converted the locking mutex used for the ACPI hardware to a spinlock.
10577 change should eliminate all problems caused by attempting to acquire a
10578 semaphore at interrupt level, and it means that all ACPICA external
10579 interfaces that directly access the ACPI hardware can be safely called
10581 interrupt level. OSL code that implements the semaphore interfaces should
10583 able to eliminate any workarounds for being called at interrupt level.
10585 Fixed a regression introduced in 20060526 where the ACPI device
10586 initialization could be prematurely aborted with an AE_NOT_FOUND if a
10588 did not have an optional _INI method.
10590 Fixed an IndexField issue where a write to the Data Register should be
10591 limited in size to the AccessSize (width) of the IndexField itself. (BZ
10595 Fixed problem reports (Valery Podrezov) integrated:
10596 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
10598 Fixed problem reports (Fiodor Suietov) integrated:
10599 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
10601 Removed four global mutexes that were obsolete and were no longer being
10604 Example Code and Data Size: These are the sizes for the OS-independent
10605 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10606 debug version of the code includes the debug output trace mechanism and
10608 a much larger code and data size.
10611 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
10612 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
10614 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
10615 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
10618 2) iASL Compiler/Disassembler and Tools:
10620 Fixed a fault when using -g option (get tables from registry) on Windows
10623 Fixed problem reports integrated:
10624 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
10625 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
10627 - Global table revision override (-r) is ignored (BZ 413)
10629 ----------------------------------------
10630 26 May 2006. Summary of changes for version 20060526:
10632 1) ACPI CA Core Subsystem:
10634 Restructured, flattened, and simplified the internal interfaces for
10635 namespace object evaluation - resulting in smaller code, less CPU stack
10637 and fewer interfaces. (With assistance from Mikhail Kouzmich)
10639 Fixed a problem with the CopyObject operator where the first parameter
10641 not typed correctly for the parser, interpreter, compiler, and
10643 Caused various errors and unexpected behavior.
10645 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
10646 produced incorrect results with some C compilers. Since the behavior of C
10647 compilers when the shift value is larger than the datatype width is
10648 apparently not well defined, the interpreter now detects this condition
10650 simply returns zero as expected in all such cases. (BZ 395)
10652 Fixed problem reports (Valery Podrezov) integrated:
10653 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
10654 - Allow interpreter to handle nested method declarations (BZ 5361)
10656 Fixed problem reports (Fiodor Suietov) integrated:
10657 - AcpiTerminate doesn't free debug memory allocation list objects (BZ
10659 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
10661 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
10662 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
10663 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
10664 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
10665 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
10666 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
10667 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
10669 - Status of the Global Initialization Handler call not used (BZ 366)
10670 - Incorrect object parameter to Global Initialization Handler (BZ 367)
10672 Example Code and Data Size: These are the sizes for the OS-independent
10673 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10674 debug version of the code includes the debug output trace mechanism and
10676 a much larger code and data size.
10679 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
10680 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
10682 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
10683 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
10686 2) iASL Compiler/Disassembler and Tools:
10688 Modified the parser to allow the names IO, DMA, and IRQ to be used as
10689 namespace identifiers with no collision with existing resource descriptor
10690 macro names. This provides compatibility with other ASL compilers and is
10691 most useful for disassembly/recompilation of existing tables without
10693 errors. (With assistance from Thomas Renninger)
10695 Disassembler: fixed an incorrect disassembly problem with the
10696 DataTableRegion and CopyObject operators. Fixed a possible fault during
10697 disassembly of some Alias operators.
10699 ----------------------------------------
10700 12 May 2006. Summary of changes for version 20060512:
10702 1) ACPI CA Core Subsystem:
10704 Replaced the AcpiOsQueueForExecution interface with a new interface named
10705 AcpiOsExecute. The major difference is that the new interface does not
10707 a Priority parameter, this appeared to be useless and has been replaced
10710 Type parameter. The Type tells the host what type of execution is being
10711 requested, such as global lock handler, notify handler, GPE handler, etc.
10712 This allows the host to queue and execute the request as appropriate for
10714 request type, possibly using different work queues and different
10716 for the various request types. This enables fixes for multithreading
10717 deadlock problems such as BZ #5534, and will require changes to all
10719 OS interface layers. (Alexey Starikovskiy and Bob Moore)
10721 Fixed a possible memory leak associated with the support for the so-
10723 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
10726 Fixed a problem with the Load() operator where a table load from an
10727 operation region could overwrite an internal table buffer by up to 7
10729 and cause alignment faults on IPF systems. (With assistance from Luming
10732 Example Code and Data Size: These are the sizes for the OS-independent
10733 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10734 debug version of the code includes the debug output trace mechanism and
10736 a much larger code and data size.
10739 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
10740 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
10742 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
10743 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
10747 2) iASL Compiler/Disassembler and Tools:
10749 Disassembler: Implemented support to cross reference the internal
10751 and automatically generate ASL External() statements for symbols not
10753 within the current table being disassembled. This will simplify the
10754 disassembly and recompilation of interdependent tables such as SSDTs
10756 these statements will no longer have to be added manually.
10758 Disassembler: Implemented experimental support to automatically detect
10759 invocations of external control methods and generate appropriate
10761 statements. This is problematic because the AML cannot be correctly
10763 until the number of arguments for each control method is known.
10765 standalone method invocations and invocations as the source operand of a
10766 Store() statement are supported.
10768 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
10769 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
10770 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
10771 more readable and likely closer to the original ASL source.
10773 ----------------------------------------
10774 21 April 2006. Summary of changes for version 20060421:
10776 1) ACPI CA Core Subsystem:
10778 Removed a device initialization optimization introduced in 20051216 where
10779 the _STA method was not run unless an _INI was also present for the same
10780 device. This optimization could cause problems because it could allow
10782 methods to be run within a not-present device subtree. (If a not-present
10783 device had no _INI, _STA would not be run, the not-present status would
10785 be discovered, and the children of the device would be incorrectly
10788 Implemented a new _STA optimization where namespace subtrees that do not
10789 contain _INI are identified and ignored during device initialization.
10790 Selectively running _STA can significantly improve boot time on large
10791 machines (with assistance from Len Brown.)
10793 Implemented support for the device initialization case where the returned
10794 _STA flags indicate a device not-present but functioning. In this case,
10796 is not run, but the device children are examined for presence, as per the
10797 ACPI specification.
10799 Implemented an additional change to the IndexField support in order to
10800 conform to MS behavior. The value written to the Index Register is not
10801 simply a byte offset, it is a byte offset in units of the access width of
10802 the parent Index Field. (Fiodor Suietov)
10804 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
10805 interface is called during the creation of all AML operation regions, and
10806 allows the host OS to exert control over what addresses it will allow the
10807 AML code to access. Operation Regions whose addresses are disallowed will
10808 cause a runtime exception when they are actually accessed (will not
10810 or abort table loading.) See oswinxf or osunixxf for an example
10813 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
10814 interface allows the host OS to match the various "optional"
10815 interface/behavior strings for the _OSI predefined control method as
10816 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
10817 for an example implementation.
10819 Restructured and corrected various problems in the exception handling
10821 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
10822 (with assistance from Takayoshi Kochi.)
10824 Modified the Linux source converter to ignore quoted string literals
10826 converting identifiers from mixed to lower case. This will correct
10828 with the disassembler and other areas where such strings must not be
10831 The ACPI_FUNCTION_* macros no longer require quotes around the function
10832 name. This allows the Linux source converter to convert the names, now
10834 the converter ignores quoted strings.
10836 Example Code and Data Size: These are the sizes for the OS-independent
10837 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10838 debug version of the code includes the debug output trace mechanism and
10840 a much larger code and data size.
10844 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
10845 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
10847 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
10848 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
10851 2) iASL Compiler/Disassembler and Tools:
10853 Implemented 3 new warnings for iASL, and implemented multiple warning
10857 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
10859 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
10860 check for the possible timeout, a warning is issued.
10862 2) Useless operators: If an ASL operator does not specify an optional
10864 operand and it also does not use the function return value from the
10865 operator, a warning is issued since the operator effectively does
10868 3) Unreferenced objects: If a namespace object is created, but never
10869 referenced, a warning is issued. This is a warning level 2 since there
10871 cases where this is ok, such as when a secondary table is loaded that
10873 the unreferenced objects. Even so, care is taken to only flag objects
10875 don't look like they will ever be used. For example, the reserved methods
10876 (starting with an underscore) are usually not referenced because it is
10877 expected that the OS will invoke them.
10879 ----------------------------------------
10880 31 March 2006. Summary of changes for version 20060331:
10882 1) ACPI CA Core Subsystem:
10884 Implemented header file support for the following additional ACPI tables:
10885 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
10887 all current and known ACPI tables are now defined in the ACPICA headers
10889 are available for use by device drivers and other software.
10891 Implemented support to allow tables that contain ACPI names with invalid
10892 characters to be loaded. Previously, this would cause the table load to
10893 fail, but since there are several known cases of such tables on existing
10894 machines, this change was made to enable ACPI support for them. Also,
10896 matches the behavior of the Microsoft ACPI implementation.
10898 Fixed a couple regressions introduced during the memory optimization in
10900 20060317 release. The namespace node definition required additional
10901 reorganization and an internal datatype that had been changed to 8-bit
10903 restored to 32-bit. (Valery Podrezov)
10905 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
10906 could be passed through to AcpiOsReleaseObject which is unexpected. Such
10907 null pointers are now trapped and ignored, matching the behavior of the
10908 previous implementation before the deployment of AcpiOsReleaseObject.
10909 (Valery Podrezov, Fiodor Suietov)
10911 Fixed a memory mapping leak during the deletion of a SystemMemory
10913 region where a cached memory mapping was not deleted. This became a
10914 noticeable problem for operation regions that are defined within
10916 used control methods. (Dana Meyers)
10918 Reorganized the ACPI table header files into two main files: one for the
10919 ACPI tables consumed by the ACPICA core, and another for the
10921 ACPI tables that are consumed by the drivers and other software. The
10923 FADT definitions were merged into one common section and three different
10924 tables (ACPI 1.0, 1.0+, and 2.0)
10926 Example Code and Data Size: These are the sizes for the OS-independent
10927 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
10928 debug version of the code includes the debug output trace mechanism and
10930 a much larger code and data size.
10933 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
10934 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
10936 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
10937 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
10940 2) iASL Compiler/Disassembler and Tools:
10942 Disassembler: Implemented support to decode and format all non-AML ACPI
10943 tables (tables other than DSDTs and SSDTs.) This includes the new tables
10944 added to the ACPICA headers, therefore all current and known ACPI tables
10948 Disassembler: The change to allow ACPI names with invalid characters also
10949 enables the disassembly of such tables. Invalid characters within names
10951 changed to '*' to make the name printable; the iASL compiler will still
10952 generate an error for such names, however, since this is an invalid ACPI
10955 Implemented an option for AcpiXtract (-a) to extract all tables found in
10957 input file. The default invocation extracts only the DSDTs and SSDTs.
10959 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
10960 makefile for the AcpiXtract utility.
10962 ----------------------------------------
10963 17 March 2006. Summary of changes for version 20060317:
10965 1) ACPI CA Core Subsystem:
10967 Implemented the use of a cache object for all internal namespace nodes.
10968 Since there are about 1000 static nodes in a typical system, this will
10969 decrease memory use for cache implementations that minimize per-
10971 overhead (such as a slab allocator.)
10973 Removed the reference count mechanism for internal namespace nodes, since
10975 was deemed unnecessary. This reduces the size of each namespace node by
10976 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit
10978 and 32 bytes for the 64-bit case.
10980 Optimized several internal data structures to reduce object size on 64-
10982 platforms by packing data within the 64-bit alignment. This includes the
10983 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
10984 instances corresponding to the namespace objects.
10986 Added two new strings for the predefined _OSI method: "Windows 2001.1
10988 and "Windows 2006".
10990 Split the allocation tracking mechanism out to a separate file, from
10991 utalloc.c to uttrack.c. This mechanism appears to be only useful for
10992 application-level code. Kernels may wish to not include uttrack.c in
10995 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
10997 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
11000 Code and Data Size: These are the sizes for the acpica.lib produced by
11002 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11004 driver or OSPM code. The debug version of the code includes the debug
11006 trace mechanism and has a much larger code and data size. Note that these
11007 values will vary depending on the efficiency of the compiler and the
11008 compiler options used during generation.
11011 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11012 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
11014 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
11015 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
11018 2) iASL Compiler/Disassembler and Tools:
11020 Implemented an ANSI C version of the acpixtract utility. This version
11022 automatically extract the DSDT and all SSDTs from the input acpidump text
11023 file and dump the binary output to separate files. It can also display a
11024 summary of the input file including the headers for each table found and
11025 will extract any single ACPI table, with any signature. (See
11026 source/tools/acpixtract)
11028 ----------------------------------------
11029 10 March 2006. Summary of changes for version 20060310:
11031 1) ACPI CA Core Subsystem:
11033 Tagged all external interfaces to the subsystem with the new
11034 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to
11036 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
11037 macro. The default definition is NULL.
11039 Added the ACPI_THREAD_ID type for the return value from
11041 This allows the host to define this as necessary to simplify kernel
11042 integration. The default definition is ACPI_NATIVE_UINT.
11044 Fixed two interpreter problems related to error processing, the deletion
11046 objects, and placing invalid pointers onto the internal operator result
11047 stack. BZ 6028, 6151 (Valery Podrezov)
11049 Increased the reference count threshold where a warning is emitted for
11051 reference counts in order to eliminate unnecessary warnings on systems
11053 large namespaces (especially 64-bit.) Increased the value from 0x400 to
11056 Due to universal disagreement as to the meaning of the 'c' in the
11058 function, the ACPI_MEM_CALLOCATE macro has been renamed to
11059 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
11060 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
11063 Code and Data Size: These are the sizes for the acpica.lib produced by
11065 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11067 driver or OSPM code. The debug version of the code includes the debug
11069 trace mechanism and has a much larger code and data size. Note that these
11070 values will vary depending on the efficiency of the compiler and the
11071 compiler options used during generation.
11074 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
11075 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
11077 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11078 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
11081 2) iASL Compiler/Disassembler:
11083 Disassembler: implemented support for symbolic resource descriptor
11084 references. If a CreateXxxxField operator references a fixed offset
11087 resource descriptor, a name is assigned to the descriptor and the offset
11089 translated to the appropriate resource tag and pathname. The addition of
11090 this support brings the disassembled code very close to the original ASL
11091 source code and helps eliminate run-time errors when the disassembled
11093 is modified (and recompiled) in such a way as to invalidate the original
11096 Implemented support for a Descriptor Name as the last parameter to the
11098 Register() macro. This parameter was inadvertently left out of the ACPI
11099 specification, and will be added for ACPI 3.0b.
11101 Fixed a problem where the use of the "_OSI" string (versus the full path
11102 "\_OSI") caused an internal compiler error. ("No back ptr to op")
11104 Fixed a problem with the error message that occurs when an invalid string
11106 used for a _HID object (such as one with an embedded asterisk:
11108 The correct message is now displayed.
11110 ----------------------------------------
11111 17 February 2006. Summary of changes for version 20060217:
11113 1) ACPI CA Core Subsystem:
11115 Implemented a change to the IndexField support to match the behavior of
11117 Microsoft AML interpreter. The value written to the Index register is now
11119 byte offset, no longer an index based upon the width of the Data
11121 This should fix IndexField problems seen on some machines where the Data
11122 register is not exactly one byte wide. The ACPI specification will be
11123 clarified on this point.
11125 Fixed a problem where several resource descriptor types could overrun the
11126 internal descriptor buffer due to size miscalculation: VendorShort,
11127 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
11128 affect all platforms.
11130 Fixed a problem where individual resource descriptors were misaligned
11132 the internal buffer, causing alignment faults on IA64 platforms.
11134 Code and Data Size: These are the sizes for the acpica.lib produced by
11136 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
11138 driver or OSPM code. The debug version of the code includes the debug
11140 trace mechanism and has a much larger code and data size. Note that these
11141 values will vary depending on the efficiency of the compiler and the
11142 compiler options used during generation.
11145 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11146 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
11148 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
11149 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
11152 2) iASL Compiler/Disassembler:
11154 Implemented support for new reserved names: _WDG and _WED are Microsoft
11155 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
11156 defined method (Throttling Depth Limit.)
11158 Fixed a problem where a zero-length VendorShort or VendorLong resource
11159 descriptor was incorrectly emitted as a descriptor of length one.
11161 ----------------------------------------
11162 10 February 2006. Summary of changes for version 20060210:
11164 1) ACPI CA Core Subsystem:
11166 Removed a couple of extraneous ACPI_ERROR messages that appeared during
11167 normal execution. These became apparent after the conversion from
11170 Fixed a problem where the CreateField operator could hang if the BitIndex
11172 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
11174 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
11175 failed with an exception. This also fixes a couple of related RefOf and
11176 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
11178 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
11180 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
11184 Implemented a memory cleanup at the end of the execution of each
11186 of an AML While() loop, preventing the accumulation of outstanding
11188 (Valery Podrezov, BZ 5427)
11190 Eliminated a chunk of duplicate code in the object resolution code.
11194 Fixed several warnings during the 64-bit code generation.
11196 The AcpiSrc source code conversion tool now inserts one line of
11198 after an if() statement that is followed immediately by a comment,
11200 readability of the Linux code.
11202 Code and Data Size: The current and previous library sizes for the core
11203 subsystem are shown below. These are the code and data sizes for the
11204 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11206 values do not include any ACPI driver or OSPM code. The debug version of
11208 code includes the debug output trace mechanism and has a much larger code
11209 and data size. Note that these values will vary depending on the
11211 of the compiler and the compiler options used during generation.
11214 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
11215 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
11217 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
11218 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
11221 2) iASL Compiler/Disassembler:
11223 Fixed a problem with the disassembly of a BankField operator with a
11225 expression for the BankValue parameter.
11227 ----------------------------------------
11228 27 January 2006. Summary of changes for version 20060127:
11230 1) ACPI CA Core Subsystem:
11232 Implemented support in the Resource Manager to allow unresolved
11234 references within resource package objects for the _PRT method. This
11236 is in addition to the previously implemented unresolved reference support
11237 within the AML parser. If the interpreter slack mode is enabled, these
11238 unresolved references will be passed through to the caller as a NULL
11242 Implemented and deployed new macros and functions for error and warning
11243 messages across the subsystem. These macros are simpler and generate less
11244 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
11245 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
11246 macros remain defined to allow ACPI drivers time to migrate to the new
11249 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of
11251 Acquire/Release Lock OSL interfaces.
11253 Fixed a problem where Alias ASL operators are sometimes not correctly
11254 resolved, in both the interpreter and the iASL compiler.
11256 Fixed several problems with the implementation of the
11257 ConcatenateResTemplate
11258 ASL operator. As per the ACPI specification, zero length buffers are now
11259 treated as a single EndTag. One-length buffers always cause a fatal
11260 exception. Non-zero length buffers that do not end with a full 2-byte
11262 cause a fatal exception.
11264 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
11265 interface. (With assistance from Thomas Renninger)
11267 Code and Data Size: The current and previous library sizes for the core
11268 subsystem are shown below. These are the code and data sizes for the
11269 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11271 values do not include any ACPI driver or OSPM code. The debug version of
11273 code includes the debug output trace mechanism and has a much larger code
11274 and data size. Note that these values will vary depending on the
11276 of the compiler and the compiler options used during generation.
11279 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
11280 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
11282 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
11283 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
11286 2) iASL Compiler/Disassembler:
11288 Fixed an internal error that was generated for any forward references to
11292 ----------------------------------------
11293 13 January 2006. Summary of changes for version 20060113:
11295 1) ACPI CA Core Subsystem:
11297 Added 2006 copyright to all module headers and signons. This affects
11298 virtually every file in the ACPICA core subsystem, iASL compiler, and the
11301 Enhanced the ACPICA error reporting in order to simplify user migration
11303 the non-debug version of ACPICA. Replaced all instances of the
11304 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN
11306 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
11307 respectively. This preserves all error and warning messages in the non-
11309 version of the ACPICA code (this has been referred to as the "debug lite"
11310 option.) Over 200 cases were converted to create a total of over 380
11311 error/warning messages across the ACPICA code. This increases the code
11313 data size of the default non-debug version of the code somewhat (about
11315 but all error/warning reporting may be disabled if desired (and code
11316 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
11317 configuration option. The size of the debug version of ACPICA remains
11321 Fixed a memory leak within the AML Debugger "Set" command. One object was
11322 not properly deleted for every successful invocation of the command.
11324 Code and Data Size: The current and previous library sizes for the core
11325 subsystem are shown below. These are the code and data sizes for the
11326 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11328 values do not include any ACPI driver or OSPM code. The debug version of
11330 code includes the debug output trace mechanism and has a much larger code
11331 and data size. Note that these values will vary depending on the
11333 of the compiler and the compiler options used during generation.
11336 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
11337 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
11339 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
11340 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
11343 2) iASL Compiler/Disassembler:
11345 The compiler now officially supports the ACPI 3.0a specification that was
11346 released on December 30, 2005. (Specification is available at
11349 ----------------------------------------
11350 16 December 2005. Summary of changes for version 20051216:
11352 1) ACPI CA Core Subsystem:
11354 Implemented optional support to allow unresolved names within ASL Package
11355 objects. A null object is inserted in the package when a named reference
11356 cannot be located in the current namespace. Enabled via the interpreter
11357 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on
11359 that contain such code.
11361 Implemented an optimization to the initialization sequence that can
11363 boot time. During ACPI device initialization, the _STA method is now run
11365 and only if the _INI method exists. The _STA method is used to determine
11367 the device is present; An _INI can only be run if _STA returns present,
11369 it is a waste of time to run the _STA method if the _INI does not exist.
11370 (Prototype and assistance from Dong Wei)
11372 Implemented use of the C99 uintptr_t for the pointer casting macros if it
11374 available in the current compiler. Otherwise, the default (void *) cast
11378 Fixed some possible memory leaks found within the execution path of the
11379 Break, Continue, If, and CreateField operators. (Valery Podrezov)
11381 Fixed a problem introduced in the 20051202 release where an exception is
11382 generated during method execution if a control method attempts to declare
11385 Moved resource descriptor string constants that are used by both the AML
11386 disassembler and AML debugger to the common utilities directory so that
11387 these components are independent.
11389 Implemented support in the AcpiExec utility (-e switch) to globally
11391 exceptions during control method execution (method is not aborted.)
11393 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
11396 Code and Data Size: The current and previous library sizes for the core
11397 subsystem are shown below. These are the code and data sizes for the
11398 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11400 values do not include any ACPI driver or OSPM code. The debug version of
11402 code includes the debug output trace mechanism and has a much larger code
11403 and data size. Note that these values will vary depending on the
11405 of the compiler and the compiler options used during generation.
11408 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11409 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
11411 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
11412 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
11415 2) iASL Compiler/Disassembler:
11417 Fixed a problem where a CPU stack overflow fault could occur if a
11419 method call was made from within a Return statement.
11421 ----------------------------------------
11422 02 December 2005. Summary of changes for version 20051202:
11424 1) ACPI CA Core Subsystem:
11426 Modified the parsing of control methods to no longer create namespace
11427 objects during the first pass of the parse. Objects are now created only
11428 during the execute phase, at the moment the namespace creation operator
11430 encountered in the AML (Name, OperationRegion, CreateByteField, etc.)
11432 should eliminate ALREADY_EXISTS exceptions seen on some machines where
11433 reentrant control methods are protected by an AML mutex. The mutex will
11435 correctly block multiple threads from attempting to create the same
11439 Increased the number of available Owner Ids for namespace object tracking
11440 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
11442 some machines with a large number of ACPI tables (either static or
11445 Fixed a problem with the AcpiExec utility where a fault could occur when
11447 -b switch (batch mode) is used.
11449 Enhanced the namespace dump routine to output the owner ID for each
11452 Code and Data Size: The current and previous library sizes for the core
11453 subsystem are shown below. These are the code and data sizes for the
11454 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11456 values do not include any ACPI driver or OSPM code. The debug version of
11458 code includes the debug output trace mechanism and has a much larger code
11459 and data size. Note that these values will vary depending on the
11461 of the compiler and the compiler options used during generation.
11464 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11465 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11467 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11468 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
11471 2) iASL Compiler/Disassembler:
11473 Fixed a parse error during compilation of certain Switch/Case constructs.
11475 simplify the parse, the grammar now allows for multiple Default
11477 and this error is now detected and flagged during the analysis phase.
11479 Disassembler: The disassembly now includes the contents of the original
11480 table header within a comment at the start of the file. This includes the
11481 name and version of the original ASL compiler.
11483 ----------------------------------------
11484 17 November 2005. Summary of changes for version 20051117:
11486 1) ACPI CA Core Subsystem:
11488 Fixed a problem in the AML parser where the method thread count could be
11489 decremented below zero if any errors occurred during the method parse
11491 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
11493 This also fixed a related regression with the mechanism that detects and
11494 corrects methods that cannot properly handle reentrancy (related to the
11495 deployment of the new OwnerId mechanism.)
11497 Eliminated the pre-parsing of control methods (to detect errors) during
11498 table load. Related to the problem above, this was causing unwind issues
11500 any errors occurred during the parse, and it seemed to be overkill. A
11502 load should not be aborted if there are problems with any single control
11503 method, thus rendering this feature rather pointless.
11505 Fixed a problem with the new table-driven resource manager where an
11507 buffer overflow could occur for small resource templates.
11509 Implemented a new external interface, AcpiGetVendorResource. This
11511 will find and return a vendor-defined resource descriptor within a _CRS
11513 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
11516 Removed the length limit (200) on string objects as per the upcoming ACPI
11517 3.0A specification. This affects the following areas of the interpreter:
11519 any implicit conversion of a Buffer to a String, 2) a String object
11521 of the ASL Concatenate operator, 3) the String object result of the ASL
11524 Fixed a problem in the Windows OS interface layer (OSL) where a
11526 on a semaphore object would incorrectly timeout. This allows the
11527 multithreading features of the AcpiExec utility to work properly under
11530 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
11531 the recently added file named "utresrc.c".
11533 Code and Data Size: The current and previous library sizes for the core
11534 subsystem are shown below. These are the code and data sizes for the
11535 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11537 values do not include any ACPI driver or OSPM code. The debug version of
11539 code includes the debug output trace mechanism and has a much larger code
11540 and data size. Note that these values will vary depending on the
11542 of the compiler and the compiler options used during generation.
11545 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
11546 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11548 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
11549 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11552 2) iASL Compiler/Disassembler:
11554 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
11555 specification. For the iASL compiler, this means that string literals
11557 the source ASL can be of any length.
11559 Enhanced the listing output to dump the AML code for resource descriptors
11560 immediately after the ASL code for each descriptor, instead of in a block
11562 the end of the entire resource template.
11564 Enhanced the compiler debug output to dump the entire original parse tree
11565 constructed during the parse phase, before any transforms are applied to
11567 tree. The transformed tree is dumped also.
11569 ----------------------------------------
11570 02 November 2005. Summary of changes for version 20051102:
11572 1) ACPI CA Core Subsystem:
11574 Modified the subsystem initialization sequence to improve GPE support.
11576 GPE initialization has been split into two parts in order to defer
11578 of the _PRW methods (Power Resources for Wake) until after the hardware
11580 fully initialized and the SCI handler is installed. This allows the _PRW
11581 methods to access fields protected by the Global Lock. This will fix
11583 where a NO_GLOBAL_LOCK exception has been seen during initialization.
11585 Converted the ACPI internal object disassemble and display code within
11587 AML debugger to fully table-driven operation, reducing code size and
11588 increasing maintainability.
11590 Fixed a regression with the ConcatenateResTemplate() ASL operator
11592 in the 20051021 release.
11594 Implemented support for "local" internal ACPI object types within the
11595 debugger "Object" command and the AcpiWalkNamespace external interfaces.
11596 These local types include RegionFields, BankFields, IndexFields, Alias,
11600 Moved common AML resource handling code into a new file, "utresrc.c".
11602 code is shared by both the Resource Manager and the AML Debugger.
11604 Code and Data Size: The current and previous library sizes for the core
11605 subsystem are shown below. These are the code and data sizes for the
11606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11608 values do not include any ACPI driver or OSPM code. The debug version of
11610 code includes the debug output trace mechanism and has a much larger code
11611 and data size. Note that these values will vary depending on the
11613 of the compiler and the compiler options used during generation.
11616 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
11617 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
11619 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
11620 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
11623 2) iASL Compiler/Disassembler:
11625 Fixed a problem with very large initializer lists (more than 4000
11627 for both Buffer and Package objects where the parse stack could overflow.
11629 Enhanced the pre-compile source code scan for non-ASCII characters to
11631 characters within comment fields. The scan is now always performed and is
11633 longer optional, detecting invalid characters within a source file
11634 immediately rather than during the parse phase or later.
11636 Enhanced the ASL grammar definition to force early reductions on all
11638 style grammar elements so that the overall parse stack usage is greatly
11639 reduced. This should improve performance and reduce the possibility of
11643 Eliminated all reduce/reduce conflicts in the iASL parser generation.
11645 with the addition of a %expected statement, the compiler generates from
11646 source with no warnings.
11648 Fixed a possible segment fault in the disassembler if the input filename
11649 does not contain a "dot" extension (Thomas Renninger).
11651 ----------------------------------------
11652 21 October 2005. Summary of changes for version 20051021:
11654 1) ACPI CA Core Subsystem:
11656 Implemented support for the EM64T and other x86-64 processors. This
11657 essentially entails recognizing that these processors support non-aligned
11658 memory transfers. Previously, all 64-bit processors were assumed to lack
11659 hardware support for non-aligned transfers.
11661 Completed conversion of the Resource Manager to nearly full table-driven
11662 operation. Specifically, the resource conversion code (convert AML to
11663 internal format and the reverse) and the debug code to dump internal
11664 resource descriptors are fully table-driven, reducing code and data size
11666 improving maintainability.
11668 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag
11670 on 64-bit processors instead of a fixed 32-bit word. (With assistance
11672 Alexey Starikovskiy)
11674 Implemented support within the resource conversion code for the Type-
11675 Specific byte within the various ACPI 3.0 *WordSpace macros.
11677 Fixed some issues within the resource conversion code for the type-
11679 flags for both Memory and I/O address resource descriptors. For Memory,
11680 implemented support for the MTP and TTP flags. For I/O, split the TRS and
11681 TTP flags into two separate fields.
11683 Code and Data Size: The current and previous library sizes for the core
11684 subsystem are shown below. These are the code and data sizes for the
11685 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11687 values do not include any ACPI driver or OSPM code. The debug version of
11689 code includes the debug output trace mechanism and has a much larger code
11690 and data size. Note that these values will vary depending on the
11692 of the compiler and the compiler options used during generation.
11695 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
11696 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
11698 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
11699 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
11703 2) iASL Compiler/Disassembler:
11705 Relaxed a compiler restriction that disallowed a ResourceIndex byte if
11707 corresponding ResourceSource string was not also present in a resource
11708 descriptor declaration. This restriction caused problems with existing
11709 AML/ASL code that includes the Index byte without the string. When such
11711 was disassembled, it could not be compiled without modification. Further,
11712 the modified code created a resource template with a different size than
11714 original, breaking code that used fixed offsets into the resource
11718 Removed a recent feature of the disassembler to ignore a lone
11720 byte. This byte is now emitted if present so that the exact AML can be
11721 reproduced when the disassembled code is recompiled.
11723 Improved comments and text alignment for the resource descriptor code
11724 emitted by the disassembler.
11726 Implemented disassembler support for the ACPI 3.0 AccessSize field within
11728 Register() resource descriptor.
11730 ----------------------------------------
11731 30 September 2005. Summary of changes for version 20050930:
11733 1) ACPI CA Core Subsystem:
11735 Completed a major overhaul of the Resource Manager code - specifically,
11736 optimizations in the area of the AML/internal resource conversion code.
11738 code has been optimized to simplify and eliminate duplicated code, CPU
11740 use has been decreased by optimizing function parameters and local
11741 variables, and naming conventions across the manager have been
11743 for clarity and ease of maintenance (this includes function, parameter,
11744 variable, and struct/typedef names.) The update may force changes in some
11745 driver code, depending on how resources are handled by the host OS.
11747 All Resource Manager dispatch and information tables have been moved to a
11748 single location for clarity and ease of maintenance. One new file was
11749 created, named "rsinfo.c".
11751 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
11752 guarantee that the argument is not evaluated twice, making them less
11754 to macro side-effects. However, since there exists the possibility of
11755 additional stack use if a particular compiler cannot optimize them (such
11757 in the debug generation case), the original macros are optionally
11759 Note that some invocations of the return_VALUE macro may now cause size
11760 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
11762 eliminate these. (From Randy Dunlap)
11764 Implemented a new mechanism to enable debug tracing for individual
11766 methods. A new external interface, AcpiDebugTrace, is provided to enable
11767 this mechanism. The intent is to allow the host OS to easily enable and
11768 disable tracing for problematic control methods. This interface can be
11769 easily exposed to a user or debugger interface if desired. See the file
11770 psxface.c for details.
11772 AcpiUtCallocate will now return a valid pointer if a length of zero is
11773 specified - a length of one is used and a warning is issued. This matches
11774 the behavior of AcpiUtAllocate.
11776 Code and Data Size: The current and previous library sizes for the core
11777 subsystem are shown below. These are the code and data sizes for the
11778 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11780 values do not include any ACPI driver or OSPM code. The debug version of
11782 code includes the debug output trace mechanism and has a much larger code
11783 and data size. Note that these values will vary depending on the
11785 of the compiler and the compiler options used during generation.
11788 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
11789 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
11791 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
11792 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
11795 2) iASL Compiler/Disassembler:
11797 A remark is issued if the effective compile-time length of a package or
11798 buffer is zero. Previously, this was a warning.
11800 ----------------------------------------
11801 16 September 2005. Summary of changes for version 20050916:
11803 1) ACPI CA Core Subsystem:
11805 Fixed a problem within the Resource Manager where support for the Generic
11806 Register descriptor was not fully implemented. This descriptor is now
11808 recognized, parsed, disassembled, and displayed.
11810 Completely restructured the Resource Manager code to utilize table-driven
11811 dispatch and lookup, eliminating many of the large switch() statements.
11813 reduces overall subsystem code size and code complexity. Affects the
11814 resource parsing and construction, disassembly, and debug dump output.
11816 Cleaned up and restructured the debug dump output for all resource
11817 descriptors. Improved readability of the output and reduced code size.
11819 Fixed a problem where changes to internal data structures caused the
11820 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
11822 Code and Data Size: The current and previous library sizes for the core
11823 subsystem are shown below. These are the code and data sizes for the
11824 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler.
11826 values do not include any ACPI driver or OSPM code. The debug version of
11828 code includes the debug output trace mechanism and has a much larger code
11829 and data size. Note that these values will vary depending on the
11831 of the compiler and the compiler options used during generation.
11834 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
11835 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
11837 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
11838 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
11841 2) iASL Compiler/Disassembler:
11843 Updated the disassembler to automatically insert an EndDependentFn()
11845 into the ASL stream if this macro is missing in the original AML code,
11846 simplifying compilation of the resulting ASL module.
11848 Fixed a problem in the disassembler where a disassembled ResourceSource
11849 string (within a large resource descriptor) was not surrounded by quotes
11851 not followed by a comma, causing errors when the resulting ASL module was
11852 compiled. Also, escape sequences within a ResourceSource string are now
11853 handled correctly (especially "\\")
11855 ----------------------------------------
11856 02 September 2005. Summary of changes for version 20050902:
11858 1) ACPI CA Core Subsystem:
11860 Fixed a problem with the internal Owner ID allocation and deallocation
11861 mechanisms for control method execution and recursive method invocation.
11862 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
11863 messages seen on some systems. Recursive method invocation depth is
11864 currently limited to 255. (Alexey Starikovskiy)
11866 Completely eliminated all vestiges of support for the "module-level
11867 executable code" until this support is fully implemented and debugged.
11869 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
11870 some systems that invoke this support.
11872 Fixed a problem within the resource manager code where the transaction
11874 for a 64-bit address descriptor were handled incorrectly in the type-
11875 specific flag byte.
11877 Consolidated duplicate code within the address descriptor resource
11879 code, reducing overall subsystem code size.
11881 Fixed a fault when using the AML debugger "disassemble" command to
11882 disassemble individual control methods.
11884 Removed references to the "release_current" directory within the Unix
11887 Code and Data Size: The current and previous core subsystem library sizes
11888 are shown below. These are the code and data sizes for the acpica.lib
11889 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
11890 include any ACPI driver or OSPM code. The debug version of the code
11892 the debug output trace mechanism and has a much larger code and data
11894 Note that these values will vary depending on the efficiency of the
11896 and the compiler options used during generation.
11899 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
11900 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
11902 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
11903 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
11906 2) iASL Compiler/Disassembler:
11908 Implemented an error check for illegal duplicate values in the interrupt
11910 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
11913 Implemented error checking for the Irq() and IrqNoFlags() macros to
11915 too many values in the interrupt list (16 max) and invalid values in the
11916 list (range 0 - 15)
11918 The maximum length string literal within an ASL file is now restricted to
11919 200 characters as per the ACPI specification.
11921 Fixed a fault when using the -ln option (generate namespace listing).
11923 Implemented an error check to determine if a DescriptorName within a
11924 resource descriptor has already been used within the current scope.
11926 ----------------------------------------
11927 15 August 2005. Summary of changes for version 20050815:
11929 1) ACPI CA Core Subsystem:
11931 Implemented a full bytewise compare to determine if a table load request
11933 attempting to load a duplicate table. The compare is performed if the
11935 signatures and table lengths match. This will allow different tables with
11936 the same OEM Table ID and revision to be loaded - probably against the
11938 specification, but discovered in the field nonetheless.
11940 Added the changes.txt logfile to each of the zipped release packages.
11942 Code and Data Size: Current and previous core subsystem library sizes are
11943 shown below. These are the code and data sizes for the acpica.lib
11945 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
11946 any ACPI driver or OSPM code. The debug version of the code includes the
11947 debug output trace mechanism and has a much larger code and data size.
11949 that these values will vary depending on the efficiency of the compiler
11951 the compiler options used during generation.
11954 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
11955 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
11957 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
11958 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
11961 2) iASL Compiler/Disassembler:
11963 Fixed a problem where incorrect AML code could be generated for Package
11964 objects if optimization is disabled (via the -oa switch).
11966 Fixed a problem with where incorrect AML code is generated for variable-
11967 length packages when the package length is not specified and the number
11969 initializer values is greater than 255.
11972 ----------------------------------------
11973 29 July 2005. Summary of changes for version 20050729:
11975 1) ACPI CA Core Subsystem:
11977 Implemented support to ignore an attempt to install/load a particular
11979 table more than once. Apparently there exists BIOS code that repeatedly
11980 attempts to load the same SSDT upon certain events. With assistance from
11981 Venkatesh Pallipadi.
11983 Restructured the main interface to the AML parser in order to correctly
11984 handle all exceptional conditions. This will prevent leakage of the
11986 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
11988 machines. With assistance from Alexey Starikovskiy.
11990 Support for "module level code" has been disabled in this version due to
11992 number of issues that have appeared on various machines. The support can
11994 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
11995 compilation. When the issues are fully resolved, the code will be enabled
11999 Modified the internal functions for debug print support to define the
12000 FunctionName parameter as a (const char *) for compatibility with
12002 built-in macros such as __FUNCTION__, etc.
12004 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
12006 Implemented support to display an object count summary for the AML
12008 commands Object and Methods.
12010 Code and Data Size: Current and previous core subsystem library sizes are
12011 shown below. These are the code and data sizes for the acpica.lib
12013 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12014 any ACPI driver or OSPM code. The debug version of the code includes the
12015 debug output trace mechanism and has a much larger code and data size.
12017 that these values will vary depending on the efficiency of the compiler
12019 the compiler options used during generation.
12022 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
12023 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
12025 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
12026 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
12029 2) iASL Compiler/Disassembler:
12031 Fixed a regression that appeared in the 20050708 version of the compiler
12032 where an error message was inadvertently emitted for invocations of the
12034 reserved control method.
12036 ----------------------------------------
12037 08 July 2005. Summary of changes for version 20050708:
12039 1) ACPI CA Core Subsystem:
12041 The use of the CPU stack in the debug version of the subsystem has been
12042 considerably reduced. Previously, a debug structure was declared in every
12043 function that used the debug macros. This structure has been removed in
12044 favor of declaring the individual elements as parameters to the debug
12045 functions. This reduces the cumulative stack use during nested execution
12047 ACPI function calls at the cost of a small increase in the code size of
12049 debug version of the subsystem. With assistance from Alexey Starikovskiy
12053 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
12054 headers to define a macro that will return the current function name at
12055 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
12057 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
12058 compiler-dependent header, the function name is saved on the CPU stack
12060 pointer per function.) This mechanism is used because apparently there
12061 exists no standard ANSI-C defined macro that that returns the function
12064 Redesigned and reimplemented the "Owner ID" mechanism used to track
12065 namespace objects created/deleted by ACPI tables and control method
12066 execution. A bitmap is now used to allocate and free the IDs, thus
12068 the wraparound problem present in the previous implementation. The size
12070 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
12073 Removed the UINT32_BIT and UINT16_BIT types that were used for the
12075 flag definitions within the headers for the predefined ACPI tables. These
12076 have been replaced by UINT8_BIT in order to increase the code portability
12078 the subsystem. If the use of UINT8 remains a problem, we may be forced to
12079 eliminate bitfields entirely because of a lack of portability.
12081 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
12083 is a frequently used function and this improvement increases the
12085 of the entire subsystem (Alexey Starikovskiy).
12087 Fixed several possible memory leaks and the inverse - premature object
12088 deletion (Alexey Starikovskiy).
12090 Code and Data Size: Current and previous core subsystem library sizes are
12091 shown below. These are the code and data sizes for the acpica.lib
12093 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12094 any ACPI driver or OSPM code. The debug version of the code includes the
12095 debug output trace mechanism and has a much larger code and data size.
12097 that these values will vary depending on the efficiency of the compiler
12099 the compiler options used during generation.
12102 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
12103 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
12105 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
12106 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
12108 ----------------------------------------
12109 24 June 2005. Summary of changes for version 20050624:
12111 1) ACPI CA Core Subsystem:
12113 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
12114 the host-defined cache object. This allows the OSL implementation to
12116 and type this object in any manner desired, simplifying the OSL
12117 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
12118 Linux, and should be defined in the OS-specific header file for other
12119 operating systems as required.
12121 Changed the interface to AcpiOsAcquireObject to directly return the
12122 requested object as the function return (instead of ACPI_STATUS.) This
12123 change was made for performance reasons, since this is the purpose of the
12124 interface in the first place. AcpiOsAcquireObject is now similar to the
12125 AcpiOsAllocate interface.
12127 Implemented a new AML debugger command named Businfo. This command
12129 information about all devices that have an associate _PRT object. The
12131 _HID, _UID, and _CID are displayed for these devices.
12133 Modified the initialization sequence in AcpiInitializeSubsystem to call
12135 OSL interface AcpiOslInitialize first, before any local initialization.
12137 change was required because the global initialization now calls OSL
12140 Enhanced the Dump command to display the entire contents of Package
12142 (including all sub-objects and their values.)
12144 Restructured the code base to split some files because of size and/or
12145 because the code logically belonged in a separate file. New files are
12147 below. All makefiles and project files included in the ACPI CA release
12150 utilities/utcache.c /* Local cache interfaces */
12151 utilities/utmutex.c /* Local mutex support */
12152 utilities/utstate.c /* State object support */
12153 interpreter/parser/psloop.c /* Main AML parse loop */
12155 Code and Data Size: Current and previous core subsystem library sizes are
12156 shown below. These are the code and data sizes for the acpica.lib
12158 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12159 any ACPI driver or OSPM code. The debug version of the code includes the
12160 debug output trace mechanism and has a much larger code and data size.
12162 that these values will vary depending on the efficiency of the compiler
12164 the compiler options used during generation.
12167 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
12168 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
12170 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
12171 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
12174 2) iASL Compiler/Disassembler:
12176 Fixed a regression introduced in version 20050513 where the use of a
12178 object within a Case() statement caused a compile time exception. The
12179 original behavior has been restored (a Match() operator is emitted.)
12181 ----------------------------------------
12182 17 June 2005. Summary of changes for version 20050617:
12184 1) ACPI CA Core Subsystem:
12186 Moved the object cache operations into the OS interface layer (OSL) to
12188 the host OS to handle these operations if desired (for example, the Linux
12189 OSL will invoke the slab allocator). This support is optional; the
12191 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original
12193 code in the ACPI CA core. The new OSL interfaces are shown below. See
12194 utalloc.c for an example implementation, and acpiosxf.h for the exact
12195 interface definitions. With assistance from Alexey Starikovskiy.
12199 AcpiOsAcquireObject
12200 AcpiOsReleaseObject
12202 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
12204 and restore a flags parameter. This fits better with many OS lock models.
12205 Note: the current execution state (interrupt handler or not) is no longer
12206 passed to these interfaces. If necessary, the OSL must determine this
12208 by itself, a simple and fast operation. With assistance from Alexey
12211 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
12212 present if the revision of the RSDP was 2 or greater. According to the
12214 specification, the XSDT is optional in all cases, and the table manager
12215 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
12216 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs
12220 Fixed an interpreter problem with the Mid() operator in the case of an
12222 string where the resulting output string is of zero length. It now
12224 returns a valid, null terminated string object instead of a string object
12225 with a null pointer.
12227 Fixed a problem with the control method argument handling to allow a
12229 to an Arg object that already contains an object of type Device. The
12231 object is now correctly overwritten. Previously, an error was returned.
12234 Enhanced the debugger Find command to emit object values in addition to
12236 found object pathnames. The output format is the same as the dump
12240 Enhanced the debugger Set command. It now has the ability to set the
12242 of any Named integer object in the namespace (Previously, only method
12244 and args could be set.)
12246 Code and Data Size: Current and previous core subsystem library sizes are
12247 shown below. These are the code and data sizes for the acpica.lib
12249 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12250 any ACPI driver or OSPM code. The debug version of the code includes the
12251 debug output trace mechanism and has a much larger code and data size.
12253 that these values will vary depending on the efficiency of the compiler
12255 the compiler options used during generation.
12258 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
12259 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
12261 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
12262 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
12265 2) iASL Compiler/Disassembler:
12267 Fixed a regression in the disassembler where if/else/while constructs
12269 output incorrectly. This problem was introduced in the previous release
12270 (20050526). This problem also affected the single-step disassembly in the
12273 Fixed a problem where compiling the reserved _OSI method would randomly
12275 rarely) produce compile errors.
12277 Enhanced the disassembler to emit compilable code in the face of
12279 AML resource descriptors. If the optional ResourceSourceIndex is present,
12280 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
12281 disassembly. Otherwise, the resulting code cannot be compiled without
12284 ----------------------------------------
12285 26 May 2005. Summary of changes for version 20050526:
12287 1) ACPI CA Core Subsystem:
12289 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
12290 the module level (not within a control method.) These opcodes are
12292 exactly once at the time the table is loaded. This type of code was legal
12294 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
12296 order to provide backwards compatibility with earlier BIOS
12298 This eliminates the "Encountered executable code at module level" warning
12299 that was previously generated upon detection of such code.
12301 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
12302 inadvertently be generated during the lookup of namespace objects in the
12303 second pass parse of ACPI tables and control methods. It appears that
12305 problem could occur during the resolution of forward references to
12309 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
12310 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
12311 allows the deadlock detection debug code to be compiled out in the normal
12312 case, improving mutex performance (and overall subsystem performance)
12315 Implemented a handful of miscellaneous fixes for possible memory leaks on
12316 error conditions and error handling control paths. These fixes were
12317 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
12319 Added a check for a null RSDT pointer in AcpiGetFirmwareTable
12321 to prevent a fault in this error case.
12323 Code and Data Size: Current and previous core subsystem library sizes are
12324 shown below. These are the code and data sizes for the acpica.lib
12326 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12327 any ACPI driver or OSPM code. The debug version of the code includes the
12328 debug output trace mechanism and has a much larger code and data size.
12330 that these values will vary depending on the efficiency of the compiler
12332 the compiler options used during generation.
12335 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12336 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12338 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
12339 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
12342 2) iASL Compiler/Disassembler:
12344 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
12345 the module level (not within a control method.) These operators will be
12346 executed once at the time the table is loaded. This type of code was
12348 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
12349 compiler in order to provide backwards compatibility with earlier BIOS
12353 The ACPI integer width (specified via the table revision ID or the -r
12354 override, 32 or 64 bits) is now used internally during compile-time
12356 folding to ensure that constants are truncated to 32 bits if necessary.
12357 Previously, the revision ID value was only emitted in the AML table
12360 An error message is now generated for the Mutex and Method operators if
12362 SyncLevel parameter is outside the legal range of 0 through 15.
12364 Fixed a problem with the Method operator ParameterTypes list handling
12366 3.0). Previously, more than 2 types or 2 arguments generated a syntax
12368 The actual underlying implementation of method argument typechecking is
12369 still under development, however.
12371 ----------------------------------------
12372 13 May 2005. Summary of changes for version 20050513:
12374 1) ACPI CA Core Subsystem:
12376 Implemented support for PCI Express root bridges -- added support for
12378 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
12380 The interpreter now automatically truncates incoming 64-bit constants to
12382 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
12384 also affects the iASL compiler constant folding. (Note: as per below, the
12385 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
12387 Fixed a problem where string and buffer objects with "static" pointers
12388 (pointers to initialization data within an ACPI table) were not handled
12389 consistently. The internal object copy operation now always copies the
12391 to a newly allocated buffer, regardless of whether the source object is
12394 Fixed a problem with the FromBCD operator where an implicit result
12395 conversion was improperly performed while storing the result to the
12397 operand. Since this is an "explicit conversion" operator, the implicit
12398 conversion should never be performed on the output.
12400 Fixed a problem with the CopyObject operator where a copy to an existing
12401 named object did not always completely overwrite the existing object
12403 at name. Specifically, a buffer-to-buffer copy did not delete the
12407 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces
12409 structs for consistency.
12411 Code and Data Size: Current and previous core subsystem library sizes are
12412 shown below. These are the code and data sizes for the acpica.lib
12414 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12415 any ACPI driver or OSPM code. The debug version of the code includes the
12416 debug output trace mechanism and has a much larger code and data size.
12418 that these values will vary depending on the efficiency of the compiler
12420 the compiler options used during generation.
12423 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12424 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12425 Current Release: (Same sizes)
12426 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12427 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12430 2) iASL Compiler/Disassembler:
12432 The compiler now emits a warning if an attempt is made to generate a 64-
12434 integer constant from within a 32-bit ACPI table (Revision < 2). The
12436 is truncated to 32 bits.
12438 Fixed a problem with large package objects: if the static length of the
12439 package is greater than 255, the "variable length package" opcode is
12440 emitted. Previously, this caused an error. This requires an update to the
12441 ACPI spec, since it currently (incorrectly) states that packages larger
12443 255 elements are not allowed.
12445 The disassembler now correctly handles variable length packages and
12447 larger than 255 elements.
12449 ----------------------------------------
12450 08 April 2005. Summary of changes for version 20050408:
12452 1) ACPI CA Core Subsystem:
12454 Fixed three cases in the interpreter where an "index" argument to an ASL
12455 function was still (internally) 32 bits instead of the required 64 bits.
12456 This was the Index argument to the Index, Mid, and Match operators.
12458 The "strupr" function is now permanently local (AcpiUtStrupr), since this
12460 not a POSIX-defined function and not present in most kernel-level C
12461 libraries. All references to the C library strupr function have been
12465 Completed the deployment of static functions/prototypes. All prototypes
12467 the static attribute have been moved from the headers to the owning C
12470 Implemented an extract option (-e) for the AcpiBin utility (AML binary
12471 utility). This option allows the utility to extract individual ACPI
12473 from the output of AcpiDmp. It provides the same functionality of the
12474 acpixtract.pl perl script without the worry of setting the correct perl
12475 options. AcpiBin runs on Windows and has not yet been generated/validated
12477 the Linux/Unix environment (but should be soon).
12479 Updated and fixed the table dump option for AcpiBin (-d). This option
12480 converts a single ACPI table to a hex/ascii file, similar to the output
12484 Code and Data Size: Current and previous core subsystem library sizes are
12485 shown below. These are the code and data sizes for the acpica.lib
12487 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12488 any ACPI driver or OSPM code. The debug version of the code includes the
12489 debug output trace mechanism and has a much larger code and data size.
12491 that these values will vary depending on the efficiency of the compiler
12493 the compiler options used during generation.
12496 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
12497 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
12499 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
12500 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
12503 2) iASL Compiler/Disassembler:
12505 Disassembler fix: Added a check to ensure that the table length found in
12507 ACPI table header within the input file is not longer than the actual
12509 file size. This indicates some kind of file or table corruption.
12511 ----------------------------------------
12512 29 March 2005. Summary of changes for version 20050329:
12514 1) ACPI CA Core Subsystem:
12516 An error is now generated if an attempt is made to create a Buffer Field
12518 length zero (A CreateField with a length operand of zero.)
12520 The interpreter now issues a warning whenever executable code at the
12522 level is detected during ACPI table load. This will give some idea of the
12523 prevalence of this type of code.
12525 Implemented support for references to named objects (other than control
12526 methods) within package objects.
12528 Enhanced package object output for the debug object. Package objects are
12530 completely dumped, showing all elements.
12532 Enhanced miscellaneous object output for the debug object. Any object can
12533 now be written to the debug object (for example, a device object can be
12534 written, and the type of the object will be displayed.)
12536 The "static" qualifier has been added to all local functions across both
12538 core subsystem and the iASL compiler.
12540 The number of "long" lines (> 80 chars) within the source has been
12541 significantly reduced, by about 1/3.
12543 Cleaned up all header files to ensure that all CA/iASL functions are
12544 prototyped (even static functions) and the formatting is consistent.
12546 Two new header files have been added, acopcode.h and acnames.h.
12548 Removed several obsolete functions that were no longer used.
12550 Code and Data Size: Current and previous core subsystem library sizes are
12551 shown below. These are the code and data sizes for the acpica.lib
12553 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12554 any ACPI driver or OSPM code. The debug version of the code includes the
12555 debug output trace mechanism and has a much larger code and data size.
12557 that these values will vary depending on the efficiency of the compiler
12559 the compiler options used during generation.
12562 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12563 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
12565 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
12566 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
12570 2) iASL Compiler/Disassembler:
12572 Fixed a problem with the resource descriptor generation/support. For the
12573 ResourceSourceIndex and the ResourceSource fields, both must be present,
12575 both must be not present - can't have one without the other.
12577 The compiler now returns non-zero from the main procedure if any errors
12579 occurred during the compilation.
12582 ----------------------------------------
12583 09 March 2005. Summary of changes for version 20050309:
12585 1) ACPI CA Core Subsystem:
12587 The string-to-buffer implicit conversion code has been modified again
12589 a change to the ACPI specification. In order to match the behavior of
12591 other major ACPI implementation, the target buffer is no longer truncated
12593 the source string is smaller than an existing target buffer. This change
12594 requires an update to the ACPI spec, and should eliminate the recent
12595 AE_AML_BUFFER_LIMIT issues.
12597 The "implicit return" support was rewritten to a new algorithm that
12599 the general case. Rather than attempt to determine when a method is about
12601 exit, the result of every ASL operator is saved momentarily until the
12603 next ASL operator is executed. Therefore, no matter how the method exits,
12604 there will always be a saved implicit return value. This feature is only
12605 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should
12607 AE_AML_NO_RETURN_VALUE errors when enabled.
12609 Implemented implicit conversion support for the predicate (operand) of
12611 If, Else, and While operators. String and Buffer arguments are
12613 converted to Integers.
12615 Changed the string-to-integer conversion behavior to match the new ACPI
12616 errata: "If no integer object exists, a new integer is created. The ASCII
12617 string is interpreted as a hexadecimal constant. Each string character is
12618 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
12619 with the first character as the most significant digit, and ending with
12621 first non-hexadecimal character or end-of-string." This means that the
12623 non-hex character terminates the conversion and this is the code that was
12626 Fixed a problem where the ObjectType operator would fail (fault) when
12628 on an Index of a Package which pointed to a null package element. The
12629 operator now properly returns zero (Uninitialized) in this case.
12631 Fixed a problem where the While operator used excessive memory by not
12632 properly popping the result stack during execution. There was no memory
12634 after execution, however. (Code provided by Valery Podrezov.)
12636 Fixed a problem where references to control methods within Package
12638 caused the method to be invoked, instead of producing a reference object
12639 pointing to the method.
12641 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree)
12643 improve performance and reduce code size. (Code provided by Alexey
12646 Code and Data Size: Current and previous core subsystem library sizes are
12647 shown below. These are the code and data sizes for the acpica.lib
12649 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12650 any ACPI driver or OSPM code. The debug version of the code includes the
12651 debug output trace mechanism and has a much larger code and data size.
12653 that these values will vary depending on the efficiency of the compiler
12655 the compiler options used during generation.
12658 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12659 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
12661 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12662 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
12665 2) iASL Compiler/Disassembler:
12667 Fixed a problem with the Return operator with no arguments. Since the AML
12668 grammar for the byte encoding requires an operand for the Return opcode,
12670 compiler now emits a Return(Zero) for this case. An ACPI specification
12671 update has been written for this case.
12673 For tables other than the DSDT, namepath optimization is automatically
12674 disabled. This is because SSDTs can be loaded anywhere in the namespace,
12676 compiler has no knowledge of where, and thus cannot optimize namepaths.
12678 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
12679 inadvertently omitted from the ACPI specification, and will require an
12680 update to the spec.
12682 The source file scan for ASCII characters is now optional (-a). This
12684 was made because some vendors place non-ascii characters within comments.
12685 However, the scan is simply a brute-force byte compare to ensure all
12686 characters in the file are in the range 0x00 to 0x7F.
12688 Fixed a problem with the CondRefOf operator where the compiler was
12689 inappropriately checking for the existence of the target. Since the point
12691 the operator is to check for the existence of the target at run-time, the
12692 compiler no longer checks for the target existence.
12694 Fixed a problem where errors generated from the internal AML interpreter
12695 during constant folding were not handled properly, causing a fault.
12697 Fixed a problem with overly aggressive range checking for the Stall
12698 operator. The valid range (max 255) is now only checked if the operand is
12700 type Integer. All other operand types cannot be statically checked.
12702 Fixed a problem where control method references within the RefOf,
12704 and ObjectType operators were not treated properly. They are now treated
12706 actual references, not method invocations.
12708 Fixed and enhanced the "list namespace" option (-ln). This option was
12710 a number of releases ago.
12712 Improved error handling for the Field, IndexField, and BankField
12714 The compiler now cleanly reports and recovers from errors in the field
12715 component (FieldUnit) list.
12717 Fixed a disassembler problem where the optional ResourceDescriptor fields
12718 TRS and TTP were not always handled correctly.
12720 Disassembler - Comments in output now use "//" instead of "/*"
12722 ----------------------------------------
12723 28 February 2005. Summary of changes for version 20050228:
12725 1) ACPI CA Core Subsystem:
12727 Fixed a problem where the result of an Index() operator (an object
12728 reference) must increment the reference count on the target object for
12730 life of the object reference.
12732 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
12733 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
12735 resource descriptors.
12737 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
12738 Space Descriptor" string, indicating interpreter support for the
12742 Implemented header support for the new ACPI 3.0 FADT flag bits.
12744 Implemented header support for the new ACPI 3.0 PCI Express bits for the
12746 status/enable registers.
12748 Updated header support for the MADT processor local Apic struct and MADT
12749 platform interrupt source struct for new ACPI 3.0 fields.
12751 Implemented header support for the SRAT and SLIT ACPI tables.
12753 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
12757 Code and Data Size: Current and previous core subsystem library sizes are
12758 shown below. These are the code and data sizes for the acpica.lib
12760 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12761 any ACPI driver or OSPM code. The debug version of the code includes the
12762 debug output trace mechanism and has a much larger code and data size.
12764 that these values will vary depending on the efficiency of the compiler
12766 the compiler options used during generation.
12769 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
12770 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
12772 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
12773 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
12776 2) iASL Compiler/Disassembler:
12778 Fixed a problem with the internal 64-bit String-to-integer conversion
12780 strings less than two characters long.
12782 Fixed a problem with constant folding where the result of the Index()
12783 operator can not be considered a constant. This means that Index() cannot
12785 a type3 opcode and this will require an update to the ACPI specification.
12787 Disassembler: Implemented support for the TTP, MTP, and TRS resource
12788 descriptor fields. These fields were inadvertently ignored and not output
12790 the disassembly of the resource descriptor.
12793 ----------------------------------------
12794 11 February 2005. Summary of changes for version 20050211:
12796 1) ACPI CA Core Subsystem:
12798 Implemented ACPI 3.0 support for implicit conversion within the Match()
12799 operator. MatchObjects can now be of type integer, buffer, or string
12801 of just type integer. Package elements are implicitly converted to the
12803 of the MatchObject. This change aligns the behavior of Match() with the
12804 behavior of the other logical operators (LLess(), etc.) It also requires
12806 errata change to the ACPI specification as this support was intended for
12807 ACPI 3.0, but was inadvertently omitted.
12809 Fixed a problem with the internal implicit "to buffer" conversion.
12811 that are converted to buffers will cause buffer truncation if the string
12813 smaller than the target buffer. Integers that are converted to buffers
12815 not cause buffer truncation, only zero extension (both as per the ACPI
12816 spec.) The problem was introduced when code was added to truncate the
12817 buffer, but this should not be performed in all cases, only the string
12820 Fixed a problem with the Buffer and Package operators where the
12822 would get confused if two such operators were used as operands to an ASL
12823 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
12824 stack was not being popped after the execution of these operators,
12826 in an AE_NO_RETURN_VALUE exception.
12828 Fixed a problem with constructs of the form Store(Index(...),...). The
12829 reference object returned from Index was inadvertently resolved to an
12831 value. This problem was introduced in version 20050114 when the behavior
12833 Store() was modified to restrict the object types that can be used as the
12834 source operand (to match the ACPI specification.)
12836 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
12838 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
12840 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
12842 Code and Data Size: Current and previous core subsystem library sizes are
12843 shown below. These are the code and data sizes for the acpica.lib
12845 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12846 any ACPI driver or OSPM code. The debug version of the code includes the
12847 debug output trace mechanism and has a much larger code and data size.
12849 that these values will vary depending on the efficiency of the compiler
12851 the compiler options used during generation.
12854 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
12855 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
12857 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
12858 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
12861 2) iASL Compiler/Disassembler:
12863 Fixed a code generation problem in the constant folding optimization code
12864 where incorrect code was generated if a constant was reduced to a buffer
12865 object (i.e., a reduced type 5 opcode.)
12867 Fixed a typechecking problem for the ToBuffer operator. Caused by an
12868 incorrect return type in the internal opcode information table.
12870 ----------------------------------------
12871 25 January 2005. Summary of changes for version 20050125:
12873 1) ACPI CA Core Subsystem:
12875 Fixed a recently introduced problem with the Global Lock where the
12876 underlying semaphore was not created. This problem was introduced in
12877 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
12878 Acquire() operation on _GL.
12880 The local object cache is now optional, and is disabled by default. Both
12881 AcpiExec and the iASL compiler enable the cache because they run in user
12882 mode and this enhances their performance. #define
12883 ACPI_ENABLE_OBJECT_CACHE
12884 to enable the local cache.
12886 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
12888 optional "implicit return" support where an error was returned if no
12890 object was expected, but one was implicitly returned. AE_OK is now
12892 in this case and the implicitly returned object is deleted.
12893 AcpiUtEvaluateObject is only occasionally used, and only to execute
12895 methods such as _STA and _INI where the return type is known up front.
12897 Fixed a few issues with the internal convert-to-integer code. It now
12899 an error if an attempt is made to convert a null string, a string of only
12900 blanks/tabs, or a zero-length buffer. This affects both implicit
12902 and explicit conversion via the ToInteger() operator.
12904 The internal debug code in AcpiUtAcquireMutex has been commented out. It
12906 not needed for normal operation and should increase the performance of
12908 entire subsystem. The code remains in case it is needed for debug
12912 The AcpiExec source and makefile are included in the Unix/Linux package
12916 Code and Data Size: Current and previous core subsystem library sizes are
12917 shown below. These are the code and data sizes for the acpica.lib
12919 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
12920 any ACPI driver or OSPM code. The debug version of the code includes the
12921 debug output trace mechanism and has a much larger code and data size.
12923 that these values will vary depending on the efficiency of the compiler
12925 the compiler options used during generation.
12928 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
12929 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
12931 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
12932 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
12934 2) iASL Compiler/Disassembler:
12936 Switch/Case support: A warning is now issued if the type of the Switch
12938 cannot be determined at compile time. For example, Switch(Arg0) will
12939 generate the warning, and the type is assumed to be an integer. As per
12941 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
12945 Switch/Case support: Implemented support for buffer and string objects as
12946 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
12947 buffers and strings.
12949 Switch/Case support: The emitted code for the LEqual() comparisons now
12951 the switch value as the first operand, not the second. The case value is
12953 the second operand, and this allows the case value to be implicitly
12954 converted to the type of the switch value, not the other way around.
12956 Switch/Case support: Temporary variables are now emitted immediately
12958 the control method, not at the global level. This means that there are
12960 36 temps available per-method, not 36 temps per-module as was the case
12962 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
12964 ----------------------------------------
12965 14 January 2005. Summary of changes for version 20050114:
12967 Added 2005 copyright to all module headers. This affects every module in
12968 the core subsystem, iASL compiler, and the utilities.
12970 1) ACPI CA Core Subsystem:
12972 Fixed an issue with the String-to-Buffer conversion code where the string
12973 null terminator was not included in the buffer after conversion, but
12975 is existing ASL that assumes the string null terminator is included. This
12977 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
12978 introduced in the previous version when the code was updated to correctly
12979 set the converted buffer size as per the ACPI specification. The ACPI
12981 is ambiguous and will be updated to specify that the null terminator must
12983 included in the converted buffer. This also affects the ToBuffer() ASL
12986 Fixed a problem with the Mid() ASL/AML operator where it did not work
12987 correctly on Buffer objects. Newly created sub-buffers were not being
12992 Fixed a problem in AcpiTbFindTable where incorrect string compares were
12993 performed on the OemId and OemTableId table header fields. These fields
12995 not null terminated, so strncmp is now used instead of strcmp.
12997 Implemented a restriction on the Store() ASL/AML operator to align the
12998 behavior with the ACPI specification. Previously, any object could be
13000 as the source operand. Now, the only objects that may be used are
13002 Buffers, Strings, Packages, Object References, and DDB Handles. If
13003 necessary, the original behavior can be restored by enabling the
13004 EnableInterpreterSlack flag.
13006 Enhanced the optional "implicit return" support to allow an implicit
13008 value from methods that are invoked externally via the AcpiEvaluateObject
13009 interface. This enables implicit returns from the _STA and _INI methods,
13012 Changed the Revision() ASL/AML operator to return the current version of
13014 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
13016 the supported ACPI version (This is the function of the _REV method).
13018 Updated the _REV predefined method to return the currently supported
13022 Implemented batch mode option for the AcpiExec utility (-b).
13024 Code and Data Size: Current and previous core subsystem library sizes are
13025 shown below. These are the code and data sizes for the acpica.lib
13027 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13028 any ACPI driver or OSPM code. The debug version of the code includes the
13029 debug output trace mechanism and has a much larger code and data size.
13031 that these values will vary depending on the efficiency of the compiler
13033 the compiler options used during generation.
13036 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13037 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
13039 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
13040 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
13042 ----------------------------------------
13043 10 December 2004. Summary of changes for version 20041210:
13045 ACPI 3.0 support is nearing completion in both the iASL compiler and the
13046 ACPI CA core subsystem.
13048 1) ACPI CA Core Subsystem:
13050 Fixed a problem in the ToDecimalString operator where the resulting
13052 length was incorrectly calculated. The length is now calculated exactly,
13053 eliminating incorrect AE_STRING_LIMIT exceptions.
13055 Fixed a problem in the ToHexString operator to allow a maximum 200
13057 string to be produced.
13059 Fixed a problem in the internal string-to-buffer and buffer-to-buffer
13061 routine where the length of the resulting buffer was not truncated to the
13062 new size (if the target buffer already existed).
13064 Code and Data Size: Current and previous core subsystem library sizes are
13065 shown below. These are the code and data sizes for the acpica.lib
13067 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13068 any ACPI driver or OSPM code. The debug version of the code includes the
13069 debug output trace mechanism and has a much larger code and data size.
13071 that these values will vary depending on the efficiency of the compiler
13073 the compiler options used during generation.
13076 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13077 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
13079 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13080 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
13083 2) iASL Compiler/Disassembler:
13085 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
13086 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
13087 Includes support in the disassembler.
13089 Implemented support for the new (ACPI 3.0) parameter to the Register
13093 Fixed a problem where the _HE resource name for the Interrupt macro was
13094 referencing bit 0 instead of bit 1.
13096 Implemented check for maximum 255 interrupts in the Interrupt macro.
13098 Fixed a problem with the predefined resource descriptor names where
13099 incorrect AML code was generated if the offset within the resource buffer
13100 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
13101 but did not update the surrounding package lengths.
13103 Changes to the Dma macro: All channels within the channel list must be
13105 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
13106 optional (default is BusMaster).
13108 Implemented check for maximum 7 data bytes for the VendorShort macro.
13110 The ReadWrite parameter is now optional for the Memory32 and similar
13113 ----------------------------------------
13114 03 December 2004. Summary of changes for version 20041203:
13116 1) ACPI CA Core Subsystem:
13118 The low-level field insertion/extraction code (exfldio) has been
13120 rewritten to eliminate unnecessary complexity, bugs, and boundary
13123 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
13125 operators where the input operand could be inadvertently deleted if no
13126 conversion was necessary (e.g., if the input to ToInteger was an Integer
13129 Fixed a problem with the ToDecimalString and ToHexString where an
13131 exception code was returned if the resulting string would be > 200 chars.
13132 AE_STRING_LIMIT is now returned.
13134 Fixed a problem with the Concatenate operator where AE_OK was always
13135 returned, even if the operation failed.
13137 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
13138 semaphores to be allocated.
13140 Code and Data Size: Current and previous core subsystem library sizes are
13141 shown below. These are the code and data sizes for the acpica.lib
13143 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13144 any ACPI driver or OSPM code. The debug version of the code includes the
13145 debug output trace mechanism and has a much larger code and data size.
13147 that these values will vary depending on the efficiency of the compiler
13149 the compiler options used during generation.
13152 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13153 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13155 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
13156 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
13159 2) iASL Compiler/Disassembler:
13161 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
13162 recently introduced in 20041119.
13164 Fixed a problem with the ToUUID macro where the upper nybble of each
13166 byte was inadvertently set to zero.
13168 ----------------------------------------
13169 19 November 2004. Summary of changes for version 20041119:
13171 1) ACPI CA Core Subsystem:
13173 Fixed a problem in the internal ConvertToInteger routine where new
13175 were not truncated to 32 bits for 32-bit ACPI tables. This routine
13177 buffers and strings to integers.
13179 Implemented support to store a value to an Index() on a String object.
13181 is an ACPI 2.0 feature that had not yet been implemented.
13183 Implemented new behavior for storing objects to individual package
13185 (via the Index() operator). The previous behavior was to invoke the
13187 conversion rules if an object was already present at the index. The new
13188 behavior is to simply delete any existing object and directly store the
13190 object. Although the ACPI specification seems unclear on this subject,
13192 ACPI implementations behave in this manner. (This is the root of the
13193 AE_BAD_HEX_CONSTANT issue.)
13195 Modified the RSDP memory scan mechanism to support the extended checksum
13197 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
13198 RSDP signature is found with a valid checksum.
13200 Code and Data Size: Current and previous core subsystem library sizes are
13201 shown below. These are the code and data sizes for the acpica.lib
13203 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13204 any ACPI driver or OSPM code. The debug version of the code includes the
13205 debug output trace mechanism and has a much larger code and data size.
13207 that these values will vary depending on the efficiency of the compiler
13209 the compiler options used during generation.
13212 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13213 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13215 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13216 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13219 2) iASL Compiler/Disassembler:
13221 Fixed a missing semicolon in the aslcompiler.y file.
13223 ----------------------------------------
13224 05 November 2004. Summary of changes for version 20041105:
13226 1) ACPI CA Core Subsystem:
13228 Implemented support for FADT revision 2. This was an interim table
13230 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
13232 Implemented optional support to allow uninitialized LocalX and ArgX
13233 variables in a control method. The variables are initialized to an
13235 object with a value of zero. This support is enabled by setting the
13236 AcpiGbl_EnableInterpreterSlack flag to TRUE.
13238 Implemented support for Integer objects for the SizeOf operator. Either
13240 or 8 is returned, depending on the current integer size (32-bit or 64-
13242 depending on the parent table revision).
13244 Fixed a problem in the implementation of the SizeOf and ObjectType
13246 where the operand was resolved to a value too early, causing incorrect
13247 return values for some objects.
13249 Fixed some possible memory leaks during exceptional conditions.
13251 Code and Data Size: Current and previous core subsystem library sizes are
13252 shown below. These are the code and data sizes for the acpica.lib
13254 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13255 any ACPI driver or OSPM code. The debug version of the code includes the
13256 debug output trace mechanism and has a much larger code and data size.
13258 that these values will vary depending on the efficiency of the compiler
13260 the compiler options used during generation.
13263 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13264 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
13266 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
13267 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
13270 2) iASL Compiler/Disassembler:
13272 Implemented support for all ACPI 3.0 reserved names and methods.
13274 Implemented all ACPI 3.0 grammar elements in the front-end, including
13275 support for semicolons.
13277 Implemented the ACPI 3.0 Function() and ToUUID() macros
13279 Fixed a problem in the disassembler where a Scope() operator would not be
13280 emitted properly if the target of the scope was in another table.
13282 ----------------------------------------
13283 15 October 2004. Summary of changes for version 20041015:
13285 Note: ACPI CA is currently undergoing an in-depth and complete formal
13286 evaluation to test/verify the following areas. Other suggestions are
13287 welcome. This will result in an increase in the frequency of releases and
13288 the number of bug fixes in the next few months.
13289 - Functional tests for all ASL/AML operators
13290 - All implicit/explicit type conversions
13291 - Bit fields and operation regions
13292 - 64-bit math support and 32-bit-only "truncated" math support
13293 - Exceptional conditions, both compiler and interpreter
13294 - Dynamic object deletion and memory leaks
13295 - ACPI 3.0 support when implemented
13296 - External interfaces to the ACPI subsystem
13299 1) ACPI CA Core Subsystem:
13301 Fixed two alignment issues on 64-bit platforms - within debug statements
13303 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
13305 field within the non-aligned ACPI generic address structure.
13307 Fixed a problem in the Increment and Decrement operators where incorrect
13308 operand resolution could result in the inadvertent modification of the
13309 original integer when the integer is passed into another method as an
13310 argument and the arg is then incremented/decremented.
13312 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
13314 BCD number were truncated during conversion.
13316 Fixed a problem in the ToDecimal operator where the length of the
13318 string could be set incorrectly too long if the input operand was a
13322 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
13324 within a buffer would prematurely terminate a compare between buffer
13327 Added a check for string overflow (>200 characters as per the ACPI
13328 specification) during the Concatenate operator with two string operands.
13330 Code and Data Size: Current and previous core subsystem library sizes are
13331 shown below. These are the code and data sizes for the acpica.lib
13333 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13334 any ACPI driver or OSPM code. The debug version of the code includes the
13335 debug output trace mechanism and has a much larger code and data size.
13337 that these values will vary depending on the efficiency of the compiler
13339 the compiler options used during generation.
13342 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
13343 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
13345 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13346 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
13350 2) iASL Compiler/Disassembler:
13352 Allow the use of the ObjectType operator on uninitialized Locals and Args
13353 (returns 0 as per the ACPI specification).
13355 Fixed a problem where the compiler would fault if there was a syntax
13357 in the FieldName of all of the various CreateXXXField operators.
13359 Disallow the use of lower case letters within the EISAID macro, as per
13361 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
13363 U is an uppercase letter and N is a hex digit.
13366 ----------------------------------------
13367 06 October 2004. Summary of changes for version 20041006:
13369 1) ACPI CA Core Subsystem:
13371 Implemented support for the ACPI 3.0 Timer operator. This ASL function
13372 implements a 64-bit timer with 100 nanosecond granularity.
13374 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
13375 implement the ACPI 3.0 Timer operator. This allows the host OS to
13377 the timer with the best clock available. Also, it keeps the core
13379 out of the clock handling business, since the host OS (usually) performs
13382 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
13383 functions use a 64-bit address which is part of the packed ACPI Generic
13384 Address Structure. Since the structure is non-aligned, the alignment
13386 are now used to extract the address to a local variable before use.
13388 Fixed a problem where the ToInteger operator assumed all input strings
13390 hexadecimal. The operator now handles both decimal strings and hex
13392 (prefixed with "0x").
13394 Fixed a problem where the string length in the string object created as a
13395 result of the internal ConvertToString procedure could be incorrect. This
13396 potentially affected all implicit conversions and also the
13398 and ToHexString operators.
13400 Fixed two problems in the ToString operator. If the length parameter was
13401 zero, an incorrect string object was created and the value of the input
13402 length parameter was inadvertently changed from zero to Ones.
13404 Fixed a problem where the optional ResourceSource string in the
13406 resource macro was ignored.
13408 Simplified the interfaces to the internal division functions, reducing
13410 size and complexity.
13412 Code and Data Size: Current and previous core subsystem library sizes are
13413 shown below. These are the code and data sizes for the acpica.lib
13415 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13416 any ACPI driver or OSPM code. The debug version of the code includes the
13417 debug output trace mechanism and has a much larger code and data size.
13419 that these values will vary depending on the efficiency of the compiler
13421 the compiler options used during generation.
13424 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
13425 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
13427 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
13428 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
13431 2) iASL Compiler/Disassembler:
13433 Implemented support for the ACPI 3.0 Timer operator.
13435 Fixed a problem where the Default() operator was inadvertently ignored in
13437 Switch/Case block. This was a problem in the translation of the Switch
13438 statement to If...Else pairs.
13440 Added support to allow a standalone Return operator, with no parentheses
13444 Fixed a problem with code generation for the ElseIf operator where the
13445 translated Else...If parse tree was improperly constructed leading to the
13448 ----------------------------------------
13449 22 September 2004. Summary of changes for version 20040922:
13451 1) ACPI CA Core Subsystem:
13453 Fixed a problem with the implementation of the LNot() operator where
13455 was not returned for the TRUE case. Changed the code to return Ones
13457 of (!Arg) which was usually 1. This change affects iASL constant folding
13459 this operator also.
13461 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was
13463 initialized properly -- Now zero the entire buffer in this case where the
13464 buffer already exists.
13466 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
13467 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
13468 related code considerably. This will require changes/updates to all OS
13469 interface layers (OSLs.)
13471 Implemented a new external interface, AcpiInstallExceptionHandler, to
13473 a system exception handler to be installed. This handler is invoked upon
13475 run-time exception that occurs during control method execution.
13477 Added support for the DSDT in AcpiTbFindTable. This allows the
13478 DataTableRegion() operator to access the local copy of the DSDT.
13480 Code and Data Size: Current and previous core subsystem library sizes are
13481 shown below. These are the code and data sizes for the acpica.lib
13483 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13484 any ACPI driver or OSPM code. The debug version of the code includes the
13485 debug output trace mechanism and has a much larger code and data size.
13487 that these values will vary depending on the efficiency of the compiler
13489 the compiler options used during generation.
13492 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
13493 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
13495 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
13496 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
13499 2) iASL Compiler/Disassembler:
13501 Fixed a problem with constant folding and the LNot operator. LNot was
13502 returning 1 in the TRUE case, not Ones as per the ACPI specification.
13504 could result in the generation of an incorrect folded/reduced constant.
13506 End-Of-File is now allowed within a "//"-style comment. A parse error no
13507 longer occurs if such a comment is at the very end of the input ASL
13511 Implemented the "-r" option to override the Revision in the table header.
13512 The initial use of this option will be to simplify the evaluation of the
13514 interpreter by allowing a single ASL source module to be compiled for
13516 32-bit or 64-bit integers.
13519 ----------------------------------------
13520 27 August 2004. Summary of changes for version 20040827:
13522 1) ACPI CA Core Subsystem:
13524 - Implemented support for implicit object conversion in the non-numeric
13525 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual,
13527 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
13528 the second operand is implicitly converted on the fly to match the type
13530 the first operand. For example:
13532 LEqual (Source1, Source2)
13534 Source1 and Source2 must each evaluate to an integer, a string, or a
13536 The data type of Source1 dictates the required type of Source2. Source2
13538 implicitly converted if necessary to match the type of Source1.
13540 - Updated and corrected the behavior of the string conversion support.
13542 rules concerning conversion of buffers to strings (according to the ACPI
13543 specification) are as follows:
13545 ToDecimalString - explicit byte-wise conversion of buffer to string of
13546 decimal values (0-255) separated by commas. ToHexString - explicit byte-
13548 conversion of buffer to string of hex values (0-FF) separated by commas.
13549 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
13551 copy with no transform except NULL terminated. Any other implicit buffer-
13553 string conversion - byte-wise conversion of buffer to string of hex
13555 (0-FF) separated by spaces.
13557 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
13559 - Fixed a problem in AcpiNsGetPathnameLength where the returned length
13561 one byte too short in the case of a node in the root scope. This could
13562 cause a fault during debug output.
13564 - Code and Data Size: Current and previous core subsystem library sizes
13566 shown below. These are the code and data sizes for the acpica.lib
13568 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13569 any ACPI driver or OSPM code. The debug version of the code includes the
13570 debug output trace mechanism and has a much larger code and data size.
13572 that these values will vary depending on the efficiency of the compiler
13574 the compiler options used during generation.
13577 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
13578 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
13580 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
13581 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
13584 2) iASL Compiler/Disassembler:
13586 - Fixed a Linux generation error.
13589 ----------------------------------------
13590 16 August 2004. Summary of changes for version 20040816:
13592 1) ACPI CA Core Subsystem:
13594 Designed and implemented support within the AML interpreter for the so-
13595 called "implicit return". This support returns the result of the last
13597 operation within a control method, in the absence of an explicit Return()
13598 operator. A few machines depend on this behavior, even though it is not
13599 explicitly supported by the ASL language. It is optional support that
13601 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
13603 Removed support for the PCI_Config address space from the internal low
13605 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
13606 support was not used internally, and would not work correctly anyway
13608 the PCI bus number and segment number were not supported. There are
13609 separate interfaces for PCI configuration space access because of the
13613 Code and Data Size: Current and previous core subsystem library sizes are
13614 shown below. These are the code and data sizes for the acpica.lib
13616 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13617 any ACPI driver or OSPM code. The debug version of the code includes the
13618 debug output trace mechanism and has a much larger code and data size.
13620 that these values will vary depending on the efficiency of the compiler
13622 the compiler options used during generation.
13625 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13626 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
13628 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
13629 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
13632 2) iASL Compiler/Disassembler:
13634 Fixed a problem where constants in ASL expressions at the root level (not
13635 within a control method) could be inadvertently truncated during code
13636 generation. This problem was introduced in the 20040715 release.
13639 ----------------------------------------
13640 15 July 2004. Summary of changes for version 20040715:
13642 1) ACPI CA Core Subsystem:
13644 Restructured the internal HW GPE interfaces to pass/track the current
13646 of interrupts (enabled/disabled) in order to avoid possible deadlock and
13647 increase flexibility of the interfaces.
13649 Implemented a "lexicographical compare" for String and Buffer objects
13651 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual -
13653 as per further clarification to the ACPI specification. Behavior is
13655 to C library "strcmp".
13657 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
13658 external function. In the 32-bit non-debug case, the stack use has been
13659 reduced from 168 bytes to 32 bytes.
13661 Deployed a new run-time configuration flag,
13662 AcpiGbl_EnableInterpreterSlack,
13663 whose purpose is to allow the AML interpreter to forgive certain bad AML
13664 constructs. Default setting is FALSE.
13666 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
13668 support code. If enabled, it allows field access to go beyond the end of
13670 region definition if the field is within the region length rounded up to
13672 next access width boundary (a common coding error.)
13674 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
13675 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
13677 symbols are lowercase by the latest version of the AcpiSrc tool.
13679 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
13680 rename "Register" to simply "Reg" to prevent certain compilers from
13683 Code and Data Size: Current and previous core subsystem library sizes are
13684 shown below. These are the code and data sizes for the acpica.lib
13686 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13687 any ACPI driver or OSPM code. The debug version of the code includes the
13688 debug output trace mechanism and has a much larger code and data size.
13690 that these values will vary depending on the efficiency of the compiler
13692 the compiler options used during generation.
13695 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
13696 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
13698 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
13699 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
13702 2) iASL Compiler/Disassembler:
13704 Implemented full support for Package objects within the Case() operator.
13705 Note: The Break() operator is currently not supported within Case blocks
13706 (TermLists) as there is some question about backward compatibility with
13711 Fixed a problem where complex terms were not supported properly within
13715 Eliminated extraneous warning for compiler-emitted reserved names of the
13716 form "_T_x". (Used in Switch/Case operators.)
13718 Eliminated optimization messages for "_T_x" objects and small constants
13719 within the DefinitionBlock operator.
13722 ----------------------------------------
13723 15 June 2004. Summary of changes for version 20040615:
13725 1) ACPI CA Core Subsystem:
13727 Implemented support for Buffer and String objects (as per ACPI 2.0) for
13729 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
13732 All directory names in the entire source package are lower case, as they
13733 were in earlier releases.
13735 Implemented "Disassemble" command in the AML debugger that will
13737 a single control method.
13739 Code and Data Size: Current and previous core subsystem library sizes are
13740 shown below. These are the code and data sizes for the acpica.lib
13742 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13743 any ACPI driver or OSPM code. The debug version of the code includes the
13744 debug output trace mechanism and has a much larger code and data size.
13746 that these values will vary depending on the efficiency of the compiler
13748 the compiler options used during generation.
13751 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
13752 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
13755 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
13756 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
13759 2) iASL Compiler/Disassembler:
13761 Implemented support for Buffer and String objects (as per ACPI 2.0) for
13763 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
13766 All directory names in the entire source package are lower case, as they
13767 were in earlier releases.
13769 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
13772 Fixed an issue with the Windows version of the compiler where later
13774 of Windows place the FADT in the registry under the name "FADT" and not
13775 "FACP" as earlier versions did. This applies when using the -g or -
13776 d<nofilename> options. The compiler now looks for both strings as
13779 Fixed a problem with compiler namepath optimization where a namepath
13781 the Scope() operator could not be optimized if the namepath was a subpath
13783 the current scope path.
13785 ----------------------------------------
13786 27 May 2004. Summary of changes for version 20040527:
13788 1) ACPI CA Core Subsystem:
13790 Completed a new design and implementation for EBDA (Extended BIOS Data
13792 support in the RSDP scan code. The original code improperly scanned for
13794 EBDA by simply scanning from memory location 0 to 0x400. The correct
13796 is to first obtain the EBDA pointer from within the BIOS data area, then
13797 scan 1K of memory starting at the EBDA pointer. There appear to be few
13799 any machines that place the RSDP in the EBDA, however.
13801 Integrated a fix for a possible fault during evaluation of BufferField
13802 arguments. Obsolete code that was causing the problem was removed.
13804 Found and fixed a problem in the Field Support Code where data could be
13805 corrupted on a bit field read that starts on an aligned boundary but does
13806 not end on an aligned boundary. Merged the read/write "datum length"
13807 calculation code into a common procedure.
13809 Rolled in a couple of changes to the FreeBSD-specific header.
13812 Code and Data Size: Current and previous core subsystem library sizes are
13813 shown below. These are the code and data sizes for the acpica.lib
13815 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13816 any ACPI driver or OSPM code. The debug version of the code includes the
13817 debug output trace mechanism and has a much larger code and data size.
13819 that these values will vary depending on the efficiency of the compiler
13821 the compiler options used during generation.
13824 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
13825 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
13827 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
13828 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
13831 2) iASL Compiler/Disassembler:
13833 Fixed a generation warning produced by some overly-verbose compilers for
13837 ----------------------------------------
13838 14 May 2004. Summary of changes for version 20040514:
13840 1) ACPI CA Core Subsystem:
13842 Fixed a problem where hardware GPE enable bits sometimes not set properly
13843 during and after GPE method execution. Result of 04/27 changes.
13845 Removed extra "clear all GPEs" when sleeping/waking.
13847 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
13848 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
13850 the new AcpiEv* calls as appropriate.
13852 ACPI_OS_NAME was removed from the OS-specific headers. The default name
13854 now "Microsoft Windows NT" for maximum compatibility. However this can
13856 changed by modifying the acconfig.h file.
13858 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
13859 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
13861 Run _INI methods on ThermalZone objects. This is against the ACPI
13862 specification, but there is apparently ASL code in the field that has
13864 _INI methods, and apparently "other" AML interpreters execute them.
13866 Performed a full 16/32/64 bit lint that resulted in some small changes.
13868 Added a sleep simulation command to the AML debugger to test sleep code.
13870 Code and Data Size: Current and previous core subsystem library sizes are
13871 shown below. These are the code and data sizes for the acpica.lib
13873 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
13874 any ACPI driver or OSPM code. The debug version of the code includes the
13875 debug output trace mechanism and has a much larger code and data size.
13877 that these values will vary depending on the efficiency of the compiler
13879 the compiler options used during generation.
13882 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
13883 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
13885 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
13886 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
13888 ----------------------------------------
13889 27 April 2004. Summary of changes for version 20040427:
13891 1) ACPI CA Core Subsystem:
13893 Completed a major overhaul of the GPE handling within ACPI CA. There are
13894 now three types of GPEs: wake-only, runtime-only, and combination
13896 The only GPEs allowed to be combination wake/run are for button-style
13897 devices such as a control-method power button, control-method sleep
13899 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
13901 referenced by any _PRW methods are marked for "runtime" and hardware
13902 enabled. Any GPE that is referenced by a _PRW method is marked for
13904 (and disabled at runtime). However, at sleep time, only those GPEs that
13905 have been specifically enabled for wake via the AcpiEnableGpe interface
13907 actually be hardware enabled.
13909 A new external interface has been added, AcpiSetGpeType(), that is meant
13911 be used by device drivers to force a GPE to a particular type. It will
13913 especially useful for the drivers for the button devices mentioned above.
13915 Completed restructuring of the ACPI CA initialization sequence so that
13916 default operation region handlers are installed before GPEs are
13918 and the _PRW methods are executed. This will prevent errors when the
13920 methods attempt to access system memory or I/O space.
13922 GPE enable/disable no longer reads the GPE enable register. We now keep
13924 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
13925 thus no longer depend on the hardware to maintain these bits.
13927 Always clear the wake status and fixed/GPE status bits before sleep, even
13930 Improved the AML debugger output for displaying the GPE blocks and their
13933 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
13937 Fixed a problem where the physical address was incorrectly calculated
13939 the Load() operator was used to directly load from an Operation Region
13941 loading from a Field object.) Also added check for minimum table length
13945 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
13948 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
13949 consistency with the other fields returned.
13951 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
13952 structure for each GPE in the system, so the size of this structure is
13955 CPU stack requirement reduction: Cleaned up the method execution and
13957 evaluation paths so that now a parameter structure is passed, instead of
13958 copying the various method parameters over and over again.
13960 In evregion.c: Correctly exit and reenter the interpreter region if and
13961 only if dispatching an operation region request to a user-installed
13963 Do not exit/reenter when dispatching to a default handler (e.g., default
13964 system memory or I/O handlers)
13967 Notes for updating drivers for the new GPE support. The following
13969 must be made to ACPI-related device drivers that are attached to one or
13971 GPEs: (This information will be added to the ACPI CA Programmer
13974 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you
13976 explicitly call AcpiEnableGpe.
13977 2) There is a new interface called AcpiSetGpeType. This should be called
13978 before enabling the GPE. Also, this interface will automatically disable
13979 the GPE if it is currently enabled.
13980 3) AcpiEnableGpe no longer supports a GPE type flag.
13982 Specific drivers that must be changed:
13984 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
13985 AeGpeHandler, NULL);
13986 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
13987 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
13989 2) Button Drivers (Power, Lid, Sleep):
13990 Run _PRW method under parent device
13991 If _PRW exists: /* This is a control-method button */
13992 Extract GPE number and possibly GpeDevice
13993 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
13994 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
13996 For all other devices that have _PRWs, we automatically set the GPE type
13998 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled.
14000 must be done on a selective basis, usually requiring some kind of user
14002 to allow the user to pick the wake devices.
14005 Code and Data Size: Current and previous core subsystem library sizes are
14006 shown below. These are the code and data sizes for the acpica.lib
14008 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14009 any ACPI driver or OSPM code. The debug version of the code includes the
14010 debug output trace mechanism and has a much larger code and data size.
14012 that these values will vary depending on the efficiency of the compiler
14014 the compiler options used during generation.
14017 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
14018 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
14021 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
14022 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
14026 ----------------------------------------
14027 02 April 2004. Summary of changes for version 20040402:
14029 1) ACPI CA Core Subsystem:
14031 Fixed an interpreter problem where an indirect store through an ArgX
14032 parameter was incorrectly applying the "implicit conversion rules" during
14033 the store. From the ACPI specification: "If the target is a method local
14035 argument (LocalX or ArgX), no conversion is performed and the result is
14036 stored directly to the target". The new behavior is to disable implicit
14037 conversion during ALL stores to an ArgX.
14039 Changed the behavior of the _PRW method scan to ignore any and all errors
14040 returned by a given _PRW. This prevents the scan from aborting from the
14041 failure of any single _PRW.
14043 Moved the runtime configuration parameters from the global init procedure
14045 static variables in acglobal.h. This will allow the host to override the
14046 default values easily.
14048 Code and Data Size: Current and previous core subsystem library sizes are
14049 shown below. These are the code and data sizes for the acpica.lib
14051 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14052 any ACPI driver or OSPM code. The debug version of the code includes the
14053 debug output trace mechanism and has a much larger code and data size.
14055 that these values will vary depending on the efficiency of the compiler
14057 the compiler options used during generation.
14060 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
14061 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
14063 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
14064 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
14067 2) iASL Compiler/Disassembler:
14069 iASL now fully disassembles SSDTs. However, External() statements are
14071 generated automatically for unresolved symbols at this time. This is a
14072 planned feature for future implementation.
14074 Fixed a scoping problem in the disassembler that occurs when the type of
14076 target of a Scope() operator is overridden. This problem caused an
14077 incorrectly nested internal namespace to be constructed.
14079 Any warnings or errors that are emitted during disassembly are now
14081 out automatically so that the resulting file can be recompiled without
14085 ----------------------------------------
14086 26 March 2004. Summary of changes for version 20040326:
14088 1) ACPI CA Core Subsystem:
14090 Implemented support for "wake" GPEs via interaction between GPEs and the
14091 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
14092 identified as a WAKE GPE and by default will no longer be enabled at
14093 runtime. Previously, we were blindly enabling all GPEs with a
14095 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
14097 believe this has been the cause of thousands of "spurious" GPEs on some
14100 This new GPE behavior is can be reverted to the original behavior (enable
14101 ALL GPEs at runtime) via a runtime flag.
14103 Fixed a problem where aliased control methods could not access objects
14104 properly. The proper scope within the namespace was not initialized
14105 (transferred to the target of the aliased method) before executing the
14108 Fixed a potential race condition on internal object deletion on the
14110 object in AcpiEvaluateObject.
14112 Integrated a fix for resource descriptors where both _MEM and _MTP were
14113 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
14114 wide, 0x0F instead of 0x03.)
14116 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName,
14119 fault in some cases.
14121 Updated Notify() values for debug statements in evmisc.c
14123 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
14125 Code and Data Size: Current and previous core subsystem library sizes are
14126 shown below. These are the code and data sizes for the acpica.lib
14128 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14129 any ACPI driver or OSPM code. The debug version of the code includes the
14130 debug output trace mechanism and has a much larger code and data size.
14132 that these values will vary depending on the efficiency of the compiler
14134 the compiler options used during generation.
14138 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
14139 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
14141 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
14142 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
14144 ----------------------------------------
14145 11 March 2004. Summary of changes for version 20040311:
14147 1) ACPI CA Core Subsystem:
14149 Fixed a problem where errors occurring during the parse phase of control
14150 method execution did not abort cleanly. For example, objects created and
14151 installed in the namespace were not deleted. This caused all subsequent
14152 invocations of the method to return the AE_ALREADY_EXISTS exception.
14154 Implemented a mechanism to force a control method to "Serialized"
14156 if the method attempts to create namespace objects. (The root of the
14157 AE_ALREADY_EXISTS problem.)
14159 Implemented support for the predefined _OSI "internal" control method.
14160 Initial supported strings are "Linux", "Windows 2000", "Windows 2001",
14162 "Windows 2001.1", and can be easily upgraded for new strings as
14164 This feature will allow "other" operating systems to execute the fully
14165 tested, "Windows" code path through the ASL code
14167 Global Lock Support: Now allows multiple acquires and releases with any
14168 internal thread. Removed concept of "owning thread" for this special
14171 Fixed two functions that were inappropriately declaring large objects on
14173 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
14175 method execution considerably.
14177 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
14178 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
14180 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
14181 defined on the machine.
14183 Implemented two runtime options: One to force all control method
14185 to "Serialized" to mimic Windows behavior, another to disable _OSI
14187 if it causes problems on a given machine.
14189 Code and Data Size: Current and previous core subsystem library sizes are
14190 shown below. These are the code and data sizes for the acpica.lib
14192 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
14193 any ACPI driver or OSPM code. The debug version of the code includes the
14194 debug output trace mechanism and has a much larger code and data size.
14196 that these values will vary depending on the efficiency of the compiler
14198 the compiler options used during generation.
14201 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
14202 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
14204 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
14205 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
14207 2) iASL Compiler/Disassembler:
14209 Fixed an array size problem for FreeBSD that would cause the compiler to
14212 ----------------------------------------
14213 20 February 2004. Summary of changes for version 20040220:
14216 1) ACPI CA Core Subsystem:
14218 Implemented execution of _SxD methods for Device objects in the
14219 GetObjectInfo interface.
14221 Fixed calls to _SST method to pass the correct arguments.
14223 Added a call to _SST on wake to restore to "working" state.
14225 Check for End-Of-Buffer failure case in the WalkResources interface.
14227 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
14228 structures to the beginning of the file.
14230 After wake, clear GPE status register(s) before enabling GPEs.
14232 After wake, clear/enable power button. (Perhaps we should clear/enable
14234 fixed events upon wake.)
14236 Fixed a couple of possible memory leaks in the Namespace manager.
14238 Integrated latest acnetbsd.h file.
14240 ----------------------------------------
14241 11 February 2004. Summary of changes for version 20040211:
14244 1) ACPI CA Core Subsystem:
14246 Completed investigation and implementation of the call-by-reference
14247 mechanism for control method arguments.
14249 Fixed a problem where a store of an object into an indexed package could
14250 fail if the store occurs within a different method than the method that
14251 created the package.
14253 Fixed a problem where the ToDecimal operator could return incorrect
14256 Fixed a problem where the CopyObject operator could fail on some of the
14258 obscure objects (e.g., Reference objects.)
14260 Improved the output of the Debug object to display buffer, package, and
14263 Fixed a problem where constructs of the form "RefOf (ArgX)" did not
14265 the expected result.
14267 Added permanent ACPI_REPORT_ERROR macros for all instances of the
14268 ACPI_AML_INTERNAL exception.
14270 Integrated latest version of acfreebsd.h
14272 ----------------------------------------
14273 16 January 2004. Summary of changes for version 20040116:
14275 The purpose of this release is primarily to update the copyright years in
14276 each module, thus causing a huge number of diffs. There are a few small
14277 functional changes, however.
14279 1) ACPI CA Core Subsystem:
14281 Improved error messages when there is a problem finding one or more of
14283 required base ACPI tables
14285 Reintroduced the definition of APIC_HEADER in actbl.h
14287 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
14289 Removed extraneous reference to NewObj in dsmthdat.c
14293 Fixed a problem introduced in December that disabled the correct
14295 of Resource Templates
14298 ----------------------------------------
14299 03 December 2003. Summary of changes for version 20031203:
14301 1) ACPI CA Core Subsystem:
14303 Changed the initialization of Operation Regions during subsystem
14304 init to perform two entire walks of the ACPI namespace; The first
14305 to initialize the regions themselves, the second to execute the
14306 _REG methods. This fixed some interdependencies across _REG
14307 methods found on some machines.
14309 Fixed a problem where a Store(Local0, Local1) could simply update
14310 the object reference count, and not create a new copy of the
14311 object if the Local1 is uninitialized.
14313 Implemented support for the _SST reserved method during sleep
14316 Implemented support to clear the SLP_TYP and SLP_EN bits when
14317 waking up, this is apparently required by some machines.
14319 When sleeping, clear the wake status only if SleepState is not S5.
14321 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
14322 pointer arithmetic advanced a string pointer too far.
14324 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
14325 could be returned if the requested table has not been loaded.
14327 Within the support for IRQ resources, restructured the handling of
14328 the active and edge/level bits.
14330 Fixed a few problems in AcpiPsxExecute() where memory could be
14331 leaked under certain error conditions.
14333 Improved error messages for the cases where the ACPI mode could
14336 Code and Data Size: Current and previous core subsystem library
14337 sizes are shown below. These are the code and data sizes for the
14338 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14339 these values do not include any ACPI driver or OSPM code. The
14340 debug version of the code includes the debug output trace
14341 mechanism and has a much larger code and data size. Note that
14342 these values will vary depending on the efficiency of the compiler
14343 and the compiler options used during generation.
14345 Previous Release (20031029):
14346 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
14347 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
14349 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
14350 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
14352 2) iASL Compiler/Disassembler:
14354 Implemented a fix for the iASL disassembler where a bad index was
14355 generated. This was most noticeable on 64-bit platforms
14358 ----------------------------------------
14359 29 October 2003. Summary of changes for version 20031029:
14361 1) ACPI CA Core Subsystem:
14364 Fixed a problem where a level-triggered GPE with an associated
14365 _Lxx control method was incorrectly cleared twice.
14367 Fixed a problem with the Field support code where an access can
14368 occur beyond the end-of-region if the field is non-aligned but
14369 extends to the very end of the parent region (resulted in an
14370 AE_AML_REGION_LIMIT exception.)
14372 Fixed a problem with ACPI Fixed Events where an RT Clock handler
14373 would not get invoked on an RTC event. The RTC event bitmasks for
14374 the PM1 registers were not being initialized properly.
14376 Implemented support for executing _STA and _INI methods for
14377 Processor objects. Although this is currently not part of the
14378 ACPI specification, there is existing ASL code that depends on the
14379 init-time execution of these methods.
14381 Implemented and deployed a GetDescriptorName function to decode
14382 the various types of internal descriptors. Guards against null
14383 descriptors during debug output also.
14385 Implemented and deployed a GetNodeName function to extract the 4-
14386 character namespace node name. This function simplifies the debug
14387 and error output, as well as guarding against null pointers during
14390 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
14391 simplify the debug and error output of 64-bit integers. This
14392 macro replaces the HIDWORD and LODWORD macros for dumping these
14395 Updated the implementation of the Stall() operator to only call
14396 AcpiOsStall(), and also return an error if the operand is larger
14397 than 255. This preserves the required behavior of not
14398 relinquishing the processor, as would happen if AcpiOsSleep() was
14399 called for "long stalls".
14401 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
14402 initialized are now treated as NOOPs.
14404 Cleaned up a handful of warnings during 64-bit generation.
14406 Fixed a reported error where and incorrect GPE number was passed
14407 to the GPE dispatch handler. This value is only used for error
14408 output, however. Used this opportunity to clean up and streamline
14409 the GPE dispatch code.
14411 Code and Data Size: Current and previous core subsystem library
14412 sizes are shown below. These are the code and data sizes for the
14413 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14414 these values do not include any ACPI driver or OSPM code. The
14416 debug version of the code includes the debug output trace
14417 mechanism and has a much larger code and data size. Note that
14418 these values will vary depending on the efficiency of the compiler
14419 and the compiler options used during generation.
14421 Previous Release (20031002):
14422 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
14423 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
14425 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
14426 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
14429 2) iASL Compiler/Disassembler:
14431 Updated the iASL compiler to return an error if the operand to the
14432 Stall() operator is larger than 255.
14435 ----------------------------------------
14436 02 October 2003. Summary of changes for version 20031002:
14439 1) ACPI CA Core Subsystem:
14441 Fixed a problem with Index Fields where the index was not
14442 incremented for fields that require multiple writes to the
14443 index/data registers (Fields that are wider than the data
14446 Fixed a problem with all Field objects where a write could go
14447 beyond the end-of-field if the field was larger than the access
14448 granularity and therefore required multiple writes to complete the
14449 request. An extra write beyond the end of the field could happen
14452 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
14453 would incorrectly be returned if the width of the Data Register
14454 was larger than the specified field access width.
14456 Completed fixes for LoadTable() and Unload() and verified their
14457 operation. Implemented full support for the "DdbHandle" object
14458 throughout the ACPI CA subsystem.
14460 Implemented full support for the MADT and ECDT tables in the ACPI
14461 CA header files. Even though these tables are not directly
14462 consumed by ACPI CA, the header definitions are useful for ACPI
14465 Integrated resource descriptor fixes posted to the Linux ACPI
14466 list. This included checks for minimum descriptor length, and
14467 support for trailing NULL strings within descriptors that have
14468 optional string elements.
14470 Code and Data Size: Current and previous core subsystem library
14471 sizes are shown below. These are the code and data sizes for the
14472 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14473 these values do not include any ACPI driver or OSPM code. The
14474 debug version of the code includes the debug output trace
14475 mechanism and has a much larger code and data size. Note that
14476 these values will vary depending on the efficiency of the compiler
14477 and the compiler options used during generation.
14479 Previous Release (20030918):
14480 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
14481 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
14483 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
14484 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
14489 Implemented detection of non-ASCII characters within the input
14490 source ASL file. This catches attempts to compile binary (AML)
14491 files early in the compile, with an informative error message.
14493 Fixed a problem where the disassembler would fault if the output
14494 filename could not be generated or if the output file could not be
14497 ----------------------------------------
14498 18 September 2003. Summary of changes for version 20030918:
14501 1) ACPI CA Core Subsystem:
14503 Found and fixed a longstanding problem with the late execution of
14504 the various deferred AML opcodes (such as Operation Regions,
14505 Buffer Fields, Buffers, and Packages). If the name string
14506 specified for the name of the new object placed the object in a
14507 scope other than the current scope, the initialization/execution
14508 of the opcode failed. The solution to this problem was to
14509 implement a mechanism where the late execution of such opcodes
14510 does not attempt to lookup/create the name a second time in an
14511 incorrect scope. This fixes the "region size computed
14512 incorrectly" problem.
14514 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
14515 Global Lock AE_BAD_PARAMETER error.
14517 Fixed several 64-bit issues with prototypes, casting and data
14520 Removed duplicate prototype from acdisasm.h
14522 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
14524 Code and Data Size: Current and previous core subsystem library
14525 sizes are shown below. These are the code and data sizes for the
14526 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14527 these values do not include any ACPI driver or OSPM code. The
14528 debug version of the code includes the debug output trace
14529 mechanism and has a much larger code and data size. Note that
14530 these values will vary depending on the efficiency of the compiler
14531 and the compiler options used during generation.
14535 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
14536 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
14538 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
14539 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
14544 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
14545 correct sleep time in seconds.
14547 ----------------------------------------
14548 14 July 2003. Summary of changes for version 20030619:
14550 1) ACPI CA Core Subsystem:
14552 Parse SSDTs in order discovered, as opposed to reverse order
14555 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
14562 Dynamically allocate SDT list (suggested by Andi Kleen)
14564 proc function return value cleanups (Andi Kleen)
14566 Correctly handle NMI watchdog during long stalls (Andrew Morton)
14568 Make it so acpismp=force works (reported by Andrew Morton)
14571 ----------------------------------------
14572 19 June 2003. Summary of changes for version 20030619:
14574 1) ACPI CA Core Subsystem:
14576 Fix To/FromBCD, eliminating the need for an arch-specific #define.
14578 Do not acquire a semaphore in the S5 shutdown path.
14580 Fix ex_digits_needed for 0. (Takayoshi Kochi)
14582 Fix sleep/stall code reversal. (Andi Kleen)
14584 Revert a change having to do with control method calling
14589 acpiphp update (Takayoshi Kochi)
14591 Export acpi_disabled for sonypi (Stelian Pop)
14593 Mention acpismp=force in config help
14595 Re-add acpitable.c and acpismp=force. This improves backwards
14597 compatibility and also cleans up the code to a significant degree.
14599 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
14601 ----------------------------------------
14602 22 May 2003. Summary of changes for version 20030522:
14604 1) ACPI CA Core Subsystem:
14606 Found and fixed a reported problem where an AE_NOT_FOUND error
14607 occurred occasionally during _BST evaluation. This turned out to
14608 be an Owner ID allocation issue where a called method did not get
14609 a new ID assigned to it. Eventually, (after 64k calls), the Owner
14610 ID UINT16 would wraparound so that the ID would be the same as the
14611 caller's and the called method would delete the caller's
14614 Implemented extended error reporting for control methods that are
14615 aborted due to a run-time exception. Output includes the exact
14616 AML instruction that caused the method abort, a dump of the method
14617 locals and arguments at the time of the abort, and a trace of all
14618 nested control method calls.
14620 Modified the interpreter to allow the creation of buffers of zero
14621 length from the AML code. Implemented new code to ensure that no
14622 attempt is made to actually allocate a memory buffer (of length
14623 zero) - instead, a simple buffer object with a NULL buffer pointer
14624 and length zero is created. A warning is no longer issued when
14625 the AML attempts to create a zero-length buffer.
14627 Implemented a workaround for the "leading asterisk issue" in
14628 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
14629 asterisk is automatically removed if present in any HID, UID, or
14630 CID strings. The iASL compiler will still flag this asterisk as
14633 Implemented full support for _CID methods that return a package of
14634 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
14635 now additionally returns a device _CID list if present. This
14636 required a change to the external interface in order to pass an
14637 ACPI_BUFFER object as a parameter since the _CID list is of
14640 Fixed a problem with the new AE_SAME_HANDLER exception where
14641 handler initialization code did not know about this exception.
14643 Code and Data Size: Current and previous core subsystem library
14644 sizes are shown below. These are the code and data sizes for the
14645 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
14646 these values do not include any ACPI driver or OSPM code. The
14647 debug version of the code includes the debug output trace
14648 mechanism and has a much larger code and data size. Note that
14649 these values will vary depending on the efficiency of the compiler
14650 and the compiler options used during generation.
14652 Previous Release (20030509):
14653 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
14654 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
14656 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
14657 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
14662 Fixed a bug in which we would reinitialize the ACPI interrupt
14663 after it was already working, thus disabling all ACPI and the IRQs
14664 for any other device sharing the interrupt. (Thanks to Stian
14667 Toshiba driver update (John Belmonte)
14669 Return only 0 or 1 for our interrupt handler status (Andrew
14675 Fixed a reported problem where multiple (nested) ElseIf()
14676 statements were not handled correctly by the compiler, resulting
14677 in incorrect warnings and incorrect AML code. This was a problem
14678 in both the ASL parser and the code generator.
14683 Added changes to existing interfaces, new exception codes, and new
14684 text concerning reference count object management versus garbage
14687 ----------------------------------------
14688 09 May 2003. Summary of changes for version 20030509.
14691 1) ACPI CA Core Subsystem:
14693 Changed the subsystem initialization sequence to hold off
14694 installation of address space handlers until the hardware has been
14695 initialized and the system has entered ACPI mode. This is because
14696 the installation of space handlers can cause _REG methods to be
14697 run. Previously, the _REG methods could potentially be run before
14698 ACPI mode was enabled.
14700 Fixed some memory leak issues related to address space handler and
14701 notify handler installation. There were some problems with the
14702 reference count mechanism caused by the fact that the handler
14703 objects are shared across several namespace objects.
14705 Fixed a reported problem where reference counts within the
14706 namespace were not properly updated when named objects created by
14707 method execution were deleted.
14709 Fixed a reported problem where multiple SSDTs caused a deletion
14710 issue during subsystem termination. Restructured the table data
14711 structures to simplify the linked lists and the related code.
14713 Fixed a problem where the table ID associated with secondary
14714 tables (SSDTs) was not being propagated into the namespace objects
14715 created by those tables. This would only present a problem for
14716 tables that are unloaded at run-time, however.
14718 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
14719 type as the length parameter (instead of UINT32).
14721 Solved a long-standing problem where an ALREADY_EXISTS error
14722 appears on various systems. This problem could happen when there
14723 are multiple PCI_Config operation regions under a single PCI root
14724 bus. This doesn't happen very frequently, but there are some
14725 systems that do this in the ASL.
14727 Fixed a reported problem where the internal DeleteNode function
14728 was incorrectly handling the case where a namespace node was the
14729 first in the parent's child list, and had additional peers (not
14730 the only child, but first in the list of children.)
14732 Code and Data Size: Current core subsystem library sizes are shown
14733 below. These are the code and data sizes for the acpica.lib
14734 produced by the Microsoft Visual C++ 6.0 compiler, and these
14735 values do not include any ACPI driver or OSPM code. The debug
14736 version of the code includes the debug output trace mechanism and
14737 has a much larger code and data size. Note that these values will
14738 vary depending on the efficiency of the compiler and the compiler
14739 options used during generation.
14742 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
14743 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
14745 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
14746 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
14751 Allow ":" in OS override string (Ducrot Bruno)
14753 Kobject fix (Greg KH)
14756 3 iASL Compiler/Disassembler:
14758 Fixed a problem in the generation of the C source code files (AML
14759 is emitted in C source statements for BIOS inclusion) where the
14760 Ascii dump that appears within a C comment at the end of each line
14761 could cause a compile time error if the AML sequence happens to
14762 have an open comment or close comment sequence embedded.
14765 ----------------------------------------
14766 24 April 2003. Summary of changes for version 20030424.
14769 1) ACPI CA Core Subsystem:
14771 Support for big-endian systems has been implemented. Most of the
14772 support has been invisibly added behind big-endian versions of the
14773 ACPI_MOVE_* macros.
14775 Fixed a problem in AcpiHwDisableGpeBlock() and
14776 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
14777 low level hardware write routine. The offset parameter was
14778 actually eliminated from the low level read/write routines because
14779 they had become obsolete.
14781 Fixed a problem where a handler object was deleted twice during
14782 the removal of a fixed event handler.
14787 A fix for SMP systems with link devices was contributed by
14791 (2.5) Return whether we handled the interrupt in our IRQ handler.
14792 (Linux ISRs no longer return void, so we can propagate the handler
14793 return value from the ACPI CA core back to the OS.)
14799 The ACPI CA Programmer Reference has been updated to reflect new
14800 interfaces and changes to existing interfaces.
14802 ----------------------------------------
14803 28 March 2003. Summary of changes for version 20030328.
14805 1) ACPI CA Core Subsystem:
14807 The GPE Block Device support has been completed. New interfaces
14808 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
14809 interfaces (enable, disable, clear, getstatus) have been split
14810 into separate interfaces for Fixed Events and General Purpose
14811 Events (GPEs) in order to support GPE Block Devices properly.
14813 Fixed a problem where the error message "Failed to acquire
14814 semaphore" would appear during operations on the embedded
14817 Code and Data Size: Current core subsystem library sizes are shown
14818 below. These are the code and data sizes for the acpica.lib
14819 produced by the Microsoft Visual C++ 6.0 compiler, and these
14820 values do not include any ACPI driver or OSPM code. The debug
14821 version of the code includes the debug output trace mechanism and
14822 has a much larger code and data size. Note that these values will
14823 vary depending on the efficiency of the compiler and the compiler
14824 options used during generation.
14827 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
14828 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
14830 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
14831 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
14834 ----------------------------------------
14835 28 February 2003. Summary of changes for version 20030228.
14838 1) ACPI CA Core Subsystem:
14840 The GPE handling and dispatch code has been completely overhauled
14841 in preparation for support of GPE Block Devices (ID ACPI0006).
14842 This affects internal data structures and code only; there should
14843 be no differences visible externally. One new file has been
14846 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
14847 fields that are used to determine the GPE block lengths. The
14848 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
14849 structures are ignored. This is per the ACPI specification but it
14850 isn't very clear. The full 256 Block 0/1 GPEs are now supported
14851 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
14853 In the SCI interrupt handler, removed the read of the PM1_CONTROL
14854 register to look at the SCI_EN bit. On some machines, this read
14855 causes an SMI event and greatly slows down SCI events. (This may
14856 in fact be the cause of slow battery status response on some
14859 Fixed a problem where a store of a NULL string to a package object
14860 could cause the premature deletion of the object. This was seen
14861 during execution of the battery _BIF method on some systems,
14862 resulting in no battery data being returned.
14864 Added AcpiWalkResources interface to simplify parsing of resource
14867 Code and Data Size: Current core subsystem library sizes are shown
14868 below. These are the code and data sizes for the acpica.lib
14869 produced by the Microsoft Visual C++ 6.0 compiler, and these
14870 values do not include any ACPI driver or OSPM code. The debug
14871 version of the code includes the debug output trace mechanism and
14872 has a much larger code and data size. Note that these values will
14873 vary depending on the efficiency of the compiler and the compiler
14874 options used during generation.
14877 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
14878 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
14880 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
14881 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
14886 S3 fixes (Ole Rohne)
14888 Update ACPI PHP driver with to use new acpi_walk_resource API
14891 Add S4BIOS support (Pavel Machek)
14893 Map in entire table before performing checksum (John Stultz)
14895 Expand the mem= cmdline to allow the specification of reserved and
14896 ACPI DATA blocks (Pavel Machek)
14898 Never use ACPI on VISWS
14900 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
14902 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
14903 causing us to think that some systems support C2 when they really
14906 Do not count processor objects for non-present CPUs (Thanks to
14912 Fixed a problem where ASL include files could not be found and
14915 Added support for the _PDC reserved name.
14918 ----------------------------------------
14919 22 January 2003. Summary of changes for version 20030122.
14922 1) ACPI CA Core Subsystem:
14924 Added a check for constructs of the form: Store (Local0, Local0)
14925 where Local0 is not initialized. Apparently, some BIOS
14926 programmers believe that this is a NOOP. Since this store doesn't
14927 do anything anyway, the new prototype behavior will ignore this
14928 error. This is a case where we can relax the strict checking in
14929 the interpreter in the name of compatibility.
14934 The AcpiSrc Source Conversion Utility has been released with the
14935 Linux package for the first time. This is the utility that is
14936 used to convert the ACPI CA base source code to the Linux version.
14938 (Both) Handle P_BLK lengths shorter than 6 more gracefully
14940 (Both) Move more headers to include/acpi, and delete an unused
14943 (Both) Move drivers/acpi/include directory to include/acpi
14945 (Both) Boot functions don't use cmdline, so don't pass it around
14947 (Both) Remove include of unused header (Adrian Bunk)
14949 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
14951 former now also includes the latter, acpiphp.h only needs the one,
14954 (2.5) Make it possible to select method of bios restoring after S3
14955 resume. [=> no more ugly ifdefs] (Pavel Machek)
14957 (2.5) Make proc write interfaces work (Pavel Machek)
14959 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
14961 (2.5) Break out ACPI Perf code into its own module, under cpufreq
14962 (Dominik Brodowski)
14964 (2.4) S4BIOS support (Ducrot Bruno)
14966 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
14972 Added support to disassemble SSDT and PSDTs.
14974 Implemented support to obtain SSDTs from the Windows registry if
14978 ----------------------------------------
14979 09 January 2003. Summary of changes for version 20030109.
14981 1) ACPI CA Core Subsystem:
14983 Changed the behavior of the internal Buffer-to-String conversion
14984 function. The current ACPI specification states that the contents
14985 of the buffer are "converted to a string of two-character
14986 hexadecimal numbers, each separated by a space". Unfortunately,
14987 this definition is not backwards compatible with existing ACPI 1.0
14988 implementations (although the behavior was not defined in the ACPI
14989 1.0 specification). The new behavior simply copies data from the
14990 buffer to the string until a null character is found or the end of
14991 the buffer is reached. The new String object is always null
14992 terminated. This problem was seen during the generation of _BIF
14993 battery data where incorrect strings were returned for battery
14994 type, etc. This will also require an errata to the ACPI
14997 Renamed all instances of NATIVE_UINT and NATIVE_INT to
14998 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
15000 Copyright in all module headers (both Linux and non-Linux) has be
15003 Code and Data Size: Current core subsystem library sizes are shown
15004 below. These are the code and data sizes for the acpica.lib
15005 produced by the Microsoft Visual C++ 6.0 compiler, and these
15006 values do not include any ACPI driver or OSPM code. The debug
15007 version of the code includes the debug output trace mechanism and
15008 has a much larger code and data size. Note that these values will
15009 vary depending on the efficiency of the compiler and the compiler
15010 options used during generation.
15013 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15014 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15016 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15017 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15022 Fixed an oops on module insertion/removal (Matthew Tippett)
15024 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
15026 (2.5) Replace pr_debug (Randy Dunlap)
15028 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
15030 (Both) Eliminate spawning of thread from timer callback, in favor
15033 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
15035 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
15037 (Both) Add missing statics to button.c (Pavel Machek)
15039 Several changes have been made to the source code translation
15040 utility that generates the Linux Code in order to make the code
15043 All typedefs on structs and unions have been removed in keeping
15044 with the Linux coding style.
15046 Removed the non-Linux SourceSafe module revision number from each
15049 Completed major overhaul of symbols to be lowercase for linux.
15050 Doubled the number of symbols that are lowercase.
15052 Fixed a problem where identifiers within procedure headers and
15053 within quotes were not fully lower cased (they were left with a
15056 Some C macros whose only purpose is to allow the generation of 16-
15057 bit code are now completely removed in the Linux code, increasing
15058 readability and maintainability.
15060 ----------------------------------------
15062 12 December 2002. Summary of changes for version 20021212.
15065 1) ACPI CA Core Subsystem:
15067 Fixed a problem where the creation of a zero-length AML Buffer
15068 would cause a fault.
15070 Fixed a problem where a Buffer object that pointed to a static AML
15071 buffer (in an ACPI table) could inadvertently be deleted, causing
15074 Fixed a problem where a user buffer (passed in to the external
15075 ACPI CA interfaces) could be overwritten if the buffer was too
15076 small to complete the operation, causing memory corruption.
15078 Fixed a problem in the Buffer-to-String conversion code where a
15079 string of length one was always returned, regardless of the size
15080 of the input Buffer object.
15082 Removed the NATIVE_CHAR data type across the entire source due to
15083 lack of need and lack of consistent use.
15085 Code and Data Size: Current core subsystem library sizes are shown
15086 below. These are the code and data sizes for the acpica.lib
15087 produced by the Microsoft Visual C++ 6.0 compiler, and these
15088 values do not include any ACPI driver or OSPM code. The debug
15089 version of the code includes the debug output trace mechanism and
15090 has a much larger code and data size. Note that these values will
15091 vary depending on the efficiency of the compiler and the compiler
15092 options used during generation.
15095 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
15096 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
15098 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
15099 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
15102 ----------------------------------------
15103 05 December 2002. Summary of changes for version 20021205.
15105 1) ACPI CA Core Subsystem:
15107 Fixed a problem where a store to a String or Buffer object could
15108 cause corruption of the DSDT if the object type being stored was
15109 the same as the target object type and the length of the object
15110 being stored was equal to or smaller than the original (existing)
15111 target object. This was seen to cause corruption of battery _BIF
15112 buffers if the _BIF method modified the buffer on the fly.
15114 Fixed a problem where an internal error was generated if a control
15115 method invocation was used in an OperationRegion, Buffer, or
15116 Package declaration. This was caused by the deferred parsing of
15117 the control method and thus the deferred creation of the internal
15118 method object. The solution to this problem was to create the
15119 internal method object at the moment the method is encountered in
15120 the first pass - so that subsequent references to the method will
15121 able to obtain the required parameter count and thus properly
15122 parse the method invocation. This problem presented itself as an
15123 AE_AML_INTERNAL during the pass 1 parse phase during table load.
15125 Fixed a problem where the internal String object copy routine did
15126 not always allocate sufficient memory for the target String object
15127 and caused memory corruption. This problem was seen to cause
15128 "Allocation already present in list!" errors as memory allocation
15131 Implemented a new function for the evaluation of namespace objects
15132 that allows the specification of the allowable return object
15133 types. This simplifies a lot of code that checks for a return
15134 object of one or more specific objects returned from the
15135 evaluation (such as _STA, etc.) This may become and external
15136 function if it would be useful to ACPI-related drivers.
15138 Completed another round of prefixing #defines with "ACPI_" for
15141 Completed additional code restructuring to allow more modular
15142 linking for iASL compiler and AcpiExec. Several files were split
15143 creating new files. New files: nsparse.c dsinit.c evgpe.c
15145 Implemented an abort mechanism to terminate an executing control
15146 method via the AML debugger. This feature is useful for debugging
15147 control methods that depend (wait) for specific hardware
15150 Code and Data Size: Current core subsystem library sizes are shown
15151 below. These are the code and data sizes for the acpica.lib
15152 produced by the Microsoft Visual C++ 6.0 compiler, and these
15153 values do not include any ACPI driver or OSPM code. The debug
15154 version of the code includes the debug output trace mechanism and
15155 has a much larger code and data size. Note that these values will
15156 vary depending on the efficiency of the compiler and the compiler
15157 options used during generation.
15160 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15161 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
15163 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
15164 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
15167 2) iASL Compiler/Disassembler
15169 Fixed a compiler code generation problem for "Interrupt" Resource
15170 Descriptors. If specified in the ASL, the optional "Resource
15171 Source Index" and "Resource Source" fields were not inserted into
15172 the correct location within the AML resource descriptor, creating
15173 an invalid descriptor.
15175 Fixed a disassembler problem for "Interrupt" resource descriptors.
15176 The optional "Resource Source Index" and "Resource Source" fields
15180 ----------------------------------------
15181 22 November 2002. Summary of changes for version 20021122.
15184 1) ACPI CA Core Subsystem:
15186 Fixed a reported problem where an object stored to a Method Local
15187 or Arg was not copied to a new object during the store - the
15188 object pointer was simply copied to the Local/Arg. This caused
15189 all subsequent operations on the Local/Arg to also affect the
15190 original source of the store operation.
15192 Fixed a problem where a store operation to a Method Local or Arg
15193 was not completed properly if the Local/Arg contained a reference
15194 (from RefOf) to a named field. The general-purpose store-to-
15195 namespace-node code is now used so that this case is handled
15198 Fixed a problem where the internal object copy routine would cause
15199 a protection fault if the object being copied was a Package and
15200 contained either 1) a NULL package element or 2) a nested sub-
15203 Fixed a problem with the GPE initialization that resulted from an
15204 ambiguity in the ACPI specification. One section of the
15205 specification states that both the address and length of the GPE
15206 block must be zero if the block is not supported. Another section
15207 implies that only the address need be zero if the block is not
15208 supported. The code has been changed so that both the address and
15209 the length must be non-zero to indicate a valid GPE block (i.e.,
15210 if either the address or the length is zero, the GPE block is
15213 Code and Data Size: Current core subsystem library sizes are shown
15214 below. These are the code and data sizes for the acpica.lib
15215 produced by the Microsoft Visual C++ 6.0 compiler, and these
15216 values do not include any ACPI driver or OSPM code. The debug
15217 version of the code includes the debug output trace mechanism and
15218 has a much larger code and data size. Note that these values will
15219 vary depending on the efficiency of the compiler and the compiler
15220 options used during generation.
15223 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
15224 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
15226 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15227 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
15232 Cleaned up EC driver. Exported an external EC read/write
15233 interface. By going through this, other drivers (most notably
15234 sonypi) will be able to serialize access to the EC.
15237 3) iASL Compiler/Disassembler
15239 Implemented support to optionally generate include files for both
15240 ASM and C (the -i switch). This simplifies BIOS development by
15241 automatically creating include files that contain external
15242 declarations for the symbols that are created within the
15244 (optionally generated) ASM and C AML source files.
15247 ----------------------------------------
15248 15 November 2002. Summary of changes for version 20021115.
15250 1) ACPI CA Core Subsystem:
15252 Fixed a memory leak problem where an error during resolution of
15254 method arguments during a method invocation from another method
15255 failed to cleanup properly by deleting all successfully resolved
15258 Fixed a problem where the target of the Index() operator was not
15259 correctly constructed if the source object was a package. This
15260 problem has not been detected because the use of a target operand
15261 with Index() is very rare.
15263 Fixed a problem with the Index() operator where an attempt was
15264 made to delete the operand objects twice.
15266 Fixed a problem where an attempt was made to delete an operand
15267 twice during execution of the CondRefOf() operator if the target
15270 Implemented the first of perhaps several internal create object
15271 functions that create and initialize a specific object type. This
15272 consolidates duplicated code wherever the object is created, thus
15273 shrinking the size of the subsystem.
15275 Implemented improved debug/error messages for errors that occur
15276 during nested method invocations. All executing method pathnames
15277 are displayed (with the error) as the call stack is unwound - thus
15280 Fixed a problem introduced in the 10/02 release that caused
15281 premature deletion of a buffer object if a buffer was used as an
15282 ASL operand where an integer operand is required (Thus causing an
15283 implicit object conversion from Buffer to Integer.) The change in
15284 the 10/02 release was attempting to fix a memory leak (albeit
15287 Code and Data Size: Current core subsystem library sizes are shown
15288 below. These are the code and data sizes for the acpica.lib
15289 produced by the Microsoft Visual C++ 6.0 compiler, and these
15290 values do not include any ACPI driver or OSPM code. The debug
15291 version of the code includes the debug output trace mechanism and
15292 has a much larger code and data size. Note that these values will
15293 vary depending on the efficiency of the compiler and the compiler
15294 options used during generation.
15297 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
15298 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
15300 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
15301 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
15306 Changed the implementation of the ACPI semaphores to use down()
15307 instead of down_interruptable(). It is important that the
15308 execution of ACPI control methods not be interrupted by signals.
15309 Methods must run to completion, or the system may be left in an
15310 unknown/unstable state.
15312 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
15316 3) iASL Compiler/Disassembler
15319 Changed the default location of output files. All output files
15320 are now placed in the current directory by default instead of in
15321 the directory of the source file. This change may affect some
15322 existing makefiles, but it brings the behavior of the compiler in
15323 line with other similar tools. The location of the output files
15324 can be overridden with the -p command line switch.
15327 ----------------------------------------
15328 11 November 2002. Summary of changes for version 20021111.
15331 0) ACPI Specification 2.0B is released and is now available at:
15332 http://www.acpi.info/index.html
15335 1) ACPI CA Core Subsystem:
15337 Implemented support for the ACPI 2.0 SMBus Operation Regions.
15338 This includes the early detection and handoff of the request to
15339 the SMBus region handler (avoiding all of the complex field
15340 support code), and support for the bidirectional return packet
15341 from an SMBus write operation. This paves the way for the
15342 development of SMBus drivers in each host operating system.
15344 Fixed a problem where the semaphore WAIT_FOREVER constant was
15345 defined as 32 bits, but must be 16 bits according to the ACPI
15346 specification. This had the side effect of causing ASL
15347 Mutex/Event timeouts even though the ASL code requested a wait
15348 forever. Changed all internal references to the ACPI timeout
15349 parameter to 16 bits to prevent future problems. Changed the name
15350 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
15352 Code and Data Size: Current core subsystem library sizes are shown
15353 below. These are the code and data sizes for the acpica.lib
15354 produced by the Microsoft Visual C++ 6.0 compiler, and these
15355 values do not include any ACPI driver or OSPM code. The debug
15356 version of the code includes the debug output trace mechanism and
15357 has a much larger code and data size. Note that these values will
15358 vary depending on the efficiency of the compiler and the compiler
15359 options used during generation.
15362 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15363 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
15365 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
15366 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
15371 Module loading/unloading fixes (John Cagle)
15374 3) iASL Compiler/Disassembler
15376 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
15378 Implemented support for the disassembly of all SMBus protocol
15379 keywords (SMBQuick, SMBWord, etc.)
15381 ----------------------------------------
15382 01 November 2002. Summary of changes for version 20021101.
15385 1) ACPI CA Core Subsystem:
15387 Fixed a problem where platforms that have a GPE1 block but no GPE0
15388 block were not handled correctly. This resulted in a "GPE
15389 overlap" error message. GPE0 is no longer required.
15391 Removed code added in the previous release that inserted nodes
15392 into the namespace in alphabetical order. This caused some side-
15393 effects on various machines. The root cause of the problem is
15394 still under investigation since in theory, the internal ordering
15395 of the namespace nodes should not matter.
15398 Enhanced error reporting for the case where a named object is not
15399 found during control method execution. The full ACPI namepath
15400 (name reference) of the object that was not found is displayed in
15403 Note: as a result of the overhaul of the namespace object types in
15404 the previous release, the namespace nodes for the predefined
15405 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
15406 instead of ACPI_TYPE_ANY. This simplifies the namespace
15407 management code but may affect code that walks the namespace tree
15408 looking for specific object types.
15410 Code and Data Size: Current core subsystem library sizes are shown
15411 below. These are the code and data sizes for the acpica.lib
15412 produced by the Microsoft Visual C++ 6.0 compiler, and these
15413 values do not include any ACPI driver or OSPM code. The debug
15414 version of the code includes the debug output trace mechanism and
15415 has a much larger code and data size. Note that these values will
15416 vary depending on the efficiency of the compiler and the compiler
15417 options used during generation.
15420 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
15421 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
15423 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
15424 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
15429 Fixed a problem introduced in the previous release where the
15430 Processor and Thermal objects were not recognized and installed in
15431 /proc. This was related to the scope type change described above.
15434 3) iASL Compiler/Disassembler
15436 Implemented the -g option to get all of the required ACPI tables
15437 from the registry and save them to files (Windows version of the
15438 compiler only.) The required tables are the FADT, FACS, and DSDT.
15440 Added ACPI table checksum validation during table disassembly in
15441 order to catch corrupted tables.
15444 ----------------------------------------
15445 22 October 2002. Summary of changes for version 20021022.
15447 1) ACPI CA Core Subsystem:
15449 Implemented a restriction on the Scope operator that the target
15450 must already exist in the namespace at the time the operator is
15451 encountered (during table load or method execution). In other
15452 words, forward references are not allowed and Scope() cannot
15453 create a new object. This changes the previous behavior where the
15454 interpreter would create the name if not found. This new behavior
15455 correctly enables the search-to-root algorithm during namespace
15456 lookup of the target name. Because of this upsearch, this fixes
15457 the known Compaq _SB_.OKEC problem and makes both the AML
15458 interpreter and iASL compiler compatible with other ACPI
15461 Completed a major overhaul of the internal ACPI object types for
15462 the ACPI Namespace and the associated operand objects. Many of
15463 these types had become obsolete with the introduction of the two-
15464 pass namespace load. This cleanup simplifies the code and makes
15465 the entire namespace load mechanism much clearer and easier to
15468 Improved debug output for tracking scope opening/closing to help
15469 diagnose scoping issues. The old scope name as well as the new
15470 scope name are displayed. Also improved error messages for
15471 problems with ASL Mutex objects and error messages for GPE
15474 Cleaned up the namespace dump code, removed obsolete code.
15476 All string output (for all namespace/object dumps) now uses the
15477 common ACPI string output procedure which handles escapes properly
15478 and does not emit non-printable characters.
15480 Fixed some issues with constants in the 64-bit version of the
15481 local C library (utclib.c)
15486 EC Driver: No longer attempts to acquire the Global Lock at
15490 3) iASL Compiler/Disassembler
15492 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
15493 2 opcodes outside of a control method. This means that the
15494 "executable" operators (versus the "namespace" operators) cannot
15495 be used at the table level; they can only be used within a control
15498 Implemented the restriction on the Scope() operator where the
15499 target must already exist in the namespace at the time the
15500 operator is encountered (during ASL compilation). In other words,
15501 forward references are not allowed and Scope() cannot create a new
15502 object. This makes the iASL compiler compatible with other ACPI
15503 implementations and makes the Scope() implementation adhere to the
15504 ACPI specification.
15506 Fixed a problem where namepath optimization for the Alias operator
15507 was optimizing the wrong path (of the two namepaths.) This caused
15508 a "Missing alias link" error message.
15510 Fixed a problem where an "unknown reserved name" warning could be
15511 incorrectly generated for names like "_SB" when the trailing
15512 underscore is not used in the original ASL.
15514 Fixed a problem where the reserved name check did not handle
15515 NamePaths with multiple NameSegs correctly. The first nameseg of
15516 the NamePath was examined instead of the last NameSeg.
15519 ----------------------------------------
15521 02 October 2002. Summary of changes for this release.
15524 1) ACPI CA Core Subsystem version 20021002:
15526 Fixed a problem where a store/copy of a string to an existing
15527 string did not always set the string length properly in the String
15530 Fixed a reported problem with the ToString operator where the
15531 behavior was identical to the ToHexString operator instead of just
15532 simply converting a raw buffer to a string data type.
15534 Fixed a problem where CopyObject and the other "explicit"
15535 conversion operators were not updating the internal namespace node
15536 type as part of the store operation.
15538 Fixed a memory leak during implicit source operand conversion
15539 where the original object was not deleted if it was converted to a
15540 new object of a different type.
15542 Enhanced error messages for all problems associated with namespace
15543 lookups. Common procedure generates and prints the lookup name as
15544 well as the formatted status.
15546 Completed implementation of a new design for the Alias support
15547 within the namespace. The existing design did not handle the case
15548 where a new object was assigned to one of the two names due to the
15549 use of an explicit conversion operator, resulting in the two names
15550 pointing to two different objects. The new design simply points
15551 the Alias name to the original name node - not to the object.
15552 This results in a level of indirection that must be handled in the
15553 name resolution mechanism.
15555 Code and Data Size: Current core subsystem library sizes are shown
15556 below. These are the code and data sizes for the acpica.lib
15557 produced by the Microsoft Visual C++ 6.0 compiler, and these
15558 values do not include any ACPI driver or OSPM code. The debug
15559 version of the code includes the debug output trace mechanism and
15560 has a larger code and data size. Note that these values will vary
15561 depending on the efficiency of the compiler and the compiler
15562 options used during generation.
15565 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
15566 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
15568 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
15569 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
15574 Initialize thermal driver's timer before it is used. (Knut
15577 Allow handling negative celsius values. (Kochi Takayoshi)
15579 Fix thermal management and make trip points. R/W (Pavel Machek)
15581 Fix /proc/acpi/sleep. (P. Christeas)
15583 IA64 fixes. (David Mosberger)
15585 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
15587 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
15591 3) iASL Compiler/Disassembler
15593 Clarified some warning/error messages.
15596 ----------------------------------------
15597 18 September 2002. Summary of changes for this release.
15600 1) ACPI CA Core Subsystem version 20020918:
15602 Fixed a reported problem with reference chaining (via the Index()
15603 and RefOf() operators) in the ObjectType() and SizeOf() operators.
15604 The definition of these operators includes the dereferencing of
15605 all chained references to return information on the base object.
15607 Fixed a problem with stores to indexed package elements - the
15608 existing code would not complete the store if an "implicit
15609 conversion" was not performed. In other words, if the existing
15610 object (package element) was to be replaced completely, the code
15611 didn't handle this case.
15613 Relaxed typechecking on the ASL "Scope" operator to allow the
15614 target name to refer to an object of type Integer, String, or
15615 Buffer, in addition to the scoping object types (Device,
15616 predefined Scopes, Processor, PowerResource, and ThermalZone.)
15617 This allows existing AML code that has workarounds for a bug in
15618 Windows to function properly. A warning is issued, however. This
15619 affects both the AML interpreter and the iASL compiler. Below is
15620 an example of this type of ASL code:
15626 Fixed some reported problems with 64-bit integer support in the
15627 local implementation of C library functions (clib.c)
15632 Use ACPI fix map region instead of IOAPIC region, since it is
15633 undefined in non-SMP.
15635 Ensure that the SCI has the proper polarity and trigger, even on
15636 systems that do not have an interrupt override entry in the MADT.
15638 2.5 big driver reorganization (Pat Mochel)
15640 Use early table mapping code from acpitable.c (Andi Kleen)
15642 New blacklist entries (Andi Kleen)
15644 Blacklist improvements. Split blacklist code out into a separate
15645 file. Move checking the blacklist to very early. Previously, we
15646 would use ACPI tables, and then halfway through init, check the
15647 blacklist -- too late. Now, it's early enough to completely fall-
15651 3) iASL Compiler/Disassembler version 20020918:
15653 Fixed a problem where the typechecking code didn't know that an
15654 alias could point to a method. In other words, aliases were not
15655 being dereferenced during typechecking.
15658 ----------------------------------------
15659 29 August 2002. Summary of changes for this release.
15661 1) ACPI CA Core Subsystem Version 20020829:
15663 If the target of a Scope() operator already exists, it must be an
15664 object type that actually opens a scope -- such as a Device,
15665 Method, Scope, etc. This is a fatal runtime error. Similar error
15666 check has been added to the iASL compiler also.
15668 Tightened up the namespace load to disallow multiple names in the
15669 same scope. This previously was allowed if both objects were of
15670 the same type. (i.e., a lookup was the same as entering a new
15676 Ensure that the ACPI interrupt has the proper trigger and
15679 local_irq_disable is extraneous. (Matthew Wilcox)
15681 Make "acpi=off" actually do what it says, and not use the ACPI
15682 interpreter *or* the tables.
15684 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
15688 3) iASL Compiler/Disassembler Version 20020829:
15690 Implemented namepath optimization for name declarations. For
15691 example, a declaration like "Method (\_SB_.ABCD)" would get
15692 optimized to "Method (ABCD)" if the declaration is within the
15693 \_SB_ scope. This optimization is in addition to the named
15694 reference path optimization first released in the previous
15695 version. This would seem to complete all possible optimizations
15696 for namepaths within the ASL/AML.
15698 If the target of a Scope() operator already exists, it must be an
15699 object type that actually opens a scope -- such as a Device,
15700 Method, Scope, etc.
15702 Implemented a check and warning for unreachable code in the same
15703 block below a Return() statement.
15705 Fixed a problem where the listing file was not generated if the
15706 compiler aborted if the maximum error count was exceeded (200).
15708 Fixed a problem where the typechecking of method return values was
15709 broken. This includes the check for a return value when the
15710 method is invoked as a TermArg (a return value is expected.)
15712 Fixed a reported problem where EOF conditions during a quoted
15713 string or comment caused a fault.
15716 ----------------------------------------
15717 15 August 2002. Summary of changes for this release.
15719 1) ACPI CA Core Subsystem Version 20020815:
15721 Fixed a reported problem where a Store to a method argument that
15722 contains a reference did not perform the indirect store correctly.
15723 This problem was created during the conversion to the new
15724 reference object model - the indirect store to a method argument
15725 code was not updated to reflect the new model.
15727 Reworked the ACPI mode change code to better conform to ACPI 2.0,
15728 handle corner cases, and improve code legibility (Kochi Takayoshi)
15730 Fixed a problem with the pathname parsing for the carat (^)
15731 prefix. The heavy use of the carat operator by the new namepath
15732 optimization in the iASL compiler uncovered a problem with the AML
15733 interpreter handling of this prefix. In the case where one or
15734 more carats precede a single nameseg, the nameseg was treated as
15735 standalone and the search rule (to root) was inadvertently
15736 applied. This could cause both the iASL compiler and the
15737 interpreter to find the wrong object or to miss the error that
15738 should occur if the object does not exist at that exact pathname.
15740 Found and fixed the problem where the HP Pavilion DSDT would not
15741 load. This was a relatively minor tweak to the table loading code
15742 (a problem caused by the unexpected encounter with a method
15743 invocation not within a control method), but it does not solve the
15744 overall issue of the execution of AML code at the table level.
15745 This investigation is still ongoing.
15747 Code and Data Size: Current core subsystem library sizes are shown
15748 below. These are the code and data sizes for the acpica.lib
15749 produced by the Microsoft Visual C++ 6.0 compiler, and these
15750 values do not include any ACPI driver or OSPM code. The debug
15751 version of the code includes the debug output trace mechanism and
15752 has a larger code and data size. Note that these values will vary
15753 depending on the efficiency of the compiler and the compiler
15754 options used during generation.
15757 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
15758 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
15760 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
15761 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
15766 Remove redundant slab.h include (Brad Hards)
15768 Fix several bugs in thermal.c (Herbert Nachtnebel)
15770 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
15772 Change acpi_system_suspend to use updated irq functions (Pavel
15775 Export acpi_get_firmware_table (Matthew Wilcox)
15777 Use proper root proc entry for ACPI (Kochi Takayoshi)
15779 Fix early-boot table parsing (Bjorn Helgaas)
15782 3) iASL Compiler/Disassembler
15784 Reworked the compiler options to make them more consistent and to
15785 use two-letter options where appropriate. We were running out of
15786 sensible letters. This may break some makefiles, so check the
15787 current options list by invoking the compiler with no parameters.
15789 Completed the design and implementation of the ASL namepath
15790 optimization option for the compiler. This option optimizes all
15791 references to named objects to the shortest possible path. The
15792 first attempt tries to utilize a single nameseg (4 characters) and
15793 the "search-to-root" algorithm used by the interpreter. If that
15794 cannot be used (because either the name is not in the search path
15795 or there is a conflict with another object with the same name),
15796 the pathname is optimized using the carat prefix (usually a
15797 shorter string than specifying the entire path from the root.)
15799 Implemented support to obtain the DSDT from the Windows registry
15800 (when the disassembly option is specified with no input file).
15801 Added this code as the implementation for AcpiOsTableOverride in
15802 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
15803 utility) to scan memory for the DSDT to the AcpiOsTableOverride
15804 function in the DOS OSL to make the disassembler truly OS
15807 Implemented a new option to disassemble and compile in one step.
15808 When used without an input filename, this option will grab the
15809 DSDT from the local machine, disassemble it, and compile it in one
15812 Added a warning message for invalid escapes (a backslash followed
15813 by any character other than the allowable escapes). This catches
15814 the quoted string error "\_SB_" (which should be "\\_SB_" ).
15816 Also, there are numerous instances in the ACPI specification where
15819 Added a compiler option to disable all optimizations. This is
15820 basically the "compatibility mode" because by using this option,
15821 the AML code will come out exactly the same as other ASL
15824 Added error messages for incorrectly ordered dependent resource
15825 functions. This includes: missing EndDependentFn macro at end of
15826 dependent resource list, nested dependent function macros (both
15827 start and end), and missing StartDependentFn macro. These are
15828 common errors that should be caught at compile time.
15830 Implemented _OSI support for the disassembler and compiler. _OSI
15831 must be included in the namespace for proper disassembly (because
15832 the disassembler must know the number of arguments.)
15834 Added an "optimization" message type that is optional (off by
15835 default). This message is used for all optimizations - including
15836 constant folding, integer optimization, and namepath optimization.
15838 ----------------------------------------
15839 25 July 2002. Summary of changes for this release.
15842 1) ACPI CA Core Subsystem Version 20020725:
15844 The AML Disassembler has been enhanced to produce compilable ASL
15845 code and has been integrated into the iASL compiler (see below) as
15846 well as the single-step disassembly for the AML debugger and the
15847 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
15848 resource templates and macros are fully supported. The
15849 disassembler has been tested on over 30 different AML files,
15850 producing identical AML when the resulting disassembled ASL file
15851 is recompiled with the same ASL compiler.
15853 Modified the Resource Manager to allow zero interrupts and zero
15854 dma channels during the GetCurrentResources call. This was
15855 causing problems on some platforms.
15857 Added the AcpiOsRedirectOutput interface to the OSL to simplify
15858 output redirection for the AcpiOsPrintf and AcpiOsVprintf
15861 Code and Data Size: Current core subsystem library sizes are shown
15862 below. These are the code and data sizes for the acpica.lib
15863 produced by the Microsoft Visual C++ 6.0 compiler, and these
15864 values do not include any ACPI driver or OSPM code. The debug
15865 version of the code includes the debug output trace mechanism and
15866 has a larger code and data size. Note that these values will vary
15867 depending on the efficiency of the compiler and the compiler
15868 options used during generation.
15871 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
15872 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
15874 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
15875 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
15880 Fixed a panic in the EC driver (Dominik Brodowski)
15882 Implemented checksum of the R/XSDT itself during Linux table scan
15888 The AML disassembler is integrated into the compiler. The "-d"
15889 option invokes the disassembler to completely disassemble an
15890 input AML file, producing as output a text ASL file with the
15891 extension ".dsl" (to avoid name collisions with existing .asl
15892 source files.) A future enhancement will allow the disassembler
15893 to obtain the BIOS DSDT from the registry under Windows.
15895 Fixed a problem with the VendorShort and VendorLong resource
15896 descriptors where an invalid AML sequence was created.
15898 Implemented a fix for BufferData term in the ASL parser. It was
15899 inadvertently defined twice, allowing invalid syntax to pass and
15900 causing reduction conflicts.
15902 Fixed a problem where the Ones opcode could get converted to a
15903 value of zero if "Ones" was used where a byte, word or dword value
15904 was expected. The 64-bit value is now truncated to the correct
15905 size with the correct value.
15909 ----------------------------------------
15910 02 July 2002. Summary of changes for this release.
15913 1) ACPI CA Core Subsystem Version 20020702:
15915 The Table Manager code has been restructured to add several new
15916 features. Tables that are not required by the core subsystem
15917 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
15918 validated in any way and are returned from AcpiGetFirmwareTable if
15919 requested. The AcpiOsTableOverride interface is now called for
15920 each table that is loaded by the subsystem in order to allow the
15921 host to override any table it chooses. Previously, only the DSDT
15922 could be overridden. Added one new files, tbrsdt.c and
15925 Fixed a problem with the conversion of internal package objects to
15926 external objects (when a package is returned from a control
15927 method.) The return buffer length was set to zero instead of the
15928 proper length of the package object.
15930 Fixed a reported problem with the use of the RefOf and DeRefOf
15931 operators when passing reference arguments to control methods. A
15932 new type of Reference object is used internally for references
15933 produced by the RefOf operator.
15935 Added additional error messages in the Resource Manager to explain
15936 AE_BAD_DATA errors when they occur during resource parsing.
15938 Split the AcpiEnableSubsystem into two primitives to enable a
15939 finer granularity initialization sequence. These two calls should
15940 be called in this order: AcpiEnableSubsystem (flags),
15941 AcpiInitializeObjects (flags). The flags parameter remains the
15947 Updated the ACPI utilities module to understand the new style of
15948 fully resolved package objects that are now returned from the core
15949 subsystem. This eliminates errors of the form:
15951 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
15952 acpi_utils-0430 [145] acpi_evaluate_reference:
15953 Invalid element in package (not a device reference)
15955 The method evaluation utility uses the new buffer allocation
15956 scheme instead of calling AcpiEvaluate Object twice.
15958 Added support for ECDT. This allows the use of the Embedded
15960 Controller before the namespace has been fully initialized, which
15961 is necessary for ACPI 2.0 support, and for some laptops to
15962 initialize properly. (Laptops using ECDT are still rare, so only
15963 limited testing was performed of the added functionality.)
15965 Fixed memory leaks in the EC driver.
15967 Eliminated a brittle code structure in acpi_bus_init().
15969 Eliminated the acpi_evaluate() helper function in utils.c. It is
15970 no longer needed since acpi_evaluate_object can optionally
15971 allocate memory for the return object.
15973 Implemented fix for keyboard hang when getting battery readings on
15974 some systems (Stephen White)
15976 PCI IRQ routing update (Dominik Brodowski)
15978 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
15981 ----------------------------------------
15982 11 June 2002. Summary of changes for this release.
15985 1) ACPI CA Core Subsystem Version 20020611:
15987 Fixed a reported problem where constants such as Zero and One
15988 appearing within _PRT packages were not handled correctly within
15989 the resource manager code. Originally reported against the ASL
15990 compiler because the code generator now optimizes integers to
15991 their minimal AML representation (i.e. AML constants if possible.)
15992 The _PRT code now handles all AML constant opcodes correctly
15993 (Zero, One, Ones, Revision).
15995 Fixed a problem with the Concatenate operator in the AML
15996 interpreter where a buffer result object was incorrectly marked as
15997 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
15999 All package sub-objects are now fully resolved before they are
16000 returned from the external ACPI interfaces. This means that name
16001 strings are resolved to object handles, and constant operators
16002 (Zero, One, Ones, Revision) are resolved to Integers.
16004 Implemented immediate resolution of the AML Constant opcodes
16005 (Zero, One, Ones, Revision) to Integer objects upon detection
16006 within the AML stream. This has simplified and reduced the
16007 generated code size of the subsystem by eliminating about 10
16008 switch statements for these constants (which previously were
16009 contained in Reference objects.) The complicating issues are that
16010 the Zero opcode is used as a "placeholder" for unspecified
16011 optional target operands and stores to constants are defined to be
16014 Code and Data Size: Current core subsystem library sizes are shown
16015 below. These are the code and data sizes for the acpica.lib
16016 produced by the Microsoft Visual C++ 6.0 compiler, and these
16017 values do not include any ACPI driver or OSPM code. The debug
16018 version of the code includes the debug output trace mechanism and
16019 has a larger code and data size. Note that these values will vary
16020 depending on the efficiency of the compiler and the compiler
16021 options used during generation.
16024 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
16025 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
16027 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
16028 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
16034 Added preliminary support for obtaining _TRA data for PCI root
16035 bridges (Bjorn Helgaas).
16038 3) iASL Compiler Version X2046:
16040 Fixed a problem where the "_DDN" reserved name was defined to be a
16041 control method with one argument. There are no arguments, and
16042 _DDN does not have to be a control method.
16044 Fixed a problem with the Linux version of the compiler where the
16045 source lines printed with error messages were the wrong lines.
16046 This turned out to be the "LF versus CR/LF" difference between
16047 Windows and Unix. This appears to be the longstanding issue
16048 concerning listing output and error messages.
16050 Fixed a problem with the Linux version of compiler where opcode
16051 names within error messages were wrong. This was caused by a
16052 slight difference in the output of the Flex tool on Linux versus
16055 Fixed a problem with the Linux compiler where the hex output files
16056 contained some garbage data caused by an internal buffer overrun.
16059 ----------------------------------------
16060 17 May 2002. Summary of changes for this release.
16063 1) ACPI CA Core Subsystem Version 20020517:
16065 Implemented a workaround to an BIOS bug discovered on the HP
16066 OmniBook where the FADT revision number and the table size are
16067 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
16068 behavior is to fallback to using only the ACPI 1.0 fields of the
16069 FADT if the table is too small to be a ACPI 2.0 table as claimed
16070 by the revision number. Although this is a BIOS bug, this is a
16071 case where the workaround is simple enough and with no side
16072 effects, so it seemed prudent to add it. A warning message is
16075 Implemented minimum size checks for the fixed-length ACPI tables -
16076 - the FADT and FACS, as well as consistency checks between the
16077 revision number and the table size.
16079 Fixed a reported problem in the table override support where the
16080 new table pointer was incorrectly treated as a physical address
16081 instead of a logical address.
16083 Eliminated the use of the AE_AML_ERROR exception and replaced it
16084 with more descriptive codes.
16086 Fixed a problem where an exception would occur if an ASL Field was
16087 defined with no named Field Units underneath it (used by some
16090 Code and Data Size: Current core subsystem library sizes are shown
16091 below. These are the code and data sizes for the acpica.lib
16092 produced by the Microsoft Visual C++ 6.0 compiler, and these
16093 values do not include any ACPI driver or OSPM code. The debug
16094 version of the code includes the debug output trace mechanism and
16095 has a larger code and data size. Note that these values will vary
16096 depending on the efficiency of the compiler and the compiler
16097 options used during generation.
16100 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
16101 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
16103 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
16104 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
16110 Much work done on ACPI init (MADT and PCI IRQ routing support).
16111 (Paul D. and Dominik Brodowski)
16113 Fix PCI IRQ-related panic on boot (Sam Revitch)
16115 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
16117 Fix "MHz" typo (Dominik Brodowski)
16119 Fix RTC year 2000 issue (Dominik Brodowski)
16121 Preclude multiple button proc entries (Eric Brunet)
16123 Moved arch-specific code out of include/platform/aclinux.h
16125 3) iASL Compiler Version X2044:
16127 Implemented error checking for the string used in the EISAID macro
16128 (Usually used in the definition of the _HID object.) The code now
16129 strictly enforces the PnP format - exactly 7 characters, 3
16130 uppercase letters and 4 hex digits.
16132 If a raw string is used in the definition of the _HID object
16133 (instead of the EISAID macro), the string must contain all
16134 alphanumeric characters (e.g., "*PNP0011" is not allowed because
16137 Implemented checking for invalid use of ACPI reserved names for
16138 most of the name creation operators (Name, Device, Event, Mutex,
16139 OperationRegion, PowerResource, Processor, and ThermalZone.)
16140 Previously, this check was only performed for control methods.
16142 Implemented an additional check on the Name operator to emit an
16143 error if a reserved name that must be implemented in ASL as a
16144 control method is used. We know that a reserved name must be a
16145 method if it is defined with input arguments.
16147 The warning emitted when a namespace object reference is not found
16148 during the cross reference phase has been changed into an error.
16149 The "External" directive should be used for names defined in other
16153 4) Tools and Utilities
16155 The 16-bit tools (adump16 and aexec16) have been regenerated and
16158 Fixed a problem with the output of both acpidump and adump16 where
16159 the indentation of closing parentheses and brackets was not
16161 aligned properly with the parent block.
16164 ----------------------------------------
16165 03 May 2002. Summary of changes for this release.
16168 1) ACPI CA Core Subsystem Version 20020503:
16170 Added support a new OSL interface that allows the host operating
16172 system software to override the DSDT found in the firmware -
16173 AcpiOsTableOverride. With this interface, the OSL can examine the
16174 version of the firmware DSDT and replace it with a different one
16177 Added new external interfaces for accessing ACPI registers from
16178 device drivers and other system software - AcpiGetRegister and
16179 AcpiSetRegister. This was simply an externalization of the
16180 existing AcpiHwBitRegister interfaces.
16182 Fixed a regression introduced in the previous build where the
16183 ASL/AML CreateField operator always returned an error,
16184 "destination must be a NS Node".
16186 Extended the maximum time (before failure) to successfully enable
16187 ACPI mode to 3 seconds.
16189 Code and Data Size: Current core subsystem library sizes are shown
16190 below. These are the code and data sizes for the acpica.lib
16191 produced by the Microsoft Visual C++ 6.0 compiler, and these
16192 values do not include any ACPI driver or OSPM code. The debug
16193 version of the code includes the debug output trace mechanism and
16194 has a larger code and data size. Note that these values will vary
16195 depending on the efficiency of the compiler and the compiler
16196 options used during generation.
16199 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
16200 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
16202 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
16203 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
16208 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
16209 free. While 3 out of 4 of our in-house systems work fine, the last
16210 one still hangs when testing the LAPIC timer.
16212 Renamed many files in 2.5 kernel release to omit "acpi_" from the
16215 Added warning on boot for Presario 711FR.
16217 Sleep improvements (Pavel Machek)
16219 ACPI can now be built without CONFIG_PCI enabled.
16221 IA64: Fixed memory map functions (JI Lee)
16224 3) iASL Compiler Version X2043:
16226 Added support to allow the compiler to be integrated into the MS
16227 VC++ development environment for one-button compilation of single
16228 files or entire projects -- with error-to-source-line mapping.
16230 Implemented support for compile-time constant folding for the
16231 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
16232 specification. This allows the ASL writer to use expressions
16233 instead of Integer/Buffer/String constants in terms that must
16234 evaluate to constants at compile time and will also simplify the
16235 emitted AML in any such sub-expressions that can be folded
16236 (evaluated at compile-time.) This increases the size of the
16237 compiler significantly because a portion of the ACPI CA AML
16238 interpreter is included within the compiler in order to pre-
16239 evaluate constant expressions.
16242 Fixed a problem with the "Unicode" ASL macro that caused the
16243 compiler to fault. (This macro is used in conjunction with the
16244 _STR reserved name.)
16246 Implemented an AML opcode optimization to use the Zero, One, and
16247 Ones opcodes where possible to further reduce the size of integer
16248 constants and thus reduce the overall size of the generated AML
16251 Implemented error checking for new reserved terms for ACPI version
16254 Implemented the -qr option to display the current list of ACPI
16255 reserved names known to the compiler.
16257 Implemented the -qc option to display the current list of ASL
16258 operators that are allowed within constant expressions and can
16259 therefore be folded at compile time if the operands are constants.
16264 Updated the Programmer's Reference for new interfaces, data types,
16265 and memory allocation model options.
16267 Updated the iASL Compiler User Reference to apply new format and
16268 add information about new features and options.
16270 ----------------------------------------
16271 19 April 2002. Summary of changes for this release.
16273 1) ACPI CA Core Subsystem Version 20020419:
16275 The source code base for the Core Subsystem has been completely
16276 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
16277 versions. The Lint option files used are included in the
16278 /acpi/generate/lint directory.
16280 Implemented enhanced status/error checking across the entire
16281 Hardware manager subsystem. Any hardware errors (reported from
16282 the OSL) are now bubbled up and will abort a running control
16286 Fixed a problem where the per-ACPI-table integer width (32 or 64)
16287 was stored only with control method nodes, causing a fault when
16288 non-control method code was executed during table loading. The
16289 solution implemented uses a global variable to indicate table
16290 width across the entire ACPI subsystem. Therefore, ACPI CA does
16291 not support mixed integer widths across different ACPI tables
16294 Fixed a problem where NULL extended fields (X fields) in an ACPI
16295 2.0 ACPI FADT caused the table load to fail. Although the
16296 existing ACPI specification is a bit fuzzy on this topic, the new
16297 behavior is to fall back on a ACPI 1.0 field if the corresponding
16298 ACPI 2.0 X field is zero (even though the table revision indicates
16299 a full ACPI 2.0 table.) The ACPI specification will be updated to
16300 clarify this issue.
16302 Fixed a problem with the SystemMemory operation region handler
16303 where memory was always accessed byte-wise even if the AML-
16304 specified access width was larger than a byte. This caused
16305 problems on systems with memory-mapped I/O. Memory is now
16306 accessed with the width specified. On systems that do not support
16307 non-aligned transfers, a check is made to guarantee proper address
16308 alignment before proceeding in order to avoid an AML-caused
16309 alignment fault within the kernel.
16312 Fixed a problem with the ExtendedIrq resource where only one byte
16313 of the 4-byte Irq field was extracted.
16315 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
16316 function was out of date and required a rewrite.
16318 Code and Data Size: Current core subsystem library sizes are shown
16319 below. These are the code and data sizes for the acpica.lib
16320 produced by the Microsoft Visual C++ 6.0 compiler, and these
16321 values do not include any ACPI driver or OSPM code. The debug
16322 version of the code includes the debug output trace mechanism and
16323 has a larger code and data size. Note that these values will vary
16324 depending on the efficiency of the compiler and the compiler
16325 options used during generation.
16328 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
16329 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
16331 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
16332 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
16337 PCI IRQ routing fixes (Dominik Brodowski)
16340 3) iASL Compiler Version X2042:
16342 Implemented an additional compile-time error check for a field
16343 unit whose size + minimum access width would cause a run-time
16344 access beyond the end-of-region. Previously, only the field size
16345 itself was checked.
16347 The Core subsystem and iASL compiler now share a common parse
16348 object in preparation for compile-time evaluation of the type
16349 3/4/5 ASL operators.
16352 ----------------------------------------
16353 Summary of changes for this release: 03_29_02
16355 1) ACPI CA Core Subsystem Version 20020329:
16357 Implemented support for late evaluation of TermArg operands to
16358 Buffer and Package objects. This allows complex expressions to be
16359 used in the declarations of these object types.
16361 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
16362 1.0, if the field was larger than 32 bits, it was returned as a
16363 buffer - otherwise it was returned as an integer. In ACPI 2.0,
16364 the field is returned as a buffer only if the field is larger than
16365 64 bits. The TableRevision is now considered when making this
16366 conversion to avoid incompatibility with existing ASL code.
16368 Implemented logical addressing for AcpiOsGetRootPointer. This
16369 allows an RSDP with either a logical or physical address. With
16370 this support, the host OS can now override all ACPI tables with
16371 one logical RSDP. Includes implementation of "typed" pointer
16372 support to allow a common data type for both physical and logical
16373 pointers internally. This required a change to the
16374 AcpiOsGetRootPointer interface.
16376 Implemented the use of ACPI 2.0 Generic Address Structures for all
16377 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
16378 mapped I/O for these ACPI features.
16380 Initialization now ignores not only non-required tables (All
16381 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
16382 not validate the table headers of unrecognized tables.
16384 Fixed a problem where a notify handler could only be
16385 installed/removed on an object of type Device. All "notify"
16387 objects are now supported -- Devices, Processor, Power, and
16390 Removed most verbosity from the ACPI_DB_INFO debug level. Only
16391 critical information is returned when this debug level is enabled.
16393 Code and Data Size: Current core subsystem library sizes are shown
16394 below. These are the code and data sizes for the acpica.lib
16395 produced by the Microsoft Visual C++ 6.0 compiler, and these
16396 values do not include any ACPI driver or OSPM code. The debug
16397 version of the code includes the debug output trace mechanism and
16398 has a larger code and data size. Note that these values will vary
16399 depending on the efficiency of the compiler and the compiler
16400 options used during generation.
16403 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
16404 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
16406 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
16407 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
16412 The processor driver (acpi_processor.c) now fully supports ACPI
16413 2.0-based processor performance control (e.g. Intel(R)
16414 SpeedStep(TM) technology) Note that older laptops that only have
16415 the Intel "applet" interface are not supported through this. The
16416 'limit' and 'performance' interface (/proc) are fully functional.
16417 [Note that basic policy for controlling performance state
16418 transitions will be included in the next version of ospmd.] The
16419 idle handler was modified to more aggressively use C2, and PIIX4
16420 errata handling underwent a complete overhaul (big thanks to
16421 Dominik Brodowski).
16423 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
16424 based devices in the ACPI namespace are now dynamically bound
16425 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
16426 This allows, among other things, ACPI to resolve bus numbers for
16427 subordinate PCI bridges.
16429 Enhanced PCI IRQ routing to get the proper bus number for _PRT
16430 entries defined underneath PCI bridges.
16432 Added IBM 600E to bad bios list due to invalid _ADR value for
16433 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
16435 In the process of adding full MADT support (e.g. IOAPIC) for IA32
16436 (acpi.c, mpparse.c) -- stay tuned.
16438 Added back visual differentiation between fixed-feature and
16439 control-method buttons in dmesg. Buttons are also subtyped (e.g.
16440 button/power/PWRF) to simplify button identification.
16442 We no longer use -Wno-unused when compiling debug. Please ignore
16443 any "_THIS_MODULE defined but not used" messages.
16445 Can now shut down the system using "magic sysrq" key.
16448 3) iASL Compiler version 2041:
16450 Fixed a problem where conversion errors for hex/octal/decimal
16451 constants were not reported.
16453 Implemented a fix for the General Register template Address field.
16454 This field was 8 bits when it should be 64.
16456 Fixed a problem where errors/warnings were no longer being emitted
16457 within the listing output file.
16459 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
16460 exactly 4 characters, alphanumeric only.
16465 ----------------------------------------
16466 Summary of changes for this release: 03_08_02
16469 1) ACPI CA Core Subsystem Version 20020308:
16471 Fixed a problem with AML Fields where the use of the "AccessAny"
16472 keyword could cause an interpreter error due to attempting to read
16473 or write beyond the end of the parent Operation Region.
16475 Fixed a problem in the SystemMemory Operation Region handler where
16476 an attempt was made to map memory beyond the end of the region.
16477 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
16478 errors on some Linux systems.
16480 Fixed a problem where the interpreter/namespace "search to root"
16481 algorithm was not functioning for some object types. Relaxed the
16482 internal restriction on the search to allow upsearches for all
16483 external object types as well as most internal types.
16488 We now use safe_halt() macro versus individual calls to sti | hlt.
16490 Writing to the processor limit interface should now work. "echo 1"
16491 will increase the limit, 2 will decrease, and 0 will reset to the
16498 Fixed segfault on Linux version.
16501 ----------------------------------------
16502 Summary of changes for this release: 02_25_02
16504 1) ACPI CA Core Subsystem:
16507 Fixed a problem where the GPE bit masks were not initialized
16508 properly, causing erratic GPE behavior.
16510 Implemented limited support for multiple calling conventions. The
16511 code can be generated with either the VPL (variable parameter
16512 list, or "C") convention, or the FPL (fixed parameter list, or
16513 "Pascal") convention. The core subsystem is about 3.4% smaller
16514 when generated with FPL.
16519 Re-add some /proc/acpi/event functionality that was lost during
16522 Resolved issue with /proc events for fixed-feature buttons showing
16523 up as the system device.
16525 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
16527 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
16529 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
16531 Fixed limit interface & usage to fix bugs with passive cooling
16534 Restructured PRT support.
16537 ----------------------------------------
16538 Summary of changes for this label: 02_14_02
16541 1) ACPI CA Core Subsystem:
16543 Implemented support in AcpiLoadTable to allow loading of FACS and
16546 Support for the now-obsolete interim 0.71 64-bit ACPI tables has
16547 been removed. All 64-bit platforms should be migrated to the ACPI
16548 2.0 tables. The actbl71.h header has been removed from the source
16551 All C macros defined within the subsystem have been prefixed with
16552 "ACPI_" to avoid collision with other system include files.
16554 Removed the return value for the two AcpiOsPrint interfaces, since
16555 it is never used and causes lint warnings for ignoring the return
16558 Added error checking to all internal mutex acquire and release
16559 calls. Although a failure from one of these interfaces is
16560 probably a fatal system error, these checks will cause the
16561 immediate abort of the currently executing method or interface.
16563 Fixed a problem where the AcpiSetCurrentResources interface could
16564 fault. This was a side effect of the deployment of the new memory
16567 Fixed a couple of problems with the Global Lock support introduced
16568 in the last major build. The "common" (1.0/2.0) internal FACS was
16569 being overwritten with the FACS signature and clobbering the
16570 Global Lock pointer. Also, the actual firmware FACS was being
16571 unmapped after construction of the "common" FACS, preventing
16572 access to the actual Global Lock field within it. The "common"
16573 internal FACS is no longer installed as an actual ACPI table; it
16574 is used simply as a global.
16576 Code and Data Size: Current core subsystem library sizes are shown
16577 below. These are the code and data sizes for the acpica.lib
16578 produced by the Microsoft Visual C++ 6.0 compiler, and these
16579 values do not include any ACPI driver or OSPM code. The debug
16580 version of the code includes the debug output trace mechanism and
16581 has a larger code and data size. Note that these values will vary
16582 depending on the efficiency of the compiler and the compiler
16583 options used during generation.
16585 Previous Release (02_07_01)
16586 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
16587 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
16589 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
16590 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
16595 Updated Linux-specific code for core macro and OSL interface
16596 changes described above.
16598 Improved /proc/acpi/event. It now can be opened only once and has
16599 proper poll functionality.
16601 Fixed and restructured power management (acpi_bus).
16603 Only create /proc "view by type" when devices of that class exist.
16605 Fixed "charging/discharging" bug (and others) in acpi_battery.
16607 Improved thermal zone code.
16610 3) ASL Compiler, version X2039:
16613 Implemented the new compiler restriction on ASL String hex/octal
16614 escapes to non-null, ASCII values. An error results if an invalid
16615 value is used. (This will require an ACPI 2.0 specification
16618 AML object labels that are output to the optional C and ASM source
16619 are now prefixed with both the ACPI table signature and table ID
16620 to help guarantee uniqueness within a large BIOS project.
16623 ----------------------------------------
16624 Summary of changes for this label: 02_01_02
16626 1) ACPI CA Core Subsystem:
16628 ACPI 2.0 support is complete in the entire Core Subsystem and the
16629 ASL compiler. All new ACPI 2.0 operators are implemented and all
16630 other changes for ACPI 2.0 support are complete. With
16631 simultaneous code and data optimizations throughout the subsystem,
16632 ACPI 2.0 support has been implemented with almost no additional
16633 cost in terms of code and data size.
16635 Implemented a new mechanism for allocation of return buffers. If
16636 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
16637 be allocated on behalf of the caller. Consolidated all return
16638 buffer validation and allocation to a common procedure. Return
16639 buffers will be allocated via the primary OSL allocation interface
16640 since it appears that a separate pool is not needed by most users.
16641 If a separate pool is required for these buffers, the caller can
16642 still use the original mechanism and pre-allocate the buffer(s).
16644 Implemented support for string operands within the DerefOf
16647 Restructured the Hardware and Event managers to be table driven,
16648 simplifying the source code and reducing the amount of generated
16651 Split the common read/write low-level ACPI register bitfield
16652 procedure into a separate read and write, simplifying the code
16655 Obsoleted the AcpiOsCallocate OSL interface. This interface was
16656 used only a handful of times and didn't have enough critical mass
16657 for a separate interface. Replaced with a common calloc procedure
16660 Fixed a reported problem with the GPE number mapping mechanism
16661 that allows GPE1 numbers to be non-contiguous with GPE0.
16662 Reorganized the GPE information and shrunk a large array that was
16663 originally large enough to hold info for all possible GPEs (256)
16664 to simply large enough to hold all GPEs up to the largest GPE
16665 number on the machine.
16667 Fixed a reported problem with resource structure alignment on 64-
16670 Changed the AcpiEnableEvent and AcpiDisableEvent external
16671 interfaces to not require any flags for the common case of
16672 enabling/disabling a GPE.
16674 Implemented support to allow a "Notify" on a Processor object.
16676 Most TBDs in comments within the source code have been resolved
16680 Fixed a problem in the interpreter where a standalone parent
16681 prefix (^) was not handled correctly in the interpreter and
16684 Removed obsolete and unnecessary GPE save/restore code.
16686 Implemented Field support in the ASL Load operator. This allows a
16687 table to be loaded from a named field, in addition to loading a
16688 table directly from an Operation Region.
16690 Implemented timeout and handle support in the external Global Lock
16693 Fixed a problem in the AcpiDump utility where pathnames were no
16694 longer being generated correctly during the dump of named objects.
16696 Modified the AML debugger to give a full display of if/while
16697 predicates instead of just one AML opcode at a time. (The
16698 predicate can have several nested ASL statements.) The old method
16699 was confusing during single stepping.
16701 Code and Data Size: Current core subsystem library sizes are shown
16702 below. These are the code and data sizes for the acpica.lib
16703 produced by the Microsoft Visual C++ 6.0 compiler, and these
16704 values do not include any ACPI driver or OSPM code. The debug
16705 version of the code includes the debug output trace mechanism and
16706 has a larger code and data size. Note that these values will vary
16707 depending on the efficiency of the compiler and the compiler
16708 options used during generation.
16710 Previous Release (12_18_01)
16711 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
16712 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
16714 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
16715 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
16719 Implemented fix for PIIX reverse throttling errata (Processor
16722 Added new Limit interface (Processor and Thermal drivers)
16724 New thermal policy (Thermal driver)
16726 Many updates to /proc
16728 Battery "low" event support (Battery driver)
16730 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
16732 IA32 - IA64 initialization unification, no longer experimental
16734 Menuconfig options redesigned
16736 3) ASL Compiler, version X2037:
16738 Implemented several new output features to simplify integration of
16739 AML code into firmware: 1) Output the AML in C source code with
16740 labels for each named ASL object. The original ASL source code
16741 is interleaved as C comments. 2) Output the AML in ASM source code
16742 with labels and interleaved ASL source. 3) Output the AML in
16743 raw hex table form, in either C or ASM.
16745 Implemented support for optional string parameters to the
16746 LoadTable operator.
16748 Completed support for embedded escape sequences within string
16749 literals. The compiler now supports all single character escapes
16750 as well as the Octal and Hex escapes. Note: the insertion of a
16751 null byte into a string literal (via the hex/octal escape) causes
16752 the string to be immediately terminated. A warning is issued.
16754 Fixed a problem where incorrect AML was generated for the case
16755 where an ASL namepath consists of a single parent prefix (
16757 ) with no trailing name segments.
16759 The compiler has been successfully generated with a 64-bit C
16765 ----------------------------------------
16766 Summary of changes for this label: 12_18_01
16770 Enhanced blacklist with reason and severity fields. Any table's
16771 signature may now be used to identify a blacklisted system.
16773 Call _PIC control method to inform the firmware which interrupt
16774 model the OS is using. Turn on any disabled link devices.
16776 Cleaned up busmgr /proc error handling (Andreas Dilger)
16778 2) ACPI CA Core Subsystem:
16780 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
16783 Completed implementation of the ACPI 2.0 "Continue",
16784 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
16785 operators. All new ACPI 2.0 operators are now implemented in both
16786 the ASL compiler and the AML interpreter. The only remaining ACPI
16787 2.0 task is support for the String data type in the DerefOf
16788 operator. Fixed a problem with AcquireMutex where the status code
16789 was lost if the caller had to actually wait for the mutex.
16791 Increased the maximum ASL Field size from 64K bits to 4G bits.
16793 Completed implementation of the external Global Lock interfaces --
16794 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
16795 Handler parameters were added.
16797 Completed another pass at removing warnings and issues when
16798 compiling with 64-bit compilers. The code now compiles cleanly
16799 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
16800 add and subtract (diff) macros have changed considerably.
16803 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
16804 64-bit platforms, 32-bits on all others. This type is used
16805 wherever memory allocation and/or the C sizeof() operator is used,
16806 and affects the OSL memory allocation interfaces AcpiOsAllocate
16807 and AcpiOsCallocate.
16809 Implemented sticky user breakpoints in the AML debugger.
16811 Code and Data Size: Current core subsystem library sizes are shown
16812 below. These are the code and data sizes for the acpica.lib
16813 produced by the Microsoft Visual C++ 6.0 compiler, and these
16814 values do not include any ACPI driver or OSPM code. The debug
16815 version of the code includes the debug output trace mechanism and
16816 has a larger code and data size. Note that these values will vary
16817 depending on the efficiency of the compiler and the compiler
16818 options used during generation.
16820 Previous Release (12_05_01)
16821 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
16822 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
16824 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
16825 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
16827 3) ASL Compiler, version X2034:
16829 Now checks for (and generates an error if detected) the use of a
16830 Break or Continue statement without an enclosing While statement.
16833 Successfully generated the compiler with the Intel 64-bit C
16836 ----------------------------------------
16837 Summary of changes for this label: 12_05_01
16839 1) ACPI CA Core Subsystem:
16841 The ACPI 2.0 CopyObject operator is fully implemented. This
16842 operator creates a new copy of an object (and is also used to
16843 bypass the "implicit conversion" mechanism of the Store operator.)
16845 The ACPI 2.0 semantics for the SizeOf operator are fully
16846 implemented. The change is that performing a SizeOf on a
16847 reference object causes an automatic dereference of the object to
16848 tha actual value before the size is evaluated. This behavior was
16849 undefined in ACPI 1.0.
16851 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
16852 have been implemented. The interrupt polarity and mode are now
16855 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
16856 appearing in Package objects were not properly converted to
16857 integers when the internal Package was converted to an external
16858 object (via the AcpiEvaluateObject interface.)
16860 Fixed a problem with the namespace object deletion mechanism for
16861 objects created by control methods. There were two parts to this
16862 problem: 1) Objects created during the initialization phase method
16863 parse were not being deleted, and 2) The object owner ID mechanism
16864 to track objects was broken.
16866 Fixed a problem where the use of the ASL Scope operator within a
16867 control method would result in an invalid opcode exception.
16869 Fixed a problem introduced in the previous label where the buffer
16870 length required for the _PRT structure was not being returned
16873 Code and Data Size: Current core subsystem library sizes are shown
16874 below. These are the code and data sizes for the acpica.lib
16875 produced by the Microsoft Visual C++ 6.0 compiler, and these
16876 values do not include any ACPI driver or OSPM code. The debug
16877 version of the code includes the debug output trace mechanism and
16878 has a larger code and data size. Note that these values will vary
16879 depending on the efficiency of the compiler and the compiler
16880 options used during generation.
16882 Previous Release (11_20_01)
16883 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
16884 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
16887 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
16888 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
16892 Updated all files to apply cleanly against 2.4.16.
16894 Added basic PCI Interrupt Routing Table (PRT) support for IA32
16895 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
16896 version supports both static and dynamic PRT entries, but dynamic
16897 entries are treated as if they were static (not yet
16898 reconfigurable). Architecture- specific code to use this data is
16899 absent on IA32 but should be available shortly.
16901 Changed the initialization sequence to start the ACPI interpreter
16902 (acpi_init) prior to initialization of the PCI driver (pci_init)
16903 in init/main.c. This ordering is required to support PRT and
16904 facilitate other (future) enhancement. A side effect is that the
16905 ACPI bus driver and certain device drivers can no longer be loaded
16908 Modified the 'make menuconfig' options to allow PCI Interrupt
16909 Routing support to be included without the ACPI Bus and other
16912 3) ASL Compiler, version X2033:
16914 Fixed some issues with the use of the new CopyObject and
16915 DataTableRegion operators. Both are fully functional.
16917 ----------------------------------------
16918 Summary of changes for this label: 11_20_01
16920 20 November 2001. Summary of changes for this release.
16922 1) ACPI CA Core Subsystem:
16924 Updated Index support to match ACPI 2.0 semantics. Storing a
16925 Integer, String, or Buffer to an Index of a Buffer will store only
16926 the least-significant byte of the source to the Indexed buffer
16927 byte. Multiple writes are not performed.
16929 Fixed a problem where the access type used in an AccessAs ASL
16930 operator was not recorded correctly into the field object.
16932 Fixed a problem where ASL Event objects were created in a
16933 signalled state. Events are now created in an unsignalled state.
16935 The internal object cache is now purged after table loading and
16936 initialization to reduce the use of dynamic kernel memory -- on
16937 the assumption that object use is greatest during the parse phase
16938 of the entire table (versus the run-time use of individual control
16941 ACPI 2.0 variable-length packages are now fully operational.
16943 Code and Data Size: Code and Data optimizations have permitted new
16944 feature development with an actual reduction in the library size.
16945 Current core subsystem library sizes are shown below. These are
16946 the code and data sizes for the acpica.lib produced by the
16947 Microsoft Visual C++ 6.0 compiler, and these values do not include
16948 any ACPI driver or OSPM code. The debug version of the code
16949 includes the debug output trace mechanism and has a larger code
16950 and data size. Note that these values will vary depending on the
16951 efficiency of the compiler and the compiler options used during
16954 Previous Release (11_09_01):
16955 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
16956 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
16959 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
16960 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
16964 Enhanced the ACPI boot-time initialization code to allow the use
16965 of Local APIC tables for processor enumeration on IA-32, and to
16966 pave the way for a fully MPS-free boot (on SMP systems) in the
16967 near future. This functionality replaces
16968 arch/i386/kernel/acpitables.c, which was introduced in an earlier
16969 2.4.15-preX release. To enable this feature you must add
16970 "acpi_boot=on" to the kernel command line -- see the help entry
16971 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
16974 Restructured the configuration options to allow boot-time table
16975 parsing support without inclusion of the ACPI Interpreter (and
16978 NOTE: This release does not include fixes for the reported events,
16979 power-down, and thermal passive cooling issues (coming soon).
16983 Added additional typechecking for Fields within restricted access
16984 Operation Regions. All fields within EC and CMOS regions must be
16985 declared with ByteAcc. All fields within SMBus regions must be
16986 declared with the BufferAcc access type.
16988 Fixed a problem where the listing file output of control methods
16989 no longer interleaved the actual AML code with the ASL source
16995 ----------------------------------------
16996 Summary of changes for this label: 11_09_01
16998 1) ACPI CA Core Subsystem:
17000 Implemented ACPI 2.0-defined support for writes to fields with a
17001 Buffer, String, or Integer source operand that is smaller than the
17002 target field. In these cases, the source operand is zero-extended
17003 to fill the target field.
17005 Fixed a problem where a Field starting bit offset (within the
17006 parent operation region) was calculated incorrectly if the
17008 alignment of the field differed from the access width. This
17009 affected CreateWordField, CreateDwordField, CreateQwordField, and
17010 possibly other fields that use the "AccessAny" keyword.
17012 Fixed a problem introduced in the 11_02_01 release where indirect
17013 stores through method arguments did not operate correctly.
17017 Implemented boot-time ACPI table parsing support
17018 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
17019 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
17020 legacy BIOS interfaces (e.g. MPS) for the configuration of system
17021 processors, memory, and interrupts during setup_arch(). Note that
17022 this patch does not include the required architecture-specific
17023 changes required to apply this information -- subsequent patches
17024 will be posted for both IA32 and IA64 to achieve this.
17026 Added low-level sleep support for IA32 platforms, courtesy of Pat
17027 Mochel. This allows IA32 systems to transition to/from various
17028 sleeping states (e.g. S1, S3), although the lack of a centralized
17029 driver model and power-manageable drivers will prevent its
17030 (successful) use on most systems.
17032 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
17033 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
17034 tables" option, etc.
17036 Increased the default timeout for the EC driver from 1ms to 10ms
17037 (1000 cycles of 10us) to try to address AE_TIME errors during EC
17040 ----------------------------------------
17041 Summary of changes for this label: 11_02_01
17043 1) ACPI CA Core Subsystem:
17045 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
17046 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
17049 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
17050 changes to support ACPI 2.0 Qword field access. Read/Write
17051 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
17052 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
17053 the value parameter for the address space handler interface is now
17054 an ACPI_INTEGER. OSL implementations of these interfaces must now
17055 handle the case where the Width parameter is 64.
17057 Index Fields: Fixed a problem where unaligned bit assembly and
17058 disassembly for IndexFields was not supported correctly.
17060 Index and Bank Fields: Nested Index and Bank Fields are now
17061 supported. During field access, a check is performed to ensure
17062 that the value written to an Index or Bank register is not out of
17063 the range of the register. The Index (or Bank) register is
17064 written before each access to the field data. Future support will
17065 include allowing individual IndexFields to be wider than the
17066 DataRegister width.
17068 Fields: Fixed a problem where the AML interpreter was incorrectly
17069 attempting to write beyond the end of a Field/OpRegion. This was
17070 a boundary case that occurred when a DWORD field was written to a
17071 BYTE access OpRegion, forcing multiple writes and causing the
17072 interpreter to write one datum too many.
17074 Fields: Fixed a problem with Field/OpRegion access where the
17075 starting bit address of a field was incorrectly calculated if the
17076 current access type was wider than a byte (WordAcc, DwordAcc, or
17079 Fields: Fixed a problem where forward references to individual
17080 FieldUnits (individual Field names within a Field definition) were
17081 not resolved during the AML table load.
17083 Fields: Fixed a problem where forward references from a Field
17084 definition to the parent Operation Region definition were not
17085 resolved during the AML table load.
17087 Fields: Duplicate FieldUnit names within a scope are now detected
17088 during AML table load.
17090 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
17091 returned an incorrect name for the root node.
17093 Code and Data Size: Code and Data optimizations have permitted new
17094 feature development with an actual reduction in the library size.
17095 Current core subsystem library sizes are shown below. These are
17096 the code and data sizes for the acpica.lib produced by the
17097 Microsoft Visual C++ 6.0 compiler, and these values do not include
17098 any ACPI driver or OSPM code. The debug version of the code
17099 includes the debug output trace mechanism and has a larger code
17100 and data size. Note that these values will vary depending on the
17101 efficiency of the compiler and the compiler options used during
17104 Previous Release (10_18_01):
17105 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
17106 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
17109 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
17110 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
17114 Improved /proc processor output (Pavel Machek) Re-added
17115 MODULE_LICENSE("GPL") to all modules.
17117 3) ASL Compiler version X2030:
17119 Duplicate FieldUnit names within a scope are now detected and
17124 Programmer Reference updated to reflect OSL and address space
17125 handler interface changes described above.
17127 ----------------------------------------
17128 Summary of changes for this label: 10_18_01
17130 ACPI CA Core Subsystem:
17132 Fixed a problem with the internal object reference count mechanism
17133 that occasionally caused premature object deletion. This resolves
17134 all of the outstanding problem reports where an object is deleted
17135 in the middle of an interpreter evaluation. Although this problem
17136 only showed up in rather obscure cases, the solution to the
17137 problem involved an adjustment of all reference counts involving
17138 objects attached to namespace nodes.
17140 Fixed a problem with Field support in the interpreter where
17141 writing to an aligned field whose length is an exact multiple (2
17142 or greater) of the field access granularity would cause an attempt
17143 to write beyond the end of the field.
17145 The top level AML opcode execution functions within the
17146 interpreter have been renamed with a more meaningful and
17147 consistent naming convention. The modules exmonad.c and
17148 exdyadic.c were eliminated. New modules are exoparg1.c,
17149 exoparg2.c, exoparg3.c, and exoparg6.c.
17151 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
17153 Fixed a problem where the AML debugger was causing some internal
17154 objects to not be deleted during subsystem termination.
17156 Fixed a problem with the external AcpiEvaluateObject interface
17157 where the subsystem would fault if the named object to be
17158 evaluated referred to a constant such as Zero, Ones, etc.
17160 Fixed a problem with IndexFields and BankFields where the
17161 subsystem would fault if the index, data, or bank registers were
17162 not defined in the same scope as the field itself.
17164 Added printf format string checking for compilers that support
17165 this feature. Corrected more than 50 instances of issues with
17166 format specifiers within invocations of ACPI_DEBUG_PRINT
17167 throughout the core subsystem code.
17169 The ASL "Revision" operator now returns the ACPI support level
17170 implemented in the core - the value "2" since the ACPI 2.0 support
17171 is more than 50% implemented.
17173 Enhanced the output of the AML debugger "dump namespace" command
17174 to output in a more human-readable form.
17176 Current core subsystem library code sizes are shown below. These
17178 are the code and data sizes for the acpica.lib produced by the
17179 Microsoft Visual C++ 6.0 compiler, and these values do not include
17180 any ACPI driver or OSPM code. The debug version of the code
17181 includes the full debug trace mechanism -- leading to a much
17183 larger code and data size. Note that these values will vary
17184 depending on the efficiency of the compiler and the compiler
17185 options used during generation.
17187 Previous Label (09_20_01):
17188 Non-Debug Version: 65K Code, 5K Data, 70K Total
17189 Debug Version: 138K Code, 58K Data, 196K Total
17193 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
17194 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
17198 Implemented a "Bad BIOS Blacklist" to track machines that have
17199 known ASL/AML problems.
17201 Enhanced the /proc interface for the thermal zone driver and added
17202 support for _HOT (the critical suspend trip point). The 'info'
17203 file now includes threshold/policy information, and allows setting
17204 of _SCP (cooling preference) and _TZP (polling frequency) values
17205 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
17206 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
17207 preference to the passive/quiet mode (if supported by the ASL).
17209 Implemented a workaround for a gcc bug that resuted in an OOPs
17210 when loading the control method battery driver.
17212 ----------------------------------------
17213 Summary of changes for this label: 09_20_01
17215 ACPI CA Core Subsystem:
17217 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
17218 modified to allow individual GPE levels to be flagged as wake-
17219 enabled (i.e., these GPEs are to remain enabled when the platform
17222 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
17223 support wake-enabled GPEs. This means that upon entering the
17224 sleep state, all GPEs that are not wake-enabled are disabled.
17225 When leaving the sleep state, these GPEs are re-enabled.
17227 A local double-precision divide/modulo module has been added to
17228 enhance portability to OS kernels where a 64-bit math library is
17229 not available. The new module is "utmath.c".
17231 Several optimizations have been made to reduce the use of CPU
17232 stack. Originally over 2K, the maximum stack usage is now below
17233 2K at 1860 bytes (1.82k)
17235 Fixed a problem with the AcpiGetFirmwareTable interface where the
17236 root table pointer was not mapped into a logical address properly.
17238 Fixed a problem where a NULL pointer was being dereferenced in the
17239 interpreter code for the ASL Notify operator.
17241 Fixed a problem where the use of the ASL Revision operator
17242 returned an error. This operator now returns the current version
17243 of the ACPI CA core subsystem.
17245 Fixed a problem where objects passed as control method parameters
17246 to AcpiEvaluateObject were always deleted at method termination.
17247 However, these objects may end up being stored into the namespace
17248 by the called method. The object reference count mechanism was
17249 applied to these objects instead of a force delete.
17251 Fixed a problem where static strings or buffers (contained in the
17252 AML code) that are declared as package elements within the ASL
17253 code could cause a fault because the interpreter would attempt to
17254 delete them. These objects are now marked with the "static
17255 object" flag to prevent any attempt to delete them.
17257 Implemented an interpreter optimization to use operands directly
17258 from the state object instead of extracting the operands to local
17259 variables. This reduces stack use and code size, and improves
17262 The module exxface.c was eliminated as it was an unnecessary extra
17265 Current core subsystem library code sizes are shown below. These
17266 are the code and data sizes for the acpica.lib produced by the
17267 Microsoft Visual C++ 6.0 compiler, and these values do not include
17268 any ACPI driver or OSPM code. The debug version of the code
17269 includes the full debug trace mechanism -- leading to a much
17270 larger code and data size. Note that these values will vary
17271 depending on the efficiency of the compiler and the compiler
17272 options used during generation.
17274 Non-Debug Version: 65K Code, 5K Data, 70K Total
17275 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
17276 Total (Previously 195K)
17280 Support for ACPI 2.0 64-bit integers has been added. All ACPI
17281 Integer objects are now 64 bits wide
17283 All Acpi data types and structures are now in lower case. Only
17284 Acpi macros are upper case for differentiation.
17288 Changes to the external interfaces as described above.
17290 ----------------------------------------
17291 Summary of changes for this label: 08_31_01
17293 ACPI CA Core Subsystem:
17295 A bug with interpreter implementation of the ASL Divide operator
17296 was found and fixed. The implicit function return value (not the
17297 explicit store operands) was returning the remainder instead of
17298 the quotient. This was a longstanding bug and it fixes several
17299 known outstanding issues on various platforms.
17301 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
17302 been further optimized for size. There are 700 invocations of the
17303 DEBUG_PRINT macro alone, so each optimization reduces the size of
17304 the debug version of the subsystem significantly.
17306 A stack trace mechanism has been implemented. The maximum stack
17307 usage is about 2K on 32-bit platforms. The debugger command "stat
17308 stack" will display the current maximum stack usage.
17310 All public symbols and global variables within the subsystem are
17311 now prefixed with the string "Acpi". This keeps all of the
17312 symbols grouped together in a kernel map, and avoids conflicts
17313 with other kernel subsystems.
17315 Most of the internal fixed lookup tables have been moved into the
17316 code segment via the const operator.
17318 Several enhancements have been made to the interpreter to both
17319 reduce the code size and improve performance.
17321 Current core subsystem library code sizes are shown below. These
17322 are the code and data sizes for the acpica.lib produced by the
17323 Microsoft Visual C++ 6.0 compiler, and these values do not include
17324 any ACPI driver or OSPM code. The debug version of the code
17325 includes the full debug trace mechanism which contains over 700
17326 invocations of the DEBUG_PRINT macro, 500 function entry macro
17327 invocations, and over 900 function exit macro invocations --
17328 leading to a much larger code and data size. Note that these
17329 values will vary depending on the efficiency of the compiler and
17330 the compiler options used during generation.
17332 Non-Debug Version: 64K Code, 5K Data, 69K Total
17333 Debug Version: 137K Code, 58K Data, 195K Total
17337 Implemented wbinvd() macro, pending a kernel-wide definition.
17339 Fixed /proc/acpi/event to handle poll() and short reads.
17341 ASL Compiler, version X2026:
17343 Fixed a problem introduced in the previous label where the AML
17345 code emitted for package objects produced packages with zero
17348 ----------------------------------------
17349 Summary of changes for this label: 08_16_01
17351 ACPI CA Core Subsystem:
17353 The following ACPI 2.0 ASL operators have been implemented in the
17354 AML interpreter (These are already supported by the Intel ASL
17355 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
17356 ToBuffer. Support for 64-bit AML constants is implemented in the
17357 AML parser, debugger, and disassembler.
17359 The internal memory tracking mechanism (leak detection code) has
17360 been upgraded to reduce the memory overhead (a separate tracking
17361 block is no longer allocated for each memory allocation), and now
17362 supports all of the internal object caches.
17364 The data structures and code for the internal object caches have
17365 been coelesced and optimized so that there is a single cache and
17366 memory list data structure and a single group of functions that
17367 implement generic cache management. This has reduced the code
17368 size in both the debug and release versions of the subsystem.
17370 The DEBUG_PRINT macro(s) have been optimized for size and replaced
17371 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
17372 different, because it generates a single call to an internal
17373 function. This results in a savings of about 90 bytes per
17374 invocation, resulting in an overall code and data savings of about
17375 16% in the debug version of the subsystem.
17379 Fixed C3 disk corruption problems and re-enabled C3 on supporting
17382 Integrated low-level sleep code by Patrick Mochel.
17384 Further tweaked source code Linuxization.
17390 Support for ACPI 2.0 variable length packages is fixed/completed.
17392 Fixed a problem where the optional length parameter for the ACPI
17393 2.0 ToString operator.
17395 Fixed multiple extraneous error messages when a syntax error is
17396 detected within the declaration line of a control method.
17398 ----------------------------------------
17399 Summary of changes for this label: 07_17_01
17401 ACPI CA Core Subsystem:
17403 Added a new interface named AcpiGetFirmwareTable to obtain any
17404 ACPI table via the ACPI signature. The interface can be called at
17405 any time during kernel initialization, even before the kernel
17406 virtual memory manager is initialized and paging is enabled. This
17407 allows kernel subsystems to obtain ACPI tables very early, even
17408 before the ACPI CA subsystem is initialized.
17410 Fixed a problem where Fields defined with the AnyAcc attribute
17411 could be resolved to the incorrect address under the following
17412 conditions: 1) the field width is larger than 8 bits and 2) the
17413 parent operation region is not defined on a DWORD boundary.
17415 Fixed a problem where the interpreter is not being locked during
17416 namespace initialization (during execution of the _INI control
17417 methods), causing an error when an attempt is made to release it
17420 ACPI 2.0 support in the AML Interpreter has begun and will be
17421 ongoing throughout the rest of this year. In this label, The Mod
17422 operator is implemented.
17424 Added a new data type to contain full PCI addresses named
17425 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
17426 and Function values.
17430 Enhanced the Linux version of the source code to change most
17431 capitalized ACPI type names to lowercase. For example, all
17432 instances of ACPI_STATUS are changed to acpi_status. This will
17433 result in a large diff, but the change is strictly cosmetic and
17434 aligns the CA code closer to the Linux coding standard.
17438 The interfaces to the PCI configuration space have been changed to
17439 add the PCI Segment number and to split the single 32-bit combined
17440 DeviceFunction field into two 16-bit fields. This was
17441 accomplished by moving the four values that define an address in
17442 PCI configuration space (segment, bus, device, and function) to
17443 the new ACPI_PCI_ID structure.
17445 The changes to the PCI configuration space interfaces led to a
17446 reexamination of the complete set of address space access
17447 interfaces for PCI, I/O, and Memory. The previously existing 18
17448 interfaces have proven difficult to maintain (any small change
17449 must be propagated across at least 6 interfaces) and do not easily
17450 allow for future expansion to 64 bits if necessary. Also, on some
17451 systems, it would not be appropriate to demultiplex the access
17452 width (8, 16, 32,or 64) before calling the OSL if the
17453 corresponding native OS interfaces contain a similar access width
17454 parameter. For these reasons, the 18 address space interfaces
17455 have been replaced by these 6 new ones:
17457 AcpiOsReadPciConfiguration
17458 AcpiOsWritePciConfiguration
17464 Added a new interface named AcpiOsGetRootPointer to allow the OSL
17465 to perform the platform and/or OS-specific actions necessary to
17466 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
17467 interface will simply call down to the CA core to perform the low-
17468 memory search for the table. On IA-64, the RSDP is obtained from
17469 EFI. Migrating this interface to the OSL allows the CA core to
17471 remain OS and platform independent.
17473 Added a new interface named AcpiOsSignal to provide a generic
17474 "function code and pointer" interface for various miscellaneous
17475 signals and notifications that must be made to the host OS. The
17476 first such signals are intended to support the ASL Fatal and
17477 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
17478 interface has been obsoleted.
17480 The definition of the AcpiFormatException interface has been
17481 changed to simplify its use. The caller no longer must supply a
17482 buffer to the call; A pointer to a const string is now returned
17483 directly. This allows the call to be easily used in printf
17484 statements, etc. since the caller does not have to manage a local
17488 ASL Compiler, Version X2025:
17490 The ACPI 2.0 Switch/Case/Default operators have been implemented
17491 and are fully functional. They will work with all ACPI 1.0
17492 interpreters, since the operators are simply translated to If/Else
17495 The ACPI 2.0 ElseIf operator is implemented and will also work
17496 with 1.0 interpreters, for the same reason.
17498 Implemented support for ACPI 2.0 variable-length packages. These
17499 packages have a separate opcode, and their size is determined by
17500 the interpreter at run-time.
17502 Documentation The ACPI CA Programmer Reference has been updated to
17503 reflect the new interfaces and changes to existing interfaces.
17505 ------------------------------------------
17506 Summary of changes for this label: 06_15_01
17508 ACPI CA Core Subsystem:
17510 Fixed a problem where a DWORD-accessed field within a Buffer
17511 object would get its byte address inadvertently rounded down to
17512 the nearest DWORD. Buffers are always Byte-accessible.
17514 ASL Compiler, version X2024:
17516 Fixed a problem where the Switch() operator would either fault or
17517 hang the compiler. Note however, that the AML code for this ACPI
17518 2.0 operator is not yet implemented.
17520 Compiler uses the new AcpiOsGetTimer interface to obtain compile
17523 Implementation of the CreateField operator automatically converts
17524 a reference to a named field within a resource descriptor from a
17525 byte offset to a bit offset if required.
17527 Added some missing named fields from the resource descriptor
17528 support. These are the names that are automatically created by the
17529 compiler to reference fields within a descriptor. They are only
17530 valid at compile time and are not passed through to the AML
17533 Resource descriptor named fields are now typed as Integers and
17534 subject to compile-time typechecking when used in expressions.
17536 ------------------------------------------
17537 Summary of changes for this label: 05_18_01
17539 ACPI CA Core Subsystem:
17541 Fixed a couple of problems in the Field support code where bits
17542 from adjacent fields could be returned along with the proper field
17543 bits. Restructured the field support code to improve performance,
17544 readability and maintainability.
17546 New DEBUG_PRINTP macro automatically inserts the procedure name
17547 into the output, saving hundreds of copies of procedure name
17548 strings within the source, shrinking the memory footprint of the
17549 debug version of the core subsystem.
17551 Source Code Structure:
17553 The source code directory tree was restructured to reflect the
17554 current organization of the component architecture. Some files
17555 and directories have been moved and/or renamed.
17559 Fixed leaking kacpidpc processes.
17561 Fixed queueing event data even when /proc/acpi/event is not
17564 ASL Compiler, version X2020:
17566 Memory allocation performance enhancement - over 24X compile time
17567 improvement on large ASL files. Parse nodes and namestring
17568 buffers are now allocated from a large internal compiler buffer.
17570 The temporary .SRC file is deleted unless the "-s" option is
17573 The "-d" debug output option now sends all output to the .DBG file
17574 instead of the console.
17576 "External" second parameter is now optional
17578 "ElseIf" syntax now properly allows the predicate
17580 Last operand to "Load" now recognized as a Target operand
17582 Debug object can now be used anywhere as a normal object.
17584 ResourceTemplate now returns an object of type BUFFER
17586 EISAID now returns an object of type INTEGER
17588 "Index" now works with a STRING operand
17590 "LoadTable" now accepts optional parameters
17592 "ToString" length parameter is now optional
17594 "Interrupt (ResourceType," parse error fixed.
17596 "Register" with a user-defined region space parse error fixed
17598 Escaped backslash at the end of a string ("\\") scan/parse error
17601 "Revision" is now an object of type INTEGER.
17605 ------------------------------------------
17606 Summary of changes for this label: 05_02_01
17610 /proc/acpi/event now blocks properly.
17612 Removed /proc/sys/acpi. You can still dump your DSDT from
17615 ACPI CA Core Subsystem:
17617 Fixed a problem introduced in the previous label where some of the
17618 "small" resource descriptor types were not recognized.
17620 Improved error messages for the case where an ASL Field is outside
17621 the range of the parent operation region.
17623 ASL Compiler, version X2018:
17626 Added error detection for ASL Fields that extend beyond the length
17627 of the parent operation region (only if the length of the region
17628 is known at compile time.) This includes fields that have a
17629 minimum access width that is smaller than the parent region, and
17630 individual field units that are partially or entirely beyond the
17631 extent of the parent.
17635 ------------------------------------------
17636 Summary of changes for this label: 04_27_01
17638 ACPI CA Core Subsystem:
17640 Fixed a problem where the namespace mutex could be released at the
17641 wrong time during execution of AcpiRemoveAddressSpaceHandler.
17643 Added optional thread ID output for debug traces, to simplify
17644 debugging of multiple threads. Added context switch notification
17645 when the debug code realizes that a different thread is now
17646 executing ACPI code.
17648 Some additional external data types have been prefixed with the
17649 string "ACPI_" for consistency. This may effect existing code.
17650 The data types affected are the external callback typedefs - e.g.,
17652 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
17656 Fixed an issue with the OSL semaphore implementation where a
17657 thread was waking up with an error from receiving a SIGCHLD
17660 Linux version of ACPI CA now uses the system C library for string
17661 manipulation routines instead of a local implementation.
17663 Cleaned up comments and removed TBDs.
17665 ASL Compiler, version X2017:
17667 Enhanced error detection and reporting for all file I/O
17672 Programmer Reference updated to version 1.06.
17676 ------------------------------------------
17677 Summary of changes for this label: 04_13_01
17679 ACPI CA Core Subsystem:
17681 Restructured support for BufferFields and RegionFields.
17682 BankFields support is now fully operational. All known 32-bit
17683 limitations on field sizes have been removed. Both BufferFields
17684 and (Operation) RegionFields are now supported by the same field
17687 Resource support now supports QWORD address and IO resources. The
17688 16/32/64 bit address structures and the Extended IRQ structure
17689 have been changed to properly handle Source Resource strings.
17691 A ThreadId of -1 is now used to indicate a "mutex not acquired"
17692 condition internally and must never be returned by AcpiOsThreadId.
17693 This reserved value was changed from 0 since Unix systems allow a
17698 Driver code reorganized to enhance portability
17700 Added a kernel configuration option to control ACPI_DEBUG
17702 Fixed the EC driver to honor _GLK.
17704 ASL Compiler, version X2016:
17706 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
17707 address space was set to 0, not 0x7f as it should be.
17709 ------------------------------------------
17710 Summary of changes for this label: 03_13_01
17712 ACPI CA Core Subsystem:
17714 During ACPI initialization, the _SB_._INI method is now run if
17717 Notify handler fix - notifies are deferred until the parent method
17718 completes execution. This fixes the "mutex already acquired"
17719 issue seen occasionally.
17721 Part of the "implicit conversion" rules in ACPI 2.0 have been
17722 found to cause compatibility problems with existing ASL/AML. The
17723 convert "result-to-target-type" implementation has been removed
17724 for stores to method Args and Locals. Source operand conversion
17725 is still fully implemented. Possible changes to ACPI 2.0
17726 specification pending.
17728 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
17731 Fix for compiler warnings for 64-bit compiles.
17735 /proc output aligned for easier parsing.
17737 Release-version compile problem fixed.
17739 New kernel configuration options documented in Configure.help.
17741 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
17746 Power resource driver integrated with bus manager.
17748 Fixed kernel fault during active cooling for thermal zones.
17752 The source code tree has been restructured.
17756 ------------------------------------------
17757 Summary of changes for this label: 03_02_01
17759 Linux OS Services Layer (OSL):
17761 Major revision of all Linux-specific code.
17763 Modularized all ACPI-specific drivers.
17765 Added new thermal zone and power resource drivers.
17767 Revamped /proc interface (new functionality is under /proc/acpi).
17769 New kernel configuration options.
17771 Linux known issues:
17773 New kernel configuration options not documented in Configure.help
17777 Module dependencies not currently implemented. If used, they
17778 should be loaded in this order: busmgr, power, ec, system,
17779 processor, battery, ac_adapter, button, thermal.
17781 Modules will not load if CONFIG_MODVERSION is set.
17783 IBM 600E - entering S5 may reboot instead of shutting down.
17785 IBM 600E - Sleep button may generate "Invalid <NULL> context"
17788 Some systems may fail with "execution mutex already acquired"
17791 ACPI CA Core Subsystem:
17793 Added a new OSL Interface, AcpiOsGetThreadId. This was required
17794 for the deadlock detection code. Defined to return a non-zero, 32-
17795 bit thread ID for the currently executing thread. May be a non-
17796 zero constant integer on single-thread systems.
17798 Implemented deadlock detection for internal subsystem mutexes. We
17799 may add conditional compilation for this code (debug only) later.
17801 ASL/AML Mutex object semantics are now fully supported. This
17802 includes multiple acquires/releases by owner and support for the
17804 Mutex SyncLevel parameter.
17806 A new "Force Release" mechanism automatically frees all ASL
17807 Mutexes that have been acquired but not released when a thread
17808 exits the interpreter. This forces conformance to the ACPI spec
17809 ("All mutexes must be released when an invocation exits") and
17810 prevents deadlocked ASL threads. This mechanism can be expanded
17811 (later) to monitor other resource acquisitions if OEM ASL code
17812 continues to misbehave (which it will).
17814 Several new ACPI exception codes have been added for the Mutex
17817 Recursive method calls are now allowed and supported (the ACPI
17818 spec does in fact allow recursive method calls.) The number of
17819 recursive calls is subject to the restrictions imposed by the
17820 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
17823 Implemented support for the SyncLevel parameter for control
17824 methods (ACPI 2.0 feature)
17826 Fixed a deadlock problem when multiple threads attempted to use
17829 Fixed a problem where the string length of a String package
17830 element was not always set in a package returned from
17831 AcpiEvaluateObject.
17833 Fixed a problem where the length of a String package element was
17834 not always included in the length of the overall package returned
17835 from AcpiEvaluateObject.
17837 Added external interfaces (Acpi*) to the ACPI debug memory
17838 manager. This manager keeps a list of all outstanding
17839 allocations, and can therefore detect memory leaks and attempts to
17840 free memory blocks more than once. Useful for code such as the
17841 power manager, etc. May not be appropriate for device drivers.
17842 Performance with the debug code enabled is slow.
17844 The ACPI Global Lock is now an optional hardware element.
17846 ASL Compiler Version X2015:
17848 Integrated changes to allow the compiler to be generated on
17849 multiple platforms.
17851 Linux makefile added to generate the compiler on Linux
17855 All platform-specific headers have been moved to their own
17856 subdirectory, Include/Platform.
17858 New source file added, Interpreter/ammutex.c
17860 New header file, Include/acstruct.h
17864 The programmer reference has been updated for the following new
17865 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
17867 ------------------------------------------
17868 Summary of changes for this label: 02_08_01
17870 Core ACPI CA Subsystem: Fixed a problem where an error was
17871 incorrectly returned if the return resource buffer was larger than
17872 the actual data (in the resource interfaces).
17874 References to named objects within packages are resolved to the
17876 full pathname string before packages are returned directly (via
17877 the AcpiEvaluateObject interface) or indirectly via the resource
17880 Linux OS Services Layer (OSL):
17882 Improved /proc battery interface.
17885 Added C-state debugging output and other miscellaneous fixes.
17887 ASL Compiler Version X2014:
17889 All defined method arguments can now be used as local variables,
17890 including the ones that are not actually passed in as parameters.
17891 The compiler tracks initialization of the arguments and issues an
17892 exception if they are used without prior assignment (just like
17895 The -o option now specifies a filename prefix that is used for all
17896 output files, including the AML output file. Otherwise, the
17897 default behavior is as follows: 1) the AML goes to the file
17898 specified in the DSDT. 2) all other output files use the input
17899 source filename as the base.
17901 ------------------------------------------
17902 Summary of changes for this label: 01_25_01
17904 Core ACPI CA Subsystem: Restructured the implementation of object
17905 store support within the interpreter. This includes support for
17906 the Store operator as well as any ASL operators that include a
17909 Partially implemented support for Implicit Result-to-Target
17910 conversion. This is when a result object is converted on the fly
17911 to the type of an existing target object. Completion of this
17912 support is pending further analysis of the ACPI specification
17913 concerning this matter.
17915 CPU-specific code has been removed from the subsystem (hardware
17918 New Power Management Timer functions added
17920 Linux OS Services Layer (OSL): Moved system state transition code
17921 to the core, fixed it, and modified Linux OSL accordingly.
17923 Fixed C2 and C3 latency calculations.
17926 We no longer use the compilation date for the version message on
17927 initialization, but retrieve the version from AcpiGetSystemInfo().
17929 Incorporated for fix Sony VAIO machines.
17931 Documentation: The Programmer Reference has been updated and
17935 ASL Compiler: Version X2013: Fixed a problem where the line
17936 numbering and error reporting could get out of sync in the
17937 presence of multiple include files.
17939 ------------------------------------------
17940 Summary of changes for this label: 01_15_01
17942 Core ACPI CA Subsystem:
17944 Implemented support for type conversions in the execution of the
17945 ASL Concatenate operator (The second operand is converted to
17946 match the type of the first operand before concatenation.)
17948 Support for implicit source operand conversion is partially
17949 implemented. The ASL source operand types Integer, Buffer, and
17950 String are freely interchangeable for most ASL operators and are
17951 converted by the interpreter on the fly as required. Implicit
17952 Target operand conversion (where the result is converted to the
17953 target type before storing) is not yet implemented.
17955 Support for 32-bit and 64-bit BCD integers is implemented.
17957 Problem fixed where a field read on an aligned field could cause a
17958 read past the end of the field.
17960 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
17961 does not return a value, but the caller expects one. (The ASL
17962 compiler flags this as a warning.)
17967 1. Static typechecking of all operands is implemented. This
17968 prevents the use of invalid objects (such as using a Package where
17969 an Integer is required) at compile time instead of at interpreter
17971 2. The ASL source line is printed with ALL errors and warnings.
17972 3. Bug fix for source EOF without final linefeed.
17973 4. Debug option is split into a parse trace and a namespace trace.
17974 5. Namespace output option (-n) includes initial values for
17975 integers and strings.
17976 6. Parse-only option added for quick syntax checking.
17977 7. Compiler checks for duplicate ACPI name declarations
17980 1. Relaxed typechecking to allow interchangeability between
17981 strings, integers, and buffers. These types are now converted by
17982 the interpreter at runtime.
17983 2. Compiler reports time taken by each internal subsystem in the
17987 ------------------------------------------
17988 Summary of changes for this label: 12_14_00
17992 This is the first official release of the compiler. Since the
17993 compiler requires elements of the Core Subsystem, this label
17994 synchronizes everything.
17996 ------------------------------------------
17997 Summary of changes for this label: 12_08_00
18000 Fixed a problem where named references within the ASL definition
18001 of both OperationRegions and CreateXXXFields did not work
18002 properly. The symptom was an AE_AML_OPERAND_TYPE during
18003 initialization of the region/field. This is similar (but not
18004 related internally) to the problem that was fixed in the last
18007 Implemented both 32-bit and 64-bit support for the BCD ASL
18008 functions ToBCD and FromBCD.
18010 Updated all legal headers to include "2000" in the copyright
18013 ------------------------------------------
18014 Summary of changes for this label: 12_01_00
18016 Fixed a problem where method invocations within the ASL definition
18017 of both OperationRegions and CreateXXXFields did not work
18018 properly. The symptom was an AE_AML_OPERAND_TYPE during
18019 initialization of the region/field:
18021 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
18022 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
18025 Fixed a problem where operators with more than one nested
18026 subexpression would fail. The symptoms were varied, by mostly
18027 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
18028 problem that has gone unnoticed until now.
18030 Subtract (Add (1,2), Multiply (3,4))
18032 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
18033 previous build (The prefix part of a relative path was handled
18036 Fixed a problem where Operation Region initialization failed if
18037 the operation region name was a "namepath" instead of a simple
18038 "nameseg". Symptom was an AE_NO_OPERAND error.
18040 Fixed a problem where an assignment to a local variable via the
18041 indirect RefOf mechanism only worked for the first such
18042 assignment. Subsequent assignments were ignored.
18044 ------------------------------------------
18045 Summary of changes for this label: 11_15_00
18047 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
18048 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
18049 the AML interpreter does NOT have support for the new 2.0 ASL
18050 grammar terms at this time.
18052 All ACPI hardware access is via the GAS structures in the ACPI 2.0
18055 All physical memory addresses across all platforms are now 64 bits
18056 wide. Logical address width remains dependent on the platform
18059 AcpiOsMapMemory interface changed to a 64-bit physical address.
18061 The AML interpreter integer size is now 64 bits, as per the ACPI
18064 For backwards compatibility with ACPI 1.0, ACPI tables with a
18065 revision number less than 2 use 32-bit integers only.
18067 Fixed a problem where the evaluation of OpRegion operands did not
18068 always resolve them to numbers properly.
18070 ------------------------------------------
18071 Summary of changes for this label: 10_20_00
18073 Fix for CBN_._STA issue. This fix will allow correct access to
18074 CBN_ OpRegions when the _STA returns 0x8.
18076 Support to convert ACPI constants (Ones, Zeros, One) to actual
18077 values before a package object is returned
18079 Fix for method call as predicate to if/while construct causing
18080 incorrect if/while behavior
18082 Fix for Else block package lengths sometimes calculated wrong (if
18085 Fix for Processor object length field, was always zero
18087 Table load abort if FACP sanity check fails
18089 Fix for problem with Scope(name) if name already exists
18091 Warning emitted if a named object referenced cannot be found
18092 (resolved) during method execution.
18098 ------------------------------------------
18099 Summary of changes for this label: 9_29_00
18101 New table initialization interfaces: AcpiInitializeSubsystem no
18102 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
18103 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
18104 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
18107 Note: These interface changes require changes to all existing OSDs
18109 The PCI_Config default address space handler is always installed
18110 at the root namespace object.
18112 -------------------------------------------
18113 Summary of changes for this label: 09_15_00
18115 The new initialization architecture is implemented. New
18116 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
18117 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
18119 (Namespace is automatically loaded when a table is loaded)
18121 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
18122 52 bytes to 32 bytes. There is usually one of these for every
18123 namespace object, so the memory savings is significant.
18125 Implemented just-in-time evaluation of the CreateField operators.
18127 Bug fixes for IA-64 support have been integrated.
18129 Additional code review comments have been implemented
18131 The so-called "third pass parse" has been replaced by a final walk
18132 through the namespace to initialize all operation regions (address
18133 spaces) and fields that have not yet been initialized during the
18134 execution of the various _INI and REG methods.
18136 New file - namespace/nsinit.c
18138 -------------------------------------------
18139 Summary of changes for this label: 09_01_00
18141 Namespace manager data structures have been reworked to change the
18142 primary object from a table to a single object. This has
18143 resulted in dynamic memory savings of 3X within the namespace and
18144 2X overall in the ACPI CA subsystem.
18146 Fixed problem where the call to AcpiEvFindPciRootBuses was
18147 inadvertently left commented out.
18149 Reduced the warning count when generating the source with the GCC
18152 Revision numbers added to each module header showing the
18153 SourceSafe version of the file. Please refer to this version
18154 number when giving us feedback or comments on individual modules.
18156 The main object types within the subsystem have been renamed to
18157 clarify their purpose:
18159 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
18160 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
18161 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
18163 NOTE: no changes to the initialization sequence are included in
18166 -------------------------------------------
18167 Summary of changes for this label: 08_23_00
18169 Fixed problem where TerminateControlMethod was being called
18170 multiple times per method
18172 Fixed debugger problem where single stepping caused a semaphore to
18175 Improved performance through additional parse object caching -
18176 added ACPI_EXTENDED_OP type
18178 -------------------------------------------
18179 Summary of changes for this label: 08_10_00
18181 Parser/Interpreter integration: Eliminated the creation of
18182 complete parse trees for ACPI tables and control methods.
18183 Instead, parse subtrees are created and then deleted as soon as
18184 they are processed (Either entered into the namespace or executed
18185 by the interpreter). This reduces the use of dynamic kernel
18186 memory significantly. (about 10X)
18188 Exception codes broken into classes and renumbered. Be sure to
18189 recompile all code that includes acexcep.h. Hopefully we won't
18190 have to renumber the codes again now that they are split into
18191 classes (environment, programmer, AML code, ACPI table, and
18194 Fixed some additional alignment issues in the Resource Manager
18197 Implemented semaphore tracking in the AcpiExec utility, and fixed
18198 several places where mutexes/semaphores were being unlocked
18199 without a corresponding lock operation. There are no known
18200 semaphore or mutex "leaks" at this time.
18202 Fixed the case where an ASL Return operator is used to return an
18205 -------------------------------------------
18206 Summary of changes for this label: 07_28_00
18208 Fixed a problem with the way addresses were calculated in
18209 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
18210 manifested itself when a Field was created with WordAccess or
18211 DwordAccess, but the field unit defined within the Field was less
18213 than a Word or Dword.
18215 Fixed a problem in AmlDumpOperands() module's loop to pull
18216 operands off of the operand stack to display information. The
18217 problem manifested itself as a TLB error on 64-bit systems when
18218 accessing an operand stack with two or more operands.
18220 Fixed a problem with the PCI configuration space handlers where
18221 context was getting confused between accesses. This required a
18222 change to the generic address space handler and address space
18223 setup definitions. Handlers now get both a global handler context
18224 (this is the one passed in by the user when executing
18225 AcpiInstallAddressSpaceHandler() and a specific region context
18226 that is unique to each region (For example, the _ADR, _SEG and
18227 _BBN values associated with a specific region). The generic
18228 function definitions have changed to the following:
18230 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
18231 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
18232 *HandlerContext, // This used to be void *Context void
18233 *RegionContext); // This is an additional parameter
18235 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
18236 RegionHandle, UINT32 Function, void *HandlerContext, void
18237 **RegionContext); // This used to be **ReturnContext
18239 -------------------------------------------
18240 Summary of changes for this label: 07_21_00
18242 Major file consolidation and rename. All files within the
18243 interpreter have been renamed as well as most header files. This
18244 was done to prevent collisions with existing files in the host
18245 OSs -- filenames such as "config.h" and "global.h" seem to be
18246 quite common. The VC project files have been updated. All
18247 makefiles will require modification.
18249 The parser/interpreter integration continues in Phase 5 with the
18250 implementation of a complete 2-pass parse (the AML is parsed
18251 twice) for each table; This avoids the construction of a huge
18252 parse tree and therefore reduces the amount of dynamic memory
18253 required by the subsystem. Greater use of the parse object cache
18254 means that performance is unaffected.
18256 Many comments from the two code reviews have been rolled in.
18258 The 64-bit alignment support is complete.
18260 -------------------------------------------
18261 Summary of changes for this label: 06_30_00
18263 With a nod and a tip of the hat to the technology of yesteryear,
18264 we've added support in the source code for 80 column output
18265 devices. The code is now mostly constrained to 80 columns or
18266 less to support environments and editors that 1) cannot display
18267 or print more than 80 characters on a single line, and 2) cannot
18268 disable line wrapping.
18270 A major restructuring of the namespace data structure has been
18271 completed. The result is 1) cleaner and more
18272 understandable/maintainable code, and 2) a significant reduction
18273 in the dynamic memory requirement for each named ACPI object
18276 -------------------------------------------
18277 Summary of changes for this label: 06_23_00
18279 Linux support has been added. In order to obtain approval to get
18280 the ACPI CA subsystem into the Linux kernel, we've had to make
18281 quite a few changes to the base subsystem that will affect all
18282 users (all the changes are generic and OS- independent). The
18283 effects of these global changes have been somewhat far reaching.
18284 Files have been merged and/or renamed and interfaces have been
18285 renamed. The major changes are described below.
18287 Osd* interfaces renamed to AcpiOs* to eliminate namespace
18288 pollution/confusion within our target kernels. All OSD
18289 interfaces must be modified to match the new naming convention.
18291 Files merged across the subsystem. A number of the smaller source
18292 and header files have been merged to reduce the file count and
18293 increase the density of the existing files. There are too many
18294 to list here. In general, makefiles that call out individual
18295 files will require rebuilding.
18297 Interpreter files renamed. All interpreter files now have the
18298 prefix am* instead of ie* and is*.
18300 Header files renamed: The acapi.h file is now acpixf.h. The
18301 acpiosd.h file is now acpiosxf.h. We are removing references to
18302 the acronym "API" since it is somewhat windowsy. The new name is
18303 "external interface" or xface or xf in the filenames.j
18306 All manifest constants have been forced to upper case (some were
18307 mixed case.) Also, the string "ACPI_" has been prepended to many
18308 (not all) of the constants, typedefs, and structs.
18310 The globals "DebugLevel" and "DebugLayer" have been renamed
18311 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
18313 All other globals within the subsystem are now prefixed with
18314 "AcpiGbl_" Internal procedures within the subsystem are now
18315 prefixed with "Acpi" (with only a few exceptions). The original
18316 two-letter abbreviation for the subcomponent remains after "Acpi"
18317 - for example, CmCallocate became AcpiCmCallocate.
18319 Added a source code translation/conversion utility. Used to
18320 generate the Linux source code, it can be modified to generate
18321 other types of source as well. Can also be used to cleanup
18322 existing source by removing extraneous spaces and blank lines.
18323 Found in tools/acpisrc/*
18325 OsdUnMapMemory was renamed to OsdUnmapMemory and then
18326 AcpiOsUnmapMemory. (UnMap became Unmap).
18328 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
18329 When set to one, this indicates that the caller wants to use the
18331 semaphore as a mutex, not a counting semaphore. ACPI CA uses
18332 both types. However, implementers of this call may want to use
18333 different OS primitives depending on the type of semaphore
18334 requested. For example, some operating systems provide separate
18336 "mutex" and "semaphore" interfaces - where the mutex interface is
18337 much faster because it doesn't have all the overhead of a full
18338 semaphore implementation.
18340 Fixed a deadlock problem where a method that accesses the PCI
18341 address space can block forever if it is the first access to the
18344 -------------------------------------------
18345 Summary of changes for this label: 06_02_00
18347 Support for environments that cannot handle unaligned data
18348 accesses (e.g. firmware and OS environments devoid of alignment
18349 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
18350 been added (via configurable macros) in these three areas: -
18351 Transfer of data from the raw AML byte stream is done via byte
18352 moves instead of word/dword/qword moves. - External objects are
18353 aligned within the user buffer, including package elements (sub-
18354 objects). - Conversion of name strings to UINT32 Acpi Names is now
18357 The Store operator was modified to mimic Microsoft's
18358 implementation when storing to a Buffer Field.
18360 Added a check of the BM_STS bit before entering C3.
18362 The methods subdirectory has been obsoleted and removed. A new
18363 file, cmeval.c subsumes the functionality.
18365 A 16-bit (DOS) version of AcpiExec has been developed. The
18366 makefile is under the acpiexec directory.