1 ----------------------------------------
2 17 January 2013. Summary of changes for version 20130117:
5 1) ACPICA Kernel-resident Subsystem:
7 Updated the AcpiGetSleepTypeData interface: Allow the \_Sx methods to
8 return either 1 or 2 integers. Although the ACPI spec defines the \_Sx
9 objects to return a package containing one integer, most BIOS code returns
10 two integers and the previous code reflects that. However, we also need to
11 support BIOS code that actually implements to the ACPI spec, and this
14 Fixed two issues with the ACPI_DEBUG_PRINT macros:
15 1) Added the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro for
16 C compilers that require this support.
17 2) Renamed the internal ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since
18 ACPI_DEBUG is already used by many of the various hosts.
20 Updated all ACPICA copyrights and signons to 2013. Added the 2013
21 copyright to all module headers and signons, including the standard Linux
22 header. This affects virtually every file in the ACPICA core subsystem,
23 iASL compiler, all ACPICA utilities, and the test suites.
25 Example Code and Data Size: These are the sizes for the OS-independent
26 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
27 debug version of the code includes the debug output trace mechanism and
28 has a much larger code and data size.
31 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
32 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
34 Non-Debug Version: 94.5K Code, 25.4K Data, 119.9K Total
35 Debug Version: 182.3K Code, 75.0K Data, 257.3K Total
38 2) iASL Compiler/Disassembler and Tools:
40 Generic Unix OSL: Use a buffer to eliminate multiple vfprintf()s and
41 prevent a possible fault on some hosts. Some C libraries modify the arg
42 pointer parameter to vfprintf making it difficult to call it twice in the
43 AcpiOsVprintf function. Use a local buffer to workaround this issue. This
44 does not affect the Windows OSL since the Win C library does not modify
45 the arg pointer. Chao Guan, Bob Moore.
47 iASL: Fixed a possible infinite loop when the maximum error count is
48 reached. If an output file other than the .AML file is specified (such as
49 a listing file), and the maximum number of errors is reached, do not
50 attempt to flush data to the output file(s) as the compiler is aborting.
51 This can cause an infinite loop as the max error count code essentially
54 iASL/Disassembler: Added an option (-in) to ignore NOOP opcodes/operators.
55 Implemented for both the compiler and the disassembler. Often, the NOOP
56 opcode is used as padding for packages that are changed dynamically by the
57 BIOS. When disassembled and recompiled, these NOOPs will cause syntax
58 errors. This option causes the disassembler to ignore all NOOP opcodes
59 (0xA3), and it also causes the compiler to ignore all ASL source code NOOP
62 Debugger: Enhanced the Sleep command to execute all sleep states. This
63 change allows Sleep to be invoked with no arguments and causes the
64 debugger to execute all of the sleep states, 0-5, automatically.
66 ----------------------------------------
67 20 December 2012. Summary of changes for version 20121220:
69 1) ACPICA Kernel-resident Subsystem:
71 Implemented a new interface, AcpiWalkResourceBuffer. This interface is an
72 alternate entry point for AcpiWalkResources and improves the usability of
73 the resource manager by accepting as input a buffer containing the output
74 of either a _CRS, _PRS, or _AEI method. The key functionality is that the
75 input buffer is not deleted by this interface so that it can be used by
76 the host later. See the ACPICA reference for details.
78 Interpreter: Add a warning if a 64-bit constant appears in a 32-bit table
79 (DSDT version < 2). The constant will be truncated and this warning
80 reflects that behavior.
82 Resource Manager: Add support for the new ACPI 5.0 wake bit in the IRQ,
83 ExtendedInterrupt, and GpioInt descriptors. This change adds support to
84 both get and set the new wake bit in these descriptors, separately from
85 the existing share bit. Reported by Aaron Lu.
87 Interpreter: Fix Store() when an implicit conversion is not possible. For
88 example, in the cases such as a store of a string to an existing package
89 object, implement the store as a CopyObject(). This is a small departure
90 from the ACPI specification which states that the control method should be
91 aborted in this case. However, the ASLTS suite depends on this behavior.
93 Performance improvement for the various FUNCTION_TRACE and DEBUG_PRINT
94 macros: check if debug output is currently enabled as soon as possible to
95 minimize performance impact if debug is in fact not enabled.
97 Source code restructuring: Cleanup to improve modularity. The following
98 new files have been added: dbconvert.c, evhandler.c, nsprepkg.c,
99 psopinfo.c, psobject.c, rsdumpinfo.c, utstring.c, and utownerid.c.
100 Associated makefiles and project files have been updated.
102 Changed an exception code for LoadTable operator. For the case where one
103 of the input strings is too long, change the returned exception code from
104 AE_BAD_PARAMETER to AE_AML_STRING_LIMIT.
106 Fixed a possible memory leak in dispatcher error path. On error, delete
107 the mutex object created during method mutex creation. Reported by
108 tim.gardner@canonical.com.
110 Example Code and Data Size: These are the sizes for the OS-independent
111 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
112 debug version of the code includes the debug output trace mechanism and
113 has a much larger code and data size.
116 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
117 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
119 Non-Debug Version: 94.5K Code, 25.5K Data, 120.0K Total
120 Debug Version: 182.2K Code, 74.9K Data, 257.1K Total
123 2) iASL Compiler/Disassembler and Tools:
125 iASL: Disallow a method call as argument to the ObjectType ASL operator.
126 This change tracks an errata to the ACPI 5.0 document. The AML grammar
127 will not allow the interpreter to differentiate between a method and a
128 method invocation when these are used as an argument to the ObjectType
129 operator. The ACPI specification change is to disallow a method invocation
130 (UserTerm) for the ObjectType operator.
132 Finish support for the TPM2 and CSRT tables in the headers, table
133 compiler, and disassembler.
135 Unix user-space OSL: Fix a problem with WaitSemaphore where the timeout
136 always expires immediately if the semaphore is not available. The original
137 code was using a relative-time timeout, but sem_timedwait requires the use
140 iASL: Added a remark if the Timer() operator is used within a 32-bit
141 table. This operator returns a 64-bit time value that will be truncated
142 within a 32-bit table.
144 iASL Source code restructuring: Cleanup to improve modularity. The
145 following new files have been added: aslhex.c, aslxref.c, aslnamesp.c,
146 aslmethod.c, and aslfileio.c. Associated makefiles and project files have
150 ----------------------------------------
151 14 November 2012. Summary of changes for version 20121114:
153 1) ACPICA Kernel-resident Subsystem:
155 Implemented a performance enhancement for ACPI/AML Package objects. This
156 change greatly increases the performance of Package objects within the
157 interpreter. It changes the processing of reference counts for packages by
158 optimizing for the most common case where the package sub-objects are
159 either Integers, Strings, or Buffers. Increases the overall performance of
160 the ASLTS test suite by 1.5X (Increases the Slack Mode performance by 2X.)
161 Chao Guan. ACPICA BZ 943.
163 Implemented and deployed common macros to extract flag bits from resource
164 descriptors. Improves readability and maintainability of the code. Fixes a
165 problem with the UART serial bus descriptor for the number of data bits
166 flags (was incorrectly 2 bits, should be 3).
168 Enhanced the ACPI_GETx and ACPI_SETx macros. Improved the implementation
169 of the macros and changed the SETx macros to the style of (destination,
170 source). Also added ACPI_CASTx companion macros. Lv Zheng.
172 Example Code and Data Size: These are the sizes for the OS-independent
173 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
174 debug version of the code includes the debug output trace mechanism and
175 has a much larger code and data size.
178 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
179 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
181 Non-Debug Version: 94.3K Code, 25.3K Data, 119.6K Total
182 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
185 2) iASL Compiler/Disassembler and Tools:
187 Disassembler: Added the new ACPI 5.0 interrupt sharing flags. This change
188 adds the ShareAndWake and ExclusiveAndWake flags which were added to the
189 Irq, Interrupt, and Gpio resource descriptors in ACPI 5.0. ACPICA BZ 986.
191 Disassembler: Fixed a problem with external declaration generation. Fixes
192 a problem where an incorrect pathname could be generated for an external
193 declaration if the original reference to the object includes leading
194 carats (^). ACPICA BZ 984.
196 Debugger: Completed a major update for the Disassemble<method> command.
197 This command was out-of-date and did not properly disassemble control
198 methods that had any reasonable complexity. This fix brings the command up
199 to the same level as the rest of the disassembler. Adds one new file,
200 dmdeferred.c, which is existing code that is now common with the main
201 disassembler and the debugger disassemble command. ACPICA MZ 978.
203 iASL: Moved the parser entry prototype to avoid a duplicate declaration.
204 Newer versions of Bison emit this prototype, so moved the prototype out of
205 the iASL header to where it is actually used in order to avoid a duplicate
208 iASL/Tools: Standardized use of the stream I/O functions:
209 1) Ensure check for I/O error after every fopen/fread/fwrite
210 2) Ensure proper order of size/count arguments for fread/fwrite
211 3) Use test of (Actual != Requested) after all fwrite, and most fread
212 4) Standardize I/O error messages
213 Improves reliability and maintainability of the code. Bob Moore, Lv Zheng.
216 Disassembler: Prevent duplicate External() statements. During generation
217 of external statements, detect similar pathnames that are actually
218 duplicates such as these:
221 Remove all leading '\' characters from pathnames during the external
222 statement generation so that duplicates will be detected and tossed.
225 Tools: Replace low-level I/O with stream I/O functions. Replace
226 open/read/write/close with the stream I/O equivalents
227 fopen/fread/fwrite/fclose for portability and performance. Lv Zheng, Bob
230 AcpiBin: Fix for the dump-to-hex function. Now correctly output the table
231 name header so that AcpiXtract recognizes the output file/table.
233 iASL: Remove obsolete -2 option flag. Originally intended to force the
234 compiler/disassembler into an ACPI 2.0 mode, this was never implemented
235 and the entire concept is now obsolete.
237 ----------------------------------------
238 18 October 2012. Summary of changes for version 20121018:
241 1) ACPICA Kernel-resident Subsystem:
243 Updated support for the ACPI 5.0 MPST table. Fixes some problems
244 introduced by late changes to the table as it was added to the ACPI 5.0
245 specification. Includes header, disassembler, and data table compiler
246 support as well as a new version of the MPST template.
248 AcpiGetObjectInfo: Enhanced the device object support to include the ACPI
249 5.0 _SUB method. Now calls _SUB in addition to the other PNP-related ID
250 methods: _HID, _CID, and _UID.
252 Changed ACPI_DEVICE_ID to ACPI_PNP_DEVICE_ID. Also changed
253 ACPI_DEVICE_ID_LIST to ACPI_PNP_DEVICE_ID_LIST. These changes prevent
254 name collisions on hosts that reserve the *_DEVICE_ID (or *DeviceId)
255 names for their various drivers. Affects the AcpiGetObjectInfo external
256 interface, and other internal interfaces as well.
258 Added and deployed a new macro for ACPI_NAME management: ACPI_MOVE_NAME.
259 This macro resolves to a simple 32-bit move of the 4-character ACPI_NAME
260 on machines that support non-aligned transfers. Optimizes for this case
261 rather than using a strncpy. With assistance from Zheng Lv.
263 Resource Manager: Small fix for buffer size calculation. Fixed a one byte
264 error in the output buffer calculation. Feng Tang. ACPICA BZ 849.
266 Added a new debug print message for AML mutex objects that are force-
267 released. At control method termination, any currently acquired mutex
268 objects are force-released. Adds a new debug-only message for each one
271 Audited/updated all ACPICA return macros and the function debug depth
272 counter: 1) Ensure that all functions that use the various TRACE macros
273 also use the appropriate ACPICA return macros. 2) Ensure that all normal
274 return statements surround the return expression (value) with parens to
275 ensure consistency across the ACPICA code base. Guan Chao, Tang Feng,
276 Zheng Lv, Bob Moore. ACPICA Bugzilla 972.
278 Global source code changes/maintenance: All extra lines at the start and
279 end of each source file have been removed for consistency. Also, within
280 comments, all new sentences start with a single space instead of a double
281 space, again for consistency across the code base.
283 Example Code and Data Size: These are the sizes for the OS-independent
284 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
285 debug version of the code includes the debug output trace mechanism and
286 has a much larger code and data size.
289 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
290 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
292 Non-Debug Version: 93.9K Code, 25.2K Data, 119.1K Total
293 Debug Version: 175.5K Code, 74.5K Data, 250.0K Total
296 2) iASL Compiler/Disassembler and Tools:
298 AcpiExec: Improved the algorithm used for memory leak/corruption
299 detection. Added some intelligence to the code that maintains the global
300 list of allocated memory. The list is now ordered by allocated memory
301 address, significantly improving performance. When running AcpiExec on
302 the ASLTS test suite, speed improvements of 3X to 5X are seen, depending
303 on the platform and/or the environment. Note, this performance
304 enhancement affects the AcpiExec utility only, not the kernel-resident
307 Enhanced error reporting for invalid AML opcodes and bad ACPI_NAMEs. For
308 the disassembler, dump the 48 bytes surrounding the invalid opcode. Fix
309 incorrect table offset reported for invalid opcodes. Report the original
310 32-bit value for bad ACPI_NAMEs (as well as the repaired name.)
312 Disassembler: Enhanced the -vt option to emit the binary table data in
313 hex format to assist with debugging.
315 Fixed a potential filename buffer overflow in osunixdir.c. Increased the
316 size of file structure. Colin Ian King.
318 ----------------------------------------
319 13 September 2012. Summary of changes for version 20120913:
322 1) ACPICA Kernel-resident Subsystem:
324 ACPI 5.0: Added two new notify types for the Hardware Error Notification
325 Structure within the Hardware Error Source Table (HEST) table -- CMCI(5)
329 Table Manager: Merged/removed duplicate code in the root table resize
330 functions. One function is external, the other is internal. Lv Zheng,
334 Makefiles: Completely removed the obsolete "Linux" makefiles under
335 acpica/generate/linux. These makefiles are obsolete and have been replaced
337 the generic unix makefiles under acpica/generate/unix.
339 Makefiles: Ensure that binary files always copied properly. Minor rule
341 to ensure that the final binary output files are always copied up to the
342 appropriate binary directory (bin32 or bin64.)
344 Example Code and Data Size: These are the sizes for the OS-independent
345 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
347 version of the code includes the debug output trace mechanism and has a
349 larger code and data size.
352 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
353 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
355 Non-Debug Version: 93.7K Code, 25.3K Data, 119.0K Total
356 Debug Version: 175.0K Code, 74.4K Data, 249.4K Total
359 2) iASL Compiler/Disassembler and Tools:
361 Disassembler: Fixed a possible fault during the disassembly of resource
362 descriptors when a second parse is required because of the invocation of
363 external control methods within the table. With assistance from
364 adq@lidskialf.net. ACPICA BZ 976.
366 iASL: Fixed a namepath optimization problem. An error can occur if the
368 node that contains the namepath to be optimized does not have a parent
370 that is a named object. This change fixes the problem.
372 iASL: Fixed a regression where the AML file is not deleted on errors. The
374 output file should be deleted if there are any errors during the compiler.
376 only exception is if the -f (force output) option is used. ACPICA BZ 974.
378 iASL: Added a feature to automatically increase internal line buffer
380 Via realloc(), automatically increase the internal line buffer sizes as
381 necessary to support very long source code lines. The current version of
383 preprocessor requires a buffer long enough to contain full source code
385 This change increases the line buffer(s) if the input lines go beyond the
386 current buffer size. This eliminates errors that occurred when a source
388 line was longer than the buffer.
390 iASL: Fixed a problem with constant folding in method declarations. The
391 SyncLevel term is a ByteConstExpr, and incorrect code would be generated
393 Type3 opcode was used.
395 Debugger: Improved command help support. For incorrect argument count,
397 full help for the command. For help command itself, allow an argument to
400 Test Suites: Several bug fixes for the ASLTS suite reduces the number of
401 errors during execution of the suite. Guan Chao.
403 ----------------------------------------
404 16 August 2012. Summary of changes for version 20120816:
407 1) ACPICA Kernel-resident Subsystem:
409 Removed all use of the deprecated _GTS and _BFS predefined methods. The
411 (Going To Sleep) and _BFS (Back From Sleep) methods are essentially
412 deprecated and will probably be removed from the ACPI specification.
414 does not invoke them, and reportedly never will. The final nail in the
416 is that the ACPI specification states that these methods must be run with
417 interrupts off, which is not going to happen in a kernel interpreter.
419 Linux has removed all use of the methods also. It was discovered that
420 invoking these functions caused failures on some machines, probably
422 they were never tested since Windows does not call them. Affects two
424 interfaces, AcpiEnterSleepState and AcpiLeaveSleepStatePrep. Tang Feng.
427 Implemented support for complex bit-packed buffers returned from the _PLD
428 (Physical Location of Device) predefined method. Adds a new external
429 interface, AcpiDecodePldBuffer that parses the buffer into a more usable C
430 structure. Note: C Bitfields cannot be used for this type of predefined
431 structure since the memory layout of individual bitfields is not defined
433 the C language. In addition, there are endian concerns where a compiler
435 change the bitfield ordering based on the machine type. The new ACPICA
436 interface eliminates these issues, and should be called after _PLD is
437 executed. ACPICA BZ 954.
439 Implemented a change to allow a scope change to root (via "Scope (\)")
441 execution of module-level ASL code (code that is executed at table load
444 Added the Windows8/Server2012 string for the _OSI method. This change adds
446 new _OSI string, "Windows 2012" for both Windows 8 and Windows Server
449 Added header support for the new ACPI tables DBG2 (Debug Port Table Type
451 and CSRT (Core System Resource Table).
453 Added struct header support for the _FDE, _GRT, _GTM, and _SRT predefined
454 names. This simplifies access to the buffers returned by these predefined
455 names. Adds a new file, include/acbuffer.h. ACPICA BZ 956.
457 GPE support: Removed an extraneous parameter from the various low-level
458 internal GPE functions. Tang Feng.
460 Removed the linux makefiles from the unix packages. The generate/linux
461 makefiles are obsolete and have been removed from the unix tarball release
462 packages. The replacement makefiles are under generate/unix, and there is
464 top-level makefile under the main acpica directory. ACPICA BZ 967, 912.
466 Updates for Unix makefiles:
467 1) Add -D_FORTIFY_SOURCE=2 for gcc generation. Arjan van de Ven.
468 2) Update linker flags (move to end of command line) for AcpiExec utility.
471 Split ACPICA initialization functions to new file, utxfinit.c. Split from
472 utxface.c to improve modularity and reduce file size.
474 Example Code and Data Size: These are the sizes for the OS-independent
475 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
476 debug version of the code includes the debug output trace mechanism and
478 much larger code and data size.
481 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
482 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
484 Non-Debug Version: 93.8K Code, 25.3K Data, 119.1K Total
485 Debug Version: 175.7K Code, 74.8K Data, 250.5K Total
488 2) iASL Compiler/Disassembler and Tools:
490 iASL: Fixed a problem with constant folding for fixed-length constant
491 expressions. The constant-folding code was not being invoked for constant
492 expressions that allow the use of type 3/4/5 opcodes to generate constants
493 for expressions such as ByteConstExpr, WordConstExpr, etc. This could
495 in the generation of invalid AML bytecode. ACPICA BZ 970.
497 iASL: Fixed a generation issue on newer versions of Bison. Newer versions
498 apparently automatically emit some of the necessary externals. This change
499 handles these versions in order to eliminate generation warnings.
501 Disassembler: Added support to decode the DBG2 and CSRT ACPI tables.
503 Disassembler: Add support to decode _PLD buffers. The decoded buffer
505 within comments in the output file.
507 Debugger: Fixed a regression with the "Threads" command where
508 AE_BAD_PARAMETER was always returned.
510 ----------------------------------------
511 11 July 2012. Summary of changes for version 20120711:
513 1) ACPICA Kernel-resident Subsystem:
515 Fixed a possible fault in the return package object repair code. Fixes a
516 problem that can occur when a lone package object is wrapped with an outer
517 package object in order to force conformance to the ACPI specification.
519 affect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX,
523 Removed code to disable/enable bus master arbitration (ARB_DIS bit in the
524 PM2_CNT register) in the ACPICA sleep/wake interfaces. Management of the
525 ARB_DIS bit must be implemented in the host-dependent C3 processor power
527 support. Note, ARB_DIS is obsolete and only applies to older chipsets,
529 Intel and other vendors. (for Intel: ICH4-M and earlier)
531 This change removes the code to disable/enable bus master arbitration
533 suspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register
535 resume problems on some machines. The change has been in use for over
539 Implemented two new external interfaces to support host-directed dynamic
541 table load and unload. They are intended to simplify the host
544 AcpiLoadTable: Load an SSDT from a buffer into the namespace.
545 AcpiUnloadParentTable: Unload an SSDT via a named object owned by the
547 See the ACPICA reference for additional details. Adds one new file,
548 components/tables/tbxfload.c
550 Implemented and deployed two new interfaces for errors and warnings that
552 known to be caused by BIOS/firmware issues:
553 AcpiBiosError: Prints "ACPI Firmware Error" message.
554 AcpiBiosWarning: Prints "ACPI Firmware Warning" message.
555 Deployed these new interfaces in the ACPICA Table Manager code for ACPI
557 and FADT errors. Additional deployment to be completed as appropriate in
559 future. The associated conditional macros are ACPI_BIOS_ERROR and
560 ACPI_BIOS_WARNING. See the ACPICA reference for additional details. ACPICA
564 Implicit notify support: ensure that no memory allocation occurs within a
565 critical region. This fix moves a memory allocation outside of the time
567 spinlock is held. Fixes issues on systems that do not allow this behavior.
570 Split exception code utilities and tables into a new file,
573 Example Code and Data Size: These are the sizes for the OS-independent
574 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
576 version of the code includes the debug output trace mechanism and has a
578 larger code and data size.
581 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
582 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
584 Non-Debug Version: 93.5K Code, 25.3K Data, 118.8K Total
585 Debug Version: 173.7K Code, 74.0K Data, 247.7K Total
588 2) iASL Compiler/Disassembler and Tools:
590 iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead
594 Debugger: Enhanced the "tables" command to emit additional information
596 the current set of ACPI tables, including the owner ID and flags decode.
598 Debugger: Reimplemented the "unload" command to use the new
599 AcpiUnloadParentTable external interface. This command was disable
601 due to need for an unload interface.
603 AcpiHelp: Added a new option to decode ACPICA exception codes. The -e
605 will decode 16-bit hex status codes (ACPI_STATUS) to name strings.
607 ----------------------------------------
608 20 June 2012. Summary of changes for version 20120620:
611 1) ACPICA Kernel-resident Subsystem:
613 Implemented support to expand the "implicit notify" feature to allow
615 devices to be notified by a single GPE. This feature automatically
617 runtime device notification in the absence of a BIOS-provided GPE control
618 method (_Lxx/_Exx) or a host-installed handler for the GPE. Implicit
620 provided by ACPICA for Windows compatibility, and is a workaround for BIOS
622 code errors. See the description of the AcpiSetupGpeForWake interface in
624 APCICA reference. Bob Moore, Rafael Wysocki. ACPICA BZ 918.
626 Changed some comments and internal function names to simplify and ensure
627 correctness of the Linux code translation. No functional changes.
629 Example Code and Data Size: These are the sizes for the OS-independent
630 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
632 version of the code includes the debug output trace mechanism and has a
634 larger code and data size.
637 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
638 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
640 Non-Debug Version: 93.1K Code, 25.1K Data, 118.2K Total
641 Debug Version: 172.9K Code, 73.6K Data, 246.5K Total
644 2) iASL Compiler/Disassembler and Tools:
646 Disassembler: Added support to emit short, commented descriptions for the
648 predefined names in order to improve the readability of the disassembled
649 output. ACPICA BZ 959. Changes include:
650 1) Emit descriptions for all standard predefined names (_INI, _STA,
653 2) Emit generic descriptions for the special names (_Exx, _Qxx, etc.)
654 3) Emit descriptions for the resource descriptor names (_MIN, _LEN,
657 AcpiSrc: Fixed several long-standing Linux code translation issues.
659 descriptions in function headers are now translated properly to lower case
661 underscores. ACPICA BZ 961. Also fixes translation problems such as these:
666 local_fADT -> local_FADT
667 execute_oSI -> execute_OSI
669 iASL: Fixed a problem where null bytes were inadvertently emitted into
673 iASL: Added the existing debug options to the standard help screen. There
675 no longer two different help screens. ACPICA BZ 957.
677 AcpiHelp: Fixed some typos in the various predefined name descriptions.
679 expand some of the descriptions where appropriate.
681 iASL: Fixed the -ot option (display compile times/statistics). Was not
683 properly for standard output; only worked for the debug file case.
685 ----------------------------------------
686 18 May 2012. Summary of changes for version 20120518:
689 1) ACPICA Core Subsystem:
691 Added a new OSL interface, AcpiOsWaitEventsComplete. This interface is
693 to block until asynchronous events such as notifies and GPEs have
695 Within ACPICA, it is only called before a notify or GPE handler is
696 removed/uninstalled. It also may be useful for the host OS within related
697 drivers such as the Embedded Controller driver. See the ACPICA reference
699 additional information. ACPICA BZ 868.
701 ACPI Tables: Added a new error message for a possible overflow failure
703 the conversion of FADT 32-bit legacy register addresses to internal common
705 bit GAS structure representation. The GAS has a one-byte "bit length"
707 thus limiting the register length to 255 bits. ACPICA BZ 953.
709 Example Code and Data Size: These are the sizes for the OS-independent
710 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
712 version of the code includes the debug output trace mechanism and has a
714 larger code and data size.
717 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
718 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
720 Non-Debug Version: 93.0K Code, 25.1K Data, 118.1K Total
721 Debug Version: 172.7K Code, 73.6K Data, 246.3K Total
724 2) iASL Compiler/Disassembler and Tools:
726 iASL: Added the ACPI 5.0 "PCC" keyword for use in the Register() ASL
728 This keyword was added late in the ACPI 5.0 release cycle and was not
729 implemented until now.
731 Disassembler: Added support for Operation Region externals. Adds missing
732 support for operation regions that are defined in another table, and
733 referenced locally via a Field or BankField ASL operator. Now generates
735 correct External statement.
737 Disassembler: Several additional fixes for the External() statement
739 related to some ASL operators. Also, order the External() statements
740 alphabetically in the disassembler output. Fixes the External() generation
742 the Create* field, Alias, and Scope operators:
743 1) Create* buffer field operators - fix type mismatch warning on
745 2) Alias - implement missing External support
746 3) Scope - fix to make sure all necessary externals are emitted.
748 iASL: Improved pathname support. For include files, merge the prefix
750 with the file pathname and eliminate unnecessary components. Convert
751 backslashes in all pathnames to forward slashes, for readability. Include
753 pathname changes affect both #include and Include() type operators.
755 iASL/DTC/Preprocessor: Gracefully handle early EOF. Handle an EOF at the
757 of a valid line by inserting a newline and then returning the EOF during
759 next call to GetNextLine. Prevents the line from being ignored due to EOF
762 iASL: Implemented some changes to enhance the IDE support (-vi option.)
764 and Warning messages are now correctly recognized for both the source code
765 browser and the global error and warning counts.
767 ----------------------------------------
768 20 April 2012. Summary of changes for version 20120420:
771 1) ACPICA Core Subsystem:
773 Implemented support for multiple notify handlers. This change adds support
775 allow multiple system and device notify handlers on Device, Thermal Zone,
777 Processor objects. This can simplify the host OS notification
779 Also re-worked and restructured the entire notify support code to simplify
780 handler installation, handler removal, notify event queuing, and notify
781 dispatch to handler(s). Note: there can still only be two global notify
782 handlers - one for system notifies and one for device notifies. There are
784 changes to the existing handler install/remove interfaces. Lin Ming, Bob
785 Moore, Rafael Wysocki.
787 Fixed a regression in the package repair code where the object reference
788 count was calculated incorrectly. Regression was introduced in the commit
789 "Support to add Package wrappers".
791 Fixed a couple possible memory leaks in the AML parser, in the error
793 path. Jesper Juhl, Lin Ming.
795 Example Code and Data Size: These are the sizes for the OS-independent
796 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
797 debug version of the code includes the debug output trace mechanism and
799 much larger code and data size.
802 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
803 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
805 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
806 Debug Version: 172.6K Code, 73.4K Data, 246.0K Total
809 2) iASL Compiler/Disassembler and Tools:
811 iASL: Fixed a problem with the resource descriptor support where the
813 of the StartDependentFn and StartDependentFnNoPrio descriptors were not
814 included in cumulative descriptor offset, resulting in incorrect values
816 resource tags within resource descriptors appearing after a
818 descriptor. Reported by Petr Vandrovec. ACPICA BZ 949.
820 iASL and Preprocessor: Implemented full support for the #line directive to
821 correctly track original source file line numbers through the .i
823 output file - for error and warning messages.
825 iASL: Expand the allowable byte constants for address space IDs.
827 the allowable range was 0x80-0xFF (user-defined spaces), now the range is
828 0x0A-0xFF to allow for custom and new IDs without changing the compiler.
830 iASL: Add option to treat all warnings as errors (-we). ACPICA BZ 948.
832 iASL: Add option to completely disable the preprocessor (-Pn).
834 iASL: Now emit all error/warning messages to standard error (stderr) by
835 default (instead of the previous stdout).
837 ASL Test Suite (ASLTS): Reduce iASL warnings due to use of Switch().
839 for resource descriptor offset fix above. Update/cleanup error output
840 routines. Enable and send iASL errors/warnings to an error logfile
841 (error.txt). Send all other iASL output to a logfile (compiler.txt). Fixed
842 several extraneous "unrecognized operator" messages.
844 ----------------------------------------
845 20 March 2012. Summary of changes for version 20120320:
848 1) ACPICA Core Subsystem:
850 Enhanced the sleep/wake interfaces to optionally execute the _GTS method
851 (Going To Sleep) and the _BFS method (Back From Sleep). Windows apparently
852 does not execute these methods, and therefore these methods are often
853 untested. It has been seen on some systems where the execution of these
854 methods causes errors and also prevents the machine from entering S5. It
856 therefore suggested that host operating systems do not execute these
858 by default. In the future, perhaps these methods can be optionally
860 based on the age of the system and/or what is the newest version of
862 that the BIOS asks for via _OSI. Changed interfaces: AcpiEnterSleepState
864 AcpileaveSleepStatePrep. See the ACPICA reference and Linux BZ 13041. Lin
867 Fixed a problem where the length of the local/common FADT was set too
869 The local FADT table length cannot be set to the common length until the
870 original length has been examined. There is code that checks the table
872 and sets various fields appropriately. This can affect older machines with
873 early FADT versions. For example, this can cause inadvertent writes to the
874 CST_CNT register. Julian Anastasov.
876 Fixed a mapping issue related to a physical table override. Use the
878 mapping mechanism for tables loaded via the physical override OSL
880 This allows for early mapping before the virtual memory manager is
882 Thomas Renninger, Bob Moore.
884 Enhanced the automatic return-object repair code: Repair a common problem
886 predefined methods that are defined to return a variable-length Package of
887 sub-objects. If there is only one sub-object, some BIOS ASL code
889 simply returns the single object instead of a Package with one sub-object.
890 This new support will repair this error by wrapping a Package object
892 the original object, creating the correct and expected Package with one
894 object. Names that can be repaired in this manner include: _ALR, _CSD,
896 _MLS, _PLD, _PRT, _PSS, _TRT, _TSS, _BCL, _DOD, _FIX, and _Sx. ACPICA BZ
899 Changed the exception code returned for invalid ACPI paths passed as
900 parameters to external interfaces such as AcpiEvaluateObject. Was
901 AE_BAD_PARAMETER, now is the more sensible AE_BAD_PATHNAME.
903 Example Code and Data Size: These are the sizes for the OS-independent
904 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
906 version of the code includes the debug output trace mechanism and has a
908 larger code and data size.
911 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
912 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
914 Non-Debug Version: 92.9K Code, 25.0K Data, 117.9K Total
915 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
918 2) iASL Compiler/Disassembler and Tools:
920 iASL: Added the infrastructure and initial implementation of a integrated
922 like preprocessor. This will simplify BIOS development process by
924 the need for a separate preprocessing step during builds. On Windows, it
926 eliminates the need to install a separate C compiler. ACPICA BZ 761. Some
927 features including full #define() macro support are still under
929 These preprocessor directives are supported:
942 In addition, these new command line options are supported:
943 -D <symbol> Define symbol for preprocessor use
944 -li Create preprocessed output file (*.i)
945 -P Preprocess only and create preprocessor output file (*.i)
947 Table Compiler: Fixed a problem where the equals operator within an
949 did not work properly.
951 Updated iASL to use the current versions of Bison/Flex. Updated the
953 project file to invoke these tools from the standard location. ACPICA BZ
956 Flex for Windows: V2.5.4
957 Bison for Windows: V2.4.1
959 ----------------------------------------
960 15 February 2012. Summary of changes for version 20120215:
963 1) ACPICA Core Subsystem:
965 There have been some major changes to the sleep/wake support code, as
966 described below (a - e).
968 a) The AcpiLeaveSleepState has been split into two interfaces, similar to
969 AcpiEnterSleepStatePrep and AcpiEnterSleepState. The new interface is
970 AcpiLeaveSleepStatePrep. This allows the host to perform actions between
972 time the _BFS method is called and the _WAK method is called. NOTE: all
974 must update their wake/resume code or else sleep/wake will not work
978 b) In AcpiLeaveSleepState, now enable all runtime GPEs before calling the
980 method. Some machines require that the GPEs are enabled before the _WAK
982 is executed. Thomas Renninger.
984 c) In AcpiLeaveSleepState, now always clear the WAK_STS (wake status) bit.
985 Some BIOS code assumes that WAK_STS will be cleared on resume and use it
987 determine whether the system is rebooting or resuming. Matthew Garrett.
989 d) Move the invocations of _GTS (Going To Sleep) and _BFS (Back From
991 match the ACPI specification requirement. Rafael Wysocki.
993 e) Implemented full support for the ACPI 5.0 SleepStatus and SleepControl
994 registers within the V5 FADT. This support adds two new files:
995 hardware/hwesleep.c implements the support for the new registers. Moved
997 sleep/wake external interfaces to hardware/hwxfsleep.c.
1000 Added a new OSL interface for ACPI table overrides,
1001 AcpiOsPhysicalTableOverride. This interface allows the host to override a
1002 table via a physical address, instead of the logical address required by
1003 AcpiOsTableOverride. This simplifies the host implementation. Initial
1004 implementation by Thomas Renninger. The ACPICA implementation creates a
1006 shared function for table overrides that attempts both a logical and a
1009 Expanded the OSL memory read/write interfaces to 64-bit data
1010 (AcpiOsReadMemory, AcpiOsWriteMemory.) This enables full 64-bit memory
1011 transfer support for GAS register structures passed to AcpiRead and
1014 Implemented the ACPI_REDUCED_HARDWARE option to allow the creation of a
1016 build of ACPICA that supports only the ACPI 5.0 reduced hardware (SoC)
1018 See the ACPICA reference for details. ACPICA BZ 942. This option removes
1020 10% of the code and 5% of the static data, and the following hardware ACPI
1021 features become unavailable:
1022 PM Event and Control registers
1023 SCI interrupt (and handler)
1025 General Purpose Events (GPEs)
1028 FACS table (Waking vectors and Global Lock)
1030 Updated the unix tarball directory structure to match the ACPICA git
1032 tree. This ensures that the generic unix makefiles work properly (in
1033 generate/unix). Also updated the Linux makefiles to match. ACPICA BZ 867.
1035 Updated the return value of the _REV predefined method to integer value 5
1037 reflect ACPI 5.0 support.
1039 Moved the external ACPI PM timer interface prototypes to the public
1041 file where they belong.
1043 Example Code and Data Size: These are the sizes for the OS-independent
1044 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1046 version of the code includes the debug output trace mechanism and has a
1048 larger code and data size.
1051 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
1052 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
1054 Non-Debug Version: 93.0K Code, 25.0K Data, 118.0K Total
1055 Debug Version: 172.5K Code, 73.2K Data, 245.7K Total
1058 2) iASL Compiler/Disassembler and Tools:
1060 Disassembler: Fixed a problem with the new ACPI 5.0 serial resource
1061 descriptors (I2C, SPI, UART) where the resource produce/consumer bit was
1062 incorrectly displayed.
1064 AcpiHelp: Add display of ACPI/PNP device IDs that are defined in the ACPI
1067 ----------------------------------------
1068 11 January 2012. Summary of changes for version 20120111:
1071 1) ACPICA Core Subsystem:
1073 Implemented a new mechanism to allow host device drivers to check for
1075 range conflicts with ACPI Operation Regions. Both SystemMemory and
1077 address spaces are supported. A new external interface,
1078 AcpiCheckAddressRange,
1079 allows drivers to check an address range against the ACPI namespace. See
1081 ACPICA reference for additional details. Adds one new file,
1082 utilities/utaddress.c. Lin Ming, Bob Moore.
1084 Fixed several issues with the ACPI 5.0 FADT support: Add the sleep Control
1086 Status registers, update the ACPI 5.0 flags, and update internal data
1087 structures to handle an FADT larger than 256 bytes. The size of the ACPI
1091 Updated all ACPICA copyrights and signons to 2012. Added the 2012
1093 all module headers and signons, including the standard Linux header. This
1094 affects virtually every file in the ACPICA core subsystem, iASL compiler,
1096 all ACPICA utilities.
1098 Example Code and Data Size: These are the sizes for the OS-independent
1099 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1101 version of the code includes the debug output trace mechanism and has a
1103 larger code and data size.
1106 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
1107 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
1109 Non-Debug Version: 92.8K Code, 24.9K Data, 117.7K Total
1110 Debug Version: 171.7K Code, 72.9K Data, 244.5K Total
1113 2) iASL Compiler/Disassembler and Tools:
1115 Disassembler: fixed a problem with the automatic resource tag generation
1116 support. Fixes a problem where the resource tags are inadvertently not
1117 constructed if the table being disassembled contains external references
1119 control methods. Moved the actual construction of the tags to after the
1121 namespace is constructed (after 2nd parse is invoked due to external
1123 method references.) ACPICA BZ 941.
1125 Table Compiler: Make all "generic" operators caseless. These are the
1127 like UINT8, String, etc. Making these caseless improves ease-of-use.
1131 ----------------------------------------
1132 23 November 2011. Summary of changes for version 20111123:
1134 0) ACPI 5.0 Support:
1136 This release contains full support for the ACPI 5.0 specification, as
1139 Reduced Hardware Support:
1140 -------------------------
1142 This support allows for ACPI systems without the usual ACPI hardware. This
1143 support is enabled by a flag in the revision 5 FADT. If it is set, ACPICA
1145 not attempt to initialize or use any of the usual ACPI hardware. Note,
1147 this flag is set, all of the following ACPI hardware is assumed to be not
1148 present and is not initialized or accessed:
1150 General Purpose Events (GPEs)
1151 Fixed Events (PM1a/PM1b and PM Control)
1152 Power Management Timer and Console Buttons (power/sleep)
1153 Real-time Clock Alarm
1155 System Control Interrupt (SCI)
1156 The FACS is assumed to be non-existent
1161 All new tables and updates to existing tables are fully supported in the
1162 ACPICA headers (for use by device drivers), the disassembler, and the iASL
1163 Data Table Compiler. ACPI 5.0 defines these new tables:
1165 BGRT /* Boot Graphics Resource Table */
1166 DRTM /* Dynamic Root of Trust for Measurement table */
1167 FPDT /* Firmware Performance Data Table */
1168 GTDT /* Generic Timer Description Table */
1169 MPST /* Memory Power State Table */
1170 PCCT /* Platform Communications Channel Table */
1171 PMTT /* Platform Memory Topology Table */
1172 RASF /* RAS Feature table */
1174 Operation Regions/SpaceIDs:
1175 ---------------------------
1177 All new operation regions are fully supported by the iASL compiler, the
1178 disassembler, and the ACPICA runtime code (for dispatch to region
1180 The new operation region Space IDs are:
1185 Resource Descriptors:
1186 ---------------------
1188 All new ASL resource descriptors are fully supported by the iASL compiler,
1190 ASL/AML disassembler, and the ACPICA runtime Resource Manager code
1192 all new predefined resource tags). New descriptors are:
1201 ASL/AML Operators, New and Modified:
1202 ------------------------------------
1204 One new operator is added, the Connection operator, which is used to
1206 a GeneralPurposeIo or GenericSerialBus resource descriptor with individual
1207 field objects within an operation region. Several new protocols are
1209 with the AccessAs operator. All are fully supported by the iASL compiler,
1210 disassembler, and runtime ACPICA AML interpreter:
1212 Connection // Declare Field Connection attributes
1213 AccessAs: AttribBytes (n) // Read/Write N-Bytes Protocol
1214 AccessAs: AttribRawBytes (n) // Raw Read/Write N-Bytes Protocol
1215 AccessAs: AttribRawProcessBytes (n) // Raw Process Call Protocol
1216 RawDataBuffer // Data type for Vendor Data
1219 Predefined ASL/AML Objects:
1220 ---------------------------
1222 All new predefined objects/control-methods are supported by the iASL
1224 and the ACPICA runtime validation/repair (arguments and return values.)
1226 predefined names include the following:
1228 Standard Predefined Names (Objects or Control Methods):
1229 _AEI, _CLS, _CPC, _CWS, _DEP,
1230 _DLM, _EVT, _GCP, _CRT, _GWS,
1231 _HRV, _PRE, _PSE, _SRT, _SUB.
1233 Resource Tags (Names used to access individual fields within resource
1235 _DBT, _DPL, _DRS, _END, _FLC,
1236 _IOR, _LIN, _MOD, _PAR, _PHA,
1237 _PIN, _PPI, _POL, _RXL, _SLV,
1238 _SPE, _STB, _TXL, _VEN.
1240 ACPICA External Interfaces:
1241 ---------------------------
1243 Several new interfaces have been defined for use by ACPI-related device
1244 drivers and other host OS services:
1246 AcpiAcquireMutex and AcpiReleaseMutex: These interfaces allow the host OS
1248 acquire and release AML mutexes that are defined in the DSDT/SSDT tables
1249 provided by the BIOS. They are intended to be used in conjunction with the
1250 ACPI 5.0 _DLM (Device Lock Method) in order to provide transaction-level
1251 mutual exclusion with the AML code/interpreter.
1253 AcpiGetEventResources: Returns the (formatted) resource descriptors as
1255 by the ACPI 5.0 _AEI object (ACPI Event Information). This object
1257 resource descriptors associated with hardware-reduced platform events,
1259 to the AcpiGetCurrentResources interface.
1261 Operation Region Handlers: For General Purpose IO and Generic Serial Bus
1262 operation regions, information about the Connection() object and any
1264 length information is passed to the region handler within the Context
1267 AcpiBufferToResource: This interface converts a raw AML buffer containing
1269 resource template or resource descriptor to the ACPI_RESOURCE internal
1271 suitable for use by device drivers. Can be used by an operation region
1273 to convert the Connection() buffer object into a ACPI_RESOURCE.
1275 Miscellaneous/Tools/TestSuites:
1276 -------------------------------
1278 Support for extended _HID names (Four alpha characters instead of three).
1279 Support for ACPI 5.0 features in the AcpiExec and AcpiHelp utilities.
1280 Support for ACPI 5.0 features in the ASLTS test suite.
1281 Fully updated documentation (ACPICA and iASL reference documents.)
1283 ACPI Table Definition Language:
1284 -------------------------------
1286 Support for this language was implemented and released as a subsystem of
1288 iASL compiler in 2010. (See the iASL compiler User Guide.)
1291 Non-ACPI 5.0 changes for this release:
1292 --------------------------------------
1294 1) ACPICA Core Subsystem:
1296 Fix a problem with operation region declarations where a failure can occur
1298 the region name and an argument that evaluates to an object (such as the
1299 region address) are in different namespace scopes. Lin Ming, ACPICA BZ
1302 Do not abort an ACPI table load if an invalid space ID is found within.
1304 will be caught later if the offending method is executed. ACPICA BZ 925.
1306 Fixed an issue with the FFixedHW space ID where the ID was not always
1307 recognized properly (Both ACPICA and iASL). ACPICA BZ 926.
1309 Fixed a problem with the 32-bit generation of the unix-specific OSL
1310 (osunixxf.c). Lin Ming, ACPICA BZ 936.
1312 Several changes made to enable generation with the GCC 4.6 compiler.
1316 New error messages: Unsupported I/O requests (not 8/16/32 bit), and
1318 field registers out-of-range.
1320 2) iASL Compiler/Disassembler and Tools:
1322 iASL: Implemented the __PATH__ operator, which returns the full pathname
1324 the current source file.
1326 AcpiHelp: Automatically display expanded keyword information for all ASL
1329 Debugger: Add "Template" command to disassemble/dump resource template
1332 Added a new master script to generate and execute the ASLTS test suite.
1333 Automatically handles 32- and 64-bit generation. See tests/aslts.sh
1335 iASL: Fix problem with listing generation during processing of the
1337 operator where AML listing was disabled until the entire Switch block was
1340 iASL: Improve support for semicolon statement terminators. Fix "invalid
1341 character" message for some cases when the semicolon is used. Semicolons
1343 now allowed after every <Term> grammar element. ACPICA BZ 927.
1345 iASL: Fixed some possible aliasing warnings during generation. ACPICA BZ
1348 Disassembler: Fix problem with disassembly of the DataTableRegion operator
1349 where an inadvertent "Unhandled deferred opcode" message could be
1352 3) Example Code and Data Size
1354 These are the sizes for the OS-independent acpica.lib produced by the
1355 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
1356 includes the debug output trace mechanism and has a much larger code and
1361 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
1362 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
1364 Non-Debug Version: 92.3K Code, 24.9K Data, 117.2K Total
1365 Debug Version: 170.8K Code, 72.6K Data, 243.4K Total
1367 ----------------------------------------
1368 22 September 2011. Summary of changes for version 20110922:
1372 Support for ACPI 5.0 in ACPICA has been underway for several months and
1374 be released at the same time that ACPI 5.0 is officially released.
1376 The ACPI 5.0 specification is on track for release in the next few months.
1378 1) ACPICA Core Subsystem:
1380 Fixed a problem where the maximum sleep time for the Sleep() operator was
1381 intended to be limited to two seconds, but was inadvertently limited to 20
1384 Linux and Unix makefiles: Added header file dependencies to ensure correct
1385 generation of ACPICA core code and utilities. Also simplified the
1387 considerably through the use of the vpath variable to specify search
1391 2) iASL Compiler/Disassembler and Tools:
1393 iASL: Implemented support to check the access length for all fields
1395 access named Resource Descriptor fields. For example, if a resource field
1397 defined to be two bits, a warning is issued if a CreateXxxxField() is used
1398 with an incorrect bit length. This is implemented for all current resource
1399 descriptor names. ACPICA BZ 930.
1401 Disassembler: Fixed a byte ordering problem with the output of 24-bit and
1405 iASL: Fixed a couple of issues associated with variable-length package
1406 objects. 1) properly handle constants like One, Ones, Zero -- do not make
1408 VAR_PACKAGE when these are used as a package length. 2) Allow the
1410 opcode (in addition to PACKAGE) when validating object types for
1414 iASL: Emit statistics for all output files (instead of just the ASL input
1416 AML output). Includes listings, hex files, etc.
1418 iASL: Added -G option to the table compiler to allow the compilation of
1420 ACPI tables. The only part of a table that is required is the standard 36-
1424 AcpiXtract: Ported to the standard ACPICA environment (with ACPICA
1426 which also adds correct 64-bit support. Also, now all output filenames are
1427 completely lower case.
1429 AcpiExec: Ignore any non-AML tables (tables other than DSDT or SSDT) when
1430 loading table files. A warning is issued for any such tables. The only
1431 exception is an FADT. This also fixes a possible fault when attempting to
1433 non-AML tables. ACPICA BZ 932.
1435 AcpiHelp: Added the AccessAs and Offset operators. Fixed a problem where a
1436 missing table terminator could cause a fault when using the -p option.
1438 AcpiSrc: Fixed a possible divide-by-zero fault when generating file
1441 3) Example Code and Data Size
1443 These are the sizes for the OS-independent acpica.lib produced by the
1444 Microsoft Visual C++ 9.0 32-bit compiler. The debug version of the code
1445 includes the debug output trace mechanism and has a much larger code and
1449 Previous Release (VC 9.0):
1450 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
1451 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
1452 Current Release (VC 9.0):
1453 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
1454 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
1457 ----------------------------------------
1458 23 June 2011. Summary of changes for version 20110623:
1460 1) ACPI CA Core Subsystem:
1462 Updated the predefined name repair mechanism to not attempt repair of a
1464 return object if a _PSS object is present. We can only sort the _TSS
1466 package if there is no _PSS within the same scope. This is because if _PSS
1468 present, the ACPI specification dictates that the _TSS Power Dissipation
1470 is to be ignored, and therefore some BIOSs leave garbage values in the
1472 Power field(s). In this case, it is best to just return the _TSS package
1474 is. Reported by, and fixed with assistance from Fenghua Yu.
1476 Added an option to globally disable the control method return value
1478 and repair. This runtime option can be used to disable return value repair
1480 this is causing a problem on a particular machine. Also added an option to
1481 AcpiExec (-dr) to set this disable flag.
1483 All makefiles and project files: Major changes to improve generation of
1485 tools. ACPICA BZ 912:
1486 Reduce default optimization levels to improve compatibility
1487 For Linux, add strict-aliasing=0 for gcc 4
1488 Cleanup and simplify use of command line defines
1489 Cleanup multithread library support
1490 Improve usage messages
1492 Linux-specific header: update handling of THREAD_ID and pthread. For the
1494 bit case, improve casting to eliminate possible warnings, especially with
1498 Example Code and Data Size: These are the sizes for the OS-independent
1499 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1501 version of the code includes the debug output trace mechanism and has a
1503 larger code and data size.
1505 Previous Release (VC 9.0):
1506 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
1507 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
1508 Current Release (VC 9.0):
1509 Non-Debug Version: 90.2K Code, 23.9K Data, 114.1K Total
1510 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
1512 2) iASL Compiler/Disassembler and Tools:
1514 With this release, a new utility named "acpihelp" has been added to the
1516 package. This utility summarizes the ACPI specification chapters for the
1518 and AML languages. It generates under Linux/Unix as well as Windows, and
1519 provides the following functionality:
1520 Find/display ASL operator(s) -- with description and syntax.
1521 Find/display ASL keyword(s) -- with exact spelling and descriptions.
1522 Find/display ACPI predefined name(s) -- with description, number
1523 of arguments, and the return value data type.
1524 Find/display AML opcode name(s) -- with opcode, arguments, and
1526 Decode/display AML opcode -- with opcode name, arguments, and grammar.
1528 Service Layers: Make multi-thread support configurable. Conditionally
1530 the multi-thread support so that threading libraries will not be linked if
1532 necessary. The only tool that requires multi-thread support is AcpiExec.
1534 iASL: Update yyerrror/AslCompilerError for "const" errors. Newer versions
1536 Bison appear to want the interface to yyerror to be a const char * (or at
1537 least this is a problem when generating iASL on some systems.) ACPICA BZ
1541 Tools: Fix for systems where O_BINARY is not defined. Only used for
1543 versions of the tools.
1545 ----------------------------------------
1546 27 May 2011. Summary of changes for version 20110527:
1548 1) ACPI CA Core Subsystem:
1550 ASL Load() operator: Reinstate most restrictions on the incoming ACPI
1552 signature. Now, only allow SSDT, OEMx, and a null signature. History:
1553 1) Originally, we checked the table signature for "SSDT" or "PSDT".
1554 (PSDT is now obsolete.)
1555 2) We added support for OEMx tables, signature "OEM" plus a fourth
1556 "don't care" character.
1557 3) Valid tables were encountered with a null signature, so we just
1558 gave up on validating the signature, (05/2008).
1559 4) We encountered non-AML tables such as the MADT, which caused
1560 interpreter errors and kernel faults. So now, we once again allow
1561 only SSDT, OEMx, and now, also a null signature. (05/2011).
1563 Added the missing _TDL predefined name to the global name list in order to
1564 enable validation. Affects both the core ACPICA code and the iASL
1567 Example Code and Data Size: These are the sizes for the OS-independent
1568 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1570 version of the code includes the debug output trace mechanism and has a
1572 larger code and data size.
1574 Previous Release (VC 9.0):
1575 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
1576 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
1577 Current Release (VC 9.0):
1578 Non-Debug Version: 90.1K Code, 23.9K Data, 114.0K Total
1579 Debug Version: 165.6K Code, 68.4K Data, 234.0K Total
1581 2) iASL Compiler/Disassembler and Tools:
1583 Debugger/AcpiExec: Implemented support for "complex" method arguments on
1585 debugger command line. This adds support beyond simple integers --
1587 Strings, Buffers, and Packages. Includes support for nested packages.
1588 Increased the default command line buffer size to accommodate these
1590 See the ACPICA reference for details and syntax. ACPICA BZ 917.
1592 Debugger/AcpiExec: Implemented support for "default" method arguments for
1594 Execute/Debug command. Now, the debugger will always invoke a control
1596 with the required number of arguments -- even if the command line
1598 none or insufficient arguments. It uses default integer values for any
1600 arguments. Also fixes a bug where only six method arguments maximum were
1601 supported instead of the required seven.
1603 Debugger/AcpiExec: Add a maximum buffer length parameter to AcpiOsGetLine
1605 also return status in order to prevent buffer overruns. See the ACPICA
1606 reference for details and syntax. ACPICA BZ 921
1608 iASL: Cleaned up support for Berkeley yacc. A general cleanup of code and
1609 makefiles to simplify support for the two different but similar parser
1610 generators, bison and yacc.
1612 Updated the generic unix makefile for gcc 4. The default gcc version is
1614 expected to be 4 or greater, since options specific to gcc 4 are used.
1616 ----------------------------------------
1617 13 April 2011. Summary of changes for version 20110413:
1619 1) ACPI CA Core Subsystem:
1621 Implemented support to execute a so-called "orphan" _REG method under the
1623 device. This change will force the execution of a _REG method underneath
1626 device even if there is no corresponding operation region of type
1627 EmbeddedControl. Fixes a problem seen on some machines and apparently is
1628 compatible with Windows behavior. ACPICA BZ 875.
1630 Added more predefined methods that are eligible for automatic NULL package
1631 element removal. This change adds another group of predefined names to the
1633 of names that can be repaired by having NULL package elements dynamically
1634 removed. This group are those methods that return a single variable-length
1635 package containing simple data types such as integers, buffers, strings.
1637 includes: _ALx, _BCL, _CID,_ DOD, _EDL, _FIX, _PCL, _PLD, _PMD, _PRx,
1640 and _TZD. ACPICA BZ 914.
1642 Split and segregated all internal global lock functions to a new file,
1645 Updated internal address SpaceID for DataTable regions. Moved this
1648 id in preparation for ACPI 5.0 changes that will include some new space
1651 change should not affect user/host code.
1653 Example Code and Data Size: These are the sizes for the OS-independent
1655 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
1657 the code includes the debug output trace mechanism and has a much larger
1662 Previous Release (VC 9.0):
1663 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
1664 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
1665 Current Release (VC 9.0):
1666 Non-Debug Version: 90.0K Code, 23.8K Data, 113.8K Total
1667 Debug Version: 164.5K Code, 68.0K Data, 232.5K Total
1669 2) iASL Compiler/Disassembler and Tools:
1671 iASL/DTC: Major update for new grammar features. Allow generic data types
1673 custom ACPI tables. Field names are now optional. Any line can be split to
1674 multiple lines using the continuation char (\). Large buffers now use
1676 continuation character(s) and no colon on the continuation lines. See the
1678 update in the iASL compiler reference. ACPI BZ 910,911. Lin Ming, Bob
1681 iASL: Mark ASL "Return()" and the simple "Return" as "Null" return
1683 Since the parser stuffs a "zero" as the return value for these statements
1686 the underlying AML grammar), they were seen as "return with value" by the
1688 semantic checking. They are now seen correctly as "null" return
1691 iASL: Check if a_REG declaration has a corresponding Operation Region.
1693 check for each _REG to ensure that there is in fact a corresponding
1695 region declaration in the same scope. If not, the _REG method is not very
1697 since it probably won't be executed. ACPICA BZ 915.
1699 iASL/DTC: Finish support for expression evaluation. Added a new expression
1701 that implements c-style operator precedence and parenthesization. ACPICA
1705 Disassembler/DTC: Remove support for () and <> style comments in data
1708 that DTC has full expression support, we don't want to have comment
1711 start with a parentheses or a less-than symbol. Now, only the standard /*
1714 comments are supported, as well as the bracket [] comments.
1716 AcpiXtract: Fix for RSDP and dynamic SSDT extraction. These tables have
1718 headers in the acpidump file. Update the header validation to support
1720 tables. Problem introduced in previous AcpiXtract version in the change to
1721 support "wrong checksum" error messages emitted by acpidump utility.
1723 iASL: Add a * option to generate all template files (as a synonym for ALL)
1726 "iasl -T *" or "iasl -T ALL".
1728 iASL/DTC: Do not abort compiler on fatal errors. We do not want to
1730 abort the compiler on "fatal" errors, simply should abort the current
1732 This allows multiple compiles with a single (possibly wildcard) compiler
1735 ----------------------------------------
1736 16 March 2011. Summary of changes for version 20110316:
1738 1) ACPI CA Core Subsystem:
1740 Fixed a problem caused by a _PRW method appearing at the namespace root
1742 during the setup of wake GPEs. A fault could occur if a _PRW directly
1745 root object was passed to the AcpiSetupGpeForWake interface. Lin Ming.
1747 Implemented support for "spurious" Global Lock interrupts. On some
1749 global lock interrupt can occur without the pending flag being set. Upon a
1751 interrupt, we now ensure that a thread is actually waiting for the lock
1753 signaling GL availability. Rafael Wysocki, Bob Moore.
1755 Example Code and Data Size: These are the sizes for the OS-independent
1757 produced by the Microsoft Visual C++ 9.0 32-bit compiler. The debug
1759 the code includes the debug output trace mechanism and has a much larger
1764 Previous Release (VC 9.0):
1765 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
1766 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
1767 Current Release (VC 9.0):
1768 Non-Debug Version: 89.8K Code, 23.8K Data, 113.6K Total
1769 Debug Version: 164.2K Code, 67.9K Data, 232.1K Total
1771 2) iASL Compiler/Disassembler and Tools:
1773 Implemented full support for the "SLIC" ACPI table. Includes support in
1775 header files, disassembler, table compiler, and template generator. Bob
1779 AcpiXtract: Correctly handle embedded comments and messages from AcpiDump.
1780 Apparently some or all versions of acpidump will occasionally emit a
1783 "Wrong checksum", etc., into the dump file. This was causing problems for
1784 AcpiXtract. ACPICA BZ 905.
1786 iASL: Fix the Linux makefile by removing an inadvertent double file
1790 AcpiExec: Update installation of operation region handlers. Install one
1792 for a user-defined address space. This is used by the ASL test suite
1795 ----------------------------------------
1796 11 February 2011. Summary of changes for version 20110211:
1798 1) ACPI CA Core Subsystem:
1800 Added a mechanism to defer _REG methods for some early-installed handlers.
1801 Most user handlers should be installed before call to AcpiEnableSubsystem.
1802 However, Event handlers and region handlers should be installed after
1803 AcpiInitializeObjects. Override handlers for the "default" regions should
1805 installed early, however. This change executes all _REG methods for the
1806 default regions (Memory/IO/PCI/DataTable) simultaneously to prevent any
1807 chicken/egg issues between them. ACPICA BZ 848.
1809 Implemented an optimization for GPE detection. This optimization will
1811 ignore GPE registers that contain no enabled GPEs -- there is no need to
1812 read the register since this information is available internally. This
1813 becomes more important on machines with a large GPE space. ACPICA bugzilla
1814 884. Lin Ming. Suggestion from Joe Liu.
1816 Removed all use of the highly unreliable FADT revision field. The revision
1817 number in the FADT has been found to be completely unreliable and cannot
1819 trusted. Only the actual table length can be used to infer the version.
1821 change updates the ACPICA core and the disassembler so that both no longer
1822 even look at the FADT version and instead depend solely upon the FADT
1825 Fix an unresolved name issue for the no-debug and no-error-message source
1826 generation cases. The _AcpiModuleName was left undefined in these cases,
1828 it is actually needed as a parameter to some interfaces. Define
1829 _AcpiModuleName as a null string in these cases. ACPICA Bugzilla 888.
1831 Split several large files (makefiles and project files updated)
1832 utglobal.c -> utdecode.c
1833 dbcomds.c -> dbmethod.c dbnames.c
1834 dsopcode.c -> dsargs.c dscontrol.c
1835 dsload.c -> dsload2.c
1836 aslanalyze.c -> aslbtypes.c aslwalks.c
1838 Example Code and Data Size: These are the sizes for the OS-independent
1839 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1840 debug version of the code includes the debug output trace mechanism and
1842 a much larger code and data size.
1844 Previous Release (VC 9.0):
1845 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
1846 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
1847 Current Release (VC 9.0):
1848 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
1849 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
1851 2) iASL Compiler/Disassembler and Tools:
1853 iASL: Implemented the predefined macros __LINE__, __FILE__, and __DATE__.
1854 These are useful C-style macros with the standard definitions. ACPICA
1857 iASL/DTC: Added support for integer expressions and labels. Support for
1859 expressions for all integer fields in all ACPI tables. Support for labels
1861 "generic" portions of tables such as UEFI. See the iASL reference manual.
1863 Debugger: Added a command to display the status of global handlers. The
1864 "handlers" command will display op region, fixed event, and miscellaneous
1865 global handlers. installation status -- and for op regions, whether
1867 or user-installed handler will be used.
1869 iASL: Warn if reserved method incorrectly returns a value. Many predefined
1870 names are defined such that they do not return a value. If implemented as
1872 method, issue a warning if such a name explicitly returns a value. ACPICA
1875 iASL: Added detection of GPE method name conflicts. Detects a conflict
1877 there are two GPE methods of the form _Lxy and _Exy in the same scope.
1879 example, _L1D and _E1D in the same scope.) ACPICA bugzilla 848.
1881 iASL/DTC: Fixed a couple input scanner issues with comments and line
1882 numbers. Comment remover could get confused and miss a comment ending.
1884 a problem with line counter maintenance.
1886 iASL/DTC: Reduced the severity of some errors from fatal to error. There
1888 no need to abort on simple errors within a field definition.
1890 Debugger: Simplified the output of the help command. All help output now
1892 a single screen, instead of help subcommands. ACPICA Bugzilla 897.
1894 ----------------------------------------
1895 12 January 2011. Summary of changes for version 20110112:
1897 1) ACPI CA Core Subsystem:
1899 Fixed a race condition between method execution and namespace walks that
1901 possibly cause a fault. The problem was apparently introduced in version
1902 20100528 as a result of a performance optimization that reduces the number
1904 namespace walks upon method exit by using the delete_namespace_subtree
1905 function instead of the delete_namespace_by_owner function used
1907 Bug is a missing namespace lock in the delete_namespace_subtree function.
1908 dana.myers@oracle.com
1910 Fixed several issues and a possible fault with the automatic "serialized"
1911 method support. History: This support changes a method to "serialized" on
1913 fly if the method generates an AE_ALREADY_EXISTS error, indicating the
1914 possibility that it cannot handle reentrancy. This fix repairs a couple of
1915 issues seen in the field, especially on machines with many cores:
1917 1) Delete method children only upon the exit of the last thread,
1918 so as to not delete objects out from under other running threads
1919 (and possibly causing a fault.)
1920 2) Set the "serialized" bit for the method only upon the exit of the
1921 Last thread, so as to not cause deadlock when running threads
1923 3) Cleanup the use of the AML "MethodFlags" and internal method flags
1924 so that there is no longer any confusion between the two.
1926 Lin Ming, Bob Moore. Reported by dana.myers@oracle.com.
1928 Debugger: Now lock the namespace for duration of a namespace dump.
1930 issues if the namespace is changing dynamically underneath the debugger.
1931 Especially affects temporary namespace nodes, since the debugger displays
1934 Updated the ordering of include files. The ACPICA headers should appear
1935 before any compiler-specific headers (stdio.h, etc.) so that acenv.h can
1937 any necessary compiler-specific defines, etc. Affects the ACPI-related
1941 Updated all ACPICA copyrights and signons to 2011. Added the 2011
1943 to all module headers and signons, including the Linux header. This
1945 virtually every file in the ACPICA core subsystem, iASL compiler, and all
1948 Added project files for MS Visual Studio 2008 (VC++ 9.0). The original
1949 project files for VC++ 6.0 are now obsolete. New project files can be
1951 under acpica/generate/msvc9. See acpica/generate/msvc9/readme.txt for
1954 Example Code and Data Size: These are the sizes for the OS-independent
1955 acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
1956 debug version of the code includes the debug output trace mechanism and
1958 much larger code and data size.
1960 Previous Release (VC 6.0):
1961 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
1962 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
1963 Current Release (VC 9.0):
1964 Non-Debug Version: 89.7K Code, 23.7K Data, 113.4K Total
1965 Debug Version: 163.9K Code, 67.5K Data, 231.4K Total
1967 2) iASL Compiler/Disassembler and Tools:
1969 iASL: Added generic data types to the Data Table compiler. Add "generic"
1971 types such as UINT32, String, Unicode, etc., to simplify the generation of
1972 platform-defined tables such as UEFI. Lin Ming.
1974 iASL: Added listing support for the Data Table Compiler. Adds listing
1976 (-l) to display actual binary output for each line of input code.
1978 ----------------------------------------
1979 09 December 2010. Summary of changes for version 20101209:
1981 1) ACPI CA Core Subsystem:
1983 Completed the major overhaul of the GPE support code that was begun in
1985 2010. Major features include: removal of _PRW execution in ACPICA (host
1986 executes _PRWs anyway), cleanup of "wake" GPE interfaces and processing,
1987 changes to existing interfaces, simplification of GPE handler operation,
1989 a handful of new interfaces:
1995 One new file, evxfgpe.c to consolidate all external GPE interfaces.
1997 See the ACPICA Programmer Reference for full details and programming
1998 information. See the new section 4.4 "General Purpose Event (GPE) Support"
1999 for a full overview, and section 8.7 "ACPI General Purpose Event
2001 for programming details. ACPICA BZ 858,870,877. Matthew Garrett, Lin Ming,
2002 Bob Moore, Rafael Wysocki.
2004 Implemented a new GPE feature for Windows compatibility, the "Implicit
2006 GPE Notify". This feature will automatically issue a Notify(2) on a device
2007 when a Wake GPE is received if there is no corresponding GPE method or
2008 handler. ACPICA BZ 870.
2010 Fixed a problem with the Scope() operator during table parse and load
2012 During load phase (table load or method execution), the scope operator
2014 not enter the target into the namespace. Instead, it should open a new
2016 at the target location. Linux BZ 19462, ACPICA BZ 882.
2018 Example Code and Data Size: These are the sizes for the OS-independent
2019 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2020 debug version of the code includes the debug output trace mechanism and
2022 much larger code and data size.
2025 Non-Debug Version: 89.8K Code, 18.9K Data, 108.7K Total
2026 Debug Version: 166.6K Code, 52.1K Data, 218.7K Total
2028 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2029 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2031 2) iASL Compiler/Disassembler and Tools:
2033 iASL: Relax the alphanumeric restriction on _CID strings. These strings
2035 "bus-specific" per the ACPI specification, and therefore any characters
2037 acceptable. The only checks that can be performed are for a null string
2039 perhaps for a leading asterisk. ACPICA BZ 886.
2041 iASL: Fixed a problem where a syntax error that caused a premature EOF
2042 condition on the source file emitted a very confusing error message. The
2043 premature EOF is now detected correctly. ACPICA BZ 891.
2045 Disassembler: Decode the AccessSize within a Generic Address Structure
2047 access, word access, etc.) Note, this field does not allow arbitrary bit
2048 access, the size is encoded as 1=byte, 2=word, 3=dword, and 4=qword.
2050 New: AcpiNames utility - Example namespace dump utility. Shows an example
2052 ACPICA configuration for a minimal namespace dump utility. Uses table and
2053 namespace managers, but no AML interpreter. Does not add any functionality
2054 over AcpiExec, it is a subset of AcpiExec. The purpose is to show how to
2055 partition and configure ACPICA. ACPICA BZ 883.
2057 AML Debugger: Increased the debugger buffer size for method return
2059 Was 4K, increased to 16K. Also enhanced error messages for debugger method
2060 execution, including the buffer overflow case.
2062 ----------------------------------------
2063 13 October 2010. Summary of changes for version 20101013:
2065 1) ACPI CA Core Subsystem:
2067 Added support to clear the PCIEXP_WAKE event. When clearing ACPI events,
2069 clear the PCIEXP_WAKE_STS bit in the ACPI PM1 Status Register, via
2070 HwClearAcpiStatus. Original change from Colin King. ACPICA BZ 880.
2072 Changed the type of the predefined namespace object _TZ from ThermalZone
2074 Device. This was found to be confusing to the host software that processes
2075 the various thermal zones, since _TZ is not really a ThermalZone. However,
2077 Notify() can still be performed on it. ACPICA BZ 876. Suggestion from Rui
2080 Added Windows Vista SP2 to the list of supported _OSI strings. The actual
2081 string is "Windows 2006 SP2".
2083 Eliminated duplicate code in AcpiUtExecute* functions. Now that the
2085 code automatically repairs _HID-related strings, this type of code is no
2086 longer needed in Execute_HID, Execute_CID, and Execute_UID. ACPICA BZ 878.
2088 Example Code and Data Size: These are the sizes for the OS-independent
2089 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2090 debug version of the code includes the debug output trace mechanism and
2092 much larger code and data size.
2095 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2096 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2098 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2099 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2101 2) iASL Compiler/Disassembler and Tools:
2103 iASL: Implemented additional compile-time validation for _HID strings. The
2104 non-hex prefix (such as "PNP" or "ACPI") must be uppercase, and the length
2106 the string must be exactly seven or eight characters. For both _HID and
2108 strings, all characters must be alphanumeric. ACPICA BZ 874.
2110 iASL: Allow certain "null" resource descriptors. Some BIOS code creates
2111 descriptors that are mostly or all zeros, with the expectation that they
2113 be filled in at runtime. iASL now allows this as long as there is a
2115 tag" (name) associated with the descriptor, which gives the ASL a handle
2116 needed to modify the descriptor. ACPICA BZ 873.
2118 Added single-thread support to the generic Unix application OSL. Primarily
2119 for iASL support, this change removes the use of semaphores in the single-
2120 threaded ACPICA tools/applications - increasing performance. The
2121 _MULTI_THREADED option was replaced by the (reverse) ACPI_SINGLE_THREADED
2122 option. ACPICA BZ 879.
2124 AcpiExec: several fixes for the 64-bit version. Adds XSDT support and
2126 for 64-bit DSDT/FACS addresses in the FADT. Lin Ming.
2128 iASL: Moved all compiler messages to a new file, aslmessages.h.
2130 ----------------------------------------
2131 15 September 2010. Summary of changes for version 20100915:
2133 1) ACPI CA Core Subsystem:
2135 Removed the AcpiOsDerivePciId OSL interface. The various host
2137 of this function were not OS-dependent and are now obsolete and can be
2138 removed from all host OSLs. This function has been replaced by
2139 AcpiHwDerivePciId, which is now part of the ACPICA core code.
2140 AcpiHwDerivePciId has been implemented without recursion. Adds one new
2141 module, hwpci.c. ACPICA BZ 857.
2143 Implemented a dynamic repair for _HID and _CID strings. The following
2144 problems are now repaired at runtime: 1) Remove a leading asterisk in the
2145 string, and 2) the entire string is uppercased. Both repairs are in
2146 accordance with the ACPI specification and will simplify host driver code.
2149 The ACPI_THREAD_ID type is no longer configurable, internally it is now
2150 always UINT64. This simplifies the ACPICA code, especially any printf
2152 UINT64 is the only common data type for all thread_id types across all
2153 operating systems. It is now up to the host OSL to cast the native
2155 type to UINT64 before returning the value to ACPICA (via
2157 Lin Ming, Bob Moore.
2159 Added the ACPI_INLINE type to enhance the ACPICA configuration. The
2161 keyword is not standard across compilers, and this type allows inline to
2163 configured on a per-compiler basis. Lin Ming.
2165 Made the system global AcpiGbl_SystemAwakeAndRunning publically available.
2166 Added an extern for this boolean in acpixf.h. Some hosts utilize this
2168 during suspend/restore operations. ACPICA BZ 869.
2170 All code that implements error/warning messages with the "ACPI:" prefix
2172 been moved to a new module, utxferror.c.
2174 The UINT64_OVERLAY was moved to utmath.c, which is the only module where
2176 is used. ACPICA BZ 829. Lin Ming, Bob Moore.
2178 Example Code and Data Size: These are the sizes for the OS-independent
2179 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2180 debug version of the code includes the debug output trace mechanism and
2182 much larger code and data size.
2185 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
2186 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
2188 Non-Debug Version: 89.9K Code, 19.0K Data, 108.9K Total
2189 Debug Version: 166.3K Code, 52.1K Data, 218.4K Total
2191 2) iASL Compiler/Disassembler and Tools:
2193 iASL/Disassembler: Write ACPI errors to stderr instead of the output file.
2194 This keeps the output files free of random error messages that may
2196 from within the namespace/interpreter code. Used this opportunity to merge
2197 all ACPI:-style messages into a single new module, utxferror.c. ACPICA BZ
2198 866. Lin Ming, Bob Moore.
2200 Tools: update some printfs for ansi warnings on size_t. Handle width
2202 of size_t on 32-bit versus 64-bit generations. Lin Ming.
2204 ----------------------------------------
2205 06 August 2010. Summary of changes for version 20100806:
2207 1) ACPI CA Core Subsystem:
2209 Designed and implemented a new host interface to the _OSI support code.
2211 will allow the host to dynamically add or remove multiple _OSI strings, as
2212 well as install an optional handler that is called for each _OSI
2214 Also added a new AML debugger command, 'osi' to display and modify the
2216 _OSI string table, and test support in the AcpiExec utility. See the
2218 reference manual for full details. Lin Ming, Bob Moore. ACPICA BZ 836.
2220 AcpiInstallInterface - Add an _OSI string.
2221 AcpiRemoveInterface - Delete an _OSI string.
2222 AcpiInstallInterfaceHandler - Install optional _OSI handler.
2224 AcpiOsValidateInterface - no longer used.
2226 source/components/utilities/utosi.c
2228 Re-introduced the support to enable multi-byte transfers for Embedded
2229 Controller (EC) operation regions. A reported problem was found to be a
2231 in the host OS, not in the multi-byte support. Previously, the maximum
2233 size passed to the EC operation region handler was a single byte. There
2235 often EC Fields larger than one byte that need to be transferred, and it
2237 useful for the EC driver to lock these as a single transaction. This
2239 enables single transfers larger than 8 bits. This effectively changes the
2240 access to the EC space from ByteAcc to AnyAcc, and will probably require
2241 changes to the host OS Embedded Controller driver to enable 16/32/64/256-
2243 transfers in addition to 8-bit transfers. Alexey Starikovskiy, Lin Ming.
2245 Fixed a problem with the prototype for AcpiOsReadPciConfiguration. The
2246 prototype in acpiosxf.h had the output value pointer as a (void *).
2247 It should be a (UINT64 *). This may affect some host OSL code.
2249 Fixed a couple problems with the recently modified Linux makefiles for
2251 and AcpiExec. These new makefiles place the generated object files in the
2252 local directory so that there can be no collisions between the files that
2254 shared between them that are compiled with different options.
2256 Example Code and Data Size: These are the sizes for the OS-independent
2257 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2258 debug version of the code includes the debug output trace mechanism and
2260 much larger code and data size.
2263 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
2264 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
2266 Non-Debug Version: 89.1K Code, 19.0K Data, 108.1K Total
2267 Debug Version: 165.1K Code, 51.9K Data, 217.0K Total
2269 2) iASL Compiler/Disassembler and Tools:
2271 iASL/Disassembler: Added a new option (-da, "disassemble all") to load the
2272 namespace from and disassemble an entire group of AML files. Useful for
2273 loading all of the AML tables for a given machine (DSDT, SSDT1...SSDTn)
2275 disassembling with one simple command. ACPICA BZ 865. Lin Ming.
2277 iASL: Allow multiple invocations of -e option. This change allows multiple
2278 uses of -e on the command line: "-e ssdt1.dat -e ssdt2.dat". ACPICA BZ
2282 ----------------------------------------
2283 02 July 2010. Summary of changes for version 20100702:
2285 1) ACPI CA Core Subsystem:
2287 Implemented several updates to the recently added GPE reference count
2288 support. The model for "wake" GPEs is changing to give the host OS
2290 control of these GPEs. Eventually, the ACPICA core will not execute any
2292 methods, since the host already must execute them. Also, additional
2294 were made to help ensure that the reference counts are kept in proper
2295 synchronization with reality. Rafael J. Wysocki.
2297 1) Ensure that GPEs are not enabled twice during initialization.
2298 2) Ensure that GPE enable masks stay in sync with the reference count.
2299 3) Do not inadvertently enable GPEs when writing GPE registers.
2300 4) Remove the internal wake reference counter and add new AcpiGpeWakeup
2301 interface. This interface will set or clear individual GPEs for wakeup.
2302 5) Remove GpeType argument from AcpiEnable and AcpiDisable. These
2304 are now used for "runtime" GPEs only.
2306 Changed the behavior of the GPE install/remove handler interfaces. The GPE
2308 no longer disabled during this process, as it was found to cause problems
2310 some machines. Rafael J. Wysocki.
2312 Reverted a change introduced in version 20100528 to enable Embedded
2313 Controller multi-byte transfers. This change was found to cause problems
2315 Index Fields and possibly Bank Fields. It will be reintroduced when these
2316 problems have been resolved.
2318 Fixed a problem with references to Alias objects within Package Objects. A
2319 reference to an Alias within the definition of a Package was not always
2320 resolved properly. Aliases to objects like Processors, Thermal zones, etc.
2321 were resolved to the actual object instead of a reference to the object as
2323 should be. Package objects are only allowed to contain integer, string,
2324 buffer, package, and reference objects. Redhat bugzilla 608648.
2326 Example Code and Data Size: These are the sizes for the OS-independent
2327 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2328 debug version of the code includes the debug output trace mechanism and
2330 much larger code and data size.
2333 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
2334 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
2336 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
2337 Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
2339 2) iASL Compiler/Disassembler and Tools:
2341 iASL: Implemented a new compiler subsystem to allow definition and
2342 compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc.
2344 are called "ACPI Data Tables", and the new compiler is the "Data Table
2345 Compiler". This compiler is intended to simplify the existing error-prone
2346 process of creating these tables for the BIOS, as well as allowing the
2347 disassembly, modification, recompilation, and override of existing ACPI
2349 tables. See the iASL User Guide for detailed information.
2351 iASL: Implemented a new Template Generator option in support of the new
2353 Table Compiler. This option will create examples of all known ACPI tables
2354 that can be used as the basis for table development. See the iASL
2355 documentation and the -T option.
2357 Disassembler and headers: Added support for the WDDT ACPI table (Watchdog
2360 Updated the Linux makefiles for iASL and AcpiExec to place the generated
2361 object files in the local directory so that there can be no collisions
2362 between the shared files between them that are generated with different
2365 Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use
2366 the #define __APPLE__ to enable this support.
2368 ----------------------------------------
2369 28 May 2010. Summary of changes for version 20100528:
2371 Note: The ACPI 4.0a specification was released on April 5, 2010 and is
2372 available at www.acpi.info. This is primarily an errata release.
2374 1) ACPI CA Core Subsystem:
2376 Undefined ACPI tables: We are looking for the definitions for the
2378 ACPI tables that have been seen in the field: ATKG, IEIT, GSCI.
2380 Implemented support to enable multi-byte transfers for Embedded Controller
2381 (EC) operation regions. Previously, the maximum data size passed to the EC
2382 operation region handler was a single byte. There are often EC Fields
2384 than one byte that need to be transferred, and it is useful for the EC
2386 to lock these as a single transaction. This change enables single
2388 larger than 8 bits. This effectively changes the access to the EC space
2390 ByteAcc to AnyAcc, and will probably require changes to the host OS
2392 Controller driver to enable 16/32/64/256-bit transfers in addition to 8-
2394 transfers. Alexey Starikovskiy, Lin Ming
2396 Implemented a performance enhancement for namespace search and access.
2398 change enhances the performance of namespace searches and walks by adding
2400 backpointer to the parent in each namespace node. On large namespaces,
2402 change can improve overall ACPI performance by up to 9X. Adding a pointer
2404 each namespace node increases the overall size of the internal namespace
2406 about 5%, since each namespace entry usually consists of both a namespace
2407 node and an ACPI operand object. However, this is the first growth of the
2408 namespace in ten years. ACPICA bugzilla 817. Alexey Starikovskiy.
2410 Implemented a performance optimization that reduces the number of
2412 walks. On control method exit, only walk the namespace if the method is
2414 to have created namespace objects outside of its local scope. Previously,
2416 entire namespace was traversed on each control method exit. This change
2418 improve overall ACPI performance by up to 3X. Alexey Starikovskiy, Bob
2421 Added support to truncate I/O addresses to 16 bits for Windows
2423 Some ASL code has been seen in the field that inadvertently has bits set
2424 above bit 15. This feature is optional and is enabled if the BIOS requests
2425 any Windows OSI strings. It can also be enabled by the host OS. Matthew
2428 Added support to limit the maximum time for the ASL Sleep() operator. To
2429 prevent accidental deep sleeps, limit the maximum time that Sleep() will
2430 actually sleep. Configurable, the default maximum is two seconds. ACPICA
2433 Added run-time validation support for the _WDG and_WED Microsoft
2435 methods. These objects are defined by "Windows Instrumentation", and are
2437 part of the ACPI spec. ACPICA BZ 860.
2439 Expanded all statistic counters used during namespace and device
2440 initialization from 16 to 32 bits in order to support very large
2443 Replaced all instances of %d in printf format specifiers with %u since
2445 all integers in ACPICA are unsigned.
2447 Fixed the exception namestring for AE_WAKE_ONLY_GPE. Was incorrectly
2451 Example Code and Data Size: These are the sizes for the OS-independent
2452 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2453 debug version of the code includes the debug output trace mechanism and
2455 much larger code and data size.
2458 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
2459 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
2461 Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
2462 Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
2464 2) iASL Compiler/Disassembler and Tools:
2466 iASL: Added compiler support for the _WDG and_WED Microsoft predefined
2467 methods. These objects are defined by "Windows Instrumentation", and are
2469 part of the ACPI spec. ACPICA BZ 860.
2471 AcpiExec: added option to disable the memory tracking mechanism. The -dt
2472 option will disable the tracking mechanism, which improves performance
2475 AcpiExec: Restructured the command line options into -d (disable) and -e
2478 ----------------------------------------
2479 28 April 2010. Summary of changes for version 20100428:
2481 1) ACPI CA Core Subsystem:
2483 Implemented GPE support for dynamically loaded ACPI tables. For all GPEs,
2484 including FADT-based and GPE Block Devices, execute any _PRW methods in
2486 new table, and process any _Lxx/_Exx GPE methods in the new table. Any
2487 runtime GPE that is referenced by an _Lxx/_Exx method in the new table is
2488 immediately enabled. Handles the FADT-defined GPEs as well as GPE Block
2489 Devices. Provides compatibility with other ACPI implementations. Two new
2490 files added, evgpeinit.c and evgpeutil.c. ACPICA BZ 833. Lin Ming, Bob
2493 Fixed a regression introduced in version 20100331 within the table manager
2494 where initial table loading could fail. This was introduced in the fix for
2495 AcpiReallocateRootTable. Also, renamed some of fields in the table manager
2496 data structures to clarify their meaning and use.
2498 Fixed a possible allocation overrun during internal object copy in
2499 AcpiUtCopySimpleObject. The original code did not correctly handle the
2501 where the object to be copied was a namespace node. Lin Ming. ACPICA BZ
2504 Updated the allocation dump routine, AcpiUtDumpAllocation and fixed a
2505 possible access beyond end-of-allocation. Also, now fully validate
2507 (size and type) before output. Lin Ming, Bob Moore. ACPICA BZ 847
2509 Example Code and Data Size: These are the sizes for the OS-independent
2510 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2511 debug version of the code includes the debug output trace mechanism and
2513 much larger code and data size.
2516 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
2517 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
2519 Non-Debug Version: 88.4K Code, 18.8K Data, 107.2K Total
2520 Debug Version: 164.2K Code, 51.5K Data, 215.7K Total
2522 2) iASL Compiler/Disassembler and Tools:
2524 iASL: Implemented Min/Max/Len/Gran validation for address resource
2525 descriptors. This change implements validation for the address fields that
2526 are common to all address-type resource descriptors. These checks are
2527 implemented: Checks for valid Min/Max, length within the Min/Max window,
2528 valid granularity, Min/Max a multiple of granularity, and _MIF/_MAF as per
2529 table 6-40 in the ACPI 4.0a specification. Also split the large
2531 and aslrestype2.c files into five new files. ACPICA BZ 840.
2533 iASL: Added support for the _Wxx predefined names. This support was
2535 and these names were not recognized by the compiler as valid predefined
2536 names. ACPICA BZ 851.
2538 iASL: Added an error for all predefined names that are defined to return
2540 value and thus must be implemented as Control Methods. These include all
2542 the _Lxx, _Exx, _Wxx, and _Qxx names, as well as some other miscellaneous
2543 names such as _DIS, _INI, _IRC, _OFF, _ON, and _PSx. ACPICA BZ 850, 856.
2545 iASL: Implemented the -ts option to emit hex AML data in ASL format, as an
2546 ASL Buffer. Allows ACPI tables to be easily included within ASL files, to
2548 dynamically loaded via the Load() operator. Also cleaned up output for the
2550 ta and -tc options. ACPICA BZ 853.
2552 Tests: Added a new file with examples of extended iASL error checking.
2553 Demonstrates the advanced error checking ability of the iASL compiler.
2554 Available at tests/misc/badcode.asl.
2556 ----------------------------------------
2557 31 March 2010. Summary of changes for version 20100331:
2559 1) ACPI CA Core Subsystem:
2561 Completed a major update for the GPE support in order to improve support
2563 shared GPEs and to simplify both host OS and ACPICA code. Added a
2565 count mechanism to support shared GPEs that require multiple device
2567 Several external interfaces have changed. One external interface has been
2568 removed. One new external interface was added. Most of the GPE external
2569 interfaces now use the GPE spinlock instead of the events mutex (and the
2570 Flags parameter for many GPE interfaces has been removed.) See the updated
2571 ACPICA Programmer Reference for details. Matthew Garrett, Bob Moore,
2573 Wysocki. ACPICA BZ 831.
2576 AcpiEnableGpe, AcpiDisableGpe, AcpiClearGpe, AcpiGetGpeStatus
2582 Implemented write support for DataTable operation regions. These regions
2584 defined via the DataTableRegion() operator. Previously, only read support
2586 implemented. The ACPI specification allows DataTableRegions to be
2590 Implemented a new subsystem option to force a copy of the DSDT to local
2591 memory. Optionally copy the entire DSDT to local memory (instead of simply
2592 mapping it.) There are some (albeit very rare) BIOSs that corrupt or
2594 the original DSDT, creating the need for this option. Default is FALSE, do
2597 Implemented detection of a corrupted or replaced DSDT. This change adds
2598 support to detect a DSDT that has been corrupted and/or replaced from
2600 the OS (by firmware). This is typically catastrophic for the system, but
2602 been seen on some machines. Once this problem has been detected, the DSDT
2603 copy option can be enabled via system configuration. Lin Ming, Bob Moore.
2605 Fixed two problems with AcpiReallocateRootTable during the root table
2607 When copying the root table to the new allocation, the length used was
2608 incorrect. The new size was used instead of the current table size,
2610 too much data was copied. Also, the count of available slots for ACPI
2612 was not set correctly. Alexey Starikovskiy, Bob Moore.
2614 Example Code and Data Size: These are the sizes for the OS-independent
2615 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2616 debug version of the code includes the debug output trace mechanism and
2618 much larger code and data size.
2621 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
2622 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
2624 Non-Debug Version: 87.9K Code, 18.6K Data, 106.5K Total
2625 Debug Version: 163.5K Code, 51.3K Data, 214.8K Total
2627 2) iASL Compiler/Disassembler and Tools:
2629 iASL: Implement limited typechecking for values returned from predefined
2630 control methods. The type of any returned static (unnamed) object is now
2631 validated. For example, Return(1). ACPICA BZ 786.
2633 iASL: Fixed a predefined name object verification regression. Fixes a
2635 introduced in version 20100304. An error is incorrectly generated if a
2636 predefined name is declared as a static named object with a value defined
2637 using the keywords "Zero", "One", or "Ones". Lin Ming.
2639 iASL: Added Windows 7 support for the -g option (get local ACPI tables) by
2640 reducing the requested registry access rights. ACPICA BZ 842.
2642 Disassembler: fixed a possible fault when generating External()
2644 Introduced in commit ae7d6fd: Properly handle externals with parent-prefix
2645 (carat). Fixes a string length allocation calculation. Lin Ming.
2647 ----------------------------------------
2648 04 March 2010. Summary of changes for version 20100304:
2650 1) ACPI CA Core Subsystem:
2652 Fixed a possible problem with the AML Mutex handling function
2653 AcpiExReleaseMutex where the function could fault under the very rare
2654 condition when the interpreter has blocked, the interpreter lock is
2656 the interpreter is then reentered via the same thread, and attempts to
2657 acquire an AML mutex that was previously acquired. FreeBSD report 140979.
2661 Implemented additional configuration support for the AML "Debug Object".
2662 Output from the debug object can now be enabled via a global variable,
2663 AcpiGbl_EnableAmlDebugObject. This will assist with remote machine
2665 This debug output is now available in the release version of ACPICA
2667 of just the debug version. Also, the entire debug output module can now be
2668 configured out of the ACPICA build if desired. One new file added,
2669 executer/exdebug.c. Lin Ming, Bob Moore.
2671 Added header support for the ACPI MCHI table (Management Controller Host
2672 Interface Table). This table was added in ACPI 4.0, but the defining
2674 has only recently become available.
2676 Standardized output of integer values for ACPICA warnings/errors. Always
2678 0x prefix for hex output, always use %u for unsigned integer decimal
2680 Affects ACPI_INFO, ACPI_ERROR, ACPI_EXCEPTION, and ACPI_WARNING (about 400
2681 invocations.) These invocations were converted from the original
2682 ACPI_DEBUG_PRINT invocations and were not consistent. ACPICA BZ 835.
2684 Example Code and Data Size: These are the sizes for the OS-independent
2685 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2686 debug version of the code includes the debug output trace mechanism and
2688 much larger code and data size.
2691 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
2692 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
2694 Non-Debug Version: 87.5K Code, 18.4K Data, 105.9K Total
2695 Debug Version: 163.4K Code, 51.1K Data, 214.5K Total
2697 2) iASL Compiler/Disassembler and Tools:
2699 iASL: Implemented typechecking support for static (non-control method)
2700 predefined named objects that are declared with the Name() operator. For
2701 example, the type of this object is now validated to be of type Integer:
2702 Name(_BBN, 1). This change migrates the compiler to using the core
2704 name table instead of maintaining a local version. Added a new file,
2705 aslpredef.c. ACPICA BZ 832.
2707 Disassembler: Added support for the ACPI 4.0 MCHI table.
2709 ----------------------------------------
2710 21 January 2010. Summary of changes for version 20100121:
2712 1) ACPI CA Core Subsystem:
2714 Added the 2010 copyright to all module headers and signons. This affects
2715 virtually every file in the ACPICA core subsystem, the iASL compiler, the
2716 tools/utilities, and the test suites.
2718 Implemented a change to the AcpiGetDevices interface to eliminate
2720 invocations of the _STA method. In the case where a specific _HID is
2721 requested, do not run _STA until a _HID match is found. This eliminates
2722 potentially dozens of _STA calls during a search for a particular
2724 which in turn can improve boot times. ACPICA BZ 828. Lin Ming.
2726 Implemented an additional repair for predefined method return values.
2728 to repair unexpected NULL elements within returned Package objects. Create
2730 Integer of value zero, a NULL String, or a zero-length Buffer as
2732 ACPICA BZ 818. Lin Ming, Bob Moore.
2734 Removed the obsolete ACPI_INTEGER data type. This type was introduced as
2736 code was migrated from ACPI 1.0 (with 32-bit AML integers) to ACPI 2.0
2738 64-bit AML integers). It is now obsolete and this change removes it from
2740 ACPICA code base, replaced by UINT64. The original typedef has been
2742 for now for compatibility with existing device driver code. ACPICA BZ 824.
2744 Removed the unused UINT32_STRUCT type, and the obsolete Integer64 field in
2745 the parse tree object.
2747 Added additional warning options for the gcc-4 generation. Updated the
2749 accordingly. This includes some code restructuring to eliminate
2751 code, elimination of some gotos, elimination of unused return values, some
2752 additional casting, and removal of redundant declarations.
2754 Example Code and Data Size: These are the sizes for the OS-independent
2755 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2756 debug version of the code includes the debug output trace mechanism and
2758 much larger code and data size.
2761 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
2762 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
2764 Non-Debug Version: 87.1K Code, 18.0K Data, 105.1K Total
2765 Debug Version: 163.5K Code, 50.9K Data, 214.4K Total
2767 2) iASL Compiler/Disassembler and Tools:
2769 No functional changes for this release.
2771 ----------------------------------------
2772 14 December 2009. Summary of changes for version 20091214:
2774 1) ACPI CA Core Subsystem:
2776 Enhanced automatic data type conversions for predefined name repairs. This
2777 change expands the automatic repairs/conversions for predefined name
2779 values to make Integers, Strings, and Buffers fully interchangeable. Also,
2781 Buffer can be converted to a Package of Integers if necessary. The
2783 module was completely restructured. Lin Ming, Bob Moore.
2785 Implemented automatic removal of null package elements during predefined
2787 repairs. This change will automatically remove embedded and trailing NULL
2788 package elements from returned package objects that are defined to contain
2790 variable number of sub-packages. The driver is then presented with a
2792 with no null elements to deal with. ACPICA BZ 819.
2794 Implemented a repair for the predefined _FDE and _GTM names. The expected
2795 return value for both names is a Buffer of 5 DWORDs. This repair fixes two
2796 possible problems (both seen in the field), where a package of integers is
2797 returned, or a buffer of BYTEs is returned. With assistance from Jung-uk
2800 Implemented additional module-level code support. This change will
2802 execute module-level code that is not at the root of the namespace (under
2804 Device object, etc.). Now executes the code within the current scope
2806 of the root. ACPICA BZ 762. Lin Ming.
2808 Fixed possible mutex acquisition errors when running _REG methods. Fixes a
2809 problem where mutex errors can occur when running a _REG method that is in
2810 the same scope as a method-defined operation region or an operation region
2811 under a module-level IF block. This type of code is rare, so the problem
2813 not been seen before. ACPICA BZ 826. Lin Ming, Bob Moore.
2815 Fixed a possible memory leak during module-level code execution. An object
2816 could be leaked for each block of executed module-level code if the
2817 interpreter slack mode is enabled This change deletes any implicitly
2819 object from the module-level code block. Lin Ming.
2821 Removed messages for successful predefined repair(s). The repair mechanism
2822 was considered too wordy. Now, messages are only unconditionally emitted
2824 the return object cannot be repaired. Existing messages for successful
2825 repairs were converted to ACPI_DEBUG_PRINT messages for now. ACPICA BZ
2828 Example Code and Data Size: These are the sizes for the OS-independent
2829 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2830 debug version of the code includes the debug output trace mechanism and
2832 much larger code and data size.
2835 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
2836 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
2838 Non-Debug Version: 87.0K Code, 18.0K Data, 105.0K Total
2839 Debug Version: 163.4K Code, 50.8K Data, 214.2K Total
2841 2) iASL Compiler/Disassembler and Tools:
2843 iASL: Fixed a regression introduced in 20091112 where intermediate .SRC
2845 were no longer automatically removed at the termination of the compile.
2847 acpiexec: Implemented the -f option to specify default region fill value.
2848 This option specifies the value used to initialize buffers that simulate
2849 operation regions. Default value is zero. Useful for debugging problems
2851 depend on a specific initial value for a region or field.
2853 ----------------------------------------
2854 12 November 2009. Summary of changes for version 20091112:
2856 1) ACPI CA Core Subsystem:
2858 Implemented a post-order callback to AcpiWalkNamespace. The existing
2859 interface only has a pre-order callback. This change adds an additional
2860 parameter for a post-order callback which will be more useful for bus
2862 ACPICA BZ 779. Lin Ming. Updated the ACPICA Programmer Reference.
2864 Modified the behavior of the operation region memory mapping cache for
2865 SystemMemory. Ensure that the memory mappings created for operation
2867 do not cross 4K page boundaries. Crossing a page boundary while mapping
2868 regions can cause kernel warnings on some hosts if the pages have
2870 attributes. Such regions are probably BIOS bugs, and this is the
2872 Linux BZ 14445. Lin Ming.
2874 Implemented an automatic repair for predefined methods that must return
2875 sorted lists. This change will repair (by sorting) packages returned by
2877 _PSS, and _TSS. Drivers can now assume that the packages are correctly
2879 and do not contain NULL package elements. Adds one new file,
2880 namespace/nsrepair2.c. ACPICA BZ 784. Lin Ming, Bob Moore.
2882 Fixed a possible fault during predefined name validation if a return
2884 object contains NULL elements. Also adds a warning if a NULL element is
2885 followed by any non-null elements. ACPICA BZ 813, 814. Future enhancement
2887 include repair or removal of all such NULL elements where possible.
2889 Implemented additional module-level executable AML code support. This
2891 will execute module-level code that is not at the root of the namespace
2892 (under a Device object, etc.) at table load time. Module-level executable
2894 code has been illegal since ACPI 2.0. ACPICA BZ 762. Lin Ming.
2896 Implemented a new internal function to create Integer objects. This
2898 simplifies miscellaneous object creation code. ACPICA BZ 823.
2900 Reduced the severity of predefined repair messages, Warning to Info. Since
2901 the object was successfully repaired, a warning is too severe. Reduced to
2903 info message for now. These messages may eventually be changed to debug-
2907 Example Code and Data Size: These are the sizes for the OS-independent
2908 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2909 debug version of the code includes the debug output trace mechanism and
2911 much larger code and data size.
2914 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
2915 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
2917 Non-Debug Version: 86.6K Code, 18.2K Data, 104.8K Total
2918 Debug Version: 162.7K Code, 50.8K Data, 213.5K Total
2920 2) iASL Compiler/Disassembler and Tools:
2922 iASL: Implemented Switch() with While(1) so that Break works correctly.
2924 change correctly implements the Switch operator with a surrounding
2926 so that the Break operator works as expected. ACPICA BZ 461. Lin Ming.
2928 iASL: Added a message if a package initializer list is shorter than
2930 length. Adds a new remark for a Package() declaration if an initializer
2932 exists, but is shorter than the declared length of the package. Although
2933 technically legal, this is probably a coding error and it is seen in the
2934 field. ACPICA BZ 815. Lin Ming, Bob Moore.
2936 iASL: Fixed a problem where the compiler could fault after the maximum
2938 of errors was reached (200).
2940 acpixtract: Fixed a possible warning for pointer cast if the compiler
2942 level set very high.
2944 ----------------------------------------
2945 13 October 2009. Summary of changes for version 20091013:
2947 1) ACPI CA Core Subsystem:
2949 Fixed a problem where an Operation Region _REG method could be executed
2951 than once. If a custom address space handler is installed by the host
2953 the "initialize operation regions" phase of the ACPICA initialization, any
2954 _REG methods for that address space could be executed twice. This change
2955 fixes the problem. ACPICA BZ 427. Lin Ming.
2957 Fixed a possible memory leak for the Scope() ASL operator. When the exact
2958 invocation of "Scope(\)" is executed (change scope to root), one internal
2959 operand object was leaked. Lin Ming.
2961 Implemented a run-time repair for the _MAT predefined method. If the _MAT
2962 return value is defined as a Field object in the AML, and the field
2963 size is less than or equal to the default width of an integer (32 or
2965 can incorrectly return an Integer instead of a Buffer. ACPICA now
2966 automatically repairs this problem. ACPICA BZ 810.
2968 Implemented a run-time repair for the _BIF and _BIX predefined methods.
2970 "OEM Information" field is often incorrectly returned as an Integer with
2971 value zero if the field is not supported by the platform. This is due to
2973 ambiguity in the ACPI specification. The field should always be a string.
2974 ACPICA now automatically repairs this problem by returning a NULL string
2975 within the returned Package. ACPICA BZ 807.
2977 Example Code and Data Size: These are the sizes for the OS-independent
2978 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
2979 debug version of the code includes the debug output trace mechanism and
2981 much larger code and data size.
2984 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
2985 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
2987 Non-Debug Version: 85.8K Code, 18.0K Data, 103.8K Total
2988 Debug Version: 161.8K Code, 50.6K Data, 212.4K Total
2990 2) iASL Compiler/Disassembler and Tools:
2992 Disassembler: Fixed a problem where references to external symbols that
2993 contained one or more parent-prefixes (carats) were not handled correctly,
2994 possibly causing a fault. ACPICA BZ 806. Lin Ming.
2996 Disassembler: Restructured the code so that all functions that handle
2997 external symbols are in a single module. One new file is added,
3000 AML Debugger: Added a max count argument for the Batch command (which
3001 executes multiple predefined methods within the namespace.)
3003 iASL: Updated the compiler documentation (User Reference.) Available at
3004 http://www.acpica.org/documentation/. ACPICA BZ 750.
3006 AcpiXtract: Updated for Lint and other formatting changes. Close all open
3009 ----------------------------------------
3010 03 September 2009. Summary of changes for version 20090903:
3012 1) ACPI CA Core Subsystem:
3014 For Windows Vista compatibility, added the automatic execution of an _INI
3015 method located at the namespace root (\_INI). This method is executed at
3016 table load time. This support is in addition to the automatic execution of
3017 \_SB._INI. Lin Ming.
3019 Fixed a possible memory leak in the interpreter for AML package objects if
3020 the package initializer list is longer than the defined size of the
3022 This apparently can only happen if the BIOS changes the package size on
3024 fly (seen in a _PSS object), as ASL compilers do not allow this. The
3025 interpreter will truncate the package to the defined size (and issue an
3027 message), but previously could leave the extra objects undeleted if they
3029 pre-created during the argument processing (such is the case if the
3031 consists of a number of sub-packages as in the _PSS.) ACPICA BZ 805.
3033 Fixed a problem seen when a Buffer or String is stored to itself via ASL.
3034 This has been reported in the field. Previously, ACPICA would zero out the
3035 buffer/string. Now, the operation is treated as a noop. Provides Windows
3036 compatibility. ACPICA BZ 803. Lin Ming.
3038 Removed an extraneous error message for ASL constructs of the form
3039 Store(LocalX,LocalX) when LocalX is uninitialized. These curious
3041 are seen in many BIOSs and are once again treated as NOOPs and no error is
3042 emitted when they are encountered. ACPICA BZ 785.
3044 Fixed an extraneous warning message if a _DSM reserved method returns a
3045 Package object. _DSM can return any type of object, so validation on the
3046 return type cannot be performed. ACPICA BZ 802.
3048 Example Code and Data Size: These are the sizes for the OS-independent
3049 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3050 debug version of the code includes the debug output trace mechanism and
3052 much larger code and data size.
3055 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
3056 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
3058 Non-Debug Version: 85.6K Code, 18.0K Data, 103.6K Total
3059 Debug Version: 161.7K Code, 50.9K Data, 212.6K Total
3061 2) iASL Compiler/Disassembler and Tools:
3063 iASL: Fixed a problem with the use of the Alias operator and Resource
3064 Templates. The correct alias is now constructed and no error is emitted.
3067 iASL: Implemented the -I option to specify additional search directories
3069 include files. Allows multiple additional search paths for include files.
3070 Directories are searched in the order specified on the command line (after
3071 the local directory is searched.) ACPICA BZ 800.
3073 iASL: Fixed a problem where the full pathname for include files was not
3074 emitted for warnings/errors. This caused the IDE support to not work
3075 properly. ACPICA BZ 765.
3077 iASL: Implemented the -@ option to specify a Windows-style response file
3078 containing additional command line options. ACPICA BZ 801.
3080 AcpiExec: Added support to load multiple AML files simultaneously (such as
3082 DSDT and multiple SSDTs). Also added support for wildcards within the AML
3083 pathname. These features allow all machine tables to be easily loaded and
3084 debugged together. ACPICA BZ 804.
3086 Disassembler: Added missing support for disassembly of HEST table Error
3090 ----------------------------------------
3091 30 July 2009. Summary of changes for version 20090730:
3093 The ACPI 4.0 implementation for ACPICA is complete with this release.
3095 1) ACPI CA Core Subsystem:
3097 ACPI 4.0: Added header file support for all new and changed ACPI tables.
3098 Completely new tables are: IBFT, IVRS, MSCT, and WAET. Tables that are new
3099 for ACPI 4.0, but have previously been supported in ACPICA are: CPEP,
3101 EINJ, ERST, and HEST. Other newly supported tables are: UEFI and WDAT.
3103 have been some ACPI 4.0 changes to other existing tables. Split the large
3104 actbl1.h header into the existing actbl2.h header. ACPICA BZ 774.
3106 ACPI 4.0: Implemented predefined name validation for all new names. There
3108 31 new names in ACPI 4.0. The predefined validation module was split into
3110 files. The new file is namespace/nsrepair.c. ACPICA BZ 770.
3112 Implemented support for so-called "module-level executable code". This is
3113 executable AML code that exists outside of any control method and is
3115 to be executed at table load time. Although illegal since ACPI 2.0, this
3117 of code still exists and is apparently still being created. Blocks of this
3118 code are now detected and executed as intended. Currently, the code blocks
3119 must exist under either an If, Else, or While construct; these are the
3120 typical cases seen in the field. ACPICA BZ 762. Lin Ming.
3122 Implemented an automatic dynamic repair for predefined names that return
3123 nested Package objects. This applies to predefined names that are defined
3125 return a variable-length Package of sub-packages. If the number of sub-
3126 packages is one, BIOS code is occasionally seen that creates a simple
3128 package with no sub-packages. This code attempts to fix the problem by
3129 wrapping a new package object around the existing package. These methods
3131 be repaired: _ALR, _CSD, _HPX, _MLS, _PRT, _PSS, _TRT, and _TSS. ACPICA BZ
3134 Fixed a regression introduced in 20090625 for the AcpiGetDevices
3136 The _HID/_CID matching was broken and no longer matched IDs correctly.
3140 Fixed a problem with AcpiReset where the reset would silently fail if the
3141 register was one of the protected I/O ports. AcpiReset now bypasses the
3143 validation mechanism. This may eventually be driven into the
3147 Fixed a regression related to the recent update of the AcpiRead/Write
3148 interfaces. A sleep/suspend could fail if the optional PM2 Control
3150 does not exist during an attempt to write the Bus Master Arbitration bit.
3151 (However, some hosts already delete the code that writes this bit, and the
3152 code may in fact be obsolete at this date.) ACPICA BZ 799.
3154 Fixed a problem where AcpiTerminate could fault if inadvertently called
3156 in succession. ACPICA BZ 795.
3158 Example Code and Data Size: These are the sizes for the OS-independent
3159 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3160 debug version of the code includes the debug output trace mechanism and
3162 much larger code and data size.
3165 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
3166 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
3168 Non-Debug Version: 85.5K Code, 18.0K Data, 103.5K Total
3169 Debug Version: 161.6K Code, 50.9K Data, 212.5K Total
3171 2) iASL Compiler/Disassembler and Tools:
3173 ACPI 4.0: Implemented disassembler support for all new ACPI tables and
3174 changes to existing tables. ACPICA BZ 775.
3176 ----------------------------------------
3177 25 June 2009. Summary of changes for version 20090625:
3179 The ACPI 4.0 Specification was released on June 16 and is available at
3180 www.acpi.info. ACPICA implementation of ACPI 4.0 is underway and will
3181 continue for the next few releases.
3183 1) ACPI CA Core Subsystem:
3185 ACPI 4.0: Implemented interpreter support for the IPMI operation region
3186 address space. Includes support for bi-directional data buffers and an
3188 address space handler (to be installed by an IPMI device driver.) ACPICA
3192 ACPI 4.0: Added changes for existing ACPI tables - FACS and SRAT. Includes
3193 support in both the header files and the disassembler.
3195 Completed a major update for the AcpiGetObjectInfo external interface.
3197 - Support for variable, unlimited length HID, UID, and CID strings.
3198 - Support Processor objects the same as Devices (HID,UID,CID,ADR,STA,
3200 - Call the _SxW power methods on behalf of a device object.
3201 - Determine if a device is a PCI root bridge.
3202 - Change the ACPI_BUFFER parameter to ACPI_DEVICE_INFO.
3203 These changes will require an update to all callers of this interface. See
3204 the updated ACPICA Programmer Reference for details. One new source file
3206 been added - utilities/utids.c. ACPICA BZ 368, 780.
3208 Updated the AcpiRead and AcpiWrite external interfaces to support 64-bit
3209 transfers. The Value parameter has been extended from 32 bits to 64 bits
3211 order to support new ACPI 4.0 tables. These changes will require an update
3213 all callers of these interfaces. See the ACPICA Programmer Reference for
3214 details. ACPICA BZ 768.
3216 Fixed several problems with AcpiAttachData. The handler was not invoked
3218 the host node was deleted. The data sub-object was not automatically
3220 when the host node was deleted. The interface to the handler had an unused
3221 parameter, this was removed. ACPICA BZ 778.
3223 Enhanced the function that dumps ACPI table headers. All non-printable
3224 characters in the string fields are now replaced with '?' (Signature,
3226 OemTableId, and CompilerId.) ACPI tables with non-printable characters in
3227 these fields are occasionally seen in the field. ACPICA BZ 788.
3229 Fixed a problem with predefined method repair code where the code that
3230 attempts to repair/convert an object of incorrect type is only executed on
3231 the first time the predefined method is called. The mechanism that
3233 warnings on subsequent calls was interfering with the repair mechanism.
3236 Fixed a possible memory leak in the predefined validation/repair code when
3238 buffer is automatically converted to an expected string object.
3240 Removed obsolete 16-bit files from the distribution and from the current
3242 tree head. ACPICA BZ 776.
3244 Example Code and Data Size: These are the sizes for the OS-independent
3245 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3246 debug version of the code includes the debug output trace mechanism and
3248 much larger code and data size.
3251 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
3252 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
3254 Non-Debug Version: 84.7K Code, 17.8K Data, 102.5K Total
3255 Debug Version: 160.5K Code, 50.6K Data, 211.1K Total
3257 2) iASL Compiler/Disassembler and Tools:
3259 ACPI 4.0: iASL and Disassembler - implemented support for the new IPMI
3260 operation region keyword. ACPICA BZ 771, 772. Lin Ming.
3262 ACPI 4.0: iASL - implemented compile-time validation support for all new
3263 predefined names and control methods (31 total). ACPICA BZ 769.
3265 ----------------------------------------
3266 21 May 2009. Summary of changes for version 20090521:
3268 1) ACPI CA Core Subsystem:
3270 Disabled the preservation of the SCI enable bit in the PM1 control
3272 The SCI enable bit (bit 0, SCI_EN) is defined by the ACPI specification to
3274 a "preserved" bit - "OSPM always preserves this bit position", section
3275 4.7.3.2.1. However, some machines fail if this bit is in fact preserved
3276 because the bit needs to be explicitly set by the OS as a workaround. No
3277 machines fail if the bit is not preserved. Therefore, ACPICA no longer
3278 attempts to preserve this bit.
3280 Fixed a problem in AcpiRsGetPciRoutingTableLength where an invalid or
3281 incorrectly formed _PRT package could cause a fault. Added validation to
3282 ensure that each package element is actually a sub-package.
3284 Implemented a new interface to install or override a single control
3286 AcpiInstallMethod. This interface is useful when debugging in order to
3288 an existing method or to install a missing method without having to
3290 the entire ACPI table. See the ACPICA Programmer Reference for use and
3291 examples. Lin Ming, Bob Moore.
3293 Fixed several reference count issues with the DdbHandle object that is
3294 created from a Load or LoadTable operator. Prevent premature deletion of
3296 object. Also, mark the object as invalid once the table has been unloaded.
3297 This is needed because the handle itself may not be deleted after the
3299 unload, depending on whether it has been stored in a named object by the
3302 Fixed a problem with Mutex Sync Levels. Fixed a problem where if multiple
3303 mutexes of the same sync level are acquired but then not released in
3305 opposite order, the internally maintained Current Sync Level becomes
3307 and can cause subsequent execution errors. ACPICA BZ 471.
3309 Changed the allowable release order for ASL mutex objects. The ACPI 4.0
3310 specification has been changed to make the SyncLevel for mutex objects
3312 useful. When releasing a mutex, the SyncLevel of the mutex must now be the
3313 same as the current sync level. This makes more sense than the previous
3315 (SyncLevel less than or equal). This change updates the code to match the
3318 Fixed a problem with the local version of the AcpiOsPurgeCache function.
3320 (local) cache must be locked during all cache object deletions. Andrew
3323 Updated the Load operator to use operation region interfaces. This
3325 direct memory mapping with region access calls. Now, all region accesses
3327 through the installed region handler as they should.
3329 Simplified and optimized the NsGetNextNode function. Reduced parameter
3331 and reduced code for this frequently used function.
3333 Example Code and Data Size: These are the sizes for the OS-independent
3334 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3335 debug version of the code includes the debug output trace mechanism and
3337 much larger code and data size.
3340 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
3341 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
3343 Non-Debug Version: 83.4K Code, 17.5K Data, 100.9K Total
3344 Debug Version: 158.9K Code, 50.0K Data, 208.9K Total
3346 2) iASL Compiler/Disassembler and Tools:
3348 Disassembler: Fixed some issues with DMAR, HEST, MADT tables. Some
3350 with sub-table disassembly and handling invalid sub-tables. Attempt
3352 after an invalid sub-table ID.
3354 ----------------------------------------
3355 22 April 2009. Summary of changes for version 20090422:
3357 1) ACPI CA Core Subsystem:
3359 Fixed a compatibility issue with the recently released I/O port protection
3360 mechanism. For windows compatibility, 1) On a port protection violation,
3361 simply ignore the request and do not return an exception (allow the
3363 method to continue execution.) 2) If only part of the request overlaps a
3364 protected port, read/write the individual ports that are not protected.
3368 Enhanced the execution of the ASL/AML BreakPoint operator so that it
3370 breaks into the AML debugger if the debugger is present. This matches the
3371 ACPI-defined behavior.
3373 Fixed several possible warnings related to the use of the configurable
3374 ACPI_THREAD_ID. This type can now be configured as either an integer or a
3375 pointer with no warnings. Also fixes several warnings in printf-like
3376 statements for the 64-bit build when the type is configured as a pointer.
3379 Fixed a number of possible warnings when compiling with gcc 4+ (depending
3381 warning options.) Examples include printf formats, aliasing, unused
3383 missing prototypes, missing switch default statements, use of non-ANSI
3384 library functions, use of non-ANSI constructs. See generate/unix/Makefile
3386 a list of warning options used with gcc 3 and 4. ACPICA BZ 735.
3388 Example Code and Data Size: These are the sizes for the OS-independent
3389 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3390 debug version of the code includes the debug output trace mechanism and
3392 much larger code and data size.
3395 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
3396 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
3398 Non-Debug Version: 82.8K Code, 17.5K Data, 100.3K Total
3399 Debug Version: 158.0K Code, 49.9K Data, 207.9K Total
3401 2) iASL Compiler/Disassembler and Tools:
3403 iASL: Fixed a generation warning from Bison 2.3 and fixed several warnings
3407 iASL: Fixed a problem where the Unix/Linux versions of the compiler could
3409 correctly digest Windows/DOS formatted files (with CR/LF).
3411 iASL: Added a new option for "quiet mode" (-va) that produces only the
3412 compilation summary, not individual errors and warnings. Useful for large
3415 AcpiExec: Implemented a new option (-z) to enable a forced semaphore/mutex
3416 timeout that can be used to detect hang conditions during execution of AML
3417 code (includes both internal semaphores and AML-defined mutexes and
3420 Added new makefiles for the generation of acpica in a generic unix-like
3421 environment. These makefiles are intended to generate the acpica tools and
3422 utilities from the original acpica git source tree structure.
3424 Test Suites: Updated and cleaned up the documentation files. Updated the
3425 copyrights to 2009, affecting all source files. Use the new version of
3427 with quiet mode. Increased the number of available semaphores in the
3429 OSL, allowing the aslts to execute fully on Windows. For the Unix OSL,
3431 an alternate implementation of the semaphore timeout to allow aslts to
3432 execute fully on Cygwin.
3434 ----------------------------------------
3435 20 March 2009. Summary of changes for version 20090320:
3437 1) ACPI CA Core Subsystem:
3439 Fixed a possible race condition between AcpiWalkNamespace and dynamic
3441 unloads. Added a reader/writer locking mechanism to allow multiple
3443 namespace walks (readers), but block a dynamic table unload until it can
3445 exclusive write access to the namespace. This fixes a problem where a
3447 unload could (possibly catastrophically) delete the portion of the
3449 that is currently being examined by a walk. Adds a new file, utlock.c,
3451 implements the reader/writer lock mechanism. ACPICA BZ 749.
3453 Fixed a regression introduced in version 20090220 where a change to the
3455 handling could cause the ACPICA subsystem to access non-existent I/O
3458 Modified the handling of FADT register and table (FACS/DSDT) addresses.
3460 FADT can contain both 32-bit and 64-bit versions of these addresses.
3461 Previously, the 64-bit versions were favored, meaning that if both 32 and
3463 versions were valid, but not equal, the 64-bit version was used. This was
3464 found to cause some machines to fail. Now, in this case, the 32-bit
3466 is used instead. This now matches the Windows behavior.
3468 Implemented a new mechanism to protect certain I/O ports. Provides
3470 compatibility and protects the standard PC I/O ports from access via AML
3471 code. Adds a new file, hwvalid.c
3473 Fixed a possible extraneous warning message from the FADT support. The
3474 message warns of a 32/64 length mismatch between the legacy and GAS
3475 definitions for a register.
3477 Removed the obsolete AcpiOsValidateAddress OSL interface. This interface
3479 made obsolete by the port protection mechanism above. It was previously
3481 to validate the entire address range of an operation region, which could
3483 incorrect if the range included illegal ports, but fields within the
3484 operation region did not actually access those ports. Validation is now
3485 performed on a per-field basis instead of the entire region.
3487 Modified the handling of the PM1 Status Register ignored bit (bit 11.)
3488 Ignored bits must be "preserved" according to the ACPI spec. Usually, this
3489 means a read/modify/write when writing to the register. However, for
3491 registers, writing a one means clear the event. Writing a zero means
3493 the event (do not clear.) This behavior is clarified in the ACPI 4.0 spec,
3494 and the ACPICA code now simply always writes a zero to the ignored bit.
3496 Modified the handling of ignored bits for the PM1 A/B Control Registers.
3498 per the ACPI specification, for the control registers, preserve
3499 (read/modify/write) all bits that are defined as either reserved or
3502 Updated the handling of write-only bits in the PM1 A/B Control Registers.
3503 When reading the register, zero the write-only bits as per the ACPI spec.
3504 ACPICA BZ 443. Lin Ming.
3506 Removed "Linux" from the list of supported _OSI strings. Linux no longer
3507 wants to reply true to this request. The Windows strings are the only
3509 through the AML that are tested and known to work properly.
3512 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
3513 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
3515 Non-Debug Version: 82.6K Code, 17.6K Data, 100.2K Total
3516 Debug Version: 157.7K Code, 49.9K Data, 207.6K Total
3518 2) iASL Compiler/Disassembler and Tools:
3520 Acpiexec: Split the large aeexec.c file into two new files, aehandlers.c
3524 ----------------------------------------
3525 20 February 2009. Summary of changes for version 20090220:
3527 1) ACPI CA Core Subsystem:
3529 Optimized the ACPI register locking. Removed locking for reads from the
3531 bit registers in PM1 Status, Enable, Control, and PM2 Control. The lock is
3532 not required when reading the single-bit registers. The
3533 AcpiGetRegisterUnlocked function is no longer needed and has been removed.
3534 This will improve performance for reads on these registers. ACPICA BZ 760.
3536 Fixed the parameter validation for AcpiRead/Write. Now return
3537 AE_BAD_PARAMETER if the input register pointer is null, and AE_BAD_ADDRESS
3539 the register has an address of zero. Previously, these cases simply
3541 AE_OK. For optional registers such as PM1B status/enable/control, the
3543 should check for a valid register address before calling. ACPICA BZ 748.
3545 Renamed the external ACPI bit register access functions. Renamed
3546 AcpiGetRegister and AcpiSetRegister to clarify the purpose of these
3547 functions. The new names are AcpiReadBitRegister and AcpiWriteBitRegister.
3548 Also, restructured the code for these functions by simplifying the code
3550 and condensing duplicate code to reduce code size.
3552 Added new functions to transparently handle the possibly split PM1 A/B
3553 registers. AcpiHwReadMultiple and AcpiHwWriteMultiple. These two functions
3554 now handle the split registers for PM1 Status, Enable, and Control. ACPICA
3558 Added a function to handle the PM1 control registers,
3559 AcpiHwWritePm1Control.
3560 This function writes both of the PM1 control registers (A/B). These
3562 are different than the PM1 A/B status and enable registers in that
3564 values can be written to the A/B registers. Most notably, the SLP_TYP bits
3565 can be different, as per the values returned from the _Sx predefined
3568 Removed an extra register write within AcpiHwClearAcpiStatus. This
3570 was writing an optional PM1B status register twice. The existing call to
3572 low-level AcpiHwRegisterWrite automatically handles a possibly split PM1
3574 register. ACPICA BZ 751.
3576 Split out the PM1 Status registers from the FADT. Added new globals for
3578 registers (A/B), similar to the way the PM1 Enable registers are handled.
3579 Instead of overloading the FADT Event Register blocks. This makes the code
3580 clearer and less prone to error.
3582 Fixed the warning message for when the platform contains too many ACPI
3584 for the default size of the global root table data structure. The
3586 for the truncation value was incorrect.
3588 Removed the ACPI_GET_OBJECT_TYPE macro. Removed all instances of this
3589 obsolete macro, since it is now a simple reference to ->common.type. There
3590 were about 150 invocations of the macro across 41 files. ACPICA BZ 755.
3592 Removed the redundant ACPI_BITREG_SLEEP_TYPE_B. This type is the same as
3593 TYPE_A. Removed this and all related instances. Renamed SLEEP_TYPE_A to
3594 simply SLEEP_TYPE. ACPICA BZ 754.
3596 Conditionally compile the AcpiSetFirmwareWakingVector64 function. This
3597 function is only needed on 64-bit host operating systems and is thus not
3598 included for 32-bit hosts.
3600 Debug output: print the input and result for invocations of the _OSI
3602 control method via the ACPI_LV_INFO debug level. Also, reduced some of the
3603 verbosity of this debug level. Len Brown.
3605 Example Code and Data Size: These are the sizes for the OS-independent
3606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3607 debug version of the code includes the debug output trace mechanism and
3609 much larger code and data size.
3612 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
3613 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
3615 Non-Debug Version: 82.0K Code, 17.5K Data, 99.5K Total
3616 Debug Version: 156.9K Code, 49.8K Data, 206.7K Total
3618 2) iASL Compiler/Disassembler and Tools:
3620 Disassembler: Decode the FADT PM_Profile field. Emit ascii names for the
3621 various legal performance profiles.
3623 ----------------------------------------
3624 23 January 2009. Summary of changes for version 20090123:
3626 1) ACPI CA Core Subsystem:
3628 Added the 2009 copyright to all module headers and signons. This affects
3629 virtually every file in the ACPICA core subsystem, the iASL compiler, and
3630 the tools/utilities.
3632 Implemented a change to allow the host to override any ACPI table,
3634 dynamically loaded tables. Previously, only the DSDT could be replaced by
3636 host. With this change, the AcpiOsTableOverride interface is called for
3638 table found in the RSDT/XSDT during ACPICA initialization, and also
3640 a table is dynamically loaded via the AML Load operator.
3642 Updated FADT flag definitions, especially the Boot Architecture flags.
3644 Debugger: For the Find command, automatically pad the input ACPI name with
3645 underscores if the name is shorter than 4 characters. This enables a match
3646 with the actual namespace entry which is itself padded with underscores.
3648 Example Code and Data Size: These are the sizes for the OS-independent
3649 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3650 debug version of the code includes the debug output trace mechanism and
3652 much larger code and data size.
3655 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
3656 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
3658 Non-Debug Version: 82.3K Code, 17.5K Data, 99.8K Total
3659 Debug Version: 157.3K Code, 49.8K Data, 207.1K Total
3661 2) iASL Compiler/Disassembler and Tools:
3663 Fix build error under Bison-2.4.
3665 Dissasembler: Enhanced FADT support. Added decoding of the Boot
3667 flags. Now decode all flags, regardless of the FADT version. Flag output
3668 includes the FADT version which first defined each flag.
3670 The iASL -g option now dumps the RSDT to a file (in addition to the FADT
3672 DSDT). Windows only.
3674 ----------------------------------------
3675 04 December 2008. Summary of changes for version 20081204:
3677 1) ACPI CA Core Subsystem:
3679 The ACPICA Programmer Reference has been completely updated and revamped
3681 this release. This includes updates to the external interfaces, OSL
3682 interfaces, the overview sections, and the debugger reference.
3684 Several new ACPICA interfaces have been implemented and documented in the
3685 programmer reference:
3686 AcpiReset - Writes the reset value to the FADT-defined reset register.
3687 AcpiDisableAllGpes - Disable all available GPEs.
3688 AcpiEnableAllRuntimeGpes - Enable all available runtime GPEs.
3689 AcpiGetGpeDevice - Get the GPE block device associated with a GPE.
3690 AcpiGbl_CurrentGpeCount - Tracks the current number of available GPEs.
3691 AcpiRead - Low-level read ACPI register (was HwLowLevelRead.)
3692 AcpiWrite - Low-level write ACPI register (was HwLowLevelWrite.)
3694 Most of the public ACPI hardware-related interfaces have been moved to a
3696 file, components/hardware/hwxface.c
3698 Enhanced the FADT parsing and low-level ACPI register access: The ACPI
3699 register lengths within the FADT are now used, and the low level ACPI
3700 register access no longer hardcodes the ACPI register lengths. Given that
3701 there may be some risk in actually trusting the FADT register lengths, a
3703 time option was added to fall back to the default hardcoded lengths if the
3704 FADT proves to contain incorrect values - UseDefaultRegisterWidths. This
3705 option is set to true for now, and a warning is issued if a suspicious
3707 register length is overridden with the default value.
3709 Fixed a reference count issue in NsRepairObject. This problem was
3711 in version 20081031 as part of a fix to repair Buffer objects within
3714 Added semaphore support to the Linux/Unix application OS-services layer
3715 (OSL). ACPICA BZ 448. Lin Ming.
3717 Added the ACPI_MUTEX_TYPE configuration option to select whether mutexes
3719 be implemented in the OSL, or will binary semaphores be used instead.
3721 Example Code and Data Size: These are the sizes for the OS-independent
3722 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3723 debug version of the code includes the debug output trace mechanism and
3725 much larger code and data size.
3728 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
3729 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
3731 Non-Debug Version: 82.3K Code, 17.4K Data, 99.7K Total
3732 Debug Version: 157.1K Code, 49.7K Data, 206.8K Total
3734 2) iASL Compiler/Disassembler and Tools:
3736 iASL: Completed the '-e' option to include additional ACPI tables in order
3738 aid with disassembly and External statement generation. ACPICA BZ 742. Lin
3741 iASL: Removed the "named object in while loop" error. The compiler cannot
3742 determine how many times a loop will execute. ACPICA BZ 730.
3744 Disassembler: Implemented support for FADT revision 2 (MS extension).
3748 Disassembler: Updates for several ACPI data tables (HEST, EINJ, and MCFG).
3750 ----------------------------------------
3751 31 October 2008. Summary of changes for version 20081031:
3753 1) ACPI CA Core Subsystem:
3755 Restructured the ACPICA header files into public/private. acpi.h now
3757 only the "public" acpica headers. All other acpica headers are "private"
3759 should not be included by acpica users. One new file, accommon.h is used
3761 include the commonly used private headers for acpica code generation.
3763 plans include moving all private headers to a new subdirectory.
3765 Implemented an automatic Buffer->String return value conversion for
3766 predefined ACPI methods. For these methods (such as _BIF), added automatic
3767 conversion for return objects that are required to be a String, but a
3769 was found instead. This can happen when reading string battery data from
3771 operation region, because it used to be difficult to convert the data from
3772 buffer to string from within the ASL. Ensures that the host OS is provided
3773 with a valid null-terminated string. Linux BZ 11822.
3775 Updated the FACS waking vector interfaces. Split
3776 AcpiSetFirmwareWakingVector
3777 into two: one for the 32-bit vector, another for the 64-bit vector. This
3779 required because the host OS must setup the wake much differently for each
3780 vector (real vs. protected mode, etc.) and the interface itself should not
3782 deciding which vector to use. Also, eliminated the GetFirmwareWakingVector
3783 interface, as it served no purpose (only the firmware reads the vector, OS
3784 only writes the vector.) ACPICA BZ 731.
3786 Implemented a mechanism to escape infinite AML While() loops. Added a loop
3787 counter to force exit from AML While loops if the count becomes too large.
3788 This can occur in poorly written AML when the hardware does not respond
3789 within a while loop and the loop does not implement a timeout. The maximum
3790 loop count is configurable. A new exception code is returned when a loop
3792 broken, AE_AML_INFINITE_LOOP. Alexey Starikovskiy, Bob Moore.
3794 Optimized the execution of AML While loops. Previously, a control state
3795 object was allocated and freed for each execution of the loop. The
3796 optimization is to simply reuse the control state for each iteration. This
3797 speeds up the raw loop execution time by about 5%.
3799 Enhanced the implicit return mechanism. For Windows compatibility, return
3801 implicit integer of value zero for methods that contain no executable
3803 Such methods are seen in the field as stubs (presumably), and can cause
3804 drivers to fail if they expect a return value. Lin Ming.
3806 Allow multiple backslashes as root prefixes in namepaths. In a fully
3807 qualified namepath, allow multiple backslash prefixes. This can happen
3809 is seen in the field) because of the use of a double-backslash in strings
3810 (since backslash is the escape character) causing confusion. ACPICA BZ 739
3813 Emit a warning if two different FACS or DSDT tables are discovered in the
3814 FADT. Checks if there are two valid but different addresses for the FACS
3816 DSDT within the FADT (mismatch between the 32-bit and 64-bit fields.)
3818 Consolidated the method argument count validation code. Merged the code
3820 validates control method argument counts into the predefined validation
3821 module. Eliminates possible multiple warnings for incorrect argument
3824 Implemented ACPICA example code. Includes code for ACPICA initialization,
3825 handler installation, and calling a control method. Available at
3826 source/tools/examples.
3828 Added a global pointer for FACS table to simplify internal FACS access.
3830 the global pointer instead of using AcpiGetTableByIndex for each FACS
3832 This simplifies the code for the Global Lock and the Firmware Waking
3835 Example Code and Data Size: These are the sizes for the OS-independent
3836 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3837 debug version of the code includes the debug output trace mechanism and
3839 much larger code and data size.
3842 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
3843 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
3845 Non-Debug Version: 81.7K Code, 17.3K Data, 99.0K Total
3846 Debug Version: 156.4K Code, 49.4K Data, 205.8K Total
3848 2) iASL Compiler/Disassembler and Tools:
3850 iASL: Improved disassembly of external method calls. Added the -e option
3852 allow the inclusion of additional ACPI tables to help with the disassembly
3854 method invocations and the generation of external declarations during the
3855 disassembly. Certain external method invocations cannot be disassembled
3856 properly without the actual declaration of the method. Use the -e option
3858 include the table where the external method(s) are actually declared. Most
3859 useful for disassembling SSDTs that make method calls back to the master
3860 DSDT. Lin Ming. Example: To disassemble an SSDT with calls to DSDT: iasl
3862 -e dsdt.aml ssdt1.aml
3864 iASL: Fix to allow references to aliases within ASL namepaths. Fixes a
3865 problem where the use of an alias within a namepath would result in a not
3866 found error or cause the compiler to fault. Also now allows forward
3867 references from the Alias operator itself. ACPICA BZ 738.
3869 ----------------------------------------
3870 26 September 2008. Summary of changes for version 20080926:
3872 1) ACPI CA Core Subsystem:
3874 Designed and implemented a mechanism to validate predefined ACPI methods
3876 objects. This code validates the predefined ACPI objects (objects whose
3878 start with underscore) that appear in the namespace, at the time they are
3879 evaluated. The argument count and the type of the returned object are
3880 validated against the ACPI specification. The purpose of this validation
3882 to detect problems with the BIOS-implemented predefined ACPI objects
3884 the results are returned to the ACPI-related drivers. Future enhancements
3886 include actual repair of incorrect return objects where possible. Two new
3887 files are nspredef.c and acpredef.h.
3889 Fixed a fault in the AML parser if a memory allocation fails during the Op
3890 completion routine AcpiPsCompleteThisOp. Lin Ming. ACPICA BZ 492.
3892 Fixed an issue with implicit return compatibility. This change improves
3894 implicit return mechanism to be more compatible with the MS interpreter.
3896 Ming, ACPICA BZ 349.
3898 Implemented support for zero-length buffer-to-string conversions. Allow
3900 length strings during interpreter buffer-to-string conversions. For
3902 during the ToDecimalString and ToHexString operators, as well as implicit
3903 conversions. Fiodor Suietov, ACPICA BZ 585.
3905 Fixed two possible memory leaks in the error exit paths of
3906 AcpiUtUpdateObjectReference and AcpiUtWalkPackageTree. These functions are
3907 similar in that they use a stack of state objects in order to eliminate
3908 recursion. The stack must be fully unwound and deallocated if an error
3909 occurs. Lin Ming. ACPICA BZ 383.
3911 Removed the unused ACPI_BITREG_WAKE_ENABLE definition and entry in the
3913 ACPI register table. This bit does not exist and is unused. Lin Ming, Bob
3914 Moore ACPICA BZ 442.
3916 Removed the obsolete version number in module headers. Removed the
3917 "$Revision" number that appeared in each module header. This version
3919 was useful under SourceSafe and CVS, but has no meaning under git. It is
3921 only incorrect, it could also be misleading.
3923 Example Code and Data Size: These are the sizes for the OS-independent
3924 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3925 debug version of the code includes the debug output trace mechanism and
3927 much larger code and data size.
3930 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
3931 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
3933 Non-Debug Version: 81.2K Code, 17.0K Data, 98.2K Total
3934 Debug Version: 155.8K Code, 49.1K Data, 204.9K Total
3936 ----------------------------------------
3937 29 August 2008. Summary of changes for version 20080829:
3939 1) ACPI CA Core Subsystem:
3941 Completed a major cleanup of the internal ACPI_OPERAND_OBJECT of type
3942 Reference. Changes include the elimination of cheating on the Object field
3943 for the DdbHandle subtype, addition of a reference class field to
3944 differentiate the various reference types (instead of an AML opcode), and
3946 cleanup of debug output for this object. Lin Ming, Bob Moore. BZ 723
3948 Reduce an error to a warning for an incorrect method argument count.
3949 Previously aborted with an error if too few arguments were passed to a
3950 control method via the external ACPICA interface. Now issue a warning
3952 and continue. Handles the case where the method inadvertently declares too
3953 many arguments, but does not actually use the extra ones. Applies mainly
3955 the predefined methods. Lin Ming. Linux BZ 11032.
3957 Disallow the evaluation of named object types with no intrinsic value.
3959 AE_TYPE for objects that have no value and therefore evaluation is
3961 Device, Event, Mutex, Region, Thermal, and Scope. Previously, evaluation
3963 these types were allowed, but an exception would be generated at some
3965 during the evaluation. Now, the error is generated up front.
3967 Fixed a possible memory leak in the AcpiNsGetExternalPathname function
3968 (nsnames.c). Fixes a leak in the error exit path.
3970 Removed the obsolete debug levels ACPI_DB_WARN and ACPI_DB_ERROR. These
3972 levels were made obsolete by the ACPI_WARNING, ACPI_ERROR, and
3974 interfaces. Also added ACPI_DB_EVENTS to correspond with the existing
3977 Removed obsolete and/or unused exception codes from the acexcep.h header.
3978 There is the possibility that certain device drivers may be affected if
3980 use any of these exceptions.
3982 The ACPICA documentation has been added to the public git source tree,
3984 acpica/documents. Included are the ACPICA programmer reference, the iASL
3985 compiler reference, and the changes.txt release logfile.
3987 Example Code and Data Size: These are the sizes for the OS-independent
3988 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
3989 debug version of the code includes the debug output trace mechanism and
3991 much larger code and data size.
3994 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
3995 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
3997 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
3998 Debug Version: 153.7K Code, 48.2K Data, 201.9K Total
4000 2) iASL Compiler/Disassembler and Tools:
4002 Allow multiple argument counts for the predefined _SCP method. ACPI 3.0
4003 defines _SCP with 3 arguments. Previous versions defined it with only 1
4004 argument. iASL now allows both definitions.
4006 iASL/disassembler: avoid infinite loop on bad ACPI tables. Check for zero-
4007 length subtables when disassembling ACPI tables. Also fixed a couple of
4008 errors where a full 16-bit table type field was not extracted from the
4012 acpisrc: Improve comment counting mechanism for generating source code
4013 statistics. Count first and last lines of multi-line comments as
4015 not comment lines. Handle Linux legal header in addition to standard
4019 ----------------------------------------
4021 29 July 2008. Summary of changes for version 20080729:
4023 1) ACPI CA Core Subsystem:
4025 Fix a possible deadlock in the GPE dispatch. Remove call to
4026 AcpiHwDisableAllGpes during wake in AcpiEvGpeDispatch. This call will
4028 to acquire the GPE lock but can deadlock since the GPE lock is already
4030 at dispatch time. This code was introduced in version 20060831 as a
4032 to Linux BZ 6881 and has since been removed from Linux.
4034 Add a function to dereference returned reference objects. Examines the
4036 object from a call to AcpiEvaluateObject. Any Index or RefOf references
4038 automatically dereferenced in an attempt to return something useful (these
4039 reference types cannot be converted into an external ACPI_OBJECT.)
4041 MS compatibility. Lin Ming, Bob Moore. Linux BZ 11105
4043 x2APIC support: changes for MADT and SRAT ACPI tables. There are 2 new
4044 subtables for the MADT and one new subtable for the SRAT. Includes
4045 disassembler and AcpiSrc support. Data from the Intel 64 Architecture
4047 Specification, June 2008.
4049 Additional error checking for pathname utilities. Add error check after
4051 calls to AcpiNsGetPathnameLength. Add status return from
4052 AcpiNsBuildExternalPath and check after all calls. Add parameter
4054 to AcpiUtInitializeBuffer. Reported by and initial patch by Ingo Molnar.
4056 Return status from the global init function AcpiUtGlobalInitialize. This
4058 used by both the kernel subsystem and the utilities such as iASL compiler.
4059 The function could possibly fail when the caches are initialized. Yang Yi.
4061 Add a function to decode reference object types to strings. Created for
4062 improved error messages.
4064 Improve object conversion error messages. Better error messages during
4066 conversion from internal to the external ACPI_OBJECT. Used for external
4068 to AcpiEvaluateObject.
4070 Example Code and Data Size: These are the sizes for the OS-independent
4071 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4072 debug version of the code includes the debug output trace mechanism and
4074 much larger code and data size.
4077 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
4078 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
4080 Non-Debug Version: 79.7K Code, 16.4K Data, 96.1K Total
4081 Debug Version: 153.9K Code, 48.4K Data, 202.3K Total
4083 2) iASL Compiler/Disassembler and Tools:
4085 Debugger: fix a possible hang when evaluating non-methods. Fixes a problem
4086 introduced in version 20080701. If the object being evaluated (via execute
4087 command) is not a method, the debugger can hang while trying to obtain
4089 existent parameters.
4091 iASL: relax error for using reserved "_T_x" identifiers. These names can
4092 appear in a disassembled ASL file if they were emitted by the original
4093 compiler. Instead of issuing an error or warning and forcing the user to
4094 manually change these names, issue a remark instead.
4096 iASL: error if named object created in while loop. Emit an error if any
4098 object is created within a While loop. If allowed, this code will generate
4100 run-time error on the second iteration of the loop when an attempt is made
4102 create the same named object twice. ACPICA bugzilla 730.
4104 iASL: Support absolute pathnames for include files. Add support for
4106 pathnames within the Include operator. previously, only relative pathnames
4109 iASL: Enforce minimum 1 interrupt in interrupt macro and Resource
4111 The ACPI spec requires one interrupt minimum. BZ 423
4113 iASL: Handle a missing ResourceSource arg, with a present SourceIndex.
4114 Handles the case for the Interrupt Resource Descriptor where
4115 the ResourceSource argument is omitted but ResourceSourceIndex
4116 is present. Now leave room for the Index. BZ 426
4118 iASL: Prevent error message if CondRefOf target does not exist. Fixes
4120 where an error message is emitted if the target does not exist. BZ 516
4122 iASL: Fix broken -g option (get Windows ACPI tables). Fixes the -g option
4123 (get ACPI tables on Windows). This was apparently broken in version
4126 AcpiXtract: Handle EOF while extracting data. Correctly handle the case
4128 the EOF happens immediately after the last table in the input file. Print
4129 completion message. Previously, no message was displayed in this case.
4131 ----------------------------------------
4132 01 July 2008. Summary of changes for version 20080701:
4134 0) Git source tree / acpica.org
4136 Fixed a problem where a git-clone from http would not transfer the entire
4139 1) ACPI CA Core Subsystem:
4141 Implemented a "careful" GPE disable in AcpiEvDisableGpe, only modify one
4142 enable bit. Now performs a read-change-write of the enable register
4144 of simply writing out the cached enable mask. This will prevent
4146 enabling of GPEs if a rogue GPE is received during initialization (before
4148 handlers are installed.)
4150 Implemented a copy for dynamically loaded tables. Previously, dynamically
4151 loaded tables were simply mapped - but on some machines this memory is
4152 corrupted after suspend. Now copy the table to a local buffer. For the
4153 OpRegion case, added checksum verify. Use the table length from the table
4154 header, not the region length. For the Buffer case, use the table length
4155 also. Dennis Noordsij, Bob Moore. BZ 10734
4157 Fixed a problem where the same ACPI table could not be dynamically loaded
4159 unloaded more than once. Without this change, a table cannot be loaded
4161 once it has been loaded/unloaded one time. The current mechanism does not
4162 unregister a table upon an unload. During a load, if the same table is
4164 this no longer returns an exception. BZ 722
4166 Fixed a problem where the wrong descriptor length was calculated for the
4167 EndTag descriptor in 64-bit mode. The "minimal" descriptors such as EndTag
4168 are calculated as 12 bytes long, but the actual length in the internal
4169 descriptor is 16 because of the round-up to 8 on the 64-bit build.
4171 by Linn Crosetto. BZ 728
4173 Fixed a possible memory leak in the Unload operator. The DdbHandle
4175 by Load() did not have its reference count decremented during unload,
4177 to a memory leak. Lin Ming. BZ 727
4179 Fixed a possible memory leak when deleting thermal/processor objects. Any
4180 associated notify handlers (and objects) were not being deleted. Fiodor
4183 Fixed the ordering of the ASCII names in the global mutex table to match
4185 actual mutex IDs. Used by AcpiUtGetMutexName, a function used for debug
4187 Vegard Nossum. BZ 726
4189 Enhanced the AcpiGetObjectInfo interface to return the number of required
4190 arguments if the object is a control method. Added this call to the
4192 so the proper number of default arguments are passed to a method. This
4193 prevents a warning when executing methods from AcpiExec.
4195 Added a check for an invalid handle in AcpiGetObjectInfo. Return
4196 AE_BAD_PARAMETER if input handle is invalid. BZ 474
4198 Fixed an extraneous warning from exconfig.c on the 64-bit build.
4200 Example Code and Data Size: These are the sizes for the OS-independent
4201 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4202 debug version of the code includes the debug output trace mechanism and
4204 much larger code and data size.
4207 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
4208 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
4210 Non-Debug Version: 79.6K Code, 16.2K Data, 95.8K Total
4211 Debug Version: 153.5K Code, 48.2K Data, 201.7K Total
4213 2) iASL Compiler/Disassembler and Tools:
4215 iASL: Added two missing ACPI reserved names. Added _MTP and _ASZ, both
4216 resource descriptor names.
4218 iASL: Detect invalid ASCII characters in input (windows version). Removed
4220 "-CF" flag from the flex compile, enables correct detection of non-ASCII
4221 characters in the input. BZ 441
4223 iASL: Eliminate warning when result of LoadTable is not used. Eliminate
4225 "result of operation not used" warning when the DDB handle returned from
4226 LoadTable is not used. The warning is not needed. BZ 590
4228 AcpiExec: Add support for dynamic table load/unload. Now calls _CFG method
4230 pass address of table to the AML. Added option to disable OpRegion
4232 to allow creation of an OpRegion with a real address that was passed to
4234 All of this allows testing of the Load and Unload operators from AcpiExec.
4236 Debugger: update tables command for unloaded tables. Handle unloaded
4238 and use the standard table header output routine.
4240 ----------------------------------------
4241 09 June 2008. Summary of changes for version 20080609:
4243 1) ACPI CA Core Subsystem:
4245 Implemented a workaround for reversed _PRT entries. A significant number
4247 BIOSs erroneously reverse the _PRT SourceName and the SourceIndex. This
4248 change dynamically detects and repairs this problem. Provides
4250 with MS ACPI. BZ 6859
4252 Simplified the internal ACPI hardware interfaces to eliminate the locking
4253 flag parameter from Register Read/Write. Added a new external interface,
4254 AcpiGetRegisterUnlocked.
4256 Fixed a problem where the invocation of a GPE control method could hang.
4258 was a regression introduced in 20080514. The new method argument count
4259 validation mechanism can enter an infinite loop when a GPE method is
4260 dispatched. Problem fixed by removing the obsolete code that passed GPE
4262 information to the notify handler via the control method parameter
4265 Fixed a problem where the _SST execution status was incorrectly returned
4267 the caller of AcpiEnterSleepStatePrep. This was a regression introduced in
4268 20080514. _SST is optional and a NOT_FOUND exception should never be
4271 Fixed a problem where a deleted object could be accessed from within the
4273 parser. This was a regression introduced in version 20080123 as a fix for
4275 Unload operator. Lin Ming. BZ 10669
4277 Cleaned up the debug operand dump mechanism. Eliminated unnecessary
4279 and eliminated the use of a negative index in a loop. Operands are now
4280 displayed in the correct order, not backwards. This also fixes a
4282 introduced in 20080514 on 64-bit systems where the elimination of
4283 ACPI_NATIVE_UINT caused the negative index to go large and positive. BZ
4286 Fixed a possible memory leak in EvPciConfigRegionSetup where the error
4288 path did not delete a locally allocated structure.
4290 Updated definitions for the DMAR and SRAT tables to synchronize with the
4291 current specifications. Includes disassembler support.
4293 Fixed a problem in the mutex debug code (in utmutex.c) where an incorrect
4294 loop termination value was used. Loop terminated on iteration early,
4296 one mutex. Linn Crosetto
4298 Example Code and Data Size: These are the sizes for the OS-independent
4299 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4300 debug version of the code includes the debug output trace mechanism and
4302 much larger code and data size.
4305 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
4306 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
4308 Non-Debug Version: 79.3K Code, 16.2K Data, 95.5K Total
4309 Debug Version: 153.0K Code, 48.2K Data, 201.2K Total
4311 2) iASL Compiler/Disassembler and Tools:
4313 Disassembler: Implemented support for EisaId() within _CID objects. Now
4314 disassemble integer _CID objects back to EisaId invocations, including
4315 multiple integers within _CID packages. Includes single-step support for
4318 Disassembler: Added support for DMAR and SRAT table definition changes.
4320 ----------------------------------------
4321 14 May 2008. Summary of changes for version 20080514:
4323 1) ACPI CA Core Subsystem:
4325 Fixed a problem where GPEs were enabled too early during the ACPICA
4326 initialization. This could lead to "handler not installed" errors on some
4327 machines. Moved GPE enable until after _REG/_STA/_INI methods are run.
4329 ensures that all operation regions and devices throughout the namespace
4331 been initialized before GPEs are enabled. Alexey Starikovskiy, BZ 9916.
4333 Implemented a change to the enter sleep code. Moved execution of the _GTS
4334 method to just before setting sleep enable bit. The execution was moved
4336 AcpiEnterSleepStatePrep to AcpiEnterSleepState. _GTS is now executed
4337 immediately before the SLP_EN bit is set, as per the ACPI specification.
4340 Implemented a fix to disable unknown GPEs (2nd version). Now always
4342 the GPE, even if ACPICA thinks that that it is already disabled. It is
4343 possible that the AML or some other code has enabled the GPE unbeknownst
4347 Fixed a problem with the Field operator where zero-length fields would
4349 an AE_AML_NO_OPERAND exception during table load. Fix enables zero-length
4351 field declarations in Field(), BankField(), and IndexField(). BZ 10606.
4353 Implemented a fix for the Load operator, now load the table at the
4355 root. This reverts a change introduced in version 20071019. The table is
4357 loaded at the namespace root even though this goes against the ACPI
4358 specification. This provides compatibility with other ACPI
4360 The ACPI specification will be updated to reflect this in ACPI 4.0. Lin
4363 Fixed a problem where ACPICA would not Load() tables with unusual
4365 Now ignore ACPI table signature for Load() operator. Only "SSDT" is
4366 acceptable to the ACPI spec, but tables are seen with OEMx and null sigs.
4367 Therefore, signature validation is worthless. Apparently MS ACPI accepts
4369 signatures, ACPICA must be compatible. BZ 10454.
4371 Fixed a possible negative array index in AcpiUtValidateException. Added
4373 fields to the exception string arrays to eliminate a -1 subtraction on the
4376 Updated the debug tracking macros to reduce overall code and data size.
4377 Changed ACPI_MODULE_NAME and ACPI_FUNCTION_NAME to use arrays of strings
4378 instead of pointers to static strings. Jan Beulich and Bob Moore.
4380 Implemented argument count checking in control method invocation via
4381 AcpiEvaluateObject. Now emit an error if too few arguments, warning if too
4382 many. This applies only to extern programmatic control method execution,
4384 method-to-method calls within the AML. Lin Ming.
4386 Eliminated the ACPI_NATIVE_UINT type across all ACPICA code. This type is
4388 longer needed, especially with the removal of 16-bit support. It was
4390 mostly with UINT32, but also ACPI_SIZE where a type that changes 32/64 bit
4392 32/64-bit platforms is required.
4394 Added the C const qualifier for appropriate string constants -- mostly
4395 MODULE_NAME and printf format strings. Jan Beulich.
4397 Example Code and Data Size: These are the sizes for the OS-independent
4398 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4399 debug version of the code includes the debug output trace mechanism and
4401 much larger code and data size.
4404 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
4405 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
4407 Non-Debug Version: 79.5K Code, 16.2K Data, 95.7K Total
4408 Debug Version: 153.3K Code, 48.3K Data, 201.6K Total
4410 2) iASL Compiler/Disassembler and Tools:
4412 Implemented ACPI table revision ID validation in the disassembler. Zero is
4413 always invalid. For DSDTs, the ID controls the interpreter integer width.
4415 means 32-bit and this is unusual. 2 or greater is 64-bit.
4417 ----------------------------------------
4418 21 March 2008. Summary of changes for version 20080321:
4420 1) ACPI CA Core Subsystem:
4422 Implemented an additional change to the GPE support in order to suppress
4423 spurious or stray GPEs. The AcpiEvDisableGpe function will now permanently
4424 disable incoming GPEs that are neither enabled nor disabled -- meaning
4426 the GPE is unknown to the system. This should prevent future interrupt
4428 from that GPE. BZ 6217 (Zhang Rui)
4430 Fixed a problem where NULL package elements were not returned to the
4431 AcpiEvaluateObject interface correctly. The element was simply ignored
4432 instead of returning a NULL ACPI_OBJECT package element, potentially
4434 a buffer overflow and/or confusing the caller who expected a fixed number
4436 elements. BZ 10132 (Lin Ming, Bob Moore)
4438 Fixed a problem with the CreateField, CreateXXXField (Bit, Byte, Word,
4440 Qword), Field, BankField, and IndexField operators when invoked from
4442 an executing control method. In this case, these operators created
4444 nodes that were incorrectly left marked as permanent nodes instead of
4445 temporary nodes. This could cause a problem if there is race condition
4446 between an exiting control method and a running namespace walk. (Reported
4450 Fixed a problem where the CreateField and CreateXXXField operators would
4451 incorrectly allow duplicate names (the name of the field) with no
4455 Implemented several changes for Notify handling. Added support for new
4457 values (ACPI 2.0+) and improved the Notify debug output. Notify on
4458 PowerResource objects is no longer allowed, as per the ACPI specification.
4459 (Bob Moore, Zhang Rui)
4461 All Reference Objects returned via the AcpiEvaluateObject interface are
4463 marked as type "REFERENCE" instead of "ANY". The type ANY is now reserved
4465 NULL objects - either NULL package elements or unresolved named
4468 Fixed a problem where an extraneous debug message was produced for package
4469 objects (when debugging enabled). The message "Package List length larger
4470 than NumElements count" is now produced in the correct case, and is now an
4471 error message rather than a debug message. Added a debug message for the
4472 opposite case, where NumElements is larger than the Package List (the
4474 will be padded out with NULL elements as per the ACPI spec.)
4476 Implemented several improvements for the output of the ASL "Debug" object
4478 clarify and keep all data for a given object on one output line.
4480 Fixed two size calculation issues with the variable-length Start Dependent
4481 resource descriptor.
4483 Example Code and Data Size: These are the sizes for the OS-independent
4484 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4485 debug version of the code includes the debug output trace mechanism and
4487 a much larger code and data size.
4490 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
4491 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
4493 Non-Debug Version: 80.0K Code, 17.4K Data, 97.4K Total
4494 Debug Version: 159.4K Code, 64.4K Data, 223.8K Total
4496 2) iASL Compiler/Disassembler and Tools:
4498 Fixed a problem with the use of the Switch operator where execution of the
4499 containing method by multiple concurrent threads could cause an
4500 AE_ALREADY_EXISTS exception. This is caused by the fact that there is no
4501 actual Switch opcode, it must be simulated with local named temporary
4502 variables and if/else pairs. The solution chosen was to mark any method
4504 uses Switch as Serialized, thus preventing multiple thread entries. BZ
4507 ----------------------------------------
4508 13 February 2008. Summary of changes for version 20080213:
4510 1) ACPI CA Core Subsystem:
4512 Implemented another MS compatibility design change for GPE/Notify
4514 GPEs are now cleared/enabled asynchronously to allow all pending notifies
4516 complete first. It is expected that the OSL will queue the enable request
4517 behind all pending notify requests (may require changes to the local host
4519 in AcpiOsExecute). Alexey Starikovskiy.
4521 Fixed a problem where buffer and package objects passed as arguments to a
4522 control method via the external AcpiEvaluateObject interface could cause
4524 AE_AML_INTERNAL exception depending on the order and type of operators
4525 executed by the target control method.
4527 Fixed a problem where resource descriptor size optimization could cause a
4528 problem when a _CRS resource template is passed to a _SRS method. The _SRS
4529 resource template must use the same descriptors (with the same size) as
4530 returned from _CRS. This change affects the following resource
4532 IRQ / IRQNoFlags and StartDependendentFn / StartDependentFnNoPri. (BZ
4535 Fixed a problem where a CopyObject to RegionField, BankField, and
4537 objects did not perform an implicit conversion as it should. These types
4539 retain their initial type permanently as per the ACPI specification.
4541 a CopyObject to all other object types should not perform an implicit
4542 conversion, as per the ACPI specification. (Lin Ming, Bob Moore) BZ 388
4544 Fixed a problem with the AcpiGetDevices interface where the mechanism to
4545 match device CIDs did not examine the entire list of available CIDs, but
4546 instead aborted on the first non-matching CID. Andrew Patterson.
4548 Fixed a regression introduced in version 20071114. The ACPI_HIDWORD macro
4550 inadvertently changed to return a 16-bit value instead of a 32-bit value,
4551 truncating the upper dword of a 64-bit value. This macro is only used to
4552 display debug output, so no incorrect calculations were made. Also,
4553 reimplemented the macro so that a 64-bit shift is not performed by
4554 inefficient compilers.
4556 Added missing va_end statements that should correspond with each va_start
4559 Example Code and Data Size: These are the sizes for the OS-independent
4560 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4561 debug version of the code includes the debug output trace mechanism and
4563 a much larger code and data size.
4566 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
4567 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
4569 Non-Debug Version: 79.7K Code, 17.3K Data, 97.0K Total
4570 Debug Version: 158.9K Code, 64.0K Data, 222.9K Total
4572 2) iASL Compiler/Disassembler and Tools:
4574 Implemented full disassembler support for the following new ACPI tables:
4575 BERT, EINJ, and ERST. Implemented partial disassembler support for the
4576 complicated HEST table. These tables support the Windows Hardware Error
4577 Architecture (WHEA).
4579 ----------------------------------------
4580 23 January 2008. Summary of changes for version 20080123:
4582 1) ACPI CA Core Subsystem:
4584 Added the 2008 copyright to all module headers and signons. This affects
4585 virtually every file in the ACPICA core subsystem, the iASL compiler, and
4586 the tools/utilities.
4588 Fixed a problem with the SizeOf operator when used with Package and Buffer
4589 objects. These objects have deferred execution for some arguments, and the
4590 execution is now completed before the SizeOf is executed. This problem
4592 unexpected AE_PACKAGE_LIMIT errors on some systems (Lin Ming, Bob Moore)
4596 Implemented an enhancement to the interpreter "slack mode". In the absence
4598 an explicit return or an implicitly returned object from the last executed
4599 opcode, a control method will now implicitly return an integer of value 0
4601 Microsoft compatibility. (Lin Ming) BZ 392
4603 Fixed a problem with the Load operator where an exception was not returned
4605 the case where the table is already loaded. (Lin Ming) BZ 463
4607 Implemented support for the use of DDBHandles as an Indexed Reference, as
4609 the ACPI spec. (Lin Ming) BZ 486
4611 Implemented support for UserTerm (Method invocation) for the Unload
4613 as per the ACPI spec. (Lin Ming) BZ 580
4615 Fixed a problem with the LoadTable operator where the OemId and OemTableId
4616 input strings could cause unexpected failures if they were shorter than
4618 maximum lengths allowed. (Lin Ming, Bob Moore) BZ 576
4620 Implemented support for UserTerm (Method invocation) for the Unload
4622 as per the ACPI spec. (Lin Ming) BZ 580
4624 Implemented header file support for new ACPI tables - BERT, ERST, EINJ,
4626 IBFT, UEFI, WDAT. Disassembler support is forthcoming.
4628 Example Code and Data Size: These are the sizes for the OS-independent
4629 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4630 debug version of the code includes the debug output trace mechanism and
4632 a much larger code and data size.
4635 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
4636 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
4638 Non-Debug Version: 79.5K Code, 17.2K Data, 96.7K Total
4639 Debug Version: 159.0K Code, 63.8K Data, 222.8K Total
4641 2) iASL Compiler/Disassembler and Tools:
4643 Implemented support in the disassembler for checksum validation on
4645 binary DSDTs and SSDTs. If incorrect, a message is displayed within the
4647 header dump at the start of the disassembly.
4649 Implemented additional debugging information in the namespace listing file
4650 created during compilation. In addition to the namespace hierarchy, the
4652 pathname to each namespace object is displayed.
4654 Fixed a problem with the disassembler where invalid ACPI tables could
4656 faults or infinite loops.
4658 Fixed an unexpected parse error when using the optional "parameter types"
4659 list in a control method declaration. (Lin Ming) BZ 397
4661 Fixed a problem where two External declarations with the same name did not
4662 cause an error (Lin Ming) BZ 509
4664 Implemented support for full TermArgs (adding Argx, Localx and method
4665 invocation) for the ParameterData parameter to the LoadTable operator.
4669 ----------------------------------------
4670 19 December 2007. Summary of changes for version 20071219:
4672 1) ACPI CA Core Subsystem:
4674 Implemented full support for deferred execution for the TermArg string
4675 arguments for DataTableRegion. This enables forward references and full
4676 operand resolution for the three string arguments. Similar to
4678 deferred argument execution.) Lin Ming. BZ 430
4680 Implemented full argument resolution support for the BankValue argument to
4681 BankField. Previously, only constants were supported, now any TermArg may
4683 used. Lin Ming BZ 387, 393
4685 Fixed a problem with AcpiGetDevices where the search of a branch of the
4686 device tree could be terminated prematurely. In accordance with the ACPI
4687 specification, the search down the current branch is terminated if a
4689 is both not present and not functional (instead of just not present.)
4693 Fixed a problem where "unknown" GPEs could be allowed to fire repeatedly
4695 the underlying AML code changed the GPE enable registers. Now, any unknown
4696 incoming GPE (no _Lxx/_Exx method and not the EC GPE) is immediately
4698 instead of simply ignored. Rui Zhang.
4700 Fixed a problem with Index Fields where the Index register was incorrectly
4701 limited to a maximum of 32 bits. Now any size may be used.
4703 Fixed a couple memory leaks associated with "implicit return" objects when
4704 the AML Interpreter slack mode is enabled. Lin Ming BZ 349
4706 Example Code and Data Size: These are the sizes for the OS-independent
4707 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4708 debug version of the code includes the debug output trace mechanism and
4710 a much larger code and data size.
4713 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
4714 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
4716 Non-Debug Version: 79.3K Code, 17.2K Data, 96.5K Total
4717 Debug Version: 158.6K Code, 63.8K Data, 222.4K Total
4719 ----------------------------------------
4720 14 November 2007. Summary of changes for version 20071114:
4722 1) ACPI CA Core Subsystem:
4724 Implemented event counters for each of the Fixed Events, the ACPI SCI
4725 (interrupt) itself, and control methods executed. Named
4726 AcpiFixedEventCount[], AcpiSciCount, and AcpiMethodCount respectively.
4728 should be useful for debugging and statistics.
4730 Implemented a new external interface, AcpiGetStatistics, to retrieve the
4731 contents of the various event counters. Returns the current values for
4732 AcpiSciCount, AcpiGpeCount, the AcpiFixedEventCount array, and
4733 AcpiMethodCount. The interface can be expanded in the future if new
4735 are added. Device drivers should use this interface rather than access the
4738 Fixed a problem with the FromBCD and ToBCD operators. With some compilers,
4739 the ShortDivide function worked incorrectly, causing problems with the BCD
4740 functions with large input values. A truncation from 64-bit to 32-bit
4741 inadvertently occurred. Internal BZ 435. Lin Ming
4743 Fixed a problem with Index references passed as method arguments.
4745 passed as arguments to control methods were dereferenced immediately
4747 control was passed to the called method). The references are now correctly
4748 passed directly to the called method. BZ 5389. Lin Ming
4750 Fixed a problem with CopyObject used in conjunction with the Index
4752 The reference was incorrectly dereferenced before the copy. The reference
4754 now correctly copied. BZ 5391. Lin Ming
4756 Fixed a problem with Control Method references within Package objects.
4758 references are now correctly generated. This completes the package
4759 construction overhaul that began in version 20071019.
4761 Example Code and Data Size: These are the sizes for the OS-independent
4762 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4763 debug version of the code includes the debug output trace mechanism and
4765 a much larger code and data size.
4768 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
4769 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
4771 Non-Debug Version: 79.0K Code, 17.2K Data, 96.2K Total
4772 Debug Version: 157.9K Code, 63.6K Data, 221.5K Total
4775 2) iASL Compiler/Disassembler and Tools:
4777 The AcpiExec utility now installs handlers for all of the predefined
4778 Operation Region types. New types supported are: PCI_Config, CMOS, and
4781 Fixed a problem with the 64-bit version of AcpiExec where the extended
4783 bit) address fields for the DSDT and FACS within the FADT were not being
4784 used, causing truncation of the upper 32-bits of these addresses. Lin Ming
4787 ----------------------------------------
4788 19 October 2007. Summary of changes for version 20071019:
4790 1) ACPI CA Core Subsystem:
4792 Fixed a problem with the Alias operator when the target of the alias is a
4793 named ASL operator that opens a new scope -- Scope, Device, PowerResource,
4794 Processor, and ThermalZone. In these cases, any children of the original
4795 operator could not be accessed via the alias, potentially causing
4797 AE_NOT_FOUND exceptions. (BZ 9067)
4799 Fixed a problem with the Package operator where all named references were
4800 created as object references and left otherwise unresolved. According to
4802 ACPI specification, a Package can only contain Data Objects or references
4804 control methods. The implication is that named references to Data Objects
4805 (Integer, Buffer, String, Package, BufferField, Field) should be resolved
4806 immediately upon package creation. This is the approach taken with this
4807 change. References to all other named objects (Methods, Devices, Scopes,
4808 etc.) are all now properly created as reference objects. (BZ 5328)
4810 Reverted a change to Notify handling that was introduced in version
4811 20070508. This version changed the Notify handling from asynchronous to
4812 fully synchronous (Device driver Notify handling with respect to the
4814 ASL operator). It was found that this change caused more problems than it
4815 solved and was removed by most users.
4817 Fixed a problem with the Increment and Decrement operators where the type
4819 the target object could be unexpectedly and incorrectly changed. (BZ 353)
4822 Fixed a problem with the Load and LoadTable operators where the table
4823 location within the namespace was ignored. Instead, the table was always
4824 loaded into the root or current scope. Lin Ming.
4826 Fixed a problem with the Load operator when loading a table from a buffer
4827 object. The input buffer was prematurely zeroed and/or deleted. (BZ 577)
4829 Fixed a problem with the Debug object where a store of a DdbHandle
4831 object to the Debug object could cause a fault.
4833 Added a table checksum verification for the Load operator, in the case
4835 the load is from a buffer. (BZ 578).
4837 Implemented additional parameter validation for the LoadTable operator.
4839 length of the input strings SignatureString, OemIdString, and OemTableId
4841 now checked for maximum lengths. (BZ 582) Lin Ming.
4843 Example Code and Data Size: These are the sizes for the OS-independent
4844 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4845 debug version of the code includes the debug output trace mechanism and
4847 a much larger code and data size.
4850 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
4851 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
4853 Non-Debug Version: 78.8K Code, 17.2K Data, 96.0K Total
4854 Debug Version: 157.2K Code, 63.4K Data, 220.6K Total
4857 2) iASL Compiler/Disassembler:
4859 Fixed a problem where if a single file was specified and the file did not
4860 exist, no error message was emitted. (Introduced with wildcard support in
4863 ----------------------------------------
4864 19 September 2007. Summary of changes for version 20070919:
4866 1) ACPI CA Core Subsystem:
4868 Designed and implemented new external interfaces to install and remove
4869 handlers for ACPI table-related events. Current events that are defined
4871 LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as
4872 they are dynamically loaded and unloaded. See AcpiInstallTableHandler and
4873 AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
4875 Fixed a problem where the use of the AcpiGbl_AllMethodsSerialized flag
4876 (acpi_serialized option on Linux) could cause some systems to hang during
4877 initialization. (Bob Moore) BZ 8171
4879 Fixed a problem where objects of certain types (Device, ThermalZone,
4880 Processor, PowerResource) can be not found if they are declared and
4881 referenced from within the same control method (Lin Ming) BZ 341
4883 Example Code and Data Size: These are the sizes for the OS-independent
4884 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4885 debug version of the code includes the debug output trace mechanism and
4887 a much larger code and data size.
4890 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
4891 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
4893 Non-Debug Version: 78.5K Code, 17.1K Data, 95.6K Total
4894 Debug Version: 156.7K Code, 63.2K Data, 219.9K Total
4897 2) iASL Compiler/Disassembler:
4899 Implemented support to allow multiple files to be compiled/disassembled in
4901 single invocation. This includes command line wildcard support for both
4903 Windows and Unix versions of the compiler. This feature simplifies the
4904 disassembly and compilation of multiple ACPI tables in a single directory.
4906 ----------------------------------------
4907 08 May 2007. Summary of changes for version 20070508:
4909 1) ACPI CA Core Subsystem:
4911 Implemented a Microsoft compatibility design change for the handling of
4913 Notify AML operator. Previously, notify handlers were dispatched and
4914 executed completely asynchronously in a deferred thread. The new design
4915 still executes the notify handlers in a different thread, but the original
4916 thread that executed the Notify() now waits at a synchronization point for
4917 the notify handler to complete. Some machines depend on a synchronous
4919 operator in order to operate correctly.
4921 Implemented support to allow Package objects to be passed as method
4922 arguments to the external AcpiEvaluateObject interface. Previously, this
4923 would return the AE_NOT_IMPLEMENTED exception. This feature had not been
4924 implemented since there were no reserved control methods that required it
4927 Fixed a problem with the internal FADT conversion where ACPI 1.0 FADTs
4929 contained invalid non-zero values in reserved fields could cause later
4930 failures because these fields have meaning in later revisions of the FADT.
4931 For incoming ACPI 1.0 FADTs, these fields are now always zeroed. (The
4933 are: Preferred_PM_Profile, PSTATE_CNT, CST_CNT, and IAPC_BOOT_FLAGS.)
4935 Fixed a problem where the Global Lock handle was not properly updated if a
4936 thread that acquired the Global Lock via executing AML code then attempted
4937 to acquire the lock via the AcpiAcquireGlobalLock interface. Reported by
4941 Fixed a problem in AcpiEvDeleteGpeXrupt where the global interrupt list
4942 could be corrupted if the interrupt being removed was at the head of the
4943 list. Reported by Linn Crosetto.
4945 Example Code and Data Size: These are the sizes for the OS-independent
4946 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
4947 debug version of the code includes the debug output trace mechanism and
4949 a much larger code and data size.
4952 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
4953 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
4955 Non-Debug Version: 78.3K Code, 17.0K Data, 95.3K Total
4956 Debug Version: 156.3K Code, 63.1K Data, 219.4K Total
4958 ----------------------------------------
4959 20 March 2007. Summary of changes for version 20070320:
4961 1) ACPI CA Core Subsystem:
4963 Implemented a change to the order of interpretation and evaluation of AML
4964 operand objects within the AML interpreter. The interpreter now evaluates
4965 operands in the order that they appear in the AML stream (and the
4966 corresponding ASL code), instead of in the reverse order (after the entire
4967 operand list has been parsed). The previous behavior caused several subtle
4968 incompatibilities with the Microsoft AML interpreter as well as being
4969 somewhat non-intuitive. BZ 7871, local BZ 263. Valery Podrezov.
4971 Implemented a change to the ACPI Global Lock support. All interfaces to
4973 global lock now allow the same thread to acquire the lock multiple times.
4974 This affects the AcpiAcquireGlobalLock external interface to the global
4976 as well as the internal use of the global lock to support AML fields -- a
4977 control method that is holding the global lock can now simultaneously
4979 AML fields that require global lock protection. Previously, in both cases,
4980 this would have resulted in an AE_ALREADY_ACQUIRED exception. The change
4982 AcpiAcquireGlobalLock is of special interest to drivers for the Embedded
4983 Controller. There is no change to the behavior of the AML Acquire
4985 as this can already be used to acquire a mutex multiple times by the same
4986 thread. BZ 8066. With assistance from Alexey Starikovskiy.
4988 Fixed a problem where invalid objects could be referenced in the AML
4989 Interpreter after error conditions. During operand evaluation, ensure that
4990 the internal "Return Object" field is cleared on error and only valid
4991 pointers are stored there. Caused occasional access to deleted objects
4993 resulted in "large reference count" warning messages. Valery Podrezov.
4995 Fixed a problem where an AE_STACK_OVERFLOW internal exception could occur
4997 deeply nested control method invocations. BZ 7873, local BZ 487. Valery
5000 Fixed an internal problem with the handling of result objects on the
5001 interpreter result stack. BZ 7872. Valery Podrezov.
5003 Removed obsolete code that handled the case where AML_NAME_OP is the
5005 of a reference (Reference.Opcode). This code was no longer necessary. BZ
5006 7874. Valery Podrezov.
5008 Removed obsolete ACPI_NO_INTEGER64_SUPPORT from two header files. This was
5010 remnant from the previously discontinued 16-bit support.
5012 Example Code and Data Size: These are the sizes for the OS-independent
5013 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5014 debug version of the code includes the debug output trace mechanism and
5016 a much larger code and data size.
5019 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5020 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5022 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5023 Debug Version: 155.9K Code, 63.1K Data, 219.0K Total
5025 ----------------------------------------
5026 26 January 2007. Summary of changes for version 20070126:
5028 1) ACPI CA Core Subsystem:
5030 Added the 2007 copyright to all module headers and signons. This affects
5031 virtually every file in the ACPICA core subsystem, the iASL compiler, and
5034 Implemented a fix for an incorrect parameter passed to AcpiTbDeleteTable
5035 during a table load. A bad pointer was passed in the case where the DSDT
5037 overridden, causing a fault in this case.
5039 Example Code and Data Size: These are the sizes for the OS-independent
5040 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5041 debug version of the code includes the debug output trace mechanism and
5043 a much larger code and data size.
5046 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5047 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5049 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5050 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5052 ----------------------------------------
5053 15 December 2006. Summary of changes for version 20061215:
5055 1) ACPI CA Core Subsystem:
5057 Support for 16-bit ACPICA has been completely removed since it is no
5059 necessary and it clutters the code. All 16-bit macros, types, and
5060 conditional compiles have been removed, cleaning up and simplifying the
5062 across the entire subsystem. DOS support is no longer needed since the
5063 bootable Linux firmware kit is now available.
5065 The handler for the Global Lock is now removed during AcpiTerminate to
5066 enable a clean subsystem restart, via the implementation of the
5067 AcpiEvRemoveGlobalLockHandler function. (With assistance from Joel Bretz,
5070 Implemented enhancements to the multithreading support within the debugger
5071 to enable improved multithreading debugging and evaluation of the
5075 Debugger: Enhanced the Statistics/Memory command to emit the total
5077 memory used during the execution, as well as the maximum memory consumed
5079 each of the various object types. (Valery Podrezov)
5081 Example Code and Data Size: These are the sizes for the OS-independent
5082 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5083 debug version of the code includes the debug output trace mechanism and
5085 a much larger code and data size.
5088 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
5089 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
5091 Non-Debug Version: 78.0K Code, 17.1K Data, 95.1K Total
5092 Debug Version: 155.8K Code, 63.3K Data, 219.1K Total
5095 2) iASL Compiler/Disassembler and Tools:
5097 AcpiExec: Implemented a new option (-m) to display full memory use
5098 statistics upon subsystem/program termination. (Valery Podrezov)
5100 ----------------------------------------
5101 09 November 2006. Summary of changes for version 20061109:
5103 1) ACPI CA Core Subsystem:
5105 Optimized the Load ASL operator in the case where the source operand is an
5106 operation region. Simply map the operation region memory, instead of
5107 performing a bytewise read. (Region must be of type SystemMemory, see
5110 Fixed the Load ASL operator for the case where the source operand is a
5111 region field. A buffer object is also allowed as the source operand. BZ
5114 Fixed a problem where the Load ASL operator allowed the source operand to
5116 an operation region of any type. It is now restricted to regions of type
5117 SystemMemory, as per the ACPI specification. BZ 481
5119 Additional cleanup and optimizations for the new Table Manager code.
5121 AcpiEnable will now fail if all of the required ACPI tables are not loaded
5122 (FADT, FACS, DSDT). BZ 477
5124 Added #pragma pack(8/4) to acobject.h to ensure that the structures in
5126 header are always compiled as aligned. The ACPI_OPERAND_OBJECT has been
5127 manually optimized to be aligned and will not work if it is byte-packed.
5129 Example Code and Data Size: These are the sizes for the OS-independent
5130 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5131 debug version of the code includes the debug output trace mechanism and
5133 a much larger code and data size.
5136 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
5137 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
5139 Non-Debug Version: 77.9K Code, 17.0K Data, 94.9K Total
5140 Debug Version: 155.2K Code, 63.1K Data, 218.3K Total
5143 2) iASL Compiler/Disassembler and Tools:
5145 Fixed a problem where the presence of the _OSI predefined control method
5146 within complex expressions could cause an internal compiler error.
5148 AcpiExec: Implemented full region support for multiple address spaces.
5149 SpaceId is now part of the REGION object. BZ 429
5151 ----------------------------------------
5152 11 October 2006. Summary of changes for version 20061011:
5154 1) ACPI CA Core Subsystem:
5156 Completed an AML interpreter performance enhancement for control method
5157 execution. Previously a 2-pass parse/execution, control methods are now
5158 completely parsed and executed in a single pass. This improves overall
5159 interpreter performance by ~25%, reduces code size, and reduces CPU stack
5160 use. (Valery Podrezov + interpreter changes in version 20051202 that
5161 eliminated namespace loading during the pass one parse.)
5163 Implemented _CID support for PCI Root Bridge detection. If the _HID does
5165 match the predefined PCI Root Bridge IDs, the _CID list (if present) is
5167 obtained and also checked for an ID match.
5169 Implemented additional support for the PCI _ADR execution: upsearch until
5171 device scope is found before executing _ADR. This allows PCI_Config
5172 operation regions to be declared locally within control methods underneath
5175 Fixed a problem with a possible race condition between threads executing
5176 AcpiWalkNamespace and the AML interpreter. This condition was removed by
5177 modifying AcpiWalkNamespace to (by default) ignore all temporary namespace
5178 entries created during any concurrent control method execution. An
5179 additional namespace race condition is known to exist between
5180 AcpiWalkNamespace and the Load/Unload ASL operators and is still under
5183 Restructured the AML ParseLoop function, breaking it into several
5184 subfunctions in order to reduce CPU stack use and improve maintainability.
5187 AcpiGetHandle: Fix for parameter validation to detect invalid combinations
5188 of prefix handle and pathname. BZ 478
5190 Example Code and Data Size: These are the sizes for the OS-independent
5191 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5192 debug version of the code includes the debug output trace mechanism and
5194 a much larger code and data size.
5197 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
5198 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
5200 Non-Debug Version: 78.1K Code, 17.1K Data, 95.2K Total
5201 Debug Version: 155.4K Code, 63.1K Data, 218.5K Total
5203 2) iASL Compiler/Disassembler and Tools:
5205 Ported the -g option (get local ACPI tables) to the new ACPICA Table
5207 to restore original behavior.
5209 ----------------------------------------
5210 27 September 2006. Summary of changes for version 20060927:
5212 1) ACPI CA Core Subsystem:
5214 Removed the "Flags" parameter from AcpiGetRegister and AcpiSetRegister.
5215 These functions now use a spinlock for mutual exclusion and the interrupt
5216 level indication flag is not needed.
5218 Fixed a problem with the Global Lock where the lock could appear to be
5219 obtained before it is actually obtained. The global lock semaphore was
5220 inadvertently created with one unit instead of zero units. (BZ 464) Fiodor
5223 Fixed a possible memory leak and fault in AcpiExResolveObjectToValue
5225 a read from a buffer or region field. (BZ 458) Fiodor Suietov.
5227 Example Code and Data Size: These are the sizes for the OS-independent
5228 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5229 debug version of the code includes the debug output trace mechanism and
5231 a much larger code and data size.
5234 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
5235 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
5237 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
5238 Debug Version: 154.6K Code, 63.0K Data, 217.6K Total
5241 2) iASL Compiler/Disassembler and Tools:
5243 Fixed a compilation problem with the pre-defined Resource Descriptor field
5244 names where an "object does not exist" error could be incorrectly
5246 if the parent ResourceTemplate pathname places the template within a
5247 different namespace scope than the current scope. (BZ 7212)
5249 Fixed a problem where the compiler could hang after syntax errors detected
5250 in an ElseIf construct. (BZ 453)
5252 Fixed a problem with the AmlFilename parameter to the DefinitionBlock()
5253 operator. An incorrect output filename was produced when this parameter
5255 a null string (""). Now, the original input filename is used as the AML
5256 output filename, with an ".aml" extension.
5258 Implemented a generic batch command mode for the AcpiExec utility (execute
5259 any AML debugger command) (Valery Podrezov).
5261 ----------------------------------------
5262 12 September 2006. Summary of changes for version 20060912:
5264 1) ACPI CA Core Subsystem:
5266 Enhanced the implementation of the "serialized mode" of the interpreter
5267 (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is
5268 specified, instead of creating a serialization semaphore per control
5270 the interpreter lock is simply no longer released before a blocking
5271 operation during control method execution. This effectively makes the AML
5272 Interpreter single-threaded. The overhead of a semaphore per-method is
5275 Fixed a regression where an error was no longer emitted if a control
5277 attempts to create 2 objects of the same name. This once again returns
5278 AE_ALREADY_EXISTS. When this exception occurs, it invokes the mechanism
5280 will dynamically serialize the control method to possible prevent future
5283 Integrated a fix for a problem with PCI Express HID detection in the PCI
5284 Config Space setup procedure. (BZ 7145)
5286 Moved all FADT-related functions to a new file, tbfadt.c. Eliminated the
5287 AcpiHwInitialize function - the FADT registers are now validated when the
5290 Added two new warnings during FADT verification - 1) if the FADT is larger
5291 than the largest known FADT version, and 2) if there is a mismatch between
5293 32-bit block address and the 64-bit X counterpart (when both are non-
5296 Example Code and Data Size: These are the sizes for the OS-independent
5297 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5298 debug version of the code includes the debug output trace mechanism and
5300 a much larger code and data size.
5303 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
5304 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
5306 Non-Debug Version: 77.9K Code, 17.1K Data, 95.0K Total
5307 Debug Version: 154.7K Code, 63.0K Data, 217.7K Total
5310 2) iASL Compiler/Disassembler and Tools:
5312 Fixed a problem with the implementation of the Switch() operator where the
5313 temporary variable was declared too close to the actual Switch, instead of
5314 at method level. This could cause a problem if the Switch() operator is
5315 within a while loop, causing an error on the second iteration. (BZ 460)
5317 Disassembler - fix for error emitted for unknown type for target of scope
5318 operator. Now, ignore it and continue.
5320 Disassembly of an FADT now verifies the input FADT and reports any errors
5321 found. Fix for proper disassembly of full-sized (ACPI 2.0) FADTs.
5323 Disassembly of raw data buffers with byte initialization data now prefixes
5324 each output line with the current buffer offset.
5326 Disassembly of ASF! table now includes all variable-length data fields at
5327 the end of some of the subtables.
5329 The disassembler now emits a comment if a buffer appears to be a
5330 ResourceTemplate, but cannot be disassembled as such because the EndTag
5332 not appear at the very end of the buffer.
5334 AcpiExec - Added the "-t" command line option to enable the serialized
5336 of the AML interpreter.
5338 ----------------------------------------
5339 31 August 2006. Summary of changes for version 20060831:
5341 1) ACPI CA Core Subsystem:
5343 Miscellaneous fixes for the Table Manager:
5344 - Correctly initialize internal common FADT for all 64-bit "X" fields
5345 - Fixed a couple table mapping issues during table load
5346 - Fixed a couple alignment issues for IA64
5347 - Initialize input array to zero in AcpiInitializeTables
5348 - Additional parameter validation for AcpiGetTable, AcpiGetTableHeader,
5351 Change for GPE support: when a "wake" GPE is received, all wake GPEs are
5353 immediately disabled to prevent the waking GPE from firing again and to
5354 prevent other wake GPEs from interrupting the wake process.
5356 Added the AcpiGpeCount global that tracks the number of processed GPEs, to
5357 be used for debugging systems with a large number of ACPI interrupts.
5359 Implemented support for the "DMAR" ACPI table (DMA Redirection Table) in
5360 both the ACPICA headers and the disassembler.
5362 Example Code and Data Size: These are the sizes for the OS-independent
5363 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5364 debug version of the code includes the debug output trace mechanism and
5366 a much larger code and data size.
5369 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
5370 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
5372 Non-Debug Version: 77.9K Code, 16.7K Data, 94.6K Total
5373 Debug Version: 154.9K Code, 62.6K Data, 217.5K Total
5376 2) iASL Compiler/Disassembler and Tools:
5378 Disassembler support for the DMAR ACPI table.
5380 ----------------------------------------
5381 23 August 2006. Summary of changes for version 20060823:
5383 1) ACPI CA Core Subsystem:
5385 The Table Manager component has been completely redesigned and
5386 reimplemented. The new design is much simpler, and reduces the overall
5388 and data size of the kernel-resident ACPICA by approximately 5%. Also, it
5390 now possible to obtain the ACPI tables very early during kernel
5391 initialization, even before dynamic memory management is initialized.
5392 (Alexey Starikovskiy, Fiodor Suietov, Bob Moore)
5394 Obsolete ACPICA interfaces:
5396 - AcpiGetFirmwareTable: Use AcpiGetTable instead (works at early kernel
5399 - AcpiLoadTable: Not needed.
5400 - AcpiUnloadTable: Not needed.
5402 New ACPICA interfaces:
5404 - AcpiInitializeTables: Must be called before the table manager can be
5406 - AcpiReallocateRootTable: Used to transfer the root table to dynamically
5407 allocated memory after it becomes available.
5408 - AcpiGetTableByIndex: Allows the host to easily enumerate all ACPI tables
5411 Other ACPICA changes:
5413 - AcpiGetTableHeader returns the actual mapped table header, not a copy.
5415 AcpiOsUnmapMemory to free this mapping.
5416 - AcpiGetTable returns the actual mapped table. The mapping is managed
5417 internally and must not be deleted by the caller. Use of this interface
5418 causes no additional dynamic memory allocation.
5419 - AcpiFindRootPointer: Support for physical addressing has been
5421 it appeared to be unused.
5422 - The interface to AcpiOsMapMemory has changed to be consistent with the
5423 other allocation interfaces.
5424 - The interface to AcpiOsGetRootPointer has changed to eliminate
5427 - ACPI_PHYSICAL_ADDRESS is now 32 bits on 32-bit platforms, 64 bits on 64-
5428 bit platforms. Was previously 64 bits on all platforms.
5429 - The interface to the ACPI Global Lock acquire/release macros have
5431 slightly since ACPICA no longer keeps a local copy of the FACS with a
5432 constructed pointer to the actual global lock.
5434 Porting to the new table manager:
5436 - AcpiInitializeTables: Must be called once, and can be called anytime
5437 during the OS initialization process. It allows the host to specify an
5439 of memory to be used to store the internal version of the RSDT/XSDT (root
5440 table). This allows the host to access ACPI tables before memory
5442 is initialized and running.
5443 - AcpiReallocateRootTable: Can be called after memory management is
5445 to copy the root table to a dynamically allocated array, freeing up the
5446 scratch memory specified in the call to AcpiInitializeTables.
5447 - AcpiSubsystemInitialize: This existing interface is independent of the
5448 Table Manager, and does not have to be called before the Table Manager can
5449 be used, it only must be called before the rest of ACPICA can be used.
5450 - ACPI Tables: Some changes have been made to the names and structure of
5452 actbl.h and actbl1.h header files and may require changes to existing
5454 For example, bitfields have been completely removed because of their lack
5456 portability across C compilers.
5457 - Update interfaces to the Global Lock acquire/release macros if local
5458 versions are used. (see acwin.h)
5460 Obsolete files: tbconvrt.c, tbget.c, tbgetall.c, tbrsdt.c
5464 Example Code and Data Size: These are the sizes for the OS-independent
5465 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5466 debug version of the code includes the debug output trace mechanism and
5468 a much larger code and data size.
5471 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
5472 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
5474 Non-Debug Version: 77.8K Code, 16.5K Data, 94.3K Total
5475 Debug Version: 154.6K Code, 62.3K Data, 216.9K Total
5478 2) iASL Compiler/Disassembler and Tools:
5480 No changes for this release.
5482 ----------------------------------------
5483 21 July 2006. Summary of changes for version 20060721:
5485 1) ACPI CA Core Subsystem:
5487 The full source code for the ASL test suite used to validate the iASL
5488 compiler and the ACPICA core subsystem is being released with the ACPICA
5489 source for the first time. The source is contained in a separate package
5491 consists of over 1100 files that exercise all ASL/AML operators. The
5493 should appear on the Intel/ACPI web site shortly. (Valery Podrezov, Fiodor
5496 Completed a new design and implementation for support of the ACPI Global
5497 Lock. On the OS side, the global lock is now treated as a standard AML
5498 mutex. Previously, multiple OS threads could "acquire" the global lock
5499 simultaneously. However, this could cause the BIOS to be starved out of
5501 lock - especially in cases such as the Embedded Controller driver where
5502 there is a tight coupling between the OS and the BIOS.
5504 Implemented an optimization for the ACPI Global Lock interrupt mechanism.
5505 The Global Lock interrupt handler no longer queues the execution of a
5506 separate thread to signal the global lock semaphore. Instead, the
5508 is signaled directly from the interrupt handler.
5510 Implemented support within the AML interpreter for package objects that
5511 contain a larger AML length (package list length) than the package element
5512 count. In this case, the length of the package is truncated to match the
5513 package element count. Some BIOS code apparently modifies the package
5515 on the fly, and this change supports this behavior. Provides compatibility
5516 with the MS AML interpreter. (With assistance from Fiodor Suietov)
5518 Implemented a temporary fix for the BankValue parameter of a Bank Field to
5519 support all constant values, now including the Zero and One opcodes.
5520 Evaluation of this parameter must eventually be converted to a full
5522 evaluation. A not-implemented error is now returned (temporarily) for non-
5523 constant values for this parameter.
5525 Fixed problem reports (Fiodor Suietov) integrated:
5526 - Fix for premature object deletion after CopyObject on Operation Region
5530 Example Code and Data Size: These are the sizes for the OS-independent
5531 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5532 debug version of the code includes the debug output trace mechanism and
5534 a much larger code and data size.
5537 Non-Debug Version: 80.7K Code, 18.0K Data, 98.7K Total
5538 Debug Version: 160.9K Code, 65.1K Data, 226.0K Total
5540 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
5541 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
5544 2) iASL Compiler/Disassembler and Tools:
5546 No changes for this release.
5548 ----------------------------------------
5549 07 July 2006. Summary of changes for version 20060707:
5551 1) ACPI CA Core Subsystem:
5553 Added the ACPI_PACKED_POINTERS_NOT_SUPPORTED macro to support C compilers
5554 that do not allow the initialization of address pointers within packed
5555 structures - even though the hardware itself may support misaligned
5556 transfers. Some of the debug data structures are packed by default to
5559 Added an error message for the case where AcpiOsGetThreadId() returns
5561 A non-zero value is required by the core ACPICA code to ensure the proper
5562 operation of AML mutexes and recursive control methods.
5564 The DSDT is now the only ACPI table that determines whether the AML
5565 interpreter is in 32-bit or 64-bit mode. Not really a functional change,
5567 the hooks for per-table 32/64 switching have been removed from the code. A
5568 clarification to the ACPI specification is forthcoming in ACPI 3.0B.
5570 Fixed a possible leak of an OwnerID in the error path of
5571 AcpiTbInitTableDescriptor (tbinstal.c), and migrated all table OwnerID
5572 deletion to a single place in AcpiTbUninstallTable to correct possible
5574 when using the AcpiTbDeleteTablesByType interface (with assistance from
5577 Fixed a problem with Serialized control methods where the semaphore
5578 associated with the method could be over-signaled after multiple method
5581 Fixed two issues with the locking of the internal namespace data
5583 Both the Unload() operator and AcpiUnloadTable interface now lock the
5584 namespace during the namespace deletion associated with the table unload
5585 (with assistance from Linn Crosetto.)
5587 Fixed problem reports (Valery Podrezov) integrated:
5588 - Eliminate unnecessary memory allocation for CreateXxxxField (BZ 5426)
5590 Fixed problem reports (Fiodor Suietov) integrated:
5591 - Incomplete cleanup branches in AcpiTbGetTableRsdt (BZ 369)
5592 - On Address Space handler deletion, needless deactivation call (BZ 374)
5593 - AcpiRemoveAddressSpaceHandler: validate Device handle parameter (BZ 375)
5594 - Possible memory leak, Notify sub-objects of Processor, Power,
5597 - AcpiRemoveAddressSpaceHandler: validate Handler parameter (BZ 378)
5598 - Minimum Length of RSDT should be validated (BZ 379)
5599 - AcpiRemoveNotifyHandler: return AE_NOT_EXIST if Processor Obj has no
5601 - AcpiUnloadTable: return AE_NOT_EXIST if no table of specified type
5605 Example Code and Data Size: These are the sizes for the OS-independent
5606 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5607 debug version of the code includes the debug output trace mechanism and
5609 a much larger code and data size.
5612 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
5613 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
5615 Non-Debug Version: 80.7K Code, 17.9K Data, 98.6K Total
5616 Debug Version: 161.0K Code, 65.1K Data, 226.1K Total
5619 2) iASL Compiler/Disassembler and Tools:
5621 Fixed problem reports:
5622 Compiler segfault when ASL contains a long (>1024) String declaration (BZ
5625 ----------------------------------------
5626 23 June 2006. Summary of changes for version 20060623:
5628 1) ACPI CA Core Subsystem:
5630 Implemented a new ACPI_SPINLOCK type for the OSL lock interfaces. This
5631 allows the type to be customized to the host OS for improved efficiency
5632 (since a spinlock is usually a very small object.)
5634 Implemented support for "ignored" bits in the ACPI registers. According to
5635 the ACPI specification, these bits should be preserved when writing the
5636 registers via a read/modify/write cycle. There are 3 bits preserved in
5638 manner: PM1_CONTROL[0] (SCI_EN), PM1_CONTROL[9], and PM1_STATUS[11].
5640 Implemented the initial deployment of new OSL mutex interfaces. Since some
5641 host operating systems have separate mutex and semaphore objects, this
5642 feature was requested. The base code now uses mutexes (and the new mutex
5643 interfaces) wherever a binary semaphore was used previously. However, for
5644 the current release, the mutex interfaces are defined as macros to map
5646 to the existing semaphore interfaces. Therefore, no OSL changes are
5648 at this time. (See acpiosxf.h)
5650 Fixed several problems with the support for the control method SyncLevel
5651 parameter. The SyncLevel now works according to the ACPI specification and
5652 in concert with the Mutex SyncLevel parameter, since the current SyncLevel
5653 is a property of the executing thread. Mutual exclusion for control
5655 is now implemented with a mutex instead of a semaphore.
5657 Fixed three instances of the use of the C shift operator in the bitfield
5658 support code (exfldio.c) to avoid the use of a shift value larger than the
5659 target data width. The behavior of C compilers is undefined in this case
5661 can cause unpredictable results, and therefore the case must be detected
5663 avoided. (Fiodor Suietov)
5665 Added an info message whenever an SSDT or OEM table is loaded dynamically
5666 via the Load() or LoadTable() ASL operators. This should improve debugging
5667 capability since it will show exactly what tables have been loaded (beyond
5668 the tables present in the RSDT/XSDT.)
5670 Example Code and Data Size: These are the sizes for the OS-independent
5671 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5672 debug version of the code includes the debug output trace mechanism and
5674 a much larger code and data size.
5677 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
5678 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
5680 Non-Debug Version: 80.5K Code, 17.8K Data, 98.3K Total
5681 Debug Version: 160.8K Code, 64.8K Data, 225.6K Total
5684 2) iASL Compiler/Disassembler and Tools:
5686 No changes for this release.
5688 ----------------------------------------
5689 08 June 2006. Summary of changes for version 20060608:
5691 1) ACPI CA Core Subsystem:
5693 Converted the locking mutex used for the ACPI hardware to a spinlock. This
5694 change should eliminate all problems caused by attempting to acquire a
5695 semaphore at interrupt level, and it means that all ACPICA external
5696 interfaces that directly access the ACPI hardware can be safely called
5698 interrupt level. OSL code that implements the semaphore interfaces should
5700 able to eliminate any workarounds for being called at interrupt level.
5702 Fixed a regression introduced in 20060526 where the ACPI device
5703 initialization could be prematurely aborted with an AE_NOT_FOUND if a
5705 did not have an optional _INI method.
5707 Fixed an IndexField issue where a write to the Data Register should be
5708 limited in size to the AccessSize (width) of the IndexField itself. (BZ
5712 Fixed problem reports (Valery Podrezov) integrated:
5713 - Allow store of ThermalZone objects to Debug object (BZ 5369/5370)
5715 Fixed problem reports (Fiodor Suietov) integrated:
5716 - AcpiGetTableHeader doesn't handle multiple instances correctly (BZ 364)
5718 Removed four global mutexes that were obsolete and were no longer being
5721 Example Code and Data Size: These are the sizes for the OS-independent
5722 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5723 debug version of the code includes the debug output trace mechanism and
5725 a much larger code and data size.
5728 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
5729 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
5731 Non-Debug Version: 80.0K Code, 17.6K Data, 97.6K Total
5732 Debug Version: 160.2K Code, 64.7K Data, 224.9K Total
5735 2) iASL Compiler/Disassembler and Tools:
5737 Fixed a fault when using -g option (get tables from registry) on Windows
5740 Fixed problem reports integrated:
5741 - Generate error if CreateField NumBits parameter is zero. (BZ 405)
5742 - Fault if Offset/Length in Field unit is very large (BZ 432, Fiodor
5744 - Global table revision override (-r) is ignored (BZ 413)
5746 ----------------------------------------
5747 26 May 2006. Summary of changes for version 20060526:
5749 1) ACPI CA Core Subsystem:
5751 Restructured, flattened, and simplified the internal interfaces for
5752 namespace object evaluation - resulting in smaller code, less CPU stack
5754 and fewer interfaces. (With assistance from Mikhail Kouzmich)
5756 Fixed a problem with the CopyObject operator where the first parameter was
5757 not typed correctly for the parser, interpreter, compiler, and
5759 Caused various errors and unexpected behavior.
5761 Fixed a problem where a ShiftLeft or ShiftRight of more than 64 bits
5762 produced incorrect results with some C compilers. Since the behavior of C
5763 compilers when the shift value is larger than the datatype width is
5764 apparently not well defined, the interpreter now detects this condition
5766 simply returns zero as expected in all such cases. (BZ 395)
5768 Fixed problem reports (Valery Podrezov) integrated:
5769 - Update String-to-Integer conversion to match ACPI 3.0A spec (BZ 5329)
5770 - Allow interpreter to handle nested method declarations (BZ 5361)
5772 Fixed problem reports (Fiodor Suietov) integrated:
5773 - AcpiTerminate doesn't free debug memory allocation list objects (BZ 355)
5774 - After Core Subsystem shutdown, AcpiSubsystemStatus returns AE_OK (BZ
5776 - AcpiOsUnmapMemory for RSDP can be invoked inconsistently (BZ 357)
5777 - Resource Manager should return AE_TYPE for non-device objects (BZ 358)
5778 - Incomplete cleanup branch in AcpiNsEvaluateRelative (BZ 359)
5779 - Use AcpiOsFree instead of ACPI_FREE in AcpiRsSetSrsMethodData (BZ 360)
5780 - Incomplete cleanup branch in AcpiPsParseAml (BZ 361)
5781 - Incomplete cleanup branch in AcpiDsDeleteWalkState (BZ 362)
5782 - AcpiGetTableHeader returns AE_NO_ACPI_TABLES until DSDT is loaded (BZ
5784 - Status of the Global Initialization Handler call not used (BZ 366)
5785 - Incorrect object parameter to Global Initialization Handler (BZ 367)
5787 Example Code and Data Size: These are the sizes for the OS-independent
5788 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5789 debug version of the code includes the debug output trace mechanism and
5791 a much larger code and data size.
5794 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
5795 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
5797 Non-Debug Version: 80.0K Code, 17.7K Data, 97.7K Total
5798 Debug Version: 160.3K Code, 64.9K Data, 225.2K Total
5801 2) iASL Compiler/Disassembler and Tools:
5803 Modified the parser to allow the names IO, DMA, and IRQ to be used as
5804 namespace identifiers with no collision with existing resource descriptor
5805 macro names. This provides compatibility with other ASL compilers and is
5806 most useful for disassembly/recompilation of existing tables without parse
5807 errors. (With assistance from Thomas Renninger)
5809 Disassembler: fixed an incorrect disassembly problem with the
5810 DataTableRegion and CopyObject operators. Fixed a possible fault during
5811 disassembly of some Alias operators.
5813 ----------------------------------------
5814 12 May 2006. Summary of changes for version 20060512:
5816 1) ACPI CA Core Subsystem:
5818 Replaced the AcpiOsQueueForExecution interface with a new interface named
5819 AcpiOsExecute. The major difference is that the new interface does not
5821 a Priority parameter, this appeared to be useless and has been replaced by
5823 Type parameter. The Type tells the host what type of execution is being
5824 requested, such as global lock handler, notify handler, GPE handler, etc.
5825 This allows the host to queue and execute the request as appropriate for
5827 request type, possibly using different work queues and different
5829 for the various request types. This enables fixes for multithreading
5830 deadlock problems such as BZ #5534, and will require changes to all
5832 OS interface layers. (Alexey Starikovskiy and Bob Moore)
5834 Fixed a possible memory leak associated with the support for the so-called
5835 "implicit return" ACPI extension. Reported by FreeBSD, BZ #6514. (Fiodor
5838 Fixed a problem with the Load() operator where a table load from an
5839 operation region could overwrite an internal table buffer by up to 7 bytes
5840 and cause alignment faults on IPF systems. (With assistance from Luming
5843 Example Code and Data Size: These are the sizes for the OS-independent
5844 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5845 debug version of the code includes the debug output trace mechanism and
5847 a much larger code and data size.
5850 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
5851 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
5853 Non-Debug Version: 79.8K Code, 17.7K Data, 97.5K Total
5854 Debug Version: 160.5K Code, 65.1K Data, 225.6K Total
5858 2) iASL Compiler/Disassembler and Tools:
5860 Disassembler: Implemented support to cross reference the internal
5862 and automatically generate ASL External() statements for symbols not
5864 within the current table being disassembled. This will simplify the
5865 disassembly and recompilation of interdependent tables such as SSDTs since
5866 these statements will no longer have to be added manually.
5868 Disassembler: Implemented experimental support to automatically detect
5869 invocations of external control methods and generate appropriate
5871 statements. This is problematic because the AML cannot be correctly parsed
5872 until the number of arguments for each control method is known. Currently,
5873 standalone method invocations and invocations as the source operand of a
5874 Store() statement are supported.
5876 Disassembler: Implemented support for the ASL pseudo-operators LNotEqual,
5877 LLessEqual, and LGreaterEqual. Previously disassembled as LNot(LEqual()),
5878 LNot(LGreater()), and LNot(LLess()), this makes the disassembled ASL code
5879 more readable and likely closer to the original ASL source.
5881 ----------------------------------------
5882 21 April 2006. Summary of changes for version 20060421:
5884 1) ACPI CA Core Subsystem:
5886 Removed a device initialization optimization introduced in 20051216 where
5887 the _STA method was not run unless an _INI was also present for the same
5888 device. This optimization could cause problems because it could allow _INI
5889 methods to be run within a not-present device subtree. (If a not-present
5890 device had no _INI, _STA would not be run, the not-present status would
5892 be discovered, and the children of the device would be incorrectly
5895 Implemented a new _STA optimization where namespace subtrees that do not
5896 contain _INI are identified and ignored during device initialization.
5897 Selectively running _STA can significantly improve boot time on large
5898 machines (with assistance from Len Brown.)
5900 Implemented support for the device initialization case where the returned
5901 _STA flags indicate a device not-present but functioning. In this case,
5903 is not run, but the device children are examined for presence, as per the
5906 Implemented an additional change to the IndexField support in order to
5907 conform to MS behavior. The value written to the Index Register is not
5908 simply a byte offset, it is a byte offset in units of the access width of
5909 the parent Index Field. (Fiodor Suietov)
5911 Defined and deployed a new OSL interface, AcpiOsValidateAddress. This
5912 interface is called during the creation of all AML operation regions, and
5913 allows the host OS to exert control over what addresses it will allow the
5914 AML code to access. Operation Regions whose addresses are disallowed will
5915 cause a runtime exception when they are actually accessed (will not affect
5916 or abort table loading.) See oswinxf or osunixxf for an example
5919 Defined and deployed a new OSL interface, AcpiOsValidateInterface. This
5920 interface allows the host OS to match the various "optional"
5921 interface/behavior strings for the _OSI predefined control method as
5922 appropriate (with assistance from Bjorn Helgaas.) See oswinxf or osunixxf
5923 for an example implementation.
5925 Restructured and corrected various problems in the exception handling code
5926 paths within DsCallControlMethod and DsTerminateControlMethod in dsmethod
5927 (with assistance from Takayoshi Kochi.)
5929 Modified the Linux source converter to ignore quoted string literals while
5930 converting identifiers from mixed to lower case. This will correct
5932 with the disassembler and other areas where such strings must not be
5935 The ACPI_FUNCTION_* macros no longer require quotes around the function
5936 name. This allows the Linux source converter to convert the names, now
5938 the converter ignores quoted strings.
5940 Example Code and Data Size: These are the sizes for the OS-independent
5941 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
5942 debug version of the code includes the debug output trace mechanism and
5944 a much larger code and data size.
5948 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
5949 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
5951 Non-Debug Version: 79.7K Code, 17.7K Data, 97.4K Total
5952 Debug Version: 160.1K Code, 65.2K Data, 225.3K Total
5955 2) iASL Compiler/Disassembler and Tools:
5957 Implemented 3 new warnings for iASL, and implemented multiple warning
5961 1) Ignored timeouts: If the TimeoutValue parameter to Wait or Acquire is
5963 WAIT_FOREVER (0xFFFF) and the code does not examine the return value to
5964 check for the possible timeout, a warning is issued.
5966 2) Useless operators: If an ASL operator does not specify an optional
5968 operand and it also does not use the function return value from the
5969 operator, a warning is issued since the operator effectively does nothing.
5971 3) Unreferenced objects: If a namespace object is created, but never
5972 referenced, a warning is issued. This is a warning level 2 since there are
5973 cases where this is ok, such as when a secondary table is loaded that uses
5974 the unreferenced objects. Even so, care is taken to only flag objects that
5975 don't look like they will ever be used. For example, the reserved methods
5976 (starting with an underscore) are usually not referenced because it is
5977 expected that the OS will invoke them.
5979 ----------------------------------------
5980 31 March 2006. Summary of changes for version 20060331:
5982 1) ACPI CA Core Subsystem:
5984 Implemented header file support for the following additional ACPI tables:
5985 ASF!, BOOT, CPEP, DBGP, MCFG, SPCR, SPMI, TCPA, and WDRT. With this
5987 all current and known ACPI tables are now defined in the ACPICA headers
5989 are available for use by device drivers and other software.
5991 Implemented support to allow tables that contain ACPI names with invalid
5992 characters to be loaded. Previously, this would cause the table load to
5993 fail, but since there are several known cases of such tables on existing
5994 machines, this change was made to enable ACPI support for them. Also, this
5995 matches the behavior of the Microsoft ACPI implementation.
5997 Fixed a couple regressions introduced during the memory optimization in
5999 20060317 release. The namespace node definition required additional
6000 reorganization and an internal datatype that had been changed to 8-bit was
6001 restored to 32-bit. (Valery Podrezov)
6003 Fixed a problem where a null pointer passed to AcpiUtDeleteGenericState
6004 could be passed through to AcpiOsReleaseObject which is unexpected. Such
6005 null pointers are now trapped and ignored, matching the behavior of the
6006 previous implementation before the deployment of AcpiOsReleaseObject.
6007 (Valery Podrezov, Fiodor Suietov)
6009 Fixed a memory mapping leak during the deletion of a SystemMemory
6011 region where a cached memory mapping was not deleted. This became a
6012 noticeable problem for operation regions that are defined within
6014 used control methods. (Dana Meyers)
6016 Reorganized the ACPI table header files into two main files: one for the
6017 ACPI tables consumed by the ACPICA core, and another for the miscellaneous
6018 ACPI tables that are consumed by the drivers and other software. The
6020 FADT definitions were merged into one common section and three different
6021 tables (ACPI 1.0, 1.0+, and 2.0)
6023 Example Code and Data Size: These are the sizes for the OS-independent
6024 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The
6025 debug version of the code includes the debug output trace mechanism and
6027 a much larger code and data size.
6030 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
6031 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
6033 Non-Debug Version: 81.1K Code, 17.7K Data, 98.8K Total
6034 Debug Version: 158.9K Code, 64.9K Data, 223.8K Total
6037 2) iASL Compiler/Disassembler and Tools:
6039 Disassembler: Implemented support to decode and format all non-AML ACPI
6040 tables (tables other than DSDTs and SSDTs.) This includes the new tables
6041 added to the ACPICA headers, therefore all current and known ACPI tables
6045 Disassembler: The change to allow ACPI names with invalid characters also
6046 enables the disassembly of such tables. Invalid characters within names
6048 changed to '*' to make the name printable; the iASL compiler will still
6049 generate an error for such names, however, since this is an invalid ACPI
6052 Implemented an option for AcpiXtract (-a) to extract all tables found in
6054 input file. The default invocation extracts only the DSDTs and SSDTs.
6056 Fixed a couple of gcc generation issues for iASL and AcpiExec and added a
6057 makefile for the AcpiXtract utility.
6059 ----------------------------------------
6060 17 March 2006. Summary of changes for version 20060317:
6062 1) ACPI CA Core Subsystem:
6064 Implemented the use of a cache object for all internal namespace nodes.
6065 Since there are about 1000 static nodes in a typical system, this will
6066 decrease memory use for cache implementations that minimize per-allocation
6067 overhead (such as a slab allocator.)
6069 Removed the reference count mechanism for internal namespace nodes, since
6071 was deemed unnecessary. This reduces the size of each namespace node by
6072 about 5%-10% on all platforms. Nodes are now 20 bytes for the 32-bit case,
6073 and 32 bytes for the 64-bit case.
6075 Optimized several internal data structures to reduce object size on 64-bit
6076 platforms by packing data within the 64-bit alignment. This includes the
6077 frequently used ACPI_OPERAND_OBJECT, of which there can be ~1000 static
6078 instances corresponding to the namespace objects.
6080 Added two new strings for the predefined _OSI method: "Windows 2001.1 SP1"
6083 Split the allocation tracking mechanism out to a separate file, from
6084 utalloc.c to uttrack.c. This mechanism appears to be only useful for
6085 application-level code. Kernels may wish to not include uttrack.c in
6088 Removed all remnants of the obsolete ACPI_REPORT_* macros and the
6090 code. (These macros have been replaced by the ACPI_ERROR and ACPI_WARNING
6093 Code and Data Size: These are the sizes for the acpica.lib produced by the
6094 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
6096 driver or OSPM code. The debug version of the code includes the debug
6098 trace mechanism and has a much larger code and data size. Note that these
6099 values will vary depending on the efficiency of the compiler and the
6100 compiler options used during generation.
6103 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
6104 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
6106 Non-Debug Version: 80.9K Code, 17.7K Data, 98.6K Total
6107 Debug Version: 158.7K Code, 64.8K Data, 223.5K Total
6110 2) iASL Compiler/Disassembler and Tools:
6112 Implemented an ANSI C version of the acpixtract utility. This version will
6113 automatically extract the DSDT and all SSDTs from the input acpidump text
6114 file and dump the binary output to separate files. It can also display a
6115 summary of the input file including the headers for each table found and
6116 will extract any single ACPI table, with any signature. (See
6117 source/tools/acpixtract)
6119 ----------------------------------------
6120 10 March 2006. Summary of changes for version 20060310:
6122 1) ACPI CA Core Subsystem:
6124 Tagged all external interfaces to the subsystem with the new
6125 ACPI_EXPORT_SYMBOL macro. This macro can be defined as necessary to assist
6126 kernel integration. For Linux, the macro resolves to the EXPORT_SYMBOL
6127 macro. The default definition is NULL.
6129 Added the ACPI_THREAD_ID type for the return value from AcpiOsGetThreadId.
6130 This allows the host to define this as necessary to simplify kernel
6131 integration. The default definition is ACPI_NATIVE_UINT.
6133 Fixed two interpreter problems related to error processing, the deletion
6135 objects, and placing invalid pointers onto the internal operator result
6136 stack. BZ 6028, 6151 (Valery Podrezov)
6138 Increased the reference count threshold where a warning is emitted for
6140 reference counts in order to eliminate unnecessary warnings on systems
6142 large namespaces (especially 64-bit.) Increased the value from 0x400 to
6145 Due to universal disagreement as to the meaning of the 'c' in the calloc()
6146 function, the ACPI_MEM_CALLOCATE macro has been renamed to
6147 ACPI_ALLOCATE_ZEROED so that the purpose of the interface is 'clear'.
6148 ACPI_MEM_ALLOCATE and ACPI_MEM_FREE are renamed to ACPI_ALLOCATE and
6151 Code and Data Size: These are the sizes for the acpica.lib produced by the
6152 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
6154 driver or OSPM code. The debug version of the code includes the debug
6156 trace mechanism and has a much larger code and data size. Note that these
6157 values will vary depending on the efficiency of the compiler and the
6158 compiler options used during generation.
6161 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
6162 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
6164 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
6165 Debug Version: 161.6K Code, 65.7K Data, 227.3K Total
6168 2) iASL Compiler/Disassembler:
6170 Disassembler: implemented support for symbolic resource descriptor
6171 references. If a CreateXxxxField operator references a fixed offset within
6173 resource descriptor, a name is assigned to the descriptor and the offset
6175 translated to the appropriate resource tag and pathname. The addition of
6176 this support brings the disassembled code very close to the original ASL
6177 source code and helps eliminate run-time errors when the disassembled code
6178 is modified (and recompiled) in such a way as to invalidate the original
6181 Implemented support for a Descriptor Name as the last parameter to the ASL
6182 Register() macro. This parameter was inadvertently left out of the ACPI
6183 specification, and will be added for ACPI 3.0b.
6185 Fixed a problem where the use of the "_OSI" string (versus the full path
6186 "\_OSI") caused an internal compiler error. ("No back ptr to op")
6188 Fixed a problem with the error message that occurs when an invalid string
6190 used for a _HID object (such as one with an embedded asterisk:
6192 The correct message is now displayed.
6194 ----------------------------------------
6195 17 February 2006. Summary of changes for version 20060217:
6197 1) ACPI CA Core Subsystem:
6199 Implemented a change to the IndexField support to match the behavior of
6201 Microsoft AML interpreter. The value written to the Index register is now
6203 byte offset, no longer an index based upon the width of the Data register.
6204 This should fix IndexField problems seen on some machines where the Data
6205 register is not exactly one byte wide. The ACPI specification will be
6206 clarified on this point.
6208 Fixed a problem where several resource descriptor types could overrun the
6209 internal descriptor buffer due to size miscalculation: VendorShort,
6210 VendorLong, and Interrupt. This was noticed on IA64 machines, but could
6211 affect all platforms.
6213 Fixed a problem where individual resource descriptors were misaligned
6215 the internal buffer, causing alignment faults on IA64 platforms.
6217 Code and Data Size: These are the sizes for the acpica.lib produced by the
6218 Microsoft Visual C++ 6.0 32-bit compiler. The values do not include any
6220 driver or OSPM code. The debug version of the code includes the debug
6222 trace mechanism and has a much larger code and data size. Note that these
6223 values will vary depending on the efficiency of the compiler and the
6224 compiler options used during generation.
6227 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
6228 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
6230 Non-Debug Version: 81.0K Code, 17.8K Data, 98.8K Total
6231 Debug Version: 161.4K Code, 65.7K Data, 227.1K Total
6234 2) iASL Compiler/Disassembler:
6236 Implemented support for new reserved names: _WDG and _WED are Microsoft
6237 extensions for Windows Instrumentation Management, _TDL is a new ACPI-
6238 defined method (Throttling Depth Limit.)
6240 Fixed a problem where a zero-length VendorShort or VendorLong resource
6241 descriptor was incorrectly emitted as a descriptor of length one.
6243 ----------------------------------------
6244 10 February 2006. Summary of changes for version 20060210:
6246 1) ACPI CA Core Subsystem:
6248 Removed a couple of extraneous ACPI_ERROR messages that appeared during
6249 normal execution. These became apparent after the conversion from
6252 Fixed a problem where the CreateField operator could hang if the BitIndex
6254 NumBits parameter referred to a named object. (Valery Podrezov, BZ 5359)
6256 Fixed a problem where a DeRefOf operation on a buffer object incorrectly
6257 failed with an exception. This also fixes a couple of related RefOf and
6258 DeRefOf issues. (Valery Podrezov, BZ 5360/5392/5387)
6260 Fixed a problem where the AE_BUFFER_LIMIT exception was returned instead
6262 AE_STRING_LIMIT on an out-of-bounds Index() operation. (Valery Podrezov,
6266 Implemented a memory cleanup at the end of the execution of each iteration
6267 of an AML While() loop, preventing the accumulation of outstanding
6269 (Valery Podrezov, BZ 5427)
6271 Eliminated a chunk of duplicate code in the object resolution code.
6275 Fixed several warnings during the 64-bit code generation.
6277 The AcpiSrc source code conversion tool now inserts one line of whitespace
6278 after an if() statement that is followed immediately by a comment,
6280 readability of the Linux code.
6282 Code and Data Size: The current and previous library sizes for the core
6283 subsystem are shown below. These are the code and data sizes for the
6284 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6285 values do not include any ACPI driver or OSPM code. The debug version of
6287 code includes the debug output trace mechanism and has a much larger code
6288 and data size. Note that these values will vary depending on the
6290 of the compiler and the compiler options used during generation.
6293 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
6294 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
6296 Non-Debug Version: 81.1K Code, 17.8K Data, 98.9K Total
6297 Debug Version: 161.3K Code, 65.6K Data, 226.9K Total
6300 2) iASL Compiler/Disassembler:
6302 Fixed a problem with the disassembly of a BankField operator with a
6304 expression for the BankValue parameter.
6306 ----------------------------------------
6307 27 January 2006. Summary of changes for version 20060127:
6309 1) ACPI CA Core Subsystem:
6311 Implemented support in the Resource Manager to allow unresolved namestring
6312 references within resource package objects for the _PRT method. This
6314 is in addition to the previously implemented unresolved reference support
6315 within the AML parser. If the interpreter slack mode is enabled, these
6316 unresolved references will be passed through to the caller as a NULL
6320 Implemented and deployed new macros and functions for error and warning
6321 messages across the subsystem. These macros are simpler and generate less
6322 code than their predecessors. The new macros ACPI_ERROR, ACPI_EXCEPTION,
6323 ACPI_WARNING, and ACPI_INFO replace the ACPI_REPORT_* macros. The older
6324 macros remain defined to allow ACPI drivers time to migrate to the new
6327 Implemented the ACPI_CPU_FLAGS type to simplify host OS integration of the
6328 Acquire/Release Lock OSL interfaces.
6330 Fixed a problem where Alias ASL operators are sometimes not correctly
6331 resolved, in both the interpreter and the iASL compiler.
6333 Fixed several problems with the implementation of the
6334 ConcatenateResTemplate
6335 ASL operator. As per the ACPI specification, zero length buffers are now
6336 treated as a single EndTag. One-length buffers always cause a fatal
6337 exception. Non-zero length buffers that do not end with a full 2-byte
6339 cause a fatal exception.
6341 Fixed a possible structure overwrite in the AcpiGetObjectInfo external
6342 interface. (With assistance from Thomas Renninger)
6344 Code and Data Size: The current and previous library sizes for the core
6345 subsystem are shown below. These are the code and data sizes for the
6346 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6347 values do not include any ACPI driver or OSPM code. The debug version of
6349 code includes the debug output trace mechanism and has a much larger code
6350 and data size. Note that these values will vary depending on the
6352 of the compiler and the compiler options used during generation.
6355 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
6356 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
6358 Non-Debug Version: 81.0K Code, 17.9K Data, 98.9K Total
6359 Debug Version: 161.3K Code, 65.7K Data, 227.0K Total
6362 2) iASL Compiler/Disassembler:
6364 Fixed an internal error that was generated for any forward references to
6368 ----------------------------------------
6369 13 January 2006. Summary of changes for version 20060113:
6371 1) ACPI CA Core Subsystem:
6373 Added 2006 copyright to all module headers and signons. This affects
6374 virtually every file in the ACPICA core subsystem, iASL compiler, and the
6377 Enhanced the ACPICA error reporting in order to simplify user migration to
6378 the non-debug version of ACPICA. Replaced all instances of the
6379 ACPI_DEBUG_PRINT macro invoked at the ACPI_DB_ERROR and ACPI_DB_WARN debug
6380 levels with the ACPI_REPORT_ERROR and ACPI_REPORT_WARNING macros,
6381 respectively. This preserves all error and warning messages in the non-
6383 version of the ACPICA code (this has been referred to as the "debug lite"
6384 option.) Over 200 cases were converted to create a total of over 380
6385 error/warning messages across the ACPICA code. This increases the code and
6386 data size of the default non-debug version of the code somewhat (about
6388 but all error/warning reporting may be disabled if desired (and code
6389 eliminated) by specifying the ACPI_NO_ERROR_MESSAGES compile-time
6390 configuration option. The size of the debug version of ACPICA remains
6394 Fixed a memory leak within the AML Debugger "Set" command. One object was
6395 not properly deleted for every successful invocation of the command.
6397 Code and Data Size: The current and previous library sizes for the core
6398 subsystem are shown below. These are the code and data sizes for the
6399 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6400 values do not include any ACPI driver or OSPM code. The debug version of
6402 code includes the debug output trace mechanism and has a much larger code
6403 and data size. Note that these values will vary depending on the
6405 of the compiler and the compiler options used during generation.
6408 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
6409 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
6411 Non-Debug Version: 83.1K Code, 18.4K Data, 101.5K Total
6412 Debug Version: 163.2K Code, 66.2K Data, 229.4K Total
6415 2) iASL Compiler/Disassembler:
6417 The compiler now officially supports the ACPI 3.0a specification that was
6418 released on December 30, 2005. (Specification is available at
6421 ----------------------------------------
6422 16 December 2005. Summary of changes for version 20051216:
6424 1) ACPI CA Core Subsystem:
6426 Implemented optional support to allow unresolved names within ASL Package
6427 objects. A null object is inserted in the package when a named reference
6428 cannot be located in the current namespace. Enabled via the interpreter
6429 slack flag, this should eliminate AE_NOT_FOUND exceptions seen on machines
6430 that contain such code.
6432 Implemented an optimization to the initialization sequence that can
6434 boot time. During ACPI device initialization, the _STA method is now run
6436 and only if the _INI method exists. The _STA method is used to determine
6438 the device is present; An _INI can only be run if _STA returns present,
6440 it is a waste of time to run the _STA method if the _INI does not exist.
6441 (Prototype and assistance from Dong Wei)
6443 Implemented use of the C99 uintptr_t for the pointer casting macros if it
6445 available in the current compiler. Otherwise, the default (void *) cast is
6448 Fixed some possible memory leaks found within the execution path of the
6449 Break, Continue, If, and CreateField operators. (Valery Podrezov)
6451 Fixed a problem introduced in the 20051202 release where an exception is
6452 generated during method execution if a control method attempts to declare
6455 Moved resource descriptor string constants that are used by both the AML
6456 disassembler and AML debugger to the common utilities directory so that
6457 these components are independent.
6459 Implemented support in the AcpiExec utility (-e switch) to globally ignore
6460 exceptions during control method execution (method is not aborted.)
6462 Added the rsinfo.c source file to the AcpiExec makefile for Linux/Unix
6465 Code and Data Size: The current and previous library sizes for the core
6466 subsystem are shown below. These are the code and data sizes for the
6467 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6468 values do not include any ACPI driver or OSPM code. The debug version of
6470 code includes the debug output trace mechanism and has a much larger code
6471 and data size. Note that these values will vary depending on the
6473 of the compiler and the compiler options used during generation.
6476 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
6477 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
6479 Non-Debug Version: 76.6K Code, 12.3K Data, 88.9K Total
6480 Debug Version: 163.7K Code, 67.5K Data, 231.2K Total
6483 2) iASL Compiler/Disassembler:
6485 Fixed a problem where a CPU stack overflow fault could occur if a
6487 method call was made from within a Return statement.
6489 ----------------------------------------
6490 02 December 2005. Summary of changes for version 20051202:
6492 1) ACPI CA Core Subsystem:
6494 Modified the parsing of control methods to no longer create namespace
6495 objects during the first pass of the parse. Objects are now created only
6496 during the execute phase, at the moment the namespace creation operator is
6497 encountered in the AML (Name, OperationRegion, CreateByteField, etc.) This
6498 should eliminate ALREADY_EXISTS exceptions seen on some machines where
6499 reentrant control methods are protected by an AML mutex. The mutex will
6501 correctly block multiple threads from attempting to create the same object
6504 Increased the number of available Owner Ids for namespace object tracking
6505 from 32 to 255. This should eliminate the OWNER_ID_LIMIT exceptions seen
6507 some machines with a large number of ACPI tables (either static or
6510 Fixed a problem with the AcpiExec utility where a fault could occur when
6512 -b switch (batch mode) is used.
6514 Enhanced the namespace dump routine to output the owner ID for each
6517 Code and Data Size: The current and previous library sizes for the core
6518 subsystem are shown below. These are the code and data sizes for the
6519 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6520 values do not include any ACPI driver or OSPM code. The debug version of
6522 code includes the debug output trace mechanism and has a much larger code
6523 and data size. Note that these values will vary depending on the
6525 of the compiler and the compiler options used during generation.
6528 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
6529 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
6531 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
6532 Debug Version: 163.2K Code, 67.4K Data, 230.6K Total
6535 2) iASL Compiler/Disassembler:
6537 Fixed a parse error during compilation of certain Switch/Case constructs.
6539 simplify the parse, the grammar now allows for multiple Default statements
6540 and this error is now detected and flagged during the analysis phase.
6542 Disassembler: The disassembly now includes the contents of the original
6543 table header within a comment at the start of the file. This includes the
6544 name and version of the original ASL compiler.
6546 ----------------------------------------
6547 17 November 2005. Summary of changes for version 20051117:
6549 1) ACPI CA Core Subsystem:
6551 Fixed a problem in the AML parser where the method thread count could be
6552 decremented below zero if any errors occurred during the method parse
6554 This should eliminate AE_AML_METHOD_LIMIT exceptions seen on some
6556 This also fixed a related regression with the mechanism that detects and
6557 corrects methods that cannot properly handle reentrancy (related to the
6558 deployment of the new OwnerId mechanism.)
6560 Eliminated the pre-parsing of control methods (to detect errors) during
6561 table load. Related to the problem above, this was causing unwind issues
6563 any errors occurred during the parse, and it seemed to be overkill. A
6565 load should not be aborted if there are problems with any single control
6566 method, thus rendering this feature rather pointless.
6568 Fixed a problem with the new table-driven resource manager where an
6570 buffer overflow could occur for small resource templates.
6572 Implemented a new external interface, AcpiGetVendorResource. This
6574 will find and return a vendor-defined resource descriptor within a _CRS or
6575 _PRS method via an ACPI 3.0 UUID match. With assistance from Bjorn
6578 Removed the length limit (200) on string objects as per the upcoming ACPI
6579 3.0A specification. This affects the following areas of the interpreter:
6581 any implicit conversion of a Buffer to a String, 2) a String object result
6582 of the ASL Concatentate operator, 3) the String object result of the ASL
6585 Fixed a problem in the Windows OS interface layer (OSL) where a
6587 on a semaphore object would incorrectly timeout. This allows the
6588 multithreading features of the AcpiExec utility to work properly under
6591 Updated the Linux makefiles for the iASL compiler and AcpiExec to include
6592 the recently added file named "utresrc.c".
6594 Code and Data Size: The current and previous library sizes for the core
6595 subsystem are shown below. These are the code and data sizes for the
6596 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6597 values do not include any ACPI driver or OSPM code. The debug version of
6599 code includes the debug output trace mechanism and has a much larger code
6600 and data size. Note that these values will vary depending on the
6602 of the compiler and the compiler options used during generation.
6605 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
6606 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
6608 Non-Debug Version: 76.3K Code, 12.3K Data, 88.6K Total
6609 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
6612 2) iASL Compiler/Disassembler:
6614 Removed the limit (200) on string objects as per the upcoming ACPI 3.0A
6615 specification. For the iASL compiler, this means that string literals
6617 the source ASL can be of any length.
6619 Enhanced the listing output to dump the AML code for resource descriptors
6620 immediately after the ASL code for each descriptor, instead of in a block
6622 the end of the entire resource template.
6624 Enhanced the compiler debug output to dump the entire original parse tree
6625 constructed during the parse phase, before any transforms are applied to
6627 tree. The transformed tree is dumped also.
6629 ----------------------------------------
6630 02 November 2005. Summary of changes for version 20051102:
6632 1) ACPI CA Core Subsystem:
6634 Modified the subsystem initialization sequence to improve GPE support. The
6635 GPE initialization has been split into two parts in order to defer
6637 of the _PRW methods (Power Resources for Wake) until after the hardware is
6638 fully initialized and the SCI handler is installed. This allows the _PRW
6639 methods to access fields protected by the Global Lock. This will fix
6641 where a NO_GLOBAL_LOCK exception has been seen during initialization.
6643 Converted the ACPI internal object disassemble and display code within the
6644 AML debugger to fully table-driven operation, reducing code size and
6645 increasing maintainability.
6647 Fixed a regression with the ConcatenateResTemplate() ASL operator
6649 in the 20051021 release.
6651 Implemented support for "local" internal ACPI object types within the
6652 debugger "Object" command and the AcpiWalkNamespace external interfaces.
6653 These local types include RegionFields, BankFields, IndexFields, Alias,
6657 Moved common AML resource handling code into a new file, "utresrc.c". This
6658 code is shared by both the Resource Manager and the AML Debugger.
6660 Code and Data Size: The current and previous library sizes for the core
6661 subsystem are shown below. These are the code and data sizes for the
6662 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6663 values do not include any ACPI driver or OSPM code. The debug version of
6665 code includes the debug output trace mechanism and has a much larger code
6666 and data size. Note that these values will vary depending on the
6668 of the compiler and the compiler options used during generation.
6671 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
6672 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
6674 Non-Debug Version: 76.2K Code, 12.3K Data, 88.5K Total
6675 Debug Version: 163.0K Code, 67.4K Data, 230.4K Total
6678 2) iASL Compiler/Disassembler:
6680 Fixed a problem with very large initializer lists (more than 4000
6682 for both Buffer and Package objects where the parse stack could overflow.
6684 Enhanced the pre-compile source code scan for non-ASCII characters to
6686 characters within comment fields. The scan is now always performed and is
6688 longer optional, detecting invalid characters within a source file
6689 immediately rather than during the parse phase or later.
6691 Enhanced the ASL grammar definition to force early reductions on all list-
6692 style grammar elements so that the overall parse stack usage is greatly
6693 reduced. This should improve performance and reduce the possibility of
6697 Eliminated all reduce/reduce conflicts in the iASL parser generation.
6699 with the addition of a %expected statement, the compiler generates from
6700 source with no warnings.
6702 Fixed a possible segment fault in the disassembler if the input filename
6703 does not contain a "dot" extension (Thomas Renninger).
6705 ----------------------------------------
6706 21 October 2005. Summary of changes for version 20051021:
6708 1) ACPI CA Core Subsystem:
6710 Implemented support for the EM64T and other x86-64 processors. This
6711 essentially entails recognizing that these processors support non-aligned
6712 memory transfers. Previously, all 64-bit processors were assumed to lack
6713 hardware support for non-aligned transfers.
6715 Completed conversion of the Resource Manager to nearly full table-driven
6716 operation. Specifically, the resource conversion code (convert AML to
6717 internal format and the reverse) and the debug code to dump internal
6718 resource descriptors are fully table-driven, reducing code and data size
6720 improving maintainability.
6722 The OSL interfaces for Acquire and Release Lock now use a 64-bit flag word
6723 on 64-bit processors instead of a fixed 32-bit word. (With assistance from
6724 Alexey Starikovskiy)
6726 Implemented support within the resource conversion code for the Type-
6727 Specific byte within the various ACPI 3.0 *WordSpace macros.
6729 Fixed some issues within the resource conversion code for the type-
6731 flags for both Memory and I/O address resource descriptors. For Memory,
6732 implemented support for the MTP and TTP flags. For I/O, split the TRS and
6733 TTP flags into two separate fields.
6735 Code and Data Size: The current and previous library sizes for the core
6736 subsystem are shown below. These are the code and data sizes for the
6737 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6738 values do not include any ACPI driver or OSPM code. The debug version of
6740 code includes the debug output trace mechanism and has a much larger code
6741 and data size. Note that these values will vary depending on the
6743 of the compiler and the compiler options used during generation.
6746 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
6747 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
6749 Non-Debug Version: 76.1K Code, 12.2K Data, 88.3K Total
6750 Debug Version: 163.5K Code, 67.0K Data, 230.5K Total
6754 2) iASL Compiler/Disassembler:
6756 Relaxed a compiler restriction that disallowed a ResourceIndex byte if the
6757 corresponding ResourceSource string was not also present in a resource
6758 descriptor declaration. This restriction caused problems with existing
6759 AML/ASL code that includes the Index byte without the string. When such
6761 was disassembled, it could not be compiled without modification. Further,
6762 the modified code created a resource template with a different size than
6764 original, breaking code that used fixed offsets into the resource template
6767 Removed a recent feature of the disassembler to ignore a lone
6769 byte. This byte is now emitted if present so that the exact AML can be
6770 reproduced when the disassembled code is recompiled.
6772 Improved comments and text alignment for the resource descriptor code
6773 emitted by the disassembler.
6775 Implemented disassembler support for the ACPI 3.0 AccessSize field within
6777 Register() resource descriptor.
6779 ----------------------------------------
6780 30 September 2005. Summary of changes for version 20050930:
6782 1) ACPI CA Core Subsystem:
6784 Completed a major overhaul of the Resource Manager code - specifically,
6785 optimizations in the area of the AML/internal resource conversion code.
6787 code has been optimized to simplify and eliminate duplicated code, CPU
6789 use has been decreased by optimizing function parameters and local
6790 variables, and naming conventions across the manager have been
6792 for clarity and ease of maintenance (this includes function, parameter,
6793 variable, and struct/typedef names.) The update may force changes in some
6794 driver code, depending on how resources are handled by the host OS.
6796 All Resource Manager dispatch and information tables have been moved to a
6797 single location for clarity and ease of maintenance. One new file was
6798 created, named "rsinfo.c".
6800 The ACPI return macros (return_ACPI_STATUS, etc.) have been modified to
6801 guarantee that the argument is not evaluated twice, making them less prone
6802 to macro side-effects. However, since there exists the possibility of
6803 additional stack use if a particular compiler cannot optimize them (such
6805 in the debug generation case), the original macros are optionally
6807 Note that some invocations of the return_VALUE macro may now cause size
6808 mismatch warnings; the return_UINT8 and return_UINT32 macros are provided
6810 eliminate these. (From Randy Dunlap)
6812 Implemented a new mechanism to enable debug tracing for individual control
6813 methods. A new external interface, AcpiDebugTrace, is provided to enable
6814 this mechanism. The intent is to allow the host OS to easily enable and
6815 disable tracing for problematic control methods. This interface can be
6816 easily exposed to a user or debugger interface if desired. See the file
6817 psxface.c for details.
6819 AcpiUtCallocate will now return a valid pointer if a length of zero is
6820 specified - a length of one is used and a warning is issued. This matches
6821 the behavior of AcpiUtAllocate.
6823 Code and Data Size: The current and previous library sizes for the core
6824 subsystem are shown below. These are the code and data sizes for the
6825 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6826 values do not include any ACPI driver or OSPM code. The debug version of
6828 code includes the debug output trace mechanism and has a much larger code
6829 and data size. Note that these values will vary depending on the
6831 of the compiler and the compiler options used during generation.
6834 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
6835 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
6837 Non-Debug Version: 77.1K Code, 12.1K Data, 89.2K Total
6838 Debug Version: 168.0K Code, 68.3K Data, 236.3K Total
6841 2) iASL Compiler/Disassembler:
6843 A remark is issued if the effective compile-time length of a package or
6844 buffer is zero. Previously, this was a warning.
6846 ----------------------------------------
6847 16 September 2005. Summary of changes for version 20050916:
6849 1) ACPI CA Core Subsystem:
6851 Fixed a problem within the Resource Manager where support for the Generic
6852 Register descriptor was not fully implemented. This descriptor is now
6854 recognized, parsed, disassembled, and displayed.
6856 Completely restructured the Resource Manager code to utilize table-driven
6857 dispatch and lookup, eliminating many of the large switch() statements.
6859 reduces overall subsystem code size and code complexity. Affects the
6860 resource parsing and construction, disassembly, and debug dump output.
6862 Cleaned up and restructured the debug dump output for all resource
6863 descriptors. Improved readability of the output and reduced code size.
6865 Fixed a problem where changes to internal data structures caused the
6866 optional ACPI_MUTEX_DEBUG code to fail compilation if specified.
6868 Code and Data Size: The current and previous library sizes for the core
6869 subsystem are shown below. These are the code and data sizes for the
6870 acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. These
6871 values do not include any ACPI driver or OSPM code. The debug version of
6873 code includes the debug output trace mechanism and has a much larger code
6874 and data size. Note that these values will vary depending on the
6876 of the compiler and the compiler options used during generation.
6879 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
6880 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
6882 Non-Debug Version: 77.5K Code, 12.0K Data, 89.5K Total
6883 Debug Version: 168.1K Code, 68.4K Data, 236.5K Total
6886 2) iASL Compiler/Disassembler:
6888 Updated the disassembler to automatically insert an EndDependentFn() macro
6889 into the ASL stream if this macro is missing in the original AML code,
6890 simplifying compilation of the resulting ASL module.
6892 Fixed a problem in the disassembler where a disassembled ResourceSource
6893 string (within a large resource descriptor) was not surrounded by quotes
6895 not followed by a comma, causing errors when the resulting ASL module was
6896 compiled. Also, escape sequences within a ResourceSource string are now
6897 handled correctly (especially "\\")
6899 ----------------------------------------
6900 02 September 2005. Summary of changes for version 20050902:
6902 1) ACPI CA Core Subsystem:
6904 Fixed a problem with the internal Owner ID allocation and deallocation
6905 mechanisms for control method execution and recursive method invocation.
6906 This should eliminate the OWNER_ID_LIMIT exceptions and "Invalid OwnerId"
6907 messages seen on some systems. Recursive method invocation depth is
6908 currently limited to 255. (Alexey Starikovskiy)
6910 Completely eliminated all vestiges of support for the "module-level
6911 executable code" until this support is fully implemented and debugged.
6913 should eliminate the NO_RETURN_VALUE exceptions seen during table load on
6914 some systems that invoke this support.
6916 Fixed a problem within the resource manager code where the transaction
6918 for a 64-bit address descriptor were handled incorrectly in the type-
6921 Consolidated duplicate code within the address descriptor resource manager
6922 code, reducing overall subsystem code size.
6924 Fixed a fault when using the AML debugger "disassemble" command to
6925 disassemble individual control methods.
6927 Removed references to the "release_current" directory within the Unix
6930 Code and Data Size: The current and previous core subsystem library sizes
6931 are shown below. These are the code and data sizes for the acpica.lib
6932 produced by the Microsoft Visual C++ 6.0 compiler. These values do not
6933 include any ACPI driver or OSPM code. The debug version of the code
6935 the debug output trace mechanism and has a much larger code and data size.
6936 Note that these values will vary depending on the efficiency of the
6938 and the compiler options used during generation.
6941 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
6942 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
6944 Non-Debug Version: 78.4K Code, 11.8K Data, 90.2K Total
6945 Debug Version: 169.6K Code, 69.9K Data, 239.5K Total
6948 2) iASL Compiler/Disassembler:
6950 Implemented an error check for illegal duplicate values in the interrupt
6952 dma lists for the following ASL macros: Dma(), Irq(), IrqNoFlags(), and
6955 Implemented error checking for the Irq() and IrqNoFlags() macros to detect
6956 too many values in the interrupt list (16 max) and invalid values in the
6959 The maximum length string literal within an ASL file is now restricted to
6960 200 characters as per the ACPI specification.
6962 Fixed a fault when using the -ln option (generate namespace listing).
6964 Implemented an error check to determine if a DescriptorName within a
6965 resource descriptor has already been used within the current scope.
6967 ----------------------------------------
6968 15 August 2005. Summary of changes for version 20050815:
6970 1) ACPI CA Core Subsystem:
6972 Implemented a full bytewise compare to determine if a table load request
6974 attempting to load a duplicate table. The compare is performed if the
6976 signatures and table lengths match. This will allow different tables with
6977 the same OEM Table ID and revision to be loaded - probably against the
6979 specification, but discovered in the field nonetheless.
6981 Added the changes.txt logfile to each of the zipped release packages.
6983 Code and Data Size: Current and previous core subsystem library sizes are
6984 shown below. These are the code and data sizes for the acpica.lib produced
6985 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
6986 any ACPI driver or OSPM code. The debug version of the code includes the
6987 debug output trace mechanism and has a much larger code and data size.
6989 that these values will vary depending on the efficiency of the compiler
6991 the compiler options used during generation.
6994 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
6995 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
6997 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
6998 Debug Version: 170.0K Code, 69.9K Data, 239.9K Total
7001 2) iASL Compiler/Disassembler:
7003 Fixed a problem where incorrect AML code could be generated for Package
7004 objects if optimization is disabled (via the -oa switch).
7006 Fixed a problem with where incorrect AML code is generated for variable-
7007 length packages when the package length is not specified and the number of
7008 initializer values is greater than 255.
7011 ----------------------------------------
7012 29 July 2005. Summary of changes for version 20050729:
7014 1) ACPI CA Core Subsystem:
7016 Implemented support to ignore an attempt to install/load a particular ACPI
7017 table more than once. Apparently there exists BIOS code that repeatedly
7018 attempts to load the same SSDT upon certain events. With assistance from
7019 Venkatesh Pallipadi.
7021 Restructured the main interface to the AML parser in order to correctly
7022 handle all exceptional conditions. This will prevent leakage of the
7024 resource and should eliminate the AE_OWNER_ID_LIMIT exceptions seen on
7026 machines. With assistance from Alexey Starikovskiy.
7028 Support for "module level code" has been disabled in this version due to a
7029 number of issues that have appeared on various machines. The support can
7031 enabled by defining ACPI_ENABLE_MODULE_LEVEL_CODE during subsystem
7032 compilation. When the issues are fully resolved, the code will be enabled
7036 Modified the internal functions for debug print support to define the
7037 FunctionName parameter as a (const char *) for compatibility with compiler
7038 built-in macros such as __FUNCTION__, etc.
7040 Linted the entire ACPICA source tree for both 32-bit and 64-bit.
7042 Implemented support to display an object count summary for the AML
7044 commands Object and Methods.
7046 Code and Data Size: Current and previous core subsystem library sizes are
7047 shown below. These are the code and data sizes for the acpica.lib produced
7048 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7049 any ACPI driver or OSPM code. The debug version of the code includes the
7050 debug output trace mechanism and has a much larger code and data size.
7052 that these values will vary depending on the efficiency of the compiler
7054 the compiler options used during generation.
7057 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
7058 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
7060 Non-Debug Version: 78.6K Code, 11.7K Data, 90.3K Total
7061 Debug Version: 167.0K Code, 69.9K Data, 236.9K Total
7064 2) iASL Compiler/Disassembler:
7066 Fixed a regression that appeared in the 20050708 version of the compiler
7067 where an error message was inadvertently emitted for invocations of the
7069 reserved control method.
7071 ----------------------------------------
7072 08 July 2005. Summary of changes for version 20050708:
7074 1) ACPI CA Core Subsystem:
7076 The use of the CPU stack in the debug version of the subsystem has been
7077 considerably reduced. Previously, a debug structure was declared in every
7078 function that used the debug macros. This structure has been removed in
7079 favor of declaring the individual elements as parameters to the debug
7080 functions. This reduces the cumulative stack use during nested execution
7082 ACPI function calls at the cost of a small increase in the code size of
7084 debug version of the subsystem. With assistance from Alexey Starikovskiy
7088 Added the ACPI_GET_FUNCTION_NAME macro to enable the compiler-dependent
7089 headers to define a macro that will return the current function name at
7090 runtime (such as __FUNCTION__ or _func_, etc.) The function name is used
7092 the debug trace output. If ACPI_GET_FUNCTION_NAME is not defined in the
7093 compiler-dependent header, the function name is saved on the CPU stack
7095 pointer per function.) This mechanism is used because apparently there
7096 exists no standard ANSI-C defined macro that that returns the function
7099 Redesigned and reimplemented the "Owner ID" mechanism used to track
7100 namespace objects created/deleted by ACPI tables and control method
7101 execution. A bitmap is now used to allocate and free the IDs, thus solving
7102 the wraparound problem present in the previous implementation. The size of
7103 the namespace node descriptor was reduced by 2 bytes as a result (Alexey
7106 Removed the UINT32_BIT and UINT16_BIT types that were used for the
7108 flag definitions within the headers for the predefined ACPI tables. These
7109 have been replaced by UINT8_BIT in order to increase the code portability
7111 the subsystem. If the use of UINT8 remains a problem, we may be forced to
7112 eliminate bitfields entirely because of a lack of portability.
7114 Enhanced the performance of the AcpiUtUpdateObjectReference procedure.
7116 is a frequently used function and this improvement increases the
7118 of the entire subsystem (Alexey Starikovskiy).
7120 Fixed several possible memory leaks and the inverse - premature object
7121 deletion (Alexey Starikovskiy).
7123 Code and Data Size: Current and previous core subsystem library sizes are
7124 shown below. These are the code and data sizes for the acpica.lib produced
7125 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7126 any ACPI driver or OSPM code. The debug version of the code includes the
7127 debug output trace mechanism and has a much larger code and data size.
7129 that these values will vary depending on the efficiency of the compiler
7131 the compiler options used during generation.
7134 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
7135 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
7137 Non-Debug Version: 78.6K Code, 11.6K Data, 90.2K Total
7138 Debug Version: 170.0K Code, 69.7K Data, 239.7K Total
7140 ----------------------------------------
7141 24 June 2005. Summary of changes for version 20050624:
7143 1) ACPI CA Core Subsystem:
7145 Modified the new OSL cache interfaces to use ACPI_CACHE_T as the type for
7146 the host-defined cache object. This allows the OSL implementation to
7148 and type this object in any manner desired, simplifying the OSL
7149 implementation. For example, ACPI_CACHE_T is defined as kmem_cache_t for
7150 Linux, and should be defined in the OS-specific header file for other
7151 operating systems as required.
7153 Changed the interface to AcpiOsAcquireObject to directly return the
7154 requested object as the function return (instead of ACPI_STATUS.) This
7155 change was made for performance reasons, since this is the purpose of the
7156 interface in the first place. AcpiOsAcquireObject is now similar to the
7157 AcpiOsAllocate interface.
7159 Implemented a new AML debugger command named Businfo. This command
7161 information about all devices that have an associate _PRT object. The
7163 _HID, _UID, and _CID are displayed for these devices.
7165 Modified the initialization sequence in AcpiInitializeSubsystem to call
7167 OSL interface AcpiOslInitialize first, before any local initialization.
7169 change was required because the global initialization now calls OSL
7172 Enhanced the Dump command to display the entire contents of Package
7174 (including all sub-objects and their values.)
7176 Restructured the code base to split some files because of size and/or
7177 because the code logically belonged in a separate file. New files are
7179 below. All makefiles and project files included in the ACPI CA release
7182 utilities/utcache.c /* Local cache interfaces */
7183 utilities/utmutex.c /* Local mutex support */
7184 utilities/utstate.c /* State object support */
7185 interpreter/parser/psloop.c /* Main AML parse loop */
7187 Code and Data Size: Current and previous core subsystem library sizes are
7188 shown below. These are the code and data sizes for the acpica.lib produced
7189 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7190 any ACPI driver or OSPM code. The debug version of the code includes the
7191 debug output trace mechanism and has a much larger code and data size.
7193 that these values will vary depending on the efficiency of the compiler
7195 the compiler options used during generation.
7198 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
7199 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
7201 Non-Debug Version: 78.6K Code, 11.5K Data, 90.1K Total
7202 Debug Version: 165.2K Code, 69.6K Data, 234.8K Total
7205 2) iASL Compiler/Disassembler:
7207 Fixed a regression introduced in version 20050513 where the use of a
7209 object within a Case() statement caused a compile time exception. The
7210 original behavior has been restored (a Match() operator is emitted.)
7212 ----------------------------------------
7213 17 June 2005. Summary of changes for version 20050617:
7215 1) ACPI CA Core Subsystem:
7217 Moved the object cache operations into the OS interface layer (OSL) to
7219 the host OS to handle these operations if desired (for example, the Linux
7220 OSL will invoke the slab allocator). This support is optional; the compile
7221 time define ACPI_USE_LOCAL_CACHE may be used to utilize the original cache
7222 code in the ACPI CA core. The new OSL interfaces are shown below. See
7223 utalloc.c for an example implementation, and acpiosxf.h for the exact
7224 interface definitions. With assistance from Alexey Starikovskiy.
7231 Modified the interfaces to AcpiOsAcquireLock and AcpiOsReleaseLock to
7233 and restore a flags parameter. This fits better with many OS lock models.
7234 Note: the current execution state (interrupt handler or not) is no longer
7235 passed to these interfaces. If necessary, the OSL must determine this
7237 by itself, a simple and fast operation. With assistance from Alexey
7240 Fixed a problem in the ACPI table handling where a valid XSDT was assumed
7241 present if the revision of the RSDP was 2 or greater. According to the
7243 specification, the XSDT is optional in all cases, and the table manager
7244 therefore now checks for both an RSDP >=2 and a valid XSDT pointer.
7245 Otherwise, the RSDT pointer is used. Some ACPI 2.0 compliant BIOSs contain
7248 Fixed an interpreter problem with the Mid() operator in the case of an
7250 string where the resulting output string is of zero length. It now
7252 returns a valid, null terminated string object instead of a string object
7253 with a null pointer.
7255 Fixed a problem with the control method argument handling to allow a store
7256 to an Arg object that already contains an object of type Device. The
7258 object is now correctly overwritten. Previously, an error was returned.
7261 Enhanced the debugger Find command to emit object values in addition to
7263 found object pathnames. The output format is the same as the dump
7267 Enhanced the debugger Set command. It now has the ability to set the value
7268 of any Named integer object in the namespace (Previously, only method
7270 and args could be set.)
7272 Code and Data Size: Current and previous core subsystem library sizes are
7273 shown below. These are the code and data sizes for the acpica.lib produced
7274 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7275 any ACPI driver or OSPM code. The debug version of the code includes the
7276 debug output trace mechanism and has a much larger code and data size.
7278 that these values will vary depending on the efficiency of the compiler
7280 the compiler options used during generation.
7283 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
7284 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
7286 Non-Debug Version: 78.3K Code, 11.6K Data, 89.9K Total
7287 Debug Version: 164.0K Code, 69.1K Data, 233.1K Total
7290 2) iASL Compiler/Disassembler:
7292 Fixed a regression in the disassembler where if/else/while constructs were
7293 output incorrectly. This problem was introduced in the previous release
7294 (20050526). This problem also affected the single-step disassembly in the
7297 Fixed a problem where compiling the reserved _OSI method would randomly
7299 rarely) produce compile errors.
7301 Enhanced the disassembler to emit compilable code in the face of incorrect
7302 AML resource descriptors. If the optional ResourceSourceIndex is present,
7303 but the ResourceSource is not, do not emit the ResourceSourceIndex in the
7304 disassembly. Otherwise, the resulting code cannot be compiled without
7307 ----------------------------------------
7308 26 May 2005. Summary of changes for version 20050526:
7310 1) ACPI CA Core Subsystem:
7312 Implemented support to execute Type 1 and Type 2 AML opcodes appearing at
7313 the module level (not within a control method.) These opcodes are executed
7314 exactly once at the time the table is loaded. This type of code was legal
7316 until the release of ACPI 2.0B (2002) and is now supported within ACPI CA
7318 order to provide backwards compatibility with earlier BIOS
7320 This eliminates the "Encountered executable code at module level" warning
7321 that was previously generated upon detection of such code.
7323 Fixed a problem in the interpreter where an AE_NOT_FOUND exception could
7324 inadvertently be generated during the lookup of namespace objects in the
7325 second pass parse of ACPI tables and control methods. It appears that this
7326 problem could occur during the resolution of forward references to
7330 Added the ACPI_MUTEX_DEBUG #ifdef to the AcpiUtReleaseMutex function,
7331 corresponding to the same #ifdef in the AcpiUtAcquireMutex function. This
7332 allows the deadlock detection debug code to be compiled out in the normal
7333 case, improving mutex performance (and overall subsystem performance)
7336 Implemented a handful of miscellaneous fixes for possible memory leaks on
7337 error conditions and error handling control paths. These fixes were
7338 suggested by FreeBSD and the Coverity Prevent source code analysis tool.
7340 Added a check for a null RSDT pointer in AcpiGetFirmwareTable (tbxfroot.c)
7341 to prevent a fault in this error case.
7343 Code and Data Size: Current and previous core subsystem library sizes are
7344 shown below. These are the code and data sizes for the acpica.lib produced
7345 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7346 any ACPI driver or OSPM code. The debug version of the code includes the
7347 debug output trace mechanism and has a much larger code and data size.
7349 that these values will vary depending on the efficiency of the compiler
7351 the compiler options used during generation.
7354 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
7355 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
7357 Non-Debug Version: 78.1K Code, 11.6K Data, 89.7K Total
7358 Debug Version: 164.0K Code, 69.3K Data, 233.3K Total
7361 2) iASL Compiler/Disassembler:
7363 Implemented support to allow Type 1 and Type 2 ASL operators to appear at
7364 the module level (not within a control method.) These operators will be
7365 executed once at the time the table is loaded. This type of code was legal
7366 up until the release of ACPI 2.0B (2002) and is now supported by the iASL
7367 compiler in order to provide backwards compatibility with earlier BIOS ASL
7370 The ACPI integer width (specified via the table revision ID or the -r
7371 override, 32 or 64 bits) is now used internally during compile-time
7373 folding to ensure that constants are truncated to 32 bits if necessary.
7374 Previously, the revision ID value was only emitted in the AML table
7377 An error message is now generated for the Mutex and Method operators if
7379 SyncLevel parameter is outside the legal range of 0 through 15.
7381 Fixed a problem with the Method operator ParameterTypes list handling
7383 3.0). Previously, more than 2 types or 2 arguments generated a syntax
7385 The actual underlying implementation of method argument typechecking is
7386 still under development, however.
7388 ----------------------------------------
7389 13 May 2005. Summary of changes for version 20050513:
7391 1) ACPI CA Core Subsystem:
7393 Implemented support for PCI Express root bridges -- added support for
7395 PNP0A08 in the root bridge search within AcpiEvPciConfigRegionSetup.
7397 The interpreter now automatically truncates incoming 64-bit constants to
7399 bits if currently executing out of a 32-bit ACPI table (Revision < 2).
7401 also affects the iASL compiler constant folding. (Note: as per below, the
7402 iASL compiler no longer allows 64-bit constants within 32-bit tables.)
7404 Fixed a problem where string and buffer objects with "static" pointers
7405 (pointers to initialization data within an ACPI table) were not handled
7406 consistently. The internal object copy operation now always copies the
7408 to a newly allocated buffer, regardless of whether the source object is
7411 Fixed a problem with the FromBCD operator where an implicit result
7412 conversion was improperly performed while storing the result to the target
7413 operand. Since this is an "explicit conversion" operator, the implicit
7414 conversion should never be performed on the output.
7416 Fixed a problem with the CopyObject operator where a copy to an existing
7417 named object did not always completely overwrite the existing object
7419 at name. Specifically, a buffer-to-buffer copy did not delete the existing
7422 Replaced "InterruptLevel" with "InterruptNumber" in all GPE interfaces and
7423 structs for consistency.
7425 Code and Data Size: Current and previous core subsystem library sizes are
7426 shown below. These are the code and data sizes for the acpica.lib produced
7427 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7428 any ACPI driver or OSPM code. The debug version of the code includes the
7429 debug output trace mechanism and has a much larger code and data size.
7431 that these values will vary depending on the efficiency of the compiler
7433 the compiler options used during generation.
7436 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
7437 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
7438 Current Release: (Same sizes)
7439 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
7440 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
7443 2) iASL Compiler/Disassembler:
7445 The compiler now emits a warning if an attempt is made to generate a 64-
7447 integer constant from within a 32-bit ACPI table (Revision < 2). The
7449 is truncated to 32 bits.
7451 Fixed a problem with large package objects: if the static length of the
7452 package is greater than 255, the "variable length package" opcode is
7453 emitted. Previously, this caused an error. This requires an update to the
7454 ACPI spec, since it currently (incorrectly) states that packages larger
7456 255 elements are not allowed.
7458 The disassembler now correctly handles variable length packages and
7460 larger than 255 elements.
7462 ----------------------------------------
7463 08 April 2005. Summary of changes for version 20050408:
7465 1) ACPI CA Core Subsystem:
7467 Fixed three cases in the interpreter where an "index" argument to an ASL
7468 function was still (internally) 32 bits instead of the required 64 bits.
7469 This was the Index argument to the Index, Mid, and Match operators.
7471 The "strupr" function is now permanently local (AcpiUtStrupr), since this
7473 not a POSIX-defined function and not present in most kernel-level C
7474 libraries. All references to the C library strupr function have been
7478 Completed the deployment of static functions/prototypes. All prototypes
7480 the static attribute have been moved from the headers to the owning C
7483 Implemented an extract option (-e) for the AcpiBin utility (AML binary
7484 utility). This option allows the utility to extract individual ACPI tables
7485 from the output of AcpiDmp. It provides the same functionality of the
7486 acpixtract.pl perl script without the worry of setting the correct perl
7487 options. AcpiBin runs on Windows and has not yet been generated/validated
7489 the Linux/Unix environment (but should be soon).
7491 Updated and fixed the table dump option for AcpiBin (-d). This option
7492 converts a single ACPI table to a hex/ascii file, similar to the output of
7495 Code and Data Size: Current and previous core subsystem library sizes are
7496 shown below. These are the code and data sizes for the acpica.lib produced
7497 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7498 any ACPI driver or OSPM code. The debug version of the code includes the
7499 debug output trace mechanism and has a much larger code and data size.
7501 that these values will vary depending on the efficiency of the compiler
7503 the compiler options used during generation.
7506 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
7507 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
7509 Non-Debug Version: 78.2K Code, 11.6K Data, 89.8K Total
7510 Debug Version: 163.7K Code, 69.3K Data, 233.0K Total
7513 2) iASL Compiler/Disassembler:
7515 Disassembler fix: Added a check to ensure that the table length found in
7517 ACPI table header within the input file is not longer than the actual
7519 file size. This indicates some kind of file or table corruption.
7521 ----------------------------------------
7522 29 March 2005. Summary of changes for version 20050329:
7524 1) ACPI CA Core Subsystem:
7526 An error is now generated if an attempt is made to create a Buffer Field
7528 length zero (A CreateField with a length operand of zero.)
7530 The interpreter now issues a warning whenever executable code at the
7532 level is detected during ACPI table load. This will give some idea of the
7533 prevalence of this type of code.
7535 Implemented support for references to named objects (other than control
7536 methods) within package objects.
7538 Enhanced package object output for the debug object. Package objects are
7540 completely dumped, showing all elements.
7542 Enhanced miscellaneous object output for the debug object. Any object can
7543 now be written to the debug object (for example, a device object can be
7544 written, and the type of the object will be displayed.)
7546 The "static" qualifier has been added to all local functions across both
7548 core subsystem and the iASL compiler.
7550 The number of "long" lines (> 80 chars) within the source has been
7551 significantly reduced, by about 1/3.
7553 Cleaned up all header files to ensure that all CA/iASL functions are
7554 prototyped (even static functions) and the formatting is consistent.
7556 Two new header files have been added, acopcode.h and acnames.h.
7558 Removed several obsolete functions that were no longer used.
7560 Code and Data Size: Current and previous core subsystem library sizes are
7561 shown below. These are the code and data sizes for the acpica.lib produced
7562 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7563 any ACPI driver or OSPM code. The debug version of the code includes the
7564 debug output trace mechanism and has a much larger code and data size.
7566 that these values will vary depending on the efficiency of the compiler
7568 the compiler options used during generation.
7571 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
7572 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
7574 Non-Debug Version: 78.0K Code, 11.6K Data, 89.6K Total
7575 Debug Version: 163.5K Code, 69.3K Data, 232.8K Total
7579 2) iASL Compiler/Disassembler:
7581 Fixed a problem with the resource descriptor generation/support. For the
7582 ResourceSourceIndex and the ResourceSource fields, both must be present,
7584 both must be not present - can't have one without the other.
7586 The compiler now returns non-zero from the main procedure if any errors
7588 occurred during the compilation.
7591 ----------------------------------------
7592 09 March 2005. Summary of changes for version 20050309:
7594 1) ACPI CA Core Subsystem:
7596 The string-to-buffer implicit conversion code has been modified again
7598 a change to the ACPI specification. In order to match the behavior of the
7599 other major ACPI implementation, the target buffer is no longer truncated
7601 the source string is smaller than an existing target buffer. This change
7602 requires an update to the ACPI spec, and should eliminate the recent
7603 AE_AML_BUFFER_LIMIT issues.
7605 The "implicit return" support was rewritten to a new algorithm that solves
7606 the general case. Rather than attempt to determine when a method is about
7608 exit, the result of every ASL operator is saved momentarily until the very
7609 next ASL operator is executed. Therefore, no matter how the method exits,
7610 there will always be a saved implicit return value. This feature is only
7611 enabled with the AcpiGbl_EnableInterpreterSlack flag, and should eliminate
7612 AE_AML_NO_RETURN_VALUE errors when enabled.
7614 Implemented implicit conversion support for the predicate (operand) of the
7615 If, Else, and While operators. String and Buffer arguments are
7617 converted to Integers.
7619 Changed the string-to-integer conversion behavior to match the new ACPI
7620 errata: "If no integer object exists, a new integer is created. The ASCII
7621 string is interpreted as a hexadecimal constant. Each string character is
7622 interpreted as a hexadecimal value ('0'-'9', 'A'-'F', 'a', 'f'), starting
7623 with the first character as the most significant digit, and ending with
7625 first non-hexadecimal character or end-of-string." This means that the
7627 non-hex character terminates the conversion and this is the code that was
7630 Fixed a problem where the ObjectType operator would fail (fault) when used
7631 on an Index of a Package which pointed to a null package element. The
7632 operator now properly returns zero (Uninitialized) in this case.
7634 Fixed a problem where the While operator used excessive memory by not
7635 properly popping the result stack during execution. There was no memory
7637 after execution, however. (Code provided by Valery Podrezov.)
7639 Fixed a problem where references to control methods within Package objects
7640 caused the method to be invoked, instead of producing a reference object
7641 pointing to the method.
7643 Restructured and simplified the pswalk.c module (AcpiPsDeleteParseTree) to
7644 improve performance and reduce code size. (Code provided by Alexey
7647 Code and Data Size: Current and previous core subsystem library sizes are
7648 shown below. These are the code and data sizes for the acpica.lib produced
7649 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7650 any ACPI driver or OSPM code. The debug version of the code includes the
7651 debug output trace mechanism and has a much larger code and data size.
7653 that these values will vary depending on the efficiency of the compiler
7655 the compiler options used during generation.
7658 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
7659 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
7661 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
7662 Debug Version: 165.4K Code, 69.7K Data, 236.1K Total
7665 2) iASL Compiler/Disassembler:
7667 Fixed a problem with the Return operator with no arguments. Since the AML
7668 grammar for the byte encoding requires an operand for the Return opcode,
7670 compiler now emits a Return(Zero) for this case. An ACPI specification
7671 update has been written for this case.
7673 For tables other than the DSDT, namepath optimization is automatically
7674 disabled. This is because SSDTs can be loaded anywhere in the namespace,
7676 compiler has no knowledge of where, and thus cannot optimize namepaths.
7678 Added "ProcessorObj" to the ObjectTypeKeyword list. This object type was
7679 inadvertently omitted from the ACPI specification, and will require an
7682 The source file scan for ASCII characters is now optional (-a). This
7684 was made because some vendors place non-ascii characters within comments.
7685 However, the scan is simply a brute-force byte compare to ensure all
7686 characters in the file are in the range 0x00 to 0x7F.
7688 Fixed a problem with the CondRefOf operator where the compiler was
7689 inappropriately checking for the existence of the target. Since the point
7691 the operator is to check for the existence of the target at run-time, the
7692 compiler no longer checks for the target existence.
7694 Fixed a problem where errors generated from the internal AML interpreter
7695 during constant folding were not handled properly, causing a fault.
7697 Fixed a problem with overly aggressive range checking for the Stall
7698 operator. The valid range (max 255) is now only checked if the operand is
7700 type Integer. All other operand types cannot be statically checked.
7702 Fixed a problem where control method references within the RefOf, DeRefOf,
7703 and ObjectType operators were not treated properly. They are now treated
7705 actual references, not method invocations.
7707 Fixed and enhanced the "list namespace" option (-ln). This option was
7709 a number of releases ago.
7711 Improved error handling for the Field, IndexField, and BankField
7713 The compiler now cleanly reports and recovers from errors in the field
7714 component (FieldUnit) list.
7716 Fixed a disassembler problem where the optional ResourceDescriptor fields
7717 TRS and TTP were not always handled correctly.
7719 Disassembler - Comments in output now use "//" instead of "/*"
7721 ----------------------------------------
7722 28 February 2005. Summary of changes for version 20050228:
7724 1) ACPI CA Core Subsystem:
7726 Fixed a problem where the result of an Index() operator (an object
7727 reference) must increment the reference count on the target object for the
7728 life of the object reference.
7730 Implemented AML Interpreter and Debugger support for the new ACPI 3.0
7731 Extended Address (IO, Memory, Space), QwordSpace, DwordSpace, and
7733 resource descriptors.
7735 Implemented support in the _OSI method for the ACPI 3.0 "Extended Address
7736 Space Descriptor" string, indicating interpreter support for the
7740 Implemented header support for the new ACPI 3.0 FADT flag bits.
7742 Implemented header support for the new ACPI 3.0 PCI Express bits for the
7744 status/enable registers.
7746 Updated header support for the MADT processor local Apic struct and MADT
7747 platform interrupt source struct for new ACPI 3.0 fields.
7749 Implemented header support for the SRAT and SLIT ACPI tables.
7751 Implemented the -s switch in AcpiExec to enable the "InterpreterSlack"
7755 Code and Data Size: Current and previous core subsystem library sizes are
7756 shown below. These are the code and data sizes for the acpica.lib produced
7757 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7758 any ACPI driver or OSPM code. The debug version of the code includes the
7759 debug output trace mechanism and has a much larger code and data size.
7761 that these values will vary depending on the efficiency of the compiler
7763 the compiler options used during generation.
7766 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
7767 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
7769 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
7770 Debug Version: 165.4K Code, 69.6K Data, 236.0K Total
7773 2) iASL Compiler/Disassembler:
7775 Fixed a problem with the internal 64-bit String-to-integer conversion with
7776 strings less than two characters long.
7778 Fixed a problem with constant folding where the result of the Index()
7779 operator can not be considered a constant. This means that Index() cannot
7781 a type3 opcode and this will require an update to the ACPI specification.
7783 Disassembler: Implemented support for the TTP, MTP, and TRS resource
7784 descriptor fields. These fields were inadvertently ignored and not output
7786 the disassembly of the resource descriptor.
7789 ----------------------------------------
7790 11 February 2005. Summary of changes for version 20050211:
7792 1) ACPI CA Core Subsystem:
7794 Implemented ACPI 3.0 support for implicit conversion within the Match()
7795 operator. MatchObjects can now be of type integer, buffer, or string
7797 of just type integer. Package elements are implicitly converted to the
7799 of the MatchObject. This change aligns the behavior of Match() with the
7800 behavior of the other logical operators (LLess(), etc.) It also requires
7802 errata change to the ACPI specification as this support was intended for
7803 ACPI 3.0, but was inadvertently omitted.
7805 Fixed a problem with the internal implicit "to buffer" conversion. Strings
7806 that are converted to buffers will cause buffer truncation if the string
7808 smaller than the target buffer. Integers that are converted to buffers
7810 not cause buffer truncation, only zero extension (both as per the ACPI
7811 spec.) The problem was introduced when code was added to truncate the
7812 buffer, but this should not be performed in all cases, only the string
7815 Fixed a problem with the Buffer and Package operators where the
7817 would get confused if two such operators were used as operands to an ASL
7818 operator (such as LLess(Buffer(1){0},Buffer(1){1}). The internal result
7819 stack was not being popped after the execution of these operators,
7821 in an AE_NO_RETURN_VALUE exception.
7823 Fixed a problem with constructs of the form Store(Index(...),...). The
7824 reference object returned from Index was inadvertently resolved to an
7826 value. This problem was introduced in version 20050114 when the behavior
7828 Store() was modified to restrict the object types that can be used as the
7829 source operand (to match the ACPI specification.)
7831 Reduced excessive stack use within the AcpiGetObjectInfo procedure.
7833 Added a fix to aclinux.h to allow generation of AcpiExec on Linux.
7835 Updated the AcpiSrc utility to add the FADT_DESCRIPTOR_REV2_MINUS struct.
7837 Code and Data Size: Current and previous core subsystem library sizes are
7838 shown below. These are the code and data sizes for the acpica.lib produced
7839 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7840 any ACPI driver or OSPM code. The debug version of the code includes the
7841 debug output trace mechanism and has a much larger code and data size.
7843 that these values will vary depending on the efficiency of the compiler
7845 the compiler options used during generation.
7848 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
7849 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
7851 Non-Debug Version: 78.2K Code, 11.5K Data, 89.7K Total
7852 Debug Version: 164.9K Code, 69.2K Data, 234.1K Total
7855 2) iASL Compiler/Disassembler:
7857 Fixed a code generation problem in the constant folding optimization code
7858 where incorrect code was generated if a constant was reduced to a buffer
7859 object (i.e., a reduced type 5 opcode.)
7861 Fixed a typechecking problem for the ToBuffer operator. Caused by an
7862 incorrect return type in the internal opcode information table.
7864 ----------------------------------------
7865 25 January 2005. Summary of changes for version 20050125:
7867 1) ACPI CA Core Subsystem:
7869 Fixed a recently introduced problem with the Global Lock where the
7870 underlying semaphore was not created. This problem was introduced in
7871 version 20050114, and caused an AE_AML_NO_OPERAND exception during an
7872 Acquire() operation on _GL.
7874 The local object cache is now optional, and is disabled by default. Both
7875 AcpiExec and the iASL compiler enable the cache because they run in user
7876 mode and this enhances their performance. #define ACPI_ENABLE_OBJECT_CACHE
7877 to enable the local cache.
7879 Fixed an issue in the internal function AcpiUtEvaluateObject concerning
7881 optional "implicit return" support where an error was returned if no
7883 object was expected, but one was implicitly returned. AE_OK is now
7885 in this case and the implicitly returned object is deleted.
7886 AcpiUtEvaluateObject is only occasionally used, and only to execute
7888 methods such as _STA and _INI where the return type is known up front.
7890 Fixed a few issues with the internal convert-to-integer code. It now
7892 an error if an attempt is made to convert a null string, a string of only
7893 blanks/tabs, or a zero-length buffer. This affects both implicit
7895 and explicit conversion via the ToInteger() operator.
7897 The internal debug code in AcpiUtAcquireMutex has been commented out. It
7899 not needed for normal operation and should increase the performance of the
7900 entire subsystem. The code remains in case it is needed for debug purposes
7903 The AcpiExec source and makefile are included in the Unix/Linux package
7907 Code and Data Size: Current and previous core subsystem library sizes are
7908 shown below. These are the code and data sizes for the acpica.lib produced
7909 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
7910 any ACPI driver or OSPM code. The debug version of the code includes the
7911 debug output trace mechanism and has a much larger code and data size.
7913 that these values will vary depending on the efficiency of the compiler
7915 the compiler options used during generation.
7918 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
7919 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
7921 Non-Debug Version: 78.1K Code, 11.5K Data, 89.6K Total
7922 Debug Version: 164.8K Code, 69.2K Data, 234.0K Total
7924 2) iASL Compiler/Disassembler:
7926 Switch/Case support: A warning is now issued if the type of the Switch
7928 cannot be determined at compile time. For example, Switch(Arg0) will
7929 generate the warning, and the type is assumed to be an integer. As per the
7930 ACPI spec, use a construct such as Switch(ToInteger(Arg0)) to eliminate
7934 Switch/Case support: Implemented support for buffer and string objects as
7935 the switch value. This is an ACPI 3.0 feature, now that LEqual supports
7936 buffers and strings.
7938 Switch/Case support: The emitted code for the LEqual() comparisons now
7940 the switch value as the first operand, not the second. The case value is
7942 the second operand, and this allows the case value to be implicitly
7943 converted to the type of the switch value, not the other way around.
7945 Switch/Case support: Temporary variables are now emitted immediately
7947 the control method, not at the global level. This means that there are now
7948 36 temps available per-method, not 36 temps per-module as was the case
7950 the earlier implementation (_T_0 through _T_9 and _T_A through _T_Z.)
7952 ----------------------------------------
7953 14 January 2005. Summary of changes for version 20050114:
7955 Added 2005 copyright to all module headers. This affects every module in
7956 the core subsystem, iASL compiler, and the utilities.
7958 1) ACPI CA Core Subsystem:
7960 Fixed an issue with the String-to-Buffer conversion code where the string
7961 null terminator was not included in the buffer after conversion, but there
7962 is existing ASL that assumes the string null terminator is included. This
7964 the root of the ACPI_AML_BUFFER_LIMIT regression. This problem was
7965 introduced in the previous version when the code was updated to correctly
7966 set the converted buffer size as per the ACPI specification. The ACPI spec
7967 is ambiguous and will be updated to specify that the null terminator must
7969 included in the converted buffer. This also affects the ToBuffer() ASL
7972 Fixed a problem with the Mid() ASL/AML operator where it did not work
7973 correctly on Buffer objects. Newly created sub-buffers were not being
7978 Fixed a problem in AcpiTbFindTable where incorrect string compares were
7979 performed on the OemId and OemTableId table header fields. These fields
7981 not null terminated, so strncmp is now used instead of strcmp.
7983 Implemented a restriction on the Store() ASL/AML operator to align the
7984 behavior with the ACPI specification. Previously, any object could be
7986 as the source operand. Now, the only objects that may be used are
7988 Buffers, Strings, Packages, Object References, and DDB Handles. If
7989 necessary, the original behavior can be restored by enabling the
7990 EnableInterpreterSlack flag.
7992 Enhanced the optional "implicit return" support to allow an implicit
7994 value from methods that are invoked externally via the AcpiEvaluateObject
7995 interface. This enables implicit returns from the _STA and _INI methods,
7998 Changed the Revision() ASL/AML operator to return the current version of
8000 AML interpreter, in the YYYYMMDD format. Previously, it incorrectly
8002 the supported ACPI version (This is the function of the _REV method).
8004 Updated the _REV predefined method to return the currently supported
8008 Implemented batch mode option for the AcpiExec utility (-b).
8010 Code and Data Size: Current and previous core subsystem library sizes are
8011 shown below. These are the code and data sizes for the acpica.lib produced
8012 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8013 any ACPI driver or OSPM code. The debug version of the code includes the
8014 debug output trace mechanism and has a much larger code and data size.
8016 that these values will vary depending on the efficiency of the compiler
8018 the compiler options used during generation.
8021 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8022 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
8024 Non-Debug Version: 78.4K Code, 11.5K Data, 89.9K Total
8025 Debug Version: 165.4K Code, 69.4K Data, 234.8K Total
8027 ----------------------------------------
8028 10 December 2004. Summary of changes for version 20041210:
8030 ACPI 3.0 support is nearing completion in both the iASL compiler and the
8031 ACPI CA core subsystem.
8033 1) ACPI CA Core Subsystem:
8035 Fixed a problem in the ToDecimalString operator where the resulting string
8036 length was incorrectly calculated. The length is now calculated exactly,
8037 eliminating incorrect AE_STRING_LIMIT exceptions.
8039 Fixed a problem in the ToHexString operator to allow a maximum 200
8041 string to be produced.
8043 Fixed a problem in the internal string-to-buffer and buffer-to-buffer copy
8044 routine where the length of the resulting buffer was not truncated to the
8045 new size (if the target buffer already existed).
8047 Code and Data Size: Current and previous core subsystem library sizes are
8048 shown below. These are the code and data sizes for the acpica.lib produced
8049 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8050 any ACPI driver or OSPM code. The debug version of the code includes the
8051 debug output trace mechanism and has a much larger code and data size.
8053 that these values will vary depending on the efficiency of the compiler
8055 the compiler options used during generation.
8058 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8059 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
8061 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8062 Debug Version: 165.3K Code, 69.4K Data, 234.7K Total
8065 2) iASL Compiler/Disassembler:
8067 Implemented the new ACPI 3.0 resource template macros - DWordSpace,
8068 ExtendedIO, ExtendedMemory, ExtendedSpace, QWordSpace, and WordSpace.
8069 Includes support in the disassembler.
8071 Implemented support for the new (ACPI 3.0) parameter to the Register
8075 Fixed a problem where the _HE resource name for the Interrupt macro was
8076 referencing bit 0 instead of bit 1.
8078 Implemented check for maximum 255 interrupts in the Interrupt macro.
8080 Fixed a problem with the predefined resource descriptor names where
8081 incorrect AML code was generated if the offset within the resource buffer
8082 was 0 or 1. The optimizer shortened the AML code to a single byte opcode
8083 but did not update the surrounding package lengths.
8085 Changes to the Dma macro: All channels within the channel list must be in
8086 the range 0-7. Maximum 8 channels can be specified. BusMaster operand is
8087 optional (default is BusMaster).
8089 Implemented check for maximum 7 data bytes for the VendorShort macro.
8091 The ReadWrite parameter is now optional for the Memory32 and similar
8094 ----------------------------------------
8095 03 December 2004. Summary of changes for version 20041203:
8097 1) ACPI CA Core Subsystem:
8099 The low-level field insertion/extraction code (exfldio) has been
8101 rewritten to eliminate unnecessary complexity, bugs, and boundary
8104 Fixed a problem in the ToInteger, ToBuffer, ToHexString, and
8106 operators where the input operand could be inadvertently deleted if no
8107 conversion was necessary (e.g., if the input to ToInteger was an Integer
8110 Fixed a problem with the ToDecimalString and ToHexString where an
8112 exception code was returned if the resulting string would be > 200 chars.
8113 AE_STRING_LIMIT is now returned.
8115 Fixed a problem with the Concatenate operator where AE_OK was always
8116 returned, even if the operation failed.
8118 Fixed a problem in oswinxf (used by AcpiExec and iASL) to allow > 128
8119 semaphores to be allocated.
8121 Code and Data Size: Current and previous core subsystem library sizes are
8122 shown below. These are the code and data sizes for the acpica.lib produced
8123 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8124 any ACPI driver or OSPM code. The debug version of the code includes the
8125 debug output trace mechanism and has a much larger code and data size.
8127 that these values will vary depending on the efficiency of the compiler
8129 the compiler options used during generation.
8132 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
8133 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
8135 Non-Debug Version: 78.3K Code, 11.5K Data, 89.8K Total
8136 Debug Version: 164.7K Code, 68.5K Data, 233.2K Total
8139 2) iASL Compiler/Disassembler:
8141 Fixed typechecking for the ObjectType and SizeOf operators. Problem was
8142 recently introduced in 20041119.
8144 Fixed a problem with the ToUUID macro where the upper nybble of each
8146 byte was inadvertently set to zero.
8148 ----------------------------------------
8149 19 November 2004. Summary of changes for version 20041119:
8151 1) ACPI CA Core Subsystem:
8153 Fixed a problem in the internal ConvertToInteger routine where new
8155 were not truncated to 32 bits for 32-bit ACPI tables. This routine
8157 buffers and strings to integers.
8159 Implemented support to store a value to an Index() on a String object.
8161 is an ACPI 2.0 feature that had not yet been implemented.
8163 Implemented new behavior for storing objects to individual package
8165 (via the Index() operator). The previous behavior was to invoke the
8167 conversion rules if an object was already present at the index. The new
8168 behavior is to simply delete any existing object and directly store the
8170 object. Although the ACPI specification seems unclear on this subject,
8172 ACPI implementations behave in this manner. (This is the root of the
8173 AE_BAD_HEX_CONSTANT issue.)
8175 Modified the RSDP memory scan mechanism to support the extended checksum
8177 ACPI 2.0 (and above) RSDPs. Note that the search continues until a valid
8178 RSDP signature is found with a valid checksum.
8180 Code and Data Size: Current and previous core subsystem library sizes are
8181 shown below. These are the code and data sizes for the acpica.lib produced
8182 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8183 any ACPI driver or OSPM code. The debug version of the code includes the
8184 debug output trace mechanism and has a much larger code and data size.
8186 that these values will vary depending on the efficiency of the compiler
8188 the compiler options used during generation.
8191 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
8192 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
8194 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
8195 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
8198 2) iASL Compiler/Disassembler:
8200 Fixed a missing semicolon in the aslcompiler.y file.
8202 ----------------------------------------
8203 05 November 2004. Summary of changes for version 20041105:
8205 1) ACPI CA Core Subsystem:
8207 Implemented support for FADT revision 2. This was an interim table
8209 ACPI 1.0 and ACPI 2.0) that adds support for the FADT reset register.
8211 Implemented optional support to allow uninitialized LocalX and ArgX
8212 variables in a control method. The variables are initialized to an
8214 object with a value of zero. This support is enabled by setting the
8215 AcpiGbl_EnableInterpreterSlack flag to TRUE.
8217 Implemented support for Integer objects for the SizeOf operator. Either 4
8218 or 8 is returned, depending on the current integer size (32-bit or 64-bit,
8219 depending on the parent table revision).
8221 Fixed a problem in the implementation of the SizeOf and ObjectType
8223 where the operand was resolved to a value too early, causing incorrect
8224 return values for some objects.
8226 Fixed some possible memory leaks during exceptional conditions.
8228 Code and Data Size: Current and previous core subsystem library sizes are
8229 shown below. These are the code and data sizes for the acpica.lib produced
8230 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8231 any ACPI driver or OSPM code. The debug version of the code includes the
8232 debug output trace mechanism and has a much larger code and data size.
8234 that these values will vary depending on the efficiency of the compiler
8236 the compiler options used during generation.
8239 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
8240 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
8242 Non-Debug Version: 78.5K Code, 11.5K Data, 90.0K Total
8243 Debug Version: 165.2K Code, 68.6K Data, 233.8K Total
8246 2) iASL Compiler/Disassembler:
8248 Implemented support for all ACPI 3.0 reserved names and methods.
8250 Implemented all ACPI 3.0 grammar elements in the front-end, including
8251 support for semicolons.
8253 Implemented the ACPI 3.0 Function() and ToUUID() macros
8255 Fixed a problem in the disassembler where a Scope() operator would not be
8256 emitted properly if the target of the scope was in another table.
8258 ----------------------------------------
8259 15 October 2004. Summary of changes for version 20041015:
8261 Note: ACPI CA is currently undergoing an in-depth and complete formal
8262 evaluation to test/verify the following areas. Other suggestions are
8263 welcome. This will result in an increase in the frequency of releases and
8264 the number of bug fixes in the next few months.
8265 - Functional tests for all ASL/AML operators
8266 - All implicit/explicit type conversions
8267 - Bit fields and operation regions
8268 - 64-bit math support and 32-bit-only "truncated" math support
8269 - Exceptional conditions, both compiler and interpreter
8270 - Dynamic object deletion and memory leaks
8271 - ACPI 3.0 support when implemented
8272 - External interfaces to the ACPI subsystem
8275 1) ACPI CA Core Subsystem:
8277 Fixed two alignment issues on 64-bit platforms - within debug statements
8279 AcpiEvGpeDetect and AcpiEvCreateGpeBlock. Removed references to the
8281 field within the non-aligned ACPI generic address structure.
8283 Fixed a problem in the Increment and Decrement operators where incorrect
8284 operand resolution could result in the inadvertent modification of the
8285 original integer when the integer is passed into another method as an
8286 argument and the arg is then incremented/decremented.
8288 Fixed a problem in the FromBCD operator where the upper 32-bits of a 64-
8290 BCD number were truncated during conversion.
8292 Fixed a problem in the ToDecimal operator where the length of the
8294 string could be set incorrectly too long if the input operand was a Buffer
8297 Fixed a problem in the Logical operators (LLess, etc.) where a NULL byte
8299 within a buffer would prematurely terminate a compare between buffer
8302 Added a check for string overflow (>200 characters as per the ACPI
8303 specification) during the Concatenate operator with two string operands.
8305 Code and Data Size: Current and previous core subsystem library sizes are
8306 shown below. These are the code and data sizes for the acpica.lib produced
8307 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8308 any ACPI driver or OSPM code. The debug version of the code includes the
8309 debug output trace mechanism and has a much larger code and data size.
8311 that these values will vary depending on the efficiency of the compiler
8313 the compiler options used during generation.
8316 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
8317 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
8319 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
8320 Debug Version: 164.8K Code, 68.6K Data, 233.4K Total
8324 2) iASL Compiler/Disassembler:
8326 Allow the use of the ObjectType operator on uninitialized Locals and Args
8327 (returns 0 as per the ACPI specification).
8329 Fixed a problem where the compiler would fault if there was a syntax error
8330 in the FieldName of all of the various CreateXXXField operators.
8332 Disallow the use of lower case letters within the EISAID macro, as per the
8333 ACPI specification. All EISAID strings must be of the form "UUUNNNN"
8335 U is an uppercase letter and N is a hex digit.
8338 ----------------------------------------
8339 06 October 2004. Summary of changes for version 20041006:
8341 1) ACPI CA Core Subsystem:
8343 Implemented support for the ACPI 3.0 Timer operator. This ASL function
8344 implements a 64-bit timer with 100 nanosecond granularity.
8346 Defined a new OSL interface, AcpiOsGetTimer. This interface is used to
8347 implement the ACPI 3.0 Timer operator. This allows the host OS to
8349 the timer with the best clock available. Also, it keeps the core subsystem
8350 out of the clock handling business, since the host OS (usually) performs
8353 Fixed an alignment issue on 64-bit platforms. The HwLowLevelRead(Write)
8354 functions use a 64-bit address which is part of the packed ACPI Generic
8355 Address Structure. Since the structure is non-aligned, the alignment
8357 are now used to extract the address to a local variable before use.
8359 Fixed a problem where the ToInteger operator assumed all input strings
8361 hexadecimal. The operator now handles both decimal strings and hex strings
8362 (prefixed with "0x").
8364 Fixed a problem where the string length in the string object created as a
8365 result of the internal ConvertToString procedure could be incorrect. This
8366 potentially affected all implicit conversions and also the ToDecimalString
8367 and ToHexString operators.
8369 Fixed two problems in the ToString operator. If the length parameter was
8370 zero, an incorrect string object was created and the value of the input
8371 length parameter was inadvertently changed from zero to Ones.
8373 Fixed a problem where the optional ResourceSource string in the
8375 resource macro was ignored.
8377 Simplified the interfaces to the internal division functions, reducing
8379 size and complexity.
8381 Code and Data Size: Current and previous core subsystem library sizes are
8382 shown below. These are the code and data sizes for the acpica.lib produced
8383 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8384 any ACPI driver or OSPM code. The debug version of the code includes the
8385 debug output trace mechanism and has a much larger code and data size.
8387 that these values will vary depending on the efficiency of the compiler
8389 the compiler options used during generation.
8392 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
8393 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
8395 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
8396 Debug Version: 164.6K Code, 68.5K Data, 233.1K Total
8399 2) iASL Compiler/Disassembler:
8401 Implemented support for the ACPI 3.0 Timer operator.
8403 Fixed a problem where the Default() operator was inadvertently ignored in
8405 Switch/Case block. This was a problem in the translation of the Switch
8406 statement to If...Else pairs.
8408 Added support to allow a standalone Return operator, with no parentheses
8412 Fixed a problem with code generation for the ElseIf operator where the
8413 translated Else...If parse tree was improperly constructed leading to the
8416 ----------------------------------------
8417 22 September 2004. Summary of changes for version 20040922:
8419 1) ACPI CA Core Subsystem:
8421 Fixed a problem with the implementation of the LNot() operator where
8423 was not returned for the TRUE case. Changed the code to return Ones
8425 of (!Arg) which was usually 1. This change affects iASL constant folding
8429 Fixed a problem in AcpiUtInitializeBuffer where an existing buffer was not
8430 initialized properly -- Now zero the entire buffer in this case where the
8431 buffer already exists.
8433 Changed the interface to AcpiOsSleep from (UINT32 Seconds, UINT32
8434 Milliseconds) to simply (ACPI_INTEGER Milliseconds). This simplifies all
8435 related code considerably. This will require changes/updates to all OS
8436 interface layers (OSLs.)
8438 Implemented a new external interface, AcpiInstallExceptionHandler, to
8440 a system exception handler to be installed. This handler is invoked upon
8442 run-time exception that occurs during control method execution.
8444 Added support for the DSDT in AcpiTbFindTable. This allows the
8445 DataTableRegion() operator to access the local copy of the DSDT.
8447 Code and Data Size: Current and previous core subsystem library sizes are
8448 shown below. These are the code and data sizes for the acpica.lib produced
8449 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8450 any ACPI driver or OSPM code. The debug version of the code includes the
8451 debug output trace mechanism and has a much larger code and data size.
8453 that these values will vary depending on the efficiency of the compiler
8455 the compiler options used during generation.
8458 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
8459 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
8461 Non-Debug Version: 77.9K Code, 11.4K Data, 89.3K Total
8462 Debug Version: 164.5K Code, 68.3K Data, 232.8K Total
8465 2) iASL Compiler/Disassembler:
8467 Fixed a problem with constant folding and the LNot operator. LNot was
8468 returning 1 in the TRUE case, not Ones as per the ACPI specification. This
8469 could result in the generation of an incorrect folded/reduced constant.
8471 End-Of-File is now allowed within a "//"-style comment. A parse error no
8472 longer occurs if such a comment is at the very end of the input ASL source
8475 Implemented the "-r" option to override the Revision in the table header.
8476 The initial use of this option will be to simplify the evaluation of the
8478 interpreter by allowing a single ASL source module to be compiled for
8480 32-bit or 64-bit integers.
8483 ----------------------------------------
8484 27 August 2004. Summary of changes for version 20040827:
8486 1) ACPI CA Core Subsystem:
8488 - Implemented support for implicit object conversion in the non-numeric
8489 logical operators (LEqual, LGreater, LGreaterEqual, LLess, LLessEqual, and
8490 LNotEqual.) Any combination of Integers/Strings/Buffers may now be used;
8491 the second operand is implicitly converted on the fly to match the type of
8492 the first operand. For example:
8494 LEqual (Source1, Source2)
8496 Source1 and Source2 must each evaluate to an integer, a string, or a
8498 The data type of Source1 dictates the required type of Source2. Source2 is
8499 implicitly converted if necessary to match the type of Source1.
8501 - Updated and corrected the behavior of the string conversion support.
8503 rules concerning conversion of buffers to strings (according to the ACPI
8504 specification) are as follows:
8506 ToDecimalString - explicit byte-wise conversion of buffer to string of
8507 decimal values (0-255) separated by commas. ToHexString - explicit byte-
8509 conversion of buffer to string of hex values (0-FF) separated by commas.
8510 ToString - explicit byte-wise conversion of buffer to string. Byte-by-
8512 copy with no transform except NULL terminated. Any other implicit buffer-
8514 string conversion - byte-wise conversion of buffer to string of hex values
8515 (0-FF) separated by spaces.
8517 - Fixed typo in definition of AcpiGbl_EnableInterpreterSlack.
8519 - Fixed a problem in AcpiNsGetPathnameLength where the returned length was
8520 one byte too short in the case of a node in the root scope. This could
8521 cause a fault during debug output.
8523 - Code and Data Size: Current and previous core subsystem library sizes
8525 shown below. These are the code and data sizes for the acpica.lib
8527 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8528 any ACPI driver or OSPM code. The debug version of the code includes the
8529 debug output trace mechanism and has a much larger code and data size.
8531 that these values will vary depending on the efficiency of the compiler
8533 the compiler options used during generation.
8536 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
8537 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
8539 Non-Debug Version: 77.8K Code, 11.4K Data, 89.2K Total
8540 Debug Version: 164.2K Code, 68.2K Data, 232.4K Total
8543 2) iASL Compiler/Disassembler:
8545 - Fixed a Linux generation error.
8548 ----------------------------------------
8549 16 August 2004. Summary of changes for version 20040816:
8551 1) ACPI CA Core Subsystem:
8553 Designed and implemented support within the AML interpreter for the so-
8554 called "implicit return". This support returns the result of the last ASL
8555 operation within a control method, in the absence of an explicit Return()
8556 operator. A few machines depend on this behavior, even though it is not
8557 explicitly supported by the ASL language. It is optional support that can
8558 be enabled at runtime via the AcpiGbl_EnableInterpreterSlack flag.
8560 Removed support for the PCI_Config address space from the internal low
8562 hardware interfaces (AcpiHwLowLevelRead and AcpiHwLowLevelWrite). This
8563 support was not used internally, and would not work correctly anyway
8565 the PCI bus number and segment number were not supported. There are
8566 separate interfaces for PCI configuration space access because of the
8570 Code and Data Size: Current and previous core subsystem library sizes are
8571 shown below. These are the code and data sizes for the acpica.lib
8573 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8574 any ACPI driver or OSPM code. The debug version of the code includes the
8575 debug output trace mechanism and has a much larger code and data size.
8577 that these values will vary depending on the efficiency of the compiler
8579 the compiler options used during generation.
8582 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
8583 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
8585 Non-Debug Version: 77.9K Code, 11.5K Data, 89.4K Total
8586 Debug Version: 164.1K Code, 68.3K Data, 232.4K Total
8589 2) iASL Compiler/Disassembler:
8591 Fixed a problem where constants in ASL expressions at the root level (not
8592 within a control method) could be inadvertently truncated during code
8593 generation. This problem was introduced in the 20040715 release.
8596 ----------------------------------------
8597 15 July 2004. Summary of changes for version 20040715:
8599 1) ACPI CA Core Subsystem:
8601 Restructured the internal HW GPE interfaces to pass/track the current
8603 of interrupts (enabled/disabled) in order to avoid possible deadlock and
8604 increase flexibility of the interfaces.
8606 Implemented a "lexicographical compare" for String and Buffer objects
8608 the logical operators -- LGreater, LLess, LGreaterEqual, and LLessEqual --
8609 as per further clarification to the ACPI specification. Behavior is
8611 to C library "strcmp".
8613 Completed a major reduction in CPU stack use for the AcpiGetFirmwareTable
8614 external function. In the 32-bit non-debug case, the stack use has been
8615 reduced from 168 bytes to 32 bytes.
8617 Deployed a new run-time configuration flag,
8618 AcpiGbl_EnableInterpreterSlack,
8619 whose purpose is to allow the AML interpreter to forgive certain bad AML
8620 constructs. Default setting is FALSE.
8622 Implemented the first use of AcpiGbl_EnableInterpreterSlack in the Field
8624 support code. If enabled, it allows field access to go beyond the end of
8626 region definition if the field is within the region length rounded up to
8628 next access width boundary (a common coding error.)
8630 Renamed OSD_HANDLER to ACPI_OSD_HANDLER, and OSD_EXECUTION_CALLBACK to
8631 ACPI_OSD_EXEC_CALLBACK for consistency with other ACPI symbols. Also,
8633 symbols are lowercased by the latest version of the AcpiSrc tool.
8635 The prototypes for the PCI interfaces in acpiosxf.h have been updated to
8636 rename "Register" to simply "Reg" to prevent certain compilers from
8639 Code and Data Size: Current and previous core subsystem library sizes are
8640 shown below. These are the code and data sizes for the acpica.lib
8642 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8643 any ACPI driver or OSPM code. The debug version of the code includes the
8644 debug output trace mechanism and has a much larger code and data size.
8646 that these values will vary depending on the efficiency of the compiler
8648 the compiler options used during generation.
8651 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
8652 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
8654 Non-Debug Version: 78.0K Code, 11.5K Data, 89.5K Total
8655 Debug Version: 164.1K Code, 68.2K Data, 232.3K Total
8658 2) iASL Compiler/Disassembler:
8660 Implemented full support for Package objects within the Case() operator.
8661 Note: The Break() operator is currently not supported within Case blocks
8662 (TermLists) as there is some question about backward compatibility with
8667 Fixed a problem where complex terms were not supported properly within the
8670 Eliminated extraneous warning for compiler-emitted reserved names of the
8671 form "_T_x". (Used in Switch/Case operators.)
8673 Eliminated optimization messages for "_T_x" objects and small constants
8674 within the DefinitionBlock operator.
8677 ----------------------------------------
8678 15 June 2004. Summary of changes for version 20040615:
8680 1) ACPI CA Core Subsystem:
8682 Implemented support for Buffer and String objects (as per ACPI 2.0) for
8684 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
8687 All directory names in the entire source package are lower case, as they
8688 were in earlier releases.
8690 Implemented "Disassemble" command in the AML debugger that will
8692 a single control method.
8694 Code and Data Size: Current and previous core subsystem library sizes are
8695 shown below. These are the code and data sizes for the acpica.lib
8697 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8698 any ACPI driver or OSPM code. The debug version of the code includes the
8699 debug output trace mechanism and has a much larger code and data size.
8701 that these values will vary depending on the efficiency of the compiler
8703 the compiler options used during generation.
8706 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
8707 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
8710 Non-Debug Version: 77.8K Code, 11.5K Data, 89.3K Total
8711 Debug Version: 163.8K Code, 68.2K Data, 232.0K Total
8714 2) iASL Compiler/Disassembler:
8716 Implemented support for Buffer and String objects (as per ACPI 2.0) for
8718 following ASL operators: LEqual, LGreater, LLess, LGreaterEqual, and
8721 All directory names in the entire source package are lower case, as they
8722 were in earlier releases.
8724 Fixed a fault when using the -g or -d<nofilename> options if the FADT was
8727 Fixed an issue with the Windows version of the compiler where later
8729 of Windows place the FADT in the registry under the name "FADT" and not
8730 "FACP" as earlier versions did. This applies when using the -g or -
8731 d<nofilename> options. The compiler now looks for both strings as
8734 Fixed a problem with compiler namepath optimization where a namepath
8736 the Scope() operator could not be optimized if the namepath was a subpath
8738 the current scope path.
8740 ----------------------------------------
8741 27 May 2004. Summary of changes for version 20040527:
8743 1) ACPI CA Core Subsystem:
8745 Completed a new design and implementation for EBDA (Extended BIOS Data
8747 support in the RSDP scan code. The original code improperly scanned for
8749 EBDA by simply scanning from memory location 0 to 0x400. The correct
8751 is to first obtain the EBDA pointer from within the BIOS data area, then
8752 scan 1K of memory starting at the EBDA pointer. There appear to be few if
8753 any machines that place the RSDP in the EBDA, however.
8755 Integrated a fix for a possible fault during evaluation of BufferField
8756 arguments. Obsolete code that was causing the problem was removed.
8758 Found and fixed a problem in the Field Support Code where data could be
8759 corrupted on a bit field read that starts on an aligned boundary but does
8760 not end on an aligned boundary. Merged the read/write "datum length"
8761 calculation code into a common procedure.
8763 Rolled in a couple of changes to the FreeBSD-specific header.
8766 Code and Data Size: Current and previous core subsystem library sizes are
8767 shown below. These are the code and data sizes for the acpica.lib
8769 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8770 any ACPI driver or OSPM code. The debug version of the code includes the
8771 debug output trace mechanism and has a much larger code and data size.
8773 that these values will vary depending on the efficiency of the compiler
8775 the compiler options used during generation.
8778 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
8779 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
8781 Non-Debug Version: 77.7K Code, 11.5K Data, 89.2K Total
8782 Debug Version: 163.3K Code, 67.2K Data, 230.5K Total
8785 2) iASL Compiler/Disassembler:
8787 Fixed a generation warning produced by some overly-verbose compilers for a
8790 ----------------------------------------
8791 14 May 2004. Summary of changes for version 20040514:
8793 1) ACPI CA Core Subsystem:
8795 Fixed a problem where hardware GPE enable bits sometimes not set properly
8796 during and after GPE method execution. Result of 04/27 changes.
8798 Removed extra "clear all GPEs" when sleeping/waking.
8800 Removed AcpiHwEnableGpe and AcpiHwDisableGpe, replaced by the single
8801 AcpiHwWriteGpeEnableReg. Changed a couple of calls to the functions above
8803 the new AcpiEv* calls as appropriate.
8805 ACPI_OS_NAME was removed from the OS-specific headers. The default name
8807 now "Microsoft Windows NT" for maximum compatibility. However this can be
8808 changed by modifying the acconfig.h file.
8810 Allow a single invocation of AcpiInstallNotifyHandler for a handler that
8811 traps both types of notifies (System, Device). Use ACPI_ALL_NOTIFY flag.
8813 Run _INI methods on ThermalZone objects. This is against the ACPI
8814 specification, but there is apparently ASL code in the field that has
8816 _INI methods, and apparently "other" AML interpreters execute them.
8818 Performed a full 16/32/64 bit lint that resulted in some small changes.
8820 Added a sleep simulation command to the AML debugger to test sleep code.
8822 Code and Data Size: Current and previous core subsystem library sizes are
8823 shown below. These are the code and data sizes for the acpica.lib
8825 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8826 any ACPI driver or OSPM code. The debug version of the code includes the
8827 debug output trace mechanism and has a much larger code and data size.
8829 that these values will vary depending on the efficiency of the compiler
8831 the compiler options used during generation.
8834 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
8835 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
8837 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
8838 Debug Version: 163.2K Code, 67.2K Data, 230.4K Total
8840 ----------------------------------------
8841 27 April 2004. Summary of changes for version 20040427:
8843 1) ACPI CA Core Subsystem:
8845 Completed a major overhaul of the GPE handling within ACPI CA. There are
8846 now three types of GPEs: wake-only, runtime-only, and combination
8848 The only GPEs allowed to be combination wake/run are for button-style
8849 devices such as a control-method power button, control-method sleep
8851 or a notebook lid switch. GPEs that have an _Lxx or _Exx method and are
8853 referenced by any _PRW methods are marked for "runtime" and hardware
8854 enabled. Any GPE that is referenced by a _PRW method is marked for "wake"
8855 (and disabled at runtime). However, at sleep time, only those GPEs that
8856 have been specifically enabled for wake via the AcpiEnableGpe interface
8858 actually be hardware enabled.
8860 A new external interface has been added, AcpiSetGpeType(), that is meant
8862 be used by device drivers to force a GPE to a particular type. It will be
8863 especially useful for the drivers for the button devices mentioned above.
8865 Completed restructuring of the ACPI CA initialization sequence so that
8866 default operation region handlers are installed before GPEs are
8868 and the _PRW methods are executed. This will prevent errors when the _PRW
8869 methods attempt to access system memory or I/O space.
8871 GPE enable/disable no longer reads the GPE enable register. We now keep
8873 enable info for runtime and wake separate and in the GPE_EVENT_INFO. We
8874 thus no longer depend on the hardware to maintain these bits.
8876 Always clear the wake status and fixed/GPE status bits before sleep, even
8879 Improved the AML debugger output for displaying the GPE blocks and their
8882 Added new strings for the _OSI method, of the form "Windows 2001 SPx"
8886 Fixed a problem where the physical address was incorrectly calculated when
8887 the Load() operator was used to directly load from an Operation Region
8889 loading from a Field object.) Also added check for minimum table length
8893 Fix for multiple mutex acquisition. Restore original thread SyncLevel on
8896 Added ACPI_VALID_SXDS flag to the AcpiGetObjectInfo interface for
8897 consistency with the other fields returned.
8899 Shrunk the ACPI_GPE_EVENT_INFO structure by 40%. There is one such
8900 structure for each GPE in the system, so the size of this structure is
8903 CPU stack requirement reduction: Cleaned up the method execution and
8905 evaluation paths so that now a parameter structure is passed, instead of
8906 copying the various method parameters over and over again.
8908 In evregion.c: Correctly exit and reenter the interpreter region if and
8909 only if dispatching an operation region request to a user-installed
8911 Do not exit/reenter when dispatching to a default handler (e.g., default
8912 system memory or I/O handlers)
8915 Notes for updating drivers for the new GPE support. The following changes
8916 must be made to ACPI-related device drivers that are attached to one or
8918 GPEs: (This information will be added to the ACPI CA Programmer
8921 1) AcpiInstallGpeHandler no longer automatically enables the GPE, you must
8922 explicitly call AcpiEnableGpe.
8923 2) There is a new interface called AcpiSetGpeType. This should be called
8924 before enabling the GPE. Also, this interface will automatically disable
8925 the GPE if it is currently enabled.
8926 3) AcpiEnableGpe no longer supports a GPE type flag.
8928 Specific drivers that must be changed:
8930 AcpiInstallGpeHandler (NULL, GpeNum, ACPI_GPE_EDGE_TRIGGERED,
8931 AeGpeHandler, NULL);
8932 AcpiSetGpeType (NULL, GpeNum, ACPI_GPE_TYPE_RUNTIME);
8933 AcpiEnableGpe (NULL, GpeNum, ACPI_NOT_ISR);
8935 2) Button Drivers (Power, Lid, Sleep):
8936 Run _PRW method under parent device
8937 If _PRW exists: /* This is a control-method button */
8938 Extract GPE number and possibly GpeDevice
8939 AcpiSetGpeType (GpeDevice, GpeNum, ACPI_GPE_TYPE_WAKE_RUN);
8940 AcpiEnableGpe (GpeDevice, GpeNum, ACPI_NOT_ISR);
8942 For all other devices that have _PRWs, we automatically set the GPE type
8944 ACPI_GPE_TYPE_WAKE, but the GPE is NOT automatically (wake) enabled. This
8945 must be done on a selective basis, usually requiring some kind of user app
8946 to allow the user to pick the wake devices.
8949 Code and Data Size: Current and previous core subsystem library sizes are
8950 shown below. These are the code and data sizes for the acpica.lib
8952 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8953 any ACPI driver or OSPM code. The debug version of the code includes the
8954 debug output trace mechanism and has a much larger code and data size.
8956 that these values will vary depending on the efficiency of the compiler
8958 the compiler options used during generation.
8961 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
8962 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
8965 Non-Debug Version: 77.6K Code, 11.5K Data, 89.1K Total
8966 Debug Version: 162.9K Code, 67.0K Data, 229.9K Total
8970 ----------------------------------------
8971 02 April 2004. Summary of changes for version 20040402:
8973 1) ACPI CA Core Subsystem:
8975 Fixed an interpreter problem where an indirect store through an ArgX
8976 parameter was incorrectly applying the "implicit conversion rules" during
8977 the store. From the ACPI specification: "If the target is a method local
8979 argument (LocalX or ArgX), no conversion is performed and the result is
8980 stored directly to the target". The new behavior is to disable implicit
8981 conversion during ALL stores to an ArgX.
8983 Changed the behavior of the _PRW method scan to ignore any and all errors
8984 returned by a given _PRW. This prevents the scan from aborting from the
8985 failure of any single _PRW.
8987 Moved the runtime configuration parameters from the global init procedure
8989 static variables in acglobal.h. This will allow the host to override the
8990 default values easily.
8992 Code and Data Size: Current and previous core subsystem library sizes are
8993 shown below. These are the code and data sizes for the acpica.lib
8995 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
8996 any ACPI driver or OSPM code. The debug version of the code includes the
8997 debug output trace mechanism and has a much larger code and data size.
8999 that these values will vary depending on the efficiency of the compiler
9001 the compiler options used during generation.
9004 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
9005 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
9007 Non-Debug Version: 77.0K Code, 11.4K Data, 88.4K Total
9008 Debug Version: 161.0K Code, 66.3K Data, 227.3K Total
9011 2) iASL Compiler/Disassembler:
9013 iASL now fully disassembles SSDTs. However, External() statements are not
9014 generated automatically for unresolved symbols at this time. This is a
9015 planned feature for future implementation.
9017 Fixed a scoping problem in the disassembler that occurs when the type of
9019 target of a Scope() operator is overridden. This problem caused an
9020 incorrectly nested internal namespace to be constructed.
9022 Any warnings or errors that are emitted during disassembly are now
9024 out automatically so that the resulting file can be recompiled without any
9027 ----------------------------------------
9028 26 March 2004. Summary of changes for version 20040326:
9030 1) ACPI CA Core Subsystem:
9032 Implemented support for "wake" GPEs via interaction between GPEs and the
9033 _PRW methods. Every GPE that is pointed to by one or more _PRWs is
9034 identified as a WAKE GPE and by default will no longer be enabled at
9035 runtime. Previously, we were blindly enabling all GPEs with a
9037 _Lxx or _Exx method - but most of these turn out to be WAKE GPEs anyway.
9039 believe this has been the cause of thousands of "spurious" GPEs on some
9042 This new GPE behavior is can be reverted to the original behavior (enable
9043 ALL GPEs at runtime) via a runtime flag.
9045 Fixed a problem where aliased control methods could not access objects
9046 properly. The proper scope within the namespace was not initialized
9047 (transferred to the target of the aliased method) before executing the
9050 Fixed a potential race condition on internal object deletion on the return
9051 object in AcpiEvaluateObject.
9053 Integrated a fix for resource descriptors where both _MEM and _MTP were
9054 being extracted instead of just _MEM. (i.e. bitmask was incorrectly too
9055 wide, 0x0F instead of 0x03.)
9057 Added a special case for ACPI_ROOT_OBJECT in AcpiUtGetNodeName, preventing
9059 fault in some cases.
9061 Updated Notify() values for debug statements in evmisc.c
9063 Return proper status from AcpiUtMutexInitialize, not just simply AE_OK.
9065 Code and Data Size: Current and previous core subsystem library sizes are
9066 shown below. These are the code and data sizes for the acpica.lib
9068 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9069 any ACPI driver or OSPM code. The debug version of the code includes the
9070 debug output trace mechanism and has a much larger code and data size.
9072 that these values will vary depending on the efficiency of the compiler
9074 the compiler options used during generation.
9078 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
9079 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
9081 Non-Debug Version: 76.9K Code, 11.4K Data, 88.3K Total
9082 Debug Version: 160.8K Code, 66.1K Data, 226.9K Total
9084 ----------------------------------------
9085 11 March 2004. Summary of changes for version 20040311:
9087 1) ACPI CA Core Subsystem:
9089 Fixed a problem where errors occurring during the parse phase of control
9090 method execution did not abort cleanly. For example, objects created and
9091 installed in the namespace were not deleted. This caused all subsequent
9092 invocations of the method to return the AE_ALREADY_EXISTS exception.
9094 Implemented a mechanism to force a control method to "Serialized"
9096 if the method attempts to create namespace objects. (The root of the
9097 AE_ALREADY_EXISTS problem.)
9099 Implemented support for the predefined _OSI "internal" control method.
9100 Initial supported strings are "Linux", "Windows 2000", "Windows 2001", and
9101 "Windows 2001.1", and can be easily upgraded for new strings as necessary.
9102 This feature will allow "other" operating systems to execute the fully
9103 tested, "Windows" code path through the ASL code
9105 Global Lock Support: Now allows multiple acquires and releases with any
9106 internal thread. Removed concept of "owning thread" for this special
9109 Fixed two functions that were inappropriately declaring large objects on
9111 CPU stack: PsParseLoop, NsEvaluateRelative. Reduces the stack usage
9113 method execution considerably.
9115 Fixed a problem in the ACPI 2.0 FACS descriptor (actbl2.h) where the
9116 S4Bios_f field was incorrectly defined as UINT32 instead of UINT32_BIT.
9118 Fixed a problem where AcpiEvGpeDetect would fault if there were no GPEs
9119 defined on the machine.
9121 Implemented two runtime options: One to force all control method
9123 to "Serialized" to mimic Windows behavior, another to disable _OSI support
9124 if it causes problems on a given machine.
9126 Code and Data Size: Current and previous core subsystem library sizes are
9127 shown below. These are the code and data sizes for the acpica.lib
9129 by the Microsoft Visual C++ 6.0 compiler, and these values do not include
9130 any ACPI driver or OSPM code. The debug version of the code includes the
9131 debug output trace mechanism and has a much larger code and data size.
9133 that these values will vary depending on the efficiency of the compiler
9135 the compiler options used during generation.
9138 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
9139 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
9141 Non-Debug Version: 76.5K Code, 11.3K Data, 87.8K Total
9142 Debug Version: 160.3K Code, 66.0K Data, 226.3K Total
9144 2) iASL Compiler/Disassembler:
9146 Fixed an array size problem for FreeBSD that would cause the compiler to
9149 ----------------------------------------
9150 20 February 2004. Summary of changes for version 20040220:
9153 1) ACPI CA Core Subsystem:
9155 Implemented execution of _SxD methods for Device objects in the
9156 GetObjectInfo interface.
9158 Fixed calls to _SST method to pass the correct arguments.
9160 Added a call to _SST on wake to restore to "working" state.
9162 Check for End-Of-Buffer failure case in the WalkResources interface.
9164 Integrated fix for 64-bit alignment issue in acglobal.h by moving two
9165 structures to the beginning of the file.
9167 After wake, clear GPE status register(s) before enabling GPEs.
9169 After wake, clear/enable power button. (Perhaps we should clear/enable
9171 fixed events upon wake.)
9173 Fixed a couple of possible memory leaks in the Namespace manager.
9175 Integrated latest acnetbsd.h file.
9177 ----------------------------------------
9178 11 February 2004. Summary of changes for version 20040211:
9181 1) ACPI CA Core Subsystem:
9183 Completed investigation and implementation of the call-by-reference
9184 mechanism for control method arguments.
9186 Fixed a problem where a store of an object into an indexed package could
9187 fail if the store occurs within a different method than the method that
9188 created the package.
9190 Fixed a problem where the ToDecimal operator could return incorrect
9193 Fixed a problem where the CopyObject operator could fail on some of the
9195 obscure objects (e.g., Reference objects.)
9197 Improved the output of the Debug object to display buffer, package, and
9200 Fixed a problem where constructs of the form "RefOf (ArgX)" did not return
9201 the expected result.
9203 Added permanent ACPI_REPORT_ERROR macros for all instances of the
9204 ACPI_AML_INTERNAL exception.
9206 Integrated latest version of acfreebsd.h
9208 ----------------------------------------
9209 16 January 2004. Summary of changes for version 20040116:
9211 The purpose of this release is primarily to update the copyright years in
9212 each module, thus causing a huge number of diffs. There are a few small
9213 functional changes, however.
9215 1) ACPI CA Core Subsystem:
9217 Improved error messages when there is a problem finding one or more of the
9218 required base ACPI tables
9220 Reintroduced the definition of APIC_HEADER in actbl.h
9222 Changed definition of MADT_ADDRESS_OVERRIDE to 64 bits (actbl.h)
9224 Removed extraneous reference to NewObj in dsmthdat.c
9228 Fixed a problem introduced in December that disabled the correct
9230 of Resource Templates
9233 ----------------------------------------
9234 03 December 2003. Summary of changes for version 20031203:
9236 1) ACPI CA Core Subsystem:
9238 Changed the initialization of Operation Regions during subsystem
9239 init to perform two entire walks of the ACPI namespace; The first
9240 to initialize the regions themselves, the second to execute the
9241 _REG methods. This fixed some interdependencies across _REG
9242 methods found on some machines.
9244 Fixed a problem where a Store(Local0, Local1) could simply update
9245 the object reference count, and not create a new copy of the
9246 object if the Local1 is uninitialized.
9248 Implemented support for the _SST reserved method during sleep
9251 Implemented support to clear the SLP_TYP and SLP_EN bits when
9252 waking up, this is apparently required by some machines.
9254 When sleeping, clear the wake status only if SleepState is not S5.
9256 Fixed a problem in AcpiRsExtendedIrqResource() where an incorrect
9257 pointer arithmetic advanced a string pointer too far.
9259 Fixed a problem in AcpiTbGetTablePtr() where a garbage pointer
9260 could be returned if the requested table has not been loaded.
9262 Within the support for IRQ resources, restructured the handling of
9263 the active and edge/level bits.
9265 Fixed a few problems in AcpiPsxExecute() where memory could be
9266 leaked under certain error conditions.
9268 Improved error messages for the cases where the ACPI mode could
9271 Code and Data Size: Current and previous core subsystem library
9272 sizes are shown below. These are the code and data sizes for the
9273 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9274 these values do not include any ACPI driver or OSPM code. The
9275 debug version of the code includes the debug output trace
9276 mechanism and has a much larger code and data size. Note that
9277 these values will vary depending on the efficiency of the compiler
9278 and the compiler options used during generation.
9280 Previous Release (20031029):
9281 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
9282 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
9284 Non-Debug Version: 74.8K Code, 10.1K Data, 84.9K Total
9285 Debug Version: 158.7K Code, 65.1K Data, 223.8K Total
9287 2) iASL Compiler/Disassembler:
9289 Implemented a fix for the iASL disassembler where a bad index was
9290 generated. This was most noticeable on 64-bit platforms
9293 ----------------------------------------
9294 29 October 2003. Summary of changes for version 20031029:
9296 1) ACPI CA Core Subsystem:
9299 Fixed a problem where a level-triggered GPE with an associated
9300 _Lxx control method was incorrectly cleared twice.
9302 Fixed a problem with the Field support code where an access can
9303 occur beyond the end-of-region if the field is non-aligned but
9304 extends to the very end of the parent region (resulted in an
9305 AE_AML_REGION_LIMIT exception.)
9307 Fixed a problem with ACPI Fixed Events where an RT Clock handler
9308 would not get invoked on an RTC event. The RTC event bitmasks for
9309 the PM1 registers were not being initialized properly.
9311 Implemented support for executing _STA and _INI methods for
9312 Processor objects. Although this is currently not part of the
9313 ACPI specification, there is existing ASL code that depends on the
9314 init-time execution of these methods.
9316 Implemented and deployed a GetDescriptorName function to decode
9317 the various types of internal descriptors. Guards against null
9318 descriptors during debug output also.
9320 Implemented and deployed a GetNodeName function to extract the 4-
9321 character namespace node name. This function simplifies the debug
9322 and error output, as well as guarding against null pointers during
9325 Implemented and deployed the ACPI_FORMAT_UINT64 helper macro to
9326 simplify the debug and error output of 64-bit integers. This
9327 macro replaces the HIDWORD and LODWORD macros for dumping these
9330 Updated the implementation of the Stall() operator to only call
9331 AcpiOsStall(), and also return an error if the operand is larger
9332 than 255. This preserves the required behavior of not
9333 relinquishing the processor, as would happen if AcpiOsSleep() was
9334 called for "long stalls".
9336 Constructs of the form "Store(LocalX,LocalX)" where LocalX is not
9337 initialized are now treated as NOOPs.
9339 Cleaned up a handful of warnings during 64-bit generation.
9341 Fixed a reported error where and incorrect GPE number was passed
9342 to the GPE dispatch handler. This value is only used for error
9343 output, however. Used this opportunity to clean up and streamline
9344 the GPE dispatch code.
9346 Code and Data Size: Current and previous core subsystem library
9347 sizes are shown below. These are the code and data sizes for the
9348 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9349 these values do not include any ACPI driver or OSPM code. The
9351 debug version of the code includes the debug output trace
9352 mechanism and has a much larger code and data size. Note that
9353 these values will vary depending on the efficiency of the compiler
9354 and the compiler options used during generation.
9356 Previous Release (20031002):
9357 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
9358 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
9360 Non-Debug Version: 74.4K Code, 10.1K Data, 84.5K Total
9361 Debug Version: 158.3K Code, 65.0K Data, 223.3K Total
9364 2) iASL Compiler/Disassembler:
9366 Updated the iASL compiler to return an error if the operand to the
9367 Stall() operator is larger than 255.
9370 ----------------------------------------
9371 02 October 2003. Summary of changes for version 20031002:
9374 1) ACPI CA Core Subsystem:
9376 Fixed a problem with Index Fields where the index was not
9377 incremented for fields that require multiple writes to the
9378 index/data registers (Fields that are wider than the data
9381 Fixed a problem with all Field objects where a write could go
9382 beyond the end-of-field if the field was larger than the access
9383 granularity and therefore required multiple writes to complete the
9384 request. An extra write beyond the end of the field could happen
9387 Fixed a problem with Index Fields where a BUFFER_OVERFLOW error
9388 would incorrectly be returned if the width of the Data Register
9389 was larger than the specified field access width.
9391 Completed fixes for LoadTable() and Unload() and verified their
9392 operation. Implemented full support for the "DdbHandle" object
9393 throughout the ACPI CA subsystem.
9395 Implemented full support for the MADT and ECDT tables in the ACPI
9396 CA header files. Even though these tables are not directly
9397 consumed by ACPI CA, the header definitions are useful for ACPI
9400 Integrated resource descriptor fixes posted to the Linux ACPI
9401 list. This included checks for minimum descriptor length, and
9402 support for trailing NULL strings within descriptors that have
9403 optional string elements.
9405 Code and Data Size: Current and previous core subsystem library
9406 sizes are shown below. These are the code and data sizes for the
9407 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9408 these values do not include any ACPI driver or OSPM code. The
9409 debug version of the code includes the debug output trace
9410 mechanism and has a much larger code and data size. Note that
9411 these values will vary depending on the efficiency of the compiler
9412 and the compiler options used during generation.
9414 Previous Release (20030918):
9415 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
9416 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
9418 Non-Debug Version: 74.1K Code, 9.7K Data, 83.8K Total
9419 Debug Version: 157.9K Code, 64.8K Data, 222.7K Total
9424 Implemented detection of non-ASCII characters within the input
9425 source ASL file. This catches attempts to compile binary (AML)
9426 files early in the compile, with an informative error message.
9428 Fixed a problem where the disassembler would fault if the output
9429 filename could not be generated or if the output file could not be
9432 ----------------------------------------
9433 18 September 2003. Summary of changes for version 20030918:
9436 1) ACPI CA Core Subsystem:
9438 Found and fixed a longstanding problem with the late execution of
9439 the various deferred AML opcodes (such as Operation Regions,
9440 Buffer Fields, Buffers, and Packages). If the name string
9441 specified for the name of the new object placed the object in a
9442 scope other than the current scope, the initialization/execution
9443 of the opcode failed. The solution to this problem was to
9444 implement a mechanism where the late execution of such opcodes
9445 does not attempt to lookup/create the name a second time in an
9446 incorrect scope. This fixes the "region size computed
9447 incorrectly" problem.
9449 Fixed a call to AcpiHwRegisterWrite in hwregs.c that was causing a
9450 Global Lock AE_BAD_PARAMETER error.
9452 Fixed several 64-bit issues with prototypes, casting and data
9455 Removed duplicate prototype from acdisasm.h
9457 Fixed an issue involving EC Operation Region Detach (Shaohua Li)
9459 Code and Data Size: Current and previous core subsystem library
9460 sizes are shown below. These are the code and data sizes for the
9461 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9462 these values do not include any ACPI driver or OSPM code. The
9463 debug version of the code includes the debug output trace
9464 mechanism and has a much larger code and data size. Note that
9465 these values will vary depending on the efficiency of the compiler
9466 and the compiler options used during generation.
9470 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
9471 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
9473 Non-Debug Version: 73.9K Code, 9.7K Data, 83.6K Total
9474 Debug Version: 157.3K Code, 64.5K Data, 221.8K Total
9479 Fixed the AcpiOsSleep implementation in osunixxf.c to pass the
9480 correct sleep time in seconds.
9482 ----------------------------------------
9483 14 July 2003. Summary of changes for version 20030619:
9485 1) ACPI CA Core Subsystem:
9487 Parse SSDTs in order discovered, as opposed to reverse order
9490 Fixes from FreeBSD and NetBSD. (Frank van der Linden, Thomas
9497 Dynamically allocate SDT list (suggested by Andi Kleen)
9499 proc function return value cleanups (Andi Kleen)
9501 Correctly handle NMI watchdog during long stalls (Andrew Morton)
9503 Make it so acpismp=force works (reported by Andrew Morton)
9506 ----------------------------------------
9507 19 June 2003. Summary of changes for version 20030619:
9509 1) ACPI CA Core Subsystem:
9511 Fix To/FromBCD, eliminating the need for an arch-specific #define.
9513 Do not acquire a semaphore in the S5 shutdown path.
9515 Fix ex_digits_needed for 0. (Takayoshi Kochi)
9517 Fix sleep/stall code reversal. (Andi Kleen)
9519 Revert a change having to do with control method calling
9524 acpiphp update (Takayoshi Kochi)
9526 Export acpi_disabled for sonypi (Stelian Pop)
9528 Mention acpismp=force in config help
9530 Re-add acpitable.c and acpismp=force. This improves backwards
9532 compatibility and also cleans up the code to a significant degree.
9534 Add ASUS Value-add driver (Karol Kozimor and Julien Lerouge)
9536 ----------------------------------------
9537 22 May 2003. Summary of changes for version 20030522:
9539 1) ACPI CA Core Subsystem:
9541 Found and fixed a reported problem where an AE_NOT_FOUND error
9542 occurred occasionally during _BST evaluation. This turned out to
9543 be an Owner ID allocation issue where a called method did not get
9544 a new ID assigned to it. Eventually, (after 64k calls), the Owner
9545 ID UINT16 would wraparound so that the ID would be the same as the
9546 caller's and the called method would delete the caller's
9549 Implemented extended error reporting for control methods that are
9550 aborted due to a run-time exception. Output includes the exact
9551 AML instruction that caused the method abort, a dump of the method
9552 locals and arguments at the time of the abort, and a trace of all
9553 nested control method calls.
9555 Modified the interpreter to allow the creation of buffers of zero
9556 length from the AML code. Implemented new code to ensure that no
9557 attempt is made to actually allocate a memory buffer (of length
9558 zero) - instead, a simple buffer object with a NULL buffer pointer
9559 and length zero is created. A warning is no longer issued when
9560 the AML attempts to create a zero-length buffer.
9562 Implemented a workaround for the "leading asterisk issue" in
9563 _HIDs, _UIDs, and _CIDs in the AML interpreter. One leading
9564 asterisk is automatically removed if present in any HID, UID, or
9565 CID strings. The iASL compiler will still flag this asterisk as
9568 Implemented full support for _CID methods that return a package of
9569 multiple CIDs (Compatible IDs). The AcpiGetObjectInfo() interface
9570 now additionally returns a device _CID list if present. This
9571 required a change to the external interface in order to pass an
9572 ACPI_BUFFER object as a parameter since the _CID list is of
9575 Fixed a problem with the new AE_SAME_HANDLER exception where
9576 handler initialization code did not know about this exception.
9578 Code and Data Size: Current and previous core subsystem library
9579 sizes are shown below. These are the code and data sizes for the
9580 acpica.lib produced by the Microsoft Visual C++ 6.0 compiler, and
9581 these values do not include any ACPI driver or OSPM code. The
9582 debug version of the code includes the debug output trace
9583 mechanism and has a much larger code and data size. Note that
9584 these values will vary depending on the efficiency of the compiler
9585 and the compiler options used during generation.
9587 Previous Release (20030509):
9588 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
9589 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
9591 Non-Debug Version: 73.7K Code, 9.7K Data, 83.4K Total
9592 Debug Version: 156.9K Code, 64.2K Data, 221.1K Total
9597 Fixed a bug in which we would reinitialize the ACPI interrupt
9598 after it was already working, thus disabling all ACPI and the IRQs
9599 for any other device sharing the interrupt. (Thanks to Stian
9602 Toshiba driver update (John Belmonte)
9604 Return only 0 or 1 for our interrupt handler status (Andrew
9610 Fixed a reported problem where multiple (nested) ElseIf()
9611 statements were not handled correctly by the compiler, resulting
9612 in incorrect warnings and incorrect AML code. This was a problem
9613 in both the ASL parser and the code generator.
9618 Added changes to existing interfaces, new exception codes, and new
9619 text concerning reference count object management versus garbage
9622 ----------------------------------------
9623 09 May 2003. Summary of changes for version 20030509.
9626 1) ACPI CA Core Subsystem:
9628 Changed the subsystem initialization sequence to hold off
9629 installation of address space handlers until the hardware has been
9630 initialized and the system has entered ACPI mode. This is because
9631 the installation of space handlers can cause _REG methods to be
9632 run. Previously, the _REG methods could potentially be run before
9633 ACPI mode was enabled.
9635 Fixed some memory leak issues related to address space handler and
9636 notify handler installation. There were some problems with the
9637 reference count mechanism caused by the fact that the handler
9638 objects are shared across several namespace objects.
9640 Fixed a reported problem where reference counts within the
9641 namespace were not properly updated when named objects created by
9642 method execution were deleted.
9644 Fixed a reported problem where multiple SSDTs caused a deletion
9645 issue during subsystem termination. Restructured the table data
9646 structures to simplify the linked lists and the related code.
9648 Fixed a problem where the table ID associated with secondary
9649 tables (SSDTs) was not being propagated into the namespace objects
9650 created by those tables. This would only present a problem for
9651 tables that are unloaded at run-time, however.
9653 Updated AcpiOsReadable and AcpiOsWritable to use the ACPI_SIZE
9654 type as the length parameter (instead of UINT32).
9656 Solved a long-standing problem where an ALREADY_EXISTS error
9657 appears on various systems. This problem could happen when there
9658 are multiple PCI_Config operation regions under a single PCI root
9659 bus. This doesn't happen very frequently, but there are some
9660 systems that do this in the ASL.
9662 Fixed a reported problem where the internal DeleteNode function
9663 was incorrectly handling the case where a namespace node was the
9664 first in the parent's child list, and had additional peers (not
9665 the only child, but first in the list of children.)
9667 Code and Data Size: Current core subsystem library sizes are shown
9668 below. These are the code and data sizes for the acpica.lib
9669 produced by the Microsoft Visual C++ 6.0 compiler, and these
9670 values do not include any ACPI driver or OSPM code. The debug
9671 version of the code includes the debug output trace mechanism and
9672 has a much larger code and data size. Note that these values will
9673 vary depending on the efficiency of the compiler and the compiler
9674 options used during generation.
9677 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
9678 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
9680 Non-Debug Version: 73.4K Code, 9.7K Data, 83.1K Total
9681 Debug Version: 156.1K Code, 63.9K Data, 220.0K Total
9686 Allow ":" in OS override string (Ducrot Bruno)
9688 Kobject fix (Greg KH)
9691 3 iASL Compiler/Disassembler:
9693 Fixed a problem in the generation of the C source code files (AML
9694 is emitted in C source statements for BIOS inclusion) where the
9695 Ascii dump that appears within a C comment at the end of each line
9696 could cause a compile time error if the AML sequence happens to
9697 have an open comment or close comment sequence embedded.
9700 ----------------------------------------
9701 24 April 2003. Summary of changes for version 20030424.
9704 1) ACPI CA Core Subsystem:
9706 Support for big-endian systems has been implemented. Most of the
9707 support has been invisibly added behind big-endian versions of the
9710 Fixed a problem in AcpiHwDisableGpeBlock() and
9711 AcpiHwClearGpeBlock() where an incorrect offset was passed to the
9712 low level hardware write routine. The offset parameter was
9713 actually eliminated from the low level read/write routines because
9714 they had become obsolete.
9716 Fixed a problem where a handler object was deleted twice during
9717 the removal of a fixed event handler.
9722 A fix for SMP systems with link devices was contributed by
9726 (2.5) Return whether we handled the interrupt in our IRQ handler.
9727 (Linux ISRs no longer return void, so we can propagate the handler
9728 return value from the ACPI CA core back to the OS.)
9734 The ACPI CA Programmer Reference has been updated to reflect new
9735 interfaces and changes to existing interfaces.
9737 ----------------------------------------
9738 28 March 2003. Summary of changes for version 20030328.
9740 1) ACPI CA Core Subsystem:
9742 The GPE Block Device support has been completed. New interfaces
9743 are AcpiInstallGpeBlock and AcpiRemoveGpeBlock. The Event
9744 interfaces (enable, disable, clear, getstatus) have been split
9745 into separate interfaces for Fixed Events and General Purpose
9746 Events (GPEs) in order to support GPE Block Devices properly.
9748 Fixed a problem where the error message "Failed to acquire
9749 semaphore" would appear during operations on the embedded
9752 Code and Data Size: Current core subsystem library sizes are shown
9753 below. These are the code and data sizes for the acpica.lib
9754 produced by the Microsoft Visual C++ 6.0 compiler, and these
9755 values do not include any ACPI driver or OSPM code. The debug
9756 version of the code includes the debug output trace mechanism and
9757 has a much larger code and data size. Note that these values will
9758 vary depending on the efficiency of the compiler and the compiler
9759 options used during generation.
9762 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
9763 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
9765 Non-Debug Version: 73.7K Code, 9.5K Data, 83.2K Total
9766 Debug Version: 156.1K Code, 63.6K Data, 219.7K Total
9769 ----------------------------------------
9770 28 February 2003. Summary of changes for version 20030228.
9773 1) ACPI CA Core Subsystem:
9775 The GPE handling and dispatch code has been completely overhauled
9776 in preparation for support of GPE Block Devices (ID ACPI0006).
9777 This affects internal data structures and code only; there should
9778 be no differences visible externally. One new file has been
9781 The FADT fields GPE0_BLK_LEN and GPE1_BLK_LEN are now the only
9782 fields that are used to determine the GPE block lengths. The
9783 REGISTER_BIT_WIDTH field of the X_GPEx_BLK extended address
9784 structures are ignored. This is per the ACPI specification but it
9785 isn't very clear. The full 256 Block 0/1 GPEs are now supported
9786 (the use of REGISTER_BIT_WIDTH limited the number of GPEs to 128).
9788 In the SCI interrupt handler, removed the read of the PM1_CONTROL
9789 register to look at the SCI_EN bit. On some machines, this read
9790 causes an SMI event and greatly slows down SCI events. (This may
9791 in fact be the cause of slow battery status response on some
9794 Fixed a problem where a store of a NULL string to a package object
9795 could cause the premature deletion of the object. This was seen
9796 during execution of the battery _BIF method on some systems,
9797 resulting in no battery data being returned.
9799 Added AcpiWalkResources interface to simplify parsing of resource
9802 Code and Data Size: Current core subsystem library sizes are shown
9803 below. These are the code and data sizes for the acpica.lib
9804 produced by the Microsoft Visual C++ 6.0 compiler, and these
9805 values do not include any ACPI driver or OSPM code. The debug
9806 version of the code includes the debug output trace mechanism and
9807 has a much larger code and data size. Note that these values will
9808 vary depending on the efficiency of the compiler and the compiler
9809 options used during generation.
9812 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
9813 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
9815 Non-Debug Version: 72.3K Code, 9.5K Data, 81.8K Total
9816 Debug Version: 154.0K Code, 63.4K Data, 217.4K Total
9821 S3 fixes (Ole Rohne)
9823 Update ACPI PHP driver with to use new acpi_walk_resource API
9826 Add S4BIOS support (Pavel Machek)
9828 Map in entire table before performing checksum (John Stultz)
9830 Expand the mem= cmdline to allow the specification of reserved and
9831 ACPI DATA blocks (Pavel Machek)
9833 Never use ACPI on VISWS
9835 Fix derive_pci_id (Ducrot Bruno, Alvaro Lopez)
9837 Revert a change that allowed P_BLK lengths to be 4 or 5. This is
9838 causing us to think that some systems support C2 when they really
9841 Do not count processor objects for non-present CPUs (Thanks to
9847 Fixed a problem where ASL include files could not be found and
9850 Added support for the _PDC reserved name.
9853 ----------------------------------------
9854 22 January 2003. Summary of changes for version 20030122.
9857 1) ACPI CA Core Subsystem:
9859 Added a check for constructs of the form: Store (Local0, Local0)
9860 where Local0 is not initialized. Apparently, some BIOS
9861 programmers believe that this is a NOOP. Since this store doesn't
9862 do anything anyway, the new prototype behavior will ignore this
9863 error. This is a case where we can relax the strict checking in
9864 the interpreter in the name of compatibility.
9869 The AcpiSrc Source Conversion Utility has been released with the
9870 Linux package for the first time. This is the utility that is
9871 used to convert the ACPI CA base source code to the Linux version.
9873 (Both) Handle P_BLK lengths shorter than 6 more gracefully
9875 (Both) Move more headers to include/acpi, and delete an unused
9878 (Both) Move drivers/acpi/include directory to include/acpi
9880 (Both) Boot functions don't use cmdline, so don't pass it around
9882 (Both) Remove include of unused header (Adrian Bunk)
9884 (Both) acpiphp.h includes both linux/acpi.h and acpi_bus.h. Since
9886 former now also includes the latter, acpiphp.h only needs the one,
9889 (2.5) Make it possible to select method of bios restoring after S3
9890 resume. [=> no more ugly ifdefs] (Pavel Machek)
9892 (2.5) Make proc write interfaces work (Pavel Machek)
9894 (2.5) Properly init/clean up in cpufreq/acpi (Dominik Brodowski)
9896 (2.5) Break out ACPI Perf code into its own module, under cpufreq
9899 (2.4) S4BIOS support (Ducrot Bruno)
9901 (2.4) Fix acpiphp_glue.c for latest ACPI struct changes (Sergio
9907 Added support to disassemble SSDT and PSDTs.
9909 Implemented support to obtain SSDTs from the Windows registry if
9913 ----------------------------------------
9914 09 January 2003. Summary of changes for version 20030109.
9916 1) ACPI CA Core Subsystem:
9918 Changed the behavior of the internal Buffer-to-String conversion
9919 function. The current ACPI specification states that the contents
9920 of the buffer are "converted to a string of two-character
9921 hexadecimal numbers, each separated by a space". Unfortunately,
9922 this definition is not backwards compatible with existing ACPI 1.0
9923 implementations (although the behavior was not defined in the ACPI
9924 1.0 specification). The new behavior simply copies data from the
9925 buffer to the string until a null character is found or the end of
9926 the buffer is reached. The new String object is always null
9927 terminated. This problem was seen during the generation of _BIF
9928 battery data where incorrect strings were returned for battery
9929 type, etc. This will also require an errata to the ACPI
9932 Renamed all instances of NATIVE_UINT and NATIVE_INT to
9933 ACPI_NATIVE_UINT and ACPI_NATIVE_INT, respectively.
9935 Copyright in all module headers (both Linux and non-Linux) has be
9938 Code and Data Size: Current core subsystem library sizes are shown
9939 below. These are the code and data sizes for the acpica.lib
9940 produced by the Microsoft Visual C++ 6.0 compiler, and these
9941 values do not include any ACPI driver or OSPM code. The debug
9942 version of the code includes the debug output trace mechanism and
9943 has a much larger code and data size. Note that these values will
9944 vary depending on the efficiency of the compiler and the compiler
9945 options used during generation.
9948 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
9949 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
9951 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
9952 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
9957 Fixed an oops on module insertion/removal (Matthew Tippett)
9959 (2.4) Fix to handle dynamic size of mp_irqs (Joerg Prante)
9961 (2.5) Replace pr_debug (Randy Dunlap)
9963 (2.5) Remove usage of CPUFREQ_ALL_CPUS (Dominik Brodowski)
9965 (Both) Eliminate spawning of thread from timer callback, in favor
9968 (Both) Show Lid status in /proc (Zdenek OGAR Skalak)
9970 (Both) Added define for Fixed Function HW region (Matthew Wilcox)
9972 (Both) Add missing statics to button.c (Pavel Machek)
9974 Several changes have been made to the source code translation
9975 utility that generates the Linux Code in order to make the code
9978 All typedefs on structs and unions have been removed in keeping
9979 with the Linux coding style.
9981 Removed the non-Linux SourceSafe module revision number from each
9984 Completed major overhaul of symbols to be lowercased for linux.
9985 Doubled the number of symbols that are lowercased.
9987 Fixed a problem where identifiers within procedure headers and
9988 within quotes were not fully lower cased (they were left with a
9991 Some C macros whose only purpose is to allow the generation of 16-
9992 bit code are now completely removed in the Linux code, increasing
9993 readability and maintainability.
9995 ----------------------------------------
9997 12 December 2002. Summary of changes for version 20021212.
10000 1) ACPI CA Core Subsystem:
10002 Fixed a problem where the creation of a zero-length AML Buffer
10003 would cause a fault.
10005 Fixed a problem where a Buffer object that pointed to a static AML
10006 buffer (in an ACPI table) could inadvertently be deleted, causing
10009 Fixed a problem where a user buffer (passed in to the external
10010 ACPI CA interfaces) could be overwritten if the buffer was too
10011 small to complete the operation, causing memory corruption.
10013 Fixed a problem in the Buffer-to-String conversion code where a
10014 string of length one was always returned, regardless of the size
10015 of the input Buffer object.
10017 Removed the NATIVE_CHAR data type across the entire source due to
10018 lack of need and lack of consistent use.
10020 Code and Data Size: Current core subsystem library sizes are shown
10021 below. These are the code and data sizes for the acpica.lib
10022 produced by the Microsoft Visual C++ 6.0 compiler, and these
10023 values do not include any ACPI driver or OSPM code. The debug
10024 version of the code includes the debug output trace mechanism and
10025 has a much larger code and data size. Note that these values will
10026 vary depending on the efficiency of the compiler and the compiler
10027 options used during generation.
10030 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
10031 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
10033 Non-Debug Version: 72.0K Code, 9.5K Data, 81.5K Total
10034 Debug Version: 153.0K Code, 62.9K Data, 215.9K Total
10037 ----------------------------------------
10038 05 December 2002. Summary of changes for version 20021205.
10040 1) ACPI CA Core Subsystem:
10042 Fixed a problem where a store to a String or Buffer object could
10043 cause corruption of the DSDT if the object type being stored was
10044 the same as the target object type and the length of the object
10045 being stored was equal to or smaller than the original (existing)
10046 target object. This was seen to cause corruption of battery _BIF
10047 buffers if the _BIF method modified the buffer on the fly.
10049 Fixed a problem where an internal error was generated if a control
10050 method invocation was used in an OperationRegion, Buffer, or
10051 Package declaration. This was caused by the deferred parsing of
10052 the control method and thus the deferred creation of the internal
10053 method object. The solution to this problem was to create the
10054 internal method object at the moment the method is encountered in
10055 the first pass - so that subsequent references to the method will
10056 able to obtain the required parameter count and thus properly
10057 parse the method invocation. This problem presented itself as an
10058 AE_AML_INTERNAL during the pass 1 parse phase during table load.
10060 Fixed a problem where the internal String object copy routine did
10061 not always allocate sufficient memory for the target String object
10062 and caused memory corruption. This problem was seen to cause
10063 "Allocation already present in list!" errors as memory allocation
10066 Implemented a new function for the evaluation of namespace objects
10067 that allows the specification of the allowable return object
10068 types. This simplifies a lot of code that checks for a return
10069 object of one or more specific objects returned from the
10070 evaluation (such as _STA, etc.) This may become and external
10071 function if it would be useful to ACPI-related drivers.
10073 Completed another round of prefixing #defines with "ACPI_" for
10076 Completed additional code restructuring to allow more modular
10077 linking for iASL compiler and AcpiExec. Several files were split
10078 creating new files. New files: nsparse.c dsinit.c evgpe.c
10080 Implemented an abort mechanism to terminate an executing control
10081 method via the AML debugger. This feature is useful for debugging
10082 control methods that depend (wait) for specific hardware
10085 Code and Data Size: Current core subsystem library sizes are shown
10086 below. These are the code and data sizes for the acpica.lib
10087 produced by the Microsoft Visual C++ 6.0 compiler, and these
10088 values do not include any ACPI driver or OSPM code. The debug
10089 version of the code includes the debug output trace mechanism and
10090 has a much larger code and data size. Note that these values will
10091 vary depending on the efficiency of the compiler and the compiler
10092 options used during generation.
10095 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
10096 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
10098 Non-Debug Version: 72.1K Code, 9.5K Data, 81.6K Total
10099 Debug Version: 152.7K Code, 62.7K Data, 215.4K Total
10102 2) iASL Compiler/Disassembler
10104 Fixed a compiler code generation problem for "Interrupt" Resource
10105 Descriptors. If specified in the ASL, the optional "Resource
10106 Source Index" and "Resource Source" fields were not inserted into
10107 the correct location within the AML resource descriptor, creating
10108 an invalid descriptor.
10110 Fixed a disassembler problem for "Interrupt" resource descriptors.
10111 The optional "Resource Source Index" and "Resource Source" fields
10115 ----------------------------------------
10116 22 November 2002. Summary of changes for version 20021122.
10119 1) ACPI CA Core Subsystem:
10121 Fixed a reported problem where an object stored to a Method Local
10122 or Arg was not copied to a new object during the store - the
10123 object pointer was simply copied to the Local/Arg. This caused
10124 all subsequent operations on the Local/Arg to also affect the
10125 original source of the store operation.
10127 Fixed a problem where a store operation to a Method Local or Arg
10128 was not completed properly if the Local/Arg contained a reference
10129 (from RefOf) to a named field. The general-purpose store-to-
10130 namespace-node code is now used so that this case is handled
10133 Fixed a problem where the internal object copy routine would cause
10134 a protection fault if the object being copied was a Package and
10135 contained either 1) a NULL package element or 2) a nested sub-
10138 Fixed a problem with the GPE initialization that resulted from an
10139 ambiguity in the ACPI specification. One section of the
10140 specification states that both the address and length of the GPE
10141 block must be zero if the block is not supported. Another section
10142 implies that only the address need be zero if the block is not
10143 supported. The code has been changed so that both the address and
10144 the length must be non-zero to indicate a valid GPE block (i.e.,
10145 if either the address or the length is zero, the GPE block is
10148 Code and Data Size: Current core subsystem library sizes are shown
10149 below. These are the code and data sizes for the acpica.lib
10150 produced by the Microsoft Visual C++ 6.0 compiler, and these
10151 values do not include any ACPI driver or OSPM code. The debug
10152 version of the code includes the debug output trace mechanism and
10153 has a much larger code and data size. Note that these values will
10154 vary depending on the efficiency of the compiler and the compiler
10155 options used during generation.
10158 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
10159 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
10161 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
10162 Debug Version: 152.9K Code, 63.3K Data, 216.2K Total
10167 Cleaned up EC driver. Exported an external EC read/write
10168 interface. By going through this, other drivers (most notably
10169 sonypi) will be able to serialize access to the EC.
10172 3) iASL Compiler/Disassembler
10174 Implemented support to optionally generate include files for both
10175 ASM and C (the -i switch). This simplifies BIOS development by
10176 automatically creating include files that contain external
10177 declarations for the symbols that are created within the
10179 (optionally generated) ASM and C AML source files.
10182 ----------------------------------------
10183 15 November 2002. Summary of changes for version 20021115.
10185 1) ACPI CA Core Subsystem:
10187 Fixed a memory leak problem where an error during resolution of
10189 method arguments during a method invocation from another method
10190 failed to cleanup properly by deleting all successfully resolved
10193 Fixed a problem where the target of the Index() operator was not
10194 correctly constructed if the source object was a package. This
10195 problem has not been detected because the use of a target operand
10196 with Index() is very rare.
10198 Fixed a problem with the Index() operator where an attempt was
10199 made to delete the operand objects twice.
10201 Fixed a problem where an attempt was made to delete an operand
10202 twice during execution of the CondRefOf() operator if the target
10205 Implemented the first of perhaps several internal create object
10206 functions that create and initialize a specific object type. This
10207 consolidates duplicated code wherever the object is created, thus
10208 shrinking the size of the subsystem.
10210 Implemented improved debug/error messages for errors that occur
10211 during nested method invocations. All executing method pathnames
10212 are displayed (with the error) as the call stack is unwound - thus
10215 Fixed a problem introduced in the 10/02 release that caused
10216 premature deletion of a buffer object if a buffer was used as an
10217 ASL operand where an integer operand is required (Thus causing an
10218 implicit object conversion from Buffer to Integer.) The change in
10219 the 10/02 release was attempting to fix a memory leak (albeit
10222 Code and Data Size: Current core subsystem library sizes are shown
10223 below. These are the code and data sizes for the acpica.lib
10224 produced by the Microsoft Visual C++ 6.0 compiler, and these
10225 values do not include any ACPI driver or OSPM code. The debug
10226 version of the code includes the debug output trace mechanism and
10227 has a much larger code and data size. Note that these values will
10228 vary depending on the efficiency of the compiler and the compiler
10229 options used during generation.
10232 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
10233 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
10235 Non-Debug Version: 71.3K Code, 9.0K Data, 80.3K Total
10236 Debug Version: 152.7K Code, 63.2K Data, 215.5K Total
10241 Changed the implementation of the ACPI semaphores to use down()
10242 instead of down_interruptable(). It is important that the
10243 execution of ACPI control methods not be interrupted by signals.
10244 Methods must run to completion, or the system may be left in an
10245 unknown/unstable state.
10247 Fixed a compilation error when CONFIG_SOFTWARE_SUSPEND is not set.
10251 3) iASL Compiler/Disassembler
10254 Changed the default location of output files. All output files
10255 are now placed in the current directory by default instead of in
10256 the directory of the source file. This change may affect some
10257 existing makefiles, but it brings the behavior of the compiler in
10258 line with other similar tools. The location of the output files
10259 can be overridden with the -p command line switch.
10262 ----------------------------------------
10263 11 November 2002. Summary of changes for version 20021111.
10266 0) ACPI Specification 2.0B is released and is now available at:
10267 http://www.acpi.info/index.html
10270 1) ACPI CA Core Subsystem:
10272 Implemented support for the ACPI 2.0 SMBus Operation Regions.
10273 This includes the early detection and handoff of the request to
10274 the SMBus region handler (avoiding all of the complex field
10275 support code), and support for the bidirectional return packet
10276 from an SMBus write operation. This paves the way for the
10277 development of SMBus drivers in each host operating system.
10279 Fixed a problem where the semaphore WAIT_FOREVER constant was
10280 defined as 32 bits, but must be 16 bits according to the ACPI
10281 specification. This had the side effect of causing ASL
10282 Mutex/Event timeouts even though the ASL code requested a wait
10283 forever. Changed all internal references to the ACPI timeout
10284 parameter to 16 bits to prevent future problems. Changed the name
10285 of WAIT_FOREVER to ACPI_WAIT_FOREVER.
10287 Code and Data Size: Current core subsystem library sizes are shown
10288 below. These are the code and data sizes for the acpica.lib
10289 produced by the Microsoft Visual C++ 6.0 compiler, and these
10290 values do not include any ACPI driver or OSPM code. The debug
10291 version of the code includes the debug output trace mechanism and
10292 has a much larger code and data size. Note that these values will
10293 vary depending on the efficiency of the compiler and the compiler
10294 options used during generation.
10297 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
10298 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
10300 Non-Debug Version: 71.9K Code, 9.1K Data, 81.0K Total
10301 Debug Version: 153.1K Code, 63.3K Data, 216.4K Total
10306 Module loading/unloading fixes (John Cagle)
10309 3) iASL Compiler/Disassembler
10311 Added support for the SMBBlockProcessCall keyword (ACPI 2.0)
10313 Implemented support for the disassembly of all SMBus protocol
10314 keywords (SMBQuick, SMBWord, etc.)
10316 ----------------------------------------
10317 01 November 2002. Summary of changes for version 20021101.
10320 1) ACPI CA Core Subsystem:
10322 Fixed a problem where platforms that have a GPE1 block but no GPE0
10323 block were not handled correctly. This resulted in a "GPE
10324 overlap" error message. GPE0 is no longer required.
10326 Removed code added in the previous release that inserted nodes
10327 into the namespace in alphabetical order. This caused some side-
10328 effects on various machines. The root cause of the problem is
10329 still under investigation since in theory, the internal ordering
10330 of the namespace nodes should not matter.
10333 Enhanced error reporting for the case where a named object is not
10334 found during control method execution. The full ACPI namepath
10335 (name reference) of the object that was not found is displayed in
10338 Note: as a result of the overhaul of the namespace object types in
10339 the previous release, the namespace nodes for the predefined
10340 scopes (_TZ, _PR, etc.) are now of the type ACPI_TYPE_LOCAL_SCOPE
10341 instead of ACPI_TYPE_ANY. This simplifies the namespace
10342 management code but may affect code that walks the namespace tree
10343 looking for specific object types.
10345 Code and Data Size: Current core subsystem library sizes are shown
10346 below. These are the code and data sizes for the acpica.lib
10347 produced by the Microsoft Visual C++ 6.0 compiler, and these
10348 values do not include any ACPI driver or OSPM code. The debug
10349 version of the code includes the debug output trace mechanism and
10350 has a much larger code and data size. Note that these values will
10351 vary depending on the efficiency of the compiler and the compiler
10352 options used during generation.
10355 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
10356 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
10358 Non-Debug Version: 71.4K Code, 9.0K Data, 80.4K Total
10359 Debug Version: 152.3K Code, 63.0K Data, 215.3K Total
10364 Fixed a problem introduced in the previous release where the
10365 Processor and Thermal objects were not recognized and installed in
10366 /proc. This was related to the scope type change described above.
10369 3) iASL Compiler/Disassembler
10371 Implemented the -g option to get all of the required ACPI tables
10372 from the registry and save them to files (Windows version of the
10373 compiler only.) The required tables are the FADT, FACS, and DSDT.
10375 Added ACPI table checksum validation during table disassembly in
10376 order to catch corrupted tables.
10379 ----------------------------------------
10380 22 October 2002. Summary of changes for version 20021022.
10382 1) ACPI CA Core Subsystem:
10384 Implemented a restriction on the Scope operator that the target
10385 must already exist in the namespace at the time the operator is
10386 encountered (during table load or method execution). In other
10387 words, forward references are not allowed and Scope() cannot
10388 create a new object. This changes the previous behavior where the
10389 interpreter would create the name if not found. This new behavior
10390 correctly enables the search-to-root algorithm during namespace
10391 lookup of the target name. Because of this upsearch, this fixes
10392 the known Compaq _SB_.OKEC problem and makes both the AML
10393 interpreter and iASL compiler compatible with other ACPI
10396 Completed a major overhaul of the internal ACPI object types for
10397 the ACPI Namespace and the associated operand objects. Many of
10398 these types had become obsolete with the introduction of the two-
10399 pass namespace load. This cleanup simplifies the code and makes
10400 the entire namespace load mechanism much clearer and easier to
10403 Improved debug output for tracking scope opening/closing to help
10404 diagnose scoping issues. The old scope name as well as the new
10405 scope name are displayed. Also improved error messages for
10406 problems with ASL Mutex objects and error messages for GPE
10409 Cleaned up the namespace dump code, removed obsolete code.
10411 All string output (for all namespace/object dumps) now uses the
10412 common ACPI string output procedure which handles escapes properly
10413 and does not emit non-printable characters.
10415 Fixed some issues with constants in the 64-bit version of the
10416 local C library (utclib.c)
10421 EC Driver: No longer attempts to acquire the Global Lock at
10425 3) iASL Compiler/Disassembler
10427 Implemented ACPI 2.0B grammar change that disallows all Type 1 and
10428 2 opcodes outside of a control method. This means that the
10429 "executable" operators (versus the "namespace" operators) cannot
10430 be used at the table level; they can only be used within a control
10433 Implemented the restriction on the Scope() operator where the
10434 target must already exist in the namespace at the time the
10435 operator is encountered (during ASL compilation). In other words,
10436 forward references are not allowed and Scope() cannot create a new
10437 object. This makes the iASL compiler compatible with other ACPI
10438 implementations and makes the Scope() implementation adhere to the
10439 ACPI specification.
10441 Fixed a problem where namepath optimization for the Alias operator
10442 was optimizing the wrong path (of the two namepaths.) This caused
10443 a "Missing alias link" error message.
10445 Fixed a problem where an "unknown reserved name" warning could be
10446 incorrectly generated for names like "_SB" when the trailing
10447 underscore is not used in the original ASL.
10449 Fixed a problem where the reserved name check did not handle
10450 NamePaths with multiple NameSegs correctly. The first nameseg of
10451 the NamePath was examined instead of the last NameSeg.
10454 ----------------------------------------
10456 02 October 2002. Summary of changes for this release.
10459 1) ACPI CA Core Subsystem version 20021002:
10461 Fixed a problem where a store/copy of a string to an existing
10462 string did not always set the string length properly in the String
10465 Fixed a reported problem with the ToString operator where the
10466 behavior was identical to the ToHexString operator instead of just
10467 simply converting a raw buffer to a string data type.
10469 Fixed a problem where CopyObject and the other "explicit"
10470 conversion operators were not updating the internal namespace node
10471 type as part of the store operation.
10473 Fixed a memory leak during implicit source operand conversion
10474 where the original object was not deleted if it was converted to a
10475 new object of a different type.
10477 Enhanced error messages for all problems associated with namespace
10478 lookups. Common procedure generates and prints the lookup name as
10479 well as the formatted status.
10481 Completed implementation of a new design for the Alias support
10482 within the namespace. The existing design did not handle the case
10483 where a new object was assigned to one of the two names due to the
10484 use of an explicit conversion operator, resulting in the two names
10485 pointing to two different objects. The new design simply points
10486 the Alias name to the original name node - not to the object.
10487 This results in a level of indirection that must be handled in the
10488 name resolution mechanism.
10490 Code and Data Size: Current core subsystem library sizes are shown
10491 below. These are the code and data sizes for the acpica.lib
10492 produced by the Microsoft Visual C++ 6.0 compiler, and these
10493 values do not include any ACPI driver or OSPM code. The debug
10494 version of the code includes the debug output trace mechanism and
10495 has a larger code and data size. Note that these values will vary
10496 depending on the efficiency of the compiler and the compiler
10497 options used during generation.
10500 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
10501 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
10503 Non-Debug Version: 70.7K Code, 8.6K Data, 79.3K Total
10504 Debug Version: 151.7K Code, 62.4K Data, 214.1K Total
10509 Initialize thermal driver's timer before it is used. (Knut
10512 Allow handling negative celsius values. (Kochi Takayoshi)
10514 Fix thermal management and make trip points. R/W (Pavel Machek)
10516 Fix /proc/acpi/sleep. (P. Christeas)
10518 IA64 fixes. (David Mosberger)
10520 Fix reversed logic in blacklist code. (Sergio Monteiro Basto)
10522 Replace ACPI_DEBUG define with ACPI_DEBUG_OUTPUT. (Dominik
10526 3) iASL Compiler/Disassembler
10528 Clarified some warning/error messages.
10531 ----------------------------------------
10532 18 September 2002. Summary of changes for this release.
10535 1) ACPI CA Core Subsystem version 20020918:
10537 Fixed a reported problem with reference chaining (via the Index()
10538 and RefOf() operators) in the ObjectType() and SizeOf() operators.
10539 The definition of these operators includes the dereferencing of
10540 all chained references to return information on the base object.
10542 Fixed a problem with stores to indexed package elements - the
10543 existing code would not complete the store if an "implicit
10544 conversion" was not performed. In other words, if the existing
10545 object (package element) was to be replaced completely, the code
10546 didn't handle this case.
10548 Relaxed typechecking on the ASL "Scope" operator to allow the
10549 target name to refer to an object of type Integer, String, or
10550 Buffer, in addition to the scoping object types (Device,
10551 predefined Scopes, Processor, PowerResource, and ThermalZone.)
10552 This allows existing AML code that has workarounds for a bug in
10553 Windows to function properly. A warning is issued, however. This
10554 affects both the AML interpreter and the iASL compiler. Below is
10555 an example of this type of ASL code:
10561 Fixed some reported problems with 64-bit integer support in the
10562 local implementation of C library functions (clib.c)
10567 Use ACPI fix map region instead of IOAPIC region, since it is
10568 undefined in non-SMP.
10570 Ensure that the SCI has the proper polarity and trigger, even on
10571 systems that do not have an interrupt override entry in the MADT.
10573 2.5 big driver reorganization (Pat Mochel)
10575 Use early table mapping code from acpitable.c (Andi Kleen)
10577 New blacklist entries (Andi Kleen)
10579 Blacklist improvements. Split blacklist code out into a separate
10580 file. Move checking the blacklist to very early. Previously, we
10581 would use ACPI tables, and then halfway through init, check the
10582 blacklist -- too late. Now, it's early enough to completely fall-
10586 3) iASL Compiler/Disassembler version 20020918:
10588 Fixed a problem where the typechecking code didn't know that an
10589 alias could point to a method. In other words, aliases were not
10590 being dereferenced during typechecking.
10593 ----------------------------------------
10594 29 August 2002. Summary of changes for this release.
10596 1) ACPI CA Core Subsystem Version 20020829:
10598 If the target of a Scope() operator already exists, it must be an
10599 object type that actually opens a scope -- such as a Device,
10600 Method, Scope, etc. This is a fatal runtime error. Similar error
10601 check has been added to the iASL compiler also.
10603 Tightened up the namespace load to disallow multiple names in the
10604 same scope. This previously was allowed if both objects were of
10605 the same type. (i.e., a lookup was the same as entering a new
10611 Ensure that the ACPI interrupt has the proper trigger and
10614 local_irq_disable is extraneous. (Matthew Wilcox)
10616 Make "acpi=off" actually do what it says, and not use the ACPI
10617 interpreter *or* the tables.
10619 Added arch-neutral support for parsing SLIT and SRAT tables (Kochi
10623 3) iASL Compiler/Disassembler Version 20020829:
10625 Implemented namepath optimization for name declarations. For
10626 example, a declaration like "Method (\_SB_.ABCD)" would get
10627 optimized to "Method (ABCD)" if the declaration is within the
10628 \_SB_ scope. This optimization is in addition to the named
10629 reference path optimization first released in the previous
10630 version. This would seem to complete all possible optimizations
10631 for namepaths within the ASL/AML.
10633 If the target of a Scope() operator already exists, it must be an
10634 object type that actually opens a scope -- such as a Device,
10635 Method, Scope, etc.
10637 Implemented a check and warning for unreachable code in the same
10638 block below a Return() statement.
10640 Fixed a problem where the listing file was not generated if the
10641 compiler aborted if the maximum error count was exceeded (200).
10643 Fixed a problem where the typechecking of method return values was
10644 broken. This includes the check for a return value when the
10645 method is invoked as a TermArg (a return value is expected.)
10647 Fixed a reported problem where EOF conditions during a quoted
10648 string or comment caused a fault.
10651 ----------------------------------------
10652 15 August 2002. Summary of changes for this release.
10654 1) ACPI CA Core Subsystem Version 20020815:
10656 Fixed a reported problem where a Store to a method argument that
10657 contains a reference did not perform the indirect store correctly.
10658 This problem was created during the conversion to the new
10659 reference object model - the indirect store to a method argument
10660 code was not updated to reflect the new model.
10662 Reworked the ACPI mode change code to better conform to ACPI 2.0,
10663 handle corner cases, and improve code legibility (Kochi Takayoshi)
10665 Fixed a problem with the pathname parsing for the carat (^)
10666 prefix. The heavy use of the carat operator by the new namepath
10667 optimization in the iASL compiler uncovered a problem with the AML
10668 interpreter handling of this prefix. In the case where one or
10669 more carats precede a single nameseg, the nameseg was treated as
10670 standalone and the search rule (to root) was inadvertently
10671 applied. This could cause both the iASL compiler and the
10672 interpreter to find the wrong object or to miss the error that
10673 should occur if the object does not exist at that exact pathname.
10675 Found and fixed the problem where the HP Pavilion DSDT would not
10676 load. This was a relatively minor tweak to the table loading code
10677 (a problem caused by the unexpected encounter with a method
10678 invocation not within a control method), but it does not solve the
10679 overall issue of the execution of AML code at the table level.
10680 This investigation is still ongoing.
10682 Code and Data Size: Current core subsystem library sizes are shown
10683 below. These are the code and data sizes for the acpica.lib
10684 produced by the Microsoft Visual C++ 6.0 compiler, and these
10685 values do not include any ACPI driver or OSPM code. The debug
10686 version of the code includes the debug output trace mechanism and
10687 has a larger code and data size. Note that these values will vary
10688 depending on the efficiency of the compiler and the compiler
10689 options used during generation.
10692 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
10693 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
10695 Non-Debug Version: 69.6K Code, 8.3K Data, 77.9K Total
10696 Debug Version: 150.0K Code, 61.7K Data, 211.7K Total
10701 Remove redundant slab.h include (Brad Hards)
10703 Fix several bugs in thermal.c (Herbert Nachtnebel)
10705 Make CONFIG_ACPI_BOOT work properly (Pavel Machek)
10707 Change acpi_system_suspend to use updated irq functions (Pavel
10710 Export acpi_get_firmware_table (Matthew Wilcox)
10712 Use proper root proc entry for ACPI (Kochi Takayoshi)
10714 Fix early-boot table parsing (Bjorn Helgaas)
10717 3) iASL Compiler/Disassembler
10719 Reworked the compiler options to make them more consistent and to
10720 use two-letter options where appropriate. We were running out of
10721 sensible letters. This may break some makefiles, so check the
10722 current options list by invoking the compiler with no parameters.
10724 Completed the design and implementation of the ASL namepath
10725 optimization option for the compiler. This option optimizes all
10726 references to named objects to the shortest possible path. The
10727 first attempt tries to utilize a single nameseg (4 characters) and
10728 the "search-to-root" algorithm used by the interpreter. If that
10729 cannot be used (because either the name is not in the search path
10730 or there is a conflict with another object with the same name),
10731 the pathname is optimized using the carat prefix (usually a
10732 shorter string than specifying the entire path from the root.)
10734 Implemented support to obtain the DSDT from the Windows registry
10735 (when the disassembly option is specified with no input file).
10736 Added this code as the implementation for AcpiOsTableOverride in
10737 the Windows OSL. Migrated the 16-bit code (used in the AcpiDump
10738 utility) to scan memory for the DSDT to the AcpiOsTableOverride
10739 function in the DOS OSL to make the disassembler truly OS
10742 Implemented a new option to disassemble and compile in one step.
10743 When used without an input filename, this option will grab the
10744 DSDT from the local machine, disassemble it, and compile it in one
10747 Added a warning message for invalid escapes (a backslash followed
10748 by any character other than the allowable escapes). This catches
10749 the quoted string error "\_SB_" (which should be "\\_SB_" ).
10751 Also, there are numerous instances in the ACPI specification where
10754 Added a compiler option to disable all optimizations. This is
10755 basically the "compatibility mode" because by using this option,
10756 the AML code will come out exactly the same as other ASL
10759 Added error messages for incorrectly ordered dependent resource
10760 functions. This includes: missing EndDependentFn macro at end of
10761 dependent resource list, nested dependent function macros (both
10762 start and end), and missing StartDependentFn macro. These are
10763 common errors that should be caught at compile time.
10765 Implemented _OSI support for the disassembler and compiler. _OSI
10766 must be included in the namespace for proper disassembly (because
10767 the disassembler must know the number of arguments.)
10769 Added an "optimization" message type that is optional (off by
10770 default). This message is used for all optimizations - including
10771 constant folding, integer optimization, and namepath optimization.
10773 ----------------------------------------
10774 25 July 2002. Summary of changes for this release.
10777 1) ACPI CA Core Subsystem Version 20020725:
10779 The AML Disassembler has been enhanced to produce compilable ASL
10780 code and has been integrated into the iASL compiler (see below) as
10781 well as the single-step disassembly for the AML debugger and the
10782 disassembler for the AcpiDump utility. All ACPI 2.0A opcodes,
10783 resource templates and macros are fully supported. The
10784 disassembler has been tested on over 30 different AML files,
10785 producing identical AML when the resulting disassembled ASL file
10786 is recompiled with the same ASL compiler.
10788 Modified the Resource Manager to allow zero interrupts and zero
10789 dma channels during the GetCurrentResources call. This was
10790 causing problems on some platforms.
10792 Added the AcpiOsRedirectOutput interface to the OSL to simplify
10793 output redirection for the AcpiOsPrintf and AcpiOsVprintf
10796 Code and Data Size: Current core subsystem library sizes are shown
10797 below. These are the code and data sizes for the acpica.lib
10798 produced by the Microsoft Visual C++ 6.0 compiler, and these
10799 values do not include any ACPI driver or OSPM code. The debug
10800 version of the code includes the debug output trace mechanism and
10801 has a larger code and data size. Note that these values will vary
10802 depending on the efficiency of the compiler and the compiler
10803 options used during generation.
10806 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
10807 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
10809 Non-Debug Version: 69.1K Code, 8.2K Data, 77.3K Total
10810 Debug Version: 149.4K Code, 61.6K Data, 211.0K Total
10815 Fixed a panic in the EC driver (Dominik Brodowski)
10817 Implemented checksum of the R/XSDT itself during Linux table scan
10823 The AML disassembler is integrated into the compiler. The "-d"
10824 option invokes the disassembler to completely disassemble an
10825 input AML file, producing as output a text ASL file with the
10826 extension ".dsl" (to avoid name collisions with existing .asl
10827 source files.) A future enhancement will allow the disassembler
10828 to obtain the BIOS DSDT from the registry under Windows.
10830 Fixed a problem with the VendorShort and VendorLong resource
10831 descriptors where an invalid AML sequence was created.
10833 Implemented a fix for BufferData term in the ASL parser. It was
10834 inadvertently defined twice, allowing invalid syntax to pass and
10835 causing reduction conflicts.
10837 Fixed a problem where the Ones opcode could get converted to a
10838 value of zero if "Ones" was used where a byte, word or dword value
10839 was expected. The 64-bit value is now truncated to the correct
10840 size with the correct value.
10844 ----------------------------------------
10845 02 July 2002. Summary of changes for this release.
10848 1) ACPI CA Core Subsystem Version 20020702:
10850 The Table Manager code has been restructured to add several new
10851 features. Tables that are not required by the core subsystem
10852 (other than the FADT, DSDT, FACS, PSDTs, etc.) are no longer
10853 validated in any way and are returned from AcpiGetFirmwareTable if
10854 requested. The AcpiOsTableOverride interface is now called for
10855 each table that is loaded by the subsystem in order to allow the
10856 host to override any table it chooses. Previously, only the DSDT
10857 could be overridden. Added one new files, tbrsdt.c and
10860 Fixed a problem with the conversion of internal package objects to
10861 external objects (when a package is returned from a control
10862 method.) The return buffer length was set to zero instead of the
10863 proper length of the package object.
10865 Fixed a reported problem with the use of the RefOf and DeRefOf
10866 operators when passing reference arguments to control methods. A
10867 new type of Reference object is used internally for references
10868 produced by the RefOf operator.
10870 Added additional error messages in the Resource Manager to explain
10871 AE_BAD_DATA errors when they occur during resource parsing.
10873 Split the AcpiEnableSubsystem into two primitives to enable a
10874 finer granularity initialization sequence. These two calls should
10875 be called in this order: AcpiEnableSubsystem (flags),
10876 AcpiInitializeObjects (flags). The flags parameter remains the
10882 Updated the ACPI utilities module to understand the new style of
10883 fully resolved package objects that are now returned from the core
10884 subsystem. This eliminates errors of the form:
10886 ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PPB_._PRT]
10887 acpi_utils-0430 [145] acpi_evaluate_reference:
10888 Invalid element in package (not a device reference)
10890 The method evaluation utility uses the new buffer allocation
10891 scheme instead of calling AcpiEvaluate Object twice.
10893 Added support for ECDT. This allows the use of the Embedded
10895 Controller before the namespace has been fully initialized, which
10896 is necessary for ACPI 2.0 support, and for some laptops to
10897 initialize properly. (Laptops using ECDT are still rare, so only
10898 limited testing was performed of the added functionality.)
10900 Fixed memory leaks in the EC driver.
10902 Eliminated a brittle code structure in acpi_bus_init().
10904 Eliminated the acpi_evaluate() helper function in utils.c. It is
10905 no longer needed since acpi_evaluate_object can optionally
10906 allocate memory for the return object.
10908 Implemented fix for keyboard hang when getting battery readings on
10909 some systems (Stephen White)
10911 PCI IRQ routing update (Dominik Brodowski)
10913 Fix an ifdef to allow compilation on UP with LAPIC but no IOAPIC
10916 ----------------------------------------
10917 11 June 2002. Summary of changes for this release.
10920 1) ACPI CA Core Subsystem Version 20020611:
10922 Fixed a reported problem where constants such as Zero and One
10923 appearing within _PRT packages were not handled correctly within
10924 the resource manager code. Originally reported against the ASL
10925 compiler because the code generator now optimizes integers to
10926 their minimal AML representation (i.e. AML constants if possible.)
10927 The _PRT code now handles all AML constant opcodes correctly
10928 (Zero, One, Ones, Revision).
10930 Fixed a problem with the Concatenate operator in the AML
10931 interpreter where a buffer result object was incorrectly marked as
10932 not fully evaluated, causing a run-time error of AE_AML_INTERNAL.
10934 All package sub-objects are now fully resolved before they are
10935 returned from the external ACPI interfaces. This means that name
10936 strings are resolved to object handles, and constant operators
10937 (Zero, One, Ones, Revision) are resolved to Integers.
10939 Implemented immediate resolution of the AML Constant opcodes
10940 (Zero, One, Ones, Revision) to Integer objects upon detection
10941 within the AML stream. This has simplified and reduced the
10942 generated code size of the subsystem by eliminating about 10
10943 switch statements for these constants (which previously were
10944 contained in Reference objects.) The complicating issues are that
10945 the Zero opcode is used as a "placeholder" for unspecified
10946 optional target operands and stores to constants are defined to be
10949 Code and Data Size: Current core subsystem library sizes are shown
10950 below. These are the code and data sizes for the acpica.lib
10951 produced by the Microsoft Visual C++ 6.0 compiler, and these
10952 values do not include any ACPI driver or OSPM code. The debug
10953 version of the code includes the debug output trace mechanism and
10954 has a larger code and data size. Note that these values will vary
10955 depending on the efficiency of the compiler and the compiler
10956 options used during generation.
10959 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
10960 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
10962 Non-Debug Version: 68.7K Code, 7.4K Data, 76.1K Total
10963 Debug Version: 142.9K Code, 58.7K Data, 201.6K Total
10969 Added preliminary support for obtaining _TRA data for PCI root
10970 bridges (Bjorn Helgaas).
10973 3) iASL Compiler Version X2046:
10975 Fixed a problem where the "_DDN" reserved name was defined to be a
10976 control method with one argument. There are no arguments, and
10977 _DDN does not have to be a control method.
10979 Fixed a problem with the Linux version of the compiler where the
10980 source lines printed with error messages were the wrong lines.
10981 This turned out to be the "LF versus CR/LF" difference between
10982 Windows and Unix. This appears to be the longstanding issue
10983 concerning listing output and error messages.
10985 Fixed a problem with the Linux version of compiler where opcode
10986 names within error messages were wrong. This was caused by a
10987 slight difference in the output of the Flex tool on Linux versus
10990 Fixed a problem with the Linux compiler where the hex output files
10991 contained some garbage data caused by an internal buffer overrun.
10994 ----------------------------------------
10995 17 May 2002. Summary of changes for this release.
10998 1) ACPI CA Core Subsystem Version 20020517:
11000 Implemented a workaround to an BIOS bug discovered on the HP
11001 OmniBook where the FADT revision number and the table size are
11002 inconsistent (ACPI 2.0 revision vs. ACPI 1.0 table size). The new
11003 behavior is to fallback to using only the ACPI 1.0 fields of the
11004 FADT if the table is too small to be a ACPI 2.0 table as claimed
11005 by the revision number. Although this is a BIOS bug, this is a
11006 case where the workaround is simple enough and with no side
11007 effects, so it seemed prudent to add it. A warning message is
11010 Implemented minimum size checks for the fixed-length ACPI tables -
11011 - the FADT and FACS, as well as consistency checks between the
11012 revision number and the table size.
11014 Fixed a reported problem in the table override support where the
11015 new table pointer was incorrectly treated as a physical address
11016 instead of a logical address.
11018 Eliminated the use of the AE_AML_ERROR exception and replaced it
11019 with more descriptive codes.
11021 Fixed a problem where an exception would occur if an ASL Field was
11022 defined with no named Field Units underneath it (used by some
11025 Code and Data Size: Current core subsystem library sizes are shown
11026 below. These are the code and data sizes for the acpica.lib
11027 produced by the Microsoft Visual C++ 6.0 compiler, and these
11028 values do not include any ACPI driver or OSPM code. The debug
11029 version of the code includes the debug output trace mechanism and
11030 has a larger code and data size. Note that these values will vary
11031 depending on the efficiency of the compiler and the compiler
11032 options used during generation.
11035 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
11036 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
11038 Non-Debug Version: 69.3K Code, 7.4K Data, 76.7K Total
11039 Debug Version: 143.8K Code, 58.8K Data, 202.6K Total
11045 Much work done on ACPI init (MADT and PCI IRQ routing support).
11046 (Paul D. and Dominik Brodowski)
11048 Fix PCI IRQ-related panic on boot (Sam Revitch)
11050 Set BM_ARB_DIS when entering a sleep state (Ducrot Bruno)
11052 Fix "MHz" typo (Dominik Brodowski)
11054 Fix RTC year 2000 issue (Dominik Brodowski)
11056 Preclude multiple button proc entries (Eric Brunet)
11058 Moved arch-specific code out of include/platform/aclinux.h
11060 3) iASL Compiler Version X2044:
11062 Implemented error checking for the string used in the EISAID macro
11063 (Usually used in the definition of the _HID object.) The code now
11064 strictly enforces the PnP format - exactly 7 characters, 3
11065 uppercase letters and 4 hex digits.
11067 If a raw string is used in the definition of the _HID object
11068 (instead of the EISAID macro), the string must contain all
11069 alphanumeric characters (e.g., "*PNP0011" is not allowed because
11072 Implemented checking for invalid use of ACPI reserved names for
11073 most of the name creation operators (Name, Device, Event, Mutex,
11074 OperationRegion, PowerResource, Processor, and ThermalZone.)
11075 Previously, this check was only performed for control methods.
11077 Implemented an additional check on the Name operator to emit an
11078 error if a reserved name that must be implemented in ASL as a
11079 control method is used. We know that a reserved name must be a
11080 method if it is defined with input arguments.
11082 The warning emitted when a namespace object reference is not found
11083 during the cross reference phase has been changed into an error.
11084 The "External" directive should be used for names defined in other
11088 4) Tools and Utilities
11090 The 16-bit tools (adump16 and aexec16) have been regenerated and
11093 Fixed a problem with the output of both acpidump and adump16 where
11094 the indentation of closing parentheses and brackets was not
11096 aligned properly with the parent block.
11099 ----------------------------------------
11100 03 May 2002. Summary of changes for this release.
11103 1) ACPI CA Core Subsystem Version 20020503:
11105 Added support a new OSL interface that allows the host operating
11107 system software to override the DSDT found in the firmware -
11108 AcpiOsTableOverride. With this interface, the OSL can examine the
11109 version of the firmware DSDT and replace it with a different one
11112 Added new external interfaces for accessing ACPI registers from
11113 device drivers and other system software - AcpiGetRegister and
11114 AcpiSetRegister. This was simply an externalization of the
11115 existing AcpiHwBitRegister interfaces.
11117 Fixed a regression introduced in the previous build where the
11118 ASL/AML CreateField operator always returned an error,
11119 "destination must be a NS Node".
11121 Extended the maximum time (before failure) to successfully enable
11122 ACPI mode to 3 seconds.
11124 Code and Data Size: Current core subsystem library sizes are shown
11125 below. These are the code and data sizes for the acpica.lib
11126 produced by the Microsoft Visual C++ 6.0 compiler, and these
11127 values do not include any ACPI driver or OSPM code. The debug
11128 version of the code includes the debug output trace mechanism and
11129 has a larger code and data size. Note that these values will vary
11130 depending on the efficiency of the compiler and the compiler
11131 options used during generation.
11134 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
11135 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
11137 Non-Debug Version: 68.8K Code, 7.1K Data, 75.9K Total
11138 Debug Version: 142.9K Code, 58.4K Data, 201.3K Total
11143 Enhanced ACPI init code for SMP. We are now fully MPS and $PIR-
11144 free. While 3 out of 4 of our in-house systems work fine, the last
11145 one still hangs when testing the LAPIC timer.
11147 Renamed many files in 2.5 kernel release to omit "acpi_" from the
11150 Added warning on boot for Presario 711FR.
11152 Sleep improvements (Pavel Machek)
11154 ACPI can now be built without CONFIG_PCI enabled.
11156 IA64: Fixed memory map functions (JI Lee)
11159 3) iASL Compiler Version X2043:
11161 Added support to allow the compiler to be integrated into the MS
11162 VC++ development environment for one-button compilation of single
11163 files or entire projects -- with error-to-source-line mapping.
11165 Implemented support for compile-time constant folding for the
11166 Type3, Type4, and Type5 opcodes first defined in the ACPI 2.0
11167 specification. This allows the ASL writer to use expressions
11168 instead of Integer/Buffer/String constants in terms that must
11169 evaluate to constants at compile time and will also simplify the
11170 emitted AML in any such sub-expressions that can be folded
11171 (evaluated at compile-time.) This increases the size of the
11172 compiler significantly because a portion of the ACPI CA AML
11173 interpreter is included within the compiler in order to pre-
11174 evaluate constant expressions.
11177 Fixed a problem with the "Unicode" ASL macro that caused the
11178 compiler to fault. (This macro is used in conjunction with the
11179 _STR reserved name.)
11181 Implemented an AML opcode optimization to use the Zero, One, and
11182 Ones opcodes where possible to further reduce the size of integer
11183 constants and thus reduce the overall size of the generated AML
11186 Implemented error checking for new reserved terms for ACPI version
11189 Implemented the -qr option to display the current list of ACPI
11190 reserved names known to the compiler.
11192 Implemented the -qc option to display the current list of ASL
11193 operators that are allowed within constant expressions and can
11194 therefore be folded at compile time if the operands are constants.
11199 Updated the Programmer's Reference for new interfaces, data types,
11200 and memory allocation model options.
11202 Updated the iASL Compiler User Reference to apply new format and
11203 add information about new features and options.
11205 ----------------------------------------
11206 19 April 2002. Summary of changes for this release.
11208 1) ACPI CA Core Subsystem Version 20020419:
11210 The source code base for the Core Subsystem has been completely
11211 cleaned with PC-lint (FlexLint) for both 32-bit and 64-bit
11212 versions. The Lint option files used are included in the
11213 /acpi/generate/lint directory.
11215 Implemented enhanced status/error checking across the entire
11216 Hardware manager subsystem. Any hardware errors (reported from
11217 the OSL) are now bubbled up and will abort a running control
11221 Fixed a problem where the per-ACPI-table integer width (32 or 64)
11222 was stored only with control method nodes, causing a fault when
11223 non-control method code was executed during table loading. The
11224 solution implemented uses a global variable to indicate table
11225 width across the entire ACPI subsystem. Therefore, ACPI CA does
11226 not support mixed integer widths across different ACPI tables
11229 Fixed a problem where NULL extended fields (X fields) in an ACPI
11230 2.0 ACPI FADT caused the table load to fail. Although the
11231 existing ACPI specification is a bit fuzzy on this topic, the new
11232 behavior is to fall back on a ACPI 1.0 field if the corresponding
11233 ACPI 2.0 X field is zero (even though the table revision indicates
11234 a full ACPI 2.0 table.) The ACPI specification will be updated to
11235 clarify this issue.
11237 Fixed a problem with the SystemMemory operation region handler
11238 where memory was always accessed byte-wise even if the AML-
11239 specified access width was larger than a byte. This caused
11240 problems on systems with memory-mapped I/O. Memory is now
11241 accessed with the width specified. On systems that do not support
11242 non-aligned transfers, a check is made to guarantee proper address
11243 alignment before proceeding in order to avoid an AML-caused
11244 alignment fault within the kernel.
11247 Fixed a problem with the ExtendedIrq resource where only one byte
11248 of the 4-byte Irq field was extracted.
11250 Fixed the AcpiExDigitsNeeded() procedure to support _UID. This
11251 function was out of date and required a rewrite.
11253 Code and Data Size: Current core subsystem library sizes are shown
11254 below. These are the code and data sizes for the acpica.lib
11255 produced by the Microsoft Visual C++ 6.0 compiler, and these
11256 values do not include any ACPI driver or OSPM code. The debug
11257 version of the code includes the debug output trace mechanism and
11258 has a larger code and data size. Note that these values will vary
11259 depending on the efficiency of the compiler and the compiler
11260 options used during generation.
11263 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
11264 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
11266 Non-Debug Version: 68.5K Code, 7.0K Data, 75.5K Total
11267 Debug Version: 142.4K Code, 58.3K Data, 200.7K Total
11272 PCI IRQ routing fixes (Dominik Brodowski)
11275 3) iASL Compiler Version X2042:
11277 Implemented an additional compile-time error check for a field
11278 unit whose size + minimum access width would cause a run-time
11279 access beyond the end-of-region. Previously, only the field size
11280 itself was checked.
11282 The Core subsystem and iASL compiler now share a common parse
11283 object in preparation for compile-time evaluation of the type
11284 3/4/5 ASL operators.
11287 ----------------------------------------
11288 Summary of changes for this release: 03_29_02
11290 1) ACPI CA Core Subsystem Version 20020329:
11292 Implemented support for late evaluation of TermArg operands to
11293 Buffer and Package objects. This allows complex expressions to be
11294 used in the declarations of these object types.
11296 Fixed an ACPI 1.0 compatibility issue when reading Fields. In ACPI
11297 1.0, if the field was larger than 32 bits, it was returned as a
11298 buffer - otherwise it was returned as an integer. In ACPI 2.0,
11299 the field is returned as a buffer only if the field is larger than
11300 64 bits. The TableRevision is now considered when making this
11301 conversion to avoid incompatibility with existing ASL code.
11303 Implemented logical addressing for AcpiOsGetRootPointer. This
11304 allows an RSDP with either a logical or physical address. With
11305 this support, the host OS can now override all ACPI tables with
11306 one logical RSDP. Includes implementation of "typed" pointer
11307 support to allow a common data type for both physical and logical
11308 pointers internally. This required a change to the
11309 AcpiOsGetRootPointer interface.
11311 Implemented the use of ACPI 2.0 Generic Address Structures for all
11312 GPE, Fixed Event, and PM Timer I/O. This allows the use of memory
11313 mapped I/O for these ACPI features.
11315 Initialization now ignores not only non-required tables (All
11316 tables other than the FADT, FACS, DSDT, and SSDTs), but also does
11317 not validate the table headers of unrecognized tables.
11319 Fixed a problem where a notify handler could only be
11320 installed/removed on an object of type Device. All "notify"
11322 objects are now supported -- Devices, Processor, Power, and
11325 Removed most verbosity from the ACPI_DB_INFO debug level. Only
11326 critical information is returned when this debug level is enabled.
11328 Code and Data Size: Current core subsystem library sizes are shown
11329 below. These are the code and data sizes for the acpica.lib
11330 produced by the Microsoft Visual C++ 6.0 compiler, and these
11331 values do not include any ACPI driver or OSPM code. The debug
11332 version of the code includes the debug output trace mechanism and
11333 has a larger code and data size. Note that these values will vary
11334 depending on the efficiency of the compiler and the compiler
11335 options used during generation.
11338 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
11339 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
11341 Non-Debug Version: 66.6K Code, 6.5K Data, 73.1K Total
11342 Debug Version: 139.8K Code, 57.4K Data, 197.2K Total
11347 The processor driver (acpi_processor.c) now fully supports ACPI
11348 2.0-based processor performance control (e.g. Intel(R)
11349 SpeedStep(TM) technology) Note that older laptops that only have
11350 the Intel "applet" interface are not supported through this. The
11351 'limit' and 'performance' interface (/proc) are fully functional.
11352 [Note that basic policy for controlling performance state
11353 transitions will be included in the next version of ospmd.] The
11354 idle handler was modified to more aggressively use C2, and PIIX4
11355 errata handling underwent a complete overhaul (big thanks to
11356 Dominik Brodowski).
11358 Added support for ACPI-PCI device binding (acpi_pci_root.c). _ADR-
11359 based devices in the ACPI namespace are now dynamically bound
11360 (associated) with their PCI counterparts (e.g. PCI1->01:00.0).
11361 This allows, among other things, ACPI to resolve bus numbers for
11362 subordinate PCI bridges.
11364 Enhanced PCI IRQ routing to get the proper bus number for _PRT
11365 entries defined underneath PCI bridges.
11367 Added IBM 600E to bad bios list due to invalid _ADR value for
11368 PIIX4 PCI-ISA bridge, resulting in improper PCI IRQ routing.
11370 In the process of adding full MADT support (e.g. IOAPIC) for IA32
11371 (acpi.c, mpparse.c) -- stay tuned.
11373 Added back visual differentiation between fixed-feature and
11374 control-method buttons in dmesg. Buttons are also subtyped (e.g.
11375 button/power/PWRF) to simplify button identification.
11377 We no longer use -Wno-unused when compiling debug. Please ignore
11378 any "_THIS_MODULE defined but not used" messages.
11380 Can now shut down the system using "magic sysrq" key.
11383 3) iASL Compiler version 2041:
11385 Fixed a problem where conversion errors for hex/octal/decimal
11386 constants were not reported.
11388 Implemented a fix for the General Register template Address field.
11389 This field was 8 bits when it should be 64.
11391 Fixed a problem where errors/warnings were no longer being emitted
11392 within the listing output file.
11394 Implemented the ACPI 2.0A restriction on ACPI Table Signatures to
11395 exactly 4 characters, alphanumeric only.
11400 ----------------------------------------
11401 Summary of changes for this release: 03_08_02
11404 1) ACPI CA Core Subsystem Version 20020308:
11406 Fixed a problem with AML Fields where the use of the "AccessAny"
11407 keyword could cause an interpreter error due to attempting to read
11408 or write beyond the end of the parent Operation Region.
11410 Fixed a problem in the SystemMemory Operation Region handler where
11411 an attempt was made to map memory beyond the end of the region.
11412 This was the root cause of the "AE_ERROR" and "AE_NO_MEMORY"
11413 errors on some Linux systems.
11415 Fixed a problem where the interpreter/namespace "search to root"
11416 algorithm was not functioning for some object types. Relaxed the
11417 internal restriction on the search to allow upsearches for all
11418 external object types as well as most internal types.
11423 We now use safe_halt() macro versus individual calls to sti | hlt.
11425 Writing to the processor limit interface should now work. "echo 1"
11426 will increase the limit, 2 will decrease, and 0 will reset to the
11433 Fixed segfault on Linux version.
11436 ----------------------------------------
11437 Summary of changes for this release: 02_25_02
11439 1) ACPI CA Core Subsystem:
11442 Fixed a problem where the GPE bit masks were not initialized
11443 properly, causing erratic GPE behavior.
11445 Implemented limited support for multiple calling conventions. The
11446 code can be generated with either the VPL (variable parameter
11447 list, or "C") convention, or the FPL (fixed parameter list, or
11448 "Pascal") convention. The core subsystem is about 3.4% smaller
11449 when generated with FPL.
11454 Re-add some /proc/acpi/event functionality that was lost during
11457 Resolved issue with /proc events for fixed-feature buttons showing
11458 up as the system device.
11460 Fixed checks on C2/C3 latencies to be inclusive of maximum values.
11462 Replaced AE_ERRORs in acpi_osl.c with more specific error codes.
11464 Changed ACPI PRT option from "pci=noacpi-routing" to "pci=noacpi"
11466 Fixed limit interface & usage to fix bugs with passive cooling
11469 Restructured PRT support.
11472 ----------------------------------------
11473 Summary of changes for this label: 02_14_02
11476 1) ACPI CA Core Subsystem:
11478 Implemented support in AcpiLoadTable to allow loading of FACS and
11481 Suport for the now-obsolete interim 0.71 64-bit ACPI tables has
11482 been removed. All 64-bit platforms should be migrated to the ACPI
11483 2.0 tables. The actbl71.h header has been removed from the source
11486 All C macros defined within the subsystem have been prefixed with
11487 "ACPI_" to avoid collision with other system include files.
11489 Removed the return value for the two AcpiOsPrint interfaces, since
11490 it is never used and causes lint warnings for ignoring the return
11493 Added error checking to all internal mutex acquire and release
11494 calls. Although a failure from one of these interfaces is
11495 probably a fatal system error, these checks will cause the
11496 immediate abort of the currently executing method or interface.
11498 Fixed a problem where the AcpiSetCurrentResources interface could
11499 fault. This was a side effect of the deployment of the new memory
11502 Fixed a couple of problems with the Global Lock support introduced
11503 in the last major build. The "common" (1.0/2.0) internal FACS was
11504 being overwritten with the FACS signature and clobbering the
11505 Global Lock pointer. Also, the actual firmware FACS was being
11506 unmapped after construction of the "common" FACS, preventing
11507 access to the actual Global Lock field within it. The "common"
11508 internal FACS is no longer installed as an actual ACPI table; it
11509 is used simply as a global.
11511 Code and Data Size: Current core subsystem library sizes are shown
11512 below. These are the code and data sizes for the acpica.lib
11513 produced by the Microsoft Visual C++ 6.0 compiler, and these
11514 values do not include any ACPI driver or OSPM code. The debug
11515 version of the code includes the debug output trace mechanism and
11516 has a larger code and data size. Note that these values will vary
11517 depending on the efficiency of the compiler and the compiler
11518 options used during generation.
11520 Previous Release (02_07_01)
11521 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
11522 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
11524 Non-Debug Version: 65.4K Code, 6.2K Data, 71.6K Total
11525 Debug Version: 138.0K Code, 56.6K Data, 194.6K Total
11530 Updated Linux-specific code for core macro and OSL interface
11531 changes described above.
11533 Improved /proc/acpi/event. It now can be opened only once and has
11534 proper poll functionality.
11536 Fixed and restructured power management (acpi_bus).
11538 Only create /proc "view by type" when devices of that class exist.
11540 Fixed "charging/discharging" bug (and others) in acpi_battery.
11542 Improved thermal zone code.
11545 3) ASL Compiler, version X2039:
11548 Implemented the new compiler restriction on ASL String hex/octal
11549 escapes to non-null, ASCII values. An error results if an invalid
11550 value is used. (This will require an ACPI 2.0 specification
11553 AML object labels that are output to the optional C and ASM source
11554 are now prefixed with both the ACPI table signature and table ID
11555 to help guarantee uniqueness within a large BIOS project.
11558 ----------------------------------------
11559 Summary of changes for this label: 02_01_02
11561 1) ACPI CA Core Subsystem:
11563 ACPI 2.0 support is complete in the entire Core Subsystem and the
11564 ASL compiler. All new ACPI 2.0 operators are implemented and all
11565 other changes for ACPI 2.0 support are complete. With
11566 simultaneous code and data optimizations throughout the subsystem,
11567 ACPI 2.0 support has been implemented with almost no additional
11568 cost in terms of code and data size.
11570 Implemented a new mechanism for allocation of return buffers. If
11571 the buffer length is set to ACPI_ALLOCATE_BUFFER, the buffer will
11572 be allocated on behalf of the caller. Consolidated all return
11573 buffer validation and allocation to a common procedure. Return
11574 buffers will be allocated via the primary OSL allocation interface
11575 since it appears that a separate pool is not needed by most users.
11576 If a separate pool is required for these buffers, the caller can
11577 still use the original mechanism and pre-allocate the buffer(s).
11579 Implemented support for string operands within the DerefOf
11582 Restructured the Hardware and Event managers to be table driven,
11583 simplifying the source code and reducing the amount of generated
11586 Split the common read/write low-level ACPI register bitfield
11587 procedure into a separate read and write, simplifying the code
11590 Obsoleted the AcpiOsCallocate OSL interface. This interface was
11591 used only a handful of times and didn't have enough critical mass
11592 for a separate interface. Replaced with a common calloc procedure
11595 Fixed a reported problem with the GPE number mapping mechanism
11596 that allows GPE1 numbers to be non-contiguous with GPE0.
11597 Reorganized the GPE information and shrunk a large array that was
11598 originally large enough to hold info for all possible GPEs (256)
11599 to simply large enough to hold all GPEs up to the largest GPE
11600 number on the machine.
11602 Fixed a reported problem with resource structure alignment on 64-
11605 Changed the AcpiEnableEvent and AcpiDisableEvent external
11606 interfaces to not require any flags for the common case of
11607 enabling/disabling a GPE.
11609 Implemented support to allow a "Notify" on a Processor object.
11611 Most TBDs in comments within the source code have been resolved
11615 Fixed a problem in the interpreter where a standalone parent
11616 prefix (^) was not handled correctly in the interpreter and
11619 Removed obsolete and unnecessary GPE save/restore code.
11621 Implemented Field support in the ASL Load operator. This allows a
11622 table to be loaded from a named field, in addition to loading a
11623 table directly from an Operation Region.
11625 Implemented timeout and handle support in the external Global Lock
11628 Fixed a problem in the AcpiDump utility where pathnames were no
11629 longer being generated correctly during the dump of named objects.
11631 Modified the AML debugger to give a full display of if/while
11632 predicates instead of just one AML opcode at a time. (The
11633 predicate can have several nested ASL statements.) The old method
11634 was confusing during single stepping.
11636 Code and Data Size: Current core subsystem library sizes are shown
11637 below. These are the code and data sizes for the acpica.lib
11638 produced by the Microsoft Visual C++ 6.0 compiler, and these
11639 values do not include any ACPI driver or OSPM code. The debug
11640 version of the code includes the debug output trace mechanism and
11641 has a larger code and data size. Note that these values will vary
11642 depending on the efficiency of the compiler and the compiler
11643 options used during generation.
11645 Previous Release (12_18_01)
11646 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
11647 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
11649 Non-Debug Version: 65.2K Code, 6.2K Data, 71.4K Total
11650 Debug Version: 136.9K Code, 56.4K Data, 193.3K Total
11654 Implemented fix for PIIX reverse throttling errata (Processor
11657 Added new Limit interface (Processor and Thermal drivers)
11659 New thermal policy (Thermal driver)
11661 Many updates to /proc
11663 Battery "low" event support (Battery driver)
11665 Supports ACPI PCI IRQ routing (PCI Link and PCI root drivers)
11667 IA32 - IA64 initialization unification, no longer experimental
11669 Menuconfig options redesigned
11671 3) ASL Compiler, version X2037:
11673 Implemented several new output features to simplify integration of
11674 AML code into firmware: 1) Output the AML in C source code with
11675 labels for each named ASL object. The original ASL source code
11676 is interleaved as C comments. 2) Output the AML in ASM source code
11677 with labels and interleaved ASL source. 3) Output the AML in
11678 raw hex table form, in either C or ASM.
11680 Implemented support for optional string parameters to the
11681 LoadTable operator.
11683 Completed support for embedded escape sequences within string
11684 literals. The compiler now supports all single character escapes
11685 as well as the Octal and Hex escapes. Note: the insertion of a
11686 null byte into a string literal (via the hex/octal escape) causes
11687 the string to be immediately terminated. A warning is issued.
11689 Fixed a problem where incorrect AML was generated for the case
11690 where an ASL namepath consists of a single parent prefix (
11692 ) with no trailing name segments.
11694 The compiler has been successfully generated with a 64-bit C
11700 ----------------------------------------
11701 Summary of changes for this label: 12_18_01
11705 Enhanced blacklist with reason and severity fields. Any table's
11706 signature may now be used to identify a blacklisted system.
11708 Call _PIC control method to inform the firmware which interrupt
11709 model the OS is using. Turn on any disabled link devices.
11711 Cleaned up busmgr /proc error handling (Andreas Dilger)
11713 2) ACPI CA Core Subsystem:
11715 Implemented ACPI 2.0 semantics for the "Break" operator (Exit from
11718 Completed implementation of the ACPI 2.0 "Continue",
11719 "ConcatenateResTemplate", "DataTableRegion", and "LoadTable"
11720 operators. All new ACPI 2.0 operators are now implemented in both
11721 the ASL compiler and the AML interpreter. The only remaining ACPI
11722 2.0 task is support for the String data type in the DerefOf
11723 operator. Fixed a problem with AcquireMutex where the status code
11724 was lost if the caller had to actually wait for the mutex.
11726 Increased the maximum ASL Field size from 64K bits to 4G bits.
11728 Completed implementation of the external Global Lock interfaces --
11729 AcpiAcquireGlobalLock and AcpiReleaseGlobalLock. The Timeout and
11730 Handler parameters were added.
11732 Completed another pass at removing warnings and issues when
11733 compiling with 64-bit compilers. The code now compiles cleanly
11734 with the Intel 64-bit C/C++ compiler. Most notably, the pointer
11735 add and subtract (diff) macros have changed considerably.
11738 Created and deployed a new ACPI_SIZE type that is 64-bits wide on
11739 64-bit platforms, 32-bits on all others. This type is used
11740 wherever memory allocation and/or the C sizeof() operator is used,
11741 and affects the OSL memory allocation interfaces AcpiOsAllocate
11742 and AcpiOsCallocate.
11744 Implemented sticky user breakpoints in the AML debugger.
11746 Code and Data Size: Current core subsystem library sizes are shown
11747 below. These are the code and data sizes for the acpica.lib
11748 produced by the Microsoft Visual C++ 6.0 compiler, and these
11749 values do not include any ACPI driver or OSPM code. The debug
11750 version of the code includes the debug output trace mechanism and
11751 has a larger code and data size. Note that these values will vary
11752 depending on the efficiency of the compiler and the compiler
11753 options used during generation.
11755 Previous Release (12_05_01)
11756 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
11757 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
11759 Non-Debug Version: 66.1K Code, 5.5K Data, 71.6K Total
11760 Debug Version: 138.3K Code, 55.9K Data, 194.2K Total
11762 3) ASL Compiler, version X2034:
11764 Now checks for (and generates an error if detected) the use of a
11765 Break or Continue statement without an enclosing While statement.
11768 Successfully generated the compiler with the Intel 64-bit C
11771 ----------------------------------------
11772 Summary of changes for this label: 12_05_01
11774 1) ACPI CA Core Subsystem:
11776 The ACPI 2.0 CopyObject operator is fully implemented. This
11777 operator creates a new copy of an object (and is also used to
11778 bypass the "implicit conversion" mechanism of the Store operator.)
11780 The ACPI 2.0 semantics for the SizeOf operator are fully
11781 implemented. The change is that performing a SizeOf on a
11782 reference object causes an automatic dereference of the object to
11783 tha actual value before the size is evaluated. This behavior was
11784 undefined in ACPI 1.0.
11786 The ACPI 2.0 semantics for the Extended IRQ resource descriptor
11787 have been implemented. The interrupt polarity and mode are now
11790 Fixed a problem where ASL Constants (Zero, One, Ones, Revision)
11791 appearing in Package objects were not properly converted to
11792 integers when the internal Package was converted to an external
11793 object (via the AcpiEvaluateObject interface.)
11795 Fixed a problem with the namespace object deletion mechanism for
11796 objects created by control methods. There were two parts to this
11797 problem: 1) Objects created during the initialization phase method
11798 parse were not being deleted, and 2) The object owner ID mechanism
11799 to track objects was broken.
11801 Fixed a problem where the use of the ASL Scope operator within a
11802 control method would result in an invalid opcode exception.
11804 Fixed a problem introduced in the previous label where the buffer
11805 length required for the _PRT structure was not being returned
11808 Code and Data Size: Current core subsystem library sizes are shown
11809 below. These are the code and data sizes for the acpica.lib
11810 produced by the Microsoft Visual C++ 6.0 compiler, and these
11811 values do not include any ACPI driver or OSPM code. The debug
11812 version of the code includes the debug output trace mechanism and
11813 has a larger code and data size. Note that these values will vary
11814 depending on the efficiency of the compiler and the compiler
11815 options used during generation.
11817 Previous Release (11_20_01)
11818 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
11819 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
11822 Non-Debug Version: 64.7K Code, 5.3K Data, 70.0K Total
11823 Debug Version: 136.2K Code, 55.6K Data, 191.8K Total
11827 Updated all files to apply cleanly against 2.4.16.
11829 Added basic PCI Interrupt Routing Table (PRT) support for IA32
11830 (acpi_pci.c), and unified the PRT code for IA32 and IA64. This
11831 version supports both static and dyanmic PRT entries, but dynamic
11832 entries are treated as if they were static (not yet
11833 reconfigurable). Architecture- specific code to use this data is
11834 absent on IA32 but should be available shortly.
11836 Changed the initialization sequence to start the ACPI interpreter
11837 (acpi_init) prior to initialization of the PCI driver (pci_init)
11838 in init/main.c. This ordering is required to support PRT and
11839 facilitate other (future) enhancement. A side effect is that the
11840 ACPI bus driver and certain device drivers can no longer be loaded
11843 Modified the 'make menuconfig' options to allow PCI Interrupt
11844 Routing support to be included without the ACPI Bus and other
11847 3) ASL Compiler, version X2033:
11849 Fixed some issues with the use of the new CopyObject and
11850 DataTableRegion operators. Both are fully functional.
11852 ----------------------------------------
11853 Summary of changes for this label: 11_20_01
11855 20 November 2001. Summary of changes for this release.
11857 1) ACPI CA Core Subsystem:
11859 Updated Index support to match ACPI 2.0 semantics. Storing a
11860 Integer, String, or Buffer to an Index of a Buffer will store only
11861 the least-significant byte of the source to the Indexed buffer
11862 byte. Multiple writes are not performed.
11864 Fixed a problem where the access type used in an AccessAs ASL
11865 operator was not recorded correctly into the field object.
11867 Fixed a problem where ASL Event objects were created in a
11868 signalled state. Events are now created in an unsignalled state.
11870 The internal object cache is now purged after table loading and
11871 initialization to reduce the use of dynamic kernel memory -- on
11872 the assumption that object use is greatest during the parse phase
11873 of the entire table (versus the run-time use of individual control
11876 ACPI 2.0 variable-length packages are now fully operational.
11878 Code and Data Size: Code and Data optimizations have permitted new
11879 feature development with an actual reduction in the library size.
11880 Current core subsystem library sizes are shown below. These are
11881 the code and data sizes for the acpica.lib produced by the
11882 Microsoft Visual C++ 6.0 compiler, and these values do not include
11883 any ACPI driver or OSPM code. The debug version of the code
11884 includes the debug output trace mechanism and has a larger code
11885 and data size. Note that these values will vary depending on the
11886 efficiency of the compiler and the compiler options used during
11889 Previous Release (11_09_01):
11890 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
11891 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
11894 Non-Debug Version: 64.1K Code, 5.3K Data, 69.4K Total
11895 Debug Version: 135.1K Code, 55.4K Data, 190.5K Total
11899 Enhanced the ACPI boot-time initialization code to allow the use
11900 of Local APIC tables for processor enumeration on IA-32, and to
11901 pave the way for a fully MPS-free boot (on SMP systems) in the
11902 near future. This functionality replaces
11903 arch/i386/kernel/acpitables.c, which was introduced in an earlier
11904 2.4.15-preX release. To enable this feature you must add
11905 "acpi_boot=on" to the kernel command line -- see the help entry
11906 for CONFIG_ACPI_BOOT for more information. An IA-64 release is in
11909 Restructured the configuration options to allow boot-time table
11910 parsing support without inclusion of the ACPI Interpreter (and
11913 NOTE: This release does not include fixes for the reported events,
11914 power-down, and thermal passive cooling issues (coming soon).
11918 Added additional typechecking for Fields within restricted access
11919 Operation Regions. All fields within EC and CMOS regions must be
11920 declared with ByteAcc. All fields withing SMBus regions must be
11921 declared with the BufferAcc access type.
11923 Fixed a problem where the listing file output of control methods
11924 no longer interleaved the actual AML code with the ASL source
11930 ----------------------------------------
11931 Summary of changes for this label: 11_09_01
11933 1) ACPI CA Core Subsystem:
11935 Implemented ACPI 2.0-defined support for writes to fields with a
11936 Buffer, String, or Integer source operand that is smaller than the
11937 target field. In these cases, the source operand is zero-extended
11938 to fill the target field.
11940 Fixed a problem where a Field starting bit offset (within the
11941 parent operation region) was calculated incorrectly if the
11943 alignment of the field differed from the access width. This
11944 affected CreateWordField, CreateDwordField, CreateQwordField, and
11945 possibly other fields that use the "AccessAny" keyword.
11947 Fixed a problem introduced in the 11_02_01 release where indirect
11948 stores through method arguments did not operate correctly.
11952 Implemented boot-time ACPI table parsing support
11953 (CONFIG_ACPI_BOOT) for IA32 and IA64 UP/SMP systems. This code
11954 facilitates the use of ACPI tables (e.g. MADT, SRAT) rather than
11955 legacy BIOS interfaces (e.g. MPS) for the configuration of system
11956 processors, memory, and interrupts during setup_arch(). Note that
11957 this patch does not include the required architecture-specific
11958 changes required to apply this information -- subsequent patches
11959 will be posted for both IA32 and IA64 to achieve this.
11961 Added low-level sleep support for IA32 platforms, courtesy of Pat
11962 Mochel. This allows IA32 systems to transition to/from various
11963 sleeping states (e.g. S1, S3), although the lack of a centralized
11964 driver model and power-manageable drivers will prevent its
11965 (successful) use on most systems.
11967 Revamped the ACPI 'menuconfig' layout: created new "ACPI Support"
11968 submenu, unified IA32 and IA64 options, added new "Boot using ACPI
11969 tables" option, etc.
11971 Increased the default timeout for the EC driver from 1ms to 10ms
11972 (1000 cycles of 10us) to try to address AE_TIME errors during EC
11975 ----------------------------------------
11976 Summary of changes for this label: 11_02_01
11978 1) ACPI CA Core Subsystem:
11980 ACPI 2.0 Support: Implemented ACPI 2.0 64-bit Field access
11981 (QWordAcc keyword). All ACPI 2.0 64-bit support is now
11984 OSL Interfaces: Several of the OSL (AcpiOs*) interfaces required
11985 changes to support ACPI 2.0 Qword field access. Read/Write
11986 PciConfiguration(), Read/Write Memory(), and Read/Write Port() now
11987 accept an ACPI_INTEGER (64 bits) as the value parameter. Also,
11988 the value parameter for the address space handler interface is now
11989 an ACPI_INTEGER. OSL implementations of these interfaces must now
11990 handle the case where the Width parameter is 64.
11992 Index Fields: Fixed a problem where unaligned bit assembly and
11993 disassembly for IndexFields was not supported correctly.
11995 Index and Bank Fields: Nested Index and Bank Fields are now
11996 supported. During field access, a check is performed to ensure
11997 that the value written to an Index or Bank register is not out of
11998 the range of the register. The Index (or Bank) register is
11999 written before each access to the field data. Future support will
12000 include allowing individual IndexFields to be wider than the
12001 DataRegister width.
12003 Fields: Fixed a problem where the AML interpreter was incorrectly
12004 attempting to write beyond the end of a Field/OpRegion. This was
12005 a boundary case that occurred when a DWORD field was written to a
12006 BYTE access OpRegion, forcing multiple writes and causing the
12007 interpreter to write one datum too many.
12009 Fields: Fixed a problem with Field/OpRegion access where the
12010 starting bit address of a field was incorrectly calculated if the
12011 current access type was wider than a byte (WordAcc, DwordAcc, or
12014 Fields: Fixed a problem where forward references to individual
12015 FieldUnits (individual Field names within a Field definition) were
12016 not resolved during the AML table load.
12018 Fields: Fixed a problem where forward references from a Field
12019 definition to the parent Operation Region definition were not
12020 resolved during the AML table load.
12022 Fields: Duplicate FieldUnit names within a scope are now detected
12023 during AML table load.
12025 Acpi Interfaces: Fixed a problem where the AcpiGetName() interface
12026 returned an incorrect name for the root node.
12028 Code and Data Size: Code and Data optimizations have permitted new
12029 feature development with an actual reduction in the library size.
12030 Current core subsystem library sizes are shown below. These are
12031 the code and data sizes for the acpica.lib produced by the
12032 Microsoft Visual C++ 6.0 compiler, and these values do not include
12033 any ACPI driver or OSPM code. The debug version of the code
12034 includes the debug output trace mechanism and has a larger code
12035 and data size. Note that these values will vary depending on the
12036 efficiency of the compiler and the compiler options used during
12039 Previous Release (10_18_01):
12040 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
12041 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
12044 Non-Debug Version: 63.7K Code, 5.2K Data, 68.9K Total
12045 Debug Version: 134.5K Code, 55.4K Data, 189.9K Total
12049 Improved /proc processor output (Pavel Machek) Re-added
12050 MODULE_LICENSE("GPL") to all modules.
12052 3) ASL Compiler version X2030:
12054 Duplicate FieldUnit names within a scope are now detected and
12059 Programmer Reference updated to reflect OSL and address space
12060 handler interface changes described above.
12062 ----------------------------------------
12063 Summary of changes for this label: 10_18_01
12065 ACPI CA Core Subsystem:
12067 Fixed a problem with the internal object reference count mechanism
12068 that occasionally caused premature object deletion. This resolves
12069 all of the outstanding problem reports where an object is deleted
12070 in the middle of an interpreter evaluation. Although this problem
12071 only showed up in rather obscure cases, the solution to the
12072 problem involved an adjustment of all reference counts involving
12073 objects attached to namespace nodes.
12075 Fixed a problem with Field support in the interpreter where
12076 writing to an aligned field whose length is an exact multiple (2
12077 or greater) of the field access granularity would cause an attempt
12078 to write beyond the end of the field.
12080 The top level AML opcode execution functions within the
12081 interpreter have been renamed with a more meaningful and
12082 consistent naming convention. The modules exmonad.c and
12083 exdyadic.c were eliminated. New modules are exoparg1.c,
12084 exoparg2.c, exoparg3.c, and exoparg6.c.
12086 Support for the ACPI 2.0 "Mid" ASL operator has been implemented.
12088 Fixed a problem where the AML debugger was causing some internal
12089 objects to not be deleted during subsystem termination.
12091 Fixed a problem with the external AcpiEvaluateObject interface
12092 where the subsystem would fault if the named object to be
12093 evaluated refered to a constant such as Zero, Ones, etc.
12095 Fixed a problem with IndexFields and BankFields where the
12096 subsystem would fault if the index, data, or bank registers were
12097 not defined in the same scope as the field itself.
12099 Added printf format string checking for compilers that support
12100 this feature. Corrected more than 50 instances of issues with
12101 format specifiers within invocations of ACPI_DEBUG_PRINT
12102 throughout the core subsystem code.
12104 The ASL "Revision" operator now returns the ACPI support level
12105 implemented in the core - the value "2" since the ACPI 2.0 support
12106 is more than 50% implemented.
12108 Enhanced the output of the AML debugger "dump namespace" command
12109 to output in a more human-readable form.
12111 Current core subsystem library code sizes are shown below. These
12113 are the code and data sizes for the acpica.lib produced by the
12114 Microsoft Visual C++ 6.0 compiler, and these values do not include
12115 any ACPI driver or OSPM code. The debug version of the code
12116 includes the full debug trace mechanism -- leading to a much
12118 larger code and data size. Note that these values will vary
12119 depending on the efficiency of the compiler and the compiler
12120 options used during generation.
12122 Previous Label (09_20_01):
12123 Non-Debug Version: 65K Code, 5K Data, 70K Total
12124 Debug Version: 138K Code, 58K Data, 196K Total
12128 Non-Debug Version: 63.9K Code, 5.1K Data, 69.0K Total
12129 Debug Version: 136.7K Code, 57.4K Data, 194.2K Total
12133 Implemented a "Bad BIOS Blacklist" to track machines that have
12134 known ASL/AML problems.
12136 Enhanced the /proc interface for the thermal zone driver and added
12137 support for _HOT (the critical suspend trip point). The 'info'
12138 file now includes threshold/policy information, and allows setting
12139 of _SCP (cooling preference) and _TZP (polling frequency) values
12140 to the 'info' file. Examples: "echo tzp=5 > info" sets the polling
12141 frequency to 5 seconds, and "echo scp=1 > info" sets the cooling
12142 preference to the passive/quiet mode (if supported by the ASL).
12144 Implemented a workaround for a gcc bug that resuted in an OOPs
12145 when loading the control method battery driver.
12147 ----------------------------------------
12148 Summary of changes for this label: 09_20_01
12150 ACPI CA Core Subsystem:
12152 The AcpiEnableEvent and AcpiDisableEvent interfaces have been
12153 modified to allow individual GPE levels to be flagged as wake-
12154 enabled (i.e., these GPEs are to remain enabled when the platform
12157 The AcpiEnterSleepState and AcpiLeaveSleepState interfaces now
12158 support wake-enabled GPEs. This means that upon entering the
12159 sleep state, all GPEs that are not wake-enabled are disabled.
12160 When leaving the sleep state, these GPEs are reenabled.
12162 A local double-precision divide/modulo module has been added to
12163 enhance portability to OS kernels where a 64-bit math library is
12164 not available. The new module is "utmath.c".
12166 Several optimizations have been made to reduce the use of CPU
12167 stack. Originally over 2K, the maximum stack usage is now below
12168 2K at 1860 bytes (1.82k)
12170 Fixed a problem with the AcpiGetFirmwareTable interface where the
12171 root table pointer was not mapped into a logical address properly.
12173 Fixed a problem where a NULL pointer was being dereferenced in the
12174 interpreter code for the ASL Notify operator.
12176 Fixed a problem where the use of the ASL Revision operator
12177 returned an error. This operator now returns the current version
12178 of the ACPI CA core subsystem.
12180 Fixed a problem where objects passed as control method parameters
12181 to AcpiEvaluateObject were always deleted at method termination.
12182 However, these objects may end up being stored into the namespace
12183 by the called method. The object reference count mechanism was
12184 applied to these objects instead of a force delete.
12186 Fixed a problem where static strings or buffers (contained in the
12187 AML code) that are declared as package elements within the ASL
12188 code could cause a fault because the interpreter would attempt to
12189 delete them. These objects are now marked with the "static
12190 object" flag to prevent any attempt to delete them.
12192 Implemented an interpreter optimization to use operands directly
12193 from the state object instead of extracting the operands to local
12194 variables. This reduces stack use and code size, and improves
12197 The module exxface.c was eliminated as it was an unnecessary extra
12200 Current core subsystem library code sizes are shown below. These
12201 are the code and data sizes for the acpica.lib produced by the
12202 Microsoft Visual C++ 6.0 compiler, and these values do not include
12203 any ACPI driver or OSPM code. The debug version of the code
12204 includes the full debug trace mechanism -- leading to a much
12205 larger code and data size. Note that these values will vary
12206 depending on the efficiency of the compiler and the compiler
12207 options used during generation.
12209 Non-Debug Version: 65K Code, 5K Data, 70K Total
12210 (Previously 69K) Debug Version: 138K Code, 58K Data, 196K
12211 Total (Previously 195K)
12215 Support for ACPI 2.0 64-bit integers has been added. All ACPI
12216 Integer objects are now 64 bits wide
12218 All Acpi data types and structures are now in lower case. Only
12219 Acpi macros are upper case for differentiation.
12223 Changes to the external interfaces as described above.
12225 ----------------------------------------
12226 Summary of changes for this label: 08_31_01
12228 ACPI CA Core Subsystem:
12230 A bug with interpreter implementation of the ASL Divide operator
12231 was found and fixed. The implicit function return value (not the
12232 explicit store operands) was returning the remainder instead of
12233 the quotient. This was a longstanding bug and it fixes several
12234 known outstanding issues on various platforms.
12236 The ACPI_DEBUG_PRINT and function trace entry/exit macros have
12237 been further optimized for size. There are 700 invocations of the
12238 DEBUG_PRINT macro alone, so each optimization reduces the size of
12239 the debug version of the subsystem significantly.
12241 A stack trace mechanism has been implemented. The maximum stack
12242 usage is about 2K on 32-bit platforms. The debugger command "stat
12243 stack" will display the current maximum stack usage.
12245 All public symbols and global variables within the subsystem are
12246 now prefixed with the string "Acpi". This keeps all of the
12247 symbols grouped together in a kernel map, and avoids conflicts
12248 with other kernel subsystems.
12250 Most of the internal fixed lookup tables have been moved into the
12251 code segment via the const operator.
12253 Several enhancements have been made to the interpreter to both
12254 reduce the code size and improve performance.
12256 Current core subsystem library code sizes are shown below. These
12257 are the code and data sizes for the acpica.lib produced by the
12258 Microsoft Visual C++ 6.0 compiler, and these values do not include
12259 any ACPI driver or OSPM code. The debug version of the code
12260 includes the full debug trace mechanism which contains over 700
12261 invocations of the DEBUG_PRINT macro, 500 function entry macro
12262 invocations, and over 900 function exit macro invocations --
12263 leading to a much larger code and data size. Note that these
12264 values will vary depending on the efficiency of the compiler and
12265 the compiler options used during generation.
12267 Non-Debug Version: 64K Code, 5K Data, 69K Total
12268 Debug Version: 137K Code, 58K Data, 195K Total
12272 Implemented wbinvd() macro, pending a kernel-wide definition.
12274 Fixed /proc/acpi/event to handle poll() and short reads.
12276 ASL Compiler, version X2026:
12278 Fixed a problem introduced in the previous label where the AML
12280 code emitted for package objects produced packages with zero
12283 ----------------------------------------
12284 Summary of changes for this label: 08_16_01
12286 ACPI CA Core Subsystem:
12288 The following ACPI 2.0 ASL operators have been implemented in the
12289 AML interpreter (These are already supported by the Intel ASL
12290 compiler): ToDecimalString, ToHexString, ToString, ToInteger, and
12291 ToBuffer. Support for 64-bit AML constants is implemented in the
12292 AML parser, debugger, and disassembler.
12294 The internal memory tracking mechanism (leak detection code) has
12295 been upgraded to reduce the memory overhead (a separate tracking
12296 block is no longer allocated for each memory allocation), and now
12297 supports all of the internal object caches.
12299 The data structures and code for the internal object caches have
12300 been coelesced and optimized so that there is a single cache and
12301 memory list data structure and a single group of functions that
12302 implement generic cache management. This has reduced the code
12303 size in both the debug and release versions of the subsystem.
12305 The DEBUG_PRINT macro(s) have been optimized for size and replaced
12306 by ACPI_DEBUG_PRINT. The syntax for this macro is slightly
12307 different, because it generates a single call to an internal
12308 function. This results in a savings of about 90 bytes per
12309 invocation, resulting in an overall code and data savings of about
12310 16% in the debug version of the subsystem.
12314 Fixed C3 disk corruption problems and re-enabled C3 on supporting
12317 Integrated low-level sleep code by Patrick Mochel.
12319 Further tweaked source code Linuxization.
12325 Support for ACPI 2.0 variable length packages is fixed/completed.
12327 Fixed a problem where the optional length parameter for the ACPI
12328 2.0 ToString operator.
12330 Fixed multiple extraneous error messages when a syntax error is
12331 detected within the declaration line of a control method.
12333 ----------------------------------------
12334 Summary of changes for this label: 07_17_01
12336 ACPI CA Core Subsystem:
12338 Added a new interface named AcpiGetFirmwareTable to obtain any
12339 ACPI table via the ACPI signature. The interface can be called at
12340 any time during kernel initialization, even before the kernel
12341 virtual memory manager is initialized and paging is enabled. This
12342 allows kernel subsystems to obtain ACPI tables very early, even
12343 before the ACPI CA subsystem is initialized.
12345 Fixed a problem where Fields defined with the AnyAcc attribute
12346 could be resolved to the incorrect address under the following
12347 conditions: 1) the field width is larger than 8 bits and 2) the
12348 parent operation region is not defined on a DWORD boundary.
12350 Fixed a problem where the interpreter is not being locked during
12351 namespace initialization (during execution of the _INI control
12352 methods), causing an error when an attempt is made to release it
12355 ACPI 2.0 support in the AML Interpreter has begun and will be
12356 ongoing throughout the rest of this year. In this label, The Mod
12357 operator is implemented.
12359 Added a new data type to contain full PCI addresses named
12360 ACPI_PCI_ID. This structure contains the PCI Segment, Bus, Device,
12361 and Function values.
12365 Enhanced the Linux version of the source code to change most
12366 capitalized ACPI type names to lowercase. For example, all
12367 instances of ACPI_STATUS are changed to acpi_status. This will
12368 result in a large diff, but the change is strictly cosmetic and
12369 aligns the CA code closer to the Linux coding standard.
12373 The interfaces to the PCI configuration space have been changed to
12374 add the PCI Segment number and to split the single 32-bit combined
12375 DeviceFunction field into two 16-bit fields. This was
12376 accomplished by moving the four values that define an address in
12377 PCI configuration space (segment, bus, device, and function) to
12378 the new ACPI_PCI_ID structure.
12380 The changes to the PCI configuration space interfaces led to a
12381 reexamination of the complete set of address space access
12382 interfaces for PCI, I/O, and Memory. The previously existing 18
12383 interfaces have proven difficult to maintain (any small change
12384 must be propagated across at least 6 interfaces) and do not easily
12385 allow for future expansion to 64 bits if necessary. Also, on some
12386 systems, it would not be appropriate to demultiplex the access
12387 width (8, 16, 32,or 64) before calling the OSL if the
12388 corresponding native OS interfaces contain a similar access width
12389 parameter. For these reasons, the 18 address space interfaces
12390 have been replaced by these 6 new ones:
12392 AcpiOsReadPciConfiguration
12393 AcpiOsWritePciConfiguration
12399 Added a new interface named AcpiOsGetRootPointer to allow the OSL
12400 to perform the platform and/or OS-specific actions necessary to
12401 obtain the ACPI RSDP table pointer. On IA-32 platforms, this
12402 interface will simply call down to the CA core to perform the low-
12403 memory search for the table. On IA-64, the RSDP is obtained from
12404 EFI. Migrating this interface to the OSL allows the CA core to
12406 remain OS and platform independent.
12408 Added a new interface named AcpiOsSignal to provide a generic
12409 "function code and pointer" interface for various miscellaneous
12410 signals and notifications that must be made to the host OS. The
12411 first such signals are intended to support the ASL Fatal and
12412 Breakpoint operators. In the latter case, the AcpiOsBreakpoint
12413 interface has been obsoleted.
12415 The definition of the AcpiFormatException interface has been
12416 changed to simplify its use. The caller no longer must supply a
12417 buffer to the call; A pointer to a const string is now returned
12418 directly. This allows the call to be easily used in printf
12419 statements, etc. since the caller does not have to manage a local
12423 ASL Compiler, Version X2025:
12425 The ACPI 2.0 Switch/Case/Default operators have been implemented
12426 and are fully functional. They will work with all ACPI 1.0
12427 interpreters, since the operators are simply translated to If/Else
12430 The ACPI 2.0 ElseIf operator is implemented and will also work
12431 with 1.0 interpreters, for the same reason.
12433 Implemented support for ACPI 2.0 variable-length packages. These
12434 packages have a separate opcode, and their size is determined by
12435 the interpreter at run-time.
12437 Documentation The ACPI CA Programmer Reference has been updated to
12438 reflect the new interfaces and changes to existing interfaces.
12440 ------------------------------------------
12441 Summary of changes for this label: 06_15_01
12443 ACPI CA Core Subsystem:
12445 Fixed a problem where a DWORD-accessed field within a Buffer
12446 object would get its byte address inadvertently rounded down to
12447 the nearest DWORD. Buffers are always Byte-accessible.
12449 ASL Compiler, version X2024:
12451 Fixed a problem where the Switch() operator would either fault or
12452 hang the compiler. Note however, that the AML code for this ACPI
12453 2.0 operator is not yet implemented.
12455 Compiler uses the new AcpiOsGetTimer interface to obtain compile
12458 Implementation of the CreateField operator automatically converts
12459 a reference to a named field within a resource descriptor from a
12460 byte offset to a bit offset if required.
12462 Added some missing named fields from the resource descriptor
12463 support. These are the names that are automatically created by the
12464 compiler to reference fields within a descriptor. They are only
12465 valid at compile time and are not passed through to the AML
12468 Resource descriptor named fields are now typed as Integers and
12469 subject to compile-time typechecking when used in expressions.
12471 ------------------------------------------
12472 Summary of changes for this label: 05_18_01
12474 ACPI CA Core Subsystem:
12476 Fixed a couple of problems in the Field support code where bits
12477 from adjacent fields could be returned along with the proper field
12478 bits. Restructured the field support code to improve performance,
12479 readability and maintainability.
12481 New DEBUG_PRINTP macro automatically inserts the procedure name
12482 into the output, saving hundreds of copies of procedure name
12483 strings within the source, shrinking the memory footprint of the
12484 debug version of the core subsystem.
12486 Source Code Structure:
12488 The source code directory tree was restructured to reflect the
12489 current organization of the component architecture. Some files
12490 and directories have been moved and/or renamed.
12494 Fixed leaking kacpidpc processes.
12496 Fixed queueing event data even when /proc/acpi/event is not
12499 ASL Compiler, version X2020:
12501 Memory allocation performance enhancement - over 24X compile time
12502 improvement on large ASL files. Parse nodes and namestring
12503 buffers are now allocated from a large internal compiler buffer.
12505 The temporary .SRC file is deleted unless the "-s" option is
12508 The "-d" debug output option now sends all output to the .DBG file
12509 instead of the console.
12511 "External" second parameter is now optional
12513 "ElseIf" syntax now properly allows the predicate
12515 Last operand to "Load" now recognized as a Target operand
12517 Debug object can now be used anywhere as a normal object.
12519 ResourceTemplate now returns an object of type BUFFER
12521 EISAID now returns an object of type INTEGER
12523 "Index" now works with a STRING operand
12525 "LoadTable" now accepts optional parameters
12527 "ToString" length parameter is now optional
12529 "Interrupt (ResourceType," parse error fixed.
12531 "Register" with a user-defined region space parse error fixed
12533 Escaped backslash at the end of a string ("\\") scan/parse error
12536 "Revision" is now an object of type INTEGER.
12540 ------------------------------------------
12541 Summary of changes for this label: 05_02_01
12545 /proc/acpi/event now blocks properly.
12547 Removed /proc/sys/acpi. You can still dump your DSDT from
12550 ACPI CA Core Subsystem:
12552 Fixed a problem introduced in the previous label where some of the
12553 "small" resource descriptor types were not recognized.
12555 Improved error messages for the case where an ASL Field is outside
12556 the range of the parent operation region.
12558 ASL Compiler, version X2018:
12561 Added error detection for ASL Fields that extend beyond the length
12562 of the parent operation region (only if the length of the region
12563 is known at compile time.) This includes fields that have a
12564 minimum access width that is smaller than the parent region, and
12565 individual field units that are partially or entirely beyond the
12566 extent of the parent.
12570 ------------------------------------------
12571 Summary of changes for this label: 04_27_01
12573 ACPI CA Core Subsystem:
12575 Fixed a problem where the namespace mutex could be released at the
12576 wrong time during execution of AcpiRemoveAddressSpaceHandler.
12578 Added optional thread ID output for debug traces, to simplify
12579 debugging of multiple threads. Added context switch notification
12580 when the debug code realizes that a different thread is now
12581 executing ACPI code.
12583 Some additional external data types have been prefixed with the
12584 string "ACPI_" for consistency. This may effect existing code.
12585 The data types affected are the external callback typedefs - e.g.,
12587 WALK_CALLBACK becomes ACPI_WALK_CALLBACK.
12591 Fixed an issue with the OSL semaphore implementation where a
12592 thread was waking up with an error from receiving a SIGCHLD
12595 Linux version of ACPI CA now uses the system C library for string
12596 manipulation routines instead of a local implementation.
12598 Cleaned up comments and removed TBDs.
12600 ASL Compiler, version X2017:
12602 Enhanced error detection and reporting for all file I/O
12607 Programmer Reference updated to version 1.06.
12611 ------------------------------------------
12612 Summary of changes for this label: 04_13_01
12614 ACPI CA Core Subsystem:
12616 Restructured support for BufferFields and RegionFields.
12617 BankFields support is now fully operational. All known 32-bit
12618 limitations on field sizes have been removed. Both BufferFields
12619 and (Operation) RegionFields are now supported by the same field
12622 Resource support now supports QWORD address and IO resources. The
12623 16/32/64 bit address structures and the Extended IRQ structure
12624 have been changed to properly handle Source Resource strings.
12626 A ThreadId of -1 is now used to indicate a "mutex not acquired"
12627 condition internally and must never be returned by AcpiOsThreadId.
12628 This reserved value was changed from 0 since Unix systems allow a
12633 Driver code reorganized to enhance portability
12635 Added a kernel configuration option to control ACPI_DEBUG
12637 Fixed the EC driver to honor _GLK.
12639 ASL Compiler, version X2016:
12641 Fixed support for the "FixedHw" keyword. Previously, the FixedHw
12642 address space was set to 0, not 0x7f as it should be.
12644 ------------------------------------------
12645 Summary of changes for this label: 03_13_01
12647 ACPI CA Core Subsystem:
12649 During ACPI initialization, the _SB_._INI method is now run if
12652 Notify handler fix - notifies are deferred until the parent method
12653 completes execution. This fixes the "mutex already acquired"
12654 issue seen occasionally.
12656 Part of the "implicit conversion" rules in ACPI 2.0 have been
12657 found to cause compatibility problems with existing ASL/AML. The
12658 convert "result-to-target-type" implementation has been removed
12659 for stores to method Args and Locals. Source operand conversion
12660 is still fully implemented. Possible changes to ACPI 2.0
12661 specification pending.
12663 Fix to AcpiRsCalculatePciRoutingTableLength to return correct
12666 Fix for compiler warnings for 64-bit compiles.
12670 /proc output aligned for easier parsing.
12672 Release-version compile problem fixed.
12674 New kernel configuration options documented in Configure.help.
12676 IBM 600E - Fixed Sleep button may generate "Invalid <NULL>
12681 Power resource driver integrated with bus manager.
12683 Fixed kernel fault during active cooling for thermal zones.
12687 The source code tree has been restructured.
12691 ------------------------------------------
12692 Summary of changes for this label: 03_02_01
12694 Linux OS Services Layer (OSL):
12696 Major revision of all Linux-specific code.
12698 Modularized all ACPI-specific drivers.
12700 Added new thermal zone and power resource drivers.
12702 Revamped /proc interface (new functionality is under /proc/acpi).
12704 New kernel configuration options.
12706 Linux known issues:
12708 New kernel configuration options not documented in Configure.help
12712 Module dependencies not currently implemented. If used, they
12713 should be loaded in this order: busmgr, power, ec, system,
12714 processor, battery, ac_adapter, button, thermal.
12716 Modules will not load if CONFIG_MODVERSION is set.
12718 IBM 600E - entering S5 may reboot instead of shutting down.
12720 IBM 600E - Sleep button may generate "Invalid <NULL> context"
12723 Some systems may fail with "execution mutex already acquired"
12726 ACPI CA Core Subsystem:
12728 Added a new OSL Interface, AcpiOsGetThreadId. This was required
12729 for the deadlock detection code. Defined to return a non-zero, 32-
12730 bit thread ID for the currently executing thread. May be a non-
12731 zero constant integer on single-thread systems.
12733 Implemented deadlock detection for internal subsystem mutexes. We
12734 may add conditional compilation for this code (debug only) later.
12736 ASL/AML Mutex object semantics are now fully supported. This
12737 includes multiple acquires/releases by owner and support for the
12739 Mutex SyncLevel parameter.
12741 A new "Force Release" mechanism automatically frees all ASL
12742 Mutexes that have been acquired but not released when a thread
12743 exits the interpreter. This forces conformance to the ACPI spec
12744 ("All mutexes must be released when an invocation exits") and
12745 prevents deadlocked ASL threads. This mechanism can be expanded
12746 (later) to monitor other resource acquisitions if OEM ASL code
12747 continues to misbehave (which it will).
12749 Several new ACPI exception codes have been added for the Mutex
12752 Recursive method calls are now allowed and supported (the ACPI
12753 spec does in fact allow recursive method calls.) The number of
12754 recursive calls is subject to the restrictions imposed by the
12755 SERIALIZED method keyword and SyncLevel (ACPI 2.0) method
12758 Implemented support for the SyncLevel parameter for control
12759 methods (ACPI 2.0 feature)
12761 Fixed a deadlock problem when multiple threads attempted to use
12764 Fixed a problem where the string length of a String package
12765 element was not always set in a package returned from
12766 AcpiEvaluateObject.
12768 Fixed a problem where the length of a String package element was
12769 not always included in the length of the overall package returned
12770 from AcpiEvaluateObject.
12772 Added external interfaces (Acpi*) to the ACPI debug memory
12773 manager. This manager keeps a list of all outstanding
12774 allocations, and can therefore detect memory leaks and attempts to
12775 free memory blocks more than once. Useful for code such as the
12776 power manager, etc. May not be appropriate for device drivers.
12777 Performance with the debug code enabled is slow.
12779 The ACPI Global Lock is now an optional hardware element.
12781 ASL Compiler Version X2015:
12783 Integrated changes to allow the compiler to be generated on
12784 multiple platforms.
12786 Linux makefile added to generate the compiler on Linux
12790 All platform-specific headers have been moved to their own
12791 subdirectory, Include/Platform.
12793 New source file added, Interpreter/ammutex.c
12795 New header file, Include/acstruct.h
12799 The programmer reference has been updated for the following new
12800 interfaces: AcpiOsGetThreadId AcpiAllocate AcpiCallocate AcpiFree
12802 ------------------------------------------
12803 Summary of changes for this label: 02_08_01
12805 Core ACPI CA Subsystem: Fixed a problem where an error was
12806 incorrectly returned if the return resource buffer was larger than
12807 the actual data (in the resource interfaces).
12809 References to named objects within packages are resolved to the
12811 full pathname string before packages are returned directly (via
12812 the AcpiEvaluateObject interface) or indirectly via the resource
12815 Linux OS Services Layer (OSL):
12817 Improved /proc battery interface.
12820 Added C-state debugging output and other miscellaneous fixes.
12822 ASL Compiler Version X2014:
12824 All defined method arguments can now be used as local variables,
12825 including the ones that are not actually passed in as parameters.
12826 The compiler tracks initialization of the arguments and issues an
12827 exception if they are used without prior assignment (just like
12830 The -o option now specifies a filename prefix that is used for all
12831 output files, including the AML output file. Otherwise, the
12832 default behavior is as follows: 1) the AML goes to the file
12833 specified in the DSDT. 2) all other output files use the input
12834 source filename as the base.
12836 ------------------------------------------
12837 Summary of changes for this label: 01_25_01
12839 Core ACPI CA Subsystem: Restructured the implementation of object
12840 store support within the interpreter. This includes support for
12841 the Store operator as well as any ASL operators that include a
12844 Partially implemented support for Implicit Result-to-Target
12845 conversion. This is when a result object is converted on the fly
12846 to the type of an existing target object. Completion of this
12847 support is pending further analysis of the ACPI specification
12848 concerning this matter.
12850 CPU-specific code has been removed from the subsystem (hardware
12853 New Power Management Timer functions added
12855 Linux OS Services Layer (OSL): Moved system state transition code
12856 to the core, fixed it, and modified Linux OSL accordingly.
12858 Fixed C2 and C3 latency calculations.
12861 We no longer use the compilation date for the version message on
12862 initialization, but retrieve the version from AcpiGetSystemInfo().
12864 Incorporated for fix Sony VAIO machines.
12866 Documentation: The Programmer Reference has been updated and
12870 ASL Compiler: Version X2013: Fixed a problem where the line
12871 numbering and error reporting could get out of sync in the
12872 presence of multiple include files.
12874 ------------------------------------------
12875 Summary of changes for this label: 01_15_01
12877 Core ACPI CA Subsystem:
12879 Implemented support for type conversions in the execution of the
12880 ASL Concatenate operator (The second operand is converted to
12881 match the type of the first operand before concatenation.)
12883 Support for implicit source operand conversion is partially
12884 implemented. The ASL source operand types Integer, Buffer, and
12885 String are freely interchangeable for most ASL operators and are
12886 converted by the interpreter on the fly as required. Implicit
12887 Target operand conversion (where the result is converted to the
12888 target type before storing) is not yet implemented.
12890 Support for 32-bit and 64-bit BCD integers is implemented.
12892 Problem fixed where a field read on an aligned field could cause a
12893 read past the end of the field.
12895 New exception, AE_AML_NO_RETURN_VALUE, is returned when a method
12896 does not return a value, but the caller expects one. (The ASL
12897 compiler flags this as a warning.)
12902 1. Static typechecking of all operands is implemented. This
12903 prevents the use of invalid objects (such as using a Package where
12904 an Integer is required) at compile time instead of at interpreter
12906 2. The ASL source line is printed with ALL errors and warnings.
12907 3. Bug fix for source EOF without final linefeed.
12908 4. Debug option is split into a parse trace and a namespace trace.
12909 5. Namespace output option (-n) includes initial values for
12910 integers and strings.
12911 6. Parse-only option added for quick syntax checking.
12912 7. Compiler checks for duplicate ACPI name declarations
12915 1. Relaxed typechecking to allow interchangeability between
12916 strings, integers, and buffers. These types are now converted by
12917 the interpreter at runtime.
12918 2. Compiler reports time taken by each internal subsystem in the
12922 ------------------------------------------
12923 Summary of changes for this label: 12_14_00
12927 This is the first official release of the compiler. Since the
12928 compiler requires elements of the Core Subsystem, this label
12929 synchronizes everything.
12931 ------------------------------------------
12932 Summary of changes for this label: 12_08_00
12935 Fixed a problem where named references within the ASL definition
12936 of both OperationRegions and CreateXXXFields did not work
12937 properly. The symptom was an AE_AML_OPERAND_TYPE during
12938 initialization of the region/field. This is similar (but not
12939 related internally) to the problem that was fixed in the last
12942 Implemented both 32-bit and 64-bit support for the BCD ASL
12943 functions ToBCD and FromBCD.
12945 Updated all legal headers to include "2000" in the copyright
12948 ------------------------------------------
12949 Summary of changes for this label: 12_01_00
12951 Fixed a problem where method invocations within the ASL definition
12952 of both OperationRegions and CreateXXXFields did not work
12953 properly. The symptom was an AE_AML_OPERAND_TYPE during
12954 initialization of the region/field:
12956 nsinit-0209: AE_AML_OPERAND_TYPE while getting region arguments
12957 [DEBG] ammonad-0284: Exec_monadic2_r/Not: bad operand(s)
12960 Fixed a problem where operators with more than one nested
12961 subexpression would fail. The symptoms were varied, by mostly
12962 AE_AML_OPERAND_TYPE errors. This was actually a rather serious
12963 problem that has gone unnoticed until now.
12965 Subtract (Add (1,2), Multiply (3,4))
12967 Fixed a problem where AcpiGetHandle didn't quite get fixed in the
12968 previous build (The prefix part of a relative path was handled
12971 Fixed a problem where Operation Region initialization failed if
12972 the operation region name was a "namepath" instead of a simple
12973 "nameseg". Symptom was an AE_NO_OPERAND error.
12975 Fixed a problem where an assignment to a local variable via the
12976 indirect RefOf mechanism only worked for the first such
12977 assignment. Subsequent assignments were ignored.
12979 ------------------------------------------
12980 Summary of changes for this label: 11_15_00
12982 ACPI 2.0 table support with backwards support for ACPI 1.0 and the
12983 0.71 extensions. Note: although we can read ACPI 2.0 BIOS tables,
12984 the AML interpreter does NOT have support for the new 2.0 ASL
12985 grammar terms at this time.
12987 All ACPI hardware access is via the GAS structures in the ACPI 2.0
12990 All physical memory addresses across all platforms are now 64 bits
12991 wide. Logical address width remains dependent on the platform
12994 AcpiOsMapMemory interface changed to a 64-bit physical address.
12996 The AML interpreter integer size is now 64 bits, as per the ACPI
12999 For backwards compatibility with ACPI 1.0, ACPI tables with a
13000 revision number less than 2 use 32-bit integers only.
13002 Fixed a problem where the evaluation of OpRegion operands did not
13003 always resolve them to numbers properly.
13005 ------------------------------------------
13006 Summary of changes for this label: 10_20_00
13008 Fix for CBN_._STA issue. This fix will allow correct access to
13009 CBN_ OpRegions when the _STA returns 0x8.
13011 Support to convert ACPI constants (Ones, Zeros, One) to actual
13012 values before a package object is returned
13014 Fix for method call as predicate to if/while construct causing
13015 incorrect if/while behavior
13017 Fix for Else block package lengths sometimes calculated wrong (if
13020 Fix for Processor object length field, was always zero
13022 Table load abort if FACP sanity check fails
13024 Fix for problem with Scope(name) if name already exists
13026 Warning emitted if a named object referenced cannot be found
13027 (resolved) during method execution.
13033 ------------------------------------------
13034 Summary of changes for this label: 9_29_00
13036 New table initialization interfaces: AcpiInitializeSubsystem no
13037 longer has any parameters AcpiFindRootPointer - Find the RSDP (if
13038 necessary) AcpiLoadTables (RSDP) - load all tables found at RSDP-
13039 >RSDT Obsolete Interfaces AcpiLoadFirmwareTables - replaced by
13042 Note: These interface changes require changes to all existing OSDs
13044 The PCI_Config default address space handler is always installed
13045 at the root namespace object.
13047 -------------------------------------------
13048 Summary of changes for this label: 09_15_00
13050 The new initialization architecture is implemented. New
13051 interfaces are: AcpiInitializeSubsystem (replaces AcpiInitialize)
13052 AcpiEnableSubsystem Obsolete Interfaces: AcpiLoadNamespace
13054 (Namespace is automatically loaded when a table is loaded)
13056 The ACPI_OPERAND_OBJECT has been optimized to shrink its size from
13057 52 bytes to 32 bytes. There is usually one of these for every
13058 namespace object, so the memory savings is significant.
13060 Implemented just-in-time evaluation of the CreateField operators.
13062 Bug fixes for IA-64 support have been integrated.
13064 Additional code review comments have been implemented
13066 The so-called "third pass parse" has been replaced by a final walk
13067 through the namespace to initialize all operation regions (address
13068 spaces) and fields that have not yet been initialized during the
13069 execution of the various _INI and REG methods.
13071 New file - namespace/nsinit.c
13073 -------------------------------------------
13074 Summary of changes for this label: 09_01_00
13076 Namespace manager data structures have been reworked to change the
13077 primary object from a table to a single object. This has
13078 resulted in dynamic memory savings of 3X within the namespace and
13079 2X overall in the ACPI CA subsystem.
13081 Fixed problem where the call to AcpiEvFindPciRootBuses was
13082 inadvertently left commented out.
13084 Reduced the warning count when generating the source with the GCC
13087 Revision numbers added to each module header showing the
13088 SourceSafe version of the file. Please refer to this version
13089 number when giving us feedback or comments on individual modules.
13091 The main object types within the subsystem have been renamed to
13092 clarify their purpose:
13094 ACPI_INTERNAL_OBJECT -> ACPI_OPERAND_OBJECT
13095 ACPI_GENERIC_OP -> ACPI_PARSE_OBJECT
13096 ACPI_NAME_TABLE_ENTRY -> ACPI_NAMESPACE_NODE
13098 NOTE: no changes to the initialization sequence are included in
13101 -------------------------------------------
13102 Summary of changes for this label: 08_23_00
13104 Fixed problem where TerminateControlMethod was being called
13105 multiple times per method
13107 Fixed debugger problem where single stepping caused a semaphore to
13110 Improved performance through additional parse object caching -
13111 added ACPI_EXTENDED_OP type
13113 -------------------------------------------
13114 Summary of changes for this label: 08_10_00
13116 Parser/Interpreter integration: Eliminated the creation of
13117 complete parse trees for ACPI tables and control methods.
13118 Instead, parse subtrees are created and then deleted as soon as
13119 they are processed (Either entered into the namespace or executed
13120 by the interpreter). This reduces the use of dynamic kernel
13121 memory significantly. (about 10X)
13123 Exception codes broken into classes and renumbered. Be sure to
13124 recompile all code that includes acexcep.h. Hopefully we won't
13125 have to renumber the codes again now that they are split into
13126 classes (environment, programmer, AML code, ACPI table, and
13129 Fixed some additional alignment issues in the Resource Manager
13132 Implemented semaphore tracking in the AcpiExec utility, and fixed
13133 several places where mutexes/semaphores were being unlocked
13134 without a corresponding lock operation. There are no known
13135 semaphore or mutex "leaks" at this time.
13137 Fixed the case where an ASL Return operator is used to return an
13140 -------------------------------------------
13141 Summary of changes for this label: 07_28_00
13143 Fixed a problem with the way addresses were calculated in
13144 AcpiAmlReadFieldData() and AcpiAmlWriteFieldData(). This problem
13145 manifested itself when a Field was created with WordAccess or
13146 DwordAccess, but the field unit defined within the Field was less
13148 than a Word or Dword.
13150 Fixed a problem in AmlDumpOperands() module's loop to pull
13151 operands off of the operand stack to display information. The
13152 problem manifested itself as a TLB error on 64-bit systems when
13153 accessing an operand stack with two or more operands.
13155 Fixed a problem with the PCI configuration space handlers where
13156 context was getting confused between accesses. This required a
13157 change to the generic address space handler and address space
13158 setup definitions. Handlers now get both a global handler context
13159 (this is the one passed in by the user when executing
13160 AcpiInstallAddressSpaceHandler() and a specific region context
13161 that is unique to each region (For example, the _ADR, _SEG and
13162 _BBN values associated with a specific region). The generic
13163 function definitions have changed to the following:
13165 typedef ACPI_STATUS (*ADDRESS_SPACE_HANDLER) ( UINT32 Function,
13166 UINT32 Address, UINT32 BitWidth, UINT32 *Value, void
13167 *HandlerContext, // This used to be void *Context void
13168 *RegionContext); // This is an additional parameter
13170 typedef ACPI_STATUS (*ADDRESS_SPACE_SETUP) ( ACPI_HANDLE
13171 RegionHandle, UINT32 Function, void *HandlerContext, void
13172 **RegionContext); // This used to be **ReturnContext
13174 -------------------------------------------
13175 Summary of changes for this label: 07_21_00
13177 Major file consolidation and rename. All files within the
13178 interpreter have been renamed as well as most header files. This
13179 was done to prevent collisions with existing files in the host
13180 OSs -- filenames such as "config.h" and "global.h" seem to be
13181 quite common. The VC project files have been updated. All
13182 makefiles will require modification.
13184 The parser/interpreter integration continues in Phase 5 with the
13185 implementation of a complete 2-pass parse (the AML is parsed
13186 twice) for each table; This avoids the construction of a huge
13187 parse tree and therefore reduces the amount of dynamic memory
13188 required by the subsystem. Greater use of the parse object cache
13189 means that performance is unaffected.
13191 Many comments from the two code reviews have been rolled in.
13193 The 64-bit alignment support is complete.
13195 -------------------------------------------
13196 Summary of changes for this label: 06_30_00
13198 With a nod and a tip of the hat to the technology of yesteryear,
13199 we've added support in the source code for 80 column output
13200 devices. The code is now mostly constrained to 80 columns or
13201 less to support environments and editors that 1) cannot display
13202 or print more than 80 characters on a single line, and 2) cannot
13203 disable line wrapping.
13205 A major restructuring of the namespace data structure has been
13206 completed. The result is 1) cleaner and more
13207 understandable/maintainable code, and 2) a significant reduction
13208 in the dynamic memory requirement for each named ACPI object
13211 -------------------------------------------
13212 Summary of changes for this label: 06_23_00
13214 Linux support has been added. In order to obtain approval to get
13215 the ACPI CA subsystem into the Linux kernel, we've had to make
13216 quite a few changes to the base subsystem that will affect all
13217 users (all the changes are generic and OS- independent). The
13218 effects of these global changes have been somewhat far reaching.
13219 Files have been merged and/or renamed and interfaces have been
13220 renamed. The major changes are described below.
13222 Osd* interfaces renamed to AcpiOs* to eliminate namespace
13223 pollution/confusion within our target kernels. All OSD
13224 interfaces must be modified to match the new naming convention.
13226 Files merged across the subsystem. A number of the smaller source
13227 and header files have been merged to reduce the file count and
13228 increase the density of the existing files. There are too many
13229 to list here. In general, makefiles that call out individual
13230 files will require rebuilding.
13232 Interpreter files renamed. All interpreter files now have the
13233 prefix am* instead of ie* and is*.
13235 Header files renamed: The acapi.h file is now acpixf.h. The
13236 acpiosd.h file is now acpiosxf.h. We are removing references to
13237 the acronym "API" since it is somewhat windowsy. The new name is
13238 "external interface" or xface or xf in the filenames.j
13241 All manifest constants have been forced to upper case (some were
13242 mixed case.) Also, the string "ACPI_" has been prepended to many
13243 (not all) of the constants, typedefs, and structs.
13245 The globals "DebugLevel" and "DebugLayer" have been renamed
13246 "AcpiDbgLevel" and "AcpiDbgLayer" respectively.
13248 All other globals within the subsystem are now prefixed with
13249 "AcpiGbl_" Internal procedures within the subsystem are now
13250 prefixed with "Acpi" (with only a few exceptions). The original
13251 two-letter abbreviation for the subcomponent remains after "Acpi"
13252 - for example, CmCallocate became AcpiCmCallocate.
13254 Added a source code translation/conversion utility. Used to
13255 generate the Linux source code, it can be modified to generate
13256 other types of source as well. Can also be used to cleanup
13257 existing source by removing extraneous spaces and blank lines.
13258 Found in tools/acpisrc/*
13260 OsdUnMapMemory was renamed to OsdUnmapMemory and then
13261 AcpiOsUnmapMemory. (UnMap became Unmap).
13263 A "MaxUnits" parameter has been added to AcpiOsCreateSemaphore.
13264 When set to one, this indicates that the caller wants to use the
13266 semaphore as a mutex, not a counting semaphore. ACPI CA uses
13267 both types. However, implementers of this call may want to use
13268 different OS primitives depending on the type of semaphore
13269 requested. For example, some operating systems provide separate
13271 "mutex" and "semaphore" interfaces - where the mutex interface is
13272 much faster because it doesn't have all the overhead of a full
13273 semaphore implementation.
13275 Fixed a deadlock problem where a method that accesses the PCI
13276 address space can block forever if it is the first access to the
13279 -------------------------------------------
13280 Summary of changes for this label: 06_02_00
13282 Support for environments that cannot handle unaligned data
13283 accesses (e.g. firmware and OS environments devoid of alignment
13284 handler technology namely SAL/EFI and the IA-64 Linux kernel) has
13285 been added (via configurable macros) in these three areas: -
13286 Transfer of data from the raw AML byte stream is done via byte
13287 moves instead of word/dword/qword moves. - External objects are
13288 aligned within the user buffer, including package elements (sub-
13289 objects). - Conversion of name strings to UINT32 Acpi Names is now
13292 The Store operator was modified to mimic Microsoft's
13293 implementation when storing to a Buffer Field.
13295 Added a check of the BM_STS bit before entering C3.
13297 The methods subdirectory has been obsoleted and removed. A new
13298 file, cmeval.c subsumes the functionality.
13300 A 16-bit (DOS) version of AcpiExec has been developed. The
13301 makefile is under the acpiexec directory.